/* PlayVerso Next — base reset + shared components */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--pv-font);
  font-size: var(--pv-fs-md);
  line-height: 1.5;
  color: var(--pv-text);
  background: var(--pv-bg);
  background-image: radial-gradient(1200px 600px at 50% -10%, rgba(108,92,231,.18), transparent 60%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--pv-brand-2); outline-offset: 2px; border-radius: 6px; }

.pv-wrap { width: 100%; max-width: var(--pv-maxw); margin-inline: auto; padding-inline: var(--pv-4); }

/* Buttons */
.pv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--pv-2);
  min-height: var(--pv-tap); padding: 0 var(--pv-5);
  border-radius: var(--pv-r-pill); font-weight: 700; font-size: var(--pv-fs-md);
  background: var(--pv-surface-2); color: var(--pv-text);
  transition: transform var(--pv-t-fast) var(--pv-ease-back), box-shadow var(--pv-t-med), background var(--pv-t-med);
  user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.pv-btn:active { transform: scale(.96); }
.pv-btn--primary { background: var(--pv-grad-brand); color: var(--pv-on-brand); box-shadow: var(--pv-glow-brand); }
.pv-btn--warm { background: var(--pv-grad-warm); color: #26170a; }
.pv-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--pv-line); }
.pv-btn--lg { min-height: 60px; font-size: var(--pv-fs-lg); padding: 0 var(--pv-6); }
.pv-btn--block { display: flex; width: 100%; }

/* Top bar */
.pv-topbar {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px); background: rgba(14,15,26,.72);
  border-bottom: 1px solid var(--pv-line);
}
.pv-logo { display: inline-flex; align-items: center; gap: var(--pv-2); font-weight: 800; letter-spacing: -.02em; font-size: var(--pv-fs-lg); }
.pv-logo__dot { width: 14px; height: 14px; border-radius: 4px; background: var(--pv-grad-brand); box-shadow: var(--pv-glow-brand); }

/* Lang switch */
.pv-lang { display: inline-flex; gap: 2px; background: var(--pv-surface); border-radius: var(--pv-r-pill); padding: 3px; }
.pv-lang a { padding: 6px 12px; border-radius: var(--pv-r-pill); font-size: var(--pv-fs-sm); font-weight: 700; color: var(--pv-text-mut); }
.pv-lang a[aria-current="true"] { background: var(--pv-surface-2); color: var(--pv-text); }

/* Pills / badges */
.pv-tag { display: inline-block; padding: 3px 10px; border-radius: var(--pv-r-pill); font-size: var(--pv-fs-xs); font-weight: 700; }
.pv-tag--live { background: rgba(46,204,113,.16); color: #57e08e; }
.pv-tag--lab  { background: rgba(122,129,159,.18); color: var(--pv-text-dim); }

.pv-visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

footer.pv-footer { color: var(--pv-text-mut); font-size: var(--pv-fs-sm); padding: var(--pv-7) 0 var(--pv-6); text-align: center; }
footer.pv-footer a { color: var(--pv-text-dim); text-decoration: underline; text-underline-offset: 3px; }
