/* #130: "Stadium at night", the owner's choice (2026-11-13) for a livelier app. Spec: docs/design/ui-stadium-night.md,
   reference: docs/design/ui-directions.html (direction A). Loaded last, so these shared tokens apply on every screen.
   Rules: only transform and opacity move; everything stops with reduced motion (the system setting or the app's
   own, body.reduce); green and red stay only for answers the server has checked. */
:root{
  --sn-card-a:var(--fl-card-a);--sn-card-b:var(--fl-card-b);
  --sn-card:linear-gradient(160deg,var(--sn-card-a) 0%,var(--sn-card-b) 70%);
  --sn-edge:inset 0 1px 0 color-mix(in srgb,var(--fl-cream) 8%,transparent);
  --sn-shadow:0 12px 26px rgba(0,0,0,.35);
  --sn-lift:0 18px 34px rgba(0,0,0,.45),0 0 0 1px color-mix(in srgb,var(--fl-accent) 35%,transparent),inset 0 1px 0 color-mix(in srgb,var(--fl-cream) 10%,transparent);
  --sn-gold:linear-gradient(135deg,var(--fl-accent),var(--fl-accent-deep));
  --sn-tile:color-mix(in srgb,var(--fl-accent) 12%,var(--sn-card-a));
}

/* ---- Background: two floodlight beams sway slowly behind the content (outside #app, so a re-render never restarts them). */
.night-fx{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.night-fx .beam{position:absolute;top:-10%;width:38%;height:80%;background:linear-gradient(color-mix(in srgb,var(--fl-accent-light) 16%,transparent),transparent 75%);filter:blur(6px);transform-origin:top center;will-change:transform;animation:sn-sway 7s ease-in-out infinite alternate}
.night-fx .beam.l{left:2%;transform:rotate(18deg)}
.night-fx .beam.r{right:2%;transform:rotate(-18deg);animation-name:sn-sway-r;animation-delay:-3.5s}
@keyframes sn-sway{from{transform:rotate(22deg)}to{transform:rotate(10deg)}}
@keyframes sn-sway-r{from{transform:rotate(-22deg)}to{transform:rotate(-10deg)}}
#app{position:relative;z-index:1}

/* ---- Depth on every card. */
.panel,.home-tile,.score-card,.live-match-scene,.rs-player,.rs-facts>div,.group-card,.step-card,.cs-card,.home-me,.profile-stats>*,.achievement,.profile-match{
  background:var(--sn-card)!important;border-color:color-mix(in srgb,var(--fl-cream) 8%,transparent);box-shadow:var(--sn-shadow),var(--sn-edge)}
.score-card.active{box-shadow:var(--sn-shadow),var(--sn-edge),0 0 0 1px var(--fl-accent)}
.home-tile,.home-primary{transition:transform .18s,box-shadow .18s}
@media (hover:hover) and (pointer:fine){.home-tile:hover{transform:translateY(-3px);box-shadow:var(--sn-lift);border-color:color-mix(in srgb,var(--fl-cream) 8%,transparent)}}
.home-tile:active{transform:translateY(-3px);box-shadow:var(--sn-lift)}

/* ---- Icon tiles on cards: yellow at 12 % on the card colour. */
.sn-ic{display:grid;place-items:center;flex:none;width:36px;height:36px;margin-bottom:10px;border-radius:12px;background:var(--sn-tile);color:var(--fl-accent)}
.sn-ic .ic{width:20px;height:20px}
.home-primary .sn-ic{width:44px;height:44px;margin:0;border-radius:14px;background:color-mix(in srgb,var(--fl-on-accent) 12%,transparent);color:var(--fl-on-accent)}
.home-primary{justify-content:flex-start;gap:12px}
.home-primary>span:not(.sn-ic):not(:last-child){flex:1;min-width:0}

/* ---- Primary button: yellow gradient with a light sweep every 3.6 s. */
/* overflow:clip keeps the sweep inside without letting flex rows squeeze the button (overflow:hidden would). */
.home-primary,:is(button,a).primary:not(:disabled){position:relative;overflow:hidden;overflow:clip;isolation:isolate;background:var(--sn-gold);box-shadow:0 14px 30px color-mix(in srgb,var(--fl-accent-deep) 22%,transparent)}
.home-primary::after,:is(button,a).primary:not(:disabled)::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 35%,color-mix(in srgb,var(--fl-cream) 50%,transparent) 50%,transparent 65%);transform:translateX(-120%);animation:sn-sweep 3.6s ease-in-out infinite;animation-delay:var(--sn-t,0ms)}
@keyframes sn-sweep{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}

/* ---- Greeting: avatar with the initial, «Γεια σου, <name>», a guest line with «Σύνδεση». */
.home-me.sn-hello{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:10px;margin:2px 0 12px;padding:0;border:0;background:none!important;box-shadow:none}
.sn-av{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--sn-gold);color:var(--fl-on-accent);font:italic 800 1.15rem/1 var(--fl-display);box-shadow:0 0 0 3px color-mix(in srgb,var(--fl-accent) 18%,transparent)}
.sn-av .ic{width:20px;height:20px}
.sn-hello-text{min-width:0}
.sn-hello-text b{display:block;font:italic 800 1.35rem/1.1 var(--fl-display);color:var(--fl-cream);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sn-hello-text small{display:block;color:var(--fl-muted);font-size:.82rem}
.sn-hello-text small button{padding:0;border:0;background:none;color:var(--fl-accent);font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.sn-hello-text small button:focus-visible{outline:3px solid var(--fl-cream);outline-offset:2px}

/* ---- Brand: the crest turns once when the app opens and then bobs gently; «μπαλίτσα» has a slow shine. */
.brand-crest{transform-origin:center;animation:sn-bob 4s ease-in-out infinite;animation-delay:var(--sn-t,0ms)}
.sn-first .brand-crest{animation:sn-spin .9s cubic-bezier(.2,.8,.2,1) var(--sn-f,0ms) both}
@keyframes sn-spin{from{transform:rotate(-200deg) scale(.4);opacity:0}to{transform:none;opacity:1}}
@keyframes sn-bob{50%{transform:translateY(-2px)}}
/* The shine is a light copy of the word seen through a narrow window that slides across it: the window moves one way
   and the copy inside moves back by the same distance, so the letters stay put. Transform only. */
.brand-light{position:relative;display:inline-block}
.sn-glint{position:absolute;left:0;top:0;bottom:0;width:50%;overflow:hidden;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 35%,#000 65%,transparent);mask-image:linear-gradient(90deg,transparent,#000 35%,#000 65%,transparent);transform:translateX(-100%);animation:sn-glint 4s linear infinite;animation-delay:var(--sn-t,0ms)}
.sn-glint>span{position:absolute;left:0;top:0;white-space:nowrap;color:var(--fl-cream);animation:sn-glint-in 4s linear infinite;animation-delay:var(--sn-t,0ms)}
@keyframes sn-glint{0%,50%{transform:translateX(-100%)}100%{transform:translateX(200%)}}
@keyframes sn-glint-in{0%,50%{transform:translateX(50%)}100%{transform:translateX(-100%)}}

/* ---- Dock: the selected item glows yellow. */
.native-dock .dock-item.selected{color:var(--fl-accent)}
.native-dock .dock-item.selected .dock-icon svg{filter:drop-shadow(0 0 8px color-mix(in srgb,var(--fl-accent) 60%,transparent))}

/* ---- Entrance: when a screen opens, its blocks rise in one by one (70 ms apart, 0.55 s each). Only on a new screen.
   #162: fill "backwards", not "both": a finished entrance must leave nothing behind, or each block keeps its own
   stacking layer and a dropdown in one block opens under the next (the «Ποιος είναι;» hint covered the suggestions). */
.sn-enter>.page>*:not(h1.sr-only){animation:sn-rise .55s cubic-bezier(.2,.8,.2,1) backwards;animation-delay:calc(var(--sn-i,0)*70ms + var(--sn-e,0ms))}
.sn-enter>.page>*:nth-child(2){--sn-i:1}.sn-enter>.page>*:nth-child(3){--sn-i:2}.sn-enter>.page>*:nth-child(4){--sn-i:3}
.sn-enter>.page>*:nth-child(5){--sn-i:4}.sn-enter>.page>*:nth-child(6){--sn-i:5}.sn-enter>.page>*:nth-child(7){--sn-i:6}
.sn-enter>.page>*:nth-child(8){--sn-i:7}.sn-enter>.page>*:nth-child(n+9){--sn-i:8}
@keyframes sn-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* ---- Reduced motion (the system's or the app's own): nothing moves; layout and contrast stay. */
@media (prefers-reduced-motion:reduce){
  .night-fx .beam,.brand-crest,.sn-first .brand-crest,.sn-glint,.sn-glint>span,.home-primary::after,:is(button,a).primary::after,.sn-enter>.page>*{animation:none!important}
  .home-primary::after,:is(button,a).primary::after,.sn-glint{display:none}
  .home-tile,.home-primary{transition:none}
  .home-tile:hover,.home-tile:active{transform:none!important}
}
body.reduce :is(.night-fx .beam,.brand-crest,.sn-glint,.sn-glint>span,.sn-enter>.page>*){animation:none!important}
body.reduce .home-primary::after,body.reduce .primary::after{animation:none!important}
body.reduce .sn-first .brand-crest{animation:none!important}
body.reduce .home-primary::after,body.reduce .primary::after,body.reduce .sn-glint{display:none}
body.reduce .home-tile{transition:none}
body.reduce .home-tile:is(:hover,:active){transform:none!important}

/* ---- #145: the guest's ready bar, fixed at the bottom above the safe area. */
.ready-dock{position:fixed;z-index:60;left:50%;transform:translateX(-50%);bottom:calc(14px + env(safe-area-inset-bottom));width:min(560px,calc(100% - 32px));display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:16px;background:color-mix(in srgb, var(--fl-night) 92%, transparent);border:1px solid color-mix(in srgb, var(--fl-accent) 55%, transparent);box-shadow:0 14px 44px #000a;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.ready-hint,.ready-done{margin:0;font-size:13px;line-height:1.4;color:var(--fl-cream);text-align:center}
.ready-done{font-weight:800;color:var(--fl-accent);display:flex;align-items:center;justify-content:center;gap:6px}
.ready-done svg{width:18px;height:18px}
.ready-cta{position:relative;min-height:56px;font-size:17px;letter-spacing:.6px}
.ready-cta::before{content:'';position:absolute;inset:-5px;border-radius:13px;border:2px solid var(--fl-accent);pointer-events:none;opacity:0;animation:ready-pulse 2.4s ease-in-out infinite}
.ready-undo{align-self:center;background:none;border:0;color:var(--fl-muted);text-decoration:underline;font-size:13px;min-height:40px;padding:0 12px;cursor:pointer}
.ready-dock.is-ready{border-color:color-mix(in srgb, var(--fl-muted) 30%, transparent)}
.lobby-page.has-ready-dock{padding-bottom:calc(170px + env(safe-area-inset-bottom))}
.start-blocker{margin:12px 0 0;padding:10px 12px;border-radius:10px;font-size:13px;line-height:1.4;color:var(--fl-cream);background:color-mix(in srgb, var(--fl-accent) 10%, transparent);border:1px dashed color-mix(in srgb, var(--fl-accent) 45%, transparent)}.start-blocker b,.start-note b{color:var(--fl-accent)}
@keyframes ready-pulse{0%,100%{opacity:0;transform:scale(.97)}50%{opacity:.7;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.ready-cta::before{animation:none;display:none}}
body.reduce .ready-cta::before{animation:none;display:none}

/* ---- #154: the lobby on one screen (docs/design/no-scroll.html). With 8 players everything that must be seen fits
   at 375 x 667: the code with QR and «Κάλεσε», the player chips, the game choice and «Σέντρα» stuck to the bottom. */
.lobby-page.compact-lobby{display:flex;flex-direction:column;gap:8px;padding-top:12px;padding-bottom:calc(150px + env(safe-area-inset-bottom))}
.lobby-page.compact-lobby.has-ready-dock{padding-bottom:calc(150px + env(safe-area-inset-bottom))}
.compact-lobby .lobby-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 2px}
.compact-lobby .lobby-title-row .page-title{font-size:26px;line-height:1.05;margin:0}
.compact-lobby .lobby-title-row .page-kicker{font-size:10px;margin:0;white-space:nowrap}
.compact-lobby .panel{margin:0;padding:10px 12px;border-radius:14px}
.compact-lobby h2{margin:0}
.lobby-code-row{display:flex;align-items:center;gap:8px}
.lobby-code-label{font-size:10px;font-weight:900;letter-spacing:.12em;color:var(--fl-muted);writing-mode:vertical-rl;transform:rotate(180deg)}
.compact-lobby .invite-code{text-align:left;font-size:30px;line-height:1;letter-spacing:.12em;margin:0;padding:0;background:none;-webkit-text-fill-color:currentColor;color:var(--fl-accent);min-width:0;flex:1;white-space:nowrap}
.lobby-code-row button{min-height:44px;padding:0 12px;display:inline-flex;align-items:center;gap:6px;font-size:14px;white-space:nowrap}
.lobby-code-row button svg{width:18px;height:18px}
.lobby-squad-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:6px}
.lobby-squad-head h2{font-size:13px;letter-spacing:.1em;color:var(--fl-cream)}
.lobby-squad-head h2 em{font-style:normal;color:var(--fl-accent)}
.lobby-squad-head span{font-size:12px;color:var(--fl-muted)}
.compact-lobby .lobby-players{list-style:none;margin:0;padding:0;display:flex;flex-direction:row;flex-wrap:wrap;gap:6px}
.compact-lobby .lobby-player{display:inline-flex;align-items:center;gap:6px;min-height:32px;max-width:100%;padding:0 10px;border-radius:999px;border:1px solid color-mix(in srgb, var(--fl-muted) 35%, transparent);background:color-mix(in srgb, var(--fl-night) 70%, transparent);font-size:13px}
.compact-lobby .lobby-player b{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:9.5em}
.compact-lobby .lobby-player.is-host{border-color:var(--fl-accent)}
.compact-lobby .lobby-player.is-away{opacity:.6}
.compact-lobby .lobby-player small{font-size:11px;color:var(--fl-muted)}
.compact-lobby .lobby-player .captain{font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--fl-accent);padding:0;background:none;border:0}
.compact-lobby .ready-state{flex:none;width:9px;height:9px;border-radius:50%;padding:0;background:color-mix(in srgb, var(--fl-muted) 70%, transparent)}
.compact-lobby .ready-state.yes{background:var(--fl-accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--fl-accent) 25%, transparent)}
.link-button{background:none;border:0;padding:6px 0 0;min-height:36px;color:var(--fl-accent);font-weight:700;font-size:13px;cursor:pointer;text-align:left}
.compact-lobby .lobby-game{padding:8px}
.mode-picker.compact{margin:0}
.mode-picker.compact .mode-options{gap:8px}
.mode-picker.compact .mode-option{min-height:58px;padding:21px 10px 8px 50px;gap:2px;justify-content:flex-start}
.mode-picker.compact .mode-option>.game-icon{position:absolute;left:9px;top:50%;width:32px;height:32px;margin:0;transform:translateY(-50%)}
.mode-picker.compact .mode-name{font-size:18px;line-height:1.1}
.mode-picker.compact .mode-tag{font-size:11.5px;line-height:1.25}
.lobby-waiting>p:first-child{margin:0;display:flex;align-items:center;gap:8px;font-size:14px}
.lobby-waiting .match-summary{margin:6px 0 0;font-size:14px}
.start-dock{position:fixed;z-index:60;left:0;right:0;margin:0 auto;bottom:calc(10px + env(safe-area-inset-bottom));width:min(560px,calc(100% - 24px));display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:16px;background:color-mix(in srgb, var(--fl-night) 92%, transparent);border:1px solid color-mix(in srgb, var(--fl-accent) 55%, transparent);box-shadow:0 14px 44px #000a;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.start-dock .start-blocker{margin:0;padding:6px 10px;font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.start-row{display:flex;gap:8px}
.start-go{flex:1;min-height:54px;font-size:18px;letter-spacing:.6px}
.start-dock .match-summary{margin:0;text-align:center;font-size:12px;color:var(--fl-muted)}
/* the bars are centred without a transform, so they can rise in with the rest of the screen (#130) and keep nothing after it (#162) */
.compact-lobby .ready-dock{left:0;right:0;margin:0 auto;transform:none;bottom:calc(10px + env(safe-area-inset-bottom));width:min(560px,calc(100% - 24px))}
.qr-sheet{text-align:center}
.qr-sheet h2{margin:4px 0 12px}
.qr-sheet .invite-qr{width:min(260px,70vw);height:auto;aspect-ratio:1;box-sizing:border-box;margin:0 auto 12px}
.qr-sheet .invite-qr svg{width:100%;height:100%;display:block}
.qr-sheet .qr-code{font:800 34px/1 var(--fl-display,inherit);letter-spacing:.14em;color:var(--fl-accent);margin:0 0 12px}
.qr-sheet .button-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}
.qr-sheet .button-row button{min-height:46px}
@media (max-width:359px){.compact-lobby .invite-code{font-size:24px}.lobby-code-row button{padding:0 9px}}
@media (min-width:601px){
 .content>.lobby-page.compact-lobby{padding-left:max(0px,calc((100% - 640px)/2))!important;padding-right:max(0px,calc((100% - 640px)/2))!important;padding-top:24px}
 .compact-lobby .lobby-title-row .page-title{font-size:34px}
 /* on a desktop the bar follows the content (it fits), and stays in view if the window is short */
 .lobby-page.compact-lobby,.lobby-page.compact-lobby.has-ready-dock{padding-bottom:24px}
 .compact-lobby .start-dock,.compact-lobby .ready-dock{position:sticky;left:auto;right:auto;width:auto;bottom:16px;margin:4px 0 0}
}
/* ---- #150: in a game the header is one slim line (44 px plus the top inset): exit, where the game stands, ⋯. */
.app-topbar.game-topbar{--bar-height:44px;gap:8px;justify-content:flex-start}
.game-topbar .game-x,.game-topbar .game-more{min-width:44px;min-height:40px;padding:0;display:grid;place-items:center;border-radius:10px}
.game-topbar .game-x svg,.game-topbar .game-more svg{width:20px;height:20px}
.game-topbar .game-title{flex:1;min-width:0;text-align:center;font:800 13px/1.2 var(--font);letter-spacing:.08em;text-transform:uppercase;color:var(--fl-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.game-topbar .top-tools{display:flex;align-items:center;gap:6px;margin:0}
.game-topbar .connection:not(.lost){display:none}
.game-menu-code{font-size:14px;color:var(--fl-cream)}.game-menu-code b{color:var(--fl-accent);letter-spacing:.12em}
.game-menu-rules{text-align:left}
.game-menu-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:16px 0 12px}
.game-menu-actions button{min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;padding:0 6px}
.game-menu-actions svg{width:16px;height:16px}

/* ---- #153: compact Classic and Quiz turn cards (docs/design/no-scroll.html). The list once, in the card's title; who
   plays and what is left in one line; input and «Βολή» in one row; the server's help in one small line. Quiz: the
   player and the declaration beside the clock; the question up to 3 lines; four 46 px answers. */
.live-game-page{padding-top:8px}
.live-game-page .live-match-scene{padding:12px;margin-bottom:10px}
/* Classic */
.classic-scene .cs-card{padding:12px;gap:8px}
.classic-scene .cs-kick{column-gap:8px}
.classic-scene .cs-cat{font:inherit;letter-spacing:0;text-transform:none}
.classic-scene .cs-cat strong{display:block;font:800 1.15rem/1.15 var(--fl-display);color:var(--fl-cream)}
.classic-scene .cs-cat .cat-detail{margin-top:2px;font-size:.74rem;line-height:1.3}
.classic-scene .turn-ring{width:50px;height:50px}
.classic-scene .turn-ring strong{font-size:1.15rem}
.classic-scene .leg-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:0;padding:2px 0 0;border:0;border-top:1px dashed color-mix(in srgb, var(--fl-muted) 30%, transparent);border-radius:0;background:none;font-size:.78rem}
.classic-scene .leg-banner span{font-size:10px}
.classic-scene .leg-banner .link-button{padding:0;min-height:36px;font-size:.82rem}
.classic-scene .leg-banner small{font-size:.75rem}
.classic-scene .cs-who{font-size:.82rem}
.classic-scene .cs-score{align-items:center}
.classic-scene .cs-score>div:first-child{display:flex;align-items:baseline;gap:8px}
.classic-scene .cs-value{font-size:2.8rem;line-height:1}
.classic-scene .cs-finish small{font-size:.7rem}
.classic-scene .cs-finish b{font-size:.95rem}
.classic-scene .dart-slot,.classic-scene .dart-slots.one .dart-slot{min-height:40px;padding:4px 12px}
.classic-scene .dart-slot b{font-size:1.15rem}
.classic-scene .live-scene-controls{margin-top:0}
.classic-scene .live-scene-controls .stat-box{padding:0}
.classic-scene .input-row{margin:0;gap:6px}
.classic-scene .input-row input,.classic-scene .input-row button{min-height:46px}
.classic-scene .cs-help{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.72rem}
.classic-scene .cs-help div{display:flex;align-items:baseline;gap:4px;border:0;padding:0;font-size:inherit;text-transform:none;letter-spacing:0}
.classic-scene .cs-help b{display:inline;font:800 .95rem var(--fl-display)}
/* Quiz */
.live-game-page .live-scene-top{align-items:center;margin-bottom:6px}
.live-game-page .live-scene-top .live-scene-player{flex-direction:row;align-items:baseline;gap:4px 8px;font-size:11px}
.live-game-page .live-scene-player strong{font-size:1.15rem}
.live-scene-sub{flex-basis:100%;font-size:.78rem;font-weight:600;color:var(--fl-muted);letter-spacing:0}
.live-scene-sub .difficulty-label{padding:0;border:0;background:none;font:inherit;color:var(--fl-cream)}
.live-game-page .live-scene-clock.q-timer{width:50px;height:50px}
.live-game-page .live-scene-clock.q-timer strong{font-size:1.15rem}
.live-game-page .live-scene-controls .quiz-box,.live-game-page .live-scene-controls .wager-panel{padding-top:0}
.live-game-page .quiz-box h2,.live-game-page .live-scene-question{font-size:1.3rem;line-height:1.15;margin:4px 0 8px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
/* #199: the question the players answer is never cut short (the longest one takes 5 lines at 375 px) */
.live-game-page .quiz-box h2{display:block;-webkit-line-clamp:none;overflow:visible}
.live-game-page .answer-options,.live-game-page .live-scene-options{gap:6px!important;margin-top:4px}
/* !important: question-screen.css forces 56 px */
.live-game-page .answer-option,.live-game-page .live-scene-option{min-height:46px!important;padding:6px 12px!important}
.live-game-page .answer-option span{width:26px;height:26px}
/* #199: on a short phone (375 x 667) the longest question and its answers still leave room for the score strip */
@media(max-height:700px){.live-game-page .quiz-box h2,.live-game-page .live-scene-question{font-size:1.12rem;margin:2px 0 6px}
 .live-game-page .answer-option,.live-game-page .live-scene-option{min-height:44px!important}
 .live-game-page .bonus-line{margin:0 0 6px}.live-game-page .answered-row{margin-top:5px}.live-game-page .answered-chip{padding-block:1px}}
.live-game-page .wager-panel .headline-chip{margin-bottom:4px;padding:4px 10px}
.live-game-page .wager-panel h2{font-size:1.3rem;margin:2px 0 4px}
.live-game-page .wager-panel .wager-hint{margin:0 0 8px;font-size:.85rem}

/* #181: the small grey «i» (22 px, 44 px tap area) in the corner of each game, and its how-to-play sheet. Not yellow,
   not a «?»: it must not take the eye off the game. The sheet comes up from the bottom on a phone, centred on a desktop. */
.htp-i{flex:none;display:inline-grid;place-items:center;box-sizing:border-box;width:22px!important;height:22px!important;min-width:0!important;min-height:0!important;padding:0!important;border-radius:50%!important;border:1.5px solid color-mix(in srgb, var(--fl-cream) 55%, transparent)!important;background:transparent!important;box-shadow:none!important;color:color-mix(in srgb, var(--fl-cream) 75%, transparent)!important;font:italic 700 .78rem/1 Georgia,"Times New Roman",serif!important;letter-spacing:0;text-transform:none;position:relative;cursor:pointer}
.htp-i::after{content:"";position:absolute;inset:-11px}
.htp-i:focus-visible{outline:3px solid var(--fl-cream);outline-offset:2px}
@media (hover:hover) and (pointer:fine){button.htp-i:hover{color:var(--fl-cream)!important;border-color:var(--fl-cream)!important}}
.htp-i.corner{position:absolute;top:10px;right:10px;z-index:2}
.htp-i.top{margin:0 6px}
.home-tile-wrap{position:relative;min-width:0;display:grid}
.lobby-game,.lobby-waiting,.sv-intro,.whois-page{position:relative}
.lobby-waiting>p:first-of-type,.sv-intro>p:first-of-type{padding-right:30px}
.htp-sheet.again{animation:none!important}
.htp-sheet{display:flex;flex-direction:column;max-height:min(92dvh,640px);text-align:left}
.htp-head{display:flex;align-items:center;gap:8px}
.htp-head .htp-i{cursor:default}
.htp-game{font:800 .8rem var(--fl-display);letter-spacing:.1em;text-transform:uppercase;color:var(--fl-accent)}
.htp-close{margin-left:auto;min-width:44px;min-height:44px;border-radius:12px;border:1px solid var(--fl-line);background:var(--fl-surface);color:var(--fl-cream);display:grid;place-items:center;padding:0;cursor:pointer}
.htp-step{flex:1;overflow:auto;padding:6px 0}
.htp-num{font:800 .78rem var(--fl-display);color:var(--fl-muted);letter-spacing:.08em}
.htp-step h2{font:italic 800 1.7rem/1.05 var(--fl-display);margin:2px 0 8px;text-transform:none;letter-spacing:0}
.htp-step p{margin:0 0 10px;font-size:.95rem;line-height:1.45;color:var(--fl-cream)}
.htp-ex{border:1px solid var(--fl-line);border-radius:14px;background:color-mix(in srgb, var(--fl-night) 55%, transparent);padding:10px 12px}
.htp-ex span{display:block;font:800 .7rem var(--fl-display);letter-spacing:.1em;text-transform:uppercase;color:var(--fl-muted);margin-bottom:4px}
.htp-ex b{display:block;font:800 1.2rem/1.2 var(--fl-display);color:var(--fl-accent)}
.htp-foot{display:flex;align-items:center;gap:8px;padding-top:8px}
.htp-foot button{min-height:48px;padding:0 18px;width:auto;margin:0}
.htp-foot .htp-back[hidden]{display:none}
.htp-foot .htp-next{margin-left:auto}
.htp-dots{display:flex;gap:5px}.htp-dots i{width:8px;height:8px;border-radius:50%;background:var(--fl-line)}.htp-dots i.on{background:var(--fl-accent);width:20px;border-radius:5px}
@media(min-width:700px){.htp-shade{align-items:center}.htp-sheet{margin-bottom:0}}
.lobby-game-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 6px;min-height:24px}
.lobby-game-head h2{margin:0;font-size:13px;letter-spacing:.1em;color:var(--fl-cream)}
.whois-page .wi-title{padding-right:30px}
/* #215: «i Πώς παίζεται», the labelled button in the lobby and in a match's top bar: the «i» circle plus the words. */
.htp-btn{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:32px!important;padding:3px 10px 3px 5px!important;border-radius:999px!important;border:1px solid color-mix(in srgb, var(--fl-cream) 35%, transparent)!important;background:color-mix(in srgb, var(--fl-cream) 8%, transparent)!important;box-shadow:none!important;color:var(--fl-cream)!important;font:700 13px/1 var(--font,inherit)!important;letter-spacing:.02em;text-transform:none;white-space:nowrap;cursor:pointer;position:relative}
.htp-btn .htp-i{cursor:inherit;color:var(--fl-cream)!important;border-color:var(--fl-cream)!important}
.htp-btn .htp-i::after{content:none}
.htp-btn:focus-visible{outline:3px solid var(--fl-cream);outline-offset:2px}
@media (hover:hover) and (pointer:fine){.htp-btn:hover{border-color:var(--fl-cream)!important;background:color-mix(in srgb, var(--fl-cream) 14%, transparent)!important}}
.htp-btn{z-index:2}.htp-btn::after{content:"";position:absolute;inset:-6px -2px}
.lobby-waiting .htp-btn{margin-top:10px}
/* #215: on a phone the title sits on two lines (game, then round and turn) so «i Πώς παίζεται» fits beside it. */
@media (max-width:600px){.game-topbar .game-title{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;line-height:1.2}.game-topbar .game-title>span{max-width:100%;overflow:hidden;text-overflow:ellipsis}.game-topbar .gt-sep{display:none}.game-topbar .gt-turn{font-size:10px;letter-spacing:.06em}}
/* #215: in the host's «ΠΑΙΧΝΙΔΙ» heading the button is as low as the old «i» (24 px, tap area still 44 px) so the 8-player lobby fits 375 x 667. */
.lobby-game-head .htp-btn{min-height:24px!important;height:24px;padding:0 9px 0 0!important;font-size:12px!important}
.lobby-game-head .htp-btn .htp-i{width:20px!important;height:20px!important}
.lobby-game-head .htp-btn::after{inset:-10px -2px}
/* Owner (2026-11-15, PR #231): a speaker icon (crossed when off) mutes the dressing-room track right in the lobby; the
   track goes on from the same point when it is back on (the Settings switch too). */
.lobby-title-row .music-toggle{position:relative;flex:none;display:inline-grid;place-items:center;align-self:center;width:26px;height:26px;min-height:26px;padding:0;border-radius:999px;border:1px solid color-mix(in srgb,var(--fl-cream) 35%,transparent);background:color-mix(in srgb,var(--fl-cream) 8%,transparent);color:var(--fl-cream);font:800 12px/1 var(--font,inherit);cursor:pointer}
.lobby-title-row .music-toggle::after{content:"";position:absolute;inset:-9px}
.lobby-title-row .music-toggle svg{width:15px;height:15px}
.lobby-title-row .music-toggle.off{border-style:dashed;background:color-mix(in srgb,var(--fl-night) 70%,transparent)}
.lobby-title-row .music-toggle:disabled{opacity:.45;cursor:default}
.lobby-title-row .music-toggle:focus-visible{outline:3px solid var(--fl-cream);outline-offset:2px}
.compact-lobby .lobby-title-row .page-kicker{margin-left:auto}
@media (max-width:600px){.compact-lobby .lobby-title-row .page-kicker{display:none}.compact-lobby .lobby-title-row .music-toggle{margin-left:auto}}
/* #254: the host is away; the room waits for them (the host never changes on their own) */
.lobby-waiting .host-away{margin:0 0 8px;padding:6px 10px;border-radius:10px;border:1px dashed var(--fl-line);color:var(--fl-cream);font-size:13px;line-height:1.35}
