/* ── features: what both skins share ─────────────────────────────────────
   The portal runs in two skins from one code base (HERNA_SKIN, see server/index.js):
     kamagio   public/styles.css + public/games/*.css
     classic   public/skins/classic/styles.css + public/skins/classic/games/*.css
   A skin file holds LOOK only: fonts, colours, the shape of what was there before
   the split. This file is loaded by both, after the skin's stylesheet and after the
   game stylesheets, and holds every FEATURE added since.

   The rule for new work:
   · the styles of a new feature go HERE, in one block, every class with the
     feature's prefix (rp-, sm-, df-, ai-…); additions to a game's screen go to the
     last section of this file, not to the game's stylesheet;
   · colours, fonts and radii come from the names BOTH skins define at the top of
     their stylesheet, never from literals of one palette:
       brand     --paper --sand --card --ink --ink-soft --muted --hair --accent
                 --accent-dark --accent-deep --accent-soft --accent-lite --on-accent
                 --cherry --medal --radius --shadow --shadow-lg --display --ui --ease
       context   --fg --fg2 --on-fg --edge --edge2 --field --wash --btn --ava-bg
                 --ava-fg --focus (ink on a sheet, light on a table, in both skins)
       fields    --in-edge --in-focus --in-radius --in-weight --dim
       cloth     --ivory --mist --line --rule --gold --plum-1…3 (the older names)
     a new name is added to BOTH skins in the same change;
   · a sheet (.sheet) is light in both skins and a table is dark in both; home and
     lobby are paper in kamagio and plum in classic, so anything standing there must
     use the context names (--fg, --edge, --btn…);
   · something a skin must do differently goes to that skin's file, or under
     html[data-skin="classic"] / html[data-skin="kamagio"] here when it is a line or two.
   Whatever belongs to the shop (points, codes, the exchange) is not drawn at all
   where html has no data-shop; the page leaves it out, nothing here hides it. */

/* ── reporting a fault ───────────────────────────────────────────────── */
.rp-text{display:block;width:100%;min-height:8.5rem;margin-top:.9rem;padding:.7em .9em;font:var(--in-weight) 1rem/1.4 var(--ui);border:1.5px solid var(--in-edge);border-radius:var(--in-radius);background:#fff;color:var(--ink);resize:vertical}
.rp-text:focus{border-color:var(--in-focus);outline:0}
.rp-link{opacity:var(--dim)}

/* ── the test copy (games.kamagio.com) says so in a corner, so nobody mistakes it for the real one ── */
html[data-env="test"] body::after{content:"TEST";position:fixed;left:0;bottom:0;z-index:9999;padding:.15rem .55rem;border-top-right-radius:8px;background:var(--cherry);color:#fff;font:800 .68rem/1.4 var(--ui);letter-spacing:.08em;pointer-events:none;opacity:.9}

/* ── loyalty points, purchase codes and the exchange (Směnárna) ──────────
   One block; every class starts with sm-. Colours come from the tokens above,
   with the older names as fallbacks. */
.sm-center{text-align:center}
.sm-bal{display:flex;align-items:baseline;flex-wrap:wrap;gap:.2rem .5rem;margin:.5rem 0 .2rem}
.sm-bal b{font:400 2.6rem/1 var(--display);color:var(--accent-deep,var(--ink))}
.sm-bal span{font-weight:700;color:var(--muted,rgba(36,26,45,.66))}
.sm-bal .btn{margin-left:auto;align-self:center}
.sm-body{margin-top:.9rem}
.sm-note{margin:0 0 .8rem!important;padding:.6rem .8rem;border-radius:var(--radius,14px);background:var(--accent-soft,rgba(255,198,92,.3));color:var(--ink);font-weight:700}
.sm-cards{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.sm-card{display:grid;gap:.45rem;padding:.8rem .9rem;border:1px solid var(--hair,var(--rule));border-radius:var(--radius,14px);background:var(--card,#fff);color:var(--ink)}
.sm-card.can{border-color:var(--accent,var(--gold))}
.sm-card p{margin:0!important;font-size:.92rem;color:var(--ink-soft,var(--ink))}
.sm-top{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem}
.sm-top b{font-size:1.08rem;line-height:1.2;overflow-wrap:anywhere}
.sm-price{flex:none;padding:.15rem .6rem;border-radius:999px;background:var(--ink);color:var(--paper,var(--ivory));font-size:.84rem;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
.sm-conds{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem .35rem}
.sm-conds li{padding:.12rem .55rem;border-radius:999px;background:var(--wash,rgba(36,26,45,.06));font-size:.8rem;line-height:1.5;color:var(--ink-soft,var(--ink))}
.sm-bar{display:block;height:8px;border-radius:999px;background:var(--wash,rgba(36,26,45,.1));overflow:hidden}
.sm-bar i{display:block;height:100%;border-radius:999px;background:var(--accent,var(--gold))}
.sm-act{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.sm-act small{font-size:.84rem;font-weight:700;color:var(--muted,rgba(36,26,45,.66))}
.sm-act .btn{flex:none}
.sm-vlist{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.sm-v{display:flex;align-items:center;gap:.5rem;padding:.55rem .6rem .55rem .8rem;border:1px solid var(--hair,var(--rule));border-radius:var(--radius,14px);background:var(--card,#fff)}
.sm-vmain{flex:1;min-width:0;display:grid;gap:.1rem;padding:0;border:0;background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.sm-vmain b{font-size:.98rem;line-height:1.2;overflow-wrap:anywhere}
.sm-v code,.sm-ticket code{font:700 1rem/1.3 ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;letter-spacing:.04em;white-space:nowrap}
.sm-v small,.sm-ticket small{font-size:.8rem;color:var(--muted,rgba(36,26,45,.66))}
.sm-v small i,.sm-ticket small i{font-style:normal;font-weight:800;color:var(--accent-deep,#17794a)}
.sm-v:not(.st-issued){background:none}
.sm-v:not(.st-issued) code{text-decoration:line-through;opacity:.6}
.sm-v:not(.st-issued) small i,.sm-ticket:not(.st-issued) small i{color:var(--muted,rgba(36,26,45,.66))}
.sm-v .btn{flex:none}
.sm-ticket{display:grid;gap:.35rem;justify-items:center;margin:.8rem 0 0;padding:1.1rem .8rem;border:2px dashed var(--accent,var(--gold));border-radius:var(--radius,14px);background:var(--card,#fff);text-align:center}
.sm-ticket b{font-size:1.1rem;line-height:1.2}
.sm-ticket code{font-size:clamp(1.35rem,7.4vw,1.9rem);-webkit-user-select:all;user-select:all}
.sm-ticket:not(.st-issued){border-color:var(--hair,var(--rule))}
.sm-ticket:not(.st-issued) code{text-decoration:line-through;opacity:.55}
.sm-ticket+.acts{margin-top:.7rem}
.sheet .sm-ticket~.sm-conds{margin-top:.9rem;justify-content:center}
.sm-won{display:grid;gap:.2rem;justify-items:center;margin:.6rem 0 .2rem;text-align:center;animation:pop .6s var(--ease) both}
.sm-won b{font:400 clamp(2.2rem,11vw,3rem)/1.1 var(--display);color:var(--accent-deep,var(--cherry))}
.sm-won span{font-weight:700;color:var(--ink-soft,var(--ink))}
.sheet input.sm-codein{width:100%;min-height:52px;padding:0 .5em;text-align:center;font:700 clamp(.95rem,4.9vw,1.2rem)/1 ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;letter-spacing:.03em;text-transform:uppercase}
.sm-err{margin:.1rem 0 0!important;color:var(--cherry);font-weight:700;font-size:.92rem}
.pbody .statrow.sm-three{grid-template-columns:repeat(3,1fr)}
.sm-three b{font-size:clamp(1.15rem,6vw,1.55rem)}
.sm-pacts{margin-top:.8rem!important}
.sm-pacts .btn{min-width:0;padding-left:.6em;padding-right:.6em;font-size:.88rem;line-height:1.2}
.perk.sm-perk small{font-variant-numeric:tabular-nums}
/* two perks side by side stay inside a 320 px screen, however long their words are (a long label wraps) */
html[data-shop] .perks{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html[data-shop] .perk>span{min-width:0;overflow-wrap:anywhere}
/* the three sections of the exchange (discounts, perks in the games, the prize draw), gift
   vouchers and customer tiers: still the same block, still sm- */
.sm-secs{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;margin-top:.8rem}
.sm-secs button{position:relative;display:grid;align-content:center;justify-items:center;gap:.2rem;min-height:66px;padding:.5rem .2rem;border:1.5px solid var(--hair,var(--rule));border-radius:var(--radius,14px);background:var(--card,#fff);color:var(--ink-soft,var(--ink));font:800 .76rem/1.15 var(--ui);text-align:center;overflow-wrap:anywhere}
.sm-secs button i{font-style:normal;font-size:1.3rem;line-height:1}
.sm-secs button[aria-pressed=true]{background:var(--ink);color:var(--paper,var(--ivory));border-color:var(--ink)}
.sm-secs em{position:absolute;top:.5rem;right:.5rem;width:9px;height:9px;border-radius:50%;background:var(--accent,var(--gold));font-size:0}
.tabs.sm-more{margin-top:.45rem}
.tabs.sm-more button{min-height:36px;font-size:.8rem}
.sm-tierline{display:inline-flex;align-items:center;gap:.3em;margin:.1rem 0 .3rem;padding:.2rem .7rem;border:0;border-radius:999px;background:var(--accent-soft,rgba(255,198,92,.3));color:var(--ink);font:800 .8rem/1.5 var(--ui);cursor:pointer}
.sheet p.sm-fine{margin:.55rem 0 .7rem;font-size:.82rem;line-height:1.4;color:var(--muted,rgba(36,26,45,.66))}
.sm-fine b{color:var(--accent-deep,var(--ink))}
.sheet h3.sm-h{margin-top:1.1rem;margin-bottom:.5rem}
.sm-body>.sm-h:first-child{margin-top:0}
.sm-ico{font-style:normal;margin-right:.35em}
.sm-pkmain{display:flex;align-items:center;gap:.7rem}
.sm-pkmain>div{flex:1;min-width:0;display:grid;gap:.4rem}
.sm-card.has{border-color:var(--hair,var(--rule));background:var(--accent-soft,rgba(255,198,92,.2))}
.sm-conds li.sm-ltd{background:var(--ink);color:var(--paper,var(--ivory));font-weight:800}
.sm-prev{flex:none;display:grid;place-items:center;width:64px;min-height:52px}
canvas.sm-prev,.sm-swatch{width:84px;height:54px;border-radius:10px}
canvas.sm-prev{background:radial-gradient(120% 90% at 50% 30%,#3a3a2e,#17170f)}
.sm-prev .ava{width:38px;height:38px;font-size:1.05rem;color:var(--paper,var(--ivory));background-color:var(--ink)}
.sm-center>.sm-prev{display:inline-grid;margin-top:.5rem}
.rewards.sm-cosm .sm-prev{width:56px;min-height:44px}
.rewards.sm-cosm canvas.sm-prev,.rewards.sm-cosm .sm-swatch{width:56px;height:38px;border-radius:8px}
.rewards.sm-cosm .sm-prev,.rewards.sm-cosm .sm-prev span{margin-right:0}
.rewards.sm-cosm .link{margin:0;padding:0;font-size:inherit;text-align:left}
.sheet p.sm-note.sm-notetop{margin:.7rem 0 0!important}
/* the draw */
.sm-draw{margin-bottom:.7rem}
.sm-draw .sm-top{flex-wrap:wrap;row-gap:.3rem}
.sm-draw .sm-top b{flex:1 1 9rem}
.sheet .sm-draw p.sm-prize{font-weight:800;font-size:1rem;color:var(--ink)}
.sm-count{display:flex;align-items:baseline;flex-wrap:wrap;gap:.1rem .6rem}
.sm-count b{font:400 1.5rem/1.1 var(--display);color:var(--accent-deep,var(--cherry))}
.sm-count small{font-size:.8rem;color:var(--muted,rgba(36,26,45,.66))}
.sheet .sm-draw p.sm-mine{font-weight:700;color:var(--ink)}
.sheet .sm-draw p.sm-free{padding:.5rem .65rem;border-radius:10px;background:var(--accent-soft,rgba(255,198,92,.3));color:var(--ink);font-size:.86rem;line-height:1.35}
.sm-act .link.sm-rules,.sm-fine .link.sm-rules{margin:0;padding:0;font-size:.84rem;text-align:left}
/* a link on a sheet or a white card is ink in both skins (the classic skin's own .link is light, for its plum ground) */
.sheet .link.sm-rules,.sheet .rewards.sm-cosm .link{color:var(--ink);opacity:1;text-decoration:underline;text-underline-offset:.18em}
.sm-step{display:flex;align-items:center;justify-content:center;gap:.35rem;margin-top:.9rem}
.sm-step .btn{flex:none;min-width:46px;min-height:46px;padding:0 .6em;font-size:1rem}
.sm-step b{flex:0 1 6.2em;min-width:0;text-align:center;font:400 1.4rem/1.1 var(--display);white-space:nowrap}
.sm-check{display:flex;align-items:flex-start;gap:.65rem;margin-top:.8rem;padding:.65rem .75rem;border:1.5px solid var(--in-edge,var(--rule));border-radius:var(--in-radius,12px);background:var(--card,#fff);cursor:pointer}
.sm-check input{flex:none;width:22px;height:22px;margin:.1rem 0 0;accent-color:var(--accent-deep,var(--ink))}
.sm-check span{display:grid;gap:.15rem;font:600 .9rem/1.35 var(--ui);letter-spacing:0;text-transform:none;color:var(--ink)}
.sm-check b{font-weight:800}
.sm-check small{font-size:.8rem;font-weight:500;letter-spacing:0;text-transform:none;color:var(--muted,rgba(36,26,45,.66))}
.sm-rulestext{max-height:46vh;overflow:auto;overscroll-behavior:contain;margin:.7rem 0;padding:.7rem .85rem;border:1px solid var(--hair,var(--rule));border-radius:var(--radius,14px);background:var(--card,#fff);font-size:.9rem;line-height:1.5}
.sheet .sm-rulestext p{margin:0 0 .6rem;overflow-wrap:anywhere}
.sheet .sm-rulestext p:last-child{margin:0}
.sm-past{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}
.sm-past li{display:grid;gap:.1rem;padding:.55rem .8rem;border:1px solid var(--hair,var(--rule));border-radius:var(--radius,14px)}
.sm-past small{font-size:.8rem;color:var(--muted,rgba(36,26,45,.66))}
.sm-past span{font-size:.9rem;font-weight:700}
.sm-wonbig{display:grid;justify-items:center;gap:.2rem;text-align:center;animation:pop .6s var(--ease) both}
.sm-wonbig i{font-style:normal;font-size:3.4rem;line-height:1.1}
.sm-gift{padding:.1rem .6rem;border-radius:999px;background:var(--ink);color:var(--paper,var(--ivory));font-size:.74rem;font-weight:800}
.sheet textarea.sm-gifttext{min-height:8.4rem;font-size:.92rem;resize:none}
.sm-games{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin-top:.4rem}
.sm-games .btn{display:grid;gap:.1rem;min-width:0;padding:.5em .4em;line-height:1.15}
.sm-games .btn small{font-size:.68rem;font-weight:600;opacity:.7;text-transform:none;letter-spacing:0}
.sm-games .btn[aria-pressed=true]{background:var(--ink);color:var(--paper,var(--ivory));border-color:var(--ink)}
/* the customer tier */
.sm-tier{display:grid;gap:.4rem;margin:.2rem 0 .3rem;padding:.75rem .9rem;border:1px solid var(--hair,var(--rule));border-radius:var(--radius,14px);background:var(--card,#fff);color:var(--ink)}
.sm-tier small{font-size:.82rem;line-height:1.35;color:var(--muted,rgba(36,26,45,.66))}
.sheet .sm-tier p{margin:0;font-size:.9rem}
.sm-tier.sm-t-bronze{border-color:var(--fr-bronze,#b9743f)}
.sm-tier.sm-t-silver{border-color:var(--fr-silver,#98a1b0)}
.sm-tier.sm-t-gold{border-color:var(--fr-gold,#dd9d1f)}
.pbody>.sm-tier{margin-top:1rem}
.xpcard small.sm-boost{font-weight:800}
/* looks that only points buy. They are the shop's own, so their colours are the brand's in
   either skin: steel, paper and the green of KAMAGIO. */
.ava.sm-fr::before{content:"";position:absolute;inset:-6px;border-radius:50%;pointer-events:none;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3px));mask:radial-gradient(farthest-side,transparent calc(100% - 3.5px),#000 calc(100% - 3px))}
/* "Zákazník": a green ring and the green dot, to whoever entered a purchase code */
.ava.sm-fr-customer::before{background:conic-gradient(#76b043,#c9e6ab,#76b043,#3f6d1e,#76b043,#c9e6ab,#76b043,#3f6d1e,#76b043)}
.ava.sm-fr-customer::after{content:"";position:absolute;right:-6px;top:-6px;width:12px;height:12px;border-radius:50%;background:#76b043;box-shadow:0 0 0 2px #f4f0e8;pointer-events:none}
/* "Gravír": a ring of brushed steel with marks engraved around it */
.ava.sm-fr-laser::before{inset:-7.5px;background:repeating-conic-gradient(rgba(23,23,15,.6) 0 2.2deg,transparent 2.2deg 15deg),conic-gradient(#f4f6f8,#858e96,#fbfcfd,#69727a,#dfe4e8,#858e96,#f4f6f8);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px))}
.ava.sm-fr-laser::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:1.2px solid #76b043;pointer-events:none}
.ava.sm-fr-laser{filter:drop-shadow(0 0 3px rgba(200,210,218,.75))}
/* the table "Kamagio": felt in the brand's green, a paper line stitched around it and the green dot in the middle */
html[data-theme="kamagio"]:not([data-site="dice"]){--plum-1:#579430;--plum-2:#34651b;--plum-3:#17320b;--line:rgba(247,244,236,.38);--mist:rgba(247,244,236,.88)}
html[data-theme="kamagio"]:not([data-site="dice"]) :is(#table,#gscreen){--gold:#f7f4ec}
html[data-theme="kamagio"]:not([data-site="dice"]) :is(#table,#gscreen)::before{content:"";position:fixed;z-index:-1;pointer-events:none;inset:7px;border:2px solid rgba(247,244,236,.62);border-radius:20px;box-shadow:inset 0 0 0 5px rgba(247,244,236,.08);
  background:radial-gradient(circle at 50% 44%,rgba(201,230,171,.3) 0 2.6vmin,transparent calc(2.6vmin + 1px)),radial-gradient(circle at 50% 44%,transparent 0 24vmin,rgba(247,244,236,.2) 24vmin calc(24vmin + 1.5px),transparent calc(24vmin + 2.5px))}
.sm-sw-kamagio{background:radial-gradient(circle at 50% 50%,rgba(201,230,171,.55) 0 3px,transparent 4px),radial-gradient(120% 95% at 50% 30%,#579430,#34651b 60%,#17320b);box-shadow:inset 0 0 0 3px #17320b,inset 0 0 0 4.5px rgba(247,244,236,.7)}

/* ── what a word means (df-): a tappable word after a round, and its sheet ── */
.df-w{cursor:pointer;text-decoration:underline dotted;text-decoration-thickness:1px;text-underline-offset:.2em;-webkit-tap-highlight-color:transparent}
.df-w:focus-visible{outline:2px solid var(--focus,currentColor);outline-offset:2px;border-radius:4px}
.sheet h2.df-word{text-transform:none;overflow-wrap:anywhere}
.df-dict{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .4em;margin-top:.5rem!important;font-weight:700}
.df-dict b{font-weight:800}
.df-dict span{flex:1 1 0;min-width:0}
.df-dict.df-yes{color:var(--accent-deep,#3f6d1e)}
.df-dict.df-no{color:var(--cherry)}
.df-dict small{flex-basis:100%;font-weight:500;font-size:.8rem;color:var(--muted,rgba(23,23,15,.6))}
.df-form{margin-top:.9rem!important;font-size:.95rem}
.df-form span{color:var(--muted,rgba(23,23,15,.6))}
.df-kind{margin-top:.9rem!important;font:800 .74rem/1.3 var(--ui);letter-spacing:.1em;text-transform:uppercase;color:var(--muted,rgba(23,23,15,.6))}
.df-form+.df-kind{margin-top:.35rem!important}
.df-senses{margin:.35rem 0 0;padding-left:1.3em;line-height:1.4}
.df-senses li{margin-top:.3rem;overflow-wrap:anywhere}
.df-senses.df-one{list-style:none;padding-left:0}
.df-none,.df-wait{margin-top:.9rem!important;color:var(--muted,rgba(23,23,15,.6))}
.df-wait::after{content:"";display:inline-block;width:.8em;height:.8em;margin-left:.5em;vertical-align:-.08em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:df-spin .8s linear infinite}
@keyframes df-spin{to{transform:rotate(1turn)}}
.df-src,.df-ai{margin-top:.9rem!important;font-size:.84rem;color:var(--muted,rgba(23,23,15,.6))}
.df-src a{color:var(--ink);font-weight:700;text-underline-offset:.18em}
.df-ai{padding:.5em .7em;border:1px dashed var(--edge2,rgba(23,23,15,.3));border-radius:10px}
@media (prefers-reduced-motion:reduce){.df-wait::after{animation:none}}

/* ── the language model for the players (ai-): the rules helper in the rules sheet,
   the lines of computer players, the sentence about a finished game (public/ai-ui.js).
   The helper and the sentence stand on a sheet, the lines on a table; all of it is
   painted with the names both skins have. ── */
.ai-tag{display:inline-block;margin-left:.45em;padding:0 .4em;border:1px solid currentColor;border-radius:999px;font:700 .58rem/1.55 var(--ui);letter-spacing:.08em;text-transform:none;vertical-align:.14em;opacity:.62}
.ai-ask{margin:1.3rem 0 .2rem;padding-top:.2rem;border-top:1px solid var(--edge)}
.ai-ask h3{margin-top:1rem}
.ai-ask .ai-game{display:block;width:100%;margin:.6rem 0 0;padding:.55rem .7rem;font:600 1rem/1.3 var(--ui);color:var(--fg);background:var(--field);border:1px solid var(--in-edge);border-radius:var(--in-radius)}
.ai-chips{display:flex;flex-wrap:wrap;gap:.4rem;margin:.65rem 0}
.ai-chips button{min-height:2.3rem;padding:.4rem .75rem;font:600 .84rem/1.25 var(--ui);text-align:left;color:var(--fg);background:var(--wash);border:1px solid var(--edge);border-radius:999px;cursor:pointer}
.ai-chips button:disabled{opacity:.5;cursor:default}
.ai-form{display:flex;gap:.45rem;align-items:stretch}
.ai-form input{flex:1;min-width:0;padding:.6rem .75rem;font:500 1rem/1.3 var(--ui);color:var(--fg);background:var(--field);border:1px solid var(--in-edge);border-radius:var(--in-radius)}
.ai-form input:focus-visible,.ai-ask .ai-game:focus-visible,.ai-chips button:focus-visible{outline:2px solid var(--in-focus);outline-offset:2px}
.ai-form .btn{flex:none;white-space:nowrap}
.ai-answer{margin-top:.8rem}
.ai-answer:empty{display:none}
.ai-q{margin:0 0 .3rem;font:700 .95rem/1.35 var(--ui);color:var(--fg)}
.ai-a{margin:0 0 .5rem;font:500 .95rem/1.45 var(--ui);color:var(--fg)}
.ai-a.ai-soft,.ai-wait{color:var(--fg2)}
.ai-wait{margin:0;font:500 .95rem/1.45 var(--ui);animation:ai-wait 1.4s ease-in-out infinite}
.ai-quote{margin:0 0 .5rem;padding:.5rem .75rem;border-left:3px solid var(--accent);border-radius:0 8px 8px 0;background:var(--wash);font:500 .88rem/1.45 var(--ui);color:var(--fg)}
.ai-quote small{display:block;margin-bottom:.15rem;font:800 .66rem/1.4 var(--ui);letter-spacing:.12em;text-transform:uppercase;color:var(--fg2)}
.ai-note{margin:0;font:500 .78rem/1.4 var(--ui);color:var(--fg2)}
.ai-recap,.ai-endsay{margin:.55rem 0 0;font:500 .95rem/1.45 var(--ui);color:var(--fg);animation:ai-in .7s var(--ease) both}
.ai-recap{padding:.55rem .8rem;border-radius:var(--radius);background:var(--wash)}
.ai-endsay{font-size:.88rem;color:var(--fg2)}
/* a computer's line: as wide as a narrow phone lets it, wrapped; a long one a little smaller (ai-ui.js sets ai-long / ai-tiny); a tap takes it away */
.ai-say{position:fixed;z-index:15;left:0;top:0;box-sizing:border-box;max-width:min(17rem,calc(100vw - 24px));padding:.45rem .75rem;border-radius:1rem;font:600 .86rem/1.3 var(--ui);color:var(--ink);background:var(--ivory);box-shadow:var(--shadow);overflow-wrap:anywhere;pointer-events:auto;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;visibility:hidden}
.ai-say.ai-long{font-size:.8rem;line-height:1.28}
.ai-say.ai-tiny{font-size:.74rem;line-height:1.25}
.ai-say::after{content:'';position:absolute;left:var(--ai-tip,50%);bottom:-5px;width:10px;height:10px;margin-left:-5px;background:inherit;transform:rotate(45deg)}
.ai-say.ai-below::after{bottom:auto;top:-5px}
/* how long it stays is counted from the length of its line (bubble-logic.js) and kept by the script: it comes in, stands still, and goes on .ai-out */
.ai-say.ai-go{visibility:visible;animation:ai-pop .22s var(--ease) both}
.ai-say.ai-go.ai-out{animation:ai-bye .24s ease-in both;pointer-events:none}
@keyframes ai-pop{from{opacity:0;transform:translateY(6px) scale(.92)}to{opacity:1;transform:none}}
@keyframes ai-bye{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.ai-say.ai-go,.ai-say.ai-go.ai-out{animation:none}}
@keyframes ai-say{0%{opacity:0;transform:translateY(6px) scale(.92)}6%,88%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-6px)}}
@keyframes ai-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes ai-wait{0%,100%{opacity:.45}50%{opacity:1}}
html.still .ai-say.ai-go,html.still .ai-recap,html.still .ai-endsay,html.still .ai-wait{animation-duration:.01s}
html.still .ai-say.ai-go,html.still .ai-say.ai-go.ai-out{animation:none;visibility:visible}

/* ── public statistics (st-): the overview, the page of a game, the tables, the card of a
   player (public/stats-ui.js, server/stats.js). One block. All of it stands on a sheet, which is
   light in both skins, so it is painted with the brand names; the link in the lobby is the
   .link of the shell. Medals are the emoji the weekly table uses. ── */
.st-sheet{min-width:0}
.st-sheet .ava{flex:none;width:28px;height:28px;margin:4px;font-size:.82rem;color:var(--paper);background-color:var(--ink);box-shadow:none}
.st-sheet .ava.st-q{background:var(--wash);color:var(--muted);box-shadow:inset 0 0 0 1.5px var(--hair);font:700 .8rem/1 var(--ui)}
.st-back{display:inline-flex;align-items:center;gap:.35em;min-height:40px;margin:-.6rem 0 .1rem -.5rem;padding:0 .5rem;border:0;background:none;color:var(--accent-deep);font:800 .84rem/1 var(--ui)}
.st-k{font:800 .64rem/1.3 var(--ui);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.st-nm{min-width:0;overflow-wrap:anywhere;font-weight:700;font-size:.88rem;line-height:1.2}
.st-nm small{display:block;font-weight:500;font-size:.74rem;color:var(--muted)}
.st-note{font-size:.74rem;color:var(--muted)}
.sheet p.st-note{margin:.15rem 0 0}
.st-best{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin-top:.9rem}
.st-b{display:grid;gap:.15rem;align-content:start;min-width:0;padding:.65rem .7rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card);color:var(--ink);text-align:left;font:inherit}
.st-big{font:400 1.9rem/1.05 var(--display);font-variant-numeric:tabular-nums}
.st-big em{margin-left:.35em;font:700 .76rem/1 var(--ui);font-style:normal;color:var(--muted)}
.st-b-p{display:flex;align-items:center;gap:.25rem;min-width:0;margin:.1rem 0 0 -4px}
.st-games{display:grid;gap:.55rem;margin-top:.6rem}
.st-g{display:grid;gap:.4rem;width:100%;min-width:0;padding:.7rem .8rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card);color:var(--ink);text-align:left;font:inherit}
.st-g0{background:none;border-style:dashed}
.st-g-top{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.1rem .6rem}
.st-g-top b{font-size:1.05rem;font-weight:800}
.st-g-top small{font-size:.78rem;color:var(--muted)}
.st-g-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:.4rem}
.st-g-i{display:grid;place-items:center}
.st-star{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent-soft);color:var(--accent-deep);font-size:.9rem;line-height:1}
.st-g-m{display:grid;min-width:0}
.st-g-v{text-align:right;line-height:1.1}
.st-g-v b{display:block;font:400 1.25rem/1 var(--display);font-variant-numeric:tabular-nums;white-space:nowrap}
.st-g-v small{font-size:.72rem;color:var(--muted);white-space:nowrap}
.st-g-none{font-size:.84rem;color:var(--muted)}
.st-filter{flex-wrap:wrap;margin-top:.6rem}
.sheet p.st-fnote{font-size:.8rem}
.sheet p.st-total{margin-top:.8rem;font-size:.84rem;font-weight:700;color:var(--muted)}
.st-sec{display:flex;align-items:center;gap:.55rem;margin-top:1.3rem}
.sheet .st-sec h3{margin:0}
.st-i{position:relative;flex:none;width:22px;height:22px;padding:0;border:1.5px solid var(--muted);border-radius:50%;background:none;color:var(--muted);font:800 .74rem/1 var(--ui)}
.st-i::after{content:"";position:absolute;inset:-11px}
.st-i[aria-expanded=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.sheet p.st-info{margin:.5rem 0 0;padding:.6rem .8rem;border-radius:var(--radius);background:var(--accent-soft);color:var(--ink);font-size:.86rem;line-height:1.45}
.st-scroll{margin-top:.5rem;overflow-x:auto;overscroll-behavior-x:contain}
.st-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.st-table th{padding:0 .25rem .3rem;border-bottom:1.5px solid var(--ink);font-size:.72rem;font-weight:700;color:var(--muted);text-align:right;white-space:nowrap}
.st-table th button{min-height:32px;padding:0;border:0;background:none;color:inherit;font:inherit}
.st-table th button[aria-pressed=true]{color:var(--ink);font-weight:800}
.st-table th button i{display:inline-block;width:.75em;font-style:normal;text-align:right}
.st-table td{padding:.3rem .25rem;border-bottom:1px solid var(--hair);font-size:.9rem;text-align:right;vertical-align:middle}
.st-table .st-c-rank{width:1.9rem;padding-left:.15rem;text-align:left;font-weight:700;color:var(--muted)}
.st-table .st-c-p{text-align:left}
.st-c-wins small{display:block;font-size:.7rem;color:var(--muted);white-space:nowrap}
.st-c-rating b{font:400 1.2rem/1 var(--display)}
.st-medal{font-size:1.2rem;line-height:1}
.st-table tr.st-me td{background:var(--accent-soft)}
.st-table tr.st-gap td{padding:0;border-bottom:0;text-align:center;line-height:1.2;color:var(--muted)}
.sheet p.st-you{margin-top:.5rem;font-size:.86rem;font-weight:800;color:var(--accent-deep)}
.st-you span{font-weight:500;color:var(--muted)}
.st-p{display:flex;align-items:center;gap:.3rem;min-width:0;max-width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left}
button.st-p .st-u{text-decoration:underline;text-decoration-color:var(--edge2);text-decoration-thickness:1px;text-underline-offset:.22em}
.st-table abbr{text-decoration:none}
.st-anon .st-nm{font-weight:600;font-style:italic;color:var(--muted)}
.st-a{padding:0;border:0;background:none;color:var(--ink);font:inherit;font-weight:800;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em}
.st-recs{display:grid;gap:.6rem;margin-top:.6rem}
.st-rec{padding:.7rem .8rem .35rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card)}
.st-rec h4{margin:0;font:800 .7rem/1.3 var(--ui);letter-spacing:.1em;text-transform:uppercase;color:var(--ink)}
.st-rec ol{list-style:none;margin:.25rem 0 0;padding:0}
.st-rec li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.4rem 0;border-top:1px solid var(--hair)}
.st-rec li:first-child{border-top:0}
.st-rw{display:grid;gap:.1rem;min-width:0}
.st-rw small,.st-rv small{display:block;font-size:.74rem;line-height:1.3;color:var(--muted);overflow-wrap:anywhere}
.st-rw small{padding-left:4px}
.st-rv small{white-space:nowrap}
.st-rv{text-align:right}
.st-rv b{display:block;font:400 1.3rem/1 var(--display);font-variant-numeric:tabular-nums;white-space:nowrap}
.st-rec li:first-child .st-rv b{font-size:1.8rem;color:var(--accent-deep)}
.st-facts{list-style:none;margin:.5rem 0 0;padding:0;display:grid;gap:.45rem}
.st-facts li{display:flex;align-items:baseline;gap:.6rem;font-size:.92rem;line-height:1.4}
.st-facts li>i{flex:none;font-style:normal}
.st-facts li>span{min-width:0;overflow-wrap:anywhere}
.st-head{display:flex;align-items:center;gap:.9rem}
.st-head>div{min-width:0}
.st-sheet .st-head .ava{width:72px;height:72px;margin:8px;font-size:2rem}
.st-head h2{overflow-wrap:anywhere}
.st-nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-top:1rem}
.st-nums div{min-width:0;padding:.55rem .3rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card);text-align:center}
.st-nums b{display:block;min-height:1.15em;font:400 1.5rem/1.15 var(--display);font-variant-numeric:tabular-nums}
.st-nums div>span{font-size:.76rem;color:var(--muted)}
.st-cups{display:block;margin-top:.1rem;font-size:.74rem;font-weight:700;white-space:nowrap}
.sheet p.st-fav{margin-top:.9rem}
.sheet p.st-legend{display:flex;gap:1rem;font-size:.76rem;color:var(--muted)}
.st-legend i{display:inline-block;width:.8em;height:.8em;margin-right:.4em;border-radius:2px;vertical-align:-.06em}
.st-lw{background:var(--accent-deep)}
.st-lr{background:var(--ink);opacity:.22}
.st-bars{list-style:none;margin:.5rem 0 0;padding:0;display:grid;gap:.55rem}
.st-bars li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:.2rem .6rem}
.st-bar-l{grid-area:1/1;font-size:.86rem;font-weight:700;overflow-wrap:anywhere}
.st-bar-v{grid-area:1/2;font-size:.8rem;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.st-bar-t{grid-area:2/1/3/3;position:relative;display:block;height:10px;border-radius:3px;overflow:hidden}
.st-bar-t::before{content:"";position:absolute;inset:0;background:var(--ink);opacity:.22}
.st-bar-t i{position:relative;display:block;height:100%;background:var(--accent-deep)}
.st-held{list-style:none;margin:.5rem 0 0;padding:0;display:grid;gap:.4rem}
.st-held li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.3rem 0;border-bottom:1px solid var(--hair);font-size:.9rem}
.st-held-m{display:grid;justify-items:start;min-width:0}
.st-held-m small{font-size:.76rem;color:var(--muted)}
.st-held b{font:400 1.25rem/1 var(--display);font-variant-numeric:tabular-nums;white-space:nowrap}
.st-set{margin-top:1.1rem;padding:.7rem .8rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card)}
.sheet .st-set label{display:flex;align-items:center;gap:.6rem;margin:0;font:700 .95rem/1.3 var(--ui);letter-spacing:0;text-transform:none;color:var(--ink);cursor:pointer}
.st-set input{flex:none;width:22px;height:22px;margin:0;accent-color:var(--accent-deep)}
.st-set small{display:block;margin-top:.4rem;font-size:.8rem;line-height:1.4;color:var(--muted)}
.st-busy{opacity:.55;transition:opacity .15s}
.st-wait{animation:st-wait 1.4s ease-in-out infinite}
.st-in>*{animation:st-rise .45s var(--ease) both;animation-delay:calc(var(--i,0)*40ms)}
.st-best.st-in>:nth-child(2),.st-nums.st-in>:nth-child(2),.st-recs.st-in>:nth-child(2){--i:1}
.st-best.st-in>:nth-child(3),.st-nums.st-in>:nth-child(3),.st-recs.st-in>:nth-child(3){--i:2}
.st-best.st-in>:nth-child(4),.st-nums.st-in>:nth-child(4),.st-recs.st-in>:nth-child(4){--i:3}
.st-best.st-in>:nth-child(5),.st-nums.st-in>:nth-child(5){--i:4}
.st-best.st-in>:nth-child(6),.st-nums.st-in>:nth-child(6){--i:5}
.st-table.st-in tbody tr{animation:st-fade .5s both}
.st-table.st-in tbody tr:nth-child(2){animation-delay:50ms}
.st-table.st-in tbody tr:nth-child(3){animation-delay:100ms}
.st-table.st-in tbody tr:nth-child(n+4){animation-delay:150ms}
.st-table.st-in .st-top .st-medal{display:inline-block;animation:st-pop .5s var(--ease) .15s both}
@keyframes st-rise{from{opacity:0;transform:translateY(8px)}}
@keyframes st-fade{from{opacity:0}}
@keyframes st-pop{from{transform:scale(.3);opacity:0}60%{transform:scale(1.2)}}
@keyframes st-wait{0%,100%{opacity:.45}50%{opacity:1}}
html.still .st-in>*,html.still .st-table.st-in tbody tr,html.still .st-table.st-in .st-medal,html.still .st-wait{animation:none}
@media (prefers-reduced-motion:reduce){.st-in>*,.st-table.st-in tbody tr,.st-table.st-in .st-medal,.st-wait{animation:none}.st-busy{transition:none}}
@media (max-width:379px){.st-table .st-c-avg{display:none}.st-table td,.st-table th{padding-left:.18rem;padding-right:.18rem}}
@media (max-width:339px){.st-table .st-c-p .ava{display:none}.st-best{gap:.4rem}.st-b{padding:.55rem .55rem}}

/* ── diamonds, the diamond shop, tasks, hints, bet steps by level (gm-): public/shop-ui.js,
   server/gems.js, server/tasks.js. One block. The shop and the tasks stand on a sheet (light in
   both skins: the brand names), the hint button and the title sign on a table, the bet steps in
   the lobby (the context names). A diamond has a colour of its own, the same in both skins, named
   once here; the LOOKS sold for diamonds (dice are drawn by script; tables, card backs, frames
   below) are pictures, and their colours are their own. ── */
:root{--gm-gem:#1c8fc4;--gm-gem-deep:#0d587f;--gm-gem-soft:rgba(28,143,196,.13);--gm-gem-lite:#8fe3ff}
/* balances */
.gm-wallet{display:flex;flex-wrap:wrap;gap:.4rem;margin:.6rem 0 0}
.gm-pill{flex:1 1 auto;min-width:0;display:grid;gap:.05rem;padding:.5rem .6rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card);color:var(--ink);text-align:left;font:inherit}
.gm-pill b{font:400 clamp(1.05rem,5.4vw,1.45rem)/1.05 var(--display);font-variant-numeric:tabular-nums;white-space:nowrap}
.gm-pill small{font-size:.72rem;font-weight:700;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gm-pill.gem{border-color:var(--gm-gem);background:var(--gm-gem-soft)}
.gm-pill.gem b{color:var(--gm-gem-deep)}
.gm-line{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-top:.7rem;padding:.55rem .75rem;border:1px solid var(--gm-gem);border-radius:var(--radius);background:var(--gm-gem-soft);color:var(--ink);font-weight:700}
.gm-line b{font:400 1.3rem/1 var(--display);color:var(--gm-gem-deep);white-space:nowrap}
.gm-line small{display:block;font-size:.72rem;font-weight:700;color:var(--muted)}
.gm-line>span:last-child{text-align:right}
.gm-line .btn{flex:none}
.sheet p.gm-fine{margin:.5rem 0 0;font-size:.82rem;line-height:1.4;color:var(--muted)}
.sheet h3.gm-h{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin:1.1rem 0 .5rem}
.gm-h small{font:600 .76rem/1.2 var(--ui);letter-spacing:0;text-transform:none;color:var(--muted)}
.gm-price{display:inline-flex;align-items:center;gap:.25em;white-space:nowrap;font-weight:800;font-variant-numeric:tabular-nums}
.gm-price s{font-weight:600;opacity:.8}
/* the catalogue */
.gm-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
.gm-card{position:relative;display:grid;grid-template-rows:auto 1fr auto;gap:.4rem;min-width:0;padding:.55rem .55rem .6rem;border:1.5px solid var(--hair);border-radius:var(--radius);background:var(--card);color:var(--ink);text-align:left}
.gm-card>b{font-size:.86rem;line-height:1.2;overflow-wrap:anywhere}
.gm-card>small{font-size:.74rem;line-height:1.3;color:var(--muted)}
.gm-card.gm-r2{border-color:var(--accent)}
.gm-card.gm-r3{border-color:var(--medal)}
.gm-card.gm-r4{border-color:transparent;background:linear-gradient(var(--card),var(--card)) padding-box,linear-gradient(135deg,var(--gm-gem-lite),var(--medal),var(--cherry),var(--gm-gem)) border-box}
.gm-card.has{background:var(--accent-soft)}
.gm-card.gm-r4.has{background:linear-gradient(var(--accent-soft),var(--accent-soft)) padding-box,linear-gradient(var(--card),var(--card)) padding-box,linear-gradient(135deg,var(--gm-gem-lite),var(--medal),var(--cherry),var(--gm-gem)) border-box}
.gm-card .btn{min-width:0;width:100%;min-height:40px;padding:.3em .4em;font-size:.8rem;line-height:1.15}
.gm-card .btn:disabled{opacity:.62}
.gm-prev{position:relative;display:grid;place-items:center;height:64px;border-radius:10px;background:var(--wash);overflow:hidden}
.gm-prev.dark{background:radial-gradient(120% 90% at 50% 30%,var(--plum-1),var(--plum-3))}
.gm-prev canvas{width:100%;height:100%}
.gm-prev .card{--w:34px}
.gm-prev .ava{width:38px;height:38px;font-size:1.05rem;color:var(--paper);background-color:var(--ink)}
.gm-prev>i{font-style:normal;font-size:2rem;line-height:1}
.gm-sw{position:absolute;inset:0}
.gm-tags{position:absolute;z-index:1;top:.3rem;left:.3rem;right:.3rem;display:flex;flex-wrap:wrap;gap:.2rem;pointer-events:none}
.gm-tag{padding:.08rem .4rem;border-radius:999px;background:var(--ink);color:var(--paper);font:800 .6rem/1.5 var(--ui);letter-spacing:.06em;text-transform:uppercase}
.gm-tag.deal{background:var(--cherry);color:#fff}
.gm-tag.new{background:var(--accent);color:var(--on-accent)}
.gm-deal{display:grid;grid-template-columns:96px minmax(0,1fr);gap:.7rem;align-items:center;margin-top:.8rem;padding:.6rem;border:2px solid var(--cherry);border-radius:var(--radius);background:var(--card);color:var(--ink);text-align:left;width:100%;font:inherit}
.gm-deal .gm-prev{height:72px}
.gm-deal>span{display:grid;gap:.15rem;min-width:0}
.gm-deal em{font:800 .64rem/1.4 var(--ui);font-style:normal;letter-spacing:.1em;text-transform:uppercase;color:var(--cherry)}
.gm-deal b{font-size:.98rem;line-height:1.2;overflow-wrap:anywhere}
.gm-deal small{font-size:.78rem;color:var(--muted)}
/* one item, before buying and after */
.gm-big{position:relative;display:grid;place-items:center;height:150px;margin-top:.7rem;border-radius:var(--radius);background:var(--wash);overflow:hidden}
.gm-big.dark{background:radial-gradient(120% 90% at 50% 30%,var(--plum-1),var(--plum-3))}
.gm-big canvas{width:100%;height:100%}
.gm-big .card{--w:74px}
.gm-big .card+.card{margin-left:-34px;transform:rotate(9deg) translateY(4px)}
.gm-big .gm-cards{display:flex;transform:rotate(-5deg)}
.gm-big .ava{width:84px;height:84px;font-size:2.3rem;color:var(--paper);background-color:var(--ink)}
.gm-big>i{font-style:normal;font-size:4.6rem;line-height:1}
.gm-big .gm-tname{position:absolute;left:0;right:0;bottom:.5rem;text-align:center;font-weight:800;color:var(--ink)}
.gm-got{animation:pop .6s var(--ease) both}
/* the exchange */
.gm-ex{display:grid;gap:.5rem;margin-top:.7rem;padding:.8rem .9rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card);color:var(--ink)}
.gm-ex>b{font-size:1rem}
.gm-rate{display:flex;align-items:center;justify-content:center;gap:.6rem;font:400 1.5rem/1.1 var(--display);font-variant-numeric:tabular-nums}
.gm-rate i{font-style:normal;font-size:1.1rem;color:var(--muted)}
.gm-rate .gem{color:var(--gm-gem-deep)}
.gm-ex .sm-step{margin-top:.2rem}
.gm-ex ul{margin:0;padding-left:1.1em;font-size:.82rem;line-height:1.45;color:var(--ink-soft)}
/* tasks */
.gm-tasks{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.gm-task{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.6rem;padding:.6rem .7rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card);color:var(--ink)}
.gm-task>i{font-style:normal;font-size:1.5rem;line-height:1}
.gm-task>div{display:grid;gap:.3rem;min-width:0}
.gm-task b{font-size:.9rem;line-height:1.25;overflow-wrap:anywhere}
.gm-task small{font-size:.76rem;color:var(--muted);font-variant-numeric:tabular-nums}
.gm-task .btn{min-width:0;min-height:40px;padding:.3em .7em;font-size:.78rem}
.gm-task.done{border-color:var(--gm-gem);background:var(--gm-gem-soft)}
.gm-task.claimed{opacity:.6}
.gm-task .gm-price{font-size:.86rem}
.gm-bar{display:block;height:7px;border-radius:999px;background:var(--wash);overflow:hidden}
.gm-bar i{display:block;height:100%;border-radius:999px;background:var(--gm-gem);transition:width .5s var(--ease)}
.gm-streak{display:flex;align-items:center;gap:.3rem;margin-top:.6rem}
.gm-streak i{flex:1;display:grid;place-items:center;height:30px;border-radius:8px;background:var(--wash);color:var(--muted);font:800 .7rem/1 var(--ui);font-style:normal}
.gm-streak i.on{background:var(--gm-gem);color:#fff}
.gm-streak i.pay{box-shadow:inset 0 0 0 1.5px var(--gm-gem)}
.perk .gm-dot{position:absolute;top:.4rem;right:.4rem;min-width:18px;height:18px;padding:0 .3em;border-radius:999px;background:var(--cherry);color:#fff;font:800 .68rem/18px var(--ui);text-align:center}
.perk.gm-tile{position:relative}
.perk.gm-tile.ready{border-color:var(--gm-gem);background:var(--gm-gem-soft);animation:none}
.perk.gm-tile.ready small{color:var(--gm-gem-deep)}
.wheelwon.gm-wheelwon{color:var(--gm-gem-deep)}
.gm-wgem{font-weight:800}
.award span.gm-aw{background:var(--gm-gem);color:#fff}
.award span.gm-awt{background:var(--wash);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--gm-gem)}
/* the bet steps of the lobby: every amount the game knows, the ones above the table's level locked */
.opt.gm-wager{align-items:flex-start}
.opt.gm-wager>span:first-child{padding-top:.55rem}
.gm-steps{flex:1 1 13rem;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.3rem}
.gm-steps button{display:grid;align-content:center;justify-items:center;min-width:52px;min-height:40px;padding:0 .55em;border:1.5px solid var(--fg);border-radius:999px;background:none;color:var(--fg);font:700 .86rem/1.05 var(--ui);font-variant-numeric:tabular-nums}
.gm-steps button[aria-pressed=true]{background:var(--fg);color:var(--on-fg)}
.gm-steps button:disabled{cursor:default}
.gm-steps .gm-locked{border-style:dashed;border-color:var(--edge2);color:var(--fg2)}
.gm-steps .gm-locked small{font-size:.6rem;font-weight:700;white-space:nowrap}
.vdesc.gm-wnote{margin-top:-.1rem}
.gm-hintrow{margin-top:.2rem}
/* hints at a table: the button in the top bar, and what a hint marks */
.icon.gm-hintbtn{position:relative;font-size:1.25rem;line-height:1}
.icon.gm-hintbtn i{position:absolute;right:2px;top:3px;min-width:16px;height:16px;padding:0 .25em;border-radius:999px;background:var(--gold);color:var(--plum-3,#17170f);font:800 .62rem/16px var(--ui);font-style:normal;text-align:center}
.icon.gm-hintbtn.off{opacity:.7}
.hand .card.gm-safe{box-shadow:0 0 0 3px var(--gold),0 .14em .3em -.08em rgba(0,0,0,.7)}
.hand .card.gm-best{translate:0 -14px;box-shadow:0 0 0 3px var(--gm-gem-lite),0 0 14px 2px var(--gm-gem-lite);animation:gm-nudge 1.1s ease-in-out infinite}
@keyframes gm-nudge{0%,100%{translate:0 -14px}50%{translate:0 -20px}}
/* a bought title: a small sign on the avatar (the earned badges stay in the profile; this one is bought and says so there) */
.ava .gm-tt{position:absolute;z-index:2;right:-18%;bottom:-18%;display:grid;place-items:center;width:1.5em;height:1.5em;border-radius:50%;background:var(--ivory);box-shadow:0 0 0 1.5px rgba(0,0,0,.28);font-style:normal;font-size:.5em;line-height:1;text-indent:0}
.gm-ttline{display:inline-flex;align-items:center;gap:.35em;margin-top:.2rem;padding:.1rem .6rem;border-radius:999px;background:var(--wash);font:700 .78rem/1.5 var(--ui);color:var(--ink)}
.gm-ttline small{font-weight:600;color:var(--muted)}
/* win effects (a canvas over the screen for a few seconds) */
.gm-fx{position:fixed;inset:0;z-index:61;width:100%;height:100%;pointer-events:none}

/* looks: frames around the avatar (the ring is the sm-fr mask above) */
.ava.sm-fr-rose::before{background:conic-gradient(#f3c3b3,#fff1ea,#d98f7c,#a85e50,#f3c3b3,#fff1ea,#d98f7c,#a85e50,#f3c3b3)}
.ava.sm-fr-rose{filter:drop-shadow(0 0 3px rgba(233,160,140,.7))}
.ava.sm-fr-ice::before{inset:-7px;background:repeating-conic-gradient(rgba(255,255,255,.95) 0 4deg,transparent 4deg 18deg),conic-gradient(#bfeaff,#f4fcff,#6fc3ee,#2f86c4,#bfeaff,#f4fcff,#6fc3ee,#2f86c4,#bfeaff);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4.5px),#000 calc(100% - 4px));mask:radial-gradient(farthest-side,transparent calc(100% - 4.5px),#000 calc(100% - 4px))}
.ava.sm-fr-ice{filter:drop-shadow(0 0 5px rgba(140,215,255,.9))}
.ava.sm-fr-flame::before{inset:-7px;background:conic-gradient(#ff2a12,#ff9a1f,#ffe66b,#ff5a14,#b3120a,#ff9a1f,#ffe66b,#ff2a12);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4.5px));animation:gm-spin 1.8s linear infinite}
.ava.sm-fr-flame{filter:drop-shadow(0 0 6px rgba(255,110,20,.95)) drop-shadow(0 -2px 3px rgba(255,200,60,.6))}
.ava.sm-fr-diamond::before{inset:-7.5px;background:conic-gradient(#fff,#9fe6ff,#fff,#ffc9ef,#fff,#b9fff0,#fff,#9fe6ff,#fff,#d7c9ff,#fff);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px));animation:gm-spin 6s linear infinite}
.ava.sm-fr-diamond::after{content:"";position:absolute;inset:-9px;border-radius:50%;pointer-events:none;background:radial-gradient(circle at 50% 3px,#fff 0 2.2px,rgba(160,230,255,.9) 2.6px,transparent 5px);animation:gm-spin 2.6s linear infinite reverse}
.ava.sm-fr-diamond{filter:drop-shadow(0 0 6px rgba(150,225,255,.95))}
@keyframes gm-spin{to{transform:rotate(360deg)}}

/* looks: the back of the cards, as this player sees them (html[data-cback]); the same picture small in the shop (.gm-cb-…) */
html[data-cback="blue"] .card.back,html body .card.back.gm-cb-blue{background:radial-gradient(circle at 50% 50%,#f4f7ff 0 .06em,transparent .07em),radial-gradient(circle at 50% 50%,transparent 0 .2em,rgba(244,247,255,.85) .21em .24em,transparent .25em),repeating-linear-gradient(45deg,transparent 0 .07em,rgba(255,255,255,.2) .07em .09em),repeating-linear-gradient(-45deg,transparent 0 .07em,rgba(255,255,255,.2) .07em .09em),linear-gradient(160deg,#356fd6,#15357f);box-shadow:inset 0 0 0 .04em #f4f7ff,inset 0 0 0 .075em #15357f,inset 0 0 0 .095em rgba(244,247,255,.7),0 0 0 1px rgba(0,0,0,.35),0 .14em .26em -.1em rgba(0,0,0,.6)}
html[data-cback="crimson"] .card.back,html body .card.back.gm-cb-crimson{background:radial-gradient(ellipse .2em .3em at 50% 50%,#7c0f22 0 96%,transparent 100%),radial-gradient(ellipse .24em .34em at 50% 50%,#ffe9d6 0 96%,transparent 100%),repeating-linear-gradient(60deg,transparent 0 .045em,rgba(255,233,214,.24) .045em .06em),repeating-linear-gradient(-60deg,transparent 0 .045em,rgba(255,233,214,.24) .045em .06em),linear-gradient(160deg,#c8233d,#7c0f22);box-shadow:inset 0 0 0 .04em #ffe9d6,inset 0 0 0 .07em #7c0f22,0 0 0 1px rgba(0,0,0,.35),0 .14em .26em -.1em rgba(0,0,0,.6)}
html[data-cback="forest"] .card.back,html body .card.back.gm-cb-forest{background:radial-gradient(ellipse .05em .1em at 25% 30%,#bfe6a6 0 90%,transparent 100%) 0 0/.3em .36em,radial-gradient(ellipse .1em .05em at 75% 78%,#8fcf7a 0 90%,transparent 100%) 0 0/.3em .36em,radial-gradient(ellipse .045em .09em at 70% 22%,rgba(191,230,166,.55) 0 90%,transparent 100%) 0 0/.3em .36em,linear-gradient(165deg,#2f7a45,#103a22);box-shadow:inset 0 0 0 .04em #e9f6df,inset 0 0 0 .075em #103a22,0 0 0 1px rgba(0,0,0,.35),0 .14em .26em -.1em rgba(0,0,0,.6)}
html[data-cback="royal"] .card.back,html body .card.back.gm-cb-royal{background:radial-gradient(circle at 50% 50%,#ffe9a8 0 .05em,transparent .06em),radial-gradient(circle at 50% 50%,#4a1a7a 0 .13em,transparent .14em),radial-gradient(circle at 50% 50%,#f3c64e 0 .17em,transparent .18em),radial-gradient(circle at 50% 50%,#4a1a7a 0 .2em,transparent .21em),radial-gradient(circle at 50% 50%,#f3c64e 0 .225em,transparent .235em),repeating-conic-gradient(from 0deg at 50% 50%,rgba(243,198,78,.26) 0 6deg,transparent 6deg 15deg),linear-gradient(160deg,#6a2aa8,#2c0f52);box-shadow:inset 0 0 0 .035em #f3c64e,inset 0 0 0 .07em #2c0f52,inset 0 0 0 .085em #f3c64e,0 0 0 1px rgba(0,0,0,.35),0 .14em .26em -.1em rgba(0,0,0,.6)}
html[data-cback="night"] .card.back,html body .card.back.gm-cb-night{background:radial-gradient(circle at 44% 36%,#0c1a44 0 .15em,transparent .16em),radial-gradient(circle at 54% 40%,#ffeeb0 0 .17em,rgba(255,238,176,.25) .18em,transparent .26em),radial-gradient(.022em .022em at 20% 20%,#fff,transparent) 0 0/.34em .3em,radial-gradient(.016em .016em at 70% 60%,#cfe0ff,transparent) 0 0/.26em .34em,radial-gradient(.02em .02em at 40% 85%,#fff,transparent) 0 0/.41em .37em,linear-gradient(170deg,#1c2f72,#070c22);box-shadow:inset 0 0 0 .035em #cfe0ff,0 0 0 1px rgba(0,0,0,.35),0 .14em .26em -.1em rgba(0,0,0,.6)}
html[data-cback="gold"] .card.back,html body .card.back.gm-cb-gold{background:radial-gradient(circle at 50% 100%,#3a2607 0 .16em,#f6d77a .17em .2em,transparent .21em),repeating-conic-gradient(from -90deg at 50% 100%,#f6d77a 0 7deg,#b8862a 7deg 14deg),linear-gradient(#b8862a,#b8862a);box-shadow:inset 0 0 0 .04em #fff3c4,inset 0 0 0 .08em #6b480c,inset 0 0 0 .1em #f6d77a,0 0 0 1px rgba(0,0,0,.35),0 .14em .26em -.1em rgba(0,0,0,.6)}
html[data-cback="diamond"] .card.back,html body .card.back.gm-cb-diamond{background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.75) 48%,transparent 62%) 0 0/300% 100%,conic-gradient(from 45deg at 50% 50%,#eafaff,#8fdcff,#ffd7f1,#eafaff,#b6fff0,#8fdcff,#eafaff,#d6ccff,#eafaff) 50% 50%/.5em .5em,linear-gradient(#8fdcff,#8fdcff);box-shadow:inset 0 0 0 .04em #fff,inset 0 0 0 .075em #2a8fc0,0 0 0 1px rgba(0,0,0,.35),0 .14em .26em -.1em rgba(0,0,0,.6),0 0 .12em rgba(143,220,255,.8);animation:gm-shine 4.5s ease-in-out infinite}
@keyframes gm-shine{0%,35%{background-position:100% 0,50% 50%,0 0}100%{background-position:-60% 0,50% 50%,0 0}}

/* looks: tables bought for diamonds (the dice cloth keeps its own, as with the level rewards) */
html[data-theme="wine"]:not([data-site="dice"]){--plum-1:#8a2238;--plum-2:#4e0f1f;--plum-3:#22060d;--line:rgba(255,214,222,.3)}
html[data-theme="sand"]:not([data-site="dice"]){--plum-1:#b87440;--plum-2:#7c4420;--plum-3:#341a0a;--line:rgba(255,240,214,.42);--mist:rgba(255,246,230,.88)}
html[data-theme="midnight"]:not([data-site="dice"]){--plum-1:#1d2f6b;--plum-2:#0c1638;--plum-3:#03060f;--line:rgba(190,205,255,.3)}
html[data-theme="sakura"]:not([data-site="dice"]){--plum-1:#b84f78;--plum-2:#74284a;--plum-3:#300e1e;--line:rgba(255,220,232,.42);--mist:rgba(255,238,244,.9)}
html[data-theme="casino"]:not([data-site="dice"]){--plum-1:#a3202a;--plum-2:#5e0d14;--plum-3:#260408;--line:rgba(246,215,122,.5)}
html[data-theme="casino"]:not([data-site="dice"]) :is(#table,#gscreen){--gold:#f6d77a}
html[data-theme="diamond"]:not([data-site="dice"]){--plum-1:#3b97bd;--plum-2:#17557a;--plum-3:#051d2c;--line:rgba(215,245,255,.5);--mist:rgba(235,250,255,.92)}
html:is([data-theme="midnight"],[data-theme="sakura"],[data-theme="casino"],[data-theme="diamond"]):not([data-site="dice"]) :is(#table,#gscreen)::before{content:"";position:fixed;z-index:-1;pointer-events:none}
html[data-theme="midnight"]:not([data-site="dice"]) :is(#table,#gscreen)::before{inset:0;background:radial-gradient(1.6px 1.6px at 30px 40px,#fff,transparent),radial-gradient(1.2px 1.2px at 150px 110px,#cfe0ff,transparent),radial-gradient(1px 1px at 90px 170px,#fff,transparent),radial-gradient(1.5px 1.5px at 210px 60px,#ffe9c0,transparent);background-size:230px 210px,270px 250px,190px 230px,310px 290px;-webkit-mask:radial-gradient(75% 60% at 50% 45%,transparent 55%,#000 100%);mask:radial-gradient(75% 60% at 50% 45%,transparent 55%,#000 100%);animation:gm-twinkle 3.4s ease-in-out infinite alternate}
@keyframes gm-twinkle{from{opacity:.35}to{opacity:1}}
html[data-theme="sakura"]:not([data-site="dice"]) :is(#table,#gscreen)::before{inset:-40% 0 0;background:radial-gradient(ellipse 7px 4px at 30px 40px,rgba(255,214,228,.85) 0 90%,transparent 100%),radial-gradient(ellipse 4px 7px at 140px 120px,rgba(255,190,212,.7) 0 90%,transparent 100%),radial-gradient(ellipse 6px 3.5px at 80px 200px,rgba(255,232,240,.75) 0 90%,transparent 100%);background-size:210px 260px,260px 310px,170px 230px;animation:gm-fall 26s linear infinite}
@keyframes gm-fall{from{transform:translate3d(0,0,0)}to{transform:translate3d(-6%,28%,0)}}
html[data-theme="casino"]:not([data-site="dice"]) :is(#table,#gscreen)::before{inset:7px;border:2px solid rgba(246,215,122,.75);border-radius:20px;box-shadow:inset 0 0 0 4px rgba(38,4,8,.5),inset 0 0 0 5.5px rgba(246,215,122,.45);background:radial-gradient(circle at 50% 44%,transparent 0 22vmin,rgba(246,215,122,.3) 22vmin calc(22vmin + 1.5px),transparent calc(22vmin + 2.5px)),radial-gradient(circle at 50% 44%,transparent 0 24.5vmin,rgba(246,215,122,.16) 24.5vmin calc(24.5vmin + 1px),transparent calc(24.5vmin + 2px)),repeating-conic-gradient(from 0deg at 50% 44%,rgba(246,215,122,.032) 0 5deg,transparent 5deg 10deg)}
html[data-theme="diamond"]:not([data-site="dice"]) :is(#table,#gscreen)::before{inset:0 -100%;background:linear-gradient(115deg,transparent 42%,rgba(255,255,255,.16) 47%,rgba(255,255,255,.4) 50%,rgba(255,255,255,.16) 53%,transparent 58%),repeating-linear-gradient(60deg,rgba(255,255,255,.07) 0 2px,transparent 2px 74px),repeating-linear-gradient(-60deg,rgba(255,255,255,.07) 0 2px,transparent 2px 74px),repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0 2px,transparent 2px 64px);animation:gm-sheen 6s ease-in-out infinite alternate}
@keyframes gm-sheen{from{transform:translate3d(-22%,0,0)}to{transform:translate3d(22%,0,0)}}
/* the same tables small, where they are sold and chosen */
.gm-sw-wine{background:radial-gradient(120% 95% at 50% 30%,#8a2238,#4e0f1f 60%,#22060d)}
.gm-sw-sand{background:radial-gradient(120% 95% at 50% 30%,#b87440,#7c4420 60%,#341a0a)}
.gm-sw-midnight{background:radial-gradient(1.4px 1.4px at 12px 10px,#fff,transparent) 0 0/46px 40px,radial-gradient(1px 1px at 30px 30px,#cfe0ff,transparent) 0 0/38px 44px,radial-gradient(120% 95% at 50% 30%,#1d2f6b,#0c1638 60%,#03060f)}
.gm-sw-sakura{background:radial-gradient(ellipse 3.5px 2px at 14px 12px,rgba(255,214,228,.9) 0 90%,transparent 100%) 0 0/61px 47px,radial-gradient(ellipse 2px 3.5px at 32px 26px,rgba(255,190,212,.8) 0 90%,transparent 100%) 7px 9px/83px 59px,radial-gradient(120% 95% at 50% 30%,#b84f78,#74284a 60%,#300e1e)}
.gm-sw-casino{background:radial-gradient(circle at 50% 50%,transparent 0 13px,rgba(246,215,122,.55) 13px 14px,transparent 15px),radial-gradient(120% 95% at 50% 30%,#a3202a,#5e0d14 60%,#260408);box-shadow:inset 0 0 0 3px #260408,inset 0 0 0 4.5px rgba(246,215,122,.8)}
.gm-sw-diamond{background:linear-gradient(115deg,transparent 38%,rgba(255,255,255,.45) 50%,transparent 62%),repeating-linear-gradient(60deg,rgba(255,255,255,.14) 0 1px,transparent 1px 16px),repeating-linear-gradient(-60deg,rgba(255,255,255,.14) 0 1px,transparent 1px 16px),radial-gradient(120% 95% at 50% 30%,#3b97bd,#17557a 60%,#051d2c)}
.gm-sw-kamagio{background:radial-gradient(circle at 50% 50%,rgba(201,230,171,.55) 0 3px,transparent 4px),radial-gradient(120% 95% at 50% 30%,#579430,#34651b 60%,#17320b);box-shadow:inset 0 0 0 3px #17320b,inset 0 0 0 4.5px rgba(247,244,236,.7)}
html.still .gm-got,html.still .ava.sm-fr-flame::before,html.still .ava.sm-fr-diamond::before,html.still .ava.sm-fr-diamond::after,html.still .card.back,html.still .hand .card.gm-best,html.still .pisk-cell.gm-hint,html.still:is([data-theme="midnight"],[data-theme="sakura"],[data-theme="diamond"]) :is(#table,#gscreen)::before{animation:none}
@media (prefers-reduced-motion:reduce){.ava.sm-fr-flame::before,.ava.sm-fr-diamond::before,.ava.sm-fr-diamond::after,.card.back,.hand .card.gm-best,.pisk-cell.gm-hint,.gm-bar i{animation:none;transition:none}}
@media (max-width:339px){.gm-grid{gap:.4rem}.gm-card{padding:.45rem .45rem .5rem}.gm-pill{padding:.45rem .5rem}.gm-pill b{font-size:1.25rem}.gm-deal{grid-template-columns:78px minmax(0,1fr)}}
/* the bigger catalogue: the tools over the offer (a search, categories that scroll sideways, a filter, the order) */
.gm-tools{display:grid;gap:.45rem;margin-top:.7rem;min-width:0}
.gm-find{position:relative;display:flex;align-items:center}
.gm-find>span{position:absolute;left:.7rem;font-size:.9rem;line-height:1;pointer-events:none;opacity:.7}
.gm-find input{flex:1;min-width:0;width:100%;min-height:42px;padding:.5rem 2.6rem .5rem 2.3rem;font:500 1rem/1.3 var(--ui);color:var(--ink);background:var(--field);border:1px solid var(--in-edge);border-radius:var(--in-radius)}
.gm-find input::placeholder{color:var(--muted);opacity:1}
.gm-find input:focus-visible,.gm-sort select:focus-visible{outline:2px solid var(--in-focus);outline-offset:2px}
.gm-x{position:absolute;right:1px;top:1px;bottom:1px;width:40px;padding:0;border:0;background:none;color:var(--muted);font:700 1rem/1 var(--ui)}
.gm-x[hidden]{display:none}
.gm-chips{display:flex;gap:.35rem;min-width:0;margin:0 -.2rem;padding:.1rem .2rem;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.gm-chips::-webkit-scrollbar{display:none}
.gm-chips button{flex:none;min-height:40px;padding:0 .85em;border:1.5px solid var(--hair);border-radius:999px;background:none;color:var(--ink-soft);font:700 .84rem/1 var(--ui);white-space:nowrap}
.gm-chips button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.gm-chips.gm-sub button{border-style:dashed;font-size:.78rem}
.gm-chips.gm-sub button[aria-pressed=true]{border-style:solid;border-color:var(--accent);background:var(--accent-soft);color:var(--ink)}
.gm-chips.gm-dim{opacity:.45}
.gm-seg{display:flex;padding:3px;border:1.5px solid var(--hair);border-radius:999px;background:var(--card)}
.gm-seg button{flex:1 1 auto;min-width:0;min-height:40px;padding:0 .5em;border:0;border-radius:999px;background:none;color:var(--ink-soft);font:700 .78rem/1.1 var(--ui);white-space:nowrap}
.gm-seg button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.gm-found{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-top:.55rem;font:600 .8rem/1.2 var(--ui);color:var(--muted)}
.gm-sort>span{display:none}
.gm-sort select{min-height:40px;max-width:11rem;padding:0 .7rem;border:1.5px solid var(--hair);border-radius:999px;background:var(--card);color:var(--ink);font:700 .8rem/1 var(--ui)}
.gm-finding{min-height:60vh}
.sheet p.gm-none{margin:1.4rem 0 0;text-align:center}
/* a card of the offer: the wish mark in its corner, the season, a bundle; small pictures stand still (they move in the sheet of the item) */
.gm-card{cursor:pointer}
.gm-card.off .btn{opacity:.62}
.gm-card .gm-tags{right:2.2rem}
.gm-card>small.gm-when{font-weight:700;color:var(--ink-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gm-wish{position:absolute;z-index:2;top:0;right:0;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;background:none}
.gm-wish span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--card);box-shadow:0 0 0 1px var(--hair);color:var(--muted);font:700 1rem/1 var(--ui)}
.gm-wish[aria-pressed=true] span{color:var(--cherry);box-shadow:0 0 0 1.5px var(--cherry)}
.gm-card>small.gm-rest{font-weight:700;color:var(--gm-gem-deep)}
.gm-rest s{font-weight:600;color:var(--muted)}
.gm-fan{display:flex;align-items:center;justify-content:center}
.gm-prev.gm-fan>i{margin:0 -.14em;font-size:1.4rem;filter:drop-shadow(0 1px 1px rgba(0,0,0,.25))}
.gm-big.gm-fan>i{margin:0 -.1em;font-size:3rem;filter:drop-shadow(0 2px 2px rgba(0,0,0,.25))}
.gm-fan>i:nth-child(odd){transform:rotate(-9deg) translateY(2px)}
.gm-fan>i:nth-child(even){transform:rotate(8deg) translateY(-3px)}
.gm-big.gm-emo{grid-template-columns:repeat(3,auto);gap:.3rem 1.3rem;justify-content:center;align-content:center}
.gm-big.gm-emo>i{font-size:2.7rem}
.gm-card>div,.gm-card>div *,.gm-card>div *::before,.gm-card>div *::after,.gm-deal>div *,.gm-deal>div *::before,.gm-deal>div *::after,.gm-pic *,.gm-pic *::before,.gm-pic *::after{animation-play-state:paused!important}
/* the sheet of one item: trying it on, the wish, what is inside */
.gm-side{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.4rem;margin-top:.5rem}
.gm-side .btn{flex:0 1 auto;min-width:0}
.gm-side .btn[aria-pressed=true]{border-color:var(--ink)}
.gm-side .gm-wishbtn[aria-pressed=true]{border-color:var(--cherry);color:var(--cherry)}
.gm-try{min-height:150px;margin-top:.7rem;border-radius:var(--radius);overflow:hidden}
.gm-phr{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.35rem}
.gm-phr li{max-width:100%;padding:.35rem .7rem;border-radius:14px 14px 14px 4px;background:var(--wash);color:var(--ink);font:600 .86rem/1.3 var(--ui);overflow-wrap:anywhere}
.rewards .gm-pic{flex:none;display:block;width:56px;height:46px;margin-right:0;border-radius:8px;overflow:hidden}
.rewards .gm-pic>div{width:56px;height:46px;min-height:0;margin:0;border-radius:0}
.gm-pic>.gm-prev>i{font-size:1.5rem}
.gm-pic>.gm-prev.gm-fan>i{font-size:1rem}
.gm-pic>.gm-prev .card{--w:26px}
.gm-pic>.gm-prev .ava{width:32px;height:32px;font-size:.9rem}
.rewards.gm-parts li{opacity:1}
.rewards.gm-parts li>span:not(.gm-pic){flex:1;min-width:0}
.gm-parts em{flex:none;font:800 .8rem/1 var(--ui);font-style:normal;white-space:nowrap;color:var(--ink)}
.gm-added{list-style:none;margin:.4rem 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.3rem}
.gm-added li{display:inline-flex;align-items:center;gap:.3em;padding:.2rem .65rem;border-radius:999px;background:var(--wash);color:var(--ink);font:700 .8rem/1.4 var(--ui)}
.gm-added i{font-style:normal}
.sheet .acts.gm-ownact{margin-top:.6rem}
.sheet p.gm-fine.gm-first{margin-top:0}
/* my things: kinds folded under their headings, the showcase (also on the public card of a player) */
.gm-own{display:grid;gap:.35rem}
.gm-fold{display:flex;align-items:center;gap:.6rem;width:100%;min-height:44px;padding:.4rem .75rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card);color:var(--ink);text-align:left;font:inherit}
.gm-fold b{flex:none;font-size:.9rem}
.gm-fold small{flex:1;min-width:0;font-size:.76rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gm-fold i{flex:none;font-style:normal;color:var(--muted)}
.gm-fold[aria-expanded=true]{border-color:var(--ink)}
.gm-own .rewards{margin:0 0 .3rem}
.gm-picks{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.5rem}
.gm-pick{display:inline-flex;align-items:center;gap:.35em;min-width:0;max-width:100%;min-height:40px;padding:0 .75em;border:1.5px solid var(--hair);border-radius:999px;background:var(--card);color:var(--ink);font:700 .8rem/1.1 var(--ui)}
.gm-pick i{flex:none;font-style:normal;font-size:1.15rem}
.gm-pick span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gm-pick[aria-pressed=true]{border-color:var(--gm-gem);background:var(--gm-gem-soft);box-shadow:inset 0 0 0 1px var(--gm-gem)}
.gm-show{display:inline-flex;align-items:center;gap:.35em;max-width:100%;margin-top:.3rem;padding:.12rem .65rem;border-radius:999px;background:var(--card);box-shadow:inset 0 0 0 1.5px var(--gm-gem);color:var(--ink);font:700 .78rem/1.5 var(--ui)}
.gm-show i{flex:none;font-style:normal;font-size:1.05rem}
.gm-show span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* tasks: a task drawn again, the streak freeze */
.gm-tfoot{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.gm-swap{flex:none;min-height:40px;margin:-.55rem -.3rem -.55rem 0;padding:0 .4em;border:0;background:none;color:var(--gm-gem-deep);font:700 .76rem/1 var(--ui);text-decoration:underline;text-underline-offset:.2em;white-space:nowrap}
.gm-ask{grid-column:1/-1;display:grid;gap:.45rem;padding-top:.55rem;border-top:1px dashed var(--hair)}
.sheet .gm-ask p{margin:0;font-size:.84rem;font-weight:700;line-height:1.3}
.gm-ask>span{display:grid;grid-template-columns:1fr 1.7fr;gap:.5rem}
.gm-ask .btn{min-width:0}
.sheet p.gm-more{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin:.6rem 0 0;font-size:.82rem;line-height:1.35;color:var(--muted)}
.gm-more b{color:var(--ink)}
.gm-more .btn{flex:none;min-width:0}
/* home: the shop tile on the way to the first wish */
.perk.gm-wt{min-width:0}
.perk.gm-wt>span{flex:1;min-width:0}
.perk .gm-wl{display:flex;flex-wrap:wrap;gap:0 .45em;min-width:0}
.perk .gm-wl>span{flex:1 1 4.6em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.perk .gm-wl.gm-wr>span{white-space:normal}
.perk .gm-wl>em{flex:none;font-style:normal;white-space:nowrap;font-variant-numeric:tabular-nums}
.perk .gm-wbar{height:4px;margin-top:.3rem}
html[data-skin="classic"] .perk.gm-tile.ready small{color:var(--gm-gem-lite)}
@media (max-width:339px){.gm-chips button{padding:0 .7em;font-size:.8rem}.gm-seg button{padding:0 .3em;font-size:.72rem}.gm-sort select{max-width:9rem}.gm-prev.gm-fan>i{font-size:1.2rem}}

/* ── the quick menu on a player, and phrases (sq-): public/social-ui.js. A tap on a player's plate
   opens a small card on that player (throw, react, say); a phrase somebody said is a bubble at
   their plate; the picker and the editor of phrases stand on a sheet. The card and the bubble lie
   on a table, so they are painted with the brand names; what is on a sheet uses the context names. ── */
[data-sqs]{cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
[data-sqs]:focus-visible{outline:2px solid var(--focus,var(--accent));outline-offset:2px}
.sq-probe{position:fixed;inset:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);visibility:hidden;pointer-events:none}
.sq-live{position:fixed;left:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sq-menu{position:fixed;z-index:17;left:8px;top:8px;display:flex;flex-direction:column;box-sizing:border-box;width:max-content;min-width:11rem;max-width:min(21rem,calc(100vw - 16px));padding:2px 6px 6px;border:1px solid var(--hair);border-radius:18px;background:var(--card);color:var(--ink);font-family:var(--ui);box-shadow:var(--shadow-lg);touch-action:manipulation}
.sq-menu.sq-pop{animation:sq-pop .16s var(--ease)}
.sq-menu button{position:relative;flex:none;margin:0;border:0;background:none;color:inherit;font-family:var(--ui);cursor:pointer;-webkit-tap-highlight-color:transparent}
.sq-menu button:active{background:var(--accent-soft)}
.sq-menu button:focus-visible{outline:2px solid var(--accent-deep);outline-offset:-2px}
.sq-head{flex:none;display:flex;align-items:center;gap:.4rem;min-height:40px;padding-left:.55rem}
.sq-head b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 .92rem/1.2 var(--ui)}
.sq-head small{flex:none;padding:.1em .55em;border:1px solid var(--hair);border-radius:999px;font:700 .64rem/1.5 var(--ui);color:var(--muted)}
.sq-menu .sq-x{width:40px;height:40px;border-radius:50%;font-size:.95rem;color:var(--muted)}
.sq-in{display:flex;flex-direction:column;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sq-row{flex:none;display:flex;gap:2px;padding:2px 0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;border-top:1px solid var(--hair)}
.sq-row::-webkit-scrollbar{display:none}
.sq-throws.sq-two{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,auto);grid-auto-columns:max-content;justify-content:start}
.sq-menu .sq-t,.sq-menu .sq-e{display:grid;place-items:center;width:46px;height:46px;padding:0;border-radius:50%;font-size:1.6rem;line-height:1}
.sq-menu .sq-t.sq-lock{grid-template-rows:1fr auto;width:auto;min-width:50px;padding:2px 3px 3px;border-radius:14px}
.sq-lock > span{font-size:1.3rem;opacity:.42;filter:grayscale(.7)}
.sq-lock small{font:700 .58rem/1.25 var(--ui);color:var(--muted);white-space:nowrap}
.sq-says{align-items:center;gap:.3rem;padding:5px 0 2px 2px}
.sq-says.sq-two{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,auto);grid-auto-columns:max-content;justify-content:start}
.sq-chips{display:flex;flex-wrap:wrap;gap:.35rem}
.sq-chip{display:inline-flex;align-items:center;max-width:100%;min-height:40px;margin:0;padding:.3rem .8rem;border:1px solid var(--edge);border-radius:999px;background:var(--wash);color:var(--fg);font:600 .86rem/1.25 var(--ui);text-align:left;cursor:pointer}
.sq-menu .sq-chip{border:1px solid var(--hair);background:var(--paper);color:var(--ink);font:600 .86rem/1.25 var(--ui);white-space:nowrap}
.sq-chip i{font-style:normal;opacity:.6}
.sq-menu .sq-chip.sq-more{position:sticky;right:0;z-index:1;grid-row:1/-1;align-self:stretch;justify-content:center;padding:.2rem .7rem;border-style:dashed;border-radius:16px;background:var(--card);color:var(--ink-soft);font-size:.78rem;line-height:1.3;text-align:center}
.sq-menu .sq-says:not(.sq-two) .sq-more br{display:none}
.sq-menu .sq-chip.sq-more::before{content:'';position:absolute;z-index:-1;inset:-4px -2px -4px -8px;background:linear-gradient(90deg,transparent,var(--card) 8px)}
.sq-off{flex:none;max-width:17rem;margin:0;padding:.45rem .5rem;border-top:1px solid var(--hair);font:500 .8rem/1.35 var(--ui);color:var(--muted)}
.sq-mod{flex:none;display:flex;flex-wrap:wrap;gap:.1rem .2rem;border-top:1px solid var(--hair)}
.sq-menu .sq-mod button{min-height:40px;padding:0 .55rem;border-radius:10px;font:600 .8rem/1.2 var(--ui);color:var(--ink-soft);text-decoration:underline;text-underline-offset:.2em}
.sq-tip{position:absolute;left:var(--sq-tip,50%);bottom:-7px;width:12px;height:12px;margin-left:-6px;border:solid var(--hair);border-width:0 1px 1px 0;background:var(--card);transform:rotate(45deg);pointer-events:none}
.sq-below .sq-tip{bottom:auto;top:-7px;border-width:1px 0 0 1px}
.sq-beside .sq-tip{display:none}
/* how long until it can be sent again: a ring that empties (with reduced motion: dimmed, and the seconds) */
.sq-wait > span{opacity:.36}
.sq-wait::after{content:'';position:absolute;inset:1px;padding:2.5px;border-radius:inherit;background:conic-gradient(var(--accent) calc(var(--sq-p,0)*1turn),transparent 0);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);pointer-events:none}
html.still .sq-wait::after{content:attr(data-left);inset:auto 1px 1px auto;min-width:1.6em;padding:0 .3em;border-radius:999px;background:var(--ink);color:var(--card);-webkit-mask:none;mask:none;font:700 .62rem/1.6 var(--ui);text-align:center}
.sq-shake{animation:sq-shake .28s linear}
@keyframes sq-shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
@keyframes sq-pop{from{opacity:0;transform:scale(.94)}}
html.still .sq-menu.sq-pop,html.still .sq-shake{animation:none}
/* a phrase somebody said: a bubble at their plate, like the lines of the computers */
.sq-say{position:fixed;z-index:15;left:0;top:0;box-sizing:border-box;max-width:min(15.5rem,calc(100vw - 16px));padding:.45rem .75rem;border-radius:1rem;font:600 .86rem/1.3 var(--ui);color:var(--ink);background:var(--ivory);box-shadow:var(--shadow);pointer-events:none;visibility:hidden}
.sq-say::after{content:'';position:absolute;left:var(--sq-tip,50%);bottom:-5px;width:10px;height:10px;margin-left:-5px;background:inherit;transform:rotate(45deg)}
.sq-say.sq-under::after{bottom:auto;top:-5px}
.sq-say.sq-go{visibility:visible;animation:sq-say 4.5s var(--ease) both}/* the duration is set by social-ui.js from the length of the phrase */
.sq-say{overflow-wrap:anywhere}
.sq-say.sq-own{pointer-events:auto;touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.sq-say.sq-hold{animation:none;visibility:visible}
.sq-say-to{display:block;margin-top:.1rem;font:600 .7rem/1.3 var(--ui);opacity:.66}
.sq-pen{position:relative;display:inline-block;margin:0 0 0 .35em;padding:0;border:0;background:none;color:inherit;font:inherit;opacity:.62}
button.sq-pen{cursor:pointer;text-decoration:underline dotted;text-underline-offset:.2em}
button.sq-pen::before{content:'';position:absolute;inset:-14px -12px}
.sq-mini{position:relative;z-index:1;display:flex;gap:.3rem;margin-top:.45rem;padding-top:.4rem;border-top:1px solid var(--hair)}
.sq-mini button{flex:1;min-height:40px;margin:0;padding:0 .7rem;border:1px solid var(--hair);border-radius:999px;background:none;color:var(--ink);font:700 .8rem/1.1 var(--ui);white-space:nowrap;cursor:pointer}
@keyframes sq-say{0%{opacity:0;transform:translateY(6px) scale(.92)}6%,88%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-6px)}}
html.still .sq-say.sq-go{animation:none;visibility:visible}
/* the old reaction bar: phrases and the bought reactions there too */
.reactbar .sq-bar{border-top:1px solid var(--rule);margin-top:4px;padding-top:4px}
.reactbar .sq-bar-em{flex-wrap:wrap;justify-content:flex-end;max-height:96px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
.reactbar .sq-barsay{width:auto;height:44px;padding:0 1em;border-radius:999px;font:700 .95rem/1 var(--ui);color:var(--ink)}
/* the table menu and the lobby */
.menulist button.sq-ro:disabled{opacity:1;cursor:default}
.sq-lobby{margin-top:.5rem}
/* the picker and the editor (on a sheet) */
.sq-to{margin-top:.2rem}
.sq-h{margin:.95rem 0 .4rem;font:800 .68rem/1.4 var(--ui);letter-spacing:.12em;text-transform:uppercase;color:var(--fg2)}
.sq-h2{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;margin-top:1.3rem}
.sq-h2 small{font:600 .82rem/1 var(--ui);letter-spacing:0;text-transform:none;color:var(--fg2)}
.sq-star[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft);color:var(--ink)}
.sq-star b{font-weight:400}
.sq-chip:focus-visible,.sq-slot:focus-visible,.sq-del:focus-visible,.sq-field input:focus-visible{outline:2px solid var(--in-focus);outline-offset:2px}
.sq-sets{list-style:none;margin:0;padding:0}
.sq-sets li{display:flex;align-items:center;justify-content:space-between;gap:.6rem;min-height:46px;border-bottom:1px solid var(--edge);font:600 .92rem/1.25 var(--ui);color:var(--fg)}
.sq-sets small{font:500 .82rem/1.25 var(--ui);color:var(--fg2);text-align:right}
.sq-note{margin:.7rem 0 0;padding:.6rem .8rem;border-radius:var(--radius);background:var(--wash);font:500 .86rem/1.45 var(--ui);color:var(--fg)}
.sq-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem;margin-top:.55rem}
.sq-slot{display:flex;align-items:center;gap:.45rem;min-width:0;min-height:42px;margin:0;padding:.2rem .55rem;border:1px solid var(--edge);border-radius:12px;background:var(--wash);color:var(--fg);font:600 .82rem/1.2 var(--ui);text-align:left}
button.sq-slot{cursor:pointer}
.sq-slot i{flex:none;display:grid;place-items:center;width:1.45rem;height:1.45rem;border-radius:50%;background:var(--accent);color:var(--on-accent);font:800 .72rem/1 var(--ui)}
.sq-slot span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sq-slot b{flex:none;font-weight:600;color:var(--fg2)}
.sq-slot.sq-free{border-style:dashed;background:none}
.sq-slot.sq-free i{border:1px dashed var(--edge2);background:none;color:var(--fg2)}
.sq-fine{margin:.55rem 0 0;font:500 .8rem/1.45 var(--ui);color:var(--fg2)}
.sq-fine b{color:var(--fg)}
.sq-moreslots{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem .6rem;margin:.55rem 0 0;font:500 .84rem/1.3 var(--ui);color:var(--fg2)}
.sq-own-list{list-style:none;margin:.4rem 0 0;padding:0}
.sq-own-list li{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:46px;border-bottom:1px solid var(--edge)}
.sq-own-list li > span:first-child{min-width:0;font:600 .92rem/1.3 var(--ui);color:var(--fg);overflow-wrap:anywhere}
.sq-own-list small{display:block;font:500 .74rem/1.3 var(--ui);color:var(--fg2)}
.sq-del{flex:none;width:42px;height:42px;border:0;border-radius:50%;background:none;color:var(--cherry);font-size:1rem;cursor:pointer}
.sq-ask{flex:none;display:flex;align-items:center;gap:.3rem;font:600 .84rem/1 var(--ui);color:var(--fg)}
.sq-form{display:flex;align-items:stretch;gap:.45rem;margin-top:.65rem}
.sq-field{position:relative;flex:1;display:block;min-width:0}
.sq-field input{box-sizing:border-box;width:100%;min-height:44px;padding:.55rem 3.3rem .55rem .75rem;font:500 1rem/1.3 var(--ui);color:var(--fg);background:var(--field);border:1px solid var(--in-edge);border-radius:var(--in-radius)}
.sq-field input:disabled{opacity:.5}
.sq-field small{position:absolute;right:.65rem;top:50%;transform:translateY(-50%);font:600 .72rem/1 var(--ui);color:var(--fg2);pointer-events:none}
.sq-form .btn{flex:none;white-space:nowrap}
.sq-err,.sq-ok{margin:.45rem 0 0;font:600 .86rem/1.4 var(--ui);color:var(--cherry)}
.sq-ok{color:var(--fg)}
.sq-pbtn{margin-top:.7rem}
@media (max-height:620px){.sq-throws.sq-two,.sq-says.sq-two{grid-template-rows:auto}.sq-menu .sq-says .sq-more br{display:none}}
@media (max-width:339px){.sq-slots{grid-template-columns:minmax(0,1fr)}.sq-menu .sq-t,.sq-menu .sq-e{width:44px;height:44px}.sq-chip,.sq-menu .sq-chip{padding:.3rem .65rem;font-size:.82rem}}

/* ── referral: invite a friend (rf-): public/refer-ui.js, server/referral.js. The tile and the banner for a visitor who
   came through somebody's link stand on the home screen (context names); the sheet with the link, the share links,
   the QR code and the invited friends, and the sheet with the card of a win are sheets (light in both skins). The QR
   code is black on white whatever the skin: that is what a camera reads. ── */
.rf-banner{position:relative;display:flex;gap:.7rem;align-items:flex-start;margin:0 0 .8rem;padding:.8rem 2.7rem .8rem .8rem;color:var(--fg);background:var(--btn);border:1.5px solid var(--accent-lite);border-radius:var(--radius)}
.rf-banner>i{font-style:normal;font-size:1.8rem;line-height:1.1}
.rf-banner>div{min-width:0}
.rf-banner b{display:block;font-size:1rem;line-height:1.25;overflow-wrap:anywhere}
.rf-banner p{margin:.2rem 0 .65rem;font-size:.9rem;line-height:1.35;color:var(--fg2)}
.rf-x{position:absolute;top:.1rem;right:.1rem;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:none;color:var(--fg2);font:700 1rem/1 var(--ui);cursor:pointer}
.rf-nets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-top:.6rem}
.rf-nets .btn{min-width:0;min-height:44px;padding:.3em .2em;font-size:.82rem;letter-spacing:0;text-transform:none}
.sheet p.rf-note{margin:.9rem 0 0;font-size:.86rem}
.sheet p.rf-wait{margin:1.2rem 0 0;text-align:center}
.rf-qr{width:max-content;max-width:100%;margin:1.2rem auto 0;text-align:center}
.rf-qr svg{display:block;width:188px;height:188px;border:1px solid var(--hair);border-radius:10px;background:#fff}
.rf-qr figcaption{margin-top:.35rem;font-size:.82rem;color:var(--muted)}
.rf-rules{margin:.5rem 0 0;padding-left:1.35rem}
.rf-rules li{margin:.3rem 0;line-height:1.4}
.rf-list{display:grid;gap:.45rem;margin:.6rem 0 0;padding:0;list-style:none}
.rf-fr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.2rem .6rem;align-items:center;padding:.55rem .7rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card)}
.rf-fr b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rf-fr small,.rf-fr .rf-bar{grid-column:1/-1}
.rf-fr small{font-size:.84rem;line-height:1.3}
.rf-fr.rf-off b,.rf-miss{color:var(--muted)}
.rf-st{padding:.15em .65em;border-radius:999px;background:var(--wash);color:var(--ink-soft);font-size:.76rem;font-weight:800;white-space:nowrap}
.rf-st.rf-ok{background:var(--accent-soft);color:var(--accent-deep)}
.rf-paid{font-weight:800}
.rf-bar{display:block;height:6px;border-radius:999px;background:var(--wash);overflow:hidden}
.rf-bar i{display:block;height:100%;border-radius:999px;background:var(--accent)}
.sheet p.rf-sum{margin:.8rem 0 0;font-weight:800}
.sheet p.rf-small{margin:.5rem 0 0;font-size:.84rem}
.sheet p.rf-none{margin:.6rem 0 0}
.sheet .acts.rf-cardact{margin-top:.8rem}
.rf-cardbox{max-width:340px;margin:.8rem auto 0}
.rf-cardbox canvas{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:var(--radius);box-shadow:var(--shadow)}

/* ── more looks for diamonds (lk-): public/looks-ui.js, server/gems.js. One block: more frames (.sm-fr-…),
   name plates ([data-np] on a seat's element), auras ([data-au], only while it is that seat's turn), entrances
   (.lk-en-…), podium poses ([data-pose]), card faces (html[data-face] / .lk-face-…), backgrounds of the player card
   (.lk-bg-…), combos, big emotes, and what the shop shows of them (pictures, a mock table). A look that IS a colour
   uses literals, like the frames and the card backs of the gm- block; everything else the names of both skins. */

/* frames (the ring is the sm-fr mask) */
.ava.sm-fr-neon::before{inset:-7px;color:#ff3df0;background:radial-gradient(farthest-side,transparent calc(100% - 5px),currentColor calc(100% - 4.4px),#fff calc(100% - 2.9px),#fff calc(100% - 2.1px),currentColor calc(100% - .6px));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4.5px));animation:lk-neon 8s linear infinite}
.ava.sm-fr-neon{filter:drop-shadow(0 0 5px #ff3df0);animation:lk-neon-glow 8s linear infinite}
@keyframes lk-neon{0%,100%{color:#ff3df0}20%{color:#8a5cff}40%{color:#3dd8ff}60%{color:#4dff8a}80%{color:#ffc93d}}
@keyframes lk-neon-glow{0%,100%{filter:drop-shadow(0 0 5px #ff3df0)}20%{filter:drop-shadow(0 0 5px #8a5cff)}40%{filter:drop-shadow(0 0 5px #3dd8ff)}60%{filter:drop-shadow(0 0 5px #4dff8a)}80%{filter:drop-shadow(0 0 5px #ffc93d)}}
.ava.sm-fr-aurora::before{inset:-8px;background:conic-gradient(#3dffa0,#7a5cff,#2de0d0,#b44dff,#49f0c0,#3dffa0,#8a5cff,#2de0d0,#3dffa0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 6.5px),#000 calc(100% - 4.5px),#000 calc(100% - 2px),transparent);mask:radial-gradient(farthest-side,transparent calc(100% - 6.5px),#000 calc(100% - 4.5px),#000 calc(100% - 2px),transparent);animation:gm-spin 5s linear infinite}
.ava.sm-fr-aurora{filter:drop-shadow(0 0 5px rgba(70,255,170,.85)) drop-shadow(0 0 3px rgba(150,100,255,.75));animation:lk-aurora 4s ease-in-out infinite}
@keyframes lk-aurora{50%{filter:drop-shadow(0 0 6px rgba(160,110,255,.9)) drop-shadow(0 0 3px rgba(60,235,200,.75))}}
.ava.sm-fr-gold::before{inset:-7px;background:conic-gradient(#b8862a,#f6d77a 6%,#fffbe0 11%,#f6d77a 17%,#c9952e 30%,#8a5e12 48%,#c9952e 62%,#e9c466 78%,#a87a20 90%,#b8862a);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4.5px));animation:gm-spin 3.4s linear infinite}
.ava.sm-fr-gold::after{content:"";position:absolute;inset:-2.4px;border-radius:50%;border:1px solid rgba(255,246,200,.75);pointer-events:none}
.ava.sm-fr-gold{filter:drop-shadow(0 0 5px rgba(255,200,80,.9))}
.ava.sm-fr-galaxy::before{inset:-8.5px;background:radial-gradient(1.2px 1.2px at 22% 12%,#fff,transparent),radial-gradient(1px 1px at 86% 30%,#fff,transparent),radial-gradient(1.3px 1.3px at 70% 91%,#ffe9c0,transparent),radial-gradient(1px 1px at 8% 64%,#cfe0ff,transparent),radial-gradient(1px 1px at 46% 4%,#fff,transparent),radial-gradient(1.1px 1.1px at 95% 62%,#fff,transparent),radial-gradient(1px 1px at 30% 95%,#fff,transparent),conic-gradient(#1b0f4a,#6a2bd9,#ff5ac8,#3a1a8a,#1fb6ff,#2a0f6a,#b44dff,#1b0f4a);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 6.5px),#000 calc(100% - 6px));mask:radial-gradient(farthest-side,transparent calc(100% - 6.5px),#000 calc(100% - 6px));animation:gm-spin 9s linear infinite}
.ava.sm-fr-galaxy::after{content:"";position:absolute;inset:-11.5px;border-radius:50%;pointer-events:none;background:radial-gradient(circle at 50% 3px,#fff 0 1.8px,rgba(190,160,255,.9) 2.3px,transparent 5px),radial-gradient(circle at 13% 72%,#fff 0 1.2px,rgba(120,200,255,.85) 1.8px,transparent 4px);animation:gm-spin 4.2s linear infinite reverse}
.ava.sm-fr-galaxy{filter:drop-shadow(0 0 6px rgba(150,90,255,.95)) drop-shadow(0 0 2px rgba(80,190,255,.8))}
.ava.sm-fr-pumpkin::before{inset:-7.5px;background:repeating-conic-gradient(rgba(110,40,0,.8) 0 3deg,transparent 3deg 30deg),conic-gradient(#ff8a1f,#ffb85a,#f26a0a,#ff8a1f,#ffb85a,#f26a0a,#ff8a1f);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px))}
.ava.sm-fr-pumpkin{filter:drop-shadow(0 0 5px rgba(255,140,30,.9));animation:lk-candle 2.6s linear infinite}
@keyframes lk-candle{0%,100%{filter:drop-shadow(0 0 5px rgba(255,140,30,.9))}9%{filter:drop-shadow(0 0 2px rgba(255,120,20,.5))}14%{filter:drop-shadow(0 0 7px rgba(255,170,50,1))}38%{filter:drop-shadow(0 0 4px rgba(255,140,30,.75))}44%{filter:drop-shadow(0 0 1.5px rgba(255,110,20,.45))}50%{filter:drop-shadow(0 0 6px rgba(255,160,40,.95))}74%{filter:drop-shadow(0 0 3px rgba(255,130,25,.6))}82%{filter:drop-shadow(0 0 8px rgba(255,180,60,1))}}
.ava.sm-fr-frost::before{inset:-7px;background:conic-gradient(#dff4ff,#9fd6f5,#ffffff 12%,#bfe6fa 20%,#7fc0ea 38%,#e8f8ff 50%,#9fd6f5 64%,#ffffff 76%,#8fcbee 88%,#dff4ff);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4.5px),#000 calc(100% - 4px));mask:radial-gradient(farthest-side,transparent calc(100% - 4.5px),#000 calc(100% - 4px));animation:gm-spin 7s linear infinite}
.ava.sm-fr-frost::after{content:"";position:absolute;inset:-10.5px;border-radius:50%;pointer-events:none;background:#fff;-webkit-mask:repeating-conic-gradient(from -2deg,#000 0 4deg,transparent 4deg 22.5deg,rgba(0,0,0,.75) 22.5deg 24.5deg,transparent 24.5deg 45deg),radial-gradient(farthest-side,transparent calc(100% - 4.5px),#000 calc(100% - 4px),#000 calc(100% - 1.5px),transparent);-webkit-mask-composite:source-in;mask:repeating-conic-gradient(from -2deg,#000 0 4deg,transparent 4deg 22.5deg,rgba(0,0,0,.75) 22.5deg 24.5deg,transparent 24.5deg 45deg),radial-gradient(farthest-side,transparent calc(100% - 4.5px),#000 calc(100% - 4px),#000 calc(100% - 1.5px),transparent);mask-composite:intersect;animation:lk-twinkle 2.2s ease-in-out infinite}
.ava.sm-fr-frost{filter:drop-shadow(0 0 4px rgba(170,225,255,.95))}
@keyframes lk-twinkle{0%,100%{opacity:1}50%{opacity:.35}}

/* name plates: only the name inside a seat's element is styled, by a gradient cut to the letters. The name elements,
   by screen: Hearts/Sedma .plate .nm · Vrhcáby #dSheet th: the bare text, wrapped in .lk-nm by looks-ui.js ·
   blackjack, poker, prší, žolíky, fotbal, město, piškvorky, tajná, lodě (its .lode-head) .nm · slova .sl-nm ·
   10 000 .tenk-name · kostkový poker .dpoker-name · kozy .kozy-nm · the shop's chip and mock table .lk-nm.
   --lk-np is the fill on a dark table, --lk-npl on a light ground (a score sheet: data-npl, set by the script). */
[data-np][data-seat] .nm,[data-np][data-seat] .lk-nm,[data-np][data-seat] .sl-nm,[data-np][data-seat] .tenk-name,[data-np][data-seat] .dpoker-name,[data-np][data-seat] .kozy-nm,.lk-chip[data-np] .lk-nm,.lk-m-seat[data-np] .lk-nm{background-image:var(--lk-np);background-size:var(--lk-nps,100% 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none;animation:var(--lk-npa,none)}
[data-np][data-seat] :is(.nm,.lk-nm,.sl-nm,.tenk-name,.dpoker-name,.kozy-nm)>*{-webkit-text-fill-color:currentcolor}
[data-np][data-npl]{--lk-np:var(--lk-npl)}
[data-np="mint"]{--lk-np:linear-gradient(#9df5cf,#9df5cf);--lk-npl:linear-gradient(#0b7450,#0b7450)}
[data-np="rose"]{--lk-np:linear-gradient(#ffb0d0,#ffb0d0);--lk-npl:linear-gradient(#b0226a,#b0226a)}
[data-np="gold"]{--lk-np:linear-gradient(100deg,#ffd76a,#ffc94a 20%,#fff8d6 40%,#ffd76a 55%,#f0b53a 80%,#ffd76a);--lk-npl:linear-gradient(100deg,#8a5a00,#7a4e00 20%,#c9951c 40%,#8a5a00 55%,#6e4600 80%,#8a5a00);--lk-nps:200% 100%;--lk-npa:lk-np-run 5s linear infinite}
[data-np="fire"]{--lk-np:linear-gradient(100deg,#ff6a3c,#ffb02e 20%,#fff0a0 34%,#ffb02e 48%,#ff6a3c 70%,#ff8a2a 86%,#ff6a3c);--lk-npl:linear-gradient(100deg,#b91c1c,#d2540a 20%,#e88a00 34%,#d2540a 48%,#b91c1c 70%,#c2410c 86%,#b91c1c);--lk-nps:200% 100%;--lk-npa:lk-np-run 2.6s linear infinite}
[data-np="ice"]{--lk-np:linear-gradient(100deg,#8fd8ff,#e8fbff 20%,#ffffff 30%,#b8ecff 45%,#7fcfff 70%,#d6f6ff 86%,#8fd8ff);--lk-npl:linear-gradient(100deg,#0b5c8a,#1d86c0 20%,#3aa2da 30%,#0f6a9c 45%,#0a4f7a 70%,#1d86c0 86%,#0b5c8a);--lk-nps:200% 100%;--lk-npa:lk-np-run 4.5s linear infinite}
[data-np="rainbow"]{--lk-np:linear-gradient(90deg,#ff7a8a,#ffb86a,#ffe96a,#7ee89a,#6ac8ff,#b99aff,#ff8ad8,#ff7a8a);--lk-npl:linear-gradient(90deg,#c21d3a,#b65a00,#7a6a00,#0f7a3a,#0b62b0,#5b3cc4,#b0267e,#c21d3a);--lk-nps:200% 100%;--lk-npa:lk-np-run 6s linear infinite}
[data-np="holo"]{--lk-np:linear-gradient(115deg,#b8fff0,#ffffff 12%,#d4c2ff 25%,#ffc2ec 38%,#ffffff 50%,#a8e4ff 62%,#c8ffd8 75%,#ffe9b8 88%,#b8fff0);--lk-npl:linear-gradient(115deg,#0f7a6a,#3a3a48 12%,#5b3fc4 25%,#b0267e 38%,#3a3a48 50%,#1a6fb0 62%,#0f7a3a 75%,#8a5a00 88%,#0f7a6a);--lk-nps:260% 100%;--lk-npa:lk-np-holo 2.8s ease-in-out infinite alternate}
[data-np="spooky"]{--lk-np:linear-gradient(100deg,#ff9a2e,#ffb85a 28%,#c79bff 58%,#b47aff 80%,#ff9a2e);--lk-npl:linear-gradient(100deg,#b4500a,#c2410c 28%,#6b2fb3 58%,#5a23a0 80%,#b4500a);--lk-nps:200% 100%;--lk-npa:lk-np-spook 7s linear infinite}
[data-np="candy"]{--lk-np:repeating-linear-gradient(115deg,#ff8f9c 0 4px,#ffffff 4px 8px);--lk-npl:repeating-linear-gradient(115deg,#c8102e 0 5px,#7d0a1c 5px 10px)}
@keyframes lk-np-run{to{background-position:200% 0}}
@keyframes lk-np-holo{from{background-position:0 0}to{background-position:100% 0;filter:hue-rotate(40deg)}}
@keyframes lk-np-spook{0%{background-position:0 0;opacity:1}86%{opacity:1}87%{opacity:.25}88.5%{opacity:1}90%{opacity:.4}91%{opacity:1}93%{opacity:.15}94.5%{opacity:1}100%{background-position:200% 0;opacity:1}}

/* auras: a ring the script puts inside the avatar of the seat that is on turn (the frames keep ::before/::after);
   in Vrhcáby, where a seat is a header cell with no avatar, the cell's own turn line glows instead */
.ava>.lk-au{position:absolute;inset:-21%;border-radius:50%;pointer-events:none;font-style:normal}
.lk-au::before,.lk-au::after{content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none}
[data-au="gold"] .lk-au{background:radial-gradient(closest-side,transparent 67%,rgba(255,214,110,.95) 77%,rgba(255,190,60,.4) 89%,transparent);animation:lk-au-breathe 2.2s ease-in-out infinite}
[data-au="gold"] .lk-au::before{background:conic-gradient(transparent 0 70%,rgba(255,250,220,.95) 82%,transparent 94%);-webkit-mask:radial-gradient(closest-side,transparent 68%,#000 75%,#000 85%,transparent 92%);mask:radial-gradient(closest-side,transparent 68%,#000 75%,#000 85%,transparent 92%);animation:gm-spin 2.8s linear infinite}
@keyframes lk-au-breathe{50%{transform:scale(1.08);opacity:.7}}
[data-au="fire"] .lk-au{background:radial-gradient(closest-side,transparent 66%,rgba(255,224,110,.95) 75%,rgba(255,120,20,.7) 87%,transparent);animation:lk-au-flick .5s ease-in-out infinite alternate}
[data-au="fire"] .lk-au::before,[data-au="fire"] .lk-au::after{inset:-5%;background:repeating-conic-gradient(rgba(255,170,40,.95) 0 8deg,rgba(255,80,20,.5) 13deg,transparent 18deg 36deg);-webkit-mask:radial-gradient(closest-side,transparent 62%,#000 71%,rgba(0,0,0,.6) 87%,transparent);mask:radial-gradient(closest-side,transparent 62%,#000 71%,rgba(0,0,0,.6) 87%,transparent);filter:blur(.7px);animation:gm-spin 2.4s linear infinite}
[data-au="fire"] .lk-au::after{background:repeating-conic-gradient(from 11deg,rgba(255,236,150,.9) 0 5deg,transparent 12deg 45deg);animation:gm-spin 1.7s linear infinite reverse}
@keyframes lk-au-flick{from{transform:scale(.98);opacity:.85}to{transform:scale(1.06);opacity:1}}
[data-au="volt"] .lk-au{inset:-13%;box-shadow:inset 0 0 0 1.5px rgba(190,240,255,.9),0 0 8px 1px rgba(90,210,255,.85),inset 0 0 6px rgba(90,210,255,.7);animation:lk-au-volt .9s steps(1) infinite}
[data-au="volt"] .lk-au::before,[data-au="volt"] .lk-au::after{inset:-13%;background:repeating-conic-gradient(from 8deg,#f2fdff 0 2.5deg,transparent 2.5deg 31deg,#8fe4ff 31deg 33deg,transparent 33deg 72deg);-webkit-mask:radial-gradient(closest-side,transparent 76%,#000 79%,#000 97%,transparent);mask:radial-gradient(closest-side,transparent 76%,#000 79%,#000 97%,transparent);animation:lk-au-arc .42s steps(1) infinite}
[data-au="volt"] .lk-au::after{animation-duration:.57s;animation-direction:reverse}
@keyframes lk-au-volt{0%{opacity:1}30%{opacity:.55}38%{opacity:1}71%{opacity:.7}78%{opacity:1}}
@keyframes lk-au-arc{0%{transform:rotate(0);opacity:1}17%{transform:rotate(47deg);opacity:0}33%{transform:rotate(113deg);opacity:1}50%{transform:rotate(190deg);opacity:.4}67%{transform:rotate(251deg);opacity:1}83%{transform:rotate(304deg);opacity:0}}
[data-au="cosmic"] .lk-au{background:radial-gradient(closest-side,transparent 66%,rgba(150,100,255,.8) 77%,rgba(60,160,255,.35) 89%,transparent);animation:lk-au-breathe 3s ease-in-out infinite}
[data-au="cosmic"] .lk-au::before,[data-au="cosmic"] .lk-au::after{inset:-5%;background:radial-gradient(circle at 50% 6%,#fff 0 1.7px,rgba(200,170,255,.95) 2.3px,transparent 5.5px),radial-gradient(circle at 50% 94%,#fff 0 1.1px,rgba(140,210,255,.9) 1.7px,transparent 4px);animation:gm-spin 2.6s linear infinite}
[data-au="cosmic"] .lk-au::after{inset:-1%;background:radial-gradient(circle at 6% 50%,#ffe9a8 0 1.4px,rgba(255,200,120,.9) 2px,transparent 4.5px),radial-gradient(circle at 94% 50%,#fff 0 1px,rgba(255,150,220,.9) 1.6px,transparent 4px);animation:gm-spin 4.1s linear infinite reverse}
#dSheet th[data-au]{animation:lk-au-th 1.8s ease-in-out infinite}
#dSheet th[data-au="gold"]{--lk-auc:232,168,30}
#dSheet th[data-au="fire"]{--lk-auc:240,96,24}
#dSheet th[data-au="volt"]{--lk-auc:40,170,235}
#dSheet th[data-au="cosmic"]{--lk-auc:140,90,240}
@keyframes lk-au-th{0%,100%{box-shadow:inset 0 -3px 0 rgb(var(--lk-auc)),inset 0 -13px 11px -8px rgba(var(--lk-auc),.5)}50%{box-shadow:inset 0 -3px 0 rgb(var(--lk-auc)),inset 0 -22px 14px -8px rgba(var(--lk-auc),.9)}}

/* room at a table: a seat keeps only a few pixels free around its avatar (the name stands right under or beside it,
   the screen's edge right above), so there every frame and aura reaches 5 px out at most and the rest of the ring
   lies on the avatar's rim. In the shop, on the podium and on a player card they keep their full size. The games
   leave those 5 px free: see "room for a frame" in the last section of this file. */
:is(#table,#groot,#dSheet) .ava.sm-fr::before{inset:-5px}
:is(#table,#groot,#dSheet) .ava:is(.sm-fr-diamond,.sm-fr-galaxy,.sm-fr-frost)::after{inset:-6px}
:is(#table,#groot,#dSheet) .ava>.lk-au{inset:max(-21%,-5px)}
:is(#table,#groot,#dSheet) :is([data-au="fire"],[data-au="cosmic"]) .ava>.lk-au{inset:max(-21%,-3.5px)}
:is(#table,#groot,#dSheet) [data-au="volt"] .ava>.lk-au{inset:max(-13%,-2.5px)}
:is(#table,#groot,#dSheet) [data-au="volt"] .ava>.lk-au::before,:is(#table,#groot,#dSheet) [data-au="volt"] .ava>.lk-au::after{inset:max(-13%,-2.5px)}

/* entrances: the shell's card (.fx-enter, 3 s) in another dress; sparks, flashes and bolts are drawn by the script */
.fx-enter.lk-en::before,.fx-enter.lk-en::after{pointer-events:none}
.fx-enter.lk-en-sparkle{background:linear-gradient(110deg,#fff 0 30%,#dcecff 42%,#fffbe0 50%,#dcecff 58%,#fff 70%);background-size:260% 100%;box-shadow:0 10px 34px rgba(0,0,0,.45),0 0 0 2px rgba(255,232,140,.95),0 0 18px rgba(255,236,150,.75)}
.fx-enter.lk-en-sparkle::before,.fx-enter.lk-en-sparkle::after{content:"✦";position:absolute;left:-7px;top:-10px;font:400 20px/1 sans-serif;color:#ffe24a;text-shadow:0 0 6px #fff;animation:lk-twinkle .9s ease-in-out infinite}
.fx-enter.lk-en-sparkle::after{left:auto;top:auto;right:-5px;bottom:-9px;font-size:15px;animation-delay:.45s}
.fx-enter.lk-en-carpet{color:#fff6e0;background:linear-gradient(110deg,#7a0d1c 0 30%,#a3122a 42%,#d23a52 50%,#a3122a 58%,#7a0d1c 70%);background-size:260% 100%;box-shadow:0 10px 34px rgba(0,0,0,.5),inset 0 0 0 2px rgba(255,214,120,.85)}
.fx-enter.lk-en-carpet::before{content:"";position:absolute;z-index:-1;left:50%;top:calc(100% - 3px);width:150px;height:78px;margin-left:-75px;background:linear-gradient(90deg,#e0b040 0 5px,transparent 5px calc(100% - 5px),#e0b040 calc(100% - 5px)),repeating-linear-gradient(180deg,rgba(0,0,0,.1) 0 2px,transparent 2px 9px),linear-gradient(180deg,#7a0d1c,#b3162c 50%,#c92a40);border-radius:0 0 4px 4px;box-shadow:0 8px 14px -6px rgba(0,0,0,.6);transform-origin:50% 0;animation:lk-carpet 3s var(--ease) both}
@keyframes lk-carpet{0%,15%{transform:perspective(220px) rotateX(-34deg) scaleY(0);opacity:0}17%{opacity:1}42%{transform:perspective(220px) rotateX(-34deg) scaleY(1)}84%{transform:perspective(220px) rotateX(-34deg) scaleY(1);opacity:1}100%{transform:perspective(220px) rotateX(-34deg) scaleY(1);opacity:0}}
.fx-enter.lk-en-thunder{color:#eef4ff;background:linear-gradient(110deg,#1c2233 0 30%,#34405e 42%,#6f84b8 50%,#34405e 58%,#1c2233 70%);background-size:260% 100%;box-shadow:0 10px 34px rgba(0,0,0,.6),inset 0 0 0 2px rgba(170,200,255,.75),0 0 22px rgba(120,170,255,.65);animation:fx-enter 3s var(--ease) both,fx-shine 1.6s linear .35s both,lk-quake .55s linear .5s}
.fx-enter.lk-en-thunder::before{content:"⚡";position:absolute;right:-7px;top:-13px;font:400 23px/1 sans-serif;filter:drop-shadow(0 0 5px #bcd4ff);animation:lk-twinkle .6s steps(2) infinite}
@keyframes lk-quake{15%{translate:-4px 1px}30%{translate:4px -1px}45%{translate:-3px 0}60%{translate:3px 1px}75%{translate:-2px 0}90%{translate:1px 0}}
.fx-enter.lk-en-royal{background:linear-gradient(110deg,#f6d77a 0 30%,#d9a43a 42%,#fffbe6 50%,#d9a43a 58%,#f6d77a 70%);background-size:260% 100%;box-shadow:0 10px 34px rgba(0,0,0,.5),inset 0 0 0 2px #fff3c4,inset 0 0 0 3.5px #8a5e12,0 0 0 2px #c9952e,0 0 26px rgba(255,214,110,.9)}
.fx-enter.lk-en-royal::before{content:"👑";position:absolute;left:18px;top:-13px;font:400 24px/1 sans-serif;rotate:-14deg;animation:lk-crown 3s var(--ease) both}
.fx-enter.lk-en-royal::after{content:"";position:absolute;inset:-6px;border-radius:999px;border:1.5px solid rgba(255,236,170,.75);animation:lk-twinkle 1.2s ease-in-out infinite}
@keyframes lk-crown{0%,17%{translate:0 -34px;opacity:0}27%{translate:0 3px;opacity:1}32%,100%{translate:0 0;opacity:1}}
.fx-enter.fx-plain.lk-en::before,.fx-enter.fx-plain.lk-en::after{animation:none}
.fx-enter.fx-plain.lk-en-carpet::before{transform:perspective(220px) rotateX(-34deg)}

/* podium poses: they start as the player lands on the risen column (--d, see .pod-who); the cup rises while it drops */
[data-pose="jump"] .ava{animation:lk-jump 1s cubic-bezier(.3,0,.4,1) calc(var(--d,-.75s) + .75s) infinite}
@keyframes lk-jump{0%,62%,100%{translate:0 0;scale:1 1}10%{translate:0 2px;scale:1.1 .88}34%{translate:0 -14px;scale:.95 1.07}56%{translate:0 1px;scale:1.07 .93}}
[data-pose="spin"] .ava{animation:lk-spin 1.9s ease-in-out calc(var(--d,-.75s) + .75s) infinite}
@keyframes lk-spin{0%,18%{transform:rotateY(0)}70%,100%{transform:rotateY(720deg)}}
[data-pose="dance"] .ava{animation:lk-dance 1.2s ease-in-out calc(var(--d,-.75s) + .75s) infinite}
@keyframes lk-dance{0%,100%{rotate:-13deg;translate:-5px 0}25%{rotate:0deg;translate:0 -4px}50%{rotate:13deg;translate:5px 0}75%{rotate:0deg;translate:0 -4px}}
[data-pose="champ"] .ava{animation:lk-champ 1.8s ease-in-out calc(var(--d,-.75s) + 1.05s) infinite}
@keyframes lk-champ{50%{scale:1.07}}
.ava>.lk-cup{position:absolute;z-index:3;left:50%;bottom:76%;margin-left:-.5em;width:1em;font:400 1.2em/1 sans-serif;font-style:normal;text-align:center;text-indent:0;pointer-events:none;filter:drop-shadow(0 0 5px rgba(255,214,110,.9));animation:lk-cup-rise .55s var(--ease) calc(var(--d,-.5s) + .5s) both,lk-cup-bob 1.6s ease-in-out calc(var(--d,-.5s) + 1.05s) infinite}
.ava>.lk-cup::before,.ava>.lk-cup::after{content:"✦";position:absolute;left:92%;top:-22%;font-size:.5em;color:#fff6c8;text-shadow:0 0 4px #ffd24a;animation:lk-twinkle .8s ease-in-out calc(var(--d,-.5s) + 1.05s) infinite both}
.ava>.lk-cup::after{left:-18%;top:28%;font-size:.38em;animation-duration:1.1s}
.pod-col[data-pose="champ"] .pod-who .ava{margin-top:calc(7px + .75em)} /* the cup rises between the medal and the head, not over the medal */
@keyframes lk-cup-rise{from{translate:0 90%;scale:.3;opacity:0}}
@keyframes lk-cup-bob{0%,100%{translate:0 0;rotate:-5deg}50%{translate:0 -4px;rotate:5deg}}
.pod-still [data-pose] .ava,.pod-still .lk-cup,.pod-still .lk-cup::before,.pod-still .lk-cup::after{animation:none}

/* card faces: what the cards look like to the player who wears one (never told to a table). Colours and sizes only;
   backs, jokers, the games' hint/selected/illegal marks and the queen's frame keep their own rules (:where keeps
   these as weak as the skin's .card rules they follow) */
:where(html[data-face="big"],.lk-face-big) .card:where(:not(.back,.jk,.zoliky-joker)) .idx{left:.04em;top:.05em;width:.4em;gap:.02em}
:where(html[data-face="big"],.lk-face-big) .card:where(:not(.back,.jk,.zoliky-joker)) .idx.flip{left:auto;top:auto;right:.04em;bottom:.05em}
:where(html[data-face="big"],.lk-face-big) .card:where(:not(.back,.jk,.zoliky-joker)) .idx b{font-size:.43em;letter-spacing:-.05em}
:where(html[data-face="big"],.lk-face-big) .card:where(:not(.back,.jk,.zoliky-joker)) .idx svg{width:.3em;height:.3em}
:where(html[data-face="big"],.lk-face-big) .card:where(:not(.back,.jk,.zoliky-joker)) .mid.face i{display:none}
:where(html[data-face="big"],.lk-face-big) .card:where(:not(.back,.jk,.zoliky-joker)) .mid svg,:where(html[data-face="big"],.lk-face-big) .card:where(:not(.back,.jk,.zoliky-joker)) .mid.ace svg,:where(html[data-face="big"],.lk-face-big) .card:where(:not(.back,.jk,.zoliky-joker)) .mid.face svg{width:.3em;height:.3em;margin:0;opacity:.16}
:where(html[data-face="four"],.lk-face-four) .card:where(:not(.back,.jk,.zoliky-joker)):has(use[href="#sD"]){color:#1257c9}
:where(html[data-face="four"],.lk-face-four) .card:where(:not(.back,.jk,.zoliky-joker)):has(use[href="#sC"]){color:#13773a}
:where(html[data-face="retro"],.lk-face-retro) .card:where(:not(.back,.jk,.zoliky-joker)){color:#2a2018;background:radial-gradient(120% 90% at 20% 8%,rgba(255,250,226,.9),transparent 60%),radial-gradient(60% 50% at 88% 92%,rgba(160,112,44,.26),transparent 70%),linear-gradient(158deg,#f4e7bd,#e5cf96);box-shadow:inset 0 0 0 .02em #eddfae,inset 0 0 0 .03em rgba(92,62,22,.75),inset 0 0 0 .046em #eddfae,inset 0 0 0 .054em rgba(92,62,22,.5),0 0 0 1px rgba(60,40,10,.35),0 1px 1px rgba(0,0,0,.3),0 .14em .26em -.1em rgba(0,0,0,.6)}
:where(html[data-face="retro"],.lk-face-retro) .card.red:where(:not(.back,.jk,.zoliky-joker)){color:#a3231c}
:where(html[data-face="retro"],.lk-face-retro) .card:where(:not(.back,.jk,.zoliky-joker)) .idx b{font-family:"Times New Roman",Times,Georgia,serif;font-variant-numeric:lining-nums;font-weight:700;font-stretch:normal;font-size:.31em;letter-spacing:-.07em}
:where(html[data-face="retro"],.lk-face-retro) .card:where(:not(.back,.jk,.zoliky-joker)) .mid.face i{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-style:italic;font-size:.56em}
:where(html[data-face="neon"],.lk-face-neon) .card:where(:not(.back,.jk,.zoliky-joker)){color:#7df3ff;background:linear-gradient(158deg,#211d36,#0f0d1a);box-shadow:inset 0 0 0 .018em currentColor,inset 0 0 .12em rgba(255,255,255,.1),0 0 0 1px rgba(255,255,255,.34),0 1px 1px rgba(0,0,0,.3),0 .14em .26em -.1em rgba(0,0,0,.7)}
:where(html[data-face="neon"],.lk-face-neon) .card.red:where(:not(.back,.jk,.zoliky-joker)){color:#ff86b0}
:where(html[data-face="neon"],.lk-face-neon) .card:where(:not(.back,.jk,.zoliky-joker)) :is(.idx b,.mid i){text-shadow:0 0 .14em currentColor}
:where(html[data-face="neon"],.lk-face-neon) .card:where(:not(.back,.jk,.zoliky-joker)) svg{filter:drop-shadow(0 0 .04em currentColor)}
:where(html[data-face="gold"],.lk-face-gold) .card:where(:not(.back,.jk,.zoliky-joker)){background:linear-gradient(158deg,#fffdf3,#f5ead0);box-shadow:inset 0 0 0 .02em #c9a23a,inset 0 0 0 .034em #fffdf3,inset 0 0 0 .048em #dcb650,0 0 0 1px rgba(120,84,10,.5),0 1px 1px rgba(0,0,0,.3),0 .14em .26em -.1em rgba(0,0,0,.6)}
:where(html[data-face="gold"],.lk-face-gold) .card.queen:where(:not(.back,.jk,.zoliky-joker)){box-shadow:inset 0 0 0 .05em #5b2a86,inset 0 0 0 .068em #dcb650,0 0 0 1px rgba(120,84,10,.5),0 1px 1px rgba(0,0,0,.3),0 .14em .26em -.1em rgba(0,0,0,.6);background:linear-gradient(158deg,#fbf3ff,#eadcf5)}
:where(html[data-face="gold"],.lk-face-gold) .card:where(:not(.back,.jk,.zoliky-joker)) .mid.face i{background:linear-gradient(135deg,#7a5210,#c9952e 30%,#f3d98a 48%,#b8862a 62%,#7a5210);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 .012em 0 rgba(90,60,10,.45))}

/* what the shop shows: a picture of a look (small on a card, large on the item's sheet) */
.lk-prev,.lk-big{position:relative;display:grid;place-items:center;height:64px;border-radius:10px;background:var(--wash);overflow:hidden}
.lk-big{height:150px;margin-top:.7rem;border-radius:var(--radius)}
.lk-prev.dark,.lk-big.dark{background:radial-gradient(120% 90% at 50% 30%,var(--plum-1),var(--plum-3))}
.lk-prev>i,.lk-big>i{font-style:normal;font-size:2rem;line-height:1}
.lk-big>i{font-size:4.6rem}
.lk-prev .ava{width:36px;height:36px;font-size:1rem;color:var(--paper);background-color:var(--ink)}
.lk-big .ava{width:76px;height:76px;font-size:2.1rem;color:var(--paper);background-color:var(--ink)}
.lk-prev canvas.lk-die{width:56px;height:56px}
.lk-big canvas.lk-die{width:120px;height:120px}
.lk-wear{display:grid;place-items:center}
.lk-chip{max-width:92%;padding:.25em .8em;border-radius:999px;background:rgba(0,0,0,.34);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);font:800 .95rem/1.5 var(--ui);color:var(--ivory);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk-big .lk-chip{font-size:1.5rem}
.lk-cards{display:flex}
.lk-prev .lk-cards .card{--w:34px}
.lk-big .lk-cards .card{--w:74px}
.lk-cards .card+.card{margin-left:-.3em;transform:rotate(8deg) translateY(.04em)}
.lk-fan{position:relative;display:block;width:100%;height:100%}
.lk-fan>i{position:absolute;left:50%;top:50%;font-style:normal;font-size:1.4rem;line-height:1;translate:calc(-50% + var(--i)*var(--s,.7em)) calc(-50% + var(--i)*var(--i)*.07em);rotate:calc(var(--i)*8deg)}
.lk-big .lk-fan>i{font-size:3.2rem}
.lk-bgbox{padding:0;border-radius:10px}
.lk-bgmini{display:flex;align-items:center;gap:.45rem;max-width:88%;font:800 .8rem/1.2 var(--ui)}
.lk-bgmini b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk-prev .lk-bgmini .ava{flex:none;width:26px;height:26px;font-size:.78rem}
.lk-big .lk-bgmini{font-size:1.25rem;gap:.8rem}
.lk-big .lk-bgmini .ava{flex:none;width:60px;height:60px;font-size:1.7rem}
.lk-big.lk-bgbox{border-radius:var(--radius)}
.fx-enter.lk-mini{position:relative;left:auto;right:auto;top:auto;z-index:0;flex:none;width:max-content;margin:0 -60px;max-width:none;white-space:nowrap;animation:none;scale:.56}
.lk-big .fx-enter.lk-mini{margin:0;scale:.95}

/* the mock table of the shop: felt, two computers, my plate, a few cards, and whatever the look needs */
.lk-mock{position:relative;isolation:isolate;display:grid;grid-template:auto minmax(0,1fr) auto/minmax(0,1fr) minmax(0,1fr);gap:4px 8px;height:260px;margin-top:.7rem;padding:10px;border-radius:var(--radius);overflow:hidden;color:var(--ivory);background:radial-gradient(120% 95% at 50% 30%,var(--plum-1),var(--plum-2) 60%,var(--plum-3));--cw:38px}
.lk-m-felt{z-index:-1}
.lk-m-seat{position:relative;display:flex;align-items:center;gap:.5rem;min-width:0;font:700 .82rem/1.3 var(--ui)}
.lk-m-seat .ava{flex:none;width:38px;height:38px;margin:7px;font-size:1.05rem;color:var(--ava-fg,var(--ivory));background:var(--ava-bg,rgba(0,0,0,.28))}
.lk-m-seat .lk-nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk-m-b{flex-direction:row-reverse}
.lk-m-mid{grid-column:1/-1;position:relative;display:grid;place-items:center;min-height:0;min-width:0}
.lk-m-foot{grid-column:1/-1;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;min-width:0}
.lk-m-hand,.lk-m-trick{display:flex;flex:none}
.lk-m-hand .card+.card{margin-left:calc(var(--cw)*-.5)}
.lk-m-trick{--cw:46px;gap:6px}
.lk-m-trick .card:nth-child(1){rotate:-7deg}
.lk-m-trick .card:nth-child(3){rotate:6deg}
.lk-m-tray{position:relative;width:100%;height:118px;border-radius:14px;background:rgba(0,0,0,.2);box-shadow:inset 0 0 0 1.5px var(--line)}
.lk-m-tray>canvas{position:absolute;left:0;top:0;display:block;width:100%;height:100%;pointer-events:none}
.lk-m-tray>canvas:first-child{opacity:0}
.lk-mock .fx-enter{position:absolute;top:8px;z-index:3;max-width:calc(100% - 20px)}
.lk-m-solo{grid-template:minmax(0,1fr)/minmax(0,1fr)}
.lk-m-pod{display:flex;align-items:flex-end;justify-content:center;gap:6px;width:100%;max-width:19rem;height:100%}
.lk-m-pod .pod-who{animation:none}
.lk-m-pod .pod-step{animation:none}
.lk-m-pod .pod-p1 .pod-step{height:74px}
.lk-m-pod .pod-p2 .pod-step{height:50px}
.lk-m-pod .pod-p3 .pod-step{height:34px}
.lk-m-pod .ava{width:42px;height:42px;font-size:1.15rem;background:rgba(0,0,0,.3)}
.lk-m-snd{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
.lk-m-snd .btn{background:var(--card);color:var(--ink);border-color:transparent;opacity:1}
.lk-m-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(64px,1fr));gap:6px;width:100%;max-height:100%;overflow:auto}
.lk-mock .lk-pcard{width:min(100%,19rem);background-color:var(--paper);color:var(--ink);box-shadow:0 8px 22px rgba(0,0,0,.4)}
.lk-pcard .st-head .ava{flex:none;width:48px;height:48px;margin:6px;font-size:1.3rem;color:var(--paper);background-color:#17170f}
.lk-pcard h2{margin:0;font:400 1.35rem/1.1 var(--display);text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk-pcard .rankline{font-size:.8rem}
.lk-pcard .st-nums{margin-top:.5rem;gap:.35rem}
.lk-pcard .st-nums div{padding:.3rem .2rem}
.lk-pcard .st-nums b{font-size:1.1rem}
.lk-pcard .st-nums div>span{font-size:.68rem}
.lk-m-rain{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.lk-m-rain>i{position:absolute;left:var(--x);top:-2rem;font-style:normal;font-size:1.3rem;animation:lk-rain var(--t) linear var(--w) infinite}
@keyframes lk-rain{to{transform:translateY(300px) rotate(40deg)}}
.lk-m-emote{position:absolute;left:26px;bottom:100%;z-index:4;font:400 46px/1 sans-serif;translate:-50% 0;pointer-events:none;animation:lk-m-pop 1.8s var(--ease) both}
@keyframes lk-m-pop{0%{scale:.2;opacity:0}12%{scale:1.25;rotate:-12deg;opacity:1}22%{scale:.92;rotate:9deg}32%{scale:1.05;rotate:-5deg}44%,70%{scale:1;rotate:0deg;opacity:1}100%{translate:-50% -36px;opacity:0}}
.lk-m-say{position:absolute;left:8px;bottom:calc(100% + 2px);z-index:4;width:max-content;max-width:min(230px,70vw);padding:.4em .75em;border-radius:14px 14px 14px 4px;background:var(--ivory);color:#17170f;font:700 .86rem/1.3 var(--ui);white-space:normal;box-shadow:0 6px 16px rgba(0,0,0,.4);transform-origin:0 100%}

/* backgrounds of the player card (the class goes on the card's box in the statistics sheet: a light sheet in both
   skins). A dark one turns the names of the sheet's ink light for what stands on it. */
:where([class*="lk-bg-"]){position:relative;isolation:isolate;overflow:hidden;padding:.7rem .8rem;border-radius:var(--radius)}
[class*="lk-bg-"]::before,[class*="lk-bg-"]::after{pointer-events:none}
.lk-bg-dusk,.lk-bg-felt,.lk-bg-waves,.lk-bg-stars{--ink:#fffaf0;--ink-soft:#f1e9dc;--muted:rgba(255,248,236,.84);--hair:rgba(255,255,255,.3);--card:rgba(255,255,255,.13);--wash:rgba(255,255,255,.14);--accent-deep:#ffe7a8;--accent-soft:rgba(255,255,255,.16);--mist:rgba(255,248,236,.84);--line:rgba(255,255,255,.3);color:#fffaf0}
:is(.lk-bg-dusk,.lk-bg-felt,.lk-bg-waves,.lk-bg-stars) :is(h2,h3,.quiet,.st-a,p.st-info){color:var(--ink)}
:is(.lk-bg-dusk,.lk-bg-felt,.lk-bg-waves,.lk-bg-stars) :is(.quiet,.st-legend,.st-bar-v){color:var(--muted)}
:is(.lk-bg-dusk,.lk-bg-felt,.lk-bg-waves,.lk-bg-stars) .rankline{color:var(--accent-deep)}
:is(.lk-bg-dusk,.lk-bg-felt,.lk-bg-waves,.lk-bg-stars) .ava{color:#f4f0e8;background-color:#17170f}
.lk-bg-dusk{background:radial-gradient(90% 46% at 50% 108%,rgba(255,170,90,.6),transparent 70%),linear-gradient(180deg,#1b1440,#43215f 42%,#7c2b5c 74%,#a8413f)}
.lk-bg-felt{background:repeating-linear-gradient(45deg,rgba(255,255,255,.025) 0 2px,transparent 2px 5px),repeating-linear-gradient(-45deg,rgba(0,0,0,.05) 0 2px,transparent 2px 5px),radial-gradient(120% 95% at 50% 20%,#2c8449,#1b5a32 60%,#0e381f);box-shadow:inset 0 0 0 2px #0e381f,inset 0 0 0 3.5px rgba(255,236,170,.55)}
.lk-bg-waves{background:linear-gradient(180deg,#0a4a78,#12699c 55%,#1783b4)}
.lk-bg-waves::before{content:"";position:absolute;z-index:-1;inset:auto -80px 0 -80px;height:62%;background:radial-gradient(40px 15px at 40px -3px,transparent 97%,rgba(255,255,255,.2) 100%) 0 0/80px 30px repeat,radial-gradient(40px 15px at 40px -3px,transparent 97%,rgba(190,235,255,.13) 100%) 40px 15px/80px 30px repeat;animation:lk-drift 7s linear infinite}
@keyframes lk-drift{to{transform:translateX(80px)}}
.lk-bg-stars{background:radial-gradient(70% 60% at 80% 10%,rgba(110,80,220,.5),transparent 70%),linear-gradient(180deg,#0a0d2a,#131a4a)}
.lk-bg-stars::before,.lk-bg-stars::after{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(1.5px 1.5px at 22px 18px,#fff,transparent),radial-gradient(1.1px 1.1px at 97px 54px,#cfe0ff,transparent),radial-gradient(1.3px 1.3px at 150px 28px,#fff,transparent),radial-gradient(1px 1px at 60px 88px,#ffe9c0,transparent);background-size:170px 110px,210px 130px,190px 150px,130px 120px;animation:lk-twinkle 2.6s ease-in-out infinite}
.lk-bg-stars::after{background-position:70px 40px,30px 80px,110px 60px,90px 20px;animation-delay:-1.3s}
.lk-bg-gold{--muted:#5c4a16;--hair:rgba(110,76,10,.35);--card:rgba(255,253,240,.6);--accent-deep:#6e4a06;background:linear-gradient(120deg,transparent 35%,rgba(255,255,255,.7) 50%,transparent 65%) 0 0/300% 100%,linear-gradient(135deg,#f3d27a,#fff3c4 30%,#e3bb52 62%,#f6d77a);box-shadow:inset 0 0 0 2px #fff3c4,inset 0 0 0 3.5px #b8862a;animation:lk-sheen 5s ease-in-out infinite}
.lk-bg-gold .rankline{color:var(--accent-deep)}
@keyframes lk-sheen{0%,40%{background-position:120% 0,0 0}100%{background-position:-60% 0,0 0}}
.lk-bg-autumn{--muted:#6a4a2a;--hair:rgba(140,80,20,.3);--card:rgba(255,250,240,.66);background:linear-gradient(180deg,#ffe9c8,#f8cf95)}
.lk-bg-snow{--muted:#44586c;--hair:rgba(70,110,150,.28);--card:rgba(255,255,255,.7);background:linear-gradient(180deg,#d6ebfa,#f1f8ff)}
.lk-bg-autumn::before,.lk-bg-autumn::after,.lk-bg-snow::before,.lk-bg-snow::after{content:"";position:absolute;z-index:-1;inset:-120px 0 0;animation:lk-fall 9s linear infinite}
.lk-bg-autumn::before,.lk-bg-autumn::after{opacity:.5}
.lk-bg-autumn::before{background:radial-gradient(ellipse 7px 4px at 30px 40px,rgba(214,110,30,.75) 0 90%,transparent 100%) 0 0/110px 120px,radial-gradient(ellipse 4px 7px at 80px 90px,rgba(178,60,24,.65) 0 90%,transparent 100%) 0 0/110px 120px,radial-gradient(ellipse 6px 3.5px at 60px 14px,rgba(232,160,40,.8) 0 90%,transparent 100%) 0 0/150px 120px}
.lk-bg-autumn::after{background:radial-gradient(ellipse 5px 3px at 100px 70px,rgba(196,84,20,.6) 0 90%,transparent 100%) 0 0/170px 120px,radial-gradient(ellipse 3.5px 6px at 20px 100px,rgba(232,150,30,.7) 0 90%,transparent 100%) 0 0/130px 120px;animation-duration:13s}
.lk-bg-snow::before{background:radial-gradient(2.4px 2.4px at 20px 30px,#fff,transparent) 0 0/90px 120px,radial-gradient(1.8px 1.8px at 60px 80px,#fff,transparent) 0 0/70px 120px,radial-gradient(3px 3px at 110px 10px,rgba(255,255,255,.95),transparent) 0 0/150px 120px}
.lk-bg-snow::after{background:radial-gradient(1.6px 1.6px at 40px 60px,#fff,transparent) 0 0/110px 120px,radial-gradient(2.2px 2.2px at 90px 100px,rgba(255,255,255,.9),transparent) 0 0/130px 120px;animation-duration:14s}
@keyframes lk-fall{to{transform:translate3d(0,120px,0)}}

/* a combo's word, and a big emote */
.lk-combo{position:fixed;left:50%;top:40%;z-index:61;translate:-50% -50%;padding:0 .2em;font:400 2.1rem/1 var(--display);letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;color:#fff;-webkit-text-stroke:5px #241a2d;paint-order:stroke fill;text-shadow:0 4px 0 rgba(0,0,0,.35),0 0 18px rgba(255,214,110,.9);pointer-events:none;animation:lk-combo 1.65s var(--ease) both}
.lk-combo-friends{color:#ffd9e2;text-shadow:0 4px 0 rgba(0,0,0,.35),0 0 18px rgba(255,90,130,.95)}
.lk-combo-snow{color:#eaf6ff;text-shadow:0 4px 0 rgba(0,0,0,.35),0 0 18px rgba(150,210,255,.95)}
.lk-combo-short{color:#fff7b0;text-shadow:0 4px 0 rgba(0,0,0,.35),0 0 18px rgba(110,210,255,.95)}
.lk-combo.lk-plain{animation:none}
@keyframes lk-combo{0%{scale:.2;rotate:-10deg;opacity:0}14%{scale:1.2;rotate:-5deg;opacity:1}22%{scale:.95;rotate:-3deg}30%,80%{scale:1;rotate:-4deg;opacity:1}100%{scale:1.15;rotate:-4deg;opacity:0}}
.lk-emote{position:fixed;left:0;top:0;z-index:52;font:400 64px/1 sans-serif;pointer-events:none;will-change:transform;filter:drop-shadow(0 4px 6px rgba(0,0,0,.4))}

/* no motion: every look stands still and stays readable */
html.still :is(.ava.sm-fr-neon,.ava.sm-fr-aurora,.ava.sm-fr-pumpkin,.lk-au,.lk-cup,.lk-combo,.lk-m-emote,.lk-bg-gold,#dSheet th[data-au]),html.still :is(.ava[class*="sm-fr-"],.lk-au,.lk-cup,.fx-enter.lk-en,[class*="lk-bg-"])::before,html.still :is(.ava[class*="sm-fr-"],.lk-au,.lk-cup,.fx-enter.lk-en,[class*="lk-bg-"])::after,html.still [data-pose] .ava,html.still .lk-m-rain>i{animation:none}
html.still [data-np]{--lk-npa:none}
html.still .fx-enter.lk-en-carpet::before{transform:perspective(220px) rotateX(-34deg)}
html.still .fx-enter.lk-en-thunder{animation:none}
html.still #dSheet th[data-au]{box-shadow:inset 0 -3px 0 rgb(var(--lk-auc)),inset 0 -16px 12px -8px rgba(var(--lk-auc),.7)}
html.still .lk-m-rain>i{top:calc(20% + var(--x)*.6)}
@media (prefers-reduced-motion:reduce){.ava.sm-fr-neon,.ava.sm-fr-aurora,.ava.sm-fr-pumpkin,.ava[class*="sm-fr-"]::before,.ava[class*="sm-fr-"]::after,[data-au] .lk-au,[data-au] .lk-au::before,[data-au] .lk-au::after,[data-pose] .ava,.ava>.lk-cup,.ava>.lk-cup::before,.ava>.lk-cup::after,#dSheet th[data-au],[class*="lk-bg-"],[class*="lk-bg-"]::before,[class*="lk-bg-"]::after{animation:none}[data-np]{--lk-npa:none}#dSheet th[data-au]{box-shadow:inset 0 -3px 0 rgb(var(--lk-auc)),inset 0 -16px 12px -8px rgba(var(--lk-auc),.7)}}
@media (max-width:339px){.lk-mock{padding:8px;--cw:32px}.lk-combo{font-size:1.7rem}.lk-m-trick{--cw:40px}}

/* ── friends, the inbox, notifications, the daily chest (fr-): public/friends-ui.js, server/hub.js. One block.
   The tiles and the bell stand on the home screen (paper in one skin, plum in the other): they take the colours
   of the tile and the context names. Everything else is in a sheet, which is light in both skins. ── */
.fr-bell{position:relative;flex:none;display:grid;place-items:center;width:44px;height:44px;margin-left:auto;border:1.5px solid var(--edge2);border-radius:50%;background:var(--btn);color:var(--fg)}
.fr-bell svg{width:22px;height:22px}
.fr-bell em,.fr-dot,.fr-n{min-width:18px;height:18px;padding:0 .3em;border-radius:999px;background:var(--cherry);color:#fff;font:800 .68rem/18px var(--ui);font-style:normal;text-align:center}
.fr-bell em{position:absolute;top:-3px;right:-3px}
.fr-bell + .acctchip{max-width:calc(60% - 52px)}
.fr-n{display:inline-block;vertical-align:middle}
.perk.fr-tile{position:relative;min-width:0}
.perk.fr-tile > span{min-width:0;flex:1}
.perk.fr-tile small{overflow:hidden;text-overflow:ellipsis}
.fr-dot{position:absolute;top:.4rem;right:.4rem}
.perk.fr-tile.ready{animation:none}
.fr-bar{display:block;height:6px;margin-top:.3rem;border-radius:999px;background:var(--wash);overflow:hidden}
.fr-bar i{display:block;height:100%;border-radius:999px;background:var(--medal);transition:width .5s var(--ease)}
.fr-ctile > i{flex:none;width:34px;height:30px;display:block}
.fr-chest{display:block;width:100%;height:100%;overflow:visible}
.fr-chest .fr-wood{fill:var(--medal);stroke:currentColor;stroke-width:2.2;stroke-linejoin:round}
.fr-chest .fr-band{fill:currentColor;opacity:.82}
.fr-chest .fr-lock{fill:var(--medal);stroke:currentColor;stroke-width:2}
.fr-chest .fr-key{fill:currentColor}
.fr-chest .fr-lid{transform-box:fill-box;transform-origin:50% 100%;transition:transform .7s cubic-bezier(.3,1.6,.5,1)}
.fr-chest .fr-glow{opacity:0;transition:opacity .5s .25s}
.fr-chest .fr-glow path{fill:none;stroke:var(--medal);stroke-width:3;stroke-linecap:round}
.fr-chest.done{opacity:.45}
.fr-chest.full{animation:fr-shake 2.4s ease-in-out infinite}
.fr-chest.open .fr-lid{transform:translateY(-7px) rotate(-13deg)}
.fr-chest.open .fr-glow{opacity:.9}
.fr-chest.open .fr-lock{opacity:0}
@keyframes fr-shake{0%,78%,100%{transform:none}82%{transform:rotate(-5deg)}86%{transform:rotate(5deg)}90%{transform:rotate(-4deg)}94%{transform:rotate(3deg)}}
.fr-week > span{min-width:0;flex:1}
.fr-wk{display:flex;flex-wrap:wrap;gap:.1rem .7rem;margin-top:.15rem;font-size:.82rem;line-height:1.35}
.fr-wk > span{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.fr-wk em{font-style:normal;font-weight:800}
.fr-wk small{display:inline;font-size:.74rem}
.fr-wk .me{font-weight:800}
/* the friends sheet */
.fr-sheet h3{margin:1.1rem 0 .4rem;font:800 .78rem/1.2 var(--ui);letter-spacing:.14em;text-transform:uppercase;color:var(--accent-deep)}
.fr-tabs{margin-bottom:.6rem}
.fr-list{list-style:none;margin:0;padding:0;display:grid}
.fr-p{display:flex;align-items:center;gap:.6rem;padding:.5rem 0;border-top:1px solid var(--hair);min-width:0}
.fr-list > .fr-p:first-child{border-top:0}
.fr-ava{flex:none;width:40px;height:40px;display:grid;place-items:center}
.fr-ava .ava{width:40px;height:40px;font-size:1.05rem}
.fr-who{flex:1;min-width:0;display:grid;line-height:1.25}
.fr-who b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.98rem}
.fr-who small{color:var(--muted);font-size:.8rem;overflow-wrap:anywhere}
.fr-who small i{font-style:normal}
.fr-on{display:inline-block;width:8px;height:8px;margin-right:.35em;border-radius:50%;background:var(--accent);vertical-align:.02em}
.fr-fav .fr-who b::before{content:"★ ";color:var(--medal)}
.fr-acts{flex:none;display:flex;align-items:center;gap:.25rem;max-width:58%;flex-wrap:wrap;justify-content:flex-end}
.fr-acts .btn.small,.fr-inv .btn.small,.fr-card .btn.small,.fr-more .btn.small,.fr-after .btn.small,.fr-cardadd .btn.small,.fr-codeb .btn.small{min-height:40px;padding:.3em .85em;font-size:.68rem;letter-spacing:.04em}
.fr-star,.fr-dots{flex:none;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:none;color:var(--ink-soft);font-size:1.25rem;line-height:1}
.fr-star[aria-pressed=true]{color:var(--medal)}
.fr-dots[aria-expanded=true]{background:var(--wash)}
.fr-more{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;padding:0 0 .6rem 3.1rem}
.fr-more small{flex-basis:100%;color:var(--muted);font-size:.78rem}
.fr-tag{flex:none;padding:.15rem .55rem;border-radius:999px;background:var(--wash);color:var(--ink-soft);font-size:.76rem;font-weight:700;white-space:nowrap}
.fr-filter,.fr-form input{display:block;width:100%;min-height:46px;padding:.5em .9em;font:var(--in-weight) 1rem/1.3 var(--ui);color:var(--ink);background:#fff;border:1.5px solid var(--in-edge);border-radius:var(--in-radius)}
.fr-filter:focus,.fr-form input:focus{border-color:var(--in-focus);outline:0}
.fr-form{margin-top:.8rem}
.fr-form label{display:block;margin-bottom:.3rem;font-weight:700;font-size:.88rem}
.fr-form .btn{min-height:46px;padding:.4em 1.1em}
.fr-code{display:grid;gap:.35rem;padding:.8rem .9rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--accent-soft)}
.fr-code > span{font-size:.74rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--accent-deep)}
.fr-code b{font:700 1.5rem/1.1 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.14em;overflow-wrap:anywhere}
.fr-code small{color:var(--ink-soft);font-size:.8rem}
.fr-codeb{display:flex;flex-wrap:wrap;gap:.4rem}
/* an invitation: in the sheet, and the card over the page */
.fr-inv,.fr-card{display:grid;grid-template-columns:auto 1fr;gap:.2rem .7rem;align-items:center;padding:.7rem .8rem;border:1.5px solid var(--accent);border-radius:var(--radius);background:var(--accent-soft);color:var(--ink)}
.fr-inv{margin:.2rem 0 .7rem}
.fr-invm{min-width:0;display:grid;line-height:1.25}
.fr-invm b{overflow-wrap:anywhere}
.fr-invm small{color:var(--ink-soft);font-size:.82rem}
.fr-invm .fr-why{color:var(--cherry);font-weight:700}
.fr-invb{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:.35rem}
.fr-card{position:fixed;z-index:60;left:max(10px,var(--sal));right:max(10px,var(--sar));top:calc(10px + var(--sat));max-width:440px;margin:0 auto;background:var(--card);box-shadow:var(--shadow-lg);animation:fr-drop .35s var(--ease)}
.fr-card.fr-inline{position:static;z-index:auto;max-width:none;margin:.9rem 0 0;box-shadow:none;animation:none} /* on the result of a finished game: a row of the sheet, covering nothing */
.fr-card .btn{color:var(--ink);background:none;border-color:rgba(23,23,15,.3)}
.fr-card .btn.primary{background:var(--accent);color:var(--on-accent);border-color:transparent}
@keyframes fr-drop{from{transform:translateY(-120%);opacity:0}}
/* at a table */
.fr-lobby{display:grid;gap:.6rem;margin-top:.9rem}
.fr-after{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.9rem}
.fr-after > span{flex-basis:100%;font-size:.74rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.fr-after .btn.small{text-transform:none;letter-spacing:0;font-size:.84rem}
.fr-pk label{display:flex;align-items:center;gap:.6rem;flex:1;min-width:0;min-height:44px;margin:0;font:inherit;letter-spacing:normal;text-transform:none;color:inherit}
.fr-pk input{flex:none;width:22px;height:22px;accent-color:var(--accent-deep)}
.fr-off .fr-who b{color:var(--ink-soft);font-weight:600}
.fr-games{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:.8rem}
.fr-games .btn{min-height:46px;padding:.4em .6em;font-size:.74rem;letter-spacing:.03em}
.fr-cardadd{margin:.6rem 0 0}
.fr-quick{margin-top:.3rem}
/* the inbox */
.fr-notes{list-style:none;margin:.6rem 0 0;padding:0;display:grid}
.fr-note{display:flex;gap:.7rem;align-items:flex-start;width:100%;padding:.65rem .2rem;border:0;border-top:1px solid var(--hair);background:none;color:var(--ink);text-align:left}
.fr-notes li:first-child .fr-note{border-top:0}
.fr-note > i{flex:none;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--wash);font-style:normal;font-size:1.15rem}
.fr-note span{min-width:0;display:grid;line-height:1.3}
.fr-note small{color:var(--ink-soft);font-size:.86rem;overflow-wrap:anywhere}
.fr-note em{font-style:normal;color:var(--muted);font-size:.74rem;margin-top:.1rem}
.fr-note.fr-new b::after{content:"";display:inline-block;width:8px;height:8px;margin-left:.45em;border-radius:50%;background:var(--cherry);vertical-align:.08em}
.fr-note:not(.fr-new) b{font-weight:600}
/* the settings */
.fr-note-box{margin:.8rem 0 0!important;padding:.65rem .8rem;border-radius:var(--radius);background:var(--wash);color:var(--ink);font-size:.9rem;line-height:1.4}
.fr-note-box.fr-ok{background:var(--accent-soft);font-weight:700}
.fr-types{width:100%;margin-top:1rem;border-collapse:collapse}
.fr-types thead th{padding:0 0 .3rem;font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);text-align:center;width:4.4rem}
.fr-types tbody th{padding:.55rem .5rem .55rem 0;text-align:left;font-weight:700;font-size:.92rem;line-height:1.25;border-top:1px solid var(--hair)}
.fr-types tbody th small{display:block;font-weight:500;font-size:.76rem;color:var(--muted)}
.fr-types tbody td{text-align:center;border-top:1px solid var(--hair);vertical-align:middle}
.fr-sw{position:relative;display:inline-grid;place-items:center;width:48px;height:44px;cursor:pointer}
.fr-sw input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.fr-sw i{width:42px;height:24px;border-radius:999px;background:var(--hair);box-shadow:inset 0 0 0 1.5px rgba(23,23,15,.18);transition:background-color .15s}
.fr-sw i::after{content:"";display:block;width:18px;height:18px;margin:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .15s var(--ease)}
.fr-sw input:checked + i{background:var(--accent-dark)}
.fr-sw input:checked + i::after{transform:translateX(18px)}
.fr-sw input:focus-visible + i{outline:2px solid var(--focus);outline-offset:2px}
.fr-sw input:disabled + i{opacity:.4}
.fr-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.6rem 0;border-top:1px solid var(--hair)}
.fr-types + .fr-row{margin-top:.2rem}
.fr-row > span{min-width:0;line-height:1.3}
.fr-row b{display:block;font-size:.92rem}
.fr-row small{display:block;color:var(--muted);font-size:.78rem}
.fr-row select,.fr-times input{min-height:44px;padding:0 .6em;font:600 1rem var(--ui);color:var(--ink);background:#fff;border:1.5px solid var(--in-edge);border-radius:var(--in-radius)}
.fr-times{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem;padding:0 0 .7rem;color:var(--ink-soft);font-weight:600;font-size:.9rem}
.fr-times label{display:flex;align-items:center;gap:.4rem}
.fr-devs{margin:.2rem 0 0;padding-left:1.1rem;font-size:.9rem;line-height:1.6}
.fr-devs small{color:var(--muted)}
.fr-priv{margin-top:1rem!important;font-size:.8rem!important;line-height:1.45}
.fr-why-list{list-style:none;margin:.7rem 0;padding:0;display:grid;gap:.45rem;font-weight:600}
.fr-pbtn{margin:.8rem 0}
/* the sheet of the chest */
.fr-cbox{text-align:center}
.fr-stage{width:150px;height:132px;margin:2.4rem auto .3rem;color:var(--ink)}
.fr-bigbar{height:12px;max-width:260px;margin:.9rem auto 0}
.fr-cnt{margin:.5rem 0 0!important;color:var(--ink-soft)}
.fr-loot{list-style:none;margin:.2rem 0 .6rem;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
.fr-loot li{display:flex;align-items:center;gap:.45rem;padding:.5rem .9rem;border-radius:999px;background:var(--wash);font-size:1.02rem;animation:fr-pop .5s var(--ease) both;animation-delay:calc(.25s + var(--i,0) * .16s)}
.fr-loot i{font-style:normal;font-size:1.3rem}
.fr-loot .fr-rare{background:var(--accent-soft);box-shadow:inset 0 0 0 1.5px var(--accent)}
@keyframes fr-pop{from{transform:translateY(-34px) scale(.4);opacity:0}60%{transform:translateY(4px) scale(1.08)}}
.fr-opened .fr-chest .fr-glow{animation:fr-rays 2.6s linear infinite}
@keyframes fr-rays{50%{opacity:.35}}
/* notifications: the cards of the home screen (an invitation that waits, one that was missed, "switch them on"),
   what the sender is told, the guide for an iPhone, the state of this device. The home screen is paper in one skin
   and plum in the other: its cards are tiles (.perk) and take the tile's own colours. */
.perk.fr-hcard{order:-1;display:grid;grid-template-columns:auto 1fr;gap:.25rem .7rem;align-items:center;min-width:0;padding:.7rem .8rem;border-color:var(--accent)}
.fr-hcard > i{width:40px;text-align:center}
.fr-hcard .fr-invm small{color:inherit;opacity:.82;font-size:.84rem;line-height:1.3;overflow-wrap:anywhere}
.fr-hcard .fr-invm .fr-why{color:var(--cherry);opacity:1}
.fr-hcard .btn.small,.fr-hint .btn.small,.fr-share .btn.small,.fr-devs .btn.small{min-height:40px;padding:.3em .85em;font-size:.68rem;letter-spacing:.04em}
.fr-hinv{animation:fr-nudge .9s var(--ease) 2}
.fr-hmiss{border-style:dashed}
.fr-pcard{border-color:var(--edge2)}
@keyframes fr-nudge{0%,100%{transform:none}30%{transform:translateY(-3px)}60%{transform:translateY(2px)}}
.fr-hint{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .7rem;margin-top:.45rem;padding-top:.5rem;border-top:1px dashed var(--edge2);font-size:.82rem;line-height:1.3}
.fr-card .fr-hint{border-top-color:var(--hair)}
.fr-hint > span{flex:1 1 9rem;min-width:0}
/* what became of an invitation, by the friend's name; the ways to send the link */
.fr-st{flex:none;margin-left:.4rem;padding:.12rem .5rem;border-radius:999px;background:var(--wash);color:inherit;font:700 .72rem/1.4 var(--ui);font-style:normal;white-space:nowrap}
.fr-st-ok{background:var(--accent-soft);color:var(--accent-deep)}
.fr-st-warn{box-shadow:inset 0 0 0 1.5px var(--cherry);color:var(--cherry);background:none}
.fr-pk label > .fr-st{margin-left:auto}
.fr-pend{display:grid;gap:.3rem;font-size:.9rem}
.fr-pend > span{font:800 .7rem/1.2 var(--ui);letter-spacing:.14em;text-transform:uppercase;opacity:.7}
.fr-pend ul{list-style:none;margin:0;padding:0;display:grid;gap:.25rem}
.fr-pend li{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-width:0}
.fr-pend li b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fr-sent{margin-top:.2rem!important;text-align:left}
.fr-sent p{margin:0 0 .45rem}
.fr-share{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}
.fr-share > span{flex-basis:100%;font-weight:700}
.fr-share .btn{color:var(--ink);background:var(--card);border-color:var(--edge2);text-decoration:none}
.fr-lobby .fr-note-box,.fr-lobby .fr-note-box.fr-warn{color:var(--ink);background:var(--card)}
.fr-lobby .fr-inv{margin:0}
/* the state of this device in the settings, and the account's devices */
.fr-status{display:grid;gap:.15rem}
.fr-status small{font:800 .68rem/1.2 var(--ui);letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.fr-status b{font-size:1rem}
.fr-status span{font-weight:500;font-size:.88rem}
.fr-note-box.fr-warn{background:none;box-shadow:inset 0 0 0 1.5px var(--cherry)}
.fr-devs{list-style:none;padding:0}
.fr-devs li{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.45rem 0;border-top:1px solid var(--hair)}
.fr-devs li:first-child{border-top:0}
.fr-devs li > span{min-width:0;line-height:1.3}
.fr-devs small{display:block}
.fr-row.fr-sub{border-top:0;padding-top:0}
/* the three steps for an iPhone */
.fr-steps{list-style:none;margin:.9rem 0;padding:0;display:grid;gap:.6rem}
.fr-steps li{display:flex;align-items:center;gap:.8rem;padding:.6rem .7rem;border-radius:var(--radius);background:var(--wash);line-height:1.3}
.fr-steps li > span:last-child{min-width:0}
.fr-steps em{display:inline-grid;place-items:center;width:1.5rem;height:1.5rem;margin-right:.45rem;border-radius:50%;background:var(--accent-dark);color:#fff;font:800 .8rem/1 var(--ui);font-style:normal;vertical-align:.05em}
.fr-step-art{flex:none;width:52px;height:52px;display:grid;place-items:center;border-radius:14px;background:var(--card);box-shadow:inset 0 0 0 1.5px var(--hair);color:var(--accent-deep)}
.fr-step-art svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.fr-step-art .fr-app{fill:var(--accent-dark);stroke:none}
.fr-step-art .fr-app-s{fill:#fff;stroke:none}
.fr-step-art .fr-app-d{fill:var(--cherry);stroke:var(--card);stroke-width:2.5}
@media (prefers-reduced-motion:reduce){.fr-hinv{animation:none}}
@media (max-width:359px){.perk.fr-hcard{padding:.6rem .65rem;gap:.2rem .55rem}.fr-step-art{width:44px;height:44px}.fr-step-art svg{width:28px;height:28px}}
@media (prefers-reduced-motion:reduce){.fr-chest.full,.fr-loot li,.fr-card,.fr-opened .fr-chest .fr-glow{animation:none}.fr-chest .fr-lid,.fr-chest .fr-glow{transition:none}}
@media (max-width:359px){.fr-acts{max-width:52%}.fr-acts .btn.small{padding:.3em .6em;font-size:.64rem}.fr-types thead th{width:3.6rem}.fr-more{padding-left:0}}

/* ── thrown things: what public/splat-fx.js leaves on the one it hit (sx-). The impact itself is drawn on a canvas
   of the shell's own class "confetti"; the colours of a splash are its material's, set in the script. Here is only what
   stands on the page: the canvas of a throw, and the small picture over an avatar that wears off. ── */
.sx-cv{contain:strict}
.sx-ov{position:fixed;z-index:15;pointer-events:none;transform-origin:50% 40%;animation:sx-wear var(--sx-ms,3200ms) var(--ease,ease) both}
.sx-ov-still,html.still .sx-ov{animation:none}
.sx-ov-top{z-index:61} /* in the shop's try-on, which stands in a sheet */
@keyframes sx-wear{0%{opacity:0;transform:scale(.6)}7%{opacity:1;transform:none}68%{opacity:1;transform:none}100%{opacity:0;transform:translateY(6px)}}

/* ── the showy things for diamonds (wow-): public/wow-ui.js, server/wow.js, server/gems.js. One block: the mascot by a
   plate and an open umbrella (a layer over the table), the living frame ([data-lf] on a seat, .wow-lf in its avatar),
   the golden table, weather, the winner's signature, a gift on its way, the touch trail, the rows it adds to the quick
   menu, the answer strip when a computer hit me, the trophy shelf and the gifts on the player card, the holographic
   card (.lk-bg-holo). What is DRAWN (fur, gold, fire, crystal) has its own colours, like the dice skins; whatever is a
   control or a label uses the tokens. Nothing here takes a tap away from a game: the layers have no pointer events. ── */
.wow-layer{position:fixed;inset:0;z-index:14;overflow:hidden;pointer-events:none}
.wow-layer[hidden]{display:none}
.wow-pet{position:absolute;left:0;top:0;display:block;width:34px;height:34px;pointer-events:none;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5));transition:transform .3s var(--ease)}
.wow-pet svg{display:block;width:100%;height:100%;overflow:visible;transform-origin:50% 100%;animation:wow-breathe 3.2s ease-in-out infinite}
.wow-pet .wp-tail{transform-box:fill-box;transform-origin:0 100%;animation:wow-tail 2.4s ease-in-out infinite}
.wow-pet .wp-eye{transform-box:fill-box;transform-origin:50% 50%;animation:wow-blink 4.6s infinite}
.wow-pet .wp-ear{transform-box:fill-box;transform-origin:100% 0;animation:wow-ear 5s ease-in-out infinite}
.wow-pet .wp-ear2{transform-origin:0 0;animation-direction:reverse}
.wow-pet .wp-ant{animation:wow-ant 1.4s steps(2) infinite}
.wow-pet .wp-wing{transform-box:fill-box;transform-origin:100% 100%;animation:wow-wing 1.8s ease-in-out infinite}
.wow-pet .wp-wing2{transform-origin:0 100%;animation-name:wow-wing2}
.wow-pet .wp-arm{transform-box:fill-box;transform-origin:50% 0}
.wow-pet .wp-fire,.wow-pet .wp-tongue{opacity:0}
.wow-pet[data-mood="turn"] svg{animation:wow-perk .9s ease-in-out infinite}
.wow-pet[data-mood="turn"] .wp-tail{animation-duration:.45s}
.wow-pet[data-mood="turn"] .wp-tongue{opacity:1}
.wow-pet[data-mood="cheer"] svg{animation:wow-jump .55s ease-in-out infinite}
.wow-pet[data-mood="cheer"] .wp-tail{animation-duration:.3s}
.wow-pet[data-mood="cheer"] .wp-fire{opacity:1;transform-box:fill-box;transform-origin:50% 0;animation:wow-fire .28s ease-in-out infinite alternate}
.wow-pet[data-mood="cheer"] .wp-arm{animation:wow-wave .4s ease-in-out infinite alternate}
.wow-pet[data-mood="cheer"] .wp-arm2{animation-direction:alternate-reverse}
.wow-pet[data-mood="cheer"] .wp-tongue{opacity:1}
.wow-pet[data-mood="hide"] svg{animation:wow-hide .5s var(--ease) both}
.wow-pet[data-mood="hide"] .wp-ant{animation:none;fill:#55606b}
.wow-pet[data-mood="hide"] .wp-eye{animation:none;transform:scaleY(.15)}
.wow-pet[data-mood="catch"] svg{animation:wow-catch 1.4s var(--ease) both}
.wow-pet[data-mood="catch"] .wp-fire,.wow-pet[data-mood="catch"] .wp-tongue{opacity:1}
.wow-pet.wow-in{left:auto;top:auto;right:-10px;bottom:-6px}
.lk-m-me .wow-pet.wow-in{left:2px;right:auto;bottom:46px;width:58px;height:58px}
.lk-mock .wow-pcard{padding:.7rem .8rem;border-radius:var(--radius)}
.wow-pet.wow-pic{position:static;width:46px;height:46px}
.lk-big .wow-pet.wow-pic{width:92px;height:92px}
@keyframes wow-breathe{50%{transform:scaleY(1.035)}}
@keyframes wow-tail{0%,100%{transform:rotate(0)}50%{transform:rotate(-24deg)}}
@keyframes wow-blink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
@keyframes wow-ear{0%,86%,100%{transform:rotate(0)}92%{transform:rotate(9deg)}}
@keyframes wow-ant{50%{fill:#ffe08a}}
@keyframes wow-wing{50%{transform:rotate(18deg)}}
@keyframes wow-wing2{50%{transform:rotate(-18deg)}}
@keyframes wow-perk{50%{transform:translateY(-2px) scale(1.04)}}
@keyframes wow-jump{0%,100%{transform:none}45%{transform:translateY(-10px) scaleY(1.06)}70%{transform:translateY(0) scaleY(.92)}}
@keyframes wow-fire{to{transform:scaleY(1.5)}}
@keyframes wow-wave{to{transform:rotate(-150deg)}}
@keyframes wow-hide{to{transform:translateY(48%) scale(.86);opacity:.5}}
@keyframes wow-catch{0%{transform:none}30%{transform:translate(-6px,-16px) rotate(-14deg) scale(1.12)}55%{transform:translate(-2px,-4px) rotate(4deg)}70%{transform:scaleY(.9)}100%{transform:none}}

.wow-brolly{position:absolute;left:0;top:0;font-size:1.3rem;line-height:1;pointer-events:none;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5));animation:wow-bob 2.2s ease-in-out infinite}
.wow-brolly.wow-in{left:14px;top:-12px}
@keyframes wow-bob{50%{margin-top:-3px}}

/* the living frame: a ring in the avatar that follows the standing (lead, even, last) */
.ava>.wow-lf{position:absolute;inset:-5px;border-radius:50%;pointer-events:none;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4.5px),#000 calc(100% - 3.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 4.5px),#000 calc(100% - 3.5px))}
[data-lf="ember"] .wow-lf{background:conic-gradient(#ff7a1f,#ffd24a,#ff3d1f,#ffb03a,#ff5a1f,#ffd24a,#ff7a1f)}
[data-lf="crystal"] .wow-lf{background:conic-gradient(#8fe9ff,#c9a8ff,#fff,#7fb8ff,#e6fbff,#b9a0ff,#8fe9ff)}
[data-lf][data-lfs="even"] .wow-lf{opacity:.72}
[data-lf][data-lfs="lead"] .wow-lf{animation:wow-spin 3.2s linear infinite}
[data-lf="ember"][data-lfs="lead"] .ava{box-shadow:0 0 0 1px rgba(255,190,90,.55),0 0 14px 4px rgba(255,120,30,.8);animation:wow-glow 1.3s ease-in-out infinite alternate}
[data-lf="crystal"][data-lfs="lead"] .ava{box-shadow:0 0 0 1px rgba(220,245,255,.7),0 0 14px 4px rgba(140,200,255,.85);animation:wow-glow 1.7s ease-in-out infinite alternate}
[data-lf="ember"][data-lfs="last"] .wow-lf{background:conic-gradient(from 20deg,#6b5a52 0 44deg,transparent 44deg 51deg,#7c6a60 51deg 128deg,transparent 128deg 139deg,#5e4f48 139deg 236deg,transparent 236deg 242deg,#75645b 242deg 318deg,transparent 318deg 327deg,#6b5a52 327deg)}
[data-lf="crystal"][data-lfs="last"] .wow-lf{background:conic-gradient(from 70deg,#8c9aa8 0 150deg,transparent 150deg 166deg,#a3b0bd 166deg 322deg,transparent 322deg 340deg,#8c9aa8 340deg)}
[data-lf][data-lfs="last"] .ava{box-shadow:none}
#dSheet th[data-lf][data-lfs="lead"]{box-shadow:inset 0 -3px 0 #ffb03a}
#dSheet th[data-lf][data-lfs="last"]{box-shadow:inset 0 -3px 0 #7c6a60}
@keyframes wow-spin{to{transform:rotate(1turn)}}
@keyframes wow-glow{from{filter:brightness(1)}to{filter:brightness(1.12)}}
.wow-trylab{position:absolute;left:50%;top:6px;transform:translateX(-50%);padding:.15rem .7rem;border-radius:999px;background:rgba(0,0,0,.4);color:var(--ivory);font:700 .78rem/1.5 var(--ui);white-space:nowrap}

/* the golden table: a rim of gold and a sheen over the cloth, for one game */
.wow-gold{position:fixed;inset:0;z-index:13;pointer-events:none;box-shadow:inset 0 0 0 3px #f3d27a,inset 0 0 0 5px rgba(120,84,10,.6),inset 0 0 54px 8px rgba(255,205,90,.4);background:linear-gradient(115deg,transparent 42%,rgba(255,236,170,.17) 50%,transparent 58%) 0 0/300% 100%;animation:wow-sheen 5.5s linear infinite}
.wow-gold.wow-in{position:absolute;z-index:2;border-radius:inherit}
.wow-gold i{position:absolute;width:14px;height:14px;background:radial-gradient(closest-side,#fff,rgba(255,226,140,.9) 40%,transparent 70%);clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);animation:wow-twinkle 2.4s ease-in-out infinite}
.wow-gold i:nth-child(1){left:10px;top:calc(var(--sat,0px) + 10px)}
.wow-gold i:nth-child(2){right:12px;top:calc(var(--sat,0px) + 16px);animation-delay:-.7s}
.wow-gold i:nth-child(3){left:14px;bottom:calc(var(--sab,0px) + 14px);animation-delay:-1.3s}
.wow-gold i:nth-child(4){right:10px;bottom:calc(var(--sab,0px) + 10px);animation-delay:-1.9s}
.wow-gold.wow-in i{top:auto;bottom:auto}
.wow-gold.wow-in i:nth-child(1),.wow-gold.wow-in i:nth-child(2){top:8px}
.wow-gold.wow-in i:nth-child(3),.wow-gold.wow-in i:nth-child(4){bottom:8px}
@keyframes wow-sheen{to{background-position:-300% 0}}
@keyframes wow-twinkle{0%,100%{transform:scale(.5);opacity:.35}50%{transform:scale(1.15);opacity:1}}
.wow-lobby{margin:.6rem 0 0;padding:.5rem .8rem;border:1px solid var(--edge);border-radius:var(--radius);color:var(--fg);font:700 .9rem/1.35 var(--ui);text-align:center}

/* weather, the winner's signature, a gift on its way, the touch trail */
.wow-sky{position:fixed;inset:0;z-index:14;width:100%;height:100%;pointer-events:none}
.wow-sky.wow-in,.wow-sigcv.wow-in{position:absolute;z-index:2;border-radius:inherit}
.wow-wx-still{position:fixed;left:0;right:0;top:calc(var(--sat,0px) + 56px);z-index:14;text-align:center;font-size:1.5rem;letter-spacing:.5em;opacity:.85;pointer-events:none;animation:fade .3s both}
.lk-mock .wow-wx-still{position:absolute;top:8px;z-index:2}
.wow-sigcv{position:fixed;inset:0;z-index:59;width:100%;height:100%;pointer-events:none}
.wow-sig{position:fixed;inset:0;z-index:59;display:grid;place-items:start center;padding-top:calc(var(--sat,0px) + 5vh);overflow:hidden;pointer-events:none}
.wow-sig.wow-in{position:absolute;z-index:3;padding-top:22px}
.wow-signame{max-width:92%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 clamp(1.7rem,10vw,3.2rem)/1.1 var(--display);color:#fff;text-shadow:0 0 18px rgba(255,205,90,.95),0 2px 0 rgba(0,0,0,.45);animation:wow-show 3.3s var(--ease) both}
.wow-in .wow-signame{font-size:1.6rem}
.wow-ribbon{display:grid;gap:.1rem;justify-items:center;max-width:min(92%,24rem);padding:.7rem 1.9rem;color:#3a2606;background:linear-gradient(180deg,#ffe9a8,#f0b93a);clip-path:polygon(0 0,100% 0,calc(100% - 14px) 50%,100% 100%,0 100%,14px 50%);text-align:center;transform-origin:50% 50%;animation:wow-unroll 3.3s var(--ease) both}
.wow-ribbon b{font:800 1.12rem/1.25 var(--ui);overflow-wrap:anywhere}
.wow-ribbon small{font:700 .76rem/1.3 var(--ui);opacity:.78}
.wow-in .wow-ribbon{max-width:88%;padding:.45rem 1.4rem}
.wow-in .wow-ribbon b{font-size:.92rem}
.wow-cup{position:relative;z-index:1;display:grid;justify-items:center;animation:wow-drop 3.3s cubic-bezier(.3,1.35,.5,1) both}
.wow-cup i{font-style:normal;font-size:clamp(3.2rem,20vw,5rem);line-height:1;filter:drop-shadow(0 8px 14px rgba(0,0,0,.5))}
.wow-cup b{max-width:80vw;margin-top:.2rem;padding:.2rem .9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:999px;background:#3a2606;color:#ffe39a;font:800 .9rem/1.5 var(--ui)}
.wow-in .wow-cup i{font-size:3.4rem}
.wow-in .wow-cup b{max-width:70%;font-size:.76rem}
.wow-shine{position:absolute;left:50%;top:calc(var(--sat,0px) + 5vh - 3rem);width:13rem;height:13rem;margin-left:-6.5rem;border-radius:50%;background:radial-gradient(closest-side,rgba(255,220,120,.6),transparent);animation:wow-show 3.3s var(--ease) both}
.wow-in .wow-shine{top:-1.5rem;width:10rem;height:10rem;margin-left:-5rem}
.wow-sig.wow-still,.wow-sig.wow-still *{animation:none}
.wow-sig.wow-still{animation:fade .3s both}
@keyframes wow-show{0%{opacity:0;transform:scale(.6)}12%{opacity:1;transform:scale(1.06)}20%,80%{opacity:1;transform:none}100%{opacity:0;transform:scale(1.05)}}
@keyframes wow-unroll{0%{opacity:0;transform:scaleX(0)}14%{opacity:1;transform:scaleX(1.04)}20%,82%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-10px)}}
@keyframes wow-drop{0%{opacity:0;transform:translateY(-60vh) rotate(-14deg)}22%{opacity:1;transform:none}82%{opacity:1;transform:none}100%{opacity:0;transform:translateY(10px)}}
.wow-gift{position:fixed;left:0;top:0;z-index:50;font-size:2.2rem;line-height:1;pointer-events:none;will-change:transform}
.wow-gift.wow-in{position:absolute;z-index:4;font-size:1.8rem}
.wow-giftbit{position:fixed;z-index:50;font-style:normal;font-size:.95rem;line-height:1;pointer-events:none}
.lk-mock .wow-giftbit{position:absolute;z-index:4}
.wow-gifttag{position:fixed;z-index:50;transform:translate(-50%,-100%);display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .7rem;border-radius:999px;background:var(--card);color:var(--ink);box-shadow:var(--shadow);font:700 .78rem/1.5 var(--ui);white-space:nowrap;pointer-events:none;animation:fade .25s both}
.wow-gifttag.wow-in{position:absolute;z-index:4}
.wow-gifttag i{font-style:normal}
.wow-trail{position:fixed;inset:0;z-index:61;width:100%;height:100%;pointer-events:none}

/* my rows in the quick menu (a light card, like a sheet), and the answer strip by a computer's plate */
.sq-menu .wow-row{flex-wrap:wrap;gap:4px;padding:5px 0}
.sq-menu .wow-b,.wow-strip .wow-b{position:relative;flex:none;display:inline-flex;align-items:center;min-height:40px;margin:0;padding:.3rem .75rem;border:1px solid var(--hair);border-radius:999px;background:none;color:var(--ink);font:600 .84rem/1.25 var(--ui);white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}
.wow-b small{margin-left:.35em;font-size:.74rem;font-weight:700;opacity:.72}
.sq-menu .wow-b[aria-pressed="true"],.sq-menu .wow-b.wow-main,.wow-strip .wow-b.wow-main{border-color:var(--accent);background:var(--accent);color:var(--on-accent)}
.wow-b.wow-wait{opacity:.5}
.wow-b:focus-visible{outline:2px solid var(--in-focus);outline-offset:2px}
.sq-menu .wow-reply{border-top:0}
.wow-strip{position:fixed;z-index:16;display:flex;gap:5px;box-sizing:border-box;max-width:calc(100vw - 16px);padding:5px;overflow-x:auto;scrollbar-width:none;border:1px solid var(--hair);border-radius:999px;background:var(--card);box-shadow:var(--shadow-lg);touch-action:manipulation;animation:wow-strip .2s var(--ease) both}
.wow-strip::-webkit-scrollbar{display:none}
@keyframes wow-strip{from{opacity:0;transform:translateY(6px) scale(.94)}}

/* the player card: the trophy shelf, the gifts, the holographic card */
.wow-shelf{display:inline-flex;gap:.3rem;max-width:100%;margin-top:.35rem;padding:.25rem .5rem .3rem;border-radius:10px;background:linear-gradient(180deg,transparent 78%,rgba(120,84,10,.28) 78%),var(--card);box-shadow:inset 0 0 0 1.5px var(--hair)}
.wow-shelf span{position:relative;display:grid;place-items:center;width:2rem;height:2rem;overflow:hidden;border-radius:8px}
.wow-shelf i{font-style:normal;font-size:1.45rem;line-height:1;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
.wow-shelf span::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.85) 50%,transparent 65%) 0 0/300% 100%;mix-blend-mode:soft-light;animation:wow-sheen 3.4s linear infinite;animation-delay:calc(var(--i,0)*-.5s)}
.wow-got{display:flex;flex-wrap:wrap;gap:.15rem .7rem;margin:.3rem 0 0;font:700 .84rem/1.5 var(--ui);color:var(--ink)}
.wow-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lk-bg-holo{--muted:#3d3a66;--hair:rgba(80,70,160,.3);--card:rgba(255,255,255,.6);--accent-deep:#3b2f8a;background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.8) var(--wow-mx,50%),transparent 70%),linear-gradient(125deg,#ffd6f5,#c9e6ff 25%,#d9ffe6 50%,#fff3c0 75%,#ffd6f5) 0 0/300% 300%;box-shadow:inset 0 0 0 2px rgba(255,255,255,.8),inset 0 0 0 3.5px rgba(150,130,230,.5);transform:perspective(600px) rotateX(var(--wow-rx,0deg)) rotateY(var(--wow-ry,0deg));transition:transform .3s var(--ease);animation:wow-holo 9s linear infinite}
.lk-bg-holo.wow-tilt{transition:none}
.lk-bg-holo .rankline{color:var(--accent-deep)}
@keyframes wow-holo{to{background-position:0 0,300% 300%}}

@media (prefers-reduced-motion:reduce){.wow-pet svg,.wow-pet svg *,.wow-brolly,.ava>.wow-lf,[data-lf] .ava,.wow-gold,.wow-gold i,.wow-shelf span::after,.wow-strip{animation:none!important}.wow-pet[data-mood="hide"] svg{transform:translateY(48%) scale(.86);opacity:.5}.lk-bg-holo{transform:none}}
html.still .wow-pet svg,html.still .wow-pet svg *,html.still .wow-brolly,html.still .ava>.wow-lf,html.still [data-lf] .ava,html.still .wow-gold,html.still .wow-gold i,html.still .wow-shelf span::after,html.still .wow-strip{animation:none!important}
html.still .wow-pet[data-mood="hide"] svg{transform:translateY(48%) scale(.86);opacity:.5}
html.still .lk-bg-holo{transform:none;animation:none}

/* ── additions to the screens of games ───────────────────────────────────
   What a feature added to a game module's screen, the same in both skins. */
/* the words of the finished game on the result sheet; each opens the dictionary sheet (the shell's .df-w) */
.fotbal-said{max-height:9.5rem;overflow:auto;overscroll-behavior:contain;margin:.2em 0 .7em;padding:.5em .7em;border:1px solid var(--rule);border-radius:10px;font-size:.9rem;line-height:1.55;text-align:left}
.fotbal-said p{margin:0 0 .3em}
.fotbal-said p:last-child{margin:0}
/* an answer of a finished round opens the dictionary sheet (the shell's .df-w); a struck one keeps its line */
.mesto-tab td.bad .mesto-ans.df-w,.mesto-tab td.no .mesto-ans.df-w,.mesto-tab td.unknown .mesto-ans.df-w{text-decoration-line:line-through underline}
/* the board and the clues of the finished game on the result sheet; each word opens the dictionary sheet (the shell's .df-w) */
.tajna-said{max-height:9.5rem;overflow:auto;overscroll-behavior:contain;margin:.2em 0 .7em;padding:.5em .7em;border:1px solid var(--rule);border-radius:10px;font-size:.9rem;line-height:1.55;text-align:left}
.tajna-said p{margin:0 0 .3em}
.tajna-said p:last-child{margin:0}
.tajna-said .red{color:var(--cherry)}
.tajna-said .blue{color:#2a5c9a}
/* a word of a finished round opens the dictionary sheet (the shell's .df-w marks it) */
.sl-table [data-df]{cursor:pointer}
.sl-miss [data-rep]{cursor:pointer}
.sl-miss.sl-sent [data-df]{color:var(--ivory)}
/* Slova z písmen: the cards (public/games/slova.js). A tick on every tile of the rack that a word has used; above
   the player's words where they stand (unused tiles, the longest word), each with a tick or an exclamation mark, so
   that nothing is told by colour alone; on the round's table the small racks, the card of the round with its reasons
   (yellow: a plain frame, red: a double one, a yellow one held: a dashed one); and the figures of the whole game. */
.sl-tile{position:relative}
.sl-mk{position:absolute;display:none;pointer-events:none;box-sizing:border-box}
.sl-tile.sl-used .sl-mk{display:none!important}
.sl-tile[data-st="used"] .sl-mk{display:block;right:7%;top:7%;width:24%;height:24%;border-radius:50%;background:var(--gold)}
.sl-tile[data-st="used"] .sl-mk::after{content:"";position:absolute;left:34%;top:14%;width:26%;height:50%;border:solid var(--ink);border-width:0 2px 2px 0;transform:rotate(42deg)}
.sl-tile.sl-t-new .sl-mk{animation:sl-mk-in .4s var(--ease)}
@keyframes sl-mk-in{0%{transform:scale(.2)}60%{transform:scale(1.7)}}
/* the last seconds: what is still unused */
.sl.sl-last .sl-tile[data-st=""]:not(.sl-used){outline:2.5px solid var(--medal);outline-offset:1px;animation:sl-nudge 1s ease-in-out infinite}
@keyframes sl-nudge{50%{outline-color:transparent}}
.sl-hint.sl-left{color:var(--medal);opacity:1;font-weight:700;letter-spacing:.03em}
/* how many of my tiles are used: a small card and "6/9" beside the streak */
.sl-use{flex:none;display:inline-flex;align-items:center;gap:4px;margin-right:10px;font:700 .8rem/1 var(--ui);font-style:normal;letter-spacing:0;color:var(--mist);font-variant-numeric:tabular-nums}
.sl-use u{width:7px;height:10px;border:1.5px solid currentColor;border-radius:2px;text-decoration:none}
.sl-use.sl-full{color:var(--gold)}
.sl-use.sl-full u{background:currentColor}
/* with cards, while a round runs: where I stand — the tiles still unused, my longest word, a yellow card held */
.sl-live{display:flex;flex-wrap:wrap;gap:4px 6px;margin:0 2px 7px;font-size:.78rem;line-height:1.2}
.sl-lv{display:inline-flex;flex-wrap:wrap;align-items:center;gap:1px 5px;max-width:100%;box-sizing:border-box;min-height:1.75em;padding:.15em .65em .15em .25em;border-radius:.95em;border:1.5px solid var(--line);color:var(--ivory)}
.sl-lv em{white-space:nowrap}
.sl-lv>i:first-child{flex:none;display:grid;place-items:center;width:1.3em;height:1.3em;border-radius:50%;font:800 .8em/1 var(--ui);font-style:normal}
.sl-lv-ok>i:first-child{background:var(--gold);color:var(--ink)}
.sl-lv-bad{border-color:var(--medal);border-style:dashed}
.sl-lv-bad>i:first-child{background:var(--medal);color:var(--ink)}
.sl-lv em{font-style:normal;font-size:.92em;color:var(--mist)}
.sl-lv-bad em{color:var(--medal);font-weight:700}
.sl-lv-held{padding-left:.6em;border-color:var(--medal)}
.sl-lv-held .sl-cd{margin:0}
.sl-lv-held b{font-weight:700}
/* a narrow phone: the yellow card held is only its sign (the words are its title; the plate shows the card too) */
@media (max-width:359px){.sl-lv-held b{display:none}.sl-lv-held{padding:.15em .5em}}
/* the legend of the cards under a table is two sentences: they may take two lines */
.sl-key>span:has(.sl-cd){white-space:normal;text-align:left}
/* a yellow card held, beside a name on a plate */
.sl-plcd{margin:0 0 0 5px}
/* a card as a sign in a line of text: yellow plain, red struck through */
.sl-cd{display:inline-block;flex:none;width:8px;height:11px;margin-right:4px;border-radius:2px;vertical-align:-1px;background:var(--medal)}
.sl-cd-r{background:linear-gradient(to top right,var(--cherry) 40%,var(--ivory) 40% 60%,var(--cherry) 60%)}
.sl-key .sl-cd{margin-right:0}
/* the table of a round: the player's rack and cards */
.sl-cards{margin:-1px 0 8px}
.sl-lts{display:flex;gap:3px;margin:0 0 5px}
.sl-lt{position:relative;flex:none;width:min(24px,calc((100vw - 52px)/9 - 3px));aspect-ratio:1;display:grid;place-items:center;border-radius:4px;font:700 .78rem/1 var(--ui);font-style:normal}
.sl-lt-used{background:var(--ivory);color:var(--ink)}
.sl-lt-none{color:var(--mist);box-shadow:inset 0 0 0 1.5px var(--line)}
.sl-lt-y{background:var(--medal);color:var(--ink)}
.sl-lt-y::after{position:absolute;right:-3px;top:-4px;min-width:10px;height:10px;display:grid;place-items:center;border-radius:5px;background:var(--ink);color:var(--ivory);font:800 .56rem/1 var(--ui);box-shadow:0 0 0 1px var(--line)}
.sl-lt-y::after{content:"!"}
.sl-table.sl-show .sl-lt{animation:sl-in .35s var(--ease) both;animation-delay:calc(var(--sl-k,0)*30ms + 500ms)}
.sl-table.sl-show .sl-lt-new{animation:sl-lt-new .7s var(--ease) both;animation-delay:calc(var(--sl-k,0)*30ms + 900ms)}
@keyframes sl-lt-new{0%{transform:scale(.3);opacity:0}45%{transform:scale(1.5) rotate(-8deg);opacity:1}70%{transform:scale(.92) rotate(5deg)}}
.sl-cline{display:flex;flex-wrap:wrap;gap:2px 10px;margin:0;font-size:.76rem;line-height:1.5;color:var(--mist)}
.sl-cline span{white-space:nowrap}
.sl-cy,.sl-cr{color:var(--ivory);font-weight:600}
.sl-cc{color:var(--gold);font-weight:700}
.sl-cheer .sl-c-clean{font-size:1.05rem}
/* the card of a round with its reasons: on a player's row of the table, and under the comparison of a match */
.sl-cnote{display:flex;align-items:flex-start;gap:7px;margin:6px 0 0;padding:5px 9px;border:1.5px solid var(--medal);border-radius:9px;font-size:.8rem;line-height:1.35;color:var(--ivory);text-align:left}
.sl-cnote .sl-cd{flex:none;margin:.2em 0 0}
.sl-cnote b{font-weight:800}
.sl-cnote.sl-cn-r{border:3px double var(--cherry)}
.sl-cnote.sl-cn-r .sl-cd-r{background:linear-gradient(to top right,var(--cherry) 40%,var(--ivory) 40% 60%,var(--cherry) 60%)}
.sl-cnote.sl-cn-held{border-style:dashed;color:var(--mist)}
.sl-cards .sl-cnote{margin-bottom:2px}
.sl-from .sl-minus b{color:var(--medal)}
/* the round and which forms count: the tag goes under the number of the round where the line is short */
.sl-round{flex-wrap:wrap;row-gap:3px}
.sl-rn,.sl-round .sl-lang{white-space:nowrap}
/* before the first word: which forms count */
.sl-fh{margin:6px 2px 0;font-size:.8rem;line-height:1.35;color:var(--mist)}
/* the sentence about a form that does not count is long: two lines where one is not enough */
.sl-note.sl-wrap{white-space:normal;text-overflow:clip;font-size:.8rem;line-height:1.25;text-align:left}
.sl-noterow{padding:0 8px;box-sizing:border-box}
/* a refused word that is a form of another: which one */
.sl-formof{margin:0 2px 0 6px;font-style:normal;font-size:.72rem;color:var(--mist);white-space:nowrap}
/* the whole game in figures: on the last table (light on the cloth) and on the result sheet (ink on paper) */
.sl-fin{margin:10px 0 4px;padding:9px 11px 7px;border:1px solid var(--edge);border-radius:12px;text-align:left;color:var(--fg)}
.sl-fincap{margin:0 0 6px;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--fg2)}
.sl-finrow{padding:6px 0;border-top:1px solid var(--edge)}
.sl-finwho{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 2px;font-weight:700;font-size:.92rem}
.sl-finwho span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sl-finwho b{flex:none;font-variant-numeric:tabular-nums}
.sl-finline{display:flex;flex-wrap:wrap;gap:1px 11px;margin:0;font-size:.78rem;line-height:1.5;color:var(--fg2)}
.sl-finline span{white-space:nowrap}
.sl-finline b{color:var(--fg);font-weight:600}
html.still .sl-tile.sl-t-new .sl-mk,html.still .sl.sl-last .sl-tile,html.still .sl-table.sl-show .sl-lt{animation:none}
@media (prefers-reduced-motion:reduce){.sl-tile.sl-t-new .sl-mk,.sl.sl-last .sl-tile,.sl-table.sl-show .sl-lt{animation:none}}
/* Slova z písmen, the match (public/games/slova.js: "a match"): the pitch in place of the plates, the rack of ten to
   twelve tiles in two rows, the bars of a round's comparison, the referee's card, the end of a match on the table
   and on the result sheet. One block; every class is slp- or a .sl-match variant of the screen's own. The grass, its
   chalk and the ball are the colours of the things themselves — green, white, black in both skins, as a playing
   card's face is ivory in both; the two sides wear --medal (the viewer's, always on the left) and --cherry. */
.sl-match{--slp-me:var(--medal);--slp-op:var(--cherry);--slp-op-lite:#ff9db0;--slp-g1:#3f9d50;--slp-g2:#328a44;--slp-g3:#27713a;--slp-chalk:rgba(255,255,255,.88);--slp-b:clamp(17px,3.3vh,24px);
  --sl-t:clamp(40px,min(calc((100vw - 52px)/6),8.4vh),60px)}
@supports (color:color-mix(in srgb,red,blue)){.sl-match{--slp-op-lite:color-mix(in srgb,var(--cherry) 48%,#fff)}}
@supports (height:1dvh){.sl-match{--slp-b:clamp(17px,3.3dvh,24px);--sl-t:clamp(40px,min(calc((100vw - 52px)/6),8.4dvh),60px)}}
.sl-match .sl-rack,.sl-match .sl-keys{width:calc(6*var(--sl-t) + 5*6px);max-width:100%}
.sl-match .sl-rack[data-n="10"]{width:calc(5*var(--sl-t) + 4*6px)}
/* more letters laid than a word can have: they get smaller, the rail keeps its size */
.sl-rail[data-n="10"] .sl-pick,.sl-rail[data-n="11"] .sl-pick,.sl-rail[data-n="12"] .sl-pick{--sl-p:min(27px,calc((100vw - 60px)/12 - 3px))}
.sl-pitch{min-width:0;padding:0 8px 5px}
.sl-pitch[hidden]{display:none}
.slp-board{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;padding:0 1px 5px}
.slp-team{display:flex;align-items:center;gap:8px;min-width:0}
.slp-team.slp-r{flex-direction:row-reverse}
.slp-pl{position:relative;display:flex;align-items:center;gap:6px;min-width:0}
.slp-r .slp-pl{flex-direction:row-reverse}
.slp-pl .ava{flex:none;width:28px;height:28px;font-size:.84rem;box-shadow:0 0 0 2px var(--slp-me)}
.slp-r .slp-pl .ava{box-shadow:0 0 0 2px var(--slp-op)}
.slp-pl .ava .chipico{width:13px;height:13px;right:-4px;bottom:-3px;padding:1.5px}
.slp-pl .sl-nm{min-width:0;font-weight:600;font-size:.84rem}
.slp-pl.slp-off .ava{opacity:.45}
.slp-pl.sl-pet .ava{margin-left:9px}
.slp-pl .sl-cd{flex:none;margin:0;width:9px;height:13px;box-shadow:0 0 0 1px rgba(0,0,0,.35);transform:rotate(8deg)}
.slp-pl .sl-cd-r{background:var(--cherry)}
.slp-tick{flex:none;width:15px;height:15px;border-radius:50%;background:var(--gold);transform:scale(0);transition:transform .2s var(--ease);position:relative}
.slp-tick::after{content:"";position:absolute;left:5px;top:2.5px;width:3.5px;height:7px;border:solid var(--ink);border-width:0 2px 2px 0;transform:rotate(42deg)}
.slp-pl.slp-ok .slp-tick{transform:scale(1)}
.sl-pitch[data-n="2"] .slp-team{gap:5px}
.sl-pitch[data-n="2"] .slp-pl{gap:3px}
.sl-pitch[data-n="2"] .slp-pl .ava{width:24px;height:24px;font-size:.74rem}
.sl-pitch[data-n="2"] .slp-pl .sl-count{min-width:17px;height:18px;padding:0 3px;font-size:.7rem}
.sl-pitch[data-n="2"] .slp-score{gap:4px;padding:2px 7px 3px}
.sl-pitch[data-n="2"] .slp-pl .sl-nm{display:none}
@media (min-width:520px){.sl-pitch[data-n="2"] .slp-pl .sl-nm{display:block}}
.slp-score{display:flex;align-items:center;gap:6px;padding:2px 11px 3px;border-radius:9px;background:rgba(0,0,0,.34);box-shadow:inset 0 0 0 1px var(--line);color:var(--ivory)}
.slp-score b{min-width:.62em;font:400 1.5rem/1 var(--display);text-align:center;font-variant-numeric:tabular-nums}
.slp-score b:first-child{color:var(--slp-me)}
.slp-score i{font-style:normal;font-weight:700;opacity:.6}
.slp-score b.sl-bump{animation:sl-bump .5s var(--ease)}
/* the field: a goal at each end, between them twenty stripes of grass — one for every step of the ball */
.slp-field{position:relative;height:clamp(52px,10vh,82px);border-radius:9px;background:var(--slp-g3);box-shadow:0 0 0 1.5px rgba(0,0,0,.38),0 8px 16px -8px rgba(0,0,0,.8)}
@supports (height:1dvh){.slp-field{height:clamp(52px,10dvh,82px)}}
.slp-grass{position:absolute;left:7%;right:7%;top:0;bottom:0;background:repeating-linear-gradient(90deg,var(--slp-g1) 0 5%,var(--slp-g2) 5% 10%)}
.slp-grass::before{content:"";position:absolute;inset:4px 0;border:1.5px solid var(--slp-chalk)}
.slp-grass::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(rgba(255,255,255,.16),rgba(255,255,255,0) 42%,rgba(0,0,0,.2))}
.slp-mid{position:absolute;left:50%;top:4px;bottom:4px;width:1.5px;margin-left:-.75px;background:var(--slp-chalk)}
.slp-ring{position:absolute;left:50%;top:50%;height:50%;aspect-ratio:1;border:1.5px solid var(--slp-chalk);border-radius:50%;transform:translate(-50%,-50%)}
.slp-ring::after{content:"";position:absolute;left:50%;top:50%;width:4px;height:4px;margin:-2px;border-radius:50%;background:var(--slp-chalk)}
.slp-box{position:absolute;top:18%;bottom:18%;width:12%;border:1.5px solid var(--slp-chalk)}
.slp-box::after{content:"";position:absolute;top:26%;bottom:26%;width:40%;border:1.5px solid var(--slp-chalk)}
.slp-box-l{left:0;border-left:0}
.slp-box-l::after{left:0;border-left:0}
.slp-box-r{right:0;border-right:0}
.slp-box-r::after{right:0;border-right:0}
.slp-net{position:absolute;top:24%;bottom:24%;width:calc(7% - 3px);border:2.5px solid var(--slp-me);
  background:repeating-linear-gradient(45deg,rgba(255,255,255,.55) 0 1px,transparent 1px 5px),repeating-linear-gradient(-45deg,rgba(255,255,255,.55) 0 1px,transparent 1px 5px),rgba(0,0,0,.3)}
.slp-net-l{left:3px;border-right:0;border-radius:5px 0 0 5px;transform-origin:100% 50%}
.slp-net-r{right:3px;border-left:0;border-radius:0 5px 5px 0;border-color:var(--slp-op);transform-origin:0 50%}
.slp-ball{position:absolute;left:50%;top:50%;z-index:3;width:var(--slp-b);height:var(--slp-b);margin:calc(var(--slp-b)/-2) 0 0 calc(var(--slp-b)/-2)}
.slp-ball::before{content:"";position:absolute;left:6%;right:-10%;bottom:-20%;height:42%;border-radius:50%;background:rgba(0,0,0,.42);filter:blur(1.5px)}
.slp-ball svg{position:relative;display:block;width:100%;height:100%}
.slp-ghost{position:absolute;top:50%;z-index:2;width:var(--slp-b);height:var(--slp-b);margin:calc(var(--slp-b)/-2) 0 0 calc(var(--slp-b)/-2);border:1.5px dashed var(--slp-chalk);border-radius:50%;box-sizing:border-box}
.slp-trail{position:absolute;top:50%;z-index:2;height:4px;margin-top:-2px;background:repeating-linear-gradient(90deg,var(--slp-chalk) 0 5px,transparent 5px 9px)}
.slp-move{position:absolute;top:2px;z-index:4;padding:0 .55em;border-radius:999px;font:800 .68rem/1.55 var(--ui);white-space:nowrap;transform:translateX(-50%);box-shadow:0 2px 5px -1px rgba(0,0,0,.6)}
.slp-move.slp-fwd{background:var(--slp-me);color:var(--ink)}
.slp-move.slp-back{background:var(--slp-op);color:var(--ivory)}
.slp-field.slp-rolling .slp-ball::before{right:-26%;opacity:.8}
.slp-field.slp-stay .slp-ball{animation:slp-rock .7s ease-in-out}
.slp-field.slp-kickoff .slp-ball{animation:slp-drop .6s var(--ease)}
.slp-field.slp-goal-l .slp-net-l,.slp-field.slp-goal-r .slp-net-r{animation:slp-net 1.1s var(--ease)}
.slp-field.slp-goal-l .slp-ball,.slp-field.slp-goal-r .slp-ball{animation:slp-innet .5s ease-out both}
@keyframes slp-rock{25%{transform:translateX(-4px) rotate(-30deg)}60%{transform:translateX(3px) rotate(22deg)}}
@keyframes slp-drop{0%{transform:translateY(-140%) scale(.6);opacity:0}55%{transform:translateY(0) scale(1.15);opacity:1}75%{transform:translateY(-22%)}}
@keyframes slp-net{0%{transform:none;filter:none}14%{transform:scaleX(1.55) scaleY(1.12);filter:brightness(2.2)}32%{transform:scaleX(.92)}50%{transform:scaleX(1.2)}70%{transform:scaleX(.98)}}
@keyframes slp-innet{40%{transform:translateY(-18%) scale(.92)}100%{transform:translateY(12%) scale(.88)}}
.slp-banner{position:absolute;inset:0;z-index:5;display:none;place-content:center;justify-items:center;gap:0;pointer-events:none;border-radius:inherit;text-align:center}
.slp-banner.slp-on{display:grid;animation:slp-veil 2.1s ease-out both}
.slp-banner b{font:400 clamp(1.7rem,7.5vh,2.5rem)/1 var(--display);letter-spacing:.04em;text-shadow:0 2px 0 rgba(0,0,0,.45),0 0 18px rgba(0,0,0,.5);animation:slp-goal 2.1s var(--ease) both}
.slp-banner span{max-width:90%;padding:0 .7em;border-radius:999px;font:700 .72rem/1.6 var(--ui);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;animation:slp-goal 2.1s .12s var(--ease) both}
.slp-banner.slp-mine,.slp-banner.slp-theirs{background:radial-gradient(closest-side,rgba(0,0,0,.52),rgba(0,0,0,.14))}
.slp-banner.slp-mine b{color:var(--slp-me)}
.slp-banner.slp-mine span{background:var(--slp-me);color:var(--ink)}
.slp-banner.slp-theirs b{color:var(--ivory)}
.slp-banner.slp-theirs span{background:var(--slp-op);color:var(--ivory)}
@keyframes slp-veil{0%{opacity:0}8%{opacity:1}86%{opacity:1}100%{opacity:0}}
@keyframes slp-goal{0%{transform:scale(.2) rotate(-8deg);opacity:0}12%{transform:scale(1.35) rotate(3deg);opacity:1}22%{transform:scale(.95)}30%{transform:scale(1.06)}38%{transform:none}}
.slp-conf i{width:6px;height:10px;border-radius:1px;box-shadow:none;animation-duration:1.5s}
.slp-conf.slp-c-me i{background:var(--medal)}
.slp-conf.slp-c-op i{background:var(--cherry)}
.slp-conf.slp-c-me i:nth-child(3n),.slp-conf.slp-c-op i:nth-child(3n){background:var(--ivory);border-radius:1px}
/* my words: what a hint told */
.slp-hint{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 2px 7px;font-size:.76rem;letter-spacing:.04em;text-transform:uppercase;color:var(--mist)}
.slp-hint b{display:inline-flex;gap:2px}
.slp-hint b i,.slp-hint b u{display:grid;place-items:center;width:1.5em;height:1.6em;border-radius:4px;font:700 .86rem/1 var(--ui);font-style:normal;text-decoration:none}
.slp-hint b i{background:var(--gold);color:var(--ink)}
.slp-hint b u{box-shadow:inset 0 0 0 1.5px var(--line)}
/* the referee's card for guessing, big, for a moment */
.slp-card{position:absolute;left:50%;top:40%;z-index:6;display:grid;justify-items:center;gap:3px;width:min(84%,290px);padding:13px 14px 12px;border-radius:14px;background:var(--ink);color:var(--ivory);box-shadow:0 0 0 1.5px var(--line),0 16px 40px -8px rgba(0,0,0,.85);text-align:center;pointer-events:none;transform:translate(-50%,-50%)}
.slp-card[hidden]{display:none}
.slp-card.slp-on{animation:slp-cardin 2.8s var(--ease) both}
.slp-card b{font:400 1.35rem/1.15 var(--display)}
.slp-card span{font-size:.82rem;line-height:1.35;opacity:.85}
.slp-bigcard{width:36px;height:50px;margin-bottom:5px;border-radius:5px;box-shadow:0 5px 12px -3px rgba(0,0,0,.7),inset 0 0 0 1.5px rgba(255,255,255,.25);transform:rotate(9deg)}
.slp-card.slp-on .slp-bigcard{animation:slp-wave .7s var(--ease) both}
.slp-bigcard.slp-cy{background:var(--medal)}
.slp-bigcard.slp-cr{background:var(--cherry)}
.slp-card.slp-still,.slp-card.slp-still .slp-bigcard{animation:none}
@keyframes slp-cardin{0%{transform:translate(-50%,-40%) scale(.6);opacity:0}7%{transform:translate(-50%,-50%) scale(1.05);opacity:1}12%{transform:translate(-50%,-50%)}90%{transform:translate(-50%,-50%);opacity:1}100%{transform:translate(-50%,-60%);opacity:0}}
@keyframes slp-wave{0%{transform:translateY(40px) rotate(-40deg) scale(.4)}60%{transform:translateY(-8px) rotate(16deg) scale(1.15)}}
/* the table of a round: both sides in four bars, the split of the power, what the ball did and why */
.slp-cmp{margin:2px 0 10px;padding:9px 11px 10px;border-radius:12px;background:rgba(0,0,0,.2);box-shadow:inset 0 0 0 1px var(--line)}
.slp-sides,.slp-stat p,.slp-pcap{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:baseline;gap:8px;margin:0}
.slp-sides{margin-bottom:7px;font-weight:700;font-size:.92rem}
.slp-sides span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.slp-sides span:first-child{color:var(--slp-me)}
.slp-sides span:last-child{text-align:right;color:var(--slp-op-lite)}
.slp-sides i,.slp-stat p span,.slp-pcap span{font-style:normal;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;color:var(--mist)}
.slp-stat{margin:0 0 7px}
.slp-stat p{margin-bottom:3px;font-size:.9rem}
.slp-stat p b{min-width:0;font-weight:500;color:var(--mist);font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.slp-stat p b:last-child,.slp-pcap b:last-child{text-align:right}
.slp-stat.slp-wl p b:first-child,.slp-stat.slp-wr p b:last-child{font-weight:800;color:var(--ivory)}
.slp-bar{display:flex;gap:2px;height:7px}
.slp-bar i{flex:none;height:100%;border-radius:999px 2px 2px 999px;background:var(--slp-me)}
.slp-bar i+i{flex:1;border-radius:2px 999px 999px 2px;background:var(--slp-op)}
.slp-stat.slp-wl .slp-bar i+i,.slp-stat.slp-wr .slp-bar i:first-child{opacity:.4}
.slp-stat:not(.slp-wl):not(.slp-wr) .slp-bar i{opacity:.6}
.slp-push{margin-top:10px;padding-top:9px;border-top:1px solid var(--line)}
.slp-pcap{margin-bottom:4px}
.slp-pcap b{font:400 1.3rem/1 var(--display);font-variant-numeric:tabular-nums;white-space:nowrap}
.slp-pcap span{white-space:normal;text-align:center;line-height:1.35}
@media (max-width:359px){.slp-pcap b{font-size:1.1rem}}
.slp-pcap b:first-child{color:var(--slp-me)}
.slp-pcap b:last-child{color:var(--slp-op-lite)}
.slp-pcap em{margin-left:.35em;font-style:normal;letter-spacing:0;color:var(--ivory);font-variant-numeric:tabular-nums}
.slp-bar.slp-big{height:12px}
.slp-verdict{margin:9px 0 5px;font-weight:800;font-size:1rem;line-height:1.25;text-align:center;color:var(--ivory)}
.slp-verdict.slp-mine{color:var(--slp-me)}
.slp-verdict.slp-theirs{color:var(--slp-op-lite)}
.slp-verdict.slp-isgoal{font:400 1.3rem/1.2 var(--display)}
.slp-why{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 5px;margin:0}
.slp-why span{padding:.05em .6em;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--line);font-size:.76rem;line-height:1.6;white-space:nowrap;color:var(--mist)}
.slp-why b{color:var(--ivory);font-variant-numeric:tabular-nums}
.slp-why .slp-minus b{color:var(--slp-op-lite)}
.slp-why .slp-kick{box-shadow:inset 0 0 0 1.5px var(--slp-op)}
.slp-note{display:flex;align-items:baseline;gap:5px;margin:8px 0 0;font-size:.8rem;line-height:1.35;color:var(--mist)}
.slp-note .sl-cd{flex:none;margin:0;align-self:center}
.slp-note .sl-cd-r{background:var(--cherry)}
.slp-note.slp-idle{font-weight:700;color:var(--slp-op-lite)}
.slp-row .sl-gain{font:700 .86rem/1 var(--ui)}
.sl-row.slp-row.slp-mine .sl-rname{box-shadow:inset 0 -2px 0 var(--slp-me)}
.sl-row.slp-row.slp-theirs .sl-rname{box-shadow:inset 0 -2px 0 var(--slp-op)}
.slp-fin{margin:2px 0 8px}
.sl-match .sl-key span{display:block;white-space:normal;line-height:1.4}
.sl-table.slp-seq .slp-stat,.sl-table.slp-seq .slp-push{animation:slp-in .42s var(--ease) both;animation-delay:calc(var(--sl-i,0)*300ms + 180ms)}
.sl-table.slp-seq .slp-bar i:first-child{animation:slp-grow .55s var(--ease) both;animation-delay:calc(var(--sl-i,0)*300ms + 240ms)}
.sl-table.slp-seq .slp-note,.sl-table.slp-seq .slp-row,.sl-table.slp-seq .sl-key,.sl-table.slp-seq .slp-fin,.sl-table.slp-seq .sl-fin,.sl-table.slp-seq .sl-bestrow{animation:slp-in .4s 1.75s var(--ease) both}
@keyframes slp-in{0%{opacity:0;transform:translateY(9px)}}
@keyframes slp-grow{0%{width:50%}}
.sl-match .sl-foot{flex-direction:column;align-items:center;gap:3px}
.slp-auto{margin:0;font-size:.74rem;line-height:1.3;color:var(--mist);font-variant-numeric:tabular-nums}
.slp-auto[hidden]{display:none}
/* the end of a match and its rounds as a row of flags: on the last table (light on the cloth) and on the result sheet (ink on paper) */
.slp-end{margin:.1em 0 .7em;text-align:center;color:var(--fg)}
.slp-endscore{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin:0;font-weight:700;font-size:.95rem}
.slp-endscore span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
.slp-endscore span:last-child{text-align:left}
.slp-endscore b{font:400 2.1rem/1 var(--display);font-variant-numeric:tabular-nums;white-space:nowrap}
.slp-endhow{margin:.35em 0 0;font-size:.86rem;line-height:1.35;color:var(--fg2)}
.slp-strip{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;margin:.55em 0 0;color:var(--fg)}
.slp-strip span{display:inline-flex;align-items:center;gap:4px;padding:1px .6em 1px 2px;border-radius:999px;box-shadow:inset 0 0 0 1.5px var(--edge);font:700 .74rem/1.5 var(--ui);white-space:nowrap}
.slp-strip i{min-width:1.5em;border-radius:999px;background:var(--wash);font-style:normal;font-weight:600;text-align:center;color:var(--fg2)}
.slp-strip .slp-s-me{box-shadow:inset 0 0 0 1.5px var(--medal)}
.slp-strip .slp-s-op{box-shadow:inset 0 0 0 1.5px var(--cherry)}
.slp-strip .slp-g-me{background:var(--medal);color:var(--ink)}
.slp-strip .slp-g-op{background:var(--cherry);color:var(--ivory)}
.slp-strip .slp-g-me i,.slp-strip .slp-g-op i{background:rgba(255,255,255,.3);color:inherit}
.slp-strip .slp-g-op i{background:rgba(0,0,0,.2)} /* light letters: their little disc is darker than the red, not lighter */
/* the lobby: what the chosen game means for the players who sit there (the context colours) */
.slp-lobby{margin:.7rem 0 0;padding:.55rem .8rem;border:1px solid var(--edge);border-radius:var(--radius);font-size:.9rem;line-height:1.4;text-align:left;color:var(--fg)}
.slp-lobby.slp-warn{border-color:var(--cherry)}
@media (max-height:600px){
  .sl-pitch{padding-bottom:3px}
  .slp-board{padding-bottom:3px}
  .slp-pl .ava{width:25px;height:25px;font-size:.78rem}
  .slp-score b{font-size:1.3rem}
}
html.still .slp-ball,html.still .slp-ball svg{transition:none!important}
html.still .slp-banner.slp-on,html.still .slp-banner b,html.still .slp-banner span,html.still .slp-card.slp-on,html.still .slp-card .slp-bigcard,html.still .slp-field .slp-ball,html.still .slp-field .slp-net,html.still .sl-table.slp-seq *{animation:none!important}
@media (prefers-reduced-motion:reduce){
  .slp-ball,.slp-ball svg{transition:none!important}
  .slp-banner.slp-on,.slp-banner b,.slp-banner span,.slp-card.slp-on,.slp-card .slp-bigcard,.slp-field .slp-ball,.slp-field .slp-net,.sl-table.slp-seq *{animation:none!important}
}
/* a hint in Piškvorky (the shell's hint button, server/games/piskvorky.js hint()): the cells it points at */
.pisk-cell.gm-hint{box-shadow:inset 0 0 0 3px var(--gold);animation:gm-blink 1.1s ease-in-out infinite}
.pisk-cell.gm-hint-threat{box-shadow:inset 0 0 0 3px var(--cherry)}
@keyframes gm-blink{50%{box-shadow:inset 0 0 0 3px transparent}}
/* Tajná slova: tables of several sizes, the cards a clue is meant for, the captain's helper, "maybe" marks,
   the card looked at after the game (on the table: dark in both skins, the game's own --tj-… colours);
   the clues on the result sheet (light in both); who is who in the lobby (.tjl: the context names). */
.tajna-board{grid-template-columns:repeat(var(--tj-cols,5),minmax(0,1fr));grid-template-rows:repeat(var(--tj-rows,5),minmax(0,1fr))}
.tajna-board.choose .tajna-card:not(.open),.tajna-board.done .tajna-card{cursor:pointer}
.tajna-tag{position:absolute;top:2px;left:2px;display:none;place-items:center;min-width:1.25em;height:1.25em;padding:0 .2em;border-radius:999px;font:700 .64rem/1 var(--ui);font-style:normal;pointer-events:none;background:var(--gold);color:var(--ink)}
.tajna.wide .tajna-tag{top:5px;left:5px;font-size:.78rem}
.tajna-card.maybe .tajna-tag,.tajna-card.meant .tajna-tag,.tajna-card.adv .tajna-tag{display:grid}
.tajna-card.maybe:not(.sel){outline:2px dashed var(--gold);outline-offset:-3px}
.tajna-card.meant{outline:3px solid var(--gold);outline-offset:-2px}
.tajna-card.adv:not(.meant){outline:2px dashed var(--ink);outline-offset:-3px}
.tajna-card.adv .tajna-tag{background:var(--ink);color:var(--ivory)}
.tajna-card.look{outline:3px solid var(--gold);outline-offset:-1px}
.tajna-info b{color:var(--ivory);font-weight:700}
/* the captain's form: "try it on the computer first", and what the computer said */
.tajna-try{flex:0 0 auto;min-height:46px;padding:.4em .95em;font-size:.92rem;white-space:nowrap}
.tajna-try[hidden],.tajna-adv[hidden]{display:none}
.tajna-adv{flex:1 0 100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px 5px;margin:0;font-size:.8rem;line-height:1.3;color:var(--mist)}
.tajna-adv .h{flex:0 1 auto}
.tajna-adv .p{padding:1px 7px;border-radius:999px;font-size:.76rem;font-weight:600;white-space:nowrap}
.tajna-adv .p.o0{background:var(--tj-red);color:var(--ivory)}
.tajna-adv .p.o1{background:var(--tj-blue);color:var(--ivory)}
.tajna-adv .p.o2{background:var(--tj-none);color:var(--ink)}
.tajna-adv .p.o3{background:var(--tj-black);color:var(--ivory);box-shadow:inset 0 0 0 1.5px var(--ivory)}
.tajna-adv .warn,.tajna-adv .fine{flex:1 0 100%;text-align:center;font-weight:700}
.tajna-adv .warn{color:var(--gold)}
.tajna-adv .fine{color:var(--ivory);font-weight:600}
/* a short screen: the word and the number in one row, the two buttons in the next */
.tajna.low:not(.wide) .tajna-form{flex-wrap:wrap}
.tajna.low:not(.wide) .tajna-input{flex:1 1 120px}
.tajna.low:not(.wide) .tajna-try{flex:0 0 auto;min-height:42px;padding:.3em .8em;font-size:.84rem}
.tajna.low:not(.wide) .tajna-give{flex:1 1 0;min-height:42px}
.tajna.low:not(.wide) .tajna-report{position:static;flex:1 0 100%}
.tajna.low:not(.wide) .tajna-err{position:static;padding:0;background:none;font-size:.8rem;line-height:1.2}
.tajna.low:not(.wide) .tajna-adv{gap:2px 4px;font-size:.74rem;line-height:1.2}
.tajna.low:not(.wide) .tajna-adv .warn,.tajna.low:not(.wide) .tajna-adv .fine{flex:0 1 auto}
.tajna.low:not(.wide) .tajna-adv .h{display:none}
/* the guesser's three buttons share the row */
.tajna-bar .btn{flex:1 1 0;min-width:0;max-width:11em;padding-left:.5em;padding-right:.5em;font-size:.92rem}
.tajna-bar .tajna-maybe{flex:.7 1 0}
@media (max-width:359px){.tajna-bar{gap:5px;padding-left:6px;padding-right:6px}.tajna-bar .btn{padding-left:.2em;padding-right:.2em;font-size:.78rem;letter-spacing:.02em}}
.tajna-bar .tajna-maybe[aria-pressed=true]{border-color:var(--gold);color:var(--gold)}
/* the log: cards of a clue still to be found, and what the captain meant */
.tajna-log i.short{color:var(--gold)}
.tajna-log .mt{flex:1 0 100%;font-size:.74rem;color:var(--mist)}
.tajna-log .mt u{text-decoration:none;font-weight:600;color:var(--ivory)}
.tajna-log .mt u.miss{color:var(--gold)}
.tajna.low .tajna-log .mt{flex:0 1 auto}
/* the result sheet: every clue with the cards it was meant for, the board by owner, the roles of the next game */
.tajna-said ol{margin:0 0 .55em;padding:0;list-style:none}
.tajna-said li{margin:0 0 2px;padding:0 0 0 8px;border-left:3px solid currentColor}
.tajna-said li .miss{text-decoration:underline dashed;text-underline-offset:2px}
.tajna-said li i{font-style:normal;color:var(--fg2)}
.tajna-said li s{text-decoration:line-through}
.tajna-said .own{color:var(--fg)}
.tajna-said .own.o0 b{color:var(--cherry)}
.tajna-said .own.o1 b{color:#2a5c9a}
.tajna-next{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.4em .8em;margin:.1em 0 .8em;font-size:.86rem;line-height:1.4;text-align:center}
.tajna-next p{margin:0;flex:1 1 14em}
.tajna-next .red b{color:var(--cherry)}
.tajna-next .blue b{color:#2a5c9a}
/* the lobby: who is who */
.tjl{margin:0 0 1.1rem;text-align:left;color:var(--fg)}
.tjl-h{display:flex;align-items:center;justify-content:space-between;gap:.6rem;min-height:40px;margin:0 0 .4rem}
.tjl-seats{list-style:none;margin:0 0 .6rem;padding:0;display:grid;gap:.4rem}
.tjl-seat{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.35rem .6rem;padding:.4rem .5rem .4rem .65rem;border:1.5px solid var(--edge);border-left:6px solid var(--cherry);border-radius:var(--radius)}
.tjl-seat.blue{border-left-color:#2a5c9a}
.tjl-seat.me{background:var(--wash)}
.tjl-who{display:flex;align-items:center;gap:.4rem;min-width:0;flex:1 1 8rem}
.tjl-who b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tjl-seat.cpu .tjl-who b{font-weight:600}
.tjl-who small{color:var(--fg2);font-size:.8rem;white-space:nowrap}
.tjl-ico{flex:none;width:18px;height:18px;color:var(--fg2)}
.tjl-ico svg{display:block;width:100%;height:100%}
.tjl-pick{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.3rem}
.tjl-pick .seg{padding:2px}
.tjl-pick .seg button{min-width:0;min-height:36px;padding:0 .55em;font-size:.78rem}
.tjl-is{color:var(--fg2);font-size:.88rem;white-space:nowrap}
.tjl .vdesc{margin:0}
/* room for a frame: where a name or a number stood right against the avatar, or the avatar right against the top of
   the screen, the seat leaves the 5 px a frame or an aura takes at a table (see "room at a table" in the lk- block) */
#table .plate .ava{margin-bottom:2px}
#table .mebar .plate .ava{margin-bottom:0}
.prsi-seat .ava{margin-bottom:5px}
.poker-seat .poker-who .ava{margin-bottom:5px}
.fotbal-players:not([data-n="2"]) .fotbal-pl .ava{margin-bottom:5px}
.kozy-seats[data-n="4"] .kozy-seat{row-gap:4px;column-gap:.42rem}
@media (max-width:380px){.kozy-seats[data-n="3"] .kozy-seat{row-gap:4px}}
@media (max-height:600px){.prsi-others,.zoliky-others{padding-top:6px}}
@media (max-height:480px) and (orientation:landscape){.prsi-seat .ava,.poker-seat .poker-who .ava{margin-bottom:0}}

/* ── the hint panel (hints-ui.js) ─────────────────────────────────────────
   One block; every class starts with hn-. A hint is a small light card laid over the table (a sheet is
   light in both skins, so the brand names are used: --paper, --ink, --accent…). It stands at the far side
   of the screen from the game's controls (.hn-top under the top bar, .hn-bottom above the foot), folds into
   its head and never takes more than a part of the height: what is under it scrolls inside. */
.hn-panel{position:fixed;z-index:12;left:calc(var(--sal,0px) + 8px);right:calc(var(--sar,0px) + 8px);max-width:26rem;margin:0 auto;display:flex;flex-direction:column;max-height:min(50vh,25rem);border:1.5px solid var(--hair);border-radius:var(--radius);background:var(--paper);color:var(--ink);box-shadow:var(--shadow-lg);font:500 .84rem/1.35 var(--ui);text-align:left;animation:hn-in .22s var(--ease) both}
.hn-panel.hn-top{top:var(--hn-top,56px)}
.hn-panel.hn-bottom{bottom:calc(var(--sab,0px) + 8px)}
.hn-panel.hn-folded{left:auto;width:max-content;max-width:calc(100% - 16px);margin:0;box-shadow:var(--shadow)}
@keyframes hn-in{from{opacity:0;transform:translateY(-6px)}}
html.still .hn-panel{animation:none}
@media (prefers-reduced-motion:reduce){.hn-panel{animation:none}}
.hn-panel header{flex:none;display:flex;align-items:center;gap:.4rem;min-height:40px;padding:0 .2rem 0 .6rem;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hn-panel:not(.hn-folded) header{border-bottom:1px solid var(--hair)}
.hn-bulb{font-size:1rem;line-height:1}
.hn-panel h3{flex:1 1 auto;min-width:0;margin:0;font:800 .8rem/1.2 var(--ui);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hn-folded h3{flex:0 1 auto}
.hn-mini{flex:none;display:inline-flex;align-items:center;max-width:11rem;overflow:hidden;font-weight:800;white-space:nowrap}
.hn-mini .hn-cards,.hn-mini .hn-dice{flex-wrap:nowrap}
.hn-mini.hn-says{flex:0 1 auto;display:block;min-width:0;max-width:none;text-overflow:ellipsis;font-size:.86rem}
.hn-chev{flex:none;width:.5rem;height:.5rem;margin:0 .35rem .2rem;border:solid var(--muted);border-width:0 2px 2px 0;transform:rotate(-135deg) translate(-2px,-2px)}
.hn-folded .hn-chev{transform:rotate(45deg)}
.hn-x{flex:none;width:40px;height:40px;border:0;background:none;color:var(--muted);font:700 1rem/1 var(--ui);cursor:pointer}
.hn-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:.5rem .65rem .55rem;border-radius:0 0 var(--radius) var(--radius)}
.hn-body.hn-more::after{content:"";position:sticky;bottom:-.55rem;display:block;height:1.5rem;margin:-1.5rem -.65rem -.55rem;background:linear-gradient(transparent,var(--paper));pointer-events:none}
.hn-body p{margin:0}
.hn-rec{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .5rem;font:800 1rem/1.25 var(--ui)}
.hn-why{margin-top:.3rem!important;color:var(--ink-soft)}
.hn-who{font-weight:800;color:var(--ink)}
.hn-cards,.hn-dice{display:inline-flex;flex-wrap:wrap;gap:.2rem;vertical-align:middle}
.hn-card{display:inline-flex;align-items:center;gap:.08em;height:1.7em;padding:0 .3em;border:1px solid var(--hair);border-radius:.3em;background:var(--card);color:var(--ink);font:800 .92rem/1 var(--ui);white-space:nowrap}
.hn-card b{font-weight:800}
.hn-card svg{width:.8em;height:.8em;fill:currentColor}
.hn-card.hn-red,.hn-suit.hn-red,.hn-ranks.hn-red{color:var(--cherry)}
.hn-card.hn-joker{color:var(--accent-dark)}
.hn-die{display:inline-grid;grid-template:repeat(3,1fr)/repeat(3,1fr);gap:1px;width:1.55rem;height:1.55rem;padding:.2rem;border:1px solid var(--hair);border-radius:.3rem;background:var(--card)}
.hn-die i{border-radius:50%}
.hn-die i.on{background:var(--ink)}
.hn-dice.hn-sums{gap:.2rem .7rem}
.hn-grp{display:inline-flex;align-items:center;gap:.2rem;white-space:nowrap}
.hn-grp b{min-width:1.1em;margin-left:.1rem;font:800 1rem/1 var(--ui);font-variant-numeric:tabular-nums;color:var(--ink)}
.hn-grp b::before{content:"= ";font-weight:600;color:var(--muted)}
.hn-mini .hn-sums{gap:.45rem}
.hn-mini .hn-grp .hn-die{width:1.2rem;height:1.2rem;padding:.14rem}
.hn-mini .hn-grp b{font-size:.86rem}
.hn-rows{list-style:none;margin:.45rem 0 0;padding:0;display:grid;gap:.2rem}
.hn-rows li{display:flex;align-items:center;gap:.4rem;min-height:1.75rem;padding:.1rem .35rem;border-radius:.4rem}
.hn-rows li.hn-best{background:var(--accent-soft);font-weight:800}
.hn-lab{flex:1 1 0;min-width:0}
.hn-bar{flex:0 0 22%;height:.4rem;border-radius:99px;background:var(--hair);overflow:hidden}
.hn-bar i{display:block;height:100%;border-radius:99px;background:var(--accent)}
.hn-val{flex:none;min-width:3.1em;text-align:right;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.hn-count{margin-top:.5rem;padding-top:.45rem;border-top:1px solid var(--hair)}
.hn-count h4{margin:0 0 .25rem;font:800 .7rem/1.2 var(--ui);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.hn-suits{list-style:none;margin:0 0 .3rem;padding:0;display:grid;gap:.1rem}
.hn-suits li{display:flex;flex-wrap:wrap;align-items:center;gap:0 .35rem;min-height:1.4rem}
.hn-suit{flex:none;width:.95rem;height:.95rem;fill:currentColor}
.hn-ranks{flex:1 1 auto;display:flex;flex-wrap:wrap;gap:0 .32em;font:800 .86rem/1.3 var(--ui);font-variant-numeric:tabular-nums}
.hn-ranks b{font-weight:800}
.hn-ranks em{font-style:normal;font-weight:600;color:var(--muted)}
.hn-n{flex:none;min-width:1.5em;padding:0 .3em;border-radius:99px;background:var(--sand);color:var(--ink-soft);font:800 .72rem/1.5 var(--ui);text-align:center}
.hn-suits small{flex:1 0 100%;padding-left:1.3rem;color:var(--muted);font-size:.74rem;line-height:1.25}
.hn-count p{color:var(--ink-soft);font-size:.8rem}
.hn-count p + p{margin-top:.15rem}
.hn-note{margin-top:.4rem!important;color:var(--muted);font-size:.76rem}
.hn-slim .hn-rows,.hn-slim .hn-note{display:none}
#dSheet td.hn-line{box-shadow:inset 0 0 0 3px var(--medal)}
/* the card counter (the item aid:counter): its button in the top bar, and the strip — a pill at the left under
   the top bar (the hint's own pill stands at the right), unfolding into the count block */
.icon.hn-cbtn{position:relative;font-size:1.15rem;line-height:1;opacity:.55}
.icon.hn-cbtn.on{opacity:1}
.icon.hn-cbtn.on::after{content:"";position:absolute;right:5px;top:6px;width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 2px var(--plum-3,#17170f)}
.icon.hn-cbtn.off{opacity:.3}
.hn-panel.hn-strip{z-index:11;max-height:min(46vh,22rem)}
.hn-panel.hn-strip.hn-folded{left:calc(var(--sal,0px) + 8px);right:auto;max-width:calc(100% - 16px)}
.hn-strip header{min-height:36px;padding-right:.35rem}
.hn-strip .hn-count{margin-top:0;padding-top:0;border-top:0}
.hn-strip .hn-mini.hn-says{display:inline-flex;align-items:center;gap:.55em;font-variant-numeric:tabular-nums}
.hn-pc{display:inline-flex;align-items:center;gap:.14em;font-weight:800}
.hn-pc svg{width:.82em;height:.82em;fill:currentColor}
.hn-pc.hn-red{color:var(--cherry)}
.menulist .hn-menunote{display:block;font-weight:500;font-size:.74rem;line-height:1.2;opacity:.7}
.menulist .hn-menulab{font-style:normal;text-align:left}
/* the same strip as a picture in the shop */
.gm-aiddemo{display:grid;gap:.5rem;margin:.6rem 0}
.hn-panel.hn-demo{position:static;z-index:auto;max-height:none;margin:0;animation:none;box-shadow:var(--shadow)}
.hn-panel.hn-demo.hn-folded{justify-self:start}
.hn-panel.hn-demo header{cursor:default}
.hn-foot{margin-top:.4rem!important;color:var(--muted);font-size:.72rem;text-align:right}
@media (max-width:340px),(max-height:600px){.hn-panel{font-size:.8rem;max-height:min(48vh,24rem)}.hn-rec{font-size:.94rem}}

/* ── hints on the board: Lodě and Piškvorky (hn-) ────────────────────────
   What a hint's `mark` puts on the game's own board (server/hints/lode.js, piskvorky.js); the classes are
   set by public/games/lode.js and public/games/piskvorky.js, only for the seat that asked.
   Both boards stand on a table, dark in both skins: the sea is blue, the paper of Piškvorky ivory. */

/* Lodě — the map of chances on the enemy sea: the lighter the gold, the likelier a ship (hn-h1 … hn-h8) */
.lode-cell.hn-h1{background-color:color-mix(in srgb,var(--medal) 7%,transparent)}
.lode-cell.hn-h2{background-color:color-mix(in srgb,var(--medal) 13%,transparent)}
.lode-cell.hn-h3{background-color:color-mix(in srgb,var(--medal) 20%,transparent)}
.lode-cell.hn-h4{background-color:color-mix(in srgb,var(--medal) 28%,transparent)}
.lode-cell.hn-h5{background-color:color-mix(in srgb,var(--medal) 37%,transparent)}
.lode-cell.hn-h6{background-color:color-mix(in srgb,var(--medal) 47%,transparent)}
.lode-cell.hn-h7{background-color:color-mix(in srgb,var(--medal) 58%,transparent)}
.lode-cell.hn-h8{background-color:color-mix(in srgb,var(--medal) 70%,transparent)}
/* the top cells carry their chance in per cent (data-hn); a cell taken as the target shows the cross-hair instead */
.lode-cell.hn-top:not(.aim)::before{
  content:attr(data-hn);position:absolute;inset:0;display:grid;place-items:center;
  font:800 calc(var(--cell)*.4)/1 var(--ui);font-variant-numeric:tabular-nums;letter-spacing:-.02em;
  color:var(--ivory);text-shadow:0 1px 2px color-mix(in srgb,var(--ink) 85%,transparent);
}
/* the best cell: solid gold, ringed */
.lode-cell.hn-best{background-color:var(--medal)}
.lode-cell.hn-best:not(.aim){box-shadow:inset 0 0 0 2px var(--ivory),0 0 0 2px var(--medal);z-index:3;animation:hn-pulse 1.4s ease-in-out infinite}
.lode-cell.hn-best.hn-top:not(.aim)::before{color:var(--ink);text-shadow:none}
/* a fleet still lying as the hint laid it out */
.lode-sea.hn-lay .lode-ship{box-shadow:0 0 0 2px var(--medal),inset 0 -2px 0 color-mix(in srgb,var(--ink) 22%,transparent)}
.lode-sea.hn-lay .lode-ship.sel{box-shadow:0 0 0 2.5px var(--gold),0 0 0 6px color-mix(in srgb,var(--medal) 35%,transparent)}

/* Piškvorky — threats: my marks green, the opponent's red; a four stronger than a three */
.pisk-cell.hn-th.hn-me{background-color:color-mix(in srgb,var(--accent) 30%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--accent-dark) 70%,transparent)}
.pisk-cell.hn-th.hn-me.hn-four{background-color:color-mix(in srgb,var(--accent) 62%,transparent);box-shadow:inset 0 0 0 2px var(--accent-deep)}
.pisk-cell.hn-th.hn-foe{background-color:color-mix(in srgb,var(--cherry) 18%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--cherry) 55%,transparent)}
.pisk-cell.hn-th.hn-foe.hn-four{background-color:color-mix(in srgb,var(--cherry) 40%,transparent);box-shadow:inset 0 0 0 2px var(--cherry)}
/* the empty cells a threat turns on: a ring for a three, a full dot for a four */
.pisk-cell.hn-at::before{
  content:"";position:absolute;left:50%;top:50%;width:34%;height:34%;translate:-50% -50%;
  box-sizing:border-box;border-radius:50%;border:2px solid var(--accent-dark);
}
.pisk-cell.hn-at.hn-foe::before{border-color:var(--cherry)}
.pisk-cell.hn-at.hn-four::before{background:var(--accent-dark)}
.pisk-cell.hn-at.hn-foe.hn-four::before{background:var(--cherry)}
/* the move to make (1), two more candidates (2, 3) and the opponent's likely answer (dotted) */
.pisk-cell.hn-best,.pisk-cell.hn-alt{font:800 calc(var(--cell)*.52)/1 var(--ui);color:var(--ink)}
.pisk-cell.hn-best::before,.pisk-cell.hn-alt::before{position:absolute;inset:0;display:grid;place-items:center}
.pisk-cell.hn-best{background-color:var(--medal);box-shadow:inset 0 0 0 2px var(--ink);animation:hn-pulse 1.4s ease-in-out infinite}
.pisk-cell.hn-best::before{content:"1"}
.pisk-cell.hn-best.sel::before{content:none}
.pisk-cell.hn-alt{background-color:color-mix(in srgb,var(--medal) 38%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--ink) 45%,transparent)}
.pisk-cell.hn-alt::before{color:color-mix(in srgb,var(--ink) 70%,transparent)}
.pisk-cell.hn-alt.hn-n2::before{content:"2"}
.pisk-cell.hn-alt.hn-n3::before{content:"3"}
.pisk-cell.hn-alt.sel::before{content:none}
.pisk-cell.hn-reply{outline:2px dotted var(--ink);outline-offset:-3px}

@keyframes hn-pulse{50%{filter:brightness(1.18)}}
html.still .hn-best{animation:none}
@media (prefers-reduced-motion:reduce){.hn-best{animation:none}}

/* ── nb-: the small robot after a computer's name in a sentence or in the head of a table (app.js: botMark) ──
   As tall as the letters and in their colour, so it reads on a dark table and on a light sheet alike. */
.nb-bot{display:inline-block;flex:none;width:1em;height:1em;margin-left:.22em;vertical-align:-.14em;fill:currentColor;opacity:.72;pointer-events:none}
/* in a narrow head that cuts a long name short (the Hearts pad) the name gives way, the robot stays */
.nb-cut{display:flex;justify-content:center;align-items:center;min-width:0}
.nb-cut>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.nb-cut .nb-bot{margin-left:.18em}

/* the sign-in form says what went wrong where the eyes are, not in a toast behind the keyboard */
.formerr{margin:.6rem 0 0;padding:.6rem .8rem;border-radius:var(--radius);background:color-mix(in srgb,var(--cherry) 12%,var(--card));color:color-mix(in srgb,var(--cherry) 62%,var(--ink));font-weight:600;line-height:1.35}
.formerr.ok{background:var(--accent-soft);color:var(--accent-deep)}
.acctform #acMore{display:grid;gap:.5rem}
.acctform #acMore[hidden]{display:none}
.acctform input[readonly]{opacity:.75}

/* ── the end of a game (public/endgame.js; classes eg-) ──────────────────
   The result of the game before the one on the table, for a player who did not get to see it: a small button over
   the table (it goes by itself, the table menu keeps the way), a row in the lobby, and the sheet with the order.
   And on the result sheet, the way back to a sheet with something typed in it that the ceremony took away. */
.eg-chip{position:fixed;left:50%;bottom:calc(var(--cw)*2.1 + var(--sab) + 118px);z-index:29;transform:translateX(-50%);display:flex;align-items:stretch;max-width:calc(100vw - 24px);border-radius:999px;background:var(--accent);color:var(--on-accent);box-shadow:var(--shadow);animation:fade .25s both}
.eg-chip button{min-height:40px;border:0;background:none;color:inherit;font:700 .9rem/1.2 var(--ui);cursor:pointer}
.eg-chip .eg-open{padding:.35em .3em .35em 1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.eg-chip .eg-x{flex:none;min-width:40px;padding:0 .8em 0 .5em;opacity:.75}
.eg-chip button:focus-visible{outline:2px solid var(--focus);outline-offset:-3px;border-radius:999px}
.eg-lobby{display:flex;justify-content:center;margin-top:.9rem}
.eg-lobby.eg-owed{margin-top:.7rem}
.eg-lobby.eg-owed .btn{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.eg-new{font-style:normal;color:var(--cherry);margin-left:.3em}
.eg-table td:first-child{overflow-wrap:anywhere}
.eg-park{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-top:.9rem;padding:.55rem .6rem .55rem .9rem;border-radius:var(--radius);background:var(--accent-soft);color:var(--ink);font-weight:700;font-size:.92rem}
.eg-park span{min-width:0;overflow-wrap:anywhere}
.eg-park .btn{flex:none}

/* ── more frames (fm-): public/frames-ui.js, server/gems.js "more frames", server/frames.js ──────────────
   Two plain ones are CSS only (wood, rope). The others are drawn by frames-ui.js: a node .fm-x inside the avatar,
   made of layers (each a still drawing; only the layer itself turns or fades). Until the script has dressed an
   avatar, and wherever it does not run, the plain ring of the frame's colour below stands in for it.
   The drawing is 100 units across with the avatar's edge at 40: the node reaches 12.5 % out, at a table at most
   the 5 px a seat leaves free ("room at a table" above), and what reaches further (.fm-big) is shown only where
   there is room for it. A look that IS a colour uses literals, like every other frame. */
.ava.sm-fr-wood::before{inset:-7px;background:repeating-radial-gradient(circle,rgba(46,22,6,.42) 0 .55px,transparent .6px 1.5px,rgba(255,220,170,.16) 1.6px 1.9px,transparent 2px 2.7px),conic-gradient(from 20deg,#8a5426,#b97a3f 9%,#6e3f19 21%,#a86a33 34%,#7c4a20 47%,#c08849 58%,#70411b 71%,#9c6230 84%,#8a5426);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px))}
.ava.sm-fr-wood::after{content:"";position:absolute;inset:-1.4px;border-radius:50%;border:1px solid rgba(255,226,182,.6);box-shadow:inset 0 0 0 .6px rgba(40,18,4,.55);pointer-events:none}
.ava.sm-fr-wood{filter:drop-shadow(0 1px 1.5px rgba(30,14,2,.65))}
.ava.sm-fr-rope::before,.ava.sm-fr-rope::after{inset:-7px;background:repeating-conic-gradient(from 0deg,#f0dcab 0 4.5deg,#cfac6e 4.5deg 8.5deg,#94703a 8.5deg 10.6deg,#553c1a 10.6deg 12deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.6px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#000 calc(100% - 2.6px))}
.ava.sm-fr-rope::after{content:"";position:absolute;border-radius:50%;pointer-events:none;background:repeating-conic-gradient(from 6deg,#e2c98f 0 4.5deg,#bd9858 4.5deg 8.5deg,#85622f 8.5deg 10.6deg,#4a3315 10.6deg 12deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5.6px),#000 calc(100% - 5.2px),#000 calc(100% - 2.9px),transparent calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5.6px),#000 calc(100% - 5.2px),#000 calc(100% - 2.9px),transparent calc(100% - 2.5px))}
.ava.sm-fr-rope{filter:drop-shadow(0 1px 1.5px rgba(40,24,6,.6))}
:is(#table,#groot,#dSheet) .ava.sm-fr-rope::after{inset:-5px}
/* the drawn ones, before they are drawn */
.ava.sm-fr-pixel::before{background:conic-gradient(#ffd83c,#f2561b,#ffa21f,#b9220f,#ffd83c,#f2561b,#ffa21f,#b9220f,#ffd83c)}
.ava.sm-fr-waves::before{background:conic-gradient(#8be9e6,#1f8cc2,#fff,#08305f,#1f8cc2,#8be9e6)}
.ava.sm-fr-glass::before{background:conic-gradient(#c61b38 0 14%,#16141b 0 15%,#1d4cc2 0 30%,#16141b 0 31%,#ecac1c 0 44%,#16141b 0 45%,#16935a 0 61%,#16141b 0 62%,#7b2bc2 0 78%,#16141b 0 79%,#0f9db3 0 99%,#16141b 0)}
.ava.sm-fr-suits::before{background:conic-gradient(#fffef8,#f1e6c8,#c4b084,#fffef8,#f1e6c8,#c4b084,#fffef8)}
.ava.sm-fr-mercury::before{background:conic-gradient(#fff,#c3ccd6,#3b4551,#e9eff5,#8b97a4,#2c343e,#fff)}
.ava.sm-fr-clock::before{background:repeating-conic-gradient(rgba(51,35,10,.7) 0 2deg,transparent 2deg 12deg),conic-gradient(#f8e7ab,#c99b3d,#6b4a14,#dcb75c,#f8e7ab)}
.ava.sm-fr-origami::before{background:repeating-conic-gradient(#fffaf0 0 15deg,#dfd0b6 15deg 30deg,#e1463d 30deg 45deg,#c5352f 45deg 60deg)}
.ava.sm-fr-bottle::before{background:conic-gradient(#2a3f86,#f4faff 8%,#101b46 16%,#4f9bff 50%,#060a22 60%,#2a3f86)}
.ava.sm-fr-ribbon::before{background:conic-gradient(#3dffa0,#2f5fd0,#d6ffe6,#7a3cd6,#0fae9e,#a05cff,#3dffa0)}
.ava.sm-fr-streak::before{background:repeating-conic-gradient(from -6deg,#ffa01f 0 12deg,transparent 12deg 36deg),conic-gradient(#7a808a,#15171b,#4a4f58,#15171b,#7a808a)}
.ava.sm-fr-portal::before{background:conic-gradient(#0a0620,#6a2bd9,#7ff6ff,#0a0620,#3a1c9a,#19d9cf,#0a0620)}
.ava.sm-fr-royal::before{background:conic-gradient(#fff6c4,#f4c84e,#a9731a,#fbe08a,#74490d,#f4c84e,#fff6c4)}
.ava.sm-fr.fm-on::before{content:none}
.ava.sm-fr-pixel{filter:drop-shadow(0 0 4px rgba(255,110,20,.8))}
.ava.sm-fr-waves{filter:drop-shadow(0 0 3.5px rgba(70,180,235,.75))}
.ava.sm-fr-glass{filter:drop-shadow(0 0 4px rgba(255,190,90,.6))}
.ava.sm-fr-suits,.ava.sm-fr-clock,.ava.sm-fr-origami{filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
.ava.sm-fr-mercury{filter:drop-shadow(0 1px 2.5px rgba(10,16,24,.65))}
.ava.sm-fr-bottle{filter:drop-shadow(0 0 4.5px rgba(90,160,255,.85))}
.ava.sm-fr-streak{filter:drop-shadow(0 1px 2px rgba(0,0,0,.55))}
.ava.sm-fr-portal{filter:drop-shadow(0 0 5px rgba(120,90,255,.95)) drop-shadow(0 0 2px rgba(110,240,255,.7))}
.ava.sm-fr-royal{filter:drop-shadow(0 0 5px rgba(255,200,80,.9))}
/* the node and its layers */
.fm-paints{position:absolute;width:0;height:0;overflow:hidden}
.ava>.fm-x{position:absolute;inset:-12.5%;border-radius:50%;pointer-events:none;font-size:0;--fm-t:0s}
.fm-x>i{position:absolute;inset:0;display:block}
.fm-x svg{display:block;width:100%;height:100%;overflow:visible}
.fm-x>.fm-ring{border-radius:50%;-webkit-mask:radial-gradient(farthest-side,transparent 79.6%,#000 80.6%,#000 98.6%,transparent 99.6%);mask:radial-gradient(farthest-side,transparent 79.6%,#000 80.6%,#000 98.6%,transparent 99.6%)}
.fm-x .fm-tab{display:none}
:is(#table,#groot,#dSheet) .ava>.fm-x{inset:max(-12.5%,-5px)}
:is(#table,#groot,#dSheet) .fm-x .fm-big{display:none}
:is(#table,#groot,#dSheet) .fm-x .fm-tab{display:block}
.fm-x.fm-off>i{animation-play-state:paused!important}
@keyframes fm-spin{to{rotate:1turn}}
/* pixel fire: three pictures in turn */
.fm-pixel>.fm-b,.fm-pixel>.fm-c{opacity:0}
.fm-pixel>.fm-a{animation:fm-px1 .51s steps(1) var(--fm-t) infinite}
.fm-pixel>.fm-b{animation:fm-px2 .51s steps(1) var(--fm-t) infinite}
.fm-pixel>.fm-c{animation:fm-px3 .51s steps(1) var(--fm-t) infinite}
@keyframes fm-px1{0%{opacity:1}33.4%,100%{opacity:0}}
@keyframes fm-px2{0%{opacity:0}33.4%{opacity:1}66.7%,100%{opacity:0}}
@keyframes fm-px3{0%{opacity:0}66.7%,100%{opacity:1}}
/* surf */
.fm-waves>.fm-b{animation:fm-spin 27s linear var(--fm-t) infinite reverse}
.fm-waves>.fm-c{animation:fm-spin 18s linear var(--fm-t) infinite}
/* stained glass: the light behind it */
.fm-glass>.fm-b{background:conic-gradient(transparent 0 50%,rgba(255,240,205,.8) 66%,#fff 73%,rgba(255,240,205,.8) 80%,transparent 96%);mix-blend-mode:soft-light;animation:fm-spin 7s linear var(--fm-t) infinite}
.fm-glass>.fm-c{background:conic-gradient(transparent 0 8%,rgba(255,255,255,.75) 20%,transparent 32%);mix-blend-mode:overlay;animation:fm-spin 11s linear var(--fm-t) infinite reverse}
/* the four suits */
.fm-suits>.fm-b{animation:fm-spin 22s linear var(--fm-t) infinite}
.fm-suits>.fm-c{animation:fm-spin 31s linear var(--fm-t) infinite reverse}
/* liquid metal */
.fm-mercury>.fm-a{animation:fm-spin 11s linear var(--fm-t) infinite,fm-swell 3.7s ease-in-out var(--fm-t) infinite alternate}
.fm-mercury>.fm-b{animation:fm-spin 17s linear var(--fm-t) infinite reverse}
.fm-mercury>.fm-c{animation:fm-spin 6.5s linear var(--fm-t) infinite}
@keyframes fm-swell{from{scale:.985}to{scale:1.012}}
/* clockwork: the small wheels turn as their teeth ask (9 and 12 against 28) */
.fm-clock>.fm-b{animation:fm-spin 24s linear var(--fm-t) infinite}
.fm-clock>:is(.fm-c,.fm-d,.fm-e){inset:auto}
.fm-clock>:is(.fm-c,.fm-d){animation:fm-spin 7.71s linear var(--fm-t) infinite reverse}
.fm-clock>.fm-e{animation:fm-spin 10.29s linear var(--fm-t) infinite reverse}
/* origami: folded at rest, folded out on its owner's turn (away from a table it shows both, in turn) */
.fm-origami>i{transition:rotate .7s cubic-bezier(.34,1.56,.64,1),scale .7s cubic-bezier(.34,1.56,.64,1)}
.fm-origami>.fm-b{scale:.93}
.fm-origami[data-t="1"]>.fm-b{rotate:30deg;scale:1}
.fm-origami[data-t="1"]>.fm-a{rotate:15deg}
.fm-origami:not([data-t])>.fm-b{animation:fm-fold 6.4s cubic-bezier(.5,0,.3,1) var(--fm-t) infinite}
.fm-origami:not([data-t])>.fm-a{animation:fm-fold2 6.4s cubic-bezier(.5,0,.3,1) var(--fm-t) infinite}
@keyframes fm-fold{0%,36%{rotate:0deg;scale:.93}50%,86%{rotate:30deg;scale:1}100%{rotate:0deg;scale:.93}}
@keyframes fm-fold2{0%,36%{rotate:0deg}50%,86%{rotate:15deg}100%{rotate:0deg}}
/* lightning in a bottle */
.fm-bottle>.fm-g{background:radial-gradient(farthest-side,transparent 80%,rgba(90,160,255,.6) 90%,transparent 100%);opacity:.5;animation:fm-hum 2.3s steps(1) var(--fm-t) infinite}
.fm-bottle>.fm-f{opacity:.6;animation:fm-spin 9s linear var(--fm-t) infinite reverse}
.fm-bottle>.fm-c{opacity:0;rotate:120deg}
.fm-bottle>.fm-d{opacity:0;rotate:240deg}
.fm-bottle>.fm-e{opacity:0}
.fm-bottle>.fm-b{animation:fm-zap1 2.9s steps(1) var(--fm-t) infinite}
.fm-bottle>.fm-c{animation:fm-zap2 4.1s steps(1) var(--fm-t) infinite}
.fm-bottle>.fm-d{animation:fm-zap3 5.3s steps(1) var(--fm-t) infinite}
.fm-bottle>.fm-e{animation:fm-zap4 4.1s steps(1) var(--fm-t) infinite}
@keyframes fm-hum{0%{opacity:.5}9%{opacity:1}14%{opacity:.35}22%{opacity:.6}47%{opacity:.95}53%{opacity:.4}71%{opacity:.75}78%{opacity:.3}90%{opacity:.6}}
@keyframes fm-zap1{0%{opacity:1;rotate:0deg}3%{opacity:.3;rotate:0deg}5%{opacity:1;rotate:0deg}11%{opacity:0;rotate:0deg}46%{opacity:1;rotate:205deg}48%{opacity:.4;rotate:205deg}50%{opacity:1;rotate:205deg}55%,100%{opacity:0;rotate:205deg}}
@keyframes fm-zap2{0%{opacity:0;rotate:120deg}20%{opacity:1;rotate:120deg}23%{opacity:.2;rotate:120deg}25%{opacity:1;rotate:120deg}30%{opacity:0;rotate:120deg}70%{opacity:1;rotate:300deg}74%,100%{opacity:0;rotate:300deg}}
@keyframes fm-zap3{0%{opacity:0;rotate:240deg}35%{opacity:1;rotate:240deg}37%{opacity:.5;rotate:240deg}41%{opacity:1;rotate:240deg}44%{opacity:0;rotate:240deg}85%{opacity:1;rotate:40deg}88%,100%{opacity:0;rotate:40deg}}
@keyframes fm-zap4{0%{opacity:0}21%{opacity:1}24%{opacity:0}71%{opacity:.8}73%,100%{opacity:0}}
/* the ribbon of light: level it flows green; leading it turns to gold and sparkles; last it cools down and stops */
.fm-ribbon{filter:hue-rotate(0deg) saturate(1) brightness(1) drop-shadow(0 0 3px rgba(70,255,170,.8));transition:filter 1s ease}
.fm-ribbon>.fm-a{animation:fm-spin 15s linear var(--fm-t) infinite}
.fm-ribbon>.fm-b{animation:fm-spin 21s linear var(--fm-t) infinite reverse}
.fm-ribbon>.fm-c{background:conic-gradient(transparent 0 18%,rgba(255,255,255,.6) 29%,transparent 41%,transparent 62%,rgba(255,255,255,.45) 72%,transparent 84%);mix-blend-mode:soft-light;animation:fm-spin 6s linear var(--fm-t) infinite}
.fm-ribbon>.fm-d{opacity:0}
.fm-ribbon[data-s="lead"]{filter:hue-rotate(-104deg) saturate(1.35) brightness(1.18) drop-shadow(0 0 4px rgba(255,205,90,.95))}
.fm-ribbon[data-s="lead"]>.fm-d{animation:fm-twk 1.7s ease-in-out var(--fm-t) infinite}
.fm-ribbon[data-s="last"]{filter:hue-rotate(72deg) saturate(.55) brightness(.7) drop-shadow(0 0 2px rgba(90,110,220,.5))}
.fm-ribbon[data-s="last"]>i{animation-play-state:paused}
@keyframes fm-twk{0%,100%{opacity:0;scale:.96}50%{opacity:1;scale:1}}
/* the run of wins: two pictures of every flame, one fading into the other; from five the iron glows, from ten the fire is blue */
.fm-streak>.fm-g{background:radial-gradient(farthest-side,transparent 79%,rgba(255,140,40,.85) 88%,rgba(255,200,90,.6) 96%,transparent 100%);mix-blend-mode:screen;opacity:0}
.fm-streak[data-hot]>.fm-g{opacity:.55;animation:fm-glow 1.6s ease-in-out var(--fm-t) infinite alternate}
.fm-streak>.fm-b{animation:fm-fl .41s ease-in-out var(--fm-t) infinite alternate}
.fm-streak>.fm-c{opacity:0;animation:fm-fl .41s ease-in-out var(--fm-t) infinite alternate-reverse}
.fm-streak[data-hot="2"]>:is(.fm-b,.fm-c,.fm-g){filter:hue-rotate(178deg) saturate(1.2) brightness(1.2)}
@keyframes fm-fl{from{opacity:1}to{opacity:.05}}
@keyframes fm-glow{from{opacity:.35}to{opacity:.8}}
/* the portal: every layer at its own depth (--fm-z); tilting the device shifts them against each other, and
   where no tilt is to be had they drift slowly by themselves */
.fm-portal{--fm-k:1}
:is(#table,#groot,#dSheet) .fm-portal{--fm-k:.4}
.fm-portal>i{translate:calc(var(--fm-tx,0)*var(--fm-z,0)*var(--fm-k)*1%) calc(var(--fm-ty,0)*var(--fm-z,0)*var(--fm-k)*1%);transition:translate .3s ease-out}
.fm-portal>.fm-h{--fm-z:-2;background:radial-gradient(farthest-side,transparent 58%,rgba(8,2,30,.3) 71%,rgba(70,40,200,.6) 77%,rgba(130,240,255,.95) 80.4%,transparent 82%);animation:fm-drift 9s ease-in-out var(--fm-t) infinite}
.fm-portal>.fm-a{--fm-z:-1;background:conic-gradient(#0a0620,#3a1c9a 12%,#0a0620 24%,#16a9dc 34%,#0a0620 46%,#6a2bd9 58%,#0a0620 70%,#19d9cf 82%,#0a0620);animation:fm-spin 9s linear var(--fm-t) infinite,fm-drift 9s ease-in-out var(--fm-t) infinite}
.fm-portal>.fm-b{--fm-z:-.5;animation:fm-spin 5.2s linear var(--fm-t) infinite,fm-drift 9s ease-in-out var(--fm-t) infinite}
.fm-portal>.fm-c{animation:fm-spin 3.1s linear var(--fm-t) infinite}
.fm-portal>.fm-d{--fm-z:1.4;animation:fm-drift 9s ease-in-out var(--fm-t) infinite}
.fm-portal>.fm-e{--fm-z:3.2;animation:fm-spin 44s linear var(--fm-t) infinite reverse,fm-drift 9s ease-in-out var(--fm-t) infinite}
@keyframes fm-drift{0%,100%{translate:calc(var(--fm-z)*var(--fm-k)*-.6%) 0}25%{translate:0 calc(var(--fm-z)*var(--fm-k)*.6%)}50%{translate:calc(var(--fm-z)*var(--fm-k)*.6%) 0}75%{translate:0 calc(var(--fm-z)*var(--fm-k)*-.6%)}}
html.fm-tilt .fm-portal>:is(.fm-h,.fm-d){animation-name:none}
html.fm-tilt .fm-portal>:is(.fm-a,.fm-b,.fm-e){animation-name:fm-spin,none}
/* "Královská" */
.fm-royal>.fm-r{animation:fm-spin 46s linear var(--fm-t) infinite,fm-rays 3.4s ease-in-out var(--fm-t) infinite alternate}
.fm-royal>.fm-h{inset:-13%;background:radial-gradient(farthest-side,transparent 56%,rgba(255,214,100,.5) 76%,transparent 100%)}
:is(#table,#groot,#dSheet) .fm-royal>.fm-h{inset:0;background:radial-gradient(farthest-side,transparent 70%,rgba(255,214,100,.5) 88%,transparent 100%)}
.fm-royal>.fm-b{background:conic-gradient(transparent 0 6%,rgba(255,255,255,.95) 13%,transparent 21%,transparent 54%,rgba(255,255,255,.65) 61%,transparent 68%);mix-blend-mode:overlay;animation:fm-spin 4.6s linear var(--fm-t) infinite}
.fm-royal>.fm-s{animation:fm-twk 2.3s ease-in-out var(--fm-t) infinite}
.fm-royal>.fm-t{animation:fm-twk2 2.3s ease-in-out var(--fm-t) infinite}
.fm-royal>.fm-k{transform-origin:50% 8%;animation:fm-bob 2.4s ease-in-out var(--fm-t) infinite alternate}
:is(#table,#groot,#dSheet) .fm-royal>.fm-k{scale:.42;animation:none}
@keyframes fm-rays{from{opacity:.5}to{opacity:1}}
@keyframes fm-twk2{0%,100%{opacity:1;scale:1}50%{opacity:0;scale:.96}}
@keyframes fm-bob{from{translate:0 .6%}to{translate:0 -2.2%}}
/* no motion: every frame is a still picture (the ones that follow the game still show what it says) */
html.still .fm-x>i{animation:none!important;transition:none!important}
html.still .fm-ribbon{transition:none}
@media (prefers-reduced-motion:reduce){.fm-x>i{animation:none!important;transition:none!important}.fm-ribbon{transition:none}}
/* ── end of more frames ── */

/* ── more mascots (public/pets-ui.js; classes pt-) ───────────────────────
   Ten more mascots by a player's plate, their hats, the tricks of the bond, the parrot's bubble, the mascot on the
   player card and in the shop. The pictures are drawn by the script (animals keep their colours on both portals);
   here is how their parts move in each mood (data-mood) and what the bond adds (data-bond). Everything stands still
   with reduced motion and while the page is hidden (html.pt-off). */
.pt-pet{position:absolute;left:0;top:0;display:block;width:36px;height:36px;pointer-events:none;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5));transition:transform .3s var(--ease)}
.pt-pet svg{display:block;width:100%;height:100%;overflow:visible;transform-origin:50% 94%;animation:pt-breathe 3.4s ease-in-out infinite}
.pt-pet :is(.pt-eye,.pt-tail,.pt-ear,.pt-wing,.pt-head,.pt-arm,.pt-nose,.pt-jaw,.pt-key,.pt-gear,.pt-mole,.pt-float,.pt-shadow,.pt-fire,.pt-egg,.pt-ball,.pt-open,.pt-paws,.pt-cards){transform-box:fill-box;transform-origin:50% 50%}
.pt-pet :is(.pt-lid,.pt-joy,.pt-tear,.pt-mo,.pt-ms,.pt-egg,.pt-fire,.pt-ball){display:none}
.pt-pet .pt-eye{animation:pt-blink 5.2s infinite}
.pt-pet:is([data-mood="sleep"],[data-mood="duck"]) .pt-eye,.pt-pet:is([data-mood="cheer"],[data-mood="catch"],[data-mood="wave"],[data-mood="flip"]) .pt-eye{display:none}
.pt-pet:is([data-mood="sleep"],[data-mood="duck"]) .pt-lid,.pt-pet:is([data-mood="cheer"],[data-mood="catch"],[data-mood="wave"],[data-mood="flip"]) .pt-joy{display:inline}
.pt-pet:is([data-mood="cheer"],[data-mood="catch"],[data-mood="wave"],[data-mood="say"],[data-mood="sad"]) .pt-m{display:none}
.pt-pet:is([data-mood="cheer"],[data-mood="catch"],[data-mood="wave"],[data-mood="say"]) .pt-mo,.pt-pet[data-mood="sad"] :is(.pt-ms,.pt-tear){display:inline}
.pt-pet[data-mood="sad"] .pt-eye{animation:none}
.pt-pet[data-mood="sad"] .pt-tear{animation:pt-tear 1.8s ease-in infinite}
/* the moods of the whole body */
.pt-pet[data-mood="turn"] svg{animation:pt-perk .9s ease-in-out infinite}
.pt-pet[data-mood="cheer"] svg{animation:pt-jump .56s ease-in-out infinite}
.pt-pet[data-mood="sad"] svg{animation:pt-droop .5s var(--ease) both}
.pt-pet[data-mood="catch"] svg{animation:pt-catch 1.4s var(--ease) both}
.pt-pet[data-mood="duck"] svg{animation:pt-duck 1s var(--ease) both}
.pt-pet[data-mood="sleep"] svg{animation:pt-snore 4.2s ease-in-out infinite}
.pt-pet[data-mood="look"] svg{animation:pt-look 1.4s ease-in-out both}
.pt-pet[data-mood="wave"] svg{animation:pt-wave 1.2s ease-in-out both}
.pt-pet[data-mood="flip"] svg{animation:pt-flip .95s var(--ease) both}
.pt-pet[data-mood="say"] svg{animation:pt-perk .5s ease-in-out infinite}
/* parts */
.pt-pet .pt-tail{transform-origin:0 100%;animation:pt-tail 2.6s ease-in-out infinite}
.pt-pet:is([data-mood="turn"],[data-mood="cheer"],[data-mood="wave"]) .pt-tail{animation-duration:.5s}
.pt-pet:is([data-mood="sad"],[data-mood="sleep"]) .pt-tail{animation:none}
.pt-pet .pt-ear{transform-origin:50% 100%;animation:pt-ear 6s ease-in-out infinite}
.pt-pet .pt-ear2{animation-delay:-.2s}
.pt-pet[data-mood="sad"] .pt-ear{animation:none;transform:rotate(-16deg)}
.pt-pet[data-mood="sad"] .pt-ear2{transform:rotate(16deg)}
.pt-pet .pt-wing{transform-origin:100% 0;animation:pt-wing 4s ease-in-out infinite}
.pt-pet .pt-wing2{transform-origin:0 0;animation-name:pt-wing2}
.pt-pet:is([data-mood="cheer"],[data-mood="catch"],[data-mood="wave"]) .pt-wing{animation-duration:.3s;animation-name:pt-flap}
.pt-pet:is([data-mood="cheer"],[data-mood="catch"],[data-mood="wave"]) .pt-wing2{animation-name:pt-flap2}
.pt-pet:is([data-mood="sad"],[data-mood="sleep"]) .pt-wing{animation:none}
.pt-pet .pt-head{transform-origin:50% 90%}
.pt-pet[data-mood="look"] .pt-head{animation:pt-tilt 1.4s ease-in-out both}
.pt-pet[data-mood="sad"] .pt-head{transform:translateY(1.5px) rotate(-5deg)}
.pt-pet[data-mood="sleep"] .pt-head{animation:pt-nod 4.2s ease-in-out infinite}
.pt-pet .pt-fire{transform-origin:50% 0}
.pt-pet[data-mood="cheer"] .pt-fire,.pt-pet[data-pet="hatch"][data-mood="egg"] .pt-fire{display:inline;animation:pt-fire .28s ease-in-out infinite alternate}
/* each of them */
.pt-pet[data-pet="fox"][data-mood="turn"] .pt-ear{animation:none;transform:scaleY(1.12)}
.pt-pet[data-pet="fox"][data-mood="egg"] svg{animation:pt-pounce 2.3s var(--ease) both}
.pt-pet[data-pet="owl"] .pt-head{animation:pt-owl 7s ease-in-out infinite}
.pt-pet[data-pet="owl"][data-mood="turn"] .pt-eye{animation:none;transform:scale(1.12)}
.pt-pet[data-pet="owl"][data-mood="egg"] .pt-head{transform-origin:50% 60%;animation:pt-spin 2.5s ease-in-out both}
.pt-pet[data-pet="owl"][data-mood="egg"] svg{animation:none}
.pt-pet[data-pet="hedgehog"] .pt-nose{animation:pt-sniff 2.8s ease-in-out infinite}
.pt-pet[data-pet="hedgehog"] .pt-head{transform-origin:100% 100%;animation:pt-snuffle 5s ease-in-out infinite}
.pt-pet[data-pet="hedgehog"]:is([data-mood="sad"],[data-mood="duck"]) .pt-open{display:none}
.pt-pet[data-pet="hedgehog"]:is([data-mood="sad"],[data-mood="duck"]) .pt-ball{display:inline}
.pt-pet[data-pet="hedgehog"][data-mood="sad"] svg{transform-origin:50% 65%;animation:pt-roll 1.1s var(--ease) both}
.pt-pet[data-pet="hedgehog"][data-mood="duck"] svg{animation:pt-duck 1s var(--ease) both}
.pt-pet[data-pet="hedgehog"]:is([data-mood="catch"],[data-mood="egg"]) .pt-egg{display:inline;animation:pt-drop .5s var(--ease) both}
.pt-pet[data-pet="hedgehog"][data-mood="egg"] svg{animation:pt-trot 3.1s ease-in-out both}
.pt-pet[data-pet="penguin"] svg{animation:pt-waddle 2.6s ease-in-out infinite}
.pt-pet[data-pet="penguin"][data-mood="turn"] svg{animation:pt-waddle .7s ease-in-out infinite}
.pt-pet[data-pet="penguin"][data-mood="egg"] svg{animation:pt-slide 2.5s ease-in-out both}
.pt-pet[data-pet="octopus"] .pt-arm{transform-origin:100% 100%;animation:pt-toss .9s ease-in-out infinite}
.pt-pet[data-pet="octopus"] .pt-arm2{transform-origin:0 100%;animation-name:pt-toss2;animation-delay:-.45s}
.pt-pet[data-pet="octopus"] .pt-card{animation:pt-jx 1.8s linear infinite}
.pt-pet[data-pet="octopus"] .pt-card>g{animation:pt-jy 1.8s linear infinite}
.pt-pet[data-pet="octopus"] .pt-c2,.pt-pet[data-pet="octopus"] .pt-c2>g{animation-delay:-.9s}
.pt-pet[data-pet="octopus"] :is(.pt-c3,.pt-c4){display:none}
.pt-pet[data-pet="octopus"]:is([data-bond="2"],[data-bond="3"],[data-bond="4"],[data-bond="5"]) .pt-c3{display:inline}
.pt-pet[data-pet="octopus"]:is([data-bond="2"],[data-bond="3"]) :is(.pt-c2,.pt-c2>g){animation-delay:-.6s}
.pt-pet[data-pet="octopus"]:is([data-bond="2"],[data-bond="3"]) :is(.pt-c3,.pt-c3>g){animation-delay:-1.2s}
.pt-pet[data-pet="octopus"]:is([data-bond="4"],[data-bond="5"]) .pt-c4{display:inline}
.pt-pet[data-pet="octopus"]:is([data-bond="4"],[data-bond="5"]) :is(.pt-c2,.pt-c2>g){animation-delay:-.45s}
.pt-pet[data-pet="octopus"]:is([data-bond="4"],[data-bond="5"]) :is(.pt-c3,.pt-c3>g){animation-delay:-.9s}
.pt-pet[data-pet="octopus"]:is([data-bond="4"],[data-bond="5"]) :is(.pt-c4,.pt-c4>g){animation-delay:-1.35s}
.pt-pet[data-pet="octopus"]:is([data-mood="turn"],[data-mood="cheer"]) :is(.pt-card,.pt-card>g){animation-duration:1.1s}
.pt-pet[data-pet="octopus"]:is([data-mood="sad"],[data-mood="sleep"],[data-mood="duck"],[data-mood="egg"]) .pt-cards{display:none}
.pt-pet[data-pet="octopus"]:is([data-mood="sad"],[data-mood="sleep"]) .pt-arm{animation:none;transform:rotate(-55deg)}
.pt-pet[data-pet="octopus"]:is([data-mood="sad"],[data-mood="sleep"]) .pt-arm2{transform:rotate(55deg)}
.pt-pet[data-pet="octopus"][data-mood="egg"] .pt-egg{display:inline;animation:pt-ink 2.9s ease-out both}
.pt-pet[data-pet="octopus"][data-mood="egg"] svg{animation:pt-hue 2.9s ease-in-out both}
.pt-pet[data-pet="ghost"] svg{animation:none}
.pt-pet[data-pet="ghost"] .pt-float{animation:pt-float 3s ease-in-out infinite}
.pt-pet[data-pet="ghost"] .pt-shadow{animation:pt-shadow 3s ease-in-out infinite}
.pt-pet[data-pet="ghost"] .pt-arm{transform-origin:100% 50%;animation:pt-wing 3s ease-in-out infinite}
.pt-pet[data-pet="ghost"] .pt-arm2{transform-origin:0 50%;animation-name:pt-wing2}
.pt-pet[data-pet="ghost"][data-mood="turn"] :is(.pt-float,.pt-shadow){animation-duration:1s}
.pt-pet[data-pet="ghost"][data-mood="cheer"] .pt-float{animation:pt-whirl .9s ease-in-out infinite}
.pt-pet[data-pet="ghost"][data-mood="sad"] .pt-float{animation:pt-fade .6s var(--ease) both}
.pt-pet[data-pet="ghost"][data-mood="sleep"] .pt-float{animation:pt-float 5s ease-in-out infinite;opacity:.75}
.pt-pet[data-pet="ghost"]:is([data-mood="catch"],[data-mood="wave"]) .pt-float{animation:pt-catch 1.3s var(--ease) both}
.pt-pet[data-pet="ghost"][data-mood="duck"] .pt-float{animation:pt-vanish 1s ease-in-out both}
.pt-pet[data-pet="ghost"][data-mood="flip"] .pt-float{animation:pt-flip .95s var(--ease) both}
.pt-pet[data-pet="ghost"][data-mood="look"] .pt-float{animation:pt-look 1.4s ease-in-out both}
.pt-pet[data-pet="ghost"][data-mood="egg"] .pt-float{transform-origin:50% 60%;animation:pt-boo 2.1s var(--ease) both}
.pt-pet[data-pet="ghost"][data-mood="egg"] .pt-egg{display:inline}
.pt-pet[data-pet="ghost"][data-mood="egg"] :is(.pt-m,.pt-mo){display:none}
.pt-pet[data-pet="parrot"] .pt-head{animation:pt-bob 2.2s ease-in-out infinite}
.pt-pet[data-pet="parrot"]:is([data-mood="turn"],[data-mood="say"]) .pt-head{animation-duration:.6s}
.pt-pet[data-pet="parrot"] .pt-tail{transform-origin:50% 0;animation-name:pt-sway}
.pt-pet[data-pet="parrot"] .pt-jaw{transform-origin:100% 0}
.pt-pet[data-pet="parrot"]:is([data-mood="say"],[data-mood="cheer"],[data-mood="catch"]) .pt-jaw{animation:pt-jaw .26s ease-in-out infinite alternate}
.pt-pet[data-pet="parrot"][data-mood="egg"] svg{transform-origin:50% 91%;animation:pt-hang 2.7s ease-in-out both}
.pt-pet[data-pet="mole"] svg{animation:none}
.pt-pet[data-pet="mole"] .pt-mole{animation:pt-peek 4.6s ease-in-out infinite}
.pt-pet[data-pet="mole"][data-mood="turn"] .pt-mole{animation:pt-popup .8s ease-in-out infinite}
.pt-pet[data-pet="mole"][data-mood="cheer"] .pt-mole{animation:pt-popup .45s ease-in-out infinite}
.pt-pet[data-pet="mole"] .pt-arm{transform-origin:100% 100%}
.pt-pet[data-pet="mole"] .pt-arm2{transform-origin:0 100%}
.pt-pet[data-pet="mole"]:is([data-mood="cheer"],[data-mood="wave"]) .pt-arm{animation:pt-clap .3s ease-in-out infinite alternate}
.pt-pet[data-pet="mole"]:is([data-mood="cheer"],[data-mood="wave"]) .pt-arm2{animation-name:pt-clap2}
.pt-pet[data-pet="mole"][data-mood="sad"] .pt-mole{animation:pt-sink .5s var(--ease) both}
.pt-pet[data-pet="mole"]:is([data-mood="sleep"],[data-mood="duck"]) .pt-mole{animation:pt-under .45s var(--ease) both}
.pt-pet[data-pet="mole"][data-mood="catch"] .pt-mole{animation:pt-popup .5s ease-in-out 3}
.pt-pet[data-pet="mole"][data-mood="look"] .pt-mole{animation:pt-look 1.4s ease-in-out both}
.pt-pet[data-pet="mole"][data-mood="flip"] .pt-mole{animation:pt-dive .95s ease-in-out both}
.pt-pet[data-pet="mole"][data-mood="egg"] .pt-mole{animation:pt-dig 2.7s ease-in-out both}
.pt-pet[data-pet="mole"][data-mood="egg"] .pt-egg{display:inline}
.pt-pet[data-pet="tick"] .pt-key{animation:pt-key 1.5s linear infinite}
.pt-pet[data-pet="tick"] .pt-gear{animation:pt-turn 5s linear infinite}
.pt-pet[data-pet="tick"] .pt-head{animation:pt-ticktock 2s steps(1) infinite}
.pt-pet[data-pet="tick"] .pt-wing{transform-origin:0 0;animation:pt-wing2 3s ease-in-out infinite}
.pt-pet[data-pet="tick"]:is([data-mood="turn"],[data-mood="cheer"]) :is(.pt-key,.pt-gear){animation-duration:.6s}
.pt-pet[data-pet="tick"]:is([data-mood="sad"],[data-mood="sleep"]) :is(.pt-key,.pt-gear,.pt-head){animation:none}
.pt-pet[data-pet="tick"]:is([data-mood="sad"],[data-mood="sleep"]) .pt-head{transform:rotate(-14deg) translateY(1px)}
.pt-pet[data-pet="tick"][data-mood="egg"] svg{animation:pt-unwind 3.1s ease-in-out both}
.pt-pet[data-pet="tick"][data-mood="egg"] :is(.pt-key,.pt-gear){animation:pt-rundown 3.1s ease-out both}
.pt-pet[data-pet="tick"][data-mood="egg"] .pt-head{animation:pt-sag 3.1s ease-in-out both}
.pt-pet[data-pet="hatch"] .pt-wing{transform-origin:100% 100%;animation:pt-flap 1.8s ease-in-out infinite}
.pt-pet[data-pet="hatch"] .pt-wing2{transform-origin:0 100%;animation-name:pt-flap2}
.pt-pet[data-pet="hatch"][data-st="0"] .pt-fire{transform-origin:50% 100%}
.pt-pet[data-pet="hatch"][data-st="0"] svg{animation:pt-rock 3s ease-in-out infinite}
.pt-pet[data-pet="hatch"][data-st="0"][data-mood="turn"] svg{animation:pt-rock .5s ease-in-out infinite}
.pt-pet[data-pet="hatch"][data-st="0"][data-mood="cheer"] .pt-fire{display:none}
.pt-pet[data-pet="hatch"][data-st="1"] .pt-arm{transform-origin:100% 0}
.pt-pet[data-pet="hatch"][data-st="1"] .pt-arm2{transform-origin:0 0}
.pt-pet[data-pet="hatch"][data-st="1"]:is([data-mood="cheer"],[data-mood="wave"],[data-mood="turn"]) .pt-arm{animation:pt-clap .3s ease-in-out infinite alternate}
.pt-pet[data-pet="hatch"][data-st="1"]:is([data-mood="cheer"],[data-mood="wave"],[data-mood="turn"]) .pt-arm2{animation-name:pt-clap2}
.pt-pet[data-pet="hatch"][data-mood="egg"] svg{animation:pt-sneeze 2.3s ease-in-out both}
/* what goes with a mascot: the star of bond 5, the z's of its sleep, hearts and notes, the parrot's bubble */
.pt-star{position:absolute;right:-3px;top:-2px;width:12px;height:12px;animation:pt-twinkle 2.4s ease-in-out infinite}
.pt-pet .pt-star svg,.wow-pet .pt-star svg{display:block;width:100%;height:100%;fill:var(--medal);stroke:var(--ink);stroke-width:.7;stroke-linejoin:round;animation:none;transform:none}
.pt-zz{display:none;position:absolute;right:-2px;top:-4px;font:800 .62rem/1 var(--ui);font-style:normal;color:var(--ivory);text-shadow:0 1px 2px rgba(0,0,0,.6)}
:is(.pt-pet,.wow-pet)[data-mood="sleep"] .pt-zz{display:block}
.pt-zz b{position:absolute;right:0;top:0;opacity:0;animation:pt-zz 2.8s ease-out infinite}
.pt-zz b+b{animation-delay:-1.4s}
.pt-bit{position:absolute;left:0;top:0;font-style:normal;font-size:15px;line-height:1;pointer-events:none;color:var(--ivory);text-shadow:0 1px 2px rgba(0,0,0,.6)}
.pt-say{position:absolute;left:0;top:0;max-width:150px;padding:3px 8px;border-radius:10px 10px 10px 3px;background:var(--ivory);color:var(--ink);font:700 .7rem/1.25 var(--ui);font-style:italic;overflow-wrap:anywhere;box-shadow:0 2px 8px rgba(0,0,0,.35);animation:pt-pop .25s var(--ease) both}
.pt-say.pt-under{border-radius:3px 10px 10px 10px}
.pt-say.pt-in{left:6px;top:auto;bottom:108px;z-index:3}
/* in the shop, in a try-on, on the player card */
.pt-pet.pt-pic{position:static;width:48px;height:48px}
.lk-big .pt-pet.pt-pic{width:96px;height:96px}
.lk-m-me .pt-pet.pt-in{left:0;top:auto;bottom:44px;width:60px;height:60px}
.pt-trylab{position:absolute;left:50%;top:6px;transform:translateX(-50%);padding:2px 9px;border-radius:999px;background:var(--ink);color:var(--ivory);font:700 .72rem/1.3 var(--ui);white-space:nowrap;opacity:.85}
.pt-cardrow{display:flex;align-items:center;gap:.5rem;margin-top:.35rem}
.pt-pet.pt-oncard,.wow-pet.pt-oncard{position:static;flex:none;width:44px;height:44px}
.pt-cardtx{display:flex;flex-direction:column;min-width:0;font:600 .82rem/1.25 var(--ui)}
.pt-cardtx small{opacity:.75;font-weight:500}
.pt-hearts{display:inline-flex;gap:1px;letter-spacing:0}
.pt-hearts i{font-style:normal;opacity:.28}
.pt-hearts i.on{opacity:1;color:var(--cherry)}
.pt-bond{margin-top:.5rem}
.pt-tricks{margin:.3rem 0 .4rem;padding:0;list-style:none;display:grid;gap:.15rem;font:500 .84rem/1.3 var(--ui)}
.pt-tricks li{opacity:.74}
.pt-tricks li.on{opacity:1}
.pt-tricks li i{font-style:normal;color:var(--cherry)}
.pt-tricks small{opacity:.88}
.pt-tricks small::before{content:"· "}
@keyframes pt-breathe{50%{transform:scaleY(1.035)}}
@keyframes pt-snore{50%{transform:scale(1.03,.95)}}
@keyframes pt-blink{0%,94%,100%{transform:scaleY(1)}96.5%{transform:scaleY(.1)}}
@keyframes pt-perk{0%,100%{transform:translateY(0)}45%{transform:translateY(-6%) scaleY(1.04)}}
@keyframes pt-jump{0%,100%{transform:translateY(0) scale(1.06,.92)}45%{transform:translateY(-22%) scale(.96,1.06)}}
@keyframes pt-droop{to{transform:translateY(4%) scale(.94,.9);filter:saturate(.7)}}
@keyframes pt-catch{0%{transform:translate(0,0)}30%{transform:translate(16%,-34%) rotate(10deg)}55%{transform:translate(8%,-10%) rotate(-4deg)}100%{transform:translate(0,0)}}
@keyframes pt-duck{0%,100%{transform:scale(1)}18%,70%{transform:scale(1.14,.7)}}
@keyframes pt-look{0%,100%{transform:rotate(0)}30%{transform:rotate(-7deg)}70%{transform:rotate(7deg)}}
@keyframes pt-wave{0%,100%{transform:rotate(0)}15%{transform:translateY(-12%) rotate(-10deg)}35%{transform:translateY(-12%) rotate(10deg)}55%{transform:translateY(-12%) rotate(-10deg)}75%{transform:translateY(-6%) rotate(8deg)}}
@keyframes pt-flip{0%{transform:translateY(0) rotate(0)}20%{transform:translateY(-42%) rotate(0)}70%{transform:translateY(-42%) rotate(360deg)}100%{transform:translateY(0) rotate(360deg)}}
@keyframes pt-tail{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(9deg)}}
@keyframes pt-sway{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}
@keyframes pt-ear{0%,88%,100%{transform:rotate(0)}91%{transform:rotate(-12deg)}95%{transform:rotate(6deg)}}
@keyframes pt-wing{0%,100%{transform:rotate(0)}50%{transform:rotate(7deg)}}
@keyframes pt-wing2{0%,100%{transform:rotate(0)}50%{transform:rotate(-7deg)}}
@keyframes pt-flap{0%,100%{transform:rotate(0)}50%{transform:rotate(26deg)}}
@keyframes pt-flap2{0%,100%{transform:rotate(0)}50%{transform:rotate(-26deg)}}
@keyframes pt-tilt{0%,100%{transform:rotate(0)}30%{transform:rotate(-9deg)}70%{transform:rotate(9deg)}}
@keyframes pt-nod{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(3%) rotate(4deg)}}
@keyframes pt-fire{from{transform:scale(.6,.5)}to{transform:scale(1.1,1.15)}}
@keyframes pt-tear{0%{transform:translateY(0);opacity:0}20%{opacity:1}100%{transform:translateY(30%);opacity:0}}
@keyframes pt-pounce{0%,100%{transform:translate(0,0)}18%{transform:scale(1.1,.8)}40%{transform:translate(0,-60%) rotate(-20deg)}58%{transform:translate(-10%,-6%) rotate(-38deg)}70%{transform:translate(-10%,-6%) rotate(-30deg)}82%{transform:translate(-10%,-6%) rotate(-38deg)}}
@keyframes pt-owl{0%,40%,100%{transform:rotate(0)}48%,62%{transform:rotate(-10deg)}72%,88%{transform:rotate(9deg)}}
@keyframes pt-spin{0%,12%{transform:rotate(0)}45%,60%{transform:rotate(180deg)}90%,100%{transform:rotate(360deg)}}
@keyframes pt-sniff{0%,60%,100%{transform:translate(0,0)}68%{transform:translate(-6%,-18%)}76%{transform:translate(4%,6%)}84%{transform:translate(-6%,-18%)}}
@keyframes pt-snuffle{0%,60%,100%{transform:rotate(0)}70%,86%{transform:rotate(5deg)}}
@keyframes pt-roll{0%{transform:rotate(0)}100%{transform:translateX(6%) rotate(360deg) scale(.92)}}
@keyframes pt-drop{from{transform:translateY(-140%);opacity:0}}
@keyframes pt-trot{0%,100%{transform:translateX(0)}15%{transform:translateX(0) rotate(-4deg)}30%{transform:translateX(-16%) rotate(3deg)}45%{transform:translateX(-30%) rotate(-3deg)}60%{transform:translateX(-16%) rotate(3deg)}80%{transform:translateX(0) rotate(-3deg)}}
@keyframes pt-waddle{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
@keyframes pt-slide{0%,100%{transform:translateX(0) rotate(0)}14%{transform:translate(0,-10%) rotate(0)}26%{transform:translate(-10%,0) rotate(-82deg)}60%{transform:translate(40%,0) rotate(-82deg)}74%{transform:translate(40%,0) rotate(-82deg)}86%{transform:translate(10%,-8%) rotate(0)}}
@keyframes pt-toss{0%,100%{transform:rotate(0)}50%{transform:rotate(-16deg)}}
@keyframes pt-toss2{0%,100%{transform:rotate(0)}50%{transform:rotate(16deg)}}
@keyframes pt-jx{0%,100%{transform:translate(6.5px,15px)}50%{transform:translate(41.5px,15px)}}
@keyframes pt-jy{0%{transform:translateY(0) rotate(0);animation-timing-function:cubic-bezier(.2,.6,.5,1)}25%{transform:translateY(-16px) rotate(90deg);animation-timing-function:cubic-bezier(.5,0,.8,.4)}50%{transform:translateY(0) rotate(180deg);animation-timing-function:cubic-bezier(.2,.6,.5,1)}75%{transform:translateY(-7px) rotate(270deg);animation-timing-function:cubic-bezier(.5,0,.8,.4)}100%{transform:translateY(0) rotate(360deg)}}
@keyframes pt-ink{0%{transform:scale(.2);opacity:0}25%{transform:scale(1);opacity:.9}70%{transform:scale(1.25);opacity:.7}100%{transform:scale(1.5);opacity:0}}
@keyframes pt-hue{0%,100%{filter:hue-rotate(0)}30%,75%{filter:hue-rotate(-120deg)}}
@keyframes pt-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9%)}}
@keyframes pt-shadow{0%,100%{transform:scale(1)}50%{transform:scale(.8)}}
@keyframes pt-whirl{0%{transform:translateY(0) scaleX(1)}25%{transform:translateY(-12%) scaleX(.2)}50%{transform:translateY(-16%) scaleX(-1)}75%{transform:translateY(-12%) scaleX(.2)}100%{transform:translateY(0) scaleX(1)}}
@keyframes pt-fade{to{opacity:.42;transform:translateY(6%)}}
@keyframes pt-vanish{0%,100%{opacity:1}25%,65%{opacity:.12}}
@keyframes pt-boo{0%,100%{transform:scale(1)}12%{transform:scale(.8);opacity:.3}28%,78%{transform:scale(1.42) rotate(-6deg);opacity:1}50%{transform:scale(1.5) rotate(6deg)}}
@keyframes pt-bob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(5%) rotate(-5deg)}}
@keyframes pt-jaw{from{transform:rotate(0)}to{transform:rotate(-24deg)}}
@keyframes pt-hang{0%,100%{transform:rotate(0)}22%,74%{transform:rotate(180deg)}40%{transform:rotate(172deg)}58%{transform:rotate(188deg)}}
@keyframes pt-peek{0%,100%{transform:translateY(0)}45%,60%{transform:translateY(7%)}}
@keyframes pt-popup{0%,100%{transform:translateY(2%)}50%{transform:translateY(-7%)}}
@keyframes pt-sink{to{transform:translateY(24%)}}
@keyframes pt-under{to{transform:translateY(80%)}}
@keyframes pt-clap{from{transform:rotate(0)}to{transform:rotate(22deg) translateY(-18%)}}
@keyframes pt-clap2{from{transform:rotate(0)}to{transform:rotate(-22deg) translateY(-18%)}}
@keyframes pt-dive{0%,100%{transform:translateY(0)}35%,60%{transform:translateY(80%)}}
@keyframes pt-dig{0%,100%{transform:translateY(0)}18%,34%{transform:translateY(82%)}48%,84%{transform:translateY(-14%)}}
@keyframes pt-key{0%,100%{transform:scaleY(1)}50%{transform:scaleY(-1)}}
@keyframes pt-turn{to{transform:rotate(360deg)}}
@keyframes pt-ticktock{0%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
@keyframes pt-unwind{0%,100%{transform:rotate(0)}55%,72%{transform:rotate(-9deg) translateY(3%)}80%{transform:translateY(-20%) scale(.94,1.1)}88%{transform:translateY(0) scale(1.08,.9)}}
@keyframes pt-rundown{0%{transform:scaleY(1)}20%{transform:scaleY(-1)}35%{transform:scaleY(1)}48%{transform:scaleY(-.4)}55%,76%{transform:scaleY(.2)}88%{transform:scaleY(-1)}100%{transform:scaleY(1)}}
@keyframes pt-sag{0%,100%{transform:rotate(0)}55%,74%{transform:rotate(-22deg) translateY(4%)}84%{transform:rotate(10deg)}}
@keyframes pt-rock{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
@keyframes pt-sneeze{0%,100%{transform:rotate(0)}30%{transform:rotate(-12deg) scale(1.04)}42%{transform:rotate(-14deg) scale(1.06)}52%{transform:rotate(10deg) scale(.96)}70%{transform:rotate(4deg)}}
@keyframes pt-twinkle{0%,100%{transform:scale(.7) rotate(0);opacity:.7}50%{transform:scale(1.15) rotate(36deg);opacity:1}}
@keyframes pt-zz{0%{transform:translate(0,4px) scale(.6);opacity:0}25%{opacity:.95}100%{transform:translate(7px,-13px) scale(1.2);opacity:0}}
@keyframes pt-pop{from{opacity:0;scale:.7}}
html.pt-off :is(.pt-pet,.pt-pet *,.pt-star,.pt-zz b){animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){.pt-pet svg,.pt-pet svg *,.pt-star,.pt-zz b,.pt-say{animation:none!important}.pt-zz b{opacity:.9}.pt-zz b+b{display:none}.pt-pet[data-mood="sad"] svg{transform:translateY(4%) scale(.94,.9)}.pt-pet[data-pet="ghost"][data-mood="sad"] .pt-float{opacity:.42}.pt-pet[data-pet="mole"][data-mood="sad"] .pt-mole{transform:translateY(24%)}.pt-pet[data-pet="mole"]:is([data-mood="sleep"],[data-mood="duck"]) .pt-mole{transform:translateY(80%)}}
html.still :is(.pt-pet svg,.pt-pet svg *,.pt-star,.pt-zz b,.pt-say){animation:none!important}
html.still .pt-zz b{opacity:.9}
html.still .pt-zz b+b{display:none}
html.still .pt-pet[data-mood="sad"] svg{transform:translateY(4%) scale(.94,.9)}
html.still .pt-pet[data-pet="ghost"][data-mood="sad"] .pt-float{opacity:.42}
html.still .pt-pet[data-pet="mole"][data-mood="sad"] .pt-mole{transform:translateY(24%)}
html.still .pt-pet[data-pet="mole"]:is([data-mood="sleep"],[data-mood="duck"]) .pt-mole{transform:translateY(80%)}
/* ── end of more mascots ── */
/* ══ table flair (public/flair-ui.js, server/flair.js) ═══════════════════════════════════════════════════════════════
   Ornaments the host stands on the table (.fl-orn in .fl-layer), signature card plays (.fl-bit: what flies off a card),
   dice cups (.fl-cup over a tray), dances on the podium (.fl-prop on an avatar, .fl-floor: what flies around, .fl-beams)
   and the table of the four seasons (html[data-theme="seasons"][data-season="…"]; the same small on .gm-sw-seasons).
   Things here are drawn objects with colours of their own (a candle is a candle on both portals); what is the page's
   own — buttons, labels — takes its colours from the tokens. */
.fl-layer{position:fixed;inset:0;z-index:13;overflow:hidden;pointer-events:none}
.fl-layer[hidden]{display:none}
.fl-orn{position:absolute;left:0;top:0;display:block;width:46px;height:46px;pointer-events:none;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3));transition:transform .55s var(--ease),opacity .4s}
.fl-orn-art{display:block;width:100%;height:100%;overflow:visible}
.fl-orn-art *{transform-box:fill-box}
.fl-flame{transform-origin:50% 100%;animation:fl-flame 1.9s ease-in-out infinite}
@keyframes fl-flame{0%,100%{transform:scale(1) skewX(0)}14%{transform:scale(.93,1.08) skewX(-5deg)}31%{transform:scale(1.06,.94) skewX(4deg)}47%{transform:scale(.96,1.11) skewX(-2deg)}63%{transform:scale(1.05,.96) skewX(6deg)}82%{transform:scale(.95,1.06) skewX(-4deg)}}
.fl-glow{transform-origin:50% 50%;animation:fl-glow 2.7s ease-in-out infinite}
@keyframes fl-glow{0%,100%{opacity:.85;transform:scale(1)}23%{opacity:.6;transform:scale(.93)}41%{opacity:1;transform:scale(1.06)}68%{opacity:.7;transform:scale(.96)}84%{opacity:.95;transform:scale(1.03)}}
.fl-drip{transform-origin:50% 0;animation:fl-drip 11s ease-in-out infinite alternate}
@keyframes fl-drip{from{transform:scaleY(.8)}to{transform:scaleY(1.3)}}
.fl-sway{transform-box:view-box;transform-origin:50% 58%;animation:fl-sway 4.6s ease-in-out infinite alternate}
.fl-sw2{animation-duration:5.4s;animation-delay:-1.7s}
.fl-sw3{animation-duration:3.9s;animation-delay:-.8s}
@keyframes fl-sway{from{transform:rotate(-3.5deg)}to{transform:rotate(3.5deg)}}
.fl-tail{transform-origin:0 0;animation:fl-tail 3.4s ease-in-out infinite alternate}
@keyframes fl-tail{from{transform:skewY(-3deg)}to{transform:skewY(4deg)}}
.fl-glint{transform-origin:50% 50%;animation:fl-glint 3.6s ease-in-out infinite}
@keyframes fl-glint{0%,62%,100%{transform:scale(0) rotate(0);opacity:0}74%{transform:scale(1) rotate(40deg);opacity:1}88%{transform:scale(0) rotate(90deg);opacity:0}}
.fl-bob{transform-box:view-box;transform-origin:50% 90%;animation:fl-bob 2.8s ease-in-out infinite alternate}
@keyframes fl-bob{from{transform:rotate(-4deg)}to{transform:rotate(4deg) translateY(-1.5px)}}
.fl-wing{transform-origin:0 50%;animation:fl-wing 3.1s ease-in-out infinite}
@keyframes fl-wing{0%,70%,100%{transform:rotate(0)}78%,90%{transform:rotate(-14deg)}84%{transform:rotate(4deg)}}
.fl-steam{animation:fl-steam 3.2s ease-in-out infinite}
.fl-st2{animation-delay:-1.1s}
.fl-st3{animation-delay:-2.1s}
@keyframes fl-steam{0%{transform:translateY(4px) scaleY(.6);opacity:0}35%{opacity:.85}100%{transform:translateY(-7px) scaleY(1.15);opacity:0}}
.fl-snow{animation:fl-snow 4.4s linear infinite}
.fl-sn2{animation-duration:5.3s;animation-delay:-1.2s}.fl-sn3{animation-duration:3.8s;animation-delay:-2.6s}.fl-sn4{animation-duration:4.9s;animation-delay:-3.3s}
.fl-sn5{animation-duration:4.1s;animation-delay:-.6s}.fl-sn6{animation-duration:5.6s;animation-delay:-4s}.fl-sn7{animation-duration:4.7s;animation-delay:-2s}.fl-sn8{animation-duration:3.5s;animation-delay:-1.6s}
@keyframes fl-snow{from{transform:translate(0,-8px)}50%{transform:translate(2px,8px)}to{transform:translate(-1px,24px)}}
/* the host's buttons: in the quick menu on one's own name, and in the lobby */
.fl-obi{display:block;width:32px;height:32px}
.sq-menu .wow-b.fl-ob{padding:.15rem .55rem}
.fl-ob[aria-pressed="true"],.fl-lb[aria-pressed="true"]{border-color:var(--accent);box-shadow:inset 0 0 0 1.5px var(--accent)}
.fl-ob .fl-orn-art *,.fl-lb .fl-orn-art *{animation:none}
.fl-lobby{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .7rem;margin:.7rem 0 0;font:600 .86rem/1.3 var(--ui)}
.fl-lobby>span{display:flex;flex-wrap:wrap;gap:6px}
.fl-lb{display:grid;place-items:center;width:46px;height:46px;margin:0;padding:0;border:1px solid var(--hair);border-radius:12px;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
/* what flies off a card played with a signature */
.fl-bit{position:fixed;z-index:30;left:0;top:0;display:block;width:9px;height:9px;pointer-events:none}
.fl-dust{width:14px;height:14px;border-radius:50%;background:var(--fl-c,var(--ivory));filter:blur(2px)}
.fl-spark{width:13px;height:13px;background:var(--fl-c,var(--gold));filter:drop-shadow(0 0 3px var(--fl-c,var(--gold)));clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
/* a dice cup over a tray */
.fl-cup{position:absolute;z-index:2;display:block;pointer-events:none;transform-origin:50% 60%}
.fl-cup svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 3px 4px rgba(0,0,0,.45))}
.fl-cup.fl-pic,.fl-orn.fl-pic{position:static;width:48px;height:48px;filter:none}
.lk-big .fl-cup.fl-pic,.lk-big .fl-orn.fl-pic{width:112px;height:112px}
.fl-m-orn{left:3%;top:50%;width:68px;height:68px;margin-top:-34px}
.fl-m-trick{position:relative;z-index:1}
/* dances on the podium */
.fl-prop{position:absolute;z-index:3;display:block;pointer-events:none;font-size:0;line-height:0;text-indent:0}
.fl-prop svg{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45))}
.fl-p-top{left:4%;width:92%;bottom:64%;transform-origin:50% 100%}
.fl-p-low{bottom:54%}
.fl-p-ant{left:14%;width:72%;bottom:82%}
.fl-p-left,.fl-p-right{width:38%;top:16%;transform-origin:50% 95%}
.fl-p-left{left:-36%}
.fl-p-right{right:-36%}
.fl-p-ball{left:58%;width:58%;bottom:84%}
.fl-p-glove{right:-34%;width:36%;top:26%}
.fl-blink{animation:fl-blink .5s steps(1,end) infinite}
@keyframes fl-blink{50%{opacity:.25}}
.fl-twk{animation:fl-twk .7s ease-in-out infinite alternate}
.fl-tw2{animation-delay:-.25s}.fl-tw3{animation-delay:-.5s}
@keyframes fl-twk{from{opacity:.15}to{opacity:1}}
.fl-facets{animation:fl-facets .55s linear infinite}
@keyframes fl-facets{to{transform:translateX(5px)}}
.fl-beams{position:absolute;z-index:0;left:50%;top:-6%;width:190%;height:112%;margin-left:-95%;pointer-events:none;transform-origin:50% 0;background:conic-gradient(from 138deg at 50% 0,transparent 0 6deg,rgba(255,79,163,.4) 6deg 15deg,transparent 15deg 26deg,rgba(79,216,255,.4) 26deg 35deg,transparent 35deg 48deg,rgba(255,225,79,.4) 48deg 57deg,transparent 57deg 68deg,rgba(140,255,106,.36) 68deg 77deg,transparent 77deg);-webkit-mask:linear-gradient(#000 20%,transparent 92%);mask:linear-gradient(#000 20%,transparent 92%);animation:fl-beam 1.25s ease-in-out infinite alternate}
@keyframes fl-beam{from{transform:rotate(-9deg)}to{transform:rotate(9deg)}}
.pod-col[data-dance] .pod-who .ava{z-index:1}
.pod-col[data-dance] .pod-medal{translate:0 -.55em;transition:translate .3s}
.fl-floor{position:absolute;z-index:4;left:0;top:0;width:100%;height:100%;pointer-events:none}
.fl-m-pod{position:relative}
.fl-wear{padding-top:16px}
.lk-prev .fl-wear .ava{width:34px;height:34px;font-size:.95rem}
/* the table of the four seasons: which season it is comes from the device (flair-ui.js sets html[data-season]) */
html[data-theme="seasons"]:not([data-site="dice"]){--plum-1:var(--fs-1);--plum-2:var(--fs-2);--plum-3:var(--fs-3);--line:var(--fs-line)}
html[data-theme="seasons"]:not([data-site="dice"]) :is(#table,#gscreen)::before,html[data-theme="seasons"]:not([data-site="dice"]) :is(#table,#gscreen)::after{content:"";position:fixed;z-index:-1;pointer-events:none;inset:0}
html[data-theme="seasons"]:not([data-site="dice"]) :is(#table,#gscreen)::before{background:var(--fs-art) 0 0/240px 220px;opacity:.62}
html[data-theme="seasons"]:not([data-site="dice"]) :is(#table,#gscreen)::after{background:var(--fs-glow)}
html[data-theme="seasons"]:is([data-season="spring"],[data-season="autumn"],[data-season="winter"]):not([data-site="dice"]) :is(#table,#gscreen)::before{inset:-440px 0 0 -240px;animation:fl-fall 46s linear infinite}
html[data-theme="seasons"][data-season="winter"]:not([data-site="dice"]) :is(#table,#gscreen)::before{animation-duration:34s}
html[data-theme="seasons"][data-season="newyear"]:not([data-site="dice"]) :is(#table,#gscreen)::before{animation:fl-spark 2.6s ease-in-out infinite alternate}
@keyframes fl-fall{to{transform:translate3d(240px,440px,0)}}
@keyframes fl-spark{from{opacity:.4}to{opacity:.85}}
.gm-sw-seasons,.sm-sw-seasons{background:var(--fs-glow),var(--fs-art) 50% 50%/120px 110px,radial-gradient(120% 95% at 50% 30%,var(--fs-1),var(--fs-2) 60%,var(--fs-3))}
.lk-m-felt.gm-sw-seasons{background:var(--fs-glow),var(--fs-art) 50% 50%/200px 183px,radial-gradient(120% 95% at 50% 30%,var(--fs-1),var(--fs-2) 60%,var(--fs-3))}
.fl-seasons{position:absolute;z-index:3;left:8px;right:8px;top:50%;display:flex;flex-wrap:wrap;justify-content:center;gap:5px;transform:translateY(-58%)}
.fl-sb{min-height:34px;margin:0;padding:.2rem .7rem;border:1px solid var(--line);border-radius:999px;background:rgba(0,0,0,.34);color:var(--ivory);font:600 .76rem/1.2 var(--ui);cursor:pointer;-webkit-tap-highlight-color:transparent}
.fl-sb[aria-pressed="true"]{background:var(--ivory);color:var(--ink);border-color:var(--ivory)}
html[data-season="spring"],[data-fs="spring"]{--fs-1:#63a853;--fs-2:#2f6f38;--fs-3:#10301a;--fs-line:rgba(255,232,242,.45);--fs-glow:radial-gradient(90% 40% at 50% 0,rgba(255,244,200,.2),transparent 70%);--fs-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='220' viewBox='0 0 240 220'%3E%3Cdefs%3E%3Cg id='b'%3E%3Cg transform='rotate(0)'%3E%3Cellipse cy='-5.2' rx='3.3' ry='4.6' fill='%23fff4f8'/%3E%3Cellipse cy='-3.4' rx='1.3' ry='2.2' fill='%23ffc1d6'/%3E%3C/g%3E%3Cg transform='rotate(72)'%3E%3Cellipse cy='-5.2' rx='3.3' ry='4.6' fill='%23fff4f8'/%3E%3Cellipse cy='-3.4' rx='1.3' ry='2.2' fill='%23ffc1d6'/%3E%3C/g%3E%3Cg transform='rotate(144)'%3E%3Cellipse cy='-5.2' rx='3.3' ry='4.6' fill='%23fff4f8'/%3E%3Cellipse cy='-3.4' rx='1.3' ry='2.2' fill='%23ffc1d6'/%3E%3C/g%3E%3Cg transform='rotate(216)'%3E%3Cellipse cy='-5.2' rx='3.3' ry='4.6' fill='%23fff4f8'/%3E%3Cellipse cy='-3.4' rx='1.3' ry='2.2' fill='%23ffc1d6'/%3E%3C/g%3E%3Cg transform='rotate(288)'%3E%3Cellipse cy='-5.2' rx='3.3' ry='4.6' fill='%23fff4f8'/%3E%3Cellipse cy='-3.4' rx='1.3' ry='2.2' fill='%23ffc1d6'/%3E%3C/g%3E%3Ccircle r='2.1' fill='%23ffd24a'/%3E%3C/g%3E%3Cpath id='p' d='M0-5C3.2-3 3.2 2.5 0 5-3.2 2.5-3.2-3 0-5Z' fill='%23ffd9e6'/%3E%3C/defs%3E%3Cuse href='%23b' transform='translate(36 44) rotate(10) scale(1)' opacity='0.8'/%3E%3Cuse href='%23b' transform='translate(176 118) rotate(40) scale(1.25)' opacity='0.7'/%3E%3Cuse href='%23b' transform='translate(96 186) rotate(-20) scale(0.8)' opacity='0.65'/%3E%3Cuse href='%23p' transform='translate(120 30) rotate(30) scale(1)' opacity='0.7'/%3E%3Cuse href='%23p' transform='translate(214 52) rotate(-50) scale(0.9)' opacity='0.6'/%3E%3Cuse href='%23p' transform='translate(62 122) rotate(70) scale(1.1)' opacity='0.65'/%3E%3Cuse href='%23p' transform='translate(150 196) rotate(15) scale(0.9)' opacity='0.6'/%3E%3Cuse href='%23p' transform='translate(20 176) rotate(-30) scale(0.8)' opacity='0.55'/%3E%3Cuse href='%23p' transform='translate(132 92) rotate(110) scale(0.7)' opacity='0.5'/%3E%3C/svg%3E")}
html[data-season="summer"],[data-fs="summer"]{--fs-1:#2b97c4;--fs-2:#125e8c;--fs-3:#062842;--fs-line:rgba(255,246,200,.45);--fs-glow:radial-gradient(70% 46% at 88% 0,rgba(255,236,150,.5),rgba(255,214,110,.14) 45%,transparent 72%);--fs-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='220' viewBox='0 0 240 220'%3E%3Cdefs%3E%3Cpath id='w' d='M0 0q9-7 18 0t18 0 18 0' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3Cg id='s'%3E%3Cpath d='M-11 3h22l-4 6h-14z' fill='%23f6efe0'/%3E%3Cpath d='M-1 1V-16L10 1z' fill='%23fff'/%3E%3Cpath d='M-3 1V-12L-11 1z' fill='%23ff8a5c'/%3E%3Cpath d='M-1-16V3' stroke='%236b4a2a' stroke-width='1'/%3E%3C/g%3E%3Cpath id='g' d='M-7 0q3.5-5 7 0q3.5-5 7 0' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/defs%3E%3Cuse href='%23w' transform='translate(18 40) rotate(0) scale(1)' opacity='0.3'/%3E%3Cuse href='%23w' transform='translate(150 84) rotate(0) scale(1)' opacity='0.25'/%3E%3Cuse href='%23w' transform='translate(60 136) rotate(0) scale(1)' opacity='0.3'/%3E%3Cuse href='%23w' transform='translate(170 190) rotate(0) scale(1)' opacity='0.25'/%3E%3Cuse href='%23w' transform='translate(8 206) rotate(0) scale(0.8)' opacity='0.2'/%3E%3Cuse href='%23s' transform='translate(186 34) rotate(-4) scale(1)' opacity='0.75'/%3E%3Cuse href='%23s' transform='translate(52 180) rotate(5) scale(0.8)' opacity='0.6'/%3E%3Cuse href='%23g' transform='translate(110 64) rotate(0) scale(1)' opacity='0.55'/%3E%3Cuse href='%23g' transform='translate(128 74) rotate(0) scale(0.7)' opacity='0.45'/%3E%3Cuse href='%23g' transform='translate(26 100) rotate(0) scale(0.8)' opacity='0.4'/%3E%3C/svg%3E")}
html[data-season="autumn"],[data-fs="autumn"]{--fs-1:#b0581f;--fs-2:#6c2e11;--fs-3:#280f06;--fs-line:rgba(255,224,170,.45);--fs-glow:radial-gradient(100% 40% at 50% 0,rgba(255,200,120,.16),transparent 70%);--fs-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='220' viewBox='0 0 240 220'%3E%3Cdefs%3E%3Cg id='l'%3E%3Cpath d='M0-11C7-7 8 4 0 11-8 4-7-7 0-11Z'/%3E%3Cpath d='M0-9V15M0-3l4-3M0 2l5-3M0-3l-4-3M0 2l-5-3' fill='none' stroke='%23000' stroke-opacity='.28' stroke-width='.9' stroke-linecap='round'/%3E%3C/g%3E%3Cg id='m'%3E%3Cpath d='M0-12l3 5 5-3-1 6 6 1-5 4 3 4-6 0-1 6-4-4-4 4-1-6-6 0 3-4-5-4 6-1-1-6 5 3z' transform='scale(.85)'/%3E%3Cpath d='M0 6v9' stroke='%23000' stroke-opacity='.3' stroke-width='1' fill='none'/%3E%3C/g%3E%3C/defs%3E%3Cg fill='%23f0a63c'%3E%3Cuse href='%23l' transform='translate(40 38) rotate(35) scale(1)' opacity='0.8'/%3E%3Cuse href='%23m' transform='translate(196 150) rotate(-20) scale(1)' opacity='0.75'/%3E%3C/g%3E%3Cg fill='%23dd6a2a'%3E%3Cuse href='%23m' transform='translate(150 46) rotate(15) scale(1.1)' opacity='0.8'/%3E%3Cuse href='%23l' transform='translate(84 170) rotate(-60) scale(1.1)' opacity='0.75'/%3E%3C/g%3E%3Cg fill='%23b93f1d'%3E%3Cuse href='%23l' transform='translate(208 88) rotate(100) scale(0.9)' opacity='0.7'/%3E%3Cuse href='%23m' transform='translate(30 128) rotate(50) scale(0.8)' opacity='0.7'/%3E%3C/g%3E%3Cg fill='%2398a23c'%3E%3Cuse href='%23l' transform='translate(118 110) rotate(-25) scale(0.8)' opacity='0.6'/%3E%3Cuse href='%23l' transform='translate(150 204) rotate(60) scale(0.7)' opacity='0.55'/%3E%3C/g%3E%3C/svg%3E")}
html[data-season="winter"],[data-fs="winter"]{--fs-1:#44779f;--fs-2:#1f4267;--fs-3:#091627;--fs-line:rgba(225,242,255,.5);--fs-glow:radial-gradient(120% 34% at 50% 100%,rgba(240,250,255,.34),transparent 72%),radial-gradient(60% 30% at 0 0,rgba(240,250,255,.18),transparent 70%),radial-gradient(60% 30% at 100% 0,rgba(240,250,255,.18),transparent 70%);--fs-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='220' viewBox='0 0 240 220'%3E%3Cdefs%3E%3Cg id='f' fill='none' stroke='%23fff' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M0-9V9M-7.8-4.5L7.8 4.5M-7.8 4.5L7.8-4.5'/%3E%3Cpath d='M0-6l-2-2M0-6l2-2M0 6l-2 2M0 6l2 2M-5.2-3l-2.7.7M-5.2-3l-.7-2.7M5.2 3l2.7-.7M5.2 3l.7 2.7M-5.2 3l-2.7-.7M-5.2 3l-.7 2.7M5.2-3l2.7.7M5.2-3l.7-2.7'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23f' transform='translate(40 36) rotate(0) scale(1)' opacity='0.8'/%3E%3Cuse href='%23f' transform='translate(180 70) rotate(20) scale(1.3)' opacity='0.7'/%3E%3Cuse href='%23f' transform='translate(104 150) rotate(10) scale(0.8)' opacity='0.7'/%3E%3Cuse href='%23f' transform='translate(214 186) rotate(0) scale(0.9)' opacity='0.6'/%3E%3Cuse href='%23f' transform='translate(22 184) rotate(15) scale(0.6)' opacity='0.55'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='110' cy='40' r='2' opacity='.8'/%3E%3Ccircle cx='150' cy='126' r='1.5' opacity='.7'/%3E%3Ccircle cx='60' cy='104' r='2.3' opacity='.75'/%3E%3Ccircle cx='228' cy='24' r='1.5' opacity='.6'/%3E%3Ccircle cx='70' cy='206' r='1.6' opacity='.7'/%3E%3Ccircle cx='168' cy='200' r='2' opacity='.6'/%3E%3Ccircle cx='12' cy='70' r='1.4' opacity='.6'/%3E%3Ccircle cx='132' cy='86' r='1.2' opacity='.6'/%3E%3C/g%3E%3C/svg%3E")}
html[data-season="xmas"],[data-fs="xmas"]{--fs-1:#1f7048;--fs-2:#0e4029;--fs-3:#03190f;--fs-line:rgba(255,220,130,.55);--fs-glow:radial-gradient(100% 36% at 50% 0,rgba(255,214,120,.18),transparent 70%);--fs-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='220' viewBox='0 0 240 220'%3E%3Cdefs%3E%3Cg id='t'%3E%3Cpath d='M0 0C10-6 22-8 34-6' fill='none' stroke='%230c3a22' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M5-2l-3-7M5-2l1 7M11-4.5l-2-7M11-4.5l2 7M17-6l-1-7M17-6l3 6.5M23-6.5l0-7M23-6.5l4 6M29-6.5l1-6.5M29-6.5l4 5' fill='none' stroke='%2349b07a' stroke-width='1.4' stroke-linecap='round'/%3E%3C/g%3E%3Cg id='h'%3E%3Ccircle cx='-3' cy='0' r='3' fill='%23e0353f'/%3E%3Ccircle cx='3' cy='1' r='3' fill='%23c9242f'/%3E%3Ccircle cx='0' cy='-4' r='3' fill='%23ef4a52'/%3E%3Ccircle cx='-1' cy='-5' r='.9' fill='%23fff' opacity='.7'/%3E%3C/g%3E%3Cpath id='s' d='M0-8l2.4 5 5.5.8-4 3.9.9 5.5L0 4.6l-4.8 2.6.9-5.5-4-3.9 5.5-.8z' fill='%23ffd76a'/%3E%3C/defs%3E%3Cuse href='%23t' transform='translate(22 46) rotate(-10) scale(1)' opacity='0.9'/%3E%3Cuse href='%23t' transform='translate(170 120) rotate(160) scale(1.1)' opacity='0.85'/%3E%3Cuse href='%23t' transform='translate(70 192) rotate(20) scale(0.9)' opacity='0.8'/%3E%3Cuse href='%23h' transform='translate(60 40) rotate(0) scale(1)' opacity='0.95'/%3E%3Cuse href='%23h' transform='translate(162 126) rotate(0) scale(1)' opacity='0.9'/%3E%3Cuse href='%23s' transform='translate(196 40) rotate(10) scale(1)' opacity='0.8'/%3E%3Cuse href='%23s' transform='translate(110 108) rotate(-10) scale(0.6)' opacity='0.7'/%3E%3Cuse href='%23s' transform='translate(28 140) rotate(20) scale(0.7)' opacity='0.65'/%3E%3Cuse href='%23s' transform='translate(214 196) rotate(0) scale(0.8)' opacity='0.6'/%3E%3C/svg%3E")}
html[data-season="newyear"],[data-fs="newyear"]{--fs-1:#262262;--fs-2:#100d33;--fs-3:#03020e;--fs-line:rgba(255,220,140,.5);--fs-glow:radial-gradient(90% 40% at 50% 0,rgba(140,120,255,.22),transparent 70%);--fs-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='220' viewBox='0 0 240 220'%3E%3Cdefs%3E%3Cg id='x' fill='none' stroke-linecap='round' stroke-width='1.4'%3E%3Cpath d='M0-5V-14' transform='rotate(0)'/%3E%3Cpath d='M0-5V-14' transform='rotate(36)'/%3E%3Cpath d='M0-5V-14' transform='rotate(72)'/%3E%3Cpath d='M0-5V-14' transform='rotate(108)'/%3E%3Cpath d='M0-5V-14' transform='rotate(144)'/%3E%3Cpath d='M0-5V-14' transform='rotate(180)'/%3E%3Cpath d='M0-5V-14' transform='rotate(216)'/%3E%3Cpath d='M0-5V-14' transform='rotate(252)'/%3E%3Cpath d='M0-5V-14' transform='rotate(288)'/%3E%3Cpath d='M0-5V-14' transform='rotate(324)'/%3E%3C/g%3E%3Cg id='d'%3E%3Ccircle cy='-17' r='1.3' transform='rotate(18)'/%3E%3Ccircle cy='-17' r='1.3' transform='rotate(54)'/%3E%3Ccircle cy='-17' r='1.3' transform='rotate(90)'/%3E%3Ccircle cy='-17' r='1.3' transform='rotate(126)'/%3E%3Ccircle cy='-17' r='1.3' transform='rotate(162)'/%3E%3Ccircle cy='-17' r='1.3' transform='rotate(198)'/%3E%3Ccircle cy='-17' r='1.3' transform='rotate(234)'/%3E%3Ccircle cy='-17' r='1.3' transform='rotate(270)'/%3E%3Ccircle cy='-17' r='1.3' transform='rotate(306)'/%3E%3Ccircle cy='-17' r='1.3' transform='rotate(342)'/%3E%3C/g%3E%3C/defs%3E%3Cg stroke='%23ffd76a' fill='%23ffd76a'%3E%3Cuse href='%23x' transform='translate(50 50) rotate(0) scale(1.1)' opacity='0.85'/%3E%3Cuse href='%23d' transform='translate(50 50) rotate(0) scale(1.1)' opacity='0.8'/%3E%3C/g%3E%3Cg stroke='%23ff7ab8' fill='%23ff7ab8'%3E%3Cuse href='%23x' transform='translate(180 110) rotate(10) scale(0.9)' opacity='0.8'/%3E%3Cuse href='%23d' transform='translate(180 110) rotate(10) scale(0.9)' opacity='0.75'/%3E%3C/g%3E%3Cg stroke='%237fe3ff' fill='%237fe3ff'%3E%3Cuse href='%23x' transform='translate(96 176) rotate(20) scale(0.75)' opacity='0.75'/%3E%3Cuse href='%23d' transform='translate(96 176) rotate(20) scale(0.75)' opacity='0.7'/%3E%3C/g%3E%3Cg opacity='.75'%3E%3Crect x='130' y='30' width='5' height='2.5' fill='%23ffd76a' transform='rotate(30 130 30)'/%3E%3Crect x='214' y='60' width='5' height='2.5' fill='%237fe3ff' transform='rotate(-40 214 60)'/%3E%3Crect x='20' y='120' width='5' height='2.5' fill='%23ff7ab8' transform='rotate(60 20 120)'/%3E%3Crect x='150' y='190' width='5' height='2.5' fill='%23ffd76a' transform='rotate(-20 150 190)'/%3E%3Crect x='220' y='170' width='5' height='2.5' fill='%23fff' transform='rotate(50 220 170)'/%3E%3Ccircle cx='120' cy='96' r='1.3' fill='%23fff'/%3E%3Ccircle cx='30' cy='196' r='1.3' fill='%23fff'/%3E%3Ccircle cx='200' cy='20' r='1.1' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E")}
html[data-season="easter"],[data-fs="easter"]{--fs-1:#86ab3f;--fs-2:#4f7223;--fs-3:#1d2f0c;--fs-line:rgba(255,246,190,.5);--fs-glow:radial-gradient(90% 40% at 50% 0,rgba(255,250,190,.24),transparent 70%);--fs-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='220' viewBox='0 0 240 220'%3E%3Cdefs%3E%3CclipPath id='e'%3E%3Cpath d='M0-11C6-11 9-2 9 3A9 9 0 0 1-9 3C-9-2-6-11 0-11Z'/%3E%3C/clipPath%3E%3Cg id='a' clip-path='url(%23e)'%3E%3Crect x='-10' y='-12' width='20' height='25' fill='%23ffd2de'/%3E%3Cpath d='M-10-3l3.3-3 3.3 3 3.4-3 3.3 3 3.3-3 3.4 3' fill='none' stroke='%23e2557a' stroke-width='1.7'/%3E%3Crect x='-10' y='3' width='20' height='3' fill='%237cc7f0'/%3E%3C/g%3E%3Cg id='b' clip-path='url(%23e)'%3E%3Crect x='-10' y='-12' width='20' height='25' fill='%23fff1a8'/%3E%3Ccircle cx='-4' cy='-2' r='1.8' fill='%23f08a2c'/%3E%3Ccircle cx='3' cy='-5' r='1.8' fill='%23f08a2c'/%3E%3Ccircle cx='4' cy='3' r='1.8' fill='%23f08a2c'/%3E%3Ccircle cx='-3' cy='6' r='1.8' fill='%23f08a2c'/%3E%3C/g%3E%3Cg id='k'%3E%3Cpath d='M0 0C6-10 10-22 11-36' fill='none' stroke='%236b4a2a' stroke-width='1.5' stroke-linecap='round'/%3E%3Cg fill='%23f4f1e6'%3E%3Cellipse cx='3' cy='-8' rx='2.3' ry='3.6' transform='rotate(25 3 -8)'/%3E%3Cellipse cx='8.5' cy='-17' rx='2.3' ry='3.6' transform='rotate(-30 8.5 -17)'/%3E%3Cellipse cx='8.5' cy='-26' rx='2.2' ry='3.4' transform='rotate(20 8.5 -26)'/%3E%3Cellipse cx='11.5' cy='-35' rx='2' ry='3.2'/%3E%3C/g%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23a' transform='translate(44 50) rotate(-15) scale(1)' opacity='0.85'/%3E%3Cuse href='%23b' transform='translate(186 130) rotate(20) scale(1.1)' opacity='0.8'/%3E%3Cuse href='%23a' transform='translate(110 190) rotate(10) scale(0.8)' opacity='0.75'/%3E%3Cuse href='%23k' transform='translate(150 70) rotate(10) scale(1)' opacity='0.8'/%3E%3Cuse href='%23k' transform='translate(30 190) rotate(-20) scale(0.9)' opacity='0.75'/%3E%3Cuse href='%23k' transform='translate(214 214) rotate(30) scale(0.8)' opacity='0.7'/%3E%3C/svg%3E")}
html[data-season="valentine"],[data-fs="valentine"]{--fs-1:#b63a63;--fs-2:#6f1b3c;--fs-3:#2a0716;--fs-line:rgba(255,214,228,.5);--fs-glow:radial-gradient(90% 40% at 50% 0,rgba(255,190,214,.22),transparent 70%);--fs-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='220' viewBox='0 0 240 220'%3E%3Cdefs%3E%3Cpath id='h' d='M0 9C-13 0-9-11 0-5C9-11 13 0 0 9Z'/%3E%3C/defs%3E%3Cg fill='%23ffd3e0'%3E%3Cuse href='%23h' transform='translate(40 44) rotate(-12) scale(1.1)' opacity='0.7'/%3E%3Cuse href='%23h' transform='translate(200 170) rotate(15) scale(0.9)' opacity='0.6'/%3E%3C/g%3E%3Cg fill='%23ff7fa6'%3E%3Cuse href='%23h' transform='translate(170 60) rotate(14) scale(1.4)' opacity='0.6'/%3E%3Cuse href='%23h' transform='translate(80 180) rotate(-8) scale(0.8)' opacity='0.6'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cuse href='%23h' transform='translate(110 110) rotate(6) scale(0.55)' opacity='0.6'/%3E%3Cuse href='%23h' transform='translate(222 110) rotate(-20) scale(0.5)' opacity='0.5'/%3E%3Cuse href='%23h' transform='translate(22 126) rotate(20) scale(0.5)' opacity='0.5'/%3E%3Cuse href='%23h' transform='translate(136 204) rotate(0) scale(0.45)' opacity='0.5'/%3E%3C/g%3E%3C/svg%3E")}
html[data-season="halloween"],[data-fs="halloween"]{--fs-1:#4d2466;--fs-2:#28103c;--fs-3:#0c0416;--fs-line:rgba(255,170,80,.5);--fs-glow:radial-gradient(60% 34% at 50% 0,rgba(255,150,60,.22),transparent 70%);--fs-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='220' viewBox='0 0 240 220'%3E%3Cdefs%3E%3Cg id='p'%3E%3Cpath d='M0-11c2-3 5-3 6-1' fill='none' stroke='%235c7a2a' stroke-width='2.2' stroke-linecap='round'/%3E%3Cellipse cx='-7' rx='7' ry='9' fill='%23e8791c'/%3E%3Cellipse cx='7' rx='7' ry='9' fill='%23e8791c'/%3E%3Cellipse rx='7.5' ry='10' fill='%23f7922a'/%3E%3Cpath d='M-6-3l3 3h-5zM6-3l-3 3h5zM-6 4l3-1.5 3 1.5 3-1.5 3 1.5-3 2.5h-6z' fill='%232a0f08'/%3E%3C/g%3E%3Cpath id='b' d='M0-2c1-2 1.5-3 1.5-4.5 1 1 1.7 2 2 3.3C6-5 9-6 13-5c-2 1-3 3-3 5-1.5-1-3-1-4 0-1 1-1.3 2.3-1.5 3.500C3.500 2 2 1.500 0 3-2 1.500-3.500 2-4.500 3.500-4.700 2.300-5 1-6 0c-1-1-2.500-1-4 0 0-2-1-4-3-5 4-1 7 0 9.500 1.800.300-1.300 1-2.300 2-3.300C-1.500-5-1-4 0-2Z' fill='%2312061d'/%3E%3C/defs%3E%3Cuse href='%23p' transform='translate(46 48) rotate(-6) scale(1)' opacity='0.9'/%3E%3Cuse href='%23p' transform='translate(184 164) rotate(8) scale(1.2)' opacity='0.85'/%3E%3Cuse href='%23b' transform='translate(170 50) rotate(-10) scale(1.3)' opacity='0.85'/%3E%3Cuse href='%23b' transform='translate(80 150) rotate(12) scale(1)' opacity='0.8'/%3E%3Cuse href='%23b' transform='translate(216 104) rotate(0) scale(0.7)' opacity='0.7'/%3E%3Cg fill='%23ffc76a'%3E%3Ccircle cx='120' cy='30' r='1.3' opacity='.8'/%3E%3Ccircle cx='22' cy='110' r='1.2' opacity='.7'/%3E%3Ccircle cx='130' cy='110' r='1.5' opacity='.7'/%3E%3Ccircle cx='110' cy='200' r='1.2' opacity='.7'/%3E%3Ccircle cx='226' cy='200' r='1.3' opacity='.6'/%3E%3C/g%3E%3C/svg%3E")}
html.still :is(.fl-orn-art *,.fl-prop *,.fl-beams),html.still[data-theme="seasons"] :is(#table,#gscreen)::before{animation:none}
@media (prefers-reduced-motion:reduce){.fl-orn-art *,.fl-prop *,.fl-beams,html[data-theme="seasons"] :is(#table,#gscreen)::before{animation:none}.fl-orn{transition:none}}
/* ══ end of table flair ══ */
/* ══ personal things: the sticker album, table ambience, the toast, the challenge cup, nicknames ══
   (public/album-ui.js, public/ambience-ui.js, public/rituals-ui.js; classes al-, amb-, rt-)
   The interface takes its colours from the skin's tokens; what is a picture of a thing (a sticker, a glass, a cup,
   a little scene) is drawn by the scripts in its own inks. */

/* ── the album ── a book: a cloth cover with gold on it, and a ruled spread for every series. What is a printed thing
   (the cover, a sticker, a stamp) has its own inks, the same on both portals; the rest takes the skin's tokens. */
.al-sheet h2.al-h{margin-bottom:.6rem}
.al-sheet h3{display:flex;align-items:baseline;gap:.5em}
.al-count{font:700 .74rem/1 var(--ui);letter-spacing:0;color:var(--muted);font-variant-numeric:tabular-nums}
.al-bar{display:block;height:8px;border-radius:999px;background:var(--sand);overflow:hidden;box-shadow:inset 0 0 0 1px var(--hair)}
.al-bar i{display:block;height:100%;border-radius:999px;background:var(--accent-dark)}
.al-bar.thin{height:5px;width:86%;margin:1px auto 0}
.al-bar.onband{height:6px;background:rgba(0,0,0,.28);box-shadow:none}
.al-bar.onband i{background:#fff6dc}
.al-ok{font:800 .78rem/1.3 var(--ui);font-style:normal;color:var(--accent-deep);white-space:nowrap}
.al-at{font:800 .78rem/1.3 var(--ui);font-style:normal;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.sheet .al-small{margin-top:.3rem;font-size:.82rem}
.al-note{margin:.6rem 0 0;padding:.5rem .7rem;border-radius:10px;background:var(--accent-soft);color:var(--ink);font:600 .84rem/1.35 var(--ui)}
:is(.al-stamp,.al-ser,.al-slot,.al-nav,.al-back,.al-entry,.al-drop,.al-nearrow,.al-wait,button.al-card):focus-visible{outline:2px solid var(--in-focus);outline-offset:2px}

/* the cover */
.al-cover{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem .5rem;padding:1.05rem 1rem 1rem 2rem;border-radius:7px 18px 18px 7px;color:#fff6dc;cursor:pointer;
  background:repeating-linear-gradient(45deg,rgba(255,255,255,.04) 0 2px,transparent 2px 4px),repeating-linear-gradient(-45deg,rgba(0,0,0,.08) 0 2px,transparent 2px 4px),radial-gradient(120% 90% at 78% 0%,rgba(110,190,220,.28),transparent 60%),linear-gradient(135deg,#27566f,#173749 55%,#0f2636);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),inset -2px -3px 0 rgba(0,0,0,.28),0 2px 0 #0a1a26,3px 4px 0 #f3ead6,3px 5px 0 #b9ae95,5px 7px 0 #efe5cf,5px 8px 0 #b9ae95,0 18px 28px -14px rgba(0,0,0,.6)}
.al-cover::after{content:"";position:absolute;z-index:-1;inset:9px 9px 9px 26px;border:1.5px dashed rgba(241,207,114,.5);border-radius:3px 11px 11px 3px;pointer-events:none}
.al-spine{position:absolute;z-index:-1;left:0;top:0;bottom:0;width:17px;border-radius:7px 0 0 7px;background:repeating-linear-gradient(to bottom,transparent 0 22%,rgba(241,207,114,.5) 22% 23%,transparent 23% 77%,rgba(241,207,114,.5) 77% 78%,transparent 78%),linear-gradient(90deg,#0a1b28,#1d4258 48%,#0d2231);box-shadow:inset -1px 0 0 rgba(255,255,255,.16),2px 0 3px rgba(0,0,0,.35)}
.al-ctop{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.al-ctitle{display:grid;min-width:0}
.al-ctitle small{font:800 .72rem/1.2 var(--ui);letter-spacing:.34em;text-transform:uppercase;color:#ffe08a;text-shadow:0 1px 2px rgba(0,0,0,.55)}
.al-ctitle b{font:400 clamp(1.7rem,8.6vw,2.3rem)/1 var(--display);letter-spacing:.02em;text-transform:uppercase;overflow-wrap:anywhere;background:linear-gradient(180deg,#fff3c4,#e2b54a 55%,#b8862a);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 1px 0 rgba(0,0,0,.45))}
.al-ring{flex:none;width:64px;height:64px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))}
.al-ring text{font-family:var(--ui)}
.al-label{align-self:center;justify-self:start;display:grid;max-width:100%;padding:.38rem .7rem .42rem;border-radius:3px;background:linear-gradient(#fbf5ea,#f1e8d2);color:#2a2418;rotate:-1.2deg;box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 2px 5px rgba(0,0,0,.4)}
.al-label small{font:700 .6rem/1.3 var(--ui);letter-spacing:.14em;text-transform:uppercase;color:#7a6a48}
.al-label b{font:800 1.1rem/1.2 var(--ui);overflow-wrap:anywhere}
.al-label span{font:600 .7rem/1.35 var(--ui);color:#5c4e33;font-variant-numeric:tabular-nums}
.al-cfavs{align-self:center;display:flex;align-items:center;padding-right:2px}
.al-cfavs .al-art{width:50px;max-width:none;margin-left:-13px;rotate:var(--tilt,0deg);filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))}
.al-cfavs .al-art:first-child{margin-left:0}
.al-stamps{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:3px;min-height:36px}
.al-stamp{flex:none;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:none;cursor:pointer}
.al-stampart{display:block;width:100%;height:auto;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45))}
.al-stampart text,.al-art text{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif}
.al-stampart.dim{filter:grayscale(.75) brightness(1.05) drop-shadow(0 1px 2px rgba(0,0,0,.45))}
.al-stamp.wait{animation:al-lure 1.6s ease-in-out infinite}
@keyframes al-lure{50%{scale:1.12}}
.al-stampmore{padding:0 .5em;font:800 .8rem/1 var(--ui);color:#f1cf72}
.al-nostamps{font:600 .76rem/1.35 var(--ui);color:rgba(255,246,220,.72)}

/* what waits: a packet, a finished series */
.al-packet{flex-wrap:wrap}
.al-packet,.al-wait,.al-claim{display:flex;align-items:center;gap:.7rem;margin-top:.75rem;padding:.6rem .7rem;border:1px solid var(--accent-dark);border-radius:var(--radius);background:var(--accent-soft);color:var(--ink)}
.al-packettx{flex:1 1 150px;min-width:0;display:grid;gap:1px}
.al-packet b,.al-wait b,.al-claim b{font:800 .95rem/1.25 var(--ui)}
.al-packet small,.al-wait small{font:500 .78rem/1.3 var(--ui);color:var(--ink-soft)}
.al-packet .btn{flex:1 1 100%;margin:0}
.al-claim .btn{flex:1 1 auto;margin:0}
.al-claim{justify-content:space-between;flex-wrap:wrap}
.al-wait{width:100%;font:inherit;text-align:left;cursor:pointer}
.al-wait>i{flex:none;font-style:normal;font-size:1.6rem}
.al-wait>span{flex:1;min-width:0;display:grid}
.al-wait>em{flex:none;font-style:normal;font-size:1.4rem;color:var(--muted)}
/* a packet: a foil sachet with a torn-open top */
.al-wrap{flex:none;position:relative;display:grid;place-items:center;width:44px;height:56px;border-radius:5px;background:linear-gradient(115deg,#ff9ad8,#ffe98a 22%,#9ef0b4 44%,#8fd6ff 66%,#c9b0ff 88%);clip-path:polygon(0 6%,8% 0,17% 6%,25% 0,33% 6%,42% 0,50% 6%,58% 0,67% 6%,75% 0,83% 6%,92% 0,100% 6%,100% 94%,92% 100%,83% 94%,75% 100%,67% 94%,58% 100%,50% 94%,42% 100%,33% 94%,25% 100%,17% 94%,8% 100%,0 94%)}
.al-wrap::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.75) 48%,transparent 62%);background-size:260% 100%;animation:al-sheen 3.2s ease-in-out infinite}
.al-wrap i{position:relative;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.85);font-style:normal;font-size:1rem}
@keyframes al-sheen{0%,40%{background-position:120% 0}100%{background-position:-60% 0}}

/* the three closest */
.al-near{display:grid;gap:.4rem;margin-top:.55rem}
.al-nearrow{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:.6rem;width:100%;margin:0;padding:.4rem .6rem .45rem .45rem;border:1px solid var(--hair);border-radius:12px;background:var(--card);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.al-nearart{color:var(--muted)}
.al-neartx{display:grid;gap:2px;min-width:0}
.al-neartx b{font:700 .86rem/1.25 var(--ui);overflow-wrap:anywhere}
.al-neartx small{font:500 .72rem/1.3 var(--ui);color:var(--muted)}
.al-neartx small em{font-style:normal}
.al-nearn{font:800 .8rem/1 var(--ui);font-style:normal;color:var(--ink-soft);font-variant-numeric:tabular-nums}
.sheet .al-none-yet{margin-top:.5rem}

/* the list of series */
.al-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;margin-top:.55rem}
@media (min-width:560px){.al-index{grid-template-columns:repeat(3,minmax(0,1fr))}}
.al-ser{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:1px .5rem;min-height:62px;margin:0;padding:.4rem .5rem .45rem;border:1px solid var(--hair);border-radius:12px;background:var(--card);color:var(--ink);font:inherit;text-align:left;cursor:pointer;overflow:hidden}
.al-ser>i{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:radial-gradient(circle at 35% 30%,var(--c1),var(--c2));font-style:normal;font-size:1.05rem;box-shadow:inset 0 0 0 2px rgba(255,255,255,.55),0 1px 2px rgba(0,0,0,.3)}
.al-ser b{align-self:end;font:800 .78rem/1.15 var(--ui);overflow-wrap:anywhere;hyphens:auto}
.al-ser small{align-self:start;font:700 .68rem/1.25 var(--ui);color:var(--muted);font-variant-numeric:tabular-nums}
.al-ser .al-bar{grid-column:1/-1;height:5px;margin-top:4px}
.al-ser .al-bar i{background:linear-gradient(90deg,var(--c1),var(--c2))}
.al-ser.done{border-color:#c9952e;box-shadow:inset 0 0 0 1px #c9952e}
.al-ser.done small{color:#8a5e12}
.al-ser.wait{border-color:var(--accent-dark);background:var(--accent-soft)}
.al-ser.wait small{color:var(--accent-deep)}
.al-ser.closed>i{filter:grayscale(.85);opacity:.6}
.al-kind{position:absolute;top:0;right:0;padding:0 .5em;border-radius:0 0 0 8px;background:var(--ink);color:var(--paper);font:800 .54rem/1.7 var(--ui);letter-spacing:.08em;text-transform:uppercase}
.al-dot{position:absolute;top:5px;left:31px;width:10px;height:10px;border-radius:50%;background:var(--cherry);box-shadow:0 0 0 2px var(--card)}

/* the big steps, the dust, what is on loan */
.al-miles,.al-lent{display:grid;gap:.4rem;margin-top:.55rem}
.al-mile,.al-lentrow{display:flex;align-items:center;gap:.6rem;padding:.5rem .65rem;border:1px solid var(--hair);border-radius:12px;background:var(--card)}
.al-mile .btn,.al-lentrow .btn{flex:none;width:auto;margin:0}
.al-miletx{flex:1;min-width:0;display:grid;gap:4px}
.al-miletx b,.al-lentrow b{font:800 .88rem/1.2 var(--ui)}
.al-mile.ready{border-color:var(--accent-dark);background:var(--accent-soft)}
.al-mile.done{opacity:.72}
.al-lentrow>i{flex:none;font-style:normal;font-size:1.4rem}
.al-lentrow>span{flex:1;min-width:0;display:grid}
.al-lentrow small{font:500 .76rem/1.3 var(--ui);color:var(--muted)}
.al-pills{display:flex;flex-wrap:wrap;gap:4px}
.al-pill{display:inline-flex;align-items:center;gap:.3em;padding:.08rem .55rem .1rem .4rem;border-radius:999px;background:var(--wash);color:var(--ink);font:700 .74rem/1.55 var(--ui);white-space:nowrap}
.al-pill i{font-style:normal}
.al-pill.temp{background:none;box-shadow:inset 0 0 0 1.5px var(--accent-dark)}
.sheet .al-dust{margin:.5rem 0 0;font:500 .84rem/1.4 var(--ui);color:var(--ink-soft)}
.al-dust b{color:var(--ink)}
.sheet .al-how{margin-top:1rem;padding-top:.6rem;border-top:1px solid var(--hair);font-size:.82rem}

/* a spread: ruled paper punched for a binder, the band of the series across its top */
.al-crumbs{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.45rem}
.al-crumbs small{font:700 .72rem/1 var(--ui);color:var(--muted);font-variant-numeric:tabular-nums}
.al-back{margin:0;padding:.3rem .8rem .34rem .55rem;border:1px solid var(--hair);border-radius:999px;background:var(--card);color:var(--ink);font:700 .84rem/1.3 var(--ui);cursor:pointer}
.al-page{position:relative;padding:0 .5rem .6rem 1.45rem;border:1px solid var(--hair);border-radius:6px 16px 16px 6px;overflow:hidden;
  background:radial-gradient(circle at 11px 34%,var(--sand) 4.5px,transparent 5.5px),radial-gradient(circle at 11px 60%,var(--sand) 4.5px,transparent 5.5px),radial-gradient(circle at 11px 86%,var(--sand) 4.5px,transparent 5.5px),
    repeating-linear-gradient(to bottom,transparent 0 27px,var(--hair) 27px 28px),var(--card);
  box-shadow:inset 22px 0 0 -21px var(--cherry),0 1px 0 var(--hair),0 6px 16px -10px rgba(0,0,0,.35);touch-action:pan-y}
.al-band{position:relative;display:flex;align-items:center;gap:.5rem;margin:0 -.5rem 0 -1.45rem;padding:.55rem .45rem .6rem;color:#fff;
  background:repeating-linear-gradient(115deg,rgba(255,255,255,.07) 0 10px,transparent 10px 22px),radial-gradient(90% 140% at 12% 0%,rgba(255,255,255,.1),transparent 60%),linear-gradient(rgba(0,0,0,.36),rgba(0,0,0,.36)),linear-gradient(135deg,var(--c1),var(--c2));box-shadow:inset 0 -3px 0 rgba(0,0,0,.18)}
.al-page[data-kind="legend"] .al-band{box-shadow:inset 0 0 0 2px #f1cf72,inset 0 -3px 0 rgba(0,0,0,.18)}
.al-page[data-kind="season"] .al-band{background:radial-gradient(3px 3px at 14px 10px,rgba(255,255,255,.5),transparent),radial-gradient(2px 2px at 44px 30px,rgba(255,255,255,.4),transparent),radial-gradient(90% 140% at 12% 0%,rgba(255,255,255,.1),transparent 60%),linear-gradient(rgba(0,0,0,.36),rgba(0,0,0,.36)),linear-gradient(135deg,var(--c1),var(--c2));background-size:60px 44px,60px 44px,auto,auto,auto}
.al-medal{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fbf5ea;font-size:1.5rem;box-shadow:0 0 0 2px rgba(255,255,255,.5),0 2px 5px rgba(0,0,0,.35)}
.al-bandtx{flex:1;min-width:0;display:grid;gap:2px}
.al-bandtx small{font:800 .62rem/1.2 var(--ui);letter-spacing:.14em;text-transform:uppercase;text-shadow:0 1px 2px rgba(0,0,0,.55);font-variant-numeric:tabular-nums}
.al-bandtx b{font:400 1.22rem/1.08 var(--display);letter-spacing:.01em;text-transform:uppercase;overflow-wrap:anywhere;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.al-nav{flex:none;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.26);color:#fff;font:400 1.5rem/1 var(--ui);cursor:pointer}
.al-nav span{display:block;margin-top:-3px}
.al-nav:disabled{opacity:.3;cursor:default}
.al-season{margin:.45rem 0 0;font:600 .74rem/1.35 var(--ui);color:var(--ink-soft)}
.al-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem .25rem;margin-top:.6rem}
.al-slot{position:relative;display:grid;justify-items:center;align-content:start;gap:2px;min-width:0;margin:0;padding:4px 2px 5px;border:0;border-radius:12px;background:none;color:var(--muted);font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.al-slot.on{background:var(--accent-soft)}
.al-pic{position:relative;display:block;width:100%;max-width:92px}
.al-art{display:block;width:100%;max-width:92px;height:auto;aspect-ratio:1;overflow:visible}
.al-slot .al-art:not(.al-none){rotate:var(--tilt,0deg);filter:drop-shadow(0 1px 0 rgba(0,0,0,.18)) drop-shadow(0 3px 4px rgba(0,0,0,.28));transition:rotate .25s var(--ease),scale .25s var(--ease)}
.al-slot.on .al-art:not(.al-none){rotate:0deg;scale:1.06}
.al-slot.shut{opacity:.68}
.al-nm{max-width:100%;min-height:2.3em;font:700 .68rem/1.15 var(--ui);color:var(--ink);text-align:center;overflow-wrap:anywhere;hyphens:auto}
.al-rule{max-width:100%;min-height:2.3em;font:600 .62rem/1.2 var(--ui);color:var(--ink-soft);text-align:center;overflow-wrap:anywhere;hyphens:auto}
.al-newtag{position:absolute;top:-1px;right:0;padding:0 .45em;border-radius:5px;background:var(--cherry);color:#fff;font:800 .54rem/1.7 var(--ui);font-style:normal;letter-spacing:.08em;rotate:9deg;box-shadow:0 1px 2px rgba(0,0,0,.35)}
/* pasted in: the sticker comes down from above the page, is pressed flat and settles askew */
.al-slot.al-paste .al-art:not(.al-none){animation:al-paste .72s var(--ease) var(--d,0ms) both}
.al-slot.al-paste .al-newtag{animation:al-fade .3s ease calc(var(--d,0ms) + .6s) both}
@keyframes al-paste{0%{translate:0 -46px;scale:2;rotate:-24deg;opacity:0}45%{translate:0 0;scale:.9;rotate:calc(var(--tilt,0deg) + 5deg);opacity:1}70%{scale:1.06}100%{translate:0 0;scale:1;rotate:var(--tilt,0deg);opacity:1}}
@keyframes al-fade{from{opacity:0}to{opacity:1}}
/* the edges that glint: gold foil sweeps, a hologram wanders and changes its colours */
.al-foil{animation:al-foil 3.4s ease-in-out infinite}
@keyframes al-foil{0%,55%{transform:skewX(-18deg) translateX(0)}85%,100%{transform:skewX(-18deg) translateX(230px)}}
.al-twinkle path{transform-box:fill-box;transform-origin:center;animation:al-twinkle 2.2s ease-in-out infinite}
.al-twinkle path:nth-child(2){animation-delay:-.8s}
.al-twinkle path:nth-child(3){animation-delay:-1.5s}
.al-twinkle path:nth-child(4){animation-delay:-.4s}
@keyframes al-twinkle{0%,100%{scale:1;opacity:1}50%{scale:.35;opacity:.5}}
.al-holo{mix-blend-mode:screen;animation:al-holo 5s ease-in-out infinite alternate}
@keyframes al-holo{from{transform:translate(-26px,18px)}to{transform:translate(26px,-18px)}}
.al-huecut{animation:al-hue 6s linear infinite}
.al-r4{animation:al-glow 3s ease-in-out infinite}
@keyframes al-hue{to{filter:hue-rotate(360deg)}}
@keyframes al-glow{50%{filter:drop-shadow(0 0 5px rgba(190,150,255,.9)) drop-shadow(0 3px 4px rgba(0,0,0,.28))}}
/* the gold stamp of a claimed series, across the corner of its spread */
.al-page.stamped{padding-bottom:2.7rem}
.al-bigstamp{position:absolute;right:9px;bottom:9px;display:flex;align-items:center;gap:.3em;padding:.14rem .55rem .14rem .35rem;border:3px double #a8761c;border-radius:9px;background:rgba(255,246,214,.9);color:#8a5e12;rotate:-9deg;box-shadow:0 2px 6px rgba(0,0,0,.25);pointer-events:none}
.al-bigstamp i{font-style:normal;font-size:.95rem}
.al-bigstamp b{font:800 .68rem/1.4 var(--ui);letter-spacing:.16em}
.al-bigstamp.land{animation:al-land .6s var(--ease) .1s both}
@keyframes al-land{0%{scale:3.2;rotate:24deg;opacity:0}55%{scale:.9;rotate:-12deg;opacity:1}75%{scale:1.08}100%{scale:1;rotate:-9deg;opacity:1}}

.al-detail{display:flex;align-items:center;gap:.7rem;min-height:66px;margin:.6rem 0 0;padding:.5rem .7rem;border-radius:12px;background:var(--sand);color:var(--ink)}
.al-dtx{min-width:0;display:grid;gap:2px;justify-items:start}
.al-detail b{font:800 .98rem/1.2 var(--ui);overflow-wrap:anywhere}
.al-detail small{font:500 .8rem/1.3 var(--ui);color:var(--ink-soft)}
.al-detail .btn{width:auto;margin:.25rem 0 0}
.al-detail .al-warn{font-weight:700;color:var(--muted)}
.al-dpic{flex:none;width:56px;color:var(--muted)}
.al-dpic .al-art{filter:drop-shadow(0 2px 3px rgba(0,0,0,.25))}
.sheet .al-detail.al-hint{justify-content:center;color:var(--muted);font:500 .86rem/1.3 var(--ui);text-align:center}
.al-rar{font-weight:800!important;text-transform:uppercase;letter-spacing:.08em;font-size:.66rem!important;font-style:normal}
.al-rar1{color:var(--muted)!important}
.al-rar2{color:#4c6074!important}
.al-rar3{color:#855a0c!important}
.al-rar4{color:#7438bf!important}
.al-reward{display:grid;gap:5px;margin-top:.6rem;padding:.55rem .7rem .6rem;border:1px dashed var(--hair);border-radius:12px}
.al-reward>small{font:800 .68rem/1.3 var(--ui);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.al-reward.got>small{color:var(--accent-deep)}
.al-reward .al-half{letter-spacing:0;text-transform:none;font-weight:600;font-size:.74rem}
.al-reward .al-half.got{color:var(--accent-deep)}

/* over the book: the ceremony of a reward, an opened packet */
.al-over{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:14px;background:rgba(8,10,14,.74);animation:al-fade .25s ease both}
.al-cer{position:relative;width:min(340px,100%);max-height:calc(100dvh - 28px);overflow:auto;padding:1rem 1rem 1.1rem;border-radius:20px;background:var(--card);color:var(--ink);text-align:center;box-shadow:0 0 0 1px var(--hair),0 24px 50px -10px rgba(0,0,0,.7);animation:al-rise .35s var(--ease) both}
@keyframes al-rise{from{translate:0 18px;scale:.94;opacity:0}}
.al-cer h3{display:block;margin:.5rem 0 0;font:400 1.5rem/1.1 var(--display);letter-spacing:.02em;text-transform:uppercase;color:var(--ink)}
.al-cer p{margin:.35rem 0 0;font:500 .9rem/1.4 var(--ui);color:var(--ink-soft)}
.al-cer .acts{display:grid;gap:.5rem;margin-top:.9rem}
.al-cerart{position:relative;display:grid;place-items:center;height:116px;isolation:isolate}
.al-cerband{display:grid;place-items:center;width:92px;height:92px;border-radius:50%;background:repeating-linear-gradient(115deg,rgba(255,255,255,.1) 0 8px,transparent 8px 18px),linear-gradient(135deg,var(--c1),var(--c2));box-shadow:inset 0 0 0 3px rgba(255,255,255,.55),0 6px 14px rgba(0,0,0,.35)}
.al-cerband i{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#fbf5ea;font-style:normal;font-size:1.9rem}
.al-cerstamp{position:absolute;left:calc(50% + 14px);top:54px;width:60px;rotate:-10deg;animation:al-land .6s var(--ease) .35s both}
.al-rays{position:absolute;z-index:-1;inset:-30px;border-radius:50%;background:repeating-conic-gradient(rgba(241,207,114,.38) 0 9deg,transparent 9deg 22.5deg);-webkit-mask:radial-gradient(closest-side,#000 30%,transparent 78%);mask:radial-gradient(closest-side,#000 30%,transparent 78%);animation:al-spin 18s linear infinite}
@keyframes al-spin{to{rotate:360deg}}
.al-loot{display:grid;gap:.35rem;margin:.8rem 0 0;padding:0;list-style:none;text-align:left}
.al-loot li{display:flex;align-items:center;gap:.6rem;padding:.42rem .7rem;border-radius:12px;background:var(--sand);font:700 .9rem/1.3 var(--ui);animation:al-loot .5s var(--ease) calc(.75s + var(--i) * .17s) both}
.al-loot i{flex:none;width:1.5em;font-style:normal;font-size:1.25rem;text-align:center}
@keyframes al-loot{from{translate:0 -70px;scale:.3;opacity:0}60%{scale:1.06;opacity:1}}
.al-packbox .al-wrap{margin:0 auto;animation:al-tear .7s var(--ease) both}
@keyframes al-tear{0%{rotate:0deg;scale:1.5}20%{rotate:-9deg}40%{rotate:8deg}60%{rotate:-5deg}100%{rotate:0deg;scale:1}}
.al-packlist{display:flex;justify-content:center;flex-wrap:wrap;gap:.5rem;margin:.8rem 0 0;padding:0;list-style:none}
.al-packlist li{display:grid;justify-items:center;gap:1px;width:118px;padding:.5rem .3rem .55rem;border-radius:14px;background:var(--sand);animation:al-loot .5s var(--ease) calc(.55s + var(--i) * .3s) both}
.al-packart{width:84px}
.al-packart .al-art{filter:drop-shadow(0 3px 4px rgba(0,0,0,.3))}
.al-packlist b{font:800 .82rem/1.2 var(--ui);overflow-wrap:anywhere}
.al-packlist em{margin-top:2px;padding:0 .6em;border-radius:999px;font:800 .68rem/1.7 var(--ui);font-style:normal;background:var(--wash);color:var(--ink-soft)}
.al-packlist li.new em{background:var(--cherry);color:#fff;text-transform:uppercase;letter-spacing:.08em}
.al-over.al-still,.al-over.al-still *{animation:none!important}

/* the way in: the tile of the home screen, the row in the profile */
.al-tile{position:relative}
.al-tile .al-bar.thin{width:100%;margin:5px 0 0;background:rgba(127,127,127,.25);box-shadow:none}
.al-tilepct{margin-left:.3em;font-style:normal;font-weight:700;opacity:.8;font-variant-numeric:tabular-nums}
.al-badge{position:absolute;top:6px;right:7px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--cherry);color:#fff;font:800 .7rem/20px var(--ui);font-style:normal;text-align:center;box-shadow:0 0 0 2px var(--card)}
.al-entry{display:flex;align-items:center;gap:.8rem;width:100%;margin:.6rem 0 0;padding:.6rem .8rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.al-entry>span:nth-child(2){flex:1;min-width:0;display:grid}
.al-entry b{font:800 .98rem/1.25 var(--ui)}
.al-entry small{font:500 .8rem/1.3 var(--ui);color:var(--muted)}
.al-entry>i{flex:none;font-style:normal;font-size:1.4rem;color:var(--muted)}
.al-fan{flex:none;display:flex;align-items:center;min-width:44px}
.al-fan .al-art{width:40px;margin-left:-16px;rotate:var(--tilt,0deg);filter:drop-shadow(0 1px 2px rgba(0,0,0,.3))}
.al-fan .al-art:first-child{margin-left:0}
.al-fan>i{font-style:normal;font-size:1.9rem}
:is(.al-fan,.al-card,.al-nearart,.al-cfavs) :is(.al-foil,.al-twinkle path,.al-holo,.al-huecut),:is(.al-fan,.al-card,.al-cfavs) .al-r4{animation:none}
/* on the public player card: the favourites, how full, the stamps */
.al-card{display:grid;gap:5px;margin:.4rem 0 0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left}
button.al-card{cursor:pointer}
.al-cardfavs{display:flex;gap:2px}
.al-cardfav{display:block;width:54px}
.al-cardfav .al-art{rotate:var(--tilt,0deg);filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.al-cardrow{display:flex;flex-wrap:wrap;align-items:center;gap:3px}
.al-cardn{padding:.12rem .55rem;border-radius:999px;background:var(--wash);font:700 .78rem/1.5 var(--ui);font-variant-numeric:tabular-nums;white-space:nowrap}
.al-sealp{display:block;width:26px}
.fr-album{font-variant-numeric:tabular-nums;white-space:nowrap}
/* a sticker arrived: a card that slides in from above, the sticker pressed onto its place */
.al-drop{position:fixed;left:50%;top:calc(var(--sat) + 62px);z-index:30;display:flex;align-items:center;gap:.7rem;width:max-content;max-width:calc(100vw - 20px);margin:0;padding:.45rem .9rem .45rem .5rem;border:0;border-radius:16px;background:var(--card);color:var(--ink);font:inherit;text-align:left;cursor:pointer;
  box-shadow:0 0 0 1px var(--hair),0 14px 34px -8px rgba(0,0,0,.6);translate:-50% 0;animation:al-drop 4.4s var(--ease) both}
.al-drop.al-high{top:calc(var(--sat) + 6px)}
.al-drop.al-slim{gap:.45rem;padding:.25rem .85rem .25rem .35rem;border-radius:999px}
.al-slim .al-dropart{width:30px}
.al-slim .al-droptx{display:flex;align-items:baseline;gap:.4rem;white-space:nowrap}
.al-slim .al-droptx b{font-size:.92rem;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.al-slim .al-rar{display:none}
.al-dropart{flex:none;position:relative;width:58px;color:var(--muted)}
.al-dropslot{position:absolute;inset:0}
.al-drop .al-dropart>.al-art{position:relative;filter:drop-shadow(0 2px 3px rgba(0,0,0,.3));animation:al-stick .75s var(--ease) .3s both}
.al-droptx{min-width:0;display:grid;gap:1px}
.al-droptx small{font:700 .72rem/1.3 var(--ui);color:var(--muted)}
.al-droptx b{font:800 1rem/1.2 var(--ui);overflow-wrap:anywhere}
.al-drop.al-shiny{box-shadow:0 0 0 2px var(--medal),0 14px 34px -8px rgba(0,0,0,.6)}
@keyframes al-drop{0%{translate:-50% -140%;opacity:0}9%{translate:-50% 0;opacity:1}90%{translate:-50% 0;opacity:1}100%{translate:-50% -30%;opacity:0}}
@keyframes al-stick{0%{translate:0 -34px;scale:1.9;rotate:-20deg;opacity:0}55%{translate:0 0;scale:.9;rotate:4deg;opacity:1}75%{scale:1.05}100%{scale:1;rotate:0deg;opacity:1}}
.al-drop.al-still{animation:al-fadeio 4.4s linear both}
.al-drop.al-still .al-art{animation:none}
@keyframes al-fadeio{0%{opacity:0}6%,92%{opacity:1}100%{opacity:0}}
html.still :is(.al-holo,.al-huecut,.al-r4,.al-wrap::before,.al-stamp.wait,.al-slot.al-paste .al-art,.al-slot.al-paste .al-newtag,.al-bigstamp,.al-over,.al-over *,.al-rays){animation:none!important}
@media (prefers-reduced-motion:reduce){:is(.al-holo,.al-huecut,.al-r4,.al-wrap::before,.al-stamp.wait,.al-slot.al-paste .al-art,.al-slot.al-paste .al-newtag,.al-bigstamp,.al-over,.al-over *,.al-rays){animation:none!important}}

/* ── the looks only the album gives (server/gems.js: the items marked `album`) ── a frame like a postage stamp, a frame of
   foil, the golden seal of a full album; a rubber-stamp name, a foil name; an aura of glitter; a player card like a page */
.ava.sm-fr-stamp::before{inset:-7px;background:conic-gradient(from 205deg,#f8f1e2 0 52deg,#c8102e 52deg 55deg,#f8f1e2 55deg 61deg,#c8102e 61deg 64deg,#f8f1e2 64deg 70deg,#c8102e 70deg 73deg,#f8f1e2 73deg 180deg,#2c5f8a 180deg 183deg,#f8f1e2 183deg 190deg,#2c5f8a 190deg 193deg,#f8f1e2 193deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px),#000 calc(100% - 1.6px),transparent calc(100% - 1.2px));mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px),#000 calc(100% - 1.6px),transparent calc(100% - 1.2px))}
.ava.sm-fr-stamp::after{content:"";position:absolute;inset:-9.5px;border-radius:50%;pointer-events:none;background:repeating-conic-gradient(#f8f1e2 0 7deg,transparent 7deg 12deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4.4px),#000 calc(100% - 4px));mask:radial-gradient(farthest-side,transparent calc(100% - 4.4px),#000 calc(100% - 4px))}
.ava.sm-fr-stamp{filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.55))}
.ava.sm-fr-foil::before{inset:-7.5px;background:conic-gradient(#ff8ad8,#ffe96a,#7ee89a,#6ac8ff,#b99aff,#ff8ad8,#ffe96a,#7ee89a,#6ac8ff,#b99aff,#ff8ad8);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px));animation:gm-spin 9s linear infinite}
.ava.sm-fr-foil::after{content:"";position:absolute;inset:-7.5px;border-radius:50%;pointer-events:none;background:conic-gradient(transparent 0 76%,rgba(255,255,255,.95) 85%,transparent 94%);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px));animation:gm-spin 3.4s linear infinite reverse}
.ava.sm-fr-foil{filter:drop-shadow(0 0 5px rgba(200,170,255,.9)) drop-shadow(0 0 2px rgba(255,160,220,.8))}
.ava.sm-fr-albumgold::before{inset:-7.5px;background:conic-gradient(#b8862a,#f6d77a 7%,#fffbe0 12%,#f6d77a 18%,#c9952e 32%,#8a5e12 50%,#c9952e 64%,#fff3c4 78%,#a87a20 90%,#b8862a);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px),#000 calc(100% - 1.8px),transparent calc(100% - 1.4px));mask:radial-gradient(farthest-side,transparent calc(100% - 5.5px),#000 calc(100% - 5px),#000 calc(100% - 1.8px),transparent calc(100% - 1.4px))}
.ava.sm-fr-albumgold::after{content:"";position:absolute;inset:-10.5px;border-radius:50%;pointer-events:none;background:repeating-conic-gradient(#fff3c4 0 5deg,#d9a43a 5deg 14deg,#8a5e12 14deg 16deg,transparent 16deg 22.5deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4.5px));animation:gm-spin 26s linear infinite}
.ava.sm-fr-albumgold{filter:drop-shadow(0 0 6px rgba(255,205,90,.95)) drop-shadow(0 1px 1px rgba(90,60,0,.6))}
:is(#table,#groot,#dSheet) .ava:is(.sm-fr-stamp,.sm-fr-foil,.sm-fr-albumgold)::after{inset:-6px}
[data-np="stamp"]{--lk-np:repeating-linear-gradient(98deg,#ff6f61 0 3px,#ff4a3a 3px 4px,#ff8f84 4px 7px,#ff5c4d 7px 9px);--lk-npl:repeating-linear-gradient(98deg,#b3261e 0 3px,#8f1810 3px 4px,#c63b31 4px 7px,#a11f17 7px 9px)}
[data-np="foil"]{--lk-np:linear-gradient(115deg,#ff9ad8,#ffe98a 16%,#9ef0b4 32%,#ffffff 44%,#8fd6ff 58%,#c9b0ff 76%,#ff9ad8);--lk-npl:linear-gradient(115deg,#b0267e,#8a5a00 16%,#0f7a3a 32%,#3a3a48 44%,#0b62b0 58%,#5b3cc4 76%,#b0267e);--lk-nps:230% 100%;--lk-npa:lk-np-run 4.2s linear infinite}
[data-au="foil"] .lk-au{background:radial-gradient(closest-side,transparent 66%,rgba(255,255,255,.9) 76%,rgba(190,160,255,.4) 88%,transparent);animation:lk-au-breathe 2.6s ease-in-out infinite}
[data-au="foil"] .lk-au::before{inset:-5%;background:conic-gradient(#ff8ad8,#ffe96a,#7ee89a,#6ac8ff,#b99aff,#ff8ad8);-webkit-mask:radial-gradient(closest-side,transparent 70%,#000 76%,#000 85%,transparent 91%);mask:radial-gradient(closest-side,transparent 70%,#000 76%,#000 85%,transparent 91%);animation:gm-spin 3s linear infinite}
[data-au="foil"] .lk-au::after{inset:-3%;background:radial-gradient(circle at 50% 5%,#fff 0 1.6px,rgba(255,200,240,.95) 2.2px,transparent 5px),radial-gradient(circle at 93% 62%,#fff 0 1.2px,rgba(160,220,255,.9) 1.8px,transparent 4px),radial-gradient(circle at 12% 70%,#fff 0 1.3px,rgba(255,236,150,.9) 1.9px,transparent 4.5px);animation:gm-spin 4.4s linear infinite reverse}
#dSheet th[data-au="foil"]{--lk-auc:190,140,255}
:is(#table,#groot,#dSheet) [data-au="foil"] .ava>.lk-au{inset:max(-21%,-3.5px)}
.lk-bg-album{--muted:#6a5a3c;--hair:rgba(90,70,30,.3);--card:rgba(255,253,244,.72);--wash:rgba(120,90,30,.12);color:#2a2418;background:linear-gradient(90deg,transparent 30px,rgba(200,60,60,.4) 30px 31px,transparent 31px),repeating-linear-gradient(to bottom,transparent 0 23px,rgba(70,110,170,.24) 23px 24px),linear-gradient(#fdf8ea,#f6edd6);box-shadow:inset 0 0 0 1px rgba(90,70,30,.28)}
.lk-bg-album::before{content:"";position:absolute;z-index:-1;inset:5px;background:linear-gradient(135deg,#c9952e 0 13px,transparent 13.5px),linear-gradient(225deg,#c9952e 0 13px,transparent 13.5px),linear-gradient(315deg,#c9952e 0 13px,transparent 13.5px),linear-gradient(45deg,#c9952e 0 13px,transparent 13.5px);opacity:.85}
html.still :is(.ava.sm-fr-foil::before,.ava.sm-fr-foil::after,.ava.sm-fr-albumgold::after,[data-au="foil"] .lk-au,[data-au="foil"] .lk-au::before,[data-au="foil"] .lk-au::after){animation:none!important}

/* ── table ambience ── */
.amb-packs{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:.5rem;margin-top:.6rem}
.amb-pack{display:grid;justify-items:center;gap:2px;min-height:68px;margin:0;padding:.5rem .3rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card);color:var(--ink);font:700 .8rem/1.2 var(--ui);cursor:pointer}
.amb-pack i{font-style:normal;font-size:1.6rem;line-height:1.1}
.amb-pack[aria-pressed="true"]{border-color:var(--accent-dark);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent-dark)}
.amb-pack:focus-visible{outline:2px solid var(--in-focus);outline-offset:2px}
.amb-vol{display:flex;align-items:center;gap:.7rem;margin-top:1rem;font:700 .86rem/1.2 var(--ui);color:var(--ink)}
.amb-vol input{flex:1;min-width:0;height:32px;margin:0;accent-color:var(--accent-dark)}
.amb-vol output{flex:none;min-width:3.2em;text-align:right;font-variant-numeric:tabular-nums;color:var(--muted)}
.sheet .amb-more{margin-top:.9rem}
.amb-scene{display:block;width:54px;height:54px;border-radius:12px}
.lk-big.amb-pic .amb-scene{width:118px;height:118px}
.amb-mock{height:auto;min-height:230px}
.amb-try{display:grid;justify-items:center;gap:.6rem;width:min(100%,17rem)}
.amb-try .amb-scene{width:96px;height:96px;box-shadow:0 8px 20px -6px rgba(0,0,0,.5)}
.amb-try .btn{background:var(--card);color:var(--ink);border-color:transparent;opacity:1}
.amb-try .btn.primary{background:var(--accent);color:var(--on-accent)}
.amb-try .amb-vol{width:100%;margin-top:0;color:var(--ivory)}
.amb-try .amb-vol output{color:var(--mist)}
.amb-eq{display:flex;align-items:flex-end;gap:3px;height:16px}
.amb-eq i{width:4px;height:4px;border-radius:2px;background:var(--mist)}
.amb-try.on .amb-eq i{background:var(--accent-lite);animation:amb-eq .9s ease-in-out infinite}
.amb-try.on .amb-eq i:nth-child(2){animation-delay:-.3s}
.amb-try.on .amb-eq i:nth-child(3){animation-delay:-.55s}
.amb-try.on .amb-eq i:nth-child(4){animation-delay:-.15s}
.amb-try.on .amb-eq i:nth-child(5){animation-delay:-.7s}
@keyframes amb-eq{0%,100%{height:4px}50%{height:16px}}
/* the little scenes live a little, where they are shown large */
.amb-scene *{transform-box:fill-box}
:is(.lk-big,.amb-try) .amb-f1{transform-origin:50% 100%;animation:amb-flame 1.1s ease-in-out infinite alternate}
:is(.lk-big,.amb-try) .amb-f2{transform-origin:50% 100%;animation:amb-flame .8s ease-in-out -.4s infinite alternate}
@keyframes amb-flame{from{transform:scale(1,1) skewX(-2deg)}to{transform:scale(.92,1.12) skewX(3deg)}}
:is(.lk-big,.amb-try) .amb-drops{animation:amb-rain .7s linear infinite}
@keyframes amb-rain{from{transform:translate(1px,-4px);opacity:.9}to{transform:translate(-2px,6px);opacity:.2}}
:is(.lk-big,.amb-try) .amb-stars circle{animation:al-twinkle 2.4s ease-in-out infinite;transform-origin:center}
:is(.lk-big,.amb-try) .amb-stars circle:nth-child(2n){animation-delay:-1.1s}
:is(.lk-big,.amb-try) .amb-steam{animation:amb-steam 2.6s ease-in-out infinite}
@keyframes amb-steam{0%{transform:translateY(3px);opacity:0}40%{opacity:.85}100%{transform:translateY(-5px);opacity:0}}
:is(.lk-big,.amb-try) .amb-w1{animation:amb-wave 3.2s ease-in-out infinite alternate}
:is(.lk-big,.amb-try) .amb-w2{animation:amb-wave 2.6s ease-in-out -1s infinite alternate-reverse}
@keyframes amb-wave{from{transform:translateX(-4px)}to{transform:translateX(4px)}}
:is(.lk-big,.amb-try) :is(.amb-t1,.amb-t2){transform-origin:50% 100%;animation:amb-tree 3.4s ease-in-out infinite alternate}
:is(.lk-big,.amb-try) .amb-t2{animation-delay:-1.3s}
@keyframes amb-tree{from{transform:rotate(-1.6deg)}to{transform:rotate(1.6deg)}}

/* ── what stands by the plates: the nickname, the challenge cup, a raised glass ── */
.rt-layer{position:fixed;inset:0;z-index:14;overflow:hidden;pointer-events:none}
.rt-layer[hidden]{display:none}
.rt-nick{position:absolute;left:0;top:0;max-width:92px;padding:0 .45em;border-radius:999px;background:var(--ivory);color:var(--ink);font:italic 700 .62rem/1.45 var(--ui);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 1px 3px rgba(0,0,0,.45);opacity:.95}
.rt-cup{position:absolute;left:0;top:0;display:block;width:30px;height:30px;pointer-events:none;filter:drop-shadow(0 2px 3px rgba(0,0,0,.55));animation:rt-pop .5s var(--ease) both}
.rt-cup svg{display:block;transform-origin:50% 90%;animation:rt-sway 3.6s ease-in-out infinite alternate}
.rt-cup.rt-landed svg{animation:rt-sway 3.6s ease-in-out 1.2s infinite alternate}
.rt-cup.rt-won{filter:drop-shadow(0 0 6px var(--medal)) drop-shadow(0 2px 3px rgba(0,0,0,.55))}
.rt-cup.rt-in{z-index:3}
.rt-glint{animation:al-twinkle 1.8s ease-in-out infinite}
.rt-glint path{transform-box:fill-box;transform-origin:center}
@keyframes rt-pop{from{scale:0;opacity:0}60%{scale:1.25;opacity:1}to{scale:1}}
@keyframes rt-sway{from{transform:rotate(-5deg)}to{transform:rotate(5deg)}}
.rt-cuppic svg{filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
.rt-raised{position:absolute;left:0;top:0;display:block;width:30px;height:30px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5));animation:rt-raise .45s var(--ease) both}
.rt-raised svg{display:block;transform-origin:50% 100%;animation:rt-sway 1.4s ease-in-out infinite alternate}
@keyframes rt-raise{from{translate:0 14px;scale:.4;opacity:0}70%{translate:0 -4px;scale:1.1;opacity:1}to{translate:0 0;scale:1}}
.rt-steam{animation:amb-steam 2.4s ease-in-out infinite}
.rt-steam path{transform-box:fill-box}
.rt-trylab{top:auto;bottom:6px}

/* ── the toast ── */
.rt-toast{position:fixed;left:50%;top:calc(var(--sat) + 58px);z-index:15;display:grid;justify-items:center;gap:.25rem;width:max-content;max-width:calc(100vw - 16px);padding:.4rem .6rem .6rem;border-radius:18px;background:var(--card);color:var(--ink);box-shadow:0 0 0 1px var(--hair),0 14px 34px -8px rgba(0,0,0,.65);translate:-50% 0;animation:rt-in .3s var(--ease) both;overflow:hidden}
.rt-toast[hidden]{display:none}
@keyframes rt-in{from{translate:-50% -30px;opacity:0}}
.rt-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 .35rem;max-width:100%;font:800 .95rem/1.2 var(--ui)}
.rt-head small{flex-basis:100%;font:600 .74rem/1.3 var(--ui);color:var(--muted);text-align:center}
.rt-head span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rt-head .rt-glass{flex:none}
.rt-drinks{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;max-width:min(100%,340px)}
.rt-d.rt-lock{opacity:.5;cursor:default}
.rt-d.rt-lock small{font-size:.56rem}
.rt-picker{z-index:16}
.rt-picker .rt-head{width:100%;justify-content:space-between}
.rt-x{flex:none;width:30px;height:30px;margin:0;padding:0;border:0;border-radius:50%;background:var(--paper);color:var(--ink);font:700 .9rem/1 var(--ui);cursor:pointer}
.rt-d{display:grid;justify-items:center;gap:0;width:54px;min-height:50px;margin:0;padding:3px 0 2px;border:1px solid var(--hair);border-radius:13px;background:var(--paper);color:var(--ink);cursor:pointer}
.rt-d small{font:700 .62rem/1.2 var(--ui);color:var(--ink-soft)}
.rt-d.rt-main{border-color:var(--accent-dark);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent-dark)}
.rt-d:active{scale:.94}
.rt-d:focus-visible,.rt-start:focus-visible{outline:2px solid var(--in-focus);outline-offset:2px}
.rt-toast.rt-in{padding-bottom:.6rem}
.rt-wait{display:flex;align-items:center;gap:.35rem;font:700 .84rem/1.3 var(--ui);color:var(--ink-soft)}
.rt-wait i{font-style:normal;color:var(--accent-deep)}
.rt-time{position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--sand)}
.rt-time i{display:block;height:100%;background:var(--accent-dark);transform-origin:0 50%;animation:rt-time linear both}
@keyframes rt-time{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.rt-glass{display:block;overflow:visible}
/* the end of a toast: the glasses fly to the middle */
.rt-fin{position:fixed;inset:0;z-index:17;pointer-events:none;overflow:hidden}
.rt-fly{position:absolute;left:0;top:0;display:block;filter:drop-shadow(0 4px 6px rgba(0,0,0,.5));will-change:transform}
.rt-word{position:absolute;translate:-50% -50%;padding:.1rem .8rem;border-radius:999px;background:var(--ivory);color:var(--ink);font:400 1.5rem/1.3 var(--display);letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;box-shadow:0 6px 18px -4px rgba(0,0,0,.6);animation:rt-word 1.9s var(--ease) both}
@keyframes rt-word{0%{scale:.3;opacity:0}14%{scale:1.15;opacity:1}24%{scale:1}82%{opacity:1}100%{opacity:0;translate:-50% -90%}}
.rt-flash{position:absolute;width:10px;height:10px;border-radius:50%;translate:-50% -50%;background:var(--ivory);box-shadow:0 0 22px 12px var(--medal);animation:rt-flash .7s ease-out both}
@keyframes rt-flash{0%{scale:.2;opacity:1}100%{scale:6;opacity:0}}
.rt-bit{position:absolute;font-style:normal;font-size:1rem;line-height:1;color:var(--medal);text-shadow:0 0 6px var(--medal)}
.rt-fin.rt-still .rt-word{animation:al-fadeio 2s linear both}
.rt-fin.rt-still .rt-flash{display:none}
/* where a toast is started: the reaction bar, the quick menu on one's own name */
.reactbar .rt-react{border-top:1px solid var(--rule);margin-top:4px;padding-top:4px}
.reactbar .rt-start{display:flex;align-items:center;gap:.4rem;width:auto;height:46px;padding:0 .9rem 0 .6rem;border-radius:999px;font:700 .95rem/1 var(--ui);color:var(--ink)}
.sq-menu .rt-row{padding:4px 0}
.sq-menu .rt-chip{display:inline-flex;align-items:center;gap:.4rem;min-height:40px;margin:0;padding:.2rem .85rem .2rem .5rem;border:1px solid var(--hair);border-radius:999px;background:var(--paper);color:var(--ink);font:700 .86rem/1.25 var(--ui);white-space:nowrap}
.rt-lobby{margin:.6rem 0 0;font-weight:700;text-align:center}

/* ── nicknames ── */
.rt-aka{display:inline-block;max-width:100%;margin-left:.4em;padding:0 .5em;border-radius:999px;background:var(--accent-soft);color:var(--ink);font:italic 700 .76rem/1.5 var(--ui);vertical-align:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rt-aka::before{content:'„'}
.rt-aka::after{content:'“'}
html[lang="en"] .rt-aka::before{content:'“'}
html[lang="en"] .rt-aka::after{content:'”'}
.fr-who .rt-aka,.fr-invm .rt-aka{justify-self:start;margin:1px 0 1px}
.rt-nfor{font-weight:700}
.rt-nicksheet input{width:100%;margin-top:.7rem}
.rt-cardnick{margin:.2rem 0 0;font:italic 600 .86rem/1.3 var(--ui);color:var(--ink-soft)}
.rt-cardnick .link{font-style:normal}

/* ── standing still ── */
html.still :is(.al-foil,.al-twinkle path,.al-drop .al-art,.amb-scene *,.amb-eq i,.rt-cup,.rt-cup svg,.rt-glint,.rt-raised,.rt-raised svg,.rt-steam,.rt-toast,.rt-time i){animation:none!important}
html.still .al-slot .al-art{transition:none}
/* (with movement off the shell ends every animation at once: what fades out at its end would never be seen, so these simply stand until the script takes them away) */
html.still :is(.al-drop,.rt-word){animation:none!important;opacity:1}
html.still :is(.rt-flash,.rt-bit){display:none}
@media (prefers-reduced-motion:reduce){
  :is(.al-foil,.al-twinkle path,.al-drop .al-art,.amb-scene *,.amb-eq i,.rt-cup,.rt-cup svg,.rt-glint,.rt-raised,.rt-raised svg,.rt-steam,.rt-toast){animation:none!important}
  .al-drop{animation:al-fadeio 4.2s linear both}
  .al-slot .al-art{transition:none}
}
@media (max-width:340px){
  .al-page{padding-left:1.3rem;padding-right:.4rem}
  .al-nm{font-size:.64rem}
  .rt-d{width:50px}
  .rt-toast{padding-left:.5rem;padding-right:.5rem}
}
/* ══ end of personal things ══ */

/* ══ computers as characters (ai-ui.js): a "hmm…", the report of a line the model wrote, the player's two wishes ══ */
.ai-say.ai-think{padding:.3rem .65rem;font-weight:500;opacity:.92;pointer-events:none}
.ai-odd{display:block;margin:.25rem 0 0;padding:.1rem 0;border:0;background:none;color:inherit;font:500 .68rem/1.3 var(--ui);text-decoration:underline;text-underline-offset:2px;opacity:.6;cursor:pointer;min-height:1.5rem}
.ai-odd:disabled{opacity:.3}
.ai-endsay .ai-odd{display:inline;margin:0 0 0 .5em}
.ai-set{margin-top:1.1rem;padding:.7rem .8rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card)}
.ai-set h4{margin:0 0 .5rem;font:700 .8rem/1.2 var(--ui);letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.sheet .ai-set label{display:flex;align-items:center;gap:.6rem;margin:0;font:700 .95rem/1.3 var(--ui);letter-spacing:0;text-transform:none;color:var(--ink);cursor:pointer}
.ai-set input{flex:none;width:22px;height:22px;margin:0;accent-color:var(--accent-deep)}
.ai-set small{display:block;margin:.4rem 0 .7rem;font-size:.8rem;line-height:1.4;color:var(--muted)}
.ai-set small:last-child{margin-bottom:0}
.sheet .ai-set label.ai-set-row{justify-content:space-between}
.ai-set select{min-height:2.4rem;max-width:58%;padding:.2rem .5rem;border:1px solid var(--hair);border-radius:.6rem;background:transparent;color:var(--ink);font:500 .9rem/1.2 var(--ui)}
/* ══ end of computers as characters ══ */

/* ── Blokobitva (bloky): its part of the lobby (who with whom, my figure) and of the result sheet ── */
.blk-lobby{margin:0 0 1.1rem;text-align:left;color:var(--fg)}
.blk-q{margin:0 0 .4rem;font-weight:700}
.blk-modes{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:0 0 .7rem}
.blk-now{font-size:.86rem;opacity:.8}
.blk-teams{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:0 0 .7rem}
.blk-team{list-style:none;margin:0 0 .7rem;padding:.4rem;display:grid;gap:.3rem;border:2px solid var(--c,var(--edge));border-radius:12px}
.blk-teams .blk-team{margin:0}
.blk-team li{display:flex;align-items:center;gap:.4rem;min-height:40px;min-width:0}
.blk-team li b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}
.blk-team li img{width:26px;height:34px;flex:0 0 auto}
.blk-team .blk-th{min-height:0;font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--ink)}
.blk-team .blk-th::before{content:"";display:inline-block;width:.7em;height:.7em;margin-right:.4em;border-radius:50%;background:var(--c);vertical-align:-.02em}
.blk-me{display:flex;align-items:center;gap:.8rem;padding:.5rem;border:1px solid var(--edge);border-radius:12px}
.blk-me>img{width:84px;height:109px;flex:0 0 auto}
.blk-ed{flex:1;display:grid;gap:.3rem;min-width:0}
.blk-lr{display:flex;align-items:center;gap:.4rem}
.blk-lr span{flex:1;text-align:center;font-size:.86rem}
.blk-lr .btn{min-width:44px}
.bloky-sum{margin:0 0 .6rem}
.bloky-dancers{display:flex;justify-content:center;gap:.6rem;min-height:70px}
.bloky-dance{width:54px;height:70px;animation:blk-dance .5s ease-in-out infinite alternate}
@keyframes blk-dance{from{transform:translateY(0) rotate(-8deg)}to{transform:translateY(-12px) rotate(8deg)}}
@media (prefers-reduced-motion:reduce){.bloky-dance{animation:none}}
.bloky-tab{width:100%;border-collapse:collapse;font-size:.86rem;margin:.3rem 0}
.bloky-tab th,.bloky-tab td{padding:.25em .3em;text-align:right}
.bloky-tab td:first-child{text-align:left}
.bloky-dot{display:inline-block;width:.7em;height:.7em;border-radius:50%;margin-right:.4em}

/* ── the computers as characters (chars-ui.js): the card of a computer, the host's switches ── */
.sq-menu .sq-who{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--hair);font:700 .95rem/1 Georgia,serif;font-style:italic;color:var(--muted);background:transparent}
.sq-menu .sq-who:active{transform:scale(.94)}
.ch-head{display:flex;align-items:center;gap:.8rem;margin-bottom:.6rem}
.ch-head h2{margin:0}
.ch-head>div{min-width:0}
.ch-kind{margin:.15rem 0 0;font:700 .78rem/1.3 var(--ui);letter-spacing:.03em;color:var(--muted)}
.ch-bio{margin:.2rem 0 .8rem;font:500 1rem/1.45 var(--ui);color:var(--ink)}
.ch-rows{margin:0 0 .8rem;display:grid;gap:.35rem}
.ch-rows>div{display:grid;grid-template-columns:minmax(6.2rem,34%) 1fr;gap:.6rem;align-items:baseline}
.ch-rows dt{font:700 .72rem/1.3 var(--ui);letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.ch-rows dd{margin:0;font:600 .92rem/1.35 var(--ui);color:var(--ink);overflow-wrap:anywhere}
.ch-you,.ch-last{margin:0 0 .7rem;padding:.6rem .75rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card)}
.ch-you span,.ch-last span{display:block;font:700 .72rem/1.3 var(--ui);letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.ch-you p{margin:.2rem 0 0;font:600 .95rem/1.4 var(--ui);color:var(--ink)}
.ch-last q{display:block;margin:.2rem 0 .1rem;font:600 .95rem/1.4 var(--ui);color:var(--ink);quotes:'„' '“'}
.ch-last .ai-odd{pointer-events:auto;margin-top:.3rem}
.ch-honest{margin:0 0 .9rem;font-size:.8rem;line-height:1.4;color:var(--muted)}
/* a parody of a real public figure: the note that nobody ever said this; and the mark a hand-written character has instead of its initial */
.ch-parody{margin:-.3rem 0 .8rem;padding:.45rem .6rem;border-left:3px solid var(--accent,#c9a227);background:rgba(127,127,127,.12);border-radius:.3rem;font-size:.85rem;line-height:1.4;color:var(--ink)}
.ava .ava-mark{font-size:1.05em;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
.ai-set .ai-set-kid{margin:.2rem 0 0;font-weight:700;color:var(--ink)}
.blk-kits{margin:.7rem 0 0;padding:.5rem;border:1px solid var(--edge);border-radius:12px}
.blk-kits>div{display:flex;flex-wrap:wrap;gap:.35rem;margin:.35rem 0}
.blk-kits .btn[aria-pressed=true]{background:var(--fg);color:var(--on-fg)}
.blk-kits .vdesc{margin:0}
.blk-armb{margin:0 0 .7rem}
.blk-cats{display:flex;gap:.3rem;margin:.4rem 0}
.blk-cats button{flex:1;min-height:44px;border:1.5px solid var(--edge);border-radius:12px;background:transparent;font-size:1.2rem;cursor:pointer}
.blk-cats button[aria-pressed=true]{background:var(--fg);border-color:var(--fg)}
.blk-catn{margin:.2rem 0 .4rem;font-size:.76rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;opacity:.7}
.blk-cards{list-style:none;margin:0 0 .8rem;padding:0;display:grid;gap:.45rem;text-align:left}
.blk-card{display:flex;gap:.7rem;padding:.55rem;border:1px solid var(--edge);border-radius:12px}
.blk-card.locked{opacity:.92;border-style:dashed}
.blk-card>i{font-style:normal;font-size:2rem;line-height:1}
.blk-card.locked>i{filter:grayscale(.8)}
.blk-card>div{flex:1;min-width:0}
.blk-card p{margin:.1rem 0 .3rem;font-size:.84rem;line-height:1.3}
.blk-sts{display:grid;grid-template-columns:1fr 1fr;gap:2px 10px;margin:0 0 .35rem}
.blk-st{display:flex;align-items:center;gap:5px;font-size:.68rem}
.blk-st em{font-style:normal;min-width:3.2em;opacity:.7}
.blk-st i{flex:1;height:6px;border-radius:3px;background:var(--edge);overflow:hidden}
.blk-st b{display:block;height:100%;background:linear-gradient(90deg,#35c46a,#ffb52e,#ff5a4d)}
.blk-how{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}
.blk-tag{font-size:.76rem;font-weight:700}
.blk-tag.ok{color:#2e9b57}
.blk-tag.rare{color:#b8860b}
.ch-invite{margin:.2rem 0 .7rem}
.ch-pick{list-style:none;margin:0 0 .9rem;padding:0;display:grid;gap:.45rem}
.ch-pick li{display:flex;align-items:center;gap:.7rem;padding:.55rem .7rem;border:1px solid var(--hair);border-radius:var(--radius);background:var(--card)}
.ch-pick li>div{flex:1;min-width:0}
.ch-pick b{font:700 1rem/1.25 var(--ui);color:var(--ink)}
.ch-pick small{display:block;margin-top:.15rem;font-size:.8rem;line-height:1.35;color:var(--muted)}
.ch-pick .btn{flex:none}

/* Blokobitva, the third pass: the armory's progress, a kit of one's own, what opened, the practice range */
.bloky-sum .vdesc,.blk-arm .vdesc{color:var(--fg2)}
.blk-top{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 .7rem}
.blk-top .blk-armb{margin:0}
.blk-pb{display:block;flex:1;min-width:64px;height:8px;border-radius:4px;background:var(--edge);overflow:hidden}
.blk-pb i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#35c46a,#9ad14b)}
.blk-next{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.5rem 0;padding:.5rem .6rem;border:1px solid var(--edge);border-radius:12px;font-size:.86rem;font-weight:700;text-align:left}
.blk-next small{font-weight:600;opacity:.75}
.blk-prog{display:grid;gap:3px;flex:1 1 100%}
.blk-prog small{font-size:.74rem;opacity:.8}
.blk-tag.new{color:#d4572a}
.blk-how .btn{margin-left:auto}
.blk-how .btn+.btn{margin-left:0}
.blk-mine{display:flex;flex-wrap:wrap;gap:.35rem;min-height:1.9rem;margin:.3rem 0;font-size:1.15rem;text-align:left}
.blk-krs{list-style:none;margin:0 0 .8rem;padding:0;display:grid;gap:.3rem;text-align:left}
.blk-kr{display:flex;align-items:center;gap:.5rem;padding:.35rem .5rem;border:1px solid var(--edge);border-radius:12px}
.blk-kr.on{border-color:var(--fg)}
.blk-kr.locked{opacity:.55}
.blk-kr>i{font-style:normal;font-size:1.6rem;line-height:1}
.blk-kr>span{flex:1;min-width:0;display:grid}
.blk-kr b{font-size:.9rem}
.blk-kr small{font-size:.76rem;opacity:.8}
.blk-kr em{font-style:normal;font-weight:800;min-width:1.4em;text-align:center}
.blk-kr .btn{min-width:44px;min-height:40px;padding:0}
.blk-unlock{position:fixed;inset:0;z-index:62;display:grid;place-items:center;background:rgba(10,14,28,.6);cursor:pointer;animation:blk-fade .25s both}
.blk-unlock>div{max-width:min(92vw,420px);padding:1.2rem 1.4rem;border-radius:24px;background:#fff8e6;color:#17170f;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.45);animation:blk-pop .45s cubic-bezier(.2,1.4,.4,1) both}
.blk-unlock small{font-size:.86rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#a66a00}
.blk-unlock p{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;margin:.8rem 0}
.blk-unlock span{display:grid;justify-items:center;gap:.1rem;min-width:84px}
.blk-unlock i{font-style:normal;font-size:2.6rem;line-height:1.1}
.blk-unlock b{font-size:.86rem}
.blk-unlock em{font-style:normal;font-size:.84rem;opacity:.75}
@keyframes blk-fade{from{opacity:0}}
@keyframes blk-pop{from{transform:scale(.6);opacity:0}}
.blk-range{position:fixed;inset:0;z-index:18;display:flex;flex-direction:column;background:#123}
.blk-rg-bar{flex:0 0 auto;display:flex;align-items:center;gap:.4rem;padding:6px 8px;padding-top:max(6px,env(safe-area-inset-top));background:#17223a;color:#fff;font-size:.9rem}
.blk-rg-bar b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.blk-rg-bar button{min-width:40px;height:38px;padding:0 10px;border-radius:10px;border:2px solid rgba(255,255,255,.4);background:transparent;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.blk-rg-w{display:flex;align-items:center;gap:3px}
.blk-rg-w em{font-style:normal}
.blk-rg-game{position:relative;flex:1;min-height:0}
/* the map builder (public/games/bloky.js: openEditor) — the range in another mode */
.blk-editor .blk-rg-bar{gap:.3rem;padding-left:6px;padding-right:6px}
.blk-ed-bar b{flex:0 0 auto}
.blk-ed-name{flex:1;min-width:60px;height:36px;padding:0 8px;border-radius:10px;border:2px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;font:inherit;font-weight:700}
.blk-ed-bar button{min-width:36px;padding:0 7px}
.blk-ed-bar button[disabled]{opacity:.35}
.blk-ed-bar button[aria-pressed="true"],.blk-ed-panel button[aria-pressed="true"]{background:#fff;color:#17223a}
.blk-ed-bar .blk-ed-go,.blk-ed-sheet .blk-ed-go{border-color:#ffe14a;background:#ffe14a;color:#17223a}
.blk-ed-panel{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;gap:6px;padding:6px 6px max(6px,env(safe-area-inset-bottom));pointer-events:none}
.blk-ed-panel>*{pointer-events:auto}
.blk-editing .bloky-top,.blk-editing .bloky-ctl,.blk-editing .bloky-strip,.blk-editing .bloky-extra,.blk-editing .bloky-tut,.blk-editing .bloky-keys,.blk-editing .bloky-find,.blk-editing .bloky-fz,.blk-editing .bloky-replay,.blk-editing .bloky-ars{display:none!important}
.blk-editing .bloky-mini{top:6px}
.blk-ed-tools{display:flex;flex-direction:column;gap:5px;padding:6px;border-radius:14px;background:rgba(18,26,44,.9);box-shadow:0 3px 0 rgba(0,0,0,.4)}
.blk-ed-row{display:flex;gap:4px;align-items:center;overflow-x:auto;scrollbar-width:none}
.blk-ed-row::-webkit-scrollbar{display:none}
.blk-ed-row .sep{flex:0 0 6px}
.blk-ed-row button{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:46px;height:50px;padding:2px 5px;border-radius:10px;border:2px solid rgba(255,255,255,.3);background:transparent;color:#fff;font-size:1.1rem;font-weight:700;cursor:pointer}
.blk-ed-row button em{font:700 .62rem/1 var(--ui,system-ui);font-style:normal;opacity:.85;white-space:nowrap}
.blk-ed-row button[aria-pressed="true"]{border-color:#ffe14a;background:rgba(255,225,74,.18);color:#fff}
.blk-ed-row button[disabled]{opacity:.3}
.blk-ed-mats i{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:5px;border:2px solid rgba(255,255,255,.7);font:800 .62rem/1 system-ui;font-style:normal;color:#fff;text-shadow:0 1px 2px #000}
.blk-ed-row .sz i{display:block;border-radius:3px;background:#fff}
.blk-ed-sheet{max-height:55vh;overflow:auto;padding:10px;border-radius:14px;background:rgba(18,26,44,.95);color:#fff;box-shadow:0 3px 0 rgba(0,0,0,.4)}
.blk-ed-sheet ul{list-style:none;margin:.5rem 0;padding:0;display:flex;flex-direction:column;gap:5px}
.blk-ed-sheet li{display:flex;gap:5px}
.blk-ed-sheet button{min-height:40px;padding:0 10px;border-radius:10px;border:2px solid rgba(255,255,255,.35);background:transparent;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.blk-ed-sheet li button:first-child{flex:1;display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:left}
.blk-ed-sheet li small{opacity:.65;font-weight:600}
.blk-ed-sheet button.sure{border-color:#ff5a4d;background:#ff5a4d}
.blk-ed-line{display:flex;align-items:center;gap:6px;margin:.35rem 0;flex-wrap:wrap}
.blk-ed-line span{flex:1;min-width:90px}
.blk-ed-line b{min-width:70px;text-align:center}
.blk-ed-sheet .vdesc{color:rgba(255,255,255,.75);font-size:.82rem}
.blk-ed-fam{display:block;margin-top:.8rem}
.blk-ed-sheet li button[data-bloky-ed="share"]{min-width:44px}
.blk-ed-sheet li button[aria-pressed="true"]{background:#ffe14a;color:#17223a;border-color:#ffe14a}
/* the builder in sight: a big card at the top of Blokobitva's lobby */
.blk-build-card{display:flex;align-items:center;gap:.7rem;width:100%;margin:0 0 .8rem;padding:.75rem .9rem;border-radius:16px;border:2px solid #ffe14a;background:linear-gradient(135deg,#5dab35,#2f6d1f);color:#fff;text-align:left;font:inherit;cursor:pointer;box-shadow:0 4px 0 rgba(0,0,0,.35)}
.blk-build-card i{font-style:normal;font-size:2rem}
.blk-build-card b{display:block;font-size:1.05rem}
.blk-build-card small{display:block;opacity:.9;font-size:.82rem;line-height:1.3}
.blk-ed-tpl{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin:.6rem 0}
.blk-ed-tpl button{display:flex;align-items:center;gap:8px;justify-content:flex-start;min-height:46px}
.blk-ed-tpl i{font-style:normal;font-size:1.3rem}
/* the lobby: which map the table plays */
.blk-map{margin:0 0 .8rem}
.blk-map-list{display:flex;gap:.4rem;overflow-x:auto;margin-top:.4rem;padding-bottom:2px}
.blk-map-list .btn{flex:0 0 auto}
.blk-map-list .btn[aria-pressed="true"]{outline:2px solid currentColor}
/* shooting far: nudging a held aim */
.bloky-nudge button{min-width:40px}
@media (prefers-reduced-motion:reduce){.blk-unlock,.blk-unlock>div{animation:none}}

/* ── sound and vibration (audio.js): the sheet with the sliders and the small diagnostic ── */
.au-sheet .au-vol{margin-top:.55rem}
.au-sheet .au-vol span{flex:0 0 6.6em;min-width:0}
.au-sheet .au-list{margin-top:.5rem}
.au-sheet .au-list button{text-align:left}
.au-sheet h3{margin:1.1rem 0 .3rem}
.au-sheet .au-note{margin:.45rem 0 0;font-size:.84rem;line-height:1.35}
.au-diag{display:grid;grid-template-columns:auto 1fr;gap:.2rem .8rem;margin:.3rem 0 0;font:500 .86rem/1.3 var(--ui)}
.au-diag dt{color:var(--muted)}
.au-diag dd{margin:0;font-weight:700;color:var(--ink);overflow-wrap:anywhere}
.au-diag[data-state="running"] dd:first-of-type::before{content:"✓ "}
.au-sheet .au-test{min-height:52px;font-size:1.05rem}
.au-prof{margin-top:.6rem}
@media (max-width:360px){.au-sheet .au-vol{flex-wrap:wrap;gap:0 .7rem;margin-top:.7rem}.au-sheet .au-vol span{flex:0 0 100%}}
.au-sheet .au-vol input{height:44px}

/* ── cards that pop up: a request to be friends, an invitation to a table (friends-ui.js) ── */
.fr-card.fr-pop{z-index:64}
.fr-invm .fr-leave{color:var(--ink);font-weight:700}
.fr-invm .fr-rq{color:var(--accent-deep);font-weight:800}
.fr-cd{font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}
.fr-invb > .btn:only-child{grid-column:1/-1}
.fr-quiet{grid-column:1/-1;justify-self:center;min-height:36px;padding:.2rem .9rem;border:0;background:none;color:var(--ink-soft);font:inherit;font-size:.82rem;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.fr-card.fr-req{border-color:var(--accent)}
.fr-card.fr-req .fr-invb{grid-template-columns:1fr 1fr auto;align-items:center}
.fr-card.fr-req .fr-quiet{grid-column:auto;padding:.2rem .35rem;font-size:.78rem}
.fr-card.fr-req .fr-ava{font-size:1.25rem}

/* ── rewards for collecting, the levels that never end (prizes-ui.js; the tags are the shell's and the album's) ── */
.pz-tag,.al-prize{display:inline-block;padding:.05em .55em;border-radius:999px;background:var(--accent-soft);color:var(--ink);font-style:normal;font-weight:800;font-size:.82em;white-space:nowrap}
.al-droptx .al-prize{justify-self:start;margin-top:.15rem;font-size:.74rem}
.al-slim .al-prize{display:none}
.pz-prestige{font-style:normal;font-weight:800;color:var(--accent-deep);letter-spacing:.02em;white-space:nowrap}
.levelup strong.pz-prestige{font:800 1.05rem/1.2 inherit;letter-spacing:.12em;margin-bottom:0}
.levelup span.pz-won{color:var(--ink);font-weight:800}
.pz-next{display:grid;gap:.25rem;margin-top:.35rem;padding-top:.45rem;border-top:1px dashed var(--hair);text-align:left}
.pz-next .pz-h{font-size:.68rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.pz-next ol{display:grid;gap:.22rem;margin:0;padding:0;list-style:none}
.pz-next li{display:grid;grid-template-columns:2.3rem 1fr;gap:.55rem;align-items:center;font-size:.84rem;line-height:1.3;color:var(--ink-soft)}
.pz-next li i{display:grid;place-items:center;min-height:1.55rem;border-radius:8px;background:var(--sand);color:var(--ink);font-style:normal;font-weight:800;font-size:.8rem;font-variant-numeric:tabular-nums}
.pz-next li.pz-first{color:var(--ink);font-weight:700}
.pz-next li.pz-first i{background:var(--accent);color:var(--on-accent)}
.pz-next .pz-end{color:var(--muted);font-weight:600;font-size:.76rem}
.level + .pz-next{margin:.1rem 0 .8rem;padding:.6rem .8rem;border:1px solid var(--hair);border-radius:var(--radius)}
.al-dustx{display:grid;gap:.4rem;justify-items:start;margin:.2rem 0 .8rem}
.al-dustx small{color:var(--ink-soft)}
.al-dustx.al-dustdone small{color:var(--ink);font-weight:700}

/* ── the first-visit guide (guide-ui.js) ── */
.gd{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:max(10px,var(--sat)) max(10px,var(--sar)) max(10px,var(--sab)) max(10px,var(--sal));background:color-mix(in srgb,var(--ink) 72%,transparent);animation:gd-fade .25s both}
.gd-box{display:flex;flex-direction:column;width:min(100%,430px);height:min(100%,590px);border-radius:24px;background:var(--card);color:var(--ink);box-shadow:var(--shadow-lg);overflow:hidden;animation:gd-rise .4s var(--ease) both}
.gd-top{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.45rem .5rem 0 1.15rem}
.gd-dots{display:flex;align-items:center;gap:6px}
.gd-dots i{width:8px;height:8px;border-radius:999px;background:var(--hair);transition:width .3s var(--ease),background-color .3s}
.gd-dots i.was{background:var(--accent-dark)}
.gd-dots i.on{width:24px;background:var(--accent)}
.gd-skip{min-height:44px;padding:0 .75rem;border:0;background:none;color:var(--ink-soft);font:inherit;font-size:.9rem;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.gd-art{flex:1 1 0;min-height:84px;margin:.15rem .9rem 0;border-radius:18px;background:var(--accent-soft);display:grid;place-items:center;overflow:hidden}
.gd-art svg{display:block;width:100%;height:100%}
.gd-body{flex:0 0 auto;padding:.75rem 1.2rem .2rem;text-align:center}
.gd-body h2{margin:0 0 .4rem;font:400 1.6rem/1.1 var(--display);letter-spacing:.01em;text-transform:uppercase;overflow-wrap:break-word}
.gd-body p{margin:0 0 .35rem;font-size:1rem;line-height:1.4;text-wrap:pretty}
.gd-body .gd-sub{color:var(--ink-soft);font-size:.9rem}
.gd-body .gd-how{padding:.5rem .7rem;border-radius:12px;background:var(--sand);font-weight:700;font-size:.92rem}
.gd-body .gd-note{color:var(--accent-deep);font-weight:800}
.gd-body .gd-ok{display:grid;place-items:center;width:2.2rem;height:2.2rem;margin:.3rem auto 0;border-radius:50%;background:var(--accent);color:var(--on-accent);font-weight:900;font-size:1.2rem}
.gd-list{display:grid;gap:.4rem;margin:0 0 .5rem;padding:0;list-style:none;text-align:left}
.gd-list li{display:grid;grid-template-columns:2rem 1fr;gap:.5rem;align-items:center;font-size:.97rem;line-height:1.3}
.gd-list i{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--sand);font-style:normal;font-size:1.05rem}
.gd-acts{display:grid;margin-top:.55rem}
.gd-nav{flex:0 0 auto;display:grid;grid-template-columns:1fr 1.7fr;gap:.6rem;padding:.65rem 1rem 1rem}
.gd-box .btn{color:var(--ink);background:none;border-color:var(--hair)}
.gd-box .btn.primary{background:var(--accent);color:var(--on-accent);border-color:transparent}
.gd-box .btn:focus-visible,.gd-skip:focus-visible{outline:3px solid var(--accent-deep);outline-offset:2px}
.gd-art .g-body{fill:var(--ink)}
.gd-art .g-screen,.gd-art .g-compass{fill:var(--card)}
.gd-art .g-bar{fill:var(--sand)}
.gd-art .g-menu{fill:var(--card);stroke:var(--hair);stroke-width:1}
.gd-art .g-dim{fill:var(--hair)}
.gd-art .g-dim2{fill:var(--ink-soft)}
.gd-art .g-acc{fill:var(--accent)}
.gd-art .g-hl{fill:var(--accent-soft);stroke:var(--accent);stroke-width:1.2}
.gd-art .g-on,.gd-art .g-skin{fill:var(--card)}
.gd-art .g-dots{fill:var(--ink)}
.gd-art .g-pill{fill:var(--card);stroke:var(--hair);stroke-width:1.2}
.gd-art .g-felt{fill:var(--plum-1)}
.gd-art .g-stroke{fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.gd-art .g-arrow{stroke:var(--accent-deep);stroke-width:2.6}
.gd-art .g-plus{stroke:var(--accent-deep);stroke-width:4}
.gd-art .g-wave{stroke:var(--accent-deep);stroke-width:3}
.gd-art .g-ring{fill:none;stroke:var(--cherry);stroke-width:2.4;transform-box:fill-box;transform-origin:center;animation:gd-pulse 1.6s ease-in-out infinite}
.gd-art .g-tx{font-size:8.5px;font-weight:700;fill:var(--ink-soft)}
.gd-art .g-tx.g-big{font-size:11px;font-weight:800;fill:var(--ink)}
.gd-art .g-tx.g-mid{text-anchor:middle}
.gd-art .g-tx.g-ontx{fill:var(--on-accent);font-weight:800}
.gd-art .g-needle{fill:var(--cherry)}
.gd-art .g-needle2{fill:var(--ink-soft)}
.gd-art .g-chip{fill:var(--cherry)}
.gd-art .g-chipin{fill:var(--card);opacity:.92}
.gd-art .g-chipd{fill:var(--card)}
.gd-art .g-gem{fill:var(--gm-gem,var(--accent-dark))}
.gd-art .g-gem2{fill:none;stroke:var(--card);stroke-width:1.6;stroke-linejoin:round;opacity:.85}
.gd-art .g-star{fill:var(--medal)}
.gd-art .g-drop{animation:gd-drop .7s var(--ease) both .25s}
.gd-art .g-fill{animation:gd-grow 1.1s var(--ease) both .3s;transform-box:fill-box;transform-origin:left center}
@keyframes gd-fade{from{opacity:0}}
@keyframes gd-rise{from{transform:translateY(18px);opacity:0}}
@keyframes gd-pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.18);opacity:.55}}
@keyframes gd-drop{from{transform:translateY(-14px);opacity:0}}
@keyframes gd-grow{from{transform:scaleX(.15)}}
.gd-still,.gd-still .gd-box,.gd-still .gd-art *{animation:none!important}
@media (prefers-reduced-motion:reduce){.gd,.gd-box,.gd-art *{animation:none!important}.gd-dots i{transition:none}}
@media (max-height:600px){
  .gd-body{padding:.5rem .95rem .1rem}
  .gd-body h2{font-size:1.3rem;margin-bottom:.25rem}
  .gd-body p,.gd-list li{font-size:.9rem;line-height:1.32}
  .gd-body .gd-sub,.gd-body .gd-how{font-size:.82rem}
  .gd-list{gap:.25rem;margin-bottom:.3rem}
  .gd-list i{width:1.7rem;height:1.7rem;font-size:.92rem}
  .gd-list li{grid-template-columns:1.7rem 1fr}
  .gd-nav{padding:.45rem .8rem .7rem}
  .gd-box .btn{min-height:46px}
  .gd-art{margin:.1rem .7rem 0;min-height:84px}
  .gd-acts{margin-top:.35rem}
}
@media (max-width:340px){.gd-box{border-radius:18px}.gd-body{padding-left:.8rem;padding-right:.8rem}}

/* a new level: what it brought are presents that open one after another */
.levelup .lu-gifts{list-style:none;margin:.5rem 0 0;padding:0;display:grid;gap:.45rem;width:100%;max-width:19rem;max-height:46vh;overflow:auto}
.levelup .lu-gift{display:flex;align-items:center;gap:.6rem;padding:.5rem .7rem;border-radius:14px;background:rgba(0,0,0,.06);text-align:left;opacity:0;transform:translateY(14px) scale(.9);animation:lu-in .4s cubic-bezier(.2,1.4,.4,1) both;animation-delay:calc(.35s + var(--i)*.12s)}
.levelup .lu-gift i{flex:none;font-style:normal;font-size:1.7rem;line-height:1;animation:lu-shake 1s ease-in-out infinite;animation-delay:calc(var(--i)*.15s)}
.levelup .lu-gift span{font-size:.95rem;font-weight:700;color:var(--ink);filter:blur(7px);opacity:.25;transition:filter .35s,opacity .35s}
.levelup .lu-gift.open{background:rgba(255,200,60,.28);box-shadow:0 0 0 2px rgba(255,190,40,.55),0 0 18px rgba(255,190,40,.45)}
.levelup .lu-gift.open i{animation:lu-pop .5s cubic-bezier(.2,1.6,.4,1) both}
.levelup .lu-gift.open span{filter:none;opacity:1}
.levelup .lu-tap{margin-top:.6rem;font-style:normal;font-size:.78rem;font-weight:600;color:var(--ink-soft)}
@keyframes lu-in{to{opacity:1;transform:none}}
@keyframes lu-shake{0%,60%,100%{transform:rotate(0)}70%{transform:rotate(-12deg)}80%{transform:rotate(10deg)}90%{transform:rotate(-6deg)}}
@keyframes lu-pop{0%{transform:scale(1)}45%{transform:scale(1.55) rotate(-8deg)}100%{transform:scale(1.1)}}
@media (prefers-reduced-motion:reduce){.levelup .lu-gift,.levelup .lu-gift i{animation:none;opacity:1;transform:none}.levelup .lu-gift span{filter:none;opacity:1;transition:none}}

/* ── Herna on the home screen (install-ui.js): the entry, the offer after a game, the coach ── */
.ins-ico{flex:none;width:1.35em;height:1.35em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ins-ico .f{fill:currentColor;stroke:none}
#insHome{margin:1.1rem 0 0}
#insOffer:empty{display:none}
#insOffer{margin:0 0 .7rem}
.perk.ins-entry{width:100%;font:inherit;cursor:pointer}
.ins-entry > i{display:grid;place-items:center;width:40px;font-size:1.35rem;font-weight:900;color:inherit}
.ins-entry > i .ins-ico{width:30px;height:30px}
.ins-entry > span{min-width:0;flex:1 1 auto}
.ins-entry > em{margin-left:auto;font-style:normal;font-size:1.5rem;line-height:1;color:inherit}
.ins-entry.ins-is{cursor:default;flex-wrap:wrap}
.ins-entry .btn.small,.ins-offer .btn.small{min-height:40px;padding:.3em .95em;font-size:.7rem;letter-spacing:.04em;color:var(--ink);background:none;border-color:var(--hair);white-space:nowrap}
.ins-entry .btn.small{color:inherit;border-color:currentColor} /* (a perk is paper in one skin and dark glass in the other: the row's own ink) */
.ins-offer .btn.small.primary{background:var(--accent);color:var(--on-accent);border-color:transparent}
.ins-offer{display:grid;grid-template-columns:auto 1fr;gap:.35rem .7rem;align-items:center;padding:.7rem .8rem;border:1.5px solid var(--accent);border-radius:var(--radius);background:var(--card);color:var(--ink);text-align:left;animation:ins-rise .35s var(--ease) both}
.ins-offer.ins-inline{margin:.9rem 0 0}
.ins-offer > i{display:grid;place-items:center;width:40px;color:var(--accent-deep)}
.ins-offer > i .ins-ico{width:30px;height:30px}
.ins-offer b{display:block;font-size:.98rem;font-weight:800;line-height:1.2}
.ins-offer small{display:block;font-size:.84rem;line-height:1.3;color:var(--ink-soft)}
.ins-offer-acts{grid-column:1/-1;display:grid;grid-template-columns:1.4fr 1fr;gap:.5rem}
.ins-mrow{display:inline-flex;align-items:center;gap:.55rem;color:var(--ink)!important;font-weight:600!important}
.ins-mrow > span{color:inherit!important;font-weight:inherit!important}
.ins-pf .btn{gap:.55em}
.sheet .quiet.ins-pfok{margin:1.2rem 0 0;text-align:center;font-weight:700}
.ins-xflink{margin-top:.9rem;text-align:center}
.sheet .ins-xflink .link{color:var(--ink)}
.ins-codein{text-align:center;font-size:1.5rem!important;font-weight:800;letter-spacing:.18em;text-transform:uppercase}

.ins{position:fixed;inset:0;z-index:95;display:grid;grid-template-rows:minmax(0,1fr);padding:max(10px,var(--sat)) max(10px,var(--sar)) max(10px,var(--sab)) max(10px,var(--sal));background:color-mix(in srgb,var(--ink) 88%,transparent);animation:gd-fade .25s both}
.ins[data-edge="bottom"]{grid-template-rows:minmax(0,1fr) auto}
.ins[data-edge="top"]{grid-template-rows:auto minmax(0,1fr)}
.ins-card{align-self:center;justify-self:center;display:flex;flex-direction:column;width:min(100%,410px);max-height:100%;overflow:auto;padding:.35rem .85rem .85rem;border-radius:22px;background:var(--card);color:var(--ink);box-shadow:var(--shadow-lg);animation:ins-rise .4s var(--ease) both}
.ins[data-edge="bottom"] .ins-card{align-self:start}
.ins[data-edge="top"] .ins-card{grid-row:2;align-self:start;margin-top:.4rem}
.ins-top{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.ins-top h2{margin:0;font:400 1.4rem/1.1 var(--display);letter-spacing:.01em;text-transform:uppercase;overflow-wrap:anywhere}
.ins-x{flex:none;width:44px;height:44px;margin-right:-.55rem;border:0;border-radius:50%;background:none;color:var(--ink);font-size:1.15rem;font-weight:800;cursor:pointer}
.ins-steps{display:grid;gap:.45rem;margin:.15rem 0 0;padding:0;list-style:none}
.ins-step{display:grid;grid-template-columns:2rem minmax(0,1fr) auto;gap:.2rem .6rem;align-items:center;padding:.5rem .6rem;border:1.5px solid var(--hair);border-radius:14px;background:var(--card)}
.ins-step.nog{grid-template-columns:2rem minmax(0,1fr)}
.ins-step.on{border-color:var(--accent);background:var(--accent-soft)}
.ins-n{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--sand);color:var(--ink);font-style:normal;font-weight:900;font-size:1rem}
.ins-step.on .ins-n{background:var(--accent);color:var(--on-accent)}
.ins-step > b{font-size:1.04rem;font-weight:800;line-height:1.25;text-wrap:balance}
.ins-step > small{grid-column:2/-1;font-size:.88rem;line-height:1.3;color:var(--ink-soft)}
.ins-glyph{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:var(--card);border:1.5px solid var(--hair);color:var(--ink)}
.ins-glyph .ins-ico{width:28px;height:28px}
.ins-step.on .ins-glyph{border-color:var(--cherry);animation:ins-ring 1.6s ease-in-out infinite}
.ins-rows{grid-column:1/-1;display:grid;gap:.3rem;margin-top:.2rem}
.ins-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem;min-height:42px;padding:0 .8rem;border-radius:11px;background:var(--card);border:1.5px solid var(--hair);color:var(--ink);font-size:1rem;font-weight:700}
.ins-row .ins-ico{width:24px;height:24px}
.ins-step.on .ins-row.hl{border-color:var(--cherry);animation:ins-ring 1.6s ease-in-out infinite}
.ins-then{margin:.1rem 0 -.05rem .1rem;font-size:.86rem;line-height:1.3;color:var(--ink-soft)}
.ins-confirm .ins-cancel{font-weight:500;color:var(--ink-soft)}
.ins-confirm b{padding:.25rem .7rem;border-radius:999px;font-weight:800;color:var(--ink)}
.ins-step.on .ins-confirm b.hl{background:var(--accent);color:var(--on-accent);animation:ins-ring 1.6s ease-in-out infinite .8s}
.ins-code{margin:.55rem 0 0;padding:.45rem .7rem;border-radius:12px;background:var(--sand);color:var(--ink);font-size:.9rem;line-height:1.35;text-align:center}
.ins-code b{font-size:1.25rem;letter-spacing:.12em;white-space:nowrap}
.ins-code small{display:block;font-size:.8rem;color:var(--ink-soft)}
.ins-lead{margin:.2rem 0 .7rem;font-size:1.02rem;line-height:1.4;text-wrap:pretty}
.ins-help{margin:.8rem 0 .5rem;padding:.5rem .7rem;border-radius:12px;background:var(--sand);color:var(--ink);font-size:.92rem;font-weight:700;line-height:1.35}
.ins-keep{margin:.6rem 0 0;font-size:.86rem;color:var(--ink-soft);text-align:center}
.ins-note{margin:.5rem 0 0;color:var(--accent-deep);font-weight:800;text-align:center}
.ins-two{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.ins-two.one{grid-template-columns:1fr;margin-top:.55rem}
.ins-two > :only-child{grid-column:1/-1}
.ins-nav{display:grid;grid-template-columns:1fr 1.7fr;gap:.6rem;margin-top:.7rem}
.ins-nav.one{grid-template-columns:1fr}
.ins-card .btn{min-height:48px;padding:.5em 1em;color:var(--ink);background:none;border-color:var(--hair);text-decoration:none}
.ins-card .btn.primary{background:var(--accent);color:var(--on-accent);border-color:transparent}
.ins-card .btn.ins-out{width:100%;min-height:60px;font-size:1rem}
.ins-card .btn:focus-visible,.ins-x:focus-visible{outline:3px solid var(--accent-deep);outline-offset:2px}
.ins-point{display:flex;flex-direction:column;align-items:center;gap:6px;justify-self:center;padding-top:8px;pointer-events:none}
.ins-point.off{visibility:hidden}
.ins[data-edge="top"] .ins-point{grid-row:1;flex-direction:column-reverse;padding:0 0 2px}
.ins[data-side="right"] .ins-point{justify-self:end;align-items:flex-end}
.ins-tag{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .75rem;border-radius:999px;background:var(--card);color:var(--ink);font-weight:800;font-size:1rem;box-shadow:var(--shadow-lg)}
.ins-tag .ins-ico{width:26px;height:26px}
.ins-arrow{display:block;width:44px;height:58px;fill:none;stroke:var(--accent);stroke-width:6;stroke-linecap:round;stroke-linejoin:round;animation:ins-bob 1s ease-in-out infinite}
.ins[data-edge="top"] .ins-arrow{transform:rotate(180deg);animation-name:ins-bob-up}
.ins[data-side="right"] .ins-arrow{margin-right:max(0px,calc(var(--ins-x,24px) - 22px - max(10px,var(--sar))))}
.ins[data-side="right"] .ins-tag{margin-right:max(0px,calc(var(--ins-x,24px) - 1.7rem - max(10px,var(--sar))))}
.ins[data-side="right"] .ins-tag.lab{margin-right:max(0px,calc(var(--ins-x,24px) - 3.6rem - max(10px,var(--sar))))}
@keyframes ins-rise{from{opacity:0;transform:translateY(12px)}}
@keyframes ins-bob{0%,100%{transform:translateY(-7px)}50%{transform:translateY(3px)}}
@keyframes ins-bob-up{0%,100%{transform:rotate(180deg) translateY(-7px)}50%{transform:rotate(180deg) translateY(3px)}}
@keyframes ins-ring{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--cherry) 55%,transparent)}50%{box-shadow:0 0 0 7px color-mix(in srgb,var(--cherry) 0%,transparent)}}
.ins-still,.ins-still .ins-card,.ins-still .ins-arrow,.ins-still .ins-glyph,.ins-still .ins-row,.ins-still .ins-confirm b{animation:none!important}
@media (prefers-reduced-motion:reduce){.ins,.ins-card,.ins-arrow,.ins-glyph,.ins-row,.ins-confirm b,.ins-offer{animation:none!important}}
@media (max-height:620px),(max-width:340px){
  .ins-card{padding:.2rem .7rem .7rem;border-radius:18px}
  .ins-top h2{font-size:1.2rem}
  .ins-step{padding:.4rem .5rem;gap:.15rem .5rem}
  .ins-step > b{font-size:.98rem}
  .ins-step > small,.ins-then{font-size:.82rem}
  .ins-glyph{width:40px;height:40px}
  .ins-row{min-height:38px;font-size:.95rem}
  .ins-code{margin-top:.4rem;padding:.35rem .6rem;font-size:.84rem}
  .ins-code b{font-size:1.1rem}
  .ins-nav{margin-top:.5rem}
  .ins-card .btn{min-height:44px}
  .ins-arrow{height:46px}
}
/* a phone held sideways: the card is low and wide, the steps stand side by side */
@media (orientation:landscape) and (max-height:480px){
  .ins{padding-top:max(6px,var(--sat));padding-bottom:max(6px,var(--sab))}
  .ins-card{width:min(100%,700px);padding:.1rem .7rem .55rem}
  .ins[data-edge="top"] .ins-card{margin-top:.2rem}
  .ins-top h2{font-size:1.05rem}
  .ins-x{width:36px;height:36px}
  .ins-steps{grid-template-columns:1fr 1.15fr;align-items:start;margin-top:0}
  .ins-step{padding:.35rem .5rem}
  .ins-step > small,.ins-then{display:none}
  .ins-row{min-height:34px}
  .ins-code{margin-top:.35rem;padding:.25rem .6rem}
  .ins-code small{display:inline;margin-left:.5rem}
  .ins-nav{margin-top:.4rem}
  .ins-card .btn{min-height:40px}
  .ins-point,.ins[data-edge="top"] .ins-point{flex-direction:row;align-items:center;gap:8px;padding:0}
  .ins[data-side="right"] .ins-tag,.ins[data-side="right"] .ins-tag.lab{margin-right:0}
  .ins-arrow{width:30px;height:38px}
  .ins-tag{padding:.2rem .6rem;font-size:.9rem}
}

/* "should the robots speak aloud?" — asked once on iPhone (voice-ui.js) */
.vo-ask{position:fixed;left:12px;right:12px;top:calc(env(safe-area-inset-top,0px) + 64px);z-index:60;max-width:26rem;margin:0 auto;padding:.8rem .9rem;border-radius:16px;background:#fffaf0;color:#2a1a22;box-shadow:0 10px 30px rgba(0,0,0,.45);display:grid;gap:.4rem;font-size:.95rem}
.vo-ask small{color:#5c4a52;line-height:1.35}
.vo-ask span{display:flex;gap:.5rem;margin-top:.2rem}
.vo-ask button{flex:1;min-height:44px;border:0;border-radius:12px;font:inherit;font-weight:700;background:#f2b632;color:#2a1a22}
.vo-ask button.quiet{flex:0 0 5rem;background:rgba(0,0,0,.08)}

/* "Poražení roboti" (prizes-ui.js) */
.pz-scalp{display:block;margin-top:.25rem}
.pz-scalps{margin-top:.8rem;display:grid;gap:.3rem}
.pz-scalps small{color:var(--ink-soft)}
.pz-scalps p{display:flex;flex-wrap:wrap;gap:.3rem;margin:.2rem 0 0}
.pz-scalps span{padding:.2rem .55rem;border-radius:999px;font-size:.82rem;border:1px dashed currentColor;opacity:.5}
.pz-scalps span.on{opacity:1;border-style:solid;background:rgba(255,190,40,.28);font-weight:700}

/* ── "Rozdání dne" (daily-ui.js): the card on the home screen, the front page after the deal ── */
.dl-home{margin:0 0 .8rem;padding:.85rem .9rem .9rem;color:var(--fg);background:var(--btn);border:1.5px solid var(--accent-lite);border-left:6px solid #d4111c;border-radius:var(--radius,14px)}
.dl-home.dl-dare{border-color:#d4111c;box-shadow:0 0 0 3px rgba(212,17,28,.18)}
.dl-head{display:flex;gap:.65rem;align-items:flex-start}
.dl-head>i{font-style:normal;font-size:1.9rem;line-height:1}
.dl-head>div{min-width:0}
.dl-head b{display:block;font-size:1.08rem;line-height:1.2}
.dl-head b span{font-weight:600;color:var(--fg2)}
.dl-head small{display:block;margin-top:.15rem;font-size:.84rem;line-height:1.35;color:var(--fg2)}
.dl-home p{margin:.55rem 0 0;font-size:.92rem;line-height:1.4;overflow-wrap:anywhere}
.dl-from{padding:.45rem .6rem;font-weight:700;color:#111;background:#ffd500;border-radius:8px}
.dl-run,.dl-count{color:var(--fg2)}
.dl-board span{display:inline-block;margin-right:.55rem;white-space:nowrap}
.dl-board span.me{font-weight:700}
.dl-acts{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.7rem}
.dl-acts .btn.primary:only-child{flex:1}
.dl-result{margin:.2rem 0 .9rem}
.dl-pagebox{max-width:340px;margin:.7rem auto .8rem;border-radius:6px;overflow:hidden;box-shadow:0 6px 22px rgba(0,0,0,.35);transform:rotate(-1.2deg)}
.dl-page{display:block;width:100%;height:auto;aspect-ratio:4/5;background:#fff}
.dl-paid{margin:.2rem 0 .6rem;text-align:center;font-weight:700}
.dl-small{margin:.5rem 0 0;font-size:.82rem;text-align:center}
@media (prefers-reduced-motion:reduce){.dl-pagebox{transform:none}}

/* ── the home screen of a signed-in player, small: the games are what people came for ── */
.col:has(.perks.compact)>.lead{display:none}
.perks.compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:.4rem;margin-bottom:.7rem}
.perks.compact>.perk:not(.fr-hcard){position:relative;flex-direction:column;justify-content:flex-start;align-items:center;gap:.12rem;min-width:0;min-height:0;padding:.45rem .2rem .4rem;text-align:center;grid-column:auto}
.perks.compact>.perk:not(.fr-hcard)>i{font-size:1.45rem;line-height:1.1}
.perks.compact>.perk:not(.fr-hcard)>span{display:block;width:100%;min-width:0;flex:none}
.perks.compact>.perk:not(.fr-hcard) b{font-size:.7rem;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.perks.compact>.perk:not(.fr-hcard) small{margin-top:.1rem;font-size:.63rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.perks.compact>.perk:not(.fr-hcard) small *{white-space:nowrap}
.perks.compact>.perk .gm-wl{display:block;overflow:hidden;text-overflow:ellipsis}
.perks.compact>.perk .gm-wl>span:not(:first-child),.perks.compact>.perk .gm-wl>em,.perks.compact>.perk .gm-wbar,.perks.compact>.perk b>span,.perks.compact>.perk b>em{display:none}
.perks.compact>.fr-hcard{grid-column:1/-1}
.perks.compact>.xpcard{gap:.25rem;padding:.4rem .7rem .5rem}
.perks.compact>.xpcard>:not(.xptop):not(.xpbar){display:none}
.perks.compact>.xpcard .xpbar{height:6px}
.dl-home{padding:.55rem .6rem .6rem .7rem;margin-bottom:.6rem}
.dl-row{display:flex;align-items:center;gap:.6rem}
.dl-row>i{font-style:normal;font-size:1.6rem;line-height:1;flex:none}
.dl-row>div{flex:1;min-width:0}
.dl-row b{font-size:.98rem;line-height:1.2}
.dl-row>div>b{display:block}
.dl-row>div>b span{font-weight:600;color:var(--fg2)}
.dl-row small{display:block;margin-top:.1rem;font-size:.78rem;line-height:1.3;color:var(--fg2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dl-row small b{font-size:inherit;color:var(--fg)}
.dl-row .btn{flex:none;white-space:nowrap}
.dl-home p{margin:.45rem 0 0;font-size:.86rem}
.perks.compact>.perk .fr-wk{display:block;font-size:.63rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}
.perks.compact>.perk .fr-wk>span:not(.me){display:none}
.perks.compact>.perk .fr-wk small{display:inline;margin:0;font-size:inherit}
.perks.compact>.perk .al-bar{display:none}
.perks.compact>.fr-pcard{padding:.5rem .7rem}
.perks.compact>.fr-pcard small{display:none}
.col:has(.perks.compact)>.dl-home{margin-top:.7rem}

/* "Hledá se": the poster of the wanted robot */
.wn-box{transform:rotate(1deg)}
.wn-poster{display:block;width:100%;height:auto;aspect-ratio:4/5;background:#ecd9a8}
.perk.wn-tile.ready{animation:none}
html .perks.compact{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:.4rem !important}

/* "Souboj" (duel-ui.js): a duel of two friends over the same deal */
.du-home{border-left-color:#7a3cff}
.du-lead{margin:.2rem 0 .8rem;line-height:1.45}
.du-list,.du-recent{list-style:none;margin:0 0 .9rem;padding:0}
.du-f{display:flex;align-items:center;gap:.65rem;padding:.6rem .1rem;border-bottom:1px solid var(--accent-lite)}
.du-f.todo{margin:0 -.4rem;padding:.6rem .5rem;background:rgba(122,60,255,.12);border-radius:10px;border-bottom-color:transparent}
.du-f>img,.du-f>i{flex:none;width:2.5rem;height:2.5rem;border-radius:50%;object-fit:cover;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:1.1rem;color:var(--fg);background:var(--accent-lite)}
.du-f>div{flex:1;min-width:0}
.du-f>div>b{display:block;font-size:1.02rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.du-f small{display:block;margin-top:.1rem;font-size:.86rem;line-height:1.3;color:var(--fg2)}
.du-score{font-size:.98rem;color:var(--fg)}
.du-score.up{color:#1f9d55}.du-score.down{color:#d4513b}
.du-what{font-weight:600}
/* the game of a challenge (duel-ui.js): today's game of the day first */
.du-games{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;margin:10px 0 14px}
.du-games .btn{min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.2}
.du-games .btn small{font-size:.72rem;font-weight:600;opacity:.85}
.du-f .btn{flex:none;white-space:nowrap}
.du-wait{flex:none;font-style:normal;font-size:.84rem;color:var(--fg2);white-space:nowrap}
.du-recent li{display:flex;justify-content:space-between;gap:.6rem;padding:.35rem 0;font-size:.92rem;border-bottom:1px dashed var(--accent-lite)}
.du-recent em{font-style:normal;font-weight:700}
.du-recent .me em{color:#1f9d55}.du-recent .them em{color:#d4513b}
.du-result{margin:.2rem 0 .9rem;padding:.8rem .9rem;text-align:center;background:var(--btn);border:1.5px solid var(--accent-lite);border-top:5px solid #7a3cff;border-radius:var(--radius,14px)}
.du-result.me{border-top-color:#1f9d55}.du-result.them{border-top-color:#d4513b}
.du-result>b{display:block;font-size:1.15rem;line-height:1.3}
.du-result p{margin:.35rem 0 0;line-height:1.4}
.du-result .du-big{font-size:1.5rem;font-weight:800}
.du-result .acts{margin-top:.7rem}

/* "Divácký režim" (watch-ui.js): watching a running table, read-only */
.wt-bar{position:fixed;left:50%;bottom:calc(var(--sab,0px) + 10px);z-index:19;transform:translateX(-50%);display:flex;align-items:center;gap:.6rem;width:min(440px,calc(100% - 32px));padding:.55rem .6rem .55rem .8rem;color:var(--ink);background:var(--card,#fff);border:1.5px solid var(--accent-lite);border-left:5px solid var(--accent);border-radius:var(--radius,14px);box-shadow:var(--shadow-lg,0 8px 24px rgba(0,0,0,.25))}
.wt-eye{flex:none;font-size:1.5rem;line-height:1}
.wt-txt{flex:1;min-width:0}
.wt-txt b{display:block;font-size:.95rem;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wt-txt small{display:block;font-size:.8rem;line-height:1.3;color:var(--muted)}
.wt-bar .btn{flex:none;min-height:44px;white-space:nowrap}
/* a watcher has nothing to do with the table's own buttons: reactions and the menu go, the rest stays drawn */
html.wt-on :is(#table,#gscreen,#dice) .topbar [data-act="reactOpen"],html.wt-on :is(#table,#gscreen,#dice) .topbar [data-act="menu"],html.wt-on #btnReact{visibility:hidden}
html.wt-on :is(#hand,#groot,#dSheet,.dtray,#lobbyBody){cursor:default}
html.wt-on :is(#groot,.dtray,#lobbyBody){padding-bottom:calc(var(--sab,0px) + 76px)}
.wt-count{flex:none;min-width:44px;min-height:40px;padding:0 .6em;font:700 .88rem var(--ui);color:var(--ivory);background:rgba(0,0,0,.24);border:1.5px solid var(--line);border-radius:999px;cursor:pointer}
.wt-code{flex:none;white-space:nowrap}
.wt-fr{white-space:nowrap}

/* ── "Založ si účet": the sign-up card of a guest over the free games, and the line on their result sheet (guestlimit-ui.js) ── */
.gl{position:fixed;inset:0;z-index:85;display:grid;place-items:center;padding:max(16px,var(--sat,0px)) max(16px,var(--sar,0px)) max(16px,var(--sab,0px)) max(16px,var(--sal,0px));background:color-mix(in srgb,var(--ink) 66%,transparent);animation:gd-fade .25s both}
.gl-box{position:relative;width:min(100%,400px);max-height:100%;overflow:auto;padding:1.3rem 1.2rem 1rem;border-radius:24px;background:var(--card);color:var(--ink);box-shadow:var(--shadow-lg);text-align:center;animation:gd-rise .4s var(--ease) both}
.gl-ico{font-size:2.6rem;line-height:1;margin-bottom:.35rem}
.gl-box h2{margin:0 0 .45rem;font:400 1.55rem/1.1 var(--display);letter-spacing:.01em;text-transform:uppercase;overflow-wrap:break-word}
.gl-lead{margin:0 0 .7rem;font-size:1rem;line-height:1.4;text-wrap:pretty}
.gl-list{display:grid;gap:.4rem;margin:0 0 .9rem;padding:0;list-style:none;text-align:left}
.gl-list li{display:grid;grid-template-columns:2rem 1fr;gap:.55rem;align-items:center;font-size:.97rem;line-height:1.3;font-weight:700}
.gl-list i{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--accent-soft);font-style:normal;font-size:1.05rem}
.gl-acts{display:grid;gap:.5rem}
.gl-box .btn{color:var(--ink);background:none;border-color:var(--hair)}
.gl-box .btn.primary{background:var(--accent);color:var(--on-accent);border-color:transparent}
.gl-box .gl-go{min-height:54px;font-size:1.05rem}
.gl-later{min-height:44px;border:0;background:none;color:var(--ink-soft);font:inherit;font-size:.92rem;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.gl-sub{margin:.2rem 0 0;color:var(--ink-soft);font-size:.88rem}
.gl-x{position:absolute;top:.35rem;right:.35rem;width:44px;height:44px;border:0;border-radius:50%;background:none;color:var(--ink-soft);font-size:1.1rem;cursor:pointer}
.gl-box .btn:focus-visible,.gl-later:focus-visible,.gl-x:focus-visible{outline:3px solid var(--accent-deep);outline-offset:2px}
.gl-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.4rem .7rem;margin:.6rem 0 0;padding:.55rem .8rem;border-radius:14px;background:var(--accent-soft);color:var(--ink);font-size:.88rem;line-height:1.35;text-align:center}
.gl-note span{flex:1 1 14rem}
@media (prefers-reduced-motion:reduce){.gl,.gl-box{animation:none}}

/* "Co je nového" (whatsnew-ui.js): the newest news of the admin, once per news */
.wn{position:fixed;inset:0;z-index:84;display:grid;place-items:center;padding:max(16px,var(--sat,0px)) max(16px,var(--sar,0px)) max(16px,var(--sab,0px)) max(16px,var(--sal,0px));background:color-mix(in srgb,var(--ink) 62%,transparent);animation:gd-fade .25s both}
.wn-box{position:relative;width:min(100%,420px);max-height:100%;overflow:auto;padding:1.4rem 1.25rem 1.05rem;border-radius:24px;background:var(--card);color:var(--ink);box-shadow:var(--shadow-lg);text-align:center;animation:gd-rise .4s var(--ease) both}
.wn-box::before{content:"";position:absolute;inset:0 0 auto;height:6px;border-radius:24px 24px 0 0;background:var(--accent)}
.wn-ico{display:grid;place-items:center;width:3.4rem;height:3.4rem;margin:0 auto .45rem;border-radius:50%;background:var(--accent-soft);font-size:1.8rem;line-height:1}
.wn-kick{margin:0 0 .2rem;color:var(--accent-deep);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.wn-box h2{margin:0 0 .5rem;font:400 1.5rem/1.12 var(--display);letter-spacing:.01em;text-transform:uppercase;overflow-wrap:break-word;text-wrap:balance}
.wn-lead{margin:0 0 .8rem;font-size:1rem;line-height:1.42;text-wrap:pretty}
.wn-list{display:grid;gap:.45rem;margin:0 0 1rem;padding:0;list-style:none;text-align:left}
.wn-list li{display:grid;grid-template-columns:1.9rem 1fr;gap:.55rem;align-items:start;font-size:.97rem;line-height:1.35;font-weight:600}
.wn-list i{display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:50%;background:var(--accent-soft);color:var(--accent-deep);font-style:normal;font-size:.95rem}
.wn-list span{padding-top:.25rem;overflow-wrap:anywhere}
.wn-acts{display:grid;gap:.45rem}
.wn-box .btn{color:var(--ink);background:none;border-color:var(--hair)}
.wn-box .btn.primary{background:var(--accent);color:var(--on-accent);border-color:transparent}
.wn-box .wn-go{min-height:54px;font-size:1.05rem}
.wn-later{min-height:44px;border:0;background:none;color:var(--ink-soft);font:inherit;font-size:.92rem;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.wn-x{position:absolute;top:.45rem;right:.35rem;width:44px;height:44px;border:0;border-radius:50%;background:none;color:var(--ink-soft);font-size:1.1rem;cursor:pointer}
.wn-box .btn:focus-visible,.wn-later:focus-visible,.wn-x:focus-visible{outline:3px solid var(--accent-deep);outline-offset:2px}
.wn-still,.wn-still .wn-box{animation:none}
@media (prefers-reduced-motion:reduce){.wn,.wn-box{animation:none}}

/* ── chips in every game (server/entry.js): the fee on a game's tile and the line of the lobby ── */
.tile .feebadge{position:absolute;top:.5rem;right:.5rem;z-index:2;padding:.2rem .55rem;border-radius:99px;background:rgba(0,0,0,.55);color:#ffd98a;font:800 .7rem/1.2 var(--ui);white-space:nowrap}
.entryline{display:inline-flex;flex-wrap:wrap;gap:.25rem;align-items:baseline;justify-content:flex-end;text-align:right}
.entryline b{color:var(--gold,#c8962f)}

/* Blokobitva's wardrobe in the lobby: coins earned by playing, what of my look is not mine yet, the grave */
.blk-me>.blk-grave{width:44px;height:44px;flex:0 0 auto;align-self:flex-end}
.blk-wear{display:flex;flex-direction:column;gap:.35rem;padding:.55rem .6rem;border:1px dashed var(--edge);border-radius:12px}
.blk-wear .blk-coins{font-weight:800}
.blk-wear .blk-coins small{font-weight:600;opacity:.75}
.blk-lock{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.blk-lock span{flex:1 1 auto;min-width:0}
.blk-wear .vdesc{margin:0}

/* the lobby: a game added lately, and "Překvap mě" (app.js NEW_GAMES, actions.surprise) */
.tile .newbadge{position:absolute;top:.5rem;left:.5rem;z-index:2;padding:.2rem .55rem;border-radius:99px;background:linear-gradient(135deg,#ff5f6d,#ffc371);color:#2a0b00;font:900 .66rem/1.2 var(--ui);letter-spacing:.08em;text-transform:uppercase;box-shadow:0 2px 6px rgba(0,0,0,.3);animation:newbadge 2.4s ease-in-out infinite}
@keyframes newbadge{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@media (prefers-reduced-motion:reduce){.tile .newbadge{animation:none}}
.pickrow{display:flex;align-items:flex-end;justify-content:space-between;gap:.6rem;flex-wrap:wrap}
.pickrow .pick{flex:1 1 auto}
.btn.surprise{flex:0 0 auto;margin:.6rem 0 -.15rem;padding:.35rem .8rem;min-height:0;font-size:.78rem;border-radius:99px}

/* the lobby in groups (app.js GAME_CATS, lobbyTiles): a strip of chips that scrolls sideways, headings in the grid */
.gcats{display:flex;gap:.4rem;overflow-x:auto;scrollbar-width:none;margin:.7rem -16px .2rem;padding:.25rem 16px .45rem;position:sticky;top:0;z-index:5;background:transparent;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.gcats::-webkit-scrollbar{display:none}
.gchip{flex:0 0 auto;scroll-snap-align:start;border:1.5px solid rgba(255,255,255,.22);background:rgba(20,12,28,.62);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.25);border-radius:99px;padding:.38rem .8rem;font:700 .8rem/1.1 var(--ui);white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}
.gchip small{opacity:.55;font-weight:800;margin-left:.15rem}
.gchip.on{background:var(--accent,#c0392b);border-color:var(--accent,#c0392b);color:#fff}
.gchip.on small{opacity:.8}
.gchip:focus-visible{outline:2px solid var(--accent,#c0392b);outline-offset:2px}
.tiles .gcat-h{grid-column:1/-1;display:flex;align-items:center;gap:.45rem;margin:.9rem 0 -.2rem;font:800 .8rem/1.2 var(--ui);letter-spacing:.14em;text-transform:uppercase;opacity:.8}
.tiles .gcat-h:first-child{margin-top:.2rem}
.tiles .gcat-h span{font-size:1.05rem;letter-spacing:0}
.tiles .gcat-h::after{content:'';flex:1;height:1px;background:currentColor;opacity:.18}
@media (min-width:700px){.tiles#tiles{grid-template-columns:repeat(3,1fr)}}
