/* «Объясни фильм» (0.46, alias-game.js): its entry in «Игры» («Для компании»), the start dialog and what the card adds
   to the hall game's (hall-game.css gives the card, the countdown bar, the board and the podium; write-games.css the
   «Играю / Смотрю» buttons). Emphasis = the one flat accent button; the motion is the game's own — a film into the hat,
   the card flipping in, a wrong guess floating up, the posters flying onto their guessers' stacks. Reduced motion: none. */
.al-entry { margin-top: 16px; padding-top: 4px; border-top: 1px solid var(--line); }
.al-entry[hidden], .al-entry-btn[hidden] { display: none; }
.al-entry-btn { width: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; min-height: 56px; margin-top: 8px; padding: 8px 12px; text-align: left; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.hg-others > .al-entry-btn { margin-top: 0; }
.al-entry-btn:hover { border-color: rgba(229, 160, 13, .6); }
.al-entry-ico { font-size: 26px; line-height: 1; }
.al-entry-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.al-entry-text small { color: var(--muted); font-size: 12px; line-height: 1.3; }

/* The start dialog: three lines of how to play, the game, the turn. */
.al-how { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.al-how li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 11px; border-radius: 10px; background: rgba(255, 255, 255, .035); font-size: 13.5px; line-height: 1.4; }
.al-how li span { flex: none; font-size: 18px; line-height: 1.2; }
.al-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.al-modes .hg-chip { grid-template-columns: auto 1fr; }
.al-modes .hg-chip > span { grid-row: span 2; font-size: 20px; }
.al-turns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.al-turns .hg-chip { grid-template-columns: 1fr; justify-items: center; font-size: 16px; }

/* The card. */
body.al-on.lobby-on .video-wrap { overflow: hidden; } /* the lobby does not scroll away under the game */
.al-card { background: #101218; } /* opaque: the lobby must not show through (game-cards.test.js) */
.al-card .hg-body { gap: 12px; }
.al-card .hg-kicker { flex: none; white-space: nowrap; }
.al-card .hg-step { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.al-face { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: var(--fs, 34px); height: var(--fs, 34px); border-radius: 50%; overflow: hidden; background: #2a2e38; color: var(--muted); font-weight: 700; font-size: calc(var(--fs, 34px) * .42); }
.al-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.al-face i { font-style: normal; }
.al-fbig { --fs: 44px; }
.al-fhuge { --fs: 62px; box-shadow: 0 0 0 3px var(--accent); }
.al-input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: #0a0b0f; color: var(--text); font: inherit; font-size: 16px; } /* 16 px: no zoom on a phone */
.al-input:focus { outline: none; border-color: var(--accent); }
.al-poster, .al-mposter, .al-fposter, .al-gposter, .al-sposter, .al-hposter { flex: none; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 6px; background: #1a1d24; aspect-ratio: 2 / 3; }
.al-poster img, .al-mposter img, .al-fposter img, .al-gposter img, .al-sposter img, .al-hposter img { display: block; width: 100%; height: 100%; object-fit: cover; }
.al-typed { position: relative; background: repeating-linear-gradient(135deg, #22252f 0 8px, #1a1d24 8px 16px); color: rgba(243, 239, 228, .9); }
.al-typed b { font-size: 1.2em; line-height: 1; }
.al-typed i { position: absolute; right: 3px; bottom: 2px; font-style: normal; font-size: .75em; }
.al-fposter.al-typed b { font-size: 54px; font-family: Georgia, 'Times New Roman', serif; }
.al-fposter.al-typed i { font-size: 22px; right: 8px; bottom: 6px; }
.al-mposter.al-typed b, .al-gposter.al-typed b, .al-sposter.al-typed b, .al-hposter.al-typed b { font-size: 15px; font-family: Georgia, 'Times New Roman', serif; }
.al-mposter { width: 34px; } .al-gposter { width: 32px; } .al-sposter { width: 40px; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); } .al-hposter { width: 36px; }
.al-empty { color: var(--muted); font-weight: 800; border: 1px dashed rgba(255, 255, 255, .2); background: transparent; }
.al-note[data-tone="bad"], .al-anote[data-tone="bad"] { color: var(--bad); }
.al-note[data-tone="good"], .al-anote[data-tone="good"] { color: var(--ok); font-weight: 700; }
.al-anote[data-tone="warm"] { color: var(--accent); font-weight: 700; }

/* The hat. */
.al-prep { display: flex; flex-direction: column; gap: 12px; }
.al-hattop { display: flex; align-items: center; gap: 14px; }
.al-hat { position: relative; flex: none; width: 74px; height: 74px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 30%, rgba(229, 160, 13, .24), rgba(255, 255, 255, .03) 72%); }
.al-hat-ico { font-size: 46px; line-height: 1; }
.al-hat-n { position: absolute; right: -6px; bottom: -6px; min-width: 28px; height: 28px; padding: 0 7px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: #111; font-size: 15px; font-variant-numeric: tabular-nums; }
.al-hat-drop { position: absolute; top: -18px; left: 50%; width: 16px; height: 22px; margin-left: -8px; border-radius: 3px; background: #f3efe4; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); opacity: 0; }
.al-hat.al-plop .al-hat-drop { animation: al-into .55s ease-in both; }
.al-hat.al-plop .al-hat-ico { animation: al-bob .45s .4s ease-out both; }
.al-hattext { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.al-hattext b { font-size: 18px; line-height: 1.25; }
.al-hattext span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.al-mine { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.al-slot { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 60px; padding: 6px 6px 6px 8px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .18); }
.al-slot.on { border-style: solid; border-color: rgba(229, 160, 13, .5); background: rgba(229, 160, 13, .08); }
.al-slot.al-new { animation: al-in .35s ease-out both; }
.al-stext { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.al-stext b { font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.al-stext small { font-size: 12px; color: var(--muted); }
.al-slot:not(.on) .al-stext b { color: var(--muted); font-weight: 600; }
.al-unhat { margin-left: auto; flex: none; width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.al-unhat:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.al-search { display: flex; flex-direction: column; gap: 6px; }
.al-search[hidden], .al-done[hidden] { display: none; }
.al-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: min(290px, 38vh); overflow-y: auto; overscroll-behavior: contain; }
.al-res { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 5px 10px 5px 6px; text-align: left; border-radius: 10px; border: 1px solid transparent; background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; cursor: pointer; }
.al-res:hover, .al-res:focus-visible { border-color: var(--accent); outline: none; }
.al-res-typed { background: transparent; border: 1px dashed rgba(255, 255, 255, .18); }
.al-rnote { margin: 0; font-size: 12.5px; color: var(--muted); }
.al-done { margin: 0; padding: 10px 12px; border-radius: 11px; background: rgba(62, 207, 122, .12); color: var(--ok); font-weight: 700; font-size: 14px; }
.al-people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.al-people li { display: flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; padding: 3px 10px 3px 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); font-size: 13px; }
.al-people li.me { box-shadow: inset 0 0 0 1px rgba(229, 160, 13, .55); }
.al-people li.done { background: rgba(62, 207, 122, .13); }
.al-pname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 12em; }
.al-pmark { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.al-people li.done .al-pmark { color: var(--ok); }

/* A round's intro. */
.al-lead { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px 4px; text-align: center; }
.al-lead-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.al-rico { font-size: 58px; line-height: 1; animation: al-pop .55s cubic-bezier(.2, .9, .3, 1.4) both; }
.al-rname { font-size: 30px; line-height: 1.15; animation: al-rise .45s .12s ease-out both; }
.al-rule { margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.4; max-width: 34em; animation: al-rise .45s .22s ease-out both; }
.al-intro { margin: 0; font-size: 14px; font-style: italic; color: var(--muted); max-width: 36em; }
.al-meta { font-size: 13px; color: var(--muted); }
.al-up, .al-upnext { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); text-align: left; }
.al-up span, .al-upnext span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.al-up small, .al-upnext small { font-size: 12px; color: var(--muted); }
.al-up b, .al-upnext b { font-size: 17px; overflow-wrap: anywhere; }
.al-up b small, .al-upnext b small { display: inline; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.al-goline { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.al-go { min-height: 54px; padding: 0 32px; border: 0; border-radius: 13px; background: var(--accent); color: #111; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
.al-go:disabled { opacity: .6; cursor: default; }
.al-go:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.al-auto, .al-wait { font-size: 13.5px; color: var(--muted); }
.al-wait { font-size: 16px; font-weight: 700; color: var(--text); }
.al-start { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 1.2em; }

/* The turn: the clock. */
.al-turn { position: relative; display: flex; flex-direction: column; gap: 12px; }
.al-clock { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.al-secs { min-width: 2ch; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; text-align: right; }
.al-clock .hg-bar { height: 8px; border-radius: 5px; }
.al-clock.big { grid-template-columns: 1fr; justify-items: center; gap: 8px; }
.al-clock.big .al-secs { font-size: 60px; text-align: center; }
.al-clock.big .hg-bar { width: 100%; }
.hg-hurry .al-secs { color: var(--bad); }
.al-tally { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.al-guessing .al-tally { text-align: center; font-size: 15px; font-weight: 700; color: var(--text); }
/* The explainer's card: the film, its rule, the forbidden words; two huge buttons; the faces to tap. */
.al-film { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 14px; border-radius: 16px; background: linear-gradient(160deg, #1b1e28, #12141b); border: 1px solid rgba(255, 255, 255, .1); }
.al-film.al-flip { animation: al-flip .42s cubic-bezier(.2, .8, .3, 1.1) both; }
.al-film.al-away { animation: al-away .3s ease-in both; }
.al-fposter { width: 132px; border-radius: 10px; }
.al-ftext { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.al-secret { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.al-ftitle { font-size: 27px; line-height: 1.15; overflow-wrap: anywhere; }
.al-fsub { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.al-stand { font-size: 13px; color: var(--muted); font-style: italic; }
/* n73 «Объясни сцену»: what the card is, the explainer's hint, the film over the round's intro */
.al-skind { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); }
.al-sk-hero { background: rgba(120, 180, 255, .16); color: #b9d6ff; }
.al-sk-scene { background: rgba(255, 170, 90, .16); color: #ffd0a1; }
.al-sk-thing { background: rgba(140, 220, 160, .16); color: #bfecc9; }
.al-shint { font-size: 13px; color: var(--muted); line-height: 1.35; }
.al-scene-film { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; overflow-wrap: anywhere; }
.al-hatrow[hidden] { display: none; }
.al-hat-film { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.al-frule { margin-top: 4px; font-size: 14px; line-height: 1.4; }
.al-forbid { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.al-forbid span { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bad); }
.al-forbid i { font-style: normal; padding: 2px 8px; border-radius: 7px; background: rgba(255, 107, 107, .13); color: #ffb4b4; font-size: 13.5px; text-decoration: line-through rgba(255, 107, 107, .7); }
.al-lastf { font-size: 12.5px; font-weight: 700; color: var(--accent); }
.al-acts { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }
.al-got, .al-pass { min-height: 68px; border-radius: 15px; font: inherit; font-weight: 800; cursor: pointer; }
.al-got { border: 0; background: var(--accent); color: #111; font-size: 21px; }
.al-pass { border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: var(--text); font-size: 17px; }
.al-got:disabled, .al-pass:disabled { opacity: .45; cursor: default; }
.al-got:focus-visible, .al-pass:focus-visible, .al-tap:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.al-who { display: flex; flex-direction: column; gap: 8px; animation: al-in .25s ease-out both; }
.al-whoq { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 17px; }
.al-back { min-height: 44px; }
.al-taps { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 8px; }
.al-tap { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 96px; padding: 10px 6px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.al-tap > span:not(.al-face) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-tap:hover:not(:disabled) { border-color: var(--accent); background: rgba(229, 160, 13, .1); }
.al-tap:disabled { opacity: .5; cursor: default; }
.al-tap kbd { position: absolute; top: 6px; right: 8px; font: inherit; font-size: 11px; color: var(--muted); }
.al-tap-none, .al-tap-fan { border-style: dashed; font-weight: 600; }
/* The wrong guesses typed in the hall float up over the explainer's card. */
.al-feed { position: absolute; left: 0; right: 0; bottom: 64px; height: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; z-index: 2; }
.al-feed li { position: absolute; left: var(--x, 20%); bottom: 0; max-width: 60%; padding: 5px 11px; border-radius: 999px; background: rgba(16, 18, 24, .92); border: 1px solid rgba(255, 255, 255, .16); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; }
.al-feed li.close { border-color: var(--accent); }
.al-feed li em { font-style: normal; color: var(--accent); font-weight: 700; }
.al-feed li.al-float { animation: al-float 4.2s ease-out both; }
/* The films guessed this turn. */
.al-guessed { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.al-guessed:empty { display: none; }
.al-guessed li { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; padding: 4px 10px 4px 4px; border-radius: 10px; background: rgba(62, 207, 122, .1); border: 1px solid rgba(62, 207, 122, .25); }
.al-guessed li.me { border-color: var(--accent); background: rgba(229, 160, 13, .12); }
.al-guessed li.al-new { animation: al-pop .45s cubic-bezier(.2, .9, .3, 1.4) both; }
.al-gtext { display: flex; flex-direction: column; min-width: 0; }
.al-gtext b { font-size: 13px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 16em; }
.al-gtext small { font-size: 11.5px; color: var(--muted); }
/* The guessers: who explains, the big clock, «Ваш ответ». */
.al-speaker { display: flex; align-items: center; gap: 14px; }
.al-speaker > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.al-speaker b { font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.al-speaker small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.al-answer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.al-send { min-width: 54px; min-height: 48px; border: 0; border-radius: 12px; background: var(--accent); color: #111; font-size: 19px; font-weight: 800; cursor: pointer; }
.al-input.al-shake { animation: al-shake .35s ease-in-out; border-color: var(--bad); }
.al-anote { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; min-height: 1.4em; }

/* Between the turns: «За ход», the posters flying onto their guessers' stacks, the next explainer. */
.al-between { display: flex; flex-direction: column; gap: 10px; }
.al-timeup { align-self: center; padding: 4px 16px; border-radius: 999px; background: rgba(255, 107, 107, .14); color: var(--bad); font-size: 18px; font-weight: 800; animation: al-pop .4s ease-out both; }
.al-bhead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.al-bwho { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.al-bwho b { font-size: 17px; overflow-wrap: anywhere; }
.al-bwho small { font-size: 12.5px; color: var(--muted); }
.al-bcount { font-size: 46px; line-height: 1; color: var(--ok); font-variant-numeric: tabular-nums; animation: al-pop .45s .1s cubic-bezier(.2, .9, .3, 1.4) both; }
.al-bcount.zero { color: var(--muted); }
.al-bnone { margin: 0; text-align: center; color: var(--muted); font-size: 15px; }
.al-stacks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.al-stack { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "face name num" "face pile num"; align-items: center; column-gap: 10px; row-gap: 3px; padding: 7px 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.al-stack > .al-face { grid-area: face; }
.al-stack.me { background: rgba(229, 160, 13, .12); }
.al-sname { grid-area: name; min-width: 0; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.al-sname small { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.al-pile { grid-area: pile; display: flex; flex-wrap: wrap; gap: 4px; min-height: 30px; }
.al-fly { display: inline-flex; animation: al-fly .55s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: var(--d, 0ms); }
.al-snum { grid-area: num; font-size: 20px; color: var(--ok); font-variant-numeric: tabular-nums; animation: al-show .3s ease-out both; animation-delay: var(--d, 0ms); }
.al-quip { margin: 2px 0 0; text-align: center; font-size: 15.5px; font-style: italic; }
.al-empty[role="status"] { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px; border-radius: 14px; background: rgba(229, 160, 13, .1); border: 1px solid rgba(229, 160, 13, .4); color: var(--text); text-align: center; font-weight: 600; }
.al-empty[role="status"] b { font-size: 19px; }
.al-empty[role="status"] small { font-size: 13px; color: var(--muted); font-weight: 500; }
.al-upnext .al-go { margin-left: auto; min-height: 50px; padding: 0 22px; font-size: 16.5px; }
.al-upnext .al-start { margin-left: auto; }
.al-yours { margin: 0; text-align: center; font-size: 13.5px; color: var(--accent); font-weight: 700; }
.al-yours .al-start { margin-left: 6px; font-weight: 500; }
.al-score { display: flex; align-items: center; gap: 10px; min-width: 0; }
.al-score-k { flex: none; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.al-score { align-items: flex-start; }
.al-score-k { line-height: 30px; }
.al-score ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.al-score li { --fs: 24px; flex: none; display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: rgba(255, 255, 255, .05); font-size: 13px; }
.al-score li.me { box-shadow: inset 0 0 0 1px rgba(229, 160, 13, .6); }
.al-cname { max-width: 8em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-score li b { font-variant-numeric: tabular-nums; }
.al-score li em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); }

/* The podium's fun stats. */
.al-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.al-stats li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .045); }
.al-stats li.me { box-shadow: inset 0 0 0 1px rgba(229, 160, 13, .6); }
.al-stats li > span:not(.al-sico):not(.al-hposter) { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.al-stats small { font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.al-stats b { font-size: 15px; overflow-wrap: anywhere; }
.al-stats em { font-style: normal; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.al-sico { flex: none; font-size: 26px; line-height: 1; }

@media (min-width: 1100px) { .al-card[data-phase="turn"], .al-card[data-phase="reveal"], .al-card[data-phase="prep"] { width: min(880px, calc(100% - 20px)); } }
@media (max-width: 760px) {
  .al-card .hg-btn, .al-card .hg-min, .al-card .hg-head .ga-tog { min-height: 44px; } /* phones first: 44-px targets (the hall game's are 40 / 36) */
  .al-card .hg-min, .al-card .hg-head .ga-tog { width: 44px; }
  .al-card.al-me { inset: 0; max-height: none; height: 100%; border-radius: 0; padding-top: calc(10px + env(safe-area-inset-top, 0px)); } /* the explainer: the whole screen */
  .al-card.al-me .hg-body, .al-card.al-me .al-explain { flex: 1 0 auto; }
  .al-card.al-me .al-actbox { margin-top: auto; } /* the two big buttons under the thumb */
  .al-card.al-me .al-film { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 16px 14px; } /* a card held up: the poster over the title */
  .al-card.al-me .al-fposter { width: min(44vw, 24vh, 190px); }
  .al-card.al-me .al-ftext { align-items: center; }
  .al-card.al-me .al-skind { align-self: center; } /* n73: the card's kind under its centred name */
  .al-card.al-me .al-forbid { justify-content: center; }
  .al-card.al-me .al-ftitle { font-size: 25px; }
  .al-fposter { width: 96px; }
  .al-ftitle { font-size: 22px; }
  .al-film { gap: 12px; padding: 12px; }
  .al-got, .al-pass { min-height: 64px; }
  .al-got { font-size: 19px; }
  .al-mine { grid-template-columns: 1fr; }
  .al-taps { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .al-tap { min-height: 88px; }
  .al-clock.big .al-secs { font-size: 50px; }
  .al-fhuge { --fs: 52px; }
  .al-feed { bottom: 74px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .al-card.al-me .al-fposter { width: min(30vw, 17vh); } .al-card.al-me .al-ftitle { font-size: 21px; }
  .al-explain.al-asking .al-fposter, .al-explain.al-asking .al-frule, .al-explain.al-asking .al-fsub { display: none; } /* «Кто угадал?»: the faces come up into sight */
}
@media (max-width: 380px) {
  .al-film { grid-template-columns: 1fr; justify-items: start; }
  .al-fposter { width: 76px; }
  .al-acts { grid-template-columns: 1fr 1fr; }
  .al-hat { width: 60px; height: 60px; } .al-hat-ico { font-size: 38px; }
}

@keyframes al-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes al-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes al-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes al-show { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes al-flip { from { opacity: 0; transform: perspective(700px) rotateY(-70deg) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes al-away { to { opacity: 0; transform: translate(40px, -24px) rotate(6deg) scale(.86); } }
@keyframes al-fly { from { opacity: 0; transform: translate(-46px, -34px) scale(1.7) rotate(-10deg); } 70% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes al-float { 0% { opacity: 0; transform: translateY(10px) scale(.9); } 12% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-120px); } }
@keyframes al-into { 0% { opacity: 0; transform: translateY(-14px) rotate(-14deg); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(30px) rotate(8deg) scale(.6); } }
@keyframes al-bob { 0%, 100% { transform: none; } 40% { transform: scale(1.12, .9); } 70% { transform: scale(.96, 1.05); } }
@keyframes al-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
@media (prefers-reduced-motion: reduce) {
  .al-rico, .al-rname, .al-rule, .al-slot.al-new, .al-film.al-flip, .al-film.al-away, .al-who, .al-guessed li.al-new, .al-fly, .al-snum, .al-bcount, .al-timeup, .al-input.al-shake, .al-hat.al-plop .al-hat-drop, .al-hat.al-plop .al-hat-ico { animation: none; }
  .al-feed li.al-float { animation: none; opacity: 1; position: static; display: inline-block; margin: 2px; }
  .al-feed { position: static; height: auto; }
}
.al-still .al-rico, .al-still .al-rname, .al-still .al-rule, .al-still .al-fly, .al-still .al-snum, .al-still .al-bcount, .al-still .al-film { animation: none; }
