/* ALKALIO · class quiz: MAZI's TV and phone pages in ALKALIO's dark look (alkalio-site/public/assets/site.css,
   dark scheme: #121017 ground, magenta #ff4fa3, Commissioner; Chakra Petch for the wordmark, it has no Greek, so
   Greek text falls back to Commissioner letter by letter). Loaded after mazi.css / tv.css / phone.css.
   html.lite (smart TVs, slow frames, or ?lite=1): no animation, no transition, no shadow, flat colours. */
:root{
  --night:#121017; --night2:#1b1722; --night3:#231e2c; --line:#2f2939; --text:#efeaf5; --muted:#aba3b8;
  --sun:#ff4fa3; --mint:#ff4fa3; --sky:#4fa8ff; --coral:#ff6b6b;
  --fb:"Commissioner",ui-sans-serif,system-ui,sans-serif; --fd:"Chakra Petch","Commissioner",ui-sans-serif,system-ui,sans-serif;
}
body.tv{background:#121017}
.alklogo{display:inline-flex;align-items:baseline;gap:10px;font:700 30px "Chakra Petch","Commissioner",sans-serif;letter-spacing:.06em;color:#fff;text-decoration:none}
.alklogo b{color:#ff4fa3}
.alklogo small{font:700 18px var(--fb);letter-spacing:0;color:var(--muted)}
.btn.prim{background:#ff4fa3;color:#1b0712;box-shadow:0 5px 0 #a3125a}
#litebtn[aria-pressed="true"]{background:#ff4fa3;color:#1b0712}
/* smart-TV lite mode */
html.lite *,html.lite *::before,html.lite *::after{animation:none!important;transition:none!important;box-shadow:none!important;text-shadow:none!important;backdrop-filter:none!important;filter:none!important}
html.lite body.tv{background:#121017!important}
/* the phone shows the whole question (MAZI cuts titles at two lines): up to five, a little smaller */
body.ph .s-title h2{-webkit-line-clamp:5;font-size:19px}
/* the top bar shows the three leaders with their medals (George, 18 Nov: «header could show the top 3, gold, silver, brass rank and their
   score»; mazi tv.js strip, MAZI_STRIP). Everyone's own score is with the player, in the row at the bottom of the question (alkclass.js) */
#strip .sc.top{gap:9px;padding:5px 16px 5px 5px;box-shadow:inset 0 0 0 2px var(--m);background:rgba(255,255,255,.06)}
#strip .sc.top .rk{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--m);color:#1a1420;font:800 19px var(--fd);font-style:normal}
#strip .sc.top b{margin-left:2px}
#strip .sc.r1{--m:#f5c518}#strip .sc.r2{--m:#cfd6df}#strip .sc.r3{--m:#cd7f32}
#strip.tight .sc.top{font-size:15px;gap:6px;padding:4px 12px 4px 4px}
#strip.tight .sc.top .avatar{display:none}
#strip.tight .sc.top .rk{width:30px;height:30px;font-size:17px}
#strip.tight .sc.top b{font-size:17px}
#strip.tighter .sc.top .nm{display:none}
#bar:has(#strip .sc.top) .gname{display:none}   /* the one game's name gives its place to the leaders while a quiz runs */
/* no capitals made by the style sheet: Greek capitals would keep their accents (the engine's small headings are uppercase) */
.kicker,.opt label{text-transform:none}
/* the podium stands on a plain ground: the last ranking table showed through it as ghost text behind the title and the places */
#podium{background:#0b0e22}
/* ? how it works (build.js #howto): inside the 1600×900 frame, above the lobby and the game, never scrolls */
#howto{position:absolute;inset:0;z-index:30;display:grid;place-items:center;background:rgba(10,8,14,.82)}
#howto[hidden]{display:none}
#howto .hcard{width:1480px;margin-top:40px;background:#1b1722;border:1px solid #2f2939;border-radius:28px;padding:28px 36px 32px;animation:ak-zoom .35s ease-out both}
#howto .hhead{display:flex;align-items:center;gap:20px;margin-bottom:20px}
#howto h2{font:700 40px var(--fd);margin:0;flex:1}
#howto .hhead .tbtn{height:52px;font-size:20px;padding:0 22px}
#howto .hsteps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
#howto li{position:relative;background:#231e2c;border:1px solid #2f2939;border-radius:20px;padding:20px 24px 22px}
#howto li .hn{position:absolute;top:18px;right:22px;font:700 22px var(--fd);color:#ff4fa3}
#howto li i{display:block;font-style:normal;font-size:40px;line-height:1;margin-bottom:10px}
#howto li b{display:block;font:700 27px var(--fd);margin-bottom:6px}
#howto li p{margin:0;font-size:21px;line-height:1.36;color:#d9d2e3}
#helpbtn{font-size:20px}

/* the games of the Class TV by category (19 Nov 2026): three columns, so a long Greek word («Εικονογράμματα») stays inside its
   tile, and no «players · minutes» line (it is the same on every game here). fitLobby() in tv.js still steps the tiles down. */
.tiles,.tiles.fit2{grid-template-columns:repeat(3,minmax(0,1fr))}
.tile .meta{display:none}
.tile b{padding-right:0;font-size:21px}
.tile small{font-size:15px}
/* the line that says which experiments a game holds stays one step longer than in MAZI: smaller first, hidden only after that */
.tiles.fit1 .tile small{display:block;font-size:13px;line-height:1.25}
.tiles.fit2 .tile small{display:none}

/* SAMPLE MODE (20 Nov 2026, js/sample.js; only when the door wrote window.ALK_SAMPLE): the call to action in the lobby (above the players),
   a chip in the top bar, under the ranking and on the podium; the closed games and question counts locked. */
html.alk-smp .lobby .right{grid-template-rows:auto auto 1fr}
html.alk-smp #addbot{display:none}
.smp{display:flex;align-items:center;gap:18px;padding:14px 16px 14px 22px;border-radius:22px;background:linear-gradient(100deg,rgba(255,79,163,.26),rgba(79,168,255,.12));box-shadow:inset 0 0 0 2px #ff4fa3;color:#fff;font-family:var(--fb)}
.smp .smp-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.smp .smp-t b{font:700 26px var(--fd);color:#fff}
.smp .smp-p{font:600 19px/1.3 var(--fb);color:#ffe3f1}
.smp .smp-t small{font:600 15px var(--fb);color:#cfc3dc}
.smp-buy{flex:none;display:inline-flex;align-items:center;height:52px;padding:0 24px;border-radius:999px;background:#ff4fa3;color:#1b0712;font:800 21px var(--fb);text-decoration:none;white-space:nowrap;box-shadow:0 5px 0 #a3125a}
.smp-buy.big{height:62px;padding:0 30px;font-size:24px}
.smp-buy:hover,.smp-buy:focus-visible{background:#ff70b6;outline:3px solid #fff;outline-offset:2px}
#smpcta.pulse{animation:smp-pulse .9s ease-out 2}
@keyframes smp-pulse{50%{box-shadow:inset 0 0 0 4px #fff,0 0 0 6px rgba(255,79,163,.45)}}
.smp-chip{flex:none;display:inline-flex;align-items:center;height:44px;padding:0 16px;border-radius:999px;box-shadow:inset 0 0 0 2px #ff4fa3;background:rgba(255,79,163,.14);color:#ffd2e8;font:700 17px var(--fb);text-decoration:none;white-space:nowrap}
.smp-chip:hover,.smp-chip:focus-visible{background:#ff4fa3;color:#1b0712;outline:0}
.tile.smp-lock{opacity:.55;cursor:not-allowed}
.tile.smp-lock:hover{box-shadow:inset 0 0 0 2px var(--line);background:var(--night2)}
.tile .smp-lk{position:absolute;top:-11px;right:14px;padding:2px 10px;border-radius:999px;background:#2f2939;box-shadow:0 0 0 2px #121017;color:#ffd2e8;font:700 13px var(--fb);line-height:18px}
.tiles:has(.smp-lk){padding-top:12px}
.chosen .seg button.smp-off{opacity:.35;cursor:not-allowed}
.smp-board{flex:none;padding:10px 12px 10px 18px;gap:16px}
.smp-board .smp-tag{flex:none;padding:5px 14px;border-radius:999px;background:#ff4fa3;color:#1b0712;font:800 18px var(--fb)}
.smp-board .smp-p{flex:1;font-size:21px}
.smp-pod{width:min(1480px,100%)}
/* a class of 40 on the podium (every sample, and a full teacher's class): measured 20 Nov, 1280×720, the places ran 72 px under the
   screen at the smallest step (--pk .55), «Play again» out of sight. Less empty frame above and below, and the places' chips may go
   down to 14 px, so tv.js's step-down finds a size where everything is on the screen. */
#podium.many{padding-top:56px;padding-bottom:20px}
#podium.many .rest.grid .chip{font-size:max(14px,calc(22px*var(--pk,1)));padding:calc(5px*var(--pk,1)) 10px}
#podium.many .lead{font-size:calc(28px*var(--pk,1));margin:0}
#podium .smp-pod{padding:calc(8px*var(--pk,1)) 12px calc(8px*var(--pk,1)) 14px}
#podium .smp-pod .smp-p{font-size:max(16px,calc(20px*var(--pk,1)))}
#podium .smp-pod .smp-buy{height:max(40px,calc(52px*var(--pk,1)))}
.smp-err{height:100%;padding:0 80px;text-align:center}
.smp-err .smp{text-align:left}
