/* Veyra Web · palette Bukir (accento #ff792e, antracite #111217) */
:root {
  --bg: #111217;
  --surface: #1a1b21;
  --surface-2: #22232b;
  --surface-3: #2a2b34;
  --line: #2b2c35;
  --text: #f4f4f6;
  --muted: #a6a7b2;
  --faint: #6f707c;
  --accent: #ff792e;
  --accent-2: #ffa06a;
  --accent-ink: #1c0d03;
  --live: #ff4d4d;
  --ok: #34c77b;
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --ui: 'Instrument Sans', ui-sans-serif, -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(.22, .9, .24, 1);
  --spring: cubic-bezier(.3, 1.35, .45, 1);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tabs-h: calc(62px + var(--safe-b));
  --gutter: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--text); font-family: var(--ui); font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overscroll-behavior-y: none;
  -webkit-text-size-adjust: 100%; -webkit-user-select: none; user-select: none;
}
input, textarea { -webkit-user-select: text; user-select: text; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#app { min-height: 100%; }
#view { min-height: 100dvh; padding-bottom: calc(var(--tabs-h) + 24px); }
#view.no-tabs { padding-bottom: calc(var(--safe-b) + 24px); }

/* ---------- testata ---------- */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: calc(var(--safe-t) + 10px) var(--gutter) 10px; transition: background .3s var(--ease), backdrop-filter .3s;
}
.top.solid { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); }
.top .brand { height: 22px; width: auto; }
.top .grow { flex: 1; }
.top h1 { margin: 0; font: 700 26px/1.1 var(--display); letter-spacing: -.02em; font-variation-settings: 'wdth' 88; }
.avatar {
  --c: var(--accent); width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 92%, #fff 8%), color-mix(in srgb, var(--c) 70%, #000 30%));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14);
}
.avatar img { width: 46%; height: auto; filter: brightness(0) invert(1); opacity: .95; }
.avatar.big { width: 96px; height: 96px; border-radius: 26px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px var(--gutter) 12px; scroll-padding: 0 var(--gutter); }
.top .chips { flex-basis: 100%; margin: 2px calc(-1 * var(--gutter)) -10px; padding-bottom: 10px; }
.top .chip:not(.on) { background: rgb(255 255 255 / .1); color: var(--text); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 7px 14px; border-radius: 999px; background: rgb(255 255 255 / .07); color: var(--muted); font-weight: 600; font-size: 14px;
  transition: background .25s var(--ease), color .25s, transform .2s var(--spring); white-space: nowrap;
}
.chip:active { transform: scale(.95); }
.chip.on { background: var(--text); color: var(--bg); }
.chip .n { opacity: .55; font-weight: 500; margin-left: 4px; }

/* ---------- hero ---------- */
.ambient { position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient img { width: 100%; height: 100%; object-fit: cover; filter: blur(60px) saturate(1.6); opacity: .35; transform: scale(1.3); transition: opacity .8s var(--ease); }
.ambient::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, var(--bg) 92%); }
.home { position: relative; isolation: isolate; }
.hero { position: relative; margin-top: calc(-1 * (var(--safe-t) + 100px)); }
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: none; width: 100%; aspect-ratio: 4 / 5; max-height: 78vh; scroll-snap-align: center; overflow: hidden; }
.slide .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); transition: transform 6s linear; }
.slide.in .bg { transform: scale(1); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(17 18 23 / .55) 0%, transparent 22%, transparent 45%, rgb(17 18 23 / .85) 78%, var(--bg) 100%); }
.slide .info { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 22px; display: grid; gap: 10px; justify-items: start; }
.slide .logo { max-width: 72%; max-height: 92px; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 4px 18px rgb(0 0 0 / .6)); }
.slide .name { margin: 0; font: 800 34px/1 var(--display); letter-spacing: -.025em; font-variation-settings: 'wdth' 82; text-wrap: balance; text-shadow: 0 2px 20px rgb(0 0 0 / .5); }
.slide .meta { color: var(--muted); font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; }
.dots { display: flex; justify-content: center; gap: 6px; padding: 4px 0 8px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgb(255 255 255 / .22); transition: width .35s var(--ease), background .35s; }
.dots i.on { width: 20px; background: var(--accent); }

/* ---------- pulsanti ---------- */
.btns { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px;
  background: rgb(255 255 255 / .1); color: var(--text); font-weight: 650; font-size: 15px; transition: transform .18s var(--spring), background .2s, opacity .2s;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.light { background: var(--text); color: var(--bg); }
.btn.wide { width: 100%; }
.btn.small { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.icon { width: 44px; padding: 0; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn svg, .ico { width: 20px; height: 20px; flex: none; }
.link { color: var(--accent); font-weight: 600; }

/* ---------- righe ---------- */
.section { margin-top: 22px; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; padding: 0 var(--gutter); margin-bottom: 10px; }
.section-h h2 { margin: 0; font: 700 19px/1.2 var(--display); letter-spacing: -.01em; font-variation-settings: 'wdth' 92; }
.section-h .more { color: var(--muted); font-size: 13px; font-weight: 600; }
.rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.poster { position: relative; flex: none; width: 31vw; max-width: 150px; }
.poster .art, .wcard .art {
  position: relative; border-radius: 10px; overflow: hidden; background: var(--surface-2); aspect-ratio: 2 / 3;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .05) inset; transition: transform .25s var(--spring);
}
.poster:active .art, .wcard:active .art { transform: scale(.96); }
.art img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.art img.ok { opacity: 1; }
.art .fallback { position: absolute; inset: 0; display: grid; place-items: end start; padding: 10px; font: 700 15px/1.1 var(--display); color: var(--text);
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), linear-gradient(160deg, var(--surface-3), var(--surface)); }
.art.loading::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .05) 50%, transparent 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.poster .cap { margin-top: 6px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { position: absolute; left: 6px; top: 6px; z-index: 1; padding: 2px 7px; border-radius: 6px; background: rgb(0 0 0 / .62); font-size: 11px; font-weight: 650; backdrop-filter: blur(8px); }
.badge.accent { background: var(--accent); color: var(--accent-ink); }
.wcard { flex: none; width: 68vw; max-width: 320px; }
.wcard .art { aspect-ratio: 16 / 9; }
.wcard .t { margin-top: 8px; font-weight: 650; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wcard .s { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { height: 3px; border-radius: 2px; background: rgb(255 255 255 / .18); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transform-origin: left; }
.art .bar { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1; }
.art .play-badge { position: absolute; z-index: 1; right: 8px; bottom: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgb(0 0 0 / .55); display: grid; place-items: center; backdrop-filter: blur(8px); }
.art::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, rgb(0 0 0 / .55)); pointer-events: none; }
.poster .art::after { display: none; }
.saga-card { flex: none; width: 68vw; max-width: 320px; }
.saga-card .art { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 1px rgb(255 255 255 / .05) inset; }
.saga-card .art > img { width: 100%; height: 100%; object-fit: cover; }
.saga-card .art::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgb(0 0 0 / .75)); }
.saga-card .art .label, .saga-card .art .badge { z-index: 2; }
.saga-card .art .label { position: absolute; z-index: 1; left: 12px; bottom: 10px; right: 12px; font: 750 20px/1.05 var(--display); text-shadow: 0 2px 14px rgb(0 0 0 / .7); }

/* ---------- canali ---------- */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgb(255 77 77 / .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgb(255 77 77 / 0); } 100% { box-shadow: 0 0 0 0 rgb(255 77 77 / 0); } }
.ch-card { flex: none; width: 62vw; max-width: 290px; }
.ch-card .art { aspect-ratio: 16 / 9; display: grid; place-items: center; background: radial-gradient(100% 120% at 50% 0%, var(--surface-3), var(--surface)); }
.ch-card .art::after { display: none; }
.ch-card .art .lg { width: 44%; height: 44%; object-fit: contain; opacity: 1; }
.ch-card .art .tag { position: absolute; left: 8px; top: 8px; display: flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgb(0 0 0 / .45); }
.monogram { font: 800 28px/1 var(--display); color: var(--muted); letter-spacing: -.02em; }
.list { display: grid; padding: 0 var(--gutter); }
.ch-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ch-row:active { background: rgb(255 255 255 / .03); }
.ch-row .lgbox { width: 64px; height: 44px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.ch-row .lgbox img { max-width: 78%; max-height: 72%; object-fit: contain; }
.ch-row .lgbox .monogram { font-size: 16px; }
.ch-row .nm { font-weight: 650; font-size: 15px; display: flex; gap: 8px; align-items: center; min-width: 0; }
.ch-row .nm span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-row .pg { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.ch-row .bar { margin-top: 6px; max-width: 160px; }
.ch-row .side { color: var(--faint); font-size: 12px; text-align: right; }
.star { color: var(--accent); }
.ch-row.playing .nm { color: var(--accent); }

/* ---------- guida a griglia ---------- */
.grid-wrap { position: relative; overflow: auto; height: calc(100dvh - var(--tabs-h) - var(--safe-t) - 112px); overscroll-behavior: contain; }
.grid { position: relative; }
.grid .hours { position: sticky; top: 0; z-index: 3; height: 30px; background: var(--bg); display: flex; margin-left: 96px; }
.grid .hours span { flex: none; font-size: 12px; color: var(--faint); padding: 6px 8px; border-left: 1px solid var(--line); }
.grid .gr { display: flex; height: 58px; }
.grid .gch { position: sticky; left: 0; z-index: 2; width: 96px; flex: none; background: var(--bg); display: grid; place-items: center; border-bottom: 1px solid var(--line); padding: 4px 8px; }
.grid .gch img { max-width: 64px; max-height: 32px; object-fit: contain; }
.grid .gch .monogram { font-size: 13px; text-align: center; line-height: 1.1; }
.grid .cells { position: relative; flex: none; }
.grid .cell { position: absolute; top: 3px; bottom: 3px; border-radius: 9px; background: var(--surface); padding: 7px 9px; overflow: hidden; border: 1px solid var(--line); }
.grid .cell.now { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.grid .cell b { display: block; font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid .cell small { color: var(--muted); font-size: 11.5px; }
.grid .nowline { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); z-index: 1; box-shadow: 0 0 12px var(--accent); pointer-events: none; }

/* ---------- scheda (film, serie, canale) ---------- */
.page { min-height: 100dvh; background: var(--bg); }
.stage { position: sticky; top: 0; z-index: 15; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; padding-top: var(--safe-t); box-sizing: content-box; }
.stage-frame { position: absolute; inset: var(--safe-t) 0 0; width: 100%; height: calc(100% - var(--safe-t)); border: 0; z-index: 4; }
.stage .cover { position: absolute; inset: var(--safe-t) 0 0; }
.stage .cover img.bg { width: 100%; height: 100%; object-fit: cover; }
.stage .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .45), transparent 35%, transparent 60%, rgb(17 18 23 / .9)); }
.stage .big-play { position: absolute; z-index: 2; left: 50%; top: calc(50% + var(--safe-t) / 2); width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgb(255 121 46 / .92); color: var(--accent-ink); display: grid; place-items: center; box-shadow: 0 10px 40px rgb(255 121 46 / .45); transition: transform .2s var(--spring); }
.stage .big-play:active { transform: scale(.92); }
.stage .big-play svg { width: 28px; height: 28px; margin-left: 3px; }
.stage .back { position: absolute; z-index: 6; left: 10px; top: calc(var(--safe-t) + 8px); }
.round { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgb(0 0 0 / .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .18s var(--spring); }
.round:active { transform: scale(.9); }
.round svg { width: 20px; height: 20px; }
.detail { padding: 16px var(--gutter) 0; position: relative; }
.detail .logo { max-width: 70%; max-height: 80px; object-fit: contain; object-position: left; margin-bottom: 10px; }
.detail h1 { margin: 0 0 6px; font: 800 30px/1.02 var(--display); letter-spacing: -.025em; font-variation-settings: 'wdth' 84; text-wrap: balance; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--muted); font-size: 13.5px; align-items: center; }
.meta-line .pill { border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 12px; color: var(--text); }
.meta-line .rating { color: var(--accent-2); font-weight: 700; }
.detail .actions { display: grid; gap: 10px; margin: 16px 0 6px; }
.detail .quick { display: flex; justify-content: space-around; margin: 10px 0 4px; }
.qa { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--muted); min-width: 64px; transition: transform .2s var(--spring); }
.qa:active { transform: scale(.92); }
.qa .ico { width: 24px; height: 24px; color: var(--text); }
.qa.on .ico, .qa.on { color: var(--accent); }
.plot { color: #d6d7de; font-size: 14.5px; line-height: 1.55; margin: 12px 0; }
.plot.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.credits { color: var(--muted); font-size: 13px; margin: 6px 0; }
.credits b { color: var(--text); font-weight: 600; }
.tabs2 { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin: 18px 0 0; padding: 0 var(--gutter); position: sticky; z-index: 5; background: var(--bg); }
.tabs2 button { padding: 12px 0; font-weight: 650; color: var(--muted); position: relative; }
.tabs2 button.on { color: var(--text); }
.tabs2 button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); animation: grow .3s var(--ease); }
@keyframes grow { from { transform: scaleX(.3); opacity: 0; } }
.ep { display: grid; grid-template-columns: 132px 1fr; gap: 12px; padding: 12px var(--gutter); align-items: start; }
.ep:active { background: rgb(255 255 255 / .03); }
.ep .art { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.ep .art::after { display: none; }
.ep h3 { margin: 0; font-size: 14.5px; font-weight: 650; line-height: 1.3; }
.ep .sub { color: var(--faint); font-size: 12px; margin-top: 2px; }
.ep p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ep.current h3 { color: var(--accent); }
.cast { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); }
.cast::-webkit-scrollbar { display: none; }
.person { flex: none; width: 76px; text-align: center; font-size: 12px; }
.person .ph { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--surface-2); margin-bottom: 6px; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person small { display: block; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); }
.sc-episodes [data-episodes] { padding-inline: var(--gutter); }
.sc-episode { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 0; text-align: left; border-bottom: 1px solid var(--line); }
.sc-episode .ico { flex: none; }
.prog { padding: 12px var(--gutter); display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; border-bottom: 1px solid var(--line); align-items: center; }
.prog time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.prog b { font-weight: 600; font-size: 14.5px; display: block; }
.prog small { color: var(--faint); font-size: 12.5px; }
.prog.now { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }
.prog.now time { color: var(--accent); font-weight: 700; }
.prog.past b { color: var(--muted); }
.daybar { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gutter); scrollbar-width: none; position: sticky; z-index: 4; background: var(--bg); }
.daybar::-webkit-scrollbar { display: none; }

/* ---------- player ---------- */
.player { position: absolute; inset: var(--safe-t) 0 0; background: #000; z-index: 3; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player .ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transition: opacity .3s var(--ease); background: linear-gradient(180deg, rgb(0 0 0 / .55), transparent 30%, transparent 62%, rgb(0 0 0 / .7)); pointer-events: none; }
.player.show-ui .ui { opacity: 1; pointer-events: auto; }
.player .row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.player .row.top { justify-content: flex-end; }
.player .mid { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 36px; pointer-events: none; }
.player.show-ui .mid > * { pointer-events: auto; }
.player .mid .pp { width: 62px; height: 62px; border-radius: 50%; background: rgb(0 0 0 / .45); display: grid; place-items: center; backdrop-filter: blur(10px); }
.player .mid .pp svg { width: 30px; height: 30px; }
.player .mid .sk { width: 46px; height: 46px; display: grid; place-items: center; position: relative; }
.player .mid .sk svg { width: 30px; height: 30px; }
.player .mid .sk small { position: absolute; font-size: 10px; font-weight: 700; top: 17px; }
.player .seek { flex: 1; height: 28px; display: flex; align-items: center; touch-action: none; }
.player .seek .track { position: relative; flex: 1; height: 4px; border-radius: 2px; background: rgb(255 255 255 / .25); }
.player .seek .buf { position: absolute; inset: 0 auto 0 0; background: rgb(255 255 255 / .3); border-radius: inherit; }
.player .seek .fill { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: inherit; }
.player .seek .knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(255 121 46 / .25); transition: transform .15s; }
.player .seek.drag .knob { transform: scale(1.35); }
.player .time { font-size: 12px; font-variant-numeric: tabular-nums; color: #e9e9ee; min-width: 40px; text-align: center; }
.player .live-pill { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: rgb(255 255 255 / .14); }
.player .spinner { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .15); border-top-color: var(--accent); animation: spin .8s linear infinite; display: none; }
.player.waiting .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.player .err { position: absolute; inset: 0; display: none; place-content: center; text-align: center; gap: 12px; padding: 20px; background: rgb(0 0 0 / .7); font-size: 14px; }
.player.failed .err { display: grid; }
.player .zap { position: absolute; left: 12px; top: 12px; padding: 8px 12px; border-radius: 10px; background: rgb(0 0 0 / .6); font-weight: 650; backdrop-filter: blur(10px); opacity: 0; transform: translateY(-6px); transition: .3s var(--ease); pointer-events: none; }
.player .zap.on { opacity: 1; transform: none; }
.player .title-fs { display: none; font-weight: 650; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* schermo intero: ruota in orizzontale anche con il telefono in verticale */
.fs-host { position: fixed; inset: 0; z-index: 100; background: #000; }
.fs-host .player { position: absolute; inset: 0; }
.fs-host.rotate .player { width: 100dvh; height: 100vw; inset: auto; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(90deg); }
.fs-host .player .title-fs { display: block; }
.fs-host .player .row { padding: max(12px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right)); }
.fs-host.rotate .player .row { padding: 14px 54px; }
.fs-host .player .row.top { justify-content: flex-start; }
.player .recents { position: absolute; left: 0; right: 0; bottom: 64px; display: flex; gap: 10px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
.player .recents::-webkit-scrollbar { display: none; }
.player .recents button { flex: none; width: 108px; height: 62px; border-radius: 10px; background: rgb(20 20 26 / .78); display: grid; place-items: center; padding: 6px; backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / .08); font-size: 11px; }
.player .recents button img { max-width: 70%; max-height: 30px; object-fit: contain; }
.player .recents button.on { border-color: var(--accent); }
.fs-anim { animation: fsIn .38s var(--ease); }
@keyframes fsIn { from { opacity: 0; transform: scale(.96); } }

/* ---------- barra in basso ---------- */
#tabs {
  position: fixed; z-index: 30; left: 10px; right: 10px; bottom: calc(var(--safe-b) + 8px); height: 60px; border-radius: 22px; display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 0 6px; background: color-mix(in srgb, #1d1e25 72%, transparent); backdrop-filter: blur(26px) saturate(1.6); -webkit-backdrop-filter: blur(26px) saturate(1.6);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .07) inset, 0 12px 40px rgb(0 0 0 / .45); transition: transform .4s var(--ease), opacity .3s;
}
#tabs.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
#tabs a { position: relative; z-index: 1; display: grid; place-items: center; align-content: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--faint); transition: color .25s; }
#tabs a svg { width: 23px; height: 23px; transition: transform .3s var(--spring); }
#tabs a.on { color: var(--text); }
#tabs a.on svg { color: var(--accent); transform: translateY(-1px) scale(1.06); }
#tabs .pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / var(--n, 5)); border-radius: 16px; background: rgb(255 255 255 / .07); transition: transform .45s var(--spring); }

/* ---------- fogli, moduli, avvisi ---------- */
.scrim { position: fixed; inset: 0; z-index: 160; background: rgb(0 0 0 / .5); animation: fade .25s var(--ease); backdrop-filter: blur(2px); }
.sheet {
  position: fixed; z-index: 161; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow: auto; overscroll-behavior: contain; background: var(--surface); border-radius: 24px 24px 0 0;
  padding: 8px var(--gutter) calc(var(--safe-b) + 18px); animation: up .38s var(--ease); box-shadow: 0 -10px 40px rgb(0 0 0 / .4);
}
.sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: var(--surface-3); margin: 0 auto 12px; }
.sheet h2 { margin: 2px 0 4px; font: 750 21px/1.2 var(--display); letter-spacing: -.01em; }
.sheet p.sub { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.sheet.closing { animation: down .26s var(--ease) forwards; }
.scrim.closing { animation: fade .26s reverse forwards; }
@keyframes up { from { transform: translateY(100%); } }
@keyframes down { to { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 4px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.opt:last-child { border-bottom: 0; }
.opt .grow { flex: 1; min-width: 0; }
.opt small { display: block; color: var(--muted); font-size: 12.5px; }
.opt.on { color: var(--accent); }
.opt .check { color: var(--accent); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.input { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 0 14px; font: 16px var(--ui); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(255 121 46 / .15); }
textarea.input { height: 96px; padding: 12px 14px; resize: none; }
.search-box { position: relative; margin: 0 var(--gutter) 12px; }
.search-box svg { position: absolute; left: 14px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; color: var(--faint); }
.search-box .input { padding-left: 42px; background: var(--surface); border-color: transparent; }
#toast { position: fixed; z-index: 300; left: 50%; bottom: calc(var(--tabs-h) + 22px); transform: translate(-50%, 20px); opacity: 0; max-width: calc(100% - 40px); padding: 11px 16px; border-radius: 14px;
  background: #2d2e38; color: var(--text); font-size: 14px; font-weight: 550; box-shadow: 0 10px 30px rgb(0 0 0 / .4); transition: .35s var(--ease); pointer-events: none; text-align: center; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- impostazioni ---------- */
.group { margin: 0 var(--gutter) 18px; background: var(--surface); border-radius: 16px; overflow: hidden; }
.group-h { margin: 22px calc(var(--gutter) + 4px) 8px; font-size: 13px; color: var(--muted); font-weight: 650; }
.item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); min-height: 54px; }
.item:last-child { border-bottom: 0; }
.item:active { background: rgb(255 255 255 / .04); }
.item .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-3); flex: none; }
.item .ic svg { width: 18px; height: 18px; }
.item .ic.accent { background: color-mix(in srgb, var(--accent) 22%, var(--surface-3)); color: var(--accent); }
.item .grow { flex: 1; min-width: 0; }
.item small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .chev { color: var(--faint); width: 18px; height: 18px; }
.item.danger { color: #ff6b6b; }
.empty { margin: 40px var(--gutter); text-align: center; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.empty h2 { margin: 0; color: var(--text); font: 750 24px/1.15 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.empty p { margin: 0; max-width: 32ch; }
.empty .glyph { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--accent); }
.empty .glyph svg { width: 36px; height: 36px; }

/* ---------- profili ---------- */
.gate { position: fixed; inset: 0; z-index: 80; background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--accent) 12%, var(--bg)), var(--bg) 60%); display: grid; align-content: center; justify-items: center; gap: 28px; padding: calc(var(--safe-t) + 20px) 24px calc(var(--safe-b) + 20px); animation: fade .4s var(--ease); }
.gate h1 { margin: 0; font: 800 30px/1.1 var(--display); letter-spacing: -.025em; text-align: center; }
.gate .who { display: grid; grid-template-columns: repeat(2, 120px); gap: 22px 26px; justify-content: center; }
.gate .who button { display: grid; justify-items: center; gap: 10px; font-weight: 600; animation: pop .5s var(--spring) both; }
.gate .who button:nth-child(2) { animation-delay: .05s; } .gate .who button:nth-child(3) { animation-delay: .1s; } .gate .who button:nth-child(4) { animation-delay: .15s; } .gate .who button:nth-child(5) { animation-delay: .2s; } .gate .who button:nth-child(6) { animation-delay: .25s; }
.gate .who .avatar { width: 104px; height: 104px; border-radius: 28px; transition: transform .25s var(--spring); }
.gate .who button:active .avatar { transform: scale(.93); }
.gate .who .add .avatar { background: transparent; box-shadow: inset 0 0 0 2px var(--line); color: var(--muted); }
.gate .lock { width: 14px; height: 14px; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.9); } }
.pin { display: flex; gap: 14px; justify-content: center; }
.pin i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--muted); transition: .2s var(--spring); }
.pin i.on { background: var(--accent); border-color: var(--accent); transform: scale(1.15); }
.pin.bad { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.keypad { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px; justify-content: center; }
.keypad button { height: 72px; border-radius: 50%; background: rgb(255 255 255 / .07); font: 600 26px var(--ui); transition: background .15s, transform .15s var(--spring); }
.keypad button:active { background: rgb(255 255 255 / .16); transform: scale(.94); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 16px; }
.swatches button { width: 38px; height: 38px; border-radius: 12px; background: var(--c); transition: transform .2s var(--spring); }
.swatches button.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--c); transform: scale(1.05); }

/* ---------- transizioni di pagina ---------- */
.enter-fwd { animation: inR .42s var(--ease); }
.enter-back { animation: inL .36s var(--ease); }
.enter-tab { animation: fadeUp .32s var(--ease); }
@keyframes inR { from { transform: translateX(28%); opacity: 0; } }
@keyframes inL { from { transform: translateX(-12%); opacity: .3; } }
@keyframes fadeUp { from { transform: translateY(8px); opacity: 0; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .38s; animation-timing-function: var(--ease); }
::view-transition-group(hero) { animation-duration: .45s; animation-timing-function: var(--ease); }
::view-transition-image-pair(hero) { isolation: auto; }
::view-transition-old(hero), ::view-transition-new(hero) { animation: none; mix-blend-mode: normal; height: 100%; object-fit: cover; overflow: clip; }

@media (min-width: 700px) {
  :root { --gutter: 28px; }
  .poster { width: 150px; }
  .slide { aspect-ratio: 16 / 8; }
  #tabs { left: 50%; right: auto; width: 460px; transform: translateX(-50%); }
  #tabs.hide { transform: translate(-50%, 140%); }
}
@media (orientation: landscape) and (max-height: 500px) {
  .slide { aspect-ratio: 16 / 7; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* marchio: V nel colore del profilo + «eyra» (come VeyraWordmark dell'app TV) */
.wordmark { --vc: var(--accent); display: inline-flex; height: 24px; aspect-ratio: 1279 / 469; flex: none; }
.wordmark .v { width: calc(341 / 1279 * 100%); height: calc(344 / 469 * 100%); margin: calc(23 / 469 * 24px) 0 0 calc(23 / 1279 * 100%); background: var(--vc); -webkit-mask: url(/icons/v.png) center / 100% 100% no-repeat; mask: url(/icons/v.png) center / 100% 100% no-repeat; }
.wordmark .w { width: calc(915 / 1279 * 100%); height: 100%; background: url(/icons/wordmark.png) center / 100% 100% no-repeat; }
.wordmark.lg { height: 40px; }
.wordmark.lg .v { margin-top: calc(23 / 469 * 40px); }
.avatar .vm { width: 46%; height: 46%; background: #fff; -webkit-mask: url(/icons/v.png) center / contain no-repeat; mask: url(/icons/v.png) center / contain no-repeat; }

/* anteprime 16:9 di film e serie (stile Prime) */
.tile { position: relative; flex: none; width: 44vw; max-width: 260px; display: block; }
.tile .art { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 1px rgb(255 255 255 / .05) inset; transition: transform .25s var(--spring); }
.tile:active .art { transform: scale(.96); }
.tile .art > img:not(.tl) { width: 100%; height: 100%; object-fit: cover; }
.tile .art::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgb(0 0 0 / .78)); pointer-events: none; z-index: 1; }
.tile .tl { position: absolute; z-index: 2; left: 8px; bottom: 8px; max-width: 62%; max-height: 34%; object-fit: contain; object-position: left bottom; opacity: 0; transition: opacity .4s var(--ease); filter: drop-shadow(0 2px 6px rgb(0 0 0 / .6)); }
.tile .tl.ok { opacity: 1; }
.tile .tn { position: absolute; z-index: 2; left: 9px; right: 9px; bottom: 8px; font: 750 14px/1.08 var(--display); letter-spacing: -.01em; font-variation-settings: 'wdth' 86; text-shadow: 0 1px 8px rgb(0 0 0 / .7); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .fallback { position: absolute; inset: 0; background: radial-gradient(110% 120% at 0% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%), linear-gradient(160deg, var(--surface-3), var(--surface)); }
.tile .kind { position: absolute; z-index: 2; right: 7px; top: 7px; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: rgb(0 0 0 / .55); backdrop-filter: blur(6px); }
.tile .bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 0; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 10px; padding: 10px var(--gutter); }
.tiles .tile { width: auto; max-width: none; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } .tile { width: 240px; } }

/* ===== Home sul modello Prime Video (riferimento inviato da Giuseppe) ===== */
.top .chips { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; overflow: visible; padding: 4px var(--gutter) 12px; flex: 0 0 auto; width: calc(100% + 2 * var(--gutter)); margin: 2px calc(-1 * var(--gutter)) -10px; }
.top .chip, .top .chip:not(.on) { border-radius: 10px; height: 40px; padding: 0 8px; display: grid; place-items: center; font-size: 14.5px; font-weight: 550; letter-spacing: .01em;
  background: linear-gradient(180deg, #2b2d36, #22232b); color: var(--text); box-shadow: 0 0 0 1px rgb(255 255 255 / .06) inset, 0 6px 16px rgb(0 0 0 / .25); }
.top .chip.on { background: var(--text); color: var(--bg); box-shadow: none; }
.home .hero { margin-top: 4px; padding: 0 var(--gutter); }
.home .hero-track { gap: 12px; scroll-padding: 0; border-radius: 12px; }
.home .slide { aspect-ratio: auto; max-height: none; border-radius: 12px; overflow: visible; display: grid; gap: 10px; align-content: start; }
.home .slide::after { display: none; }
.home .slide .pic { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.home .slide .pic .bg { position: absolute; inset: 0; }
.home .slide .pic::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgb(0 0 0 / .72)); }
.home .slide .pic .logo { position: absolute; z-index: 1; left: 14px; bottom: 14px; max-width: 64%; max-height: 38%; }
.home .slide .pic .name { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; font-size: 30px; }
.home .slide .under { display: grid; gap: 6px; padding: 0 2px; }
.home .slide .tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.home .slide .tag-new { padding: 2px 7px; border-radius: 5px; background: var(--text); color: var(--bg); font-weight: 800; font-size: 12px; letter-spacing: .02em; }
.home .slide .hl { color: var(--accent); font-weight: 700; }
.home .slide .avail { display: flex; gap: 7px; align-items: center; color: var(--text); font-size: 14px; }
.home .slide .avail i { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--accent-ink); }
.home .slide .avail i svg { width: 11px; height: 11px; stroke-width: 3.5; }
.home .dots { padding-top: 12px; }
.home .dots i.on { background: var(--text); }
.section-h h2 { font: 450 20px/1.2 var(--ui); letter-spacing: -.005em; color: #e6e7ec; font-variation-settings: normal; }
.wcard { width: 44vw; max-width: 280px; }
.wcard .art { border-radius: 8px 8px 0 0; }
.wcard .bar.under { height: 3px; border-radius: 0 0 3px 3px; margin: 0; }
.wcard .s { margin-top: 7px; display: flex; gap: 12px; color: var(--muted); font-size: 13px; }
.ch-card.wcard { width: 44vw; max-width: 280px; }
.ch-card .art .lg { width: 40% !important; height: 40% !important; }
.ch-card .t { margin-top: 8px; }
.top10 { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); scroll-snap-type: x proximity; }
.top10::-webkit-scrollbar { display: none; }
.top10 a { flex: none; display: flex; align-items: flex-end; scroll-snap-align: start; }
.top10 .num { font: 800 130px/0.78 var(--display); font-variation-settings: 'wdth' 75; color: var(--bg); -webkit-text-stroke: 3px #d8d9df; margin-right: -14px; letter-spacing: -.06em; z-index: 1; }
.top10 .tile { width: 62vw; max-width: 340px; }
#tabs { grid-template-rows: 1fr; left: 16px; right: 16px; height: 64px; border-radius: 32px; }
#tabs a span { display: none; }
#tabs a svg { width: 26px; height: 26px; }
#tabs .pill { top: 7px; bottom: 7px; border-radius: 26px; background: rgb(255 255 255 / .1); }

[hidden] { display: none !important; }
.player [data-fs-only] { display: none; }
.fs-host .player [data-fs-only]:not([hidden]) { display: grid; }
.fs-host .player .title-fs { display: block; }
.stage .back { transition: opacity .3s; }
.stage:has(.player.show-ui) .back, .stage:has(.player:not(.show-ui)) .back { opacity: 0; pointer-events: none; }
.stage:has(.player.show-ui) .back { opacity: 1; pointer-events: auto; }
.grid .cell { text-align: left; color: var(--text); }
.grid .cell:active { background: var(--surface-3); }

/* guida in stile Veyra TV: colonne per programma, niente righello del tempo */
.tl-bar { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter) 10px; position: sticky; top: calc(var(--safe-t) + 58px); z-index: 6; background: var(--bg); }
.tl-bar::-webkit-scrollbar { display: none; }
.tl-bar .chip { padding: 6px 12px; font-size: 13px; font-variant-numeric: tabular-nums; }
.eg-head, .eg-row { display: grid; grid-template-columns: 64px minmax(0, 1.45fr) minmax(0, 1fr); gap: 8px; padding: 0 var(--gutter); }
.eg-head { font-size: 12px; color: var(--faint); font-weight: 650; padding-bottom: 6px; }
.eg-head .acc { color: var(--accent); }
.wide-only { display: none; }
.eg-row { padding-top: 5px; padding-bottom: 5px; border-bottom: 1px solid var(--line); align-items: stretch; min-height: 72px; }
.eg-ch { display: grid; justify-items: center; align-content: center; gap: 4px; }
.eg-ch .lgbox { width: 56px; height: 38px; border-radius: 9px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.eg-ch .lgbox img { max-width: 78%; max-height: 72%; object-fit: contain; }
.eg-ch .lgbox .monogram { font-size: 14px; }
.eg-name { font-size: 10.5px; color: var(--muted); text-align: center; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eg-now, .eg-next { text-align: left; border-radius: 10px; padding: 7px 10px; display: grid; align-content: center; gap: 3px; min-width: 0; color: var(--text); }
.eg-now b { font-size: 14px; font-weight: 650; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eg-now small { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.eg-now.live { background: color-mix(in srgb, var(--accent) 13%, var(--surface)); }
.eg-now .bar { display: block; height: 3px; margin-top: 2px; }
.eg-next { border-left: 1px solid var(--line); border-radius: 0; }
.eg-next small { font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.eg-next span { font-size: 13px; color: var(--muted); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eg-now:active, .eg-next:active { background: var(--surface-2); }
.eg-none { grid-column: 2 / -1; align-self: center; color: var(--faint); font-size: 13px; }
.eg-row .wide-only, .eg-head .wide-only { display: none; }
@media (min-width: 600px) { .eg-head, .eg-row { grid-template-columns: 72px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); } .eg-row .wide-only { display: grid; } .eg-head .wide-only { display: block; } }
.chev { width: 18px; height: 18px; color: var(--faint); flex: none; }
button.group { display: flex; }
.avatar.light .vm { background: #111217; }

/* prima apertura */
.gate .welcome { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 340px; }
.gate .welcome p { margin: 0; color: var(--muted); }
.gate .first-avatar { width: 112px; height: 112px; border-radius: 32px; animation: pop .6s var(--spring) both; }
.gate .actions { display: grid; gap: 10px; width: min(340px, 100%); }
.gate .foot { position: absolute; left: 24px; right: 24px; bottom: calc(var(--safe-b) + 22px); display: grid; gap: 8px; justify-items: center; text-align: center; }
.gate .foot small { color: var(--faint); font-size: 13px; }
