/* 22fun tokens (TEMPORARY): operator tokens from its own CSS; the designer's final values arrive in fun-tokens.css, which is
   linked after this file and overrides every --ff-* below. Colours, fonts and radii are used ONLY through these variables. */
:root{
  --ff-night:#0e0e0f;--ff-night-rgb:14,14,15;--ff-night-2:#141416;--ff-well:#101012;
  --ff-panel:#1c1c1c;--ff-raise:#1e1e24;--ff-line:#2a2a30;--ff-line-hi:#3a3a42;
  --ff-ink:#ffffff;--ff-ink-2:#d9d9de;--ff-ink-3:#a9a9b2;--ff-ink-4:#85858f;
  --ff-flame:#c42126;--ff-flame-deep:#c42126;--ff-flame-hi:#e0484d;--ff-flame-rgb:196,33,38;--ff-on-flame:#ffffff;
  --ff-gold:#fff080;--ff-amber:#e6cf4d;--ff-royal:#c42126;--ff-royal-rgb:196,33,38;
  --ff-ok:#1f9d55;--ff-ok-hi:#35d07f;--ff-alert:#ff6b6f;
  --ff-ember:#2a1a1c;--ff-ember-line:#5c2a2d;--ff-dusk:#1c1c1c;
  --ff-c-bronze:#e08a2e;--ff-c-silver:#b1b4bc;--ff-c-cyan:#3fd6e0;--ff-c-violet:#b18cff;--ff-c-blue:#5aa9ff;--ff-c-wine:#3a2226;
  --ff-r-pill:1000px;--ff-r-card:16px;--ff-r-tile:12px;
  /* Thai face first, then system Thai faces. No @font-face yet: when the designer adds one, EVERY subset of the family
     gets the same weight range (a different range per subset makes Chrome fall back to serif). */
  --ff-display:"Noto Sans Thai","Sarabun","Prompt","Leelawadee UI","Thonburi",Tahoma,system-ui,-apple-system,"Segoe UI",sans-serif;
  --ff-text:"Noto Sans Thai","Sarabun","Leelawadee UI","Thonburi",Tahoma,system-ui,-apple-system,"Segoe UI",sans-serif;
}
html,body{margin:0;padding:0;background:var(--ff-night)}
html{scroll-behavior:smooth}
*{box-sizing:border-box}
a{color:var(--ff-flame);text-decoration:none}
a:hover{color:var(--ff-flame-hi);text-decoration:underline}
table{border-collapse:collapse}
figure{margin:0}
button{font-family:var(--ff-text)}
:where(main,.tw-loupe,.tw-floor,.tw-head) img{height:auto;max-width:100%}
.tw-str{font-weight:700}
.tw-flow .tw-str{color:var(--ff-ink)}

/* links styled as buttons */
.tw-ln{display:inline-block;text-decoration:none!important}
.ff-1h4ir,.ff-k7qmo{display:inline-block}
a.ff-v47cg:hover,a.ff-rcsl6:hover,a.ff-1v7vi:hover,a.ff-1h4ir:hover,a.ff-k7qmo:hover,.tw-bar-cta:hover,.tw-tray-go:hover{color:var(--ff-on-flame)!important;text-decoration:none!important;background:var(--ff-flame)}
a.ff-6whby:hover{color:var(--ff-ink);text-decoration:none}
.tw-ln.ff-oli3m,.tw-ln.ff-gx75g{line-height:normal}
.tw-ln.ff-d6bxm{line-height:1.15}
a.tw-ln.ff-l7kgf{display:flex}
.ff-d6bxm:hover,.ff-oli3m:hover{color:var(--ff-ink)}

/* hover rules */
[data-ff-lift="rise"]{transition:border-color .15s,transform .15s}
[data-ff-lift="rise"]:hover{border-color:var(--ff-flame)!important}
[data-ff-lift="glow"]:hover{background:var(--ff-line-hi)!important}
[data-ff-lift="leap"]:hover{background:var(--ff-raise)!important;color:var(--ff-flame)!important;text-decoration:none}

/* ── top bar ── */
.tw-head{position:sticky;top:0;z-index:50;background:rgba(var(--ff-night-rgb),.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--ff-panel)}
.tw-head-inner{max-width:1200px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:14px}
.tw-head-start{flex:0 0 auto;display:flex;align-items:center}
.tw-logo{display:block;height:30px;width:auto}
.tw-bar-nav{flex:0 1 auto;min-width:0;display:flex;gap:2px;background:var(--ff-panel);border-radius:var(--ff-r-pill);padding:4px;margin-left:10px}
.tw-shelf{position:relative;display:flex}
.tw-shelf-tog{display:inline-flex;align-items:center;gap:6px;border:0;cursor:pointer;background:transparent;color:var(--ff-ink-2);font:600 13.5px var(--ff-text);padding:8px 13px;border-radius:var(--ff-r-pill);white-space:nowrap}
.tw-shelf-tog:hover,.tw-shelf.tw-is-up .tw-shelf-tog,.tw-shelf:focus-within .tw-shelf-tog{background:var(--ff-line-hi);color:var(--ff-ink)}
.tw-shelf-arrow{font-size:10px;opacity:.7;transition:transform .15s}
.tw-shelf-list{display:none;position:absolute;top:calc(100% + 10px);left:0;z-index:60;min-width:240px;padding:8px;border-radius:var(--ff-r-card);background:var(--ff-panel);border:1px solid var(--ff-line-hi);box-shadow:0 18px 40px rgba(0,0,0,.5);flex-direction:column;gap:2px}
.tw-shelf-list::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.tw-shelf:hover .tw-shelf-list,.tw-shelf:focus-within .tw-shelf-list,.tw-shelf.tw-is-up .tw-shelf-list{display:flex}
.tw-shelf:hover .tw-shelf-arrow,.tw-shelf.tw-is-up .tw-shelf-arrow{transform:rotate(180deg)}
.tw-shelf-list a{font:600 14px var(--ff-text);color:var(--ff-ink-2);padding:10px 12px;border-radius:10px;text-decoration:none;white-space:nowrap}
.tw-shelf-list a:hover{background:var(--ff-raise);color:var(--ff-flame);text-decoration:none}
.tw-bar-alt{flex:0 0 auto;margin-left:auto;background:var(--ff-line-hi);color:var(--ff-ink);font:700 14px var(--ff-text);padding:10px 18px;border-radius:var(--ff-r-pill);text-decoration:none;white-space:nowrap}
.tw-bar-alt:hover{color:var(--ff-ink);text-decoration:none;background:#444A5F}
.tw-bar-cta{flex:0 0 auto;background:var(--ff-flame-deep);color:var(--ff-on-flame);font:700 14px var(--ff-text);padding:10px 20px;border-radius:var(--ff-r-pill);text-decoration:none;white-space:nowrap}
.tw-bar-cta .tw-cta-full{display:none}
@media (min-width:1000px){.tw-bar-cta .tw-cta-full{display:inline}.tw-bar-cta .tw-cta-slim{display:none}}
.tw-bars-tog{display:none;flex:0 0 auto;width:42px;height:42px;border-radius:var(--ff-r-pill);border:0;background:var(--ff-panel);cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0}
.tw-bars-tog span{display:block;width:18px;height:2px;background:var(--ff-ink);border-radius:2px}
.tw-panel-nav{max-width:1200px;margin:0 auto;padding:4px 16px 14px;display:flex;flex-direction:column;gap:2px;font-family:var(--ff-text);max-height:calc(100vh - 80px);overflow-y:auto}
.tw-panel-nav[hidden]{display:none}
.tw-panel-nav a{display:block;margin-left:10px;color:var(--ff-ink-2);font-weight:500;font-size:15px;padding:11px 10px;border-radius:12px;text-decoration:none}
.tw-panel-nav a:hover{background:var(--ff-raise);color:var(--ff-flame);text-decoration:none}
.tw-panel-shelf{border-radius:12px}
.tw-panel-shelf summary{list-style:none;cursor:pointer;color:var(--ff-ink);font-weight:700;font-size:16px;padding:12px 10px;border-radius:12px;display:flex;justify-content:space-between;align-items:center}
.tw-panel-shelf summary::-webkit-details-marker{display:none}
.tw-panel-shelf summary::after{content:"▾";font-size:12px;opacity:.7;transition:transform .15s}
.tw-panel-shelf[open] summary::after{transform:rotate(180deg)}
.tw-panel-shelf[open] summary{color:var(--ff-flame)}
@media (max-width:1080px){.tw-bar-nav{display:none}.tw-bars-tog{display:flex}}
@media (min-width:1081px){.tw-panel-nav{display:none!important}}
@media (max-width:600px){.tw-head-inner{padding:10px 16px;gap:8px}.tw-logo{height:24px}.tw-bar-alt,.tw-bar-cta{padding:9px 13px;font-size:12.5px}.tw-bars-tog{width:38px;height:38px}}
@media (max-width:400px){.tw-logo{height:20px}.tw-bar-alt,.tw-bar-cta{padding:8px 10px;font-size:11.5px}.tw-head-inner{gap:6px;padding:10px 12px}.tw-bars-tog{width:36px;height:36px}}
@media (max-width:345px){.tw-bar-alt{display:none}.tw-bar-cta{margin-left:auto}}

/* ── first screen ── */
.ff-np136{background:radial-gradient(1100px 640px at 82% 18%,rgba(var(--ff-royal-rgb),.55),transparent 64%),radial-gradient(700px 420px at 0% 100%,rgba(var(--ff-flame-rgb),.10),transparent 60%),var(--ff-night);border-top:0;overflow:hidden}
.ff-ul5mb{font-size:clamp(32px,4vw,50px);line-height:1.06;font-weight:800}
.ff-o15yc{align-items:start}
.ff-pcv4c{font-weight:800}
.ff-6tdvc{color:#E0E1E4;font-weight:500}
.ff-ghh8a{background:linear-gradient(120deg,rgba(var(--ff-royal-rgb),.32),rgba(var(--ff-royal-rgb),.08) 70%),var(--ff-well);border-color:var(--ff-line-hi)}
.ff-mqsfc{box-shadow:var(--ff-gold) 0 0 0 3px,rgba(0,0,0,.5) 0 10px 30px}
.ff-htniv{color:var(--ff-gold);font-size:28px}
.ff-l1ecp{background:var(--ff-panel);color:var(--ff-ink-2)}
.ff-ubfns{background:var(--ff-ok-hi);box-shadow:0 0 0 4px rgba(9,228,31,.18)}
.ff-oadcp{aspect-ratio:1/0.92}
.ff-np136>.ff-aozdi{padding-top:40px}
.ff-1smox{gap:28px}
.ff-kfygt{gap:16px}
@media (max-width:600px){.ff-ghh8a{flex-wrap:nowrap;gap:14px;padding:14px}.ff-mqsfc{width:84px;height:84px}.ff-htniv{font-size:22px}.ff-5hgvw{font-size:6.5px}.ff-pcv4c{font-size:40px}.ff-gvqyh{font-size:18px}.ff-6tdvc{font-size:16px}.ff-eyvml{display:flex;flex-direction:column;gap:10px}.ff-eyvml>a{text-align:center}}
.tw-scene-pic{position:absolute;top:0;left:-3%;width:106%;max-width:none;display:block;filter:drop-shadow(0 24px 40px rgba(0,0,0,.45))}
.tw-scene-snap{position:absolute;left:0;bottom:3%;width:66%;border-radius:var(--ff-r-card);border:1px solid var(--ff-line-hi);transform:rotate(-3deg);box-shadow:0 30px 60px rgba(0,0,0,.55);display:block;cursor:zoom-in}
.tw-scene-handset{position:absolute;right:4%;bottom:0;width:27%;border-radius:18px;border:4px solid var(--ff-line-hi);transform:rotate(4deg);box-shadow:0 30px 60px rgba(0,0,0,.6);display:block}
.tw-scene-chip{position:absolute;left:50%;top:9%;width:24%;aspect-ratio:1/1;margin-left:-12%;border-radius:50%;background:var(--ff-flame-deep);box-shadow:var(--ff-flame-deep) 0 0 0 4px,0 20px 40px rgba(0,0,0,.5);border:3px dashed rgba(255,255,255,.8);display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-8deg);line-height:1;text-align:center;color:var(--ff-on-flame)}
.tw-scene-chip .ff-ajozz{font-weight:800}
.tw-scene-chip .ff-8owxn{display:block;max-width:86%;margin:2px auto 0;line-height:1.15}
.ff-k0osi{flex-wrap:nowrap;align-items:center}
main.tw-page-front>div:first-child{overflow:hidden}
@media (min-width:1000px){.ff-np136 .ff-2lok4{padding:6px 11px;font-size:12.5px}}
@media (max-width:600px){.ff-np136>.ff-aozdi{padding-top:28px}.ff-aozdi{padding:48px 16px}}

/* number chips, eyebrows, section heads */
.ff-qifyh{background:var(--ff-flame-deep);box-shadow:var(--ff-flame-deep) 0 0 0 2px}
.ff-vtewk{background:var(--ff-royal);box-shadow:var(--ff-royal) 0 0 0 2px}
.ff-1z7w1{color:var(--ff-flame)}
.ff-r3gm8{background:var(--ff-night);border-top:1px solid var(--ff-panel)}
.ff-xyjwu{background:var(--ff-night-2);border-top:1px solid var(--ff-panel)}
.ff-bds6x{background:linear-gradient(135deg,var(--ff-dusk) 0%,var(--ff-night) 70%);border-top:1px solid var(--ff-panel)}

/* ── game tiles, studios, payment marks ── */
a.tw-card-link{color:inherit;text-decoration:none}
a.tw-card-link:hover{color:inherit;text-decoration:none}
a.tw-card-link:hover .ff-k53gn{outline:2px solid var(--ff-flame);outline-offset:-2px}
.ff-fwdeb{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:860px){.ff-fwdeb{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}
.tw-studios,.tw-chips{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tw-studio,.tw-chip{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 18px;background:var(--ff-panel);border:1px solid var(--ff-line);border-radius:var(--ff-r-pill)}
.tw-studio img{height:auto;width:auto;max-height:26px;max-width:120px;display:block}
.tw-studio.tw-studio-high img{max-height:38px}
@media (max-width:600px){.tw-studio{height:44px;padding:0 14px}.tw-studio img{max-height:20px;max-width:92px}.tw-studio.tw-studio-high img{max-height:30px}}
.tw-chip{height:56px;padding:0 22px;border-radius:var(--ff-r-card)}
.tw-chip img{height:30px;width:auto;display:block}
.tw-studio-label{font-weight:700;font-size:14px;color:var(--ff-ink)}
.tw-suite-ico{display:inline-flex;align-items:center;gap:8px}
.tw-suite-ico img{width:22px;height:auto;flex:0 0 auto}

/* ── perk cards with the operator's art ── */
.tw-gifts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px}
.tw-gift{position:relative;background:var(--ff-panel);border:1px solid var(--ff-line);border-radius:var(--ff-r-card);padding:18px 18px 0;display:flex;flex-direction:column;gap:6px;overflow:hidden;min-width:0}
.tw-gift-label{font:800 16px var(--ff-display);color:var(--ff-gold)}
.tw-gift-say{font-size:13.5px;line-height:1.45;color:var(--ff-ink-2)}
.tw-gift img{display:block;width:78%;margin:auto -6% -4% auto}
@media (max-width:980px){.tw-gifts{grid-template-columns:repeat(2,minmax(0,1fr))}.tw-gift:last-child{grid-column:1/-1}.tw-gift:last-child img{width:46%}}

/* ── bonus match art ── */
.tw-fit2{position:relative}
.tw-fit2-pic{display:block;width:min(420px,80%);margin:0 auto}
@media (min-width:1000px){.tw-fit2{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:32px;align-items:center}.tw-fit2-pic{width:100%}}

/* ── dock CTA ── */
.tw-tray{position:fixed;left:50%;transform:translateX(-50%);bottom:14px;width:calc(100% - 24px);max-width:720px;z-index:60;background:var(--ff-panel);border:1px solid var(--ff-line-hi);border-radius:var(--ff-r-pill);padding:8px 8px 8px 22px;display:flex;align-items:center;gap:14px;box-shadow:0 12px 32px rgba(0,0,0,.6);font-family:var(--ff-text)}
.tw-tray[hidden]{display:none}
.tw-tray-say{flex:1 1 0%;min-width:0;font-weight:600;font-size:14px;color:var(--ff-ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tw-tray-say .tw-str{color:var(--ff-gold);font-weight:800}
.tw-tray-go{background:var(--ff-flame-deep);color:var(--ff-on-flame);font-weight:700;font-size:15px;padding:11px 24px;border-radius:var(--ff-r-pill);text-decoration:none;white-space:nowrap}

/* ── frame viewer ── */
.tw-loupe{position:fixed;inset:0;z-index:100;background:rgba(3,7,24,.94);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:32px;cursor:zoom-out}
.tw-loupe[hidden]{display:none}
.tw-loupe img{max-width:min(1200px,100%);max-height:80vh;width:auto;border-radius:var(--ff-r-card);border:1px solid var(--ff-line-hi);display:block}
.tw-loupe-foot{display:flex;gap:16px;align-items:center;font-family:var(--ff-text)}
.tw-loupe-note{color:var(--ff-ink-2);font-size:14px}
.tw-loupe-shut{color:var(--ff-ink);font-weight:700;font-size:14px;background:var(--ff-line-hi);border-radius:var(--ff-r-pill);padding:7px 16px;cursor:pointer}
[data-ff-act="k76sx"]{cursor:zoom-in}

/* ── term hints ── */
.tw-gloss{border-bottom:1.5px dashed var(--ff-flame);cursor:help;position:relative}
.tw-gloss:focus-visible{outline:2px solid var(--ff-flame);outline-offset:2px;border-radius:3px}
.tw-gloss-card{position:fixed;left:12px;top:0;z-index:120;max-width:300px;background:var(--ff-raise);border:1px solid var(--ff-line-hi);border-radius:12px;padding:12px 14px;font:400 13.5px/1.5 var(--ff-text);color:var(--ff-ink-2);text-transform:none;letter-spacing:0;text-align:left;box-shadow:0 14px 36px rgba(0,0,0,.55);pointer-events:none}
.tw-gloss-card .tw-gloss-head{display:block;font-weight:700;color:var(--ff-ink);margin-bottom:4px}
.tw-gloss-card[hidden]{display:none}
.ff-zd768.tw-gloss-off{border-bottom:0;cursor:inherit}

/* ── running copy inside bands ── */
.tw-flow{display:flex;flex-direction:column;gap:14px;max-width:820px}
.tw-flow p{margin:0;color:var(--ff-ink-2);font-size:16.5px;line-height:1.7;text-wrap:pretty}
.tw-flow h3{margin:8px 0 0;font:800 22px/1.2 var(--ff-display);color:var(--ff-ink)}
.tw-flow ul,.tw-flow ol{margin:0;padding-left:22px;color:var(--ff-ink-2);font-size:16.5px;line-height:1.7;display:flex;flex-direction:column;gap:6px}
.tw-flow li::marker{color:var(--ff-flame)}
.tw-flow table{width:100%;font-size:15px;color:var(--ff-ink-2)}
.tw-flow th{text-align:left;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--ff-ink-3);padding:11px 16px;background:var(--ff-panel)}
.tw-flow td{padding:13px 16px;border-top:1px solid var(--ff-line)}
.tw-flow td:first-child{color:var(--ff-ink);font-weight:600}
.tw-tbl-roll{overflow-x:auto;border:1px solid var(--ff-line);border-radius:var(--ff-r-card)}
@media (max-width:700px){.tw-flow th,.tw-flow td{padding:11px 12px}.tw-flow table{font-size:14px}}
.tw-flow blockquote{margin:0;padding:14px 18px;border-left:3px solid var(--ff-flame);background:rgba(255,255,255,.04);border-radius:0 10px 10px 0}
.tw-flow blockquote p{margin:0 0 6px}
.tw-flow cite{font-style:normal;font-size:13px;color:var(--ff-ink-3)}
.tw-flow abbr,main abbr{text-decoration:underline dotted;text-underline-offset:3px;cursor:help}
.tw-broad{max-width:none}
.tw-by-link{color:inherit;font-weight:700;text-decoration:underline;text-decoration-color:rgba(var(--ff-flame-rgb),.6);text-underline-offset:3px}

/* ── small fixes of forked blocks ── */
@media (max-width:600px){.ff-3ocev,.ff-xqtjz{grid-template-columns:1fr;gap:6px}}
.ff-034hn{overflow-wrap:anywhere}
@media (max-width:420px){.ff-hgtk6,.ff-uha22{font-size:28px}}
.ff-y72nt,.ff-s8rqj{min-width:0}
.ff-s8rqj,.ff-s8rqj span,.ff-v0ret span{overflow-wrap:anywhere}
[data-ff-act="kcslh"][data-ff-ticked="true"] .ff-azzsh{background:var(--ff-ok);border-color:var(--ff-ok);color:var(--ff-ink)}
.ff-jzmy8,.ff-pzi0n{color:var(--ff-ok-hi)}
.ff-ygrjk{background:var(--ff-ok)}
.ff-ktiwe{color:var(--ff-ink-3)}
.ff-b5mhd{background:linear-gradient(120deg,rgba(var(--ff-royal-rgb),.45) 0%,var(--ff-panel) 62%);border-color:var(--ff-line-hi)}
.ff-rzmk8 .tw-logo{height:22px}
.ff-rzmk8{gap:6px;padding:14px 18px}
@media (max-width:700px){main a.ff-1h4ir{white-space:normal;text-align:center}.ff-b5mhd>a{width:100%}}
input[type=range]{accent-color:var(--ff-flame)}
.tw-state{border:1px solid var(--ff-line-hi);border-radius:var(--ff-r-card);background:var(--ff-panel);padding:26px 28px}
.tw-face-av{font:800 18px var(--ff-display);color:var(--ff-gold)}

/* ── content contract: inner pages, ported blocks, current menu item ── */
.tw-shelf.tw-now-on .tw-shelf-tog{color:var(--ff-ink);box-shadow:inset 0 -2px 0 var(--ff-flame)}
.tw-shelf-list a[aria-current="page"],.tw-panel-nav a[aria-current="page"]{color:var(--ff-flame)}
.tw-panel-shelf.tw-now-on summary{color:var(--ff-flame)}
.ff-di2hm a{color:inherit;text-decoration:underline;text-decoration-color:rgba(var(--ff-flame-rgb),.6);text-underline-offset:3px}
.ff-di2hm a:hover{color:var(--ff-flame)}
.ff-aozdi.tw-slim{padding-top:26px;padding-bottom:26px}
.tw-crew-row{justify-content:space-between}
.tw-crew-name2{display:inline-flex;align-items:center;gap:14px;color:var(--ff-ink-2);font-size:15px}
.tw-face-pic{flex:0 0 auto;width:56px;height:56px;border-radius:50%;border:2px solid var(--ff-line-hi);background:var(--ff-panel);display:inline-flex;align-items:center;justify-content:center;font:800 18px var(--ff-display);color:var(--ff-gold)}
.tw-timer-off{font-size:14px;color:var(--ff-ink-3)}
.tw-onward{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}
.tw-onward a{text-align:center;white-space:normal}
.tw-sum{color:var(--ff-gold);font-weight:700}
.tw-frame-high{max-width:360px;margin-left:auto;margin-right:auto}
.tw-shots-just .ff-kwhgl{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
/* frames keep the proportions of the file: no crop by a fixed box */
.ff-i922w,.ff-uw3tt,.ff-wbeqv,.ff-ktqcz,.ff-hcq3x,.ff-p58oc,.ff-vdujs,.ff-bwnjs,.ff-egbuj{aspect-ratio:auto;height:auto}
.ff-0r0k1,.ff-kkolt{align-items:flex-start}
.tw-single{grid-template-columns:minmax(0,1fr)}
[data-ff-act="klrun"][hidden]{display:none}
.ff-7zrka,.ff-tf634{max-width:100%}
.ff-51f5i{overflow-wrap:anywhere}
@media (max-width:600px){.tw-crew-row{justify-content:flex-start}}

/* ── semantics: lists, definition lists and headings replaced divs and spans; the look stays as it was ──
   tw-rows: no bullets, no indent; tw-colm: a column that keeps the gap of the card around it;
   :where(.tw-hd) has zero specificity, so every class rule of a title (size, weight, colour) wins over it */
:where(.tw-hd){margin:0;font:inherit}
.tw-rows{list-style:none;margin:0;padding:0}
.tw-colm{display:flex;flex-direction:column;gap:inherit}
.tw-defs,.tw-defs dt,.tw-defs dd{margin:0}
.tw-lia{display:flex;min-width:0}
.tw-lia>a{flex:1 1 auto;min-width:0}
/* a partner link inside running text: the small button, sized to sit in a line of text */
.tw-flow2-press{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 16px;margin:2px;font-size:14px;line-height:1.25;vertical-align:middle}
main a.tw-flow2-press{white-space:nowrap;text-align:center}

/* dock without the offer text (PAGE "dock": "plain") */
.tw-tray.tw-tray-bare{width:auto;padding:8px;left:auto;right:14px;transform:none}
/* studio logo drawn in dark ink: light pill under it (list DARK_LOGOS in render.py) */
.tw-studio.tw-studio-light{background:#EEF1F6;border-color:#EEF1F6}
/* vector logos carry no size of their own: without a fixed height they collapse to zero width inside the pill */
.tw-studio img[src$=".svg"]{height:26px;max-height:none;width:auto;max-width:none}
.tw-studio.tw-studio-high img[src$=".svg"]{height:38px}
@media (max-width:600px){.tw-studio img[src$=".svg"]{height:20px}.tw-studio.tw-studio-high img[src$=".svg"]{height:30px}}
/* frame of a document (register, certificate): shown as an inserted sheet */
.tw-frame-paper{max-width:900px;padding:14px;background:var(--ff-panel);border:1px solid var(--ff-line-hi);border-radius:var(--ff-r-card)}
.tw-frame-paper .ff-egbuj{border:0;border-radius:10px}
.tw-frame-paper figcaption{padding:2px 4px 0}

/* ── phone: denser bands, rows that scroll sideways instead of tall columns ── */
@media (max-width:600px){
  .ff-aozdi{padding:28px 16px}
  .ff-o97lt{gap:16px}
  .tw-floor-wrap{gap:22px;padding-top:32px}
  .ff-fwdeb{display:flex;overflow-x:auto;gap:10px;padding-bottom:8px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .ff-fwdeb>.ff-eum55{flex:0 0 132px;scroll-snap-align:start}
  .tw-studios{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}
  .tw-studio{flex:0 0 auto}
  .ff-22fra{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ff-22fra .ff-l7kgf{padding:10px;gap:8px;align-items:flex-start;min-width:0}
  .ff-22fra .ff-0t60c,.ff-22fra .ff-zp3dd{width:30px;height:30px;font-size:11px;border-width:1px}
  .ff-22fra .ff-y4xam{font-size:13.5px}
  .ff-22fra .ff-hl4qb{font-size:12px}
  .ff-22fra .ff-vv15i{min-width:0;overflow-wrap:anywhere}
  .tw-state{padding:18px 16px}
  .tw-frame-paper{padding:8px}
}

/* ── base (footer) ── */
.tw-floor{border-top:1px solid var(--ff-panel);background:var(--ff-night);font-family:var(--ff-text)}
.tw-floor-wrap{max-width:1200px;margin:0 auto;padding:56px 24px 40px;display:flex;flex-direction:column;gap:34px}
.tw-floor-head{display:grid;grid-template-columns:minmax(240px,300px) 1fr;gap:56px}
.tw-floor-id{display:flex;flex-direction:column;gap:16px}
.tw-floor-mark{display:inline-block}
.tw-floor-blurb{margin:0;font-size:14px;line-height:1.6;color:var(--ff-ink-3)}
.tw-floor-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tw-floor-mail{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:var(--ff-r-pill);background:var(--ff-panel);color:var(--ff-ink-2)}
.tw-floor-mail:hover{color:var(--ff-flame)}
.tw-floor-seen{font-size:13px;color:var(--ff-ink-3)}
.tw-floor-seen::before{content:"✓";color:var(--ff-ok-hi);font-weight:700;margin-right:6px}
.tw-floor-cols{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.tw-floor-col{display:flex;flex-direction:column;gap:11px;min-width:0}
.tw-floor-cap{font:800 11px var(--ff-text);letter-spacing:.12em;text-transform:uppercase;color:var(--ff-ink-3);margin-bottom:4px}
.tw-floor-col a{font-size:13.5px;font-weight:600;line-height:1.35;color:var(--ff-ink);text-decoration:none}
.tw-floor-col a:hover{color:var(--ff-flame);text-decoration:none}
.tw-floor-care{display:flex;gap:22px;align-items:flex-start;padding:26px 28px;border-radius:var(--ff-r-card);background:var(--ff-panel)}
.tw-floor-age{flex:0 0 auto;width:54px;height:54px;border-radius:50%;border:2px solid var(--ff-ink-3);color:var(--ff-ink);display:flex;align-items:center;justify-content:center;font:800 16px var(--ff-text)}
.tw-floor-care-body{display:flex;flex-direction:column;gap:10px;min-width:0}
.tw-floor-care-title{font:800 20px var(--ff-display);color:var(--ff-ink)}
.tw-floor-care-body p{margin:0;max-width:780px;font-size:14.5px;line-height:1.6;color:var(--ff-ink-3)}
.tw-floor-care-links,.tw-floor-tags,.tw-floor-pays{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tw-floor-care-links{margin-top:6px}
.tw-floor-tag{display:inline-flex;align-items:center;padding:7px 14px;border-radius:var(--ff-r-pill);background:var(--ff-panel);font-size:12.5px;font-weight:600;color:var(--ff-ink-3);white-space:nowrap}
a.tw-floor-tag-link{color:var(--ff-ink);text-decoration:none;background:var(--ff-line-hi)}
a.tw-floor-tag-link:hover{color:var(--ff-flame);text-decoration:none}
.tw-floor-strip{display:flex;justify-content:space-between;align-items:center;gap:16px 24px;flex-wrap:wrap;padding-top:26px;border-top:1px solid var(--ff-panel)}
.tw-floor-pays{gap:22px}
.tw-floor-pay img{display:block;height:22px;width:auto}
.tw-floor-foot{display:flex;flex-direction:column;gap:14px}
.tw-floor-legal{margin:0;max-width:860px;font-size:12.5px;line-height:1.65;color:var(--ff-ink-4)}
.tw-floor-legal a,.tw-floor-copyr a{color:var(--ff-ink-3);text-decoration:underline;text-underline-offset:3px}
.tw-floor-copyr{font-size:13px;color:var(--ff-ink-3)}
@media (max-width:980px){.tw-floor-head{grid-template-columns:1fr;gap:36px}.tw-floor-cols{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.tw-floor-wrap{padding:40px 16px 96px;gap:28px}.tw-floor-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}
  .tw-floor-care{flex-direction:column;gap:14px;padding:22px 18px}.tw-floor-strip{flex-direction:column;align-items:flex-start}}

/* узкий кадр (телефонная вырезка): не растягивается на колонку, ширина — в style по размеру файла */
.tw-frame-tight{align-self:flex-start;width:100%}

/* ══ critic pass 4 (pages-v1) ══ */
/* first screen of inner pages: text and button on the left, picture of the page on the right */
.tw-intro{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:44px;align-items:center}
.tw-intro-pic img{display:block;width:100%;border-radius:var(--ff-r-card);border:1px solid var(--ff-line-hi);box-shadow:0 24px 50px rgba(0,0,0,.45)}
.tw-intro-cta{padding-top:4px}
@media (max-width:900px){.tw-intro{grid-template-columns:minmax(0,1fr);gap:22px}}
/* hero: no brown glow in the corner; the longer lead keeps the button where v1 had it */
.ff-np136{background:radial-gradient(1100px 640px at 82% 18%,rgba(var(--ff-royal-rgb),.55),transparent 64%),radial-gradient(700px 420px at 0% 100%,rgba(var(--ff-royal-rgb),.2),transparent 60%),var(--ff-night)}
.ff-6tdvc{font-size:16.5px;line-height:1.5}
.ff-kfygt{gap:12px}
/* narrow frame next to the text of its band; alone — centred on a panel */
.tw-aside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,390px);gap:36px;align-items:start}
.tw-aside>.tw-flow{max-width:none}
.tw-frame-scene{display:flex;justify-content:center;background:var(--ff-panel);border-radius:var(--ff-r-card);padding:22px}
.tw-frame-scene>figure{margin:0}
@media (max-width:820px){.tw-aside{grid-template-columns:minmax(0,1fr);gap:16px}.tw-aside>figure{margin:0 auto}}
/* partner button + site link in one row, one height */
.tw-press-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tw-press-row>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 20px;font-size:14px;line-height:1.2}
/* catalogue of offers: outline button on secondary cards, no forced card height */
a.ff-rcsl6.tw-pale{background:transparent;border:1px solid var(--ff-line-hi);color:var(--ff-ink)}
.ff-1tk4o{min-height:0}
/* game grid follows the number of tiles */
@media (min-width:861px){.ff-fwdeb.tw-g4{grid-template-columns:repeat(4,minmax(0,1fr))}.ff-fwdeb.tw-g5{grid-template-columns:repeat(5,minmax(0,1fr))}
  .ff-fwdeb.tw-g6{grid-template-columns:repeat(6,minmax(0,1fr))}.ff-fwdeb.tw-g7{grid-template-columns:repeat(7,minmax(0,1fr))}}
/* tile grids: no orphan in the last row (columns by the number of tiles) */
@media (min-width:1000px){
  :is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2):has(>:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}
  :is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2):has(>:nth-child(6):last-child),:is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2):has(>:nth-child(9):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
  :is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2):has(>:nth-child(10):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}
  :is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2):has(>:nth-child(7):last-child),:is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2):has(>:nth-child(11):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
  :is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2):has(>:nth-child(7):last-child)>:last-child,:is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2):has(>:nth-child(11):last-child)>:last-child{grid-column:span 2}
}
/* two content widths: full (1152) and reading (880) */
.tw-flow,.ff-qfdbt,.ff-6izu1,.ff-42mry,.ff-tqpfx,.ff-rpzxj,.ff-ly36k,.ff-rfneh{max-width:880px}
.tw-flow.tw-broad,.tw-aside>.tw-flow{max-width:none}
.tw-state{max-width:936px}
/* verdict + contents: equal height, chips 2×2; plain-words columns keep their own height, green ticks under «Allowed» */
.ff-u7mk7{align-items:stretch}
.ff-rcq91{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-ff-block="B20"] .ff-a0jb2{align-items:start}
.ff-rj19v{background:var(--ff-ok)}
/* one table style: the prose table takes the look of the dark one */
.tw-tbl-roll{background:var(--ff-panel);border-color:transparent}
.tw-flow th{background:transparent;border-bottom:1px solid var(--ff-line)}
/* a table wider than the screen: hint and fading right edge (fun.js sets tw-glide when it really scrolls) */
.tw-glide-tip2{display:block;margin:0 0 6px;font-size:12.5px;font-weight:600;color:var(--ff-ink-3)}
.tw-glide{-webkit-mask-image:linear-gradient(90deg,#000 80%,transparent);mask-image:linear-gradient(90deg,#000 80%,transparent)}
.tw-glide.tw-glide-tail{-webkit-mask-image:none;mask-image:none}
/* promotion art in tiles: the character on the right edge of the tile */
.tw-gifts .tw-gift img[src*="/promo/"]{width:auto;height:150px;margin:auto 0 0 auto;border-top-left-radius:14px}
/* studio logos: one height */
.tw-studio img,.tw-studio.tw-studio-high img{max-height:24px}
.tw-studio img[src$=".svg"]{height:24px}
.tw-studio.tw-studio-high img[src$=".svg"]{height:30px}
.tw-studio.tw-studio-light img{max-height:36px}
.tw-studio.tw-studio-light img[src$=".svg"]{height:40px}
.tw-floor-cols{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:980px){.tw-floor-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){
  /* hero of the home page: button above the deposit chips so that it is whole on a 390×844 screen */
  .ff-6tdvc{font-size:15px;line-height:1.45}
  .ff-kfygt>.ff-znqyb{order:2}
  .ff-kfygt>.ff-htdfg{order:3}
  /* 2–3 column tables fit the screen */
  .tw-snug table{min-width:0}
  .tw-snug th,.tw-snug td{padding:11px 9px;overflow-wrap:break-word;font-size:14px}
  .tw-snug th{font-size:11px}
  .tw-flow th,.tw-flow td{overflow-wrap:break-word}
  /* checklist: the link pill goes under the text */
  .ff-t2rbk{grid-template-columns:44px minmax(0,1fr)}
  .ff-t2rbk>a{grid-column:2;justify-self:start}
  /* dock: two lines instead of an ellipsis; the lone button sits in the middle */
  .tw-tray{padding:8px 8px 8px 16px;gap:10px;border-radius:22px}
  .tw-tray-say{white-space:normal;overflow:visible;font-size:13px;line-height:1.25}
  .tw-tray-go{padding:10px 18px}
  .tw-tray.tw-tray-bare{left:50%;right:auto;transform:translateX(-50%);border-radius:var(--ff-r-pill);padding:6px}
  /* glossary: a row that scrolls sideways instead of a tall column */
  .ff-oif2o{display:flex;overflow-x:auto;gap:10px;padding-bottom:8px;scroll-snap-type:x proximity}
  .ff-oif2o>*{flex:0 0 240px;scroll-snap-align:start}
  .tw-gifts .tw-gift img[src*="/promo/"]{height:120px}
  .tw-frame-scene{padding:12px}
}

/* ══ critic pass 5 (pages-v2) ══ */
/* first screen of inner pages: key figures of the page (or the steps the anchor leads to) instead of a picture */
.tw-intro-aside{min-width:0}
.tw-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.tw-stat{background:rgba(var(--ff-night-rgb),.55);border:1px solid var(--ff-line-hi);border-radius:var(--ff-r-card);padding:16px 18px;display:flex;flex-direction:column;gap:4px;min-width:0}
.tw-stat dt{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ff-ink-3)}
.tw-stat dd{margin:0;display:flex;flex-direction:column;gap:2px}
.tw-stat-value{font:800 22px/1.15 var(--ff-display);color:var(--ff-gold);overflow-wrap:anywhere}
.tw-stat-no{font-size:13px;line-height:1.4;color:var(--ff-ink-2)}
.tw-stats:has(>:nth-child(3):last-child)>:last-child{grid-column:1/-1}
.tw-route{background:rgba(var(--ff-night-rgb),.55);border:1px solid var(--ff-line-hi);border-radius:var(--ff-r-card);padding:20px 22px;display:flex;flex-direction:column;gap:14px}
.tw-route-note2{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ff-ink-3)}
.tw-route ol{display:flex;flex-direction:column;gap:10px}
.tw-route li{display:flex;gap:12px;align-items:center;font-weight:600;color:var(--ff-ink)}
.tw-route-no{flex:0 0 28px;height:28px;border-radius:50%;background:var(--ff-royal);display:flex;align-items:center;justify-content:center;font:800 13px var(--ff-display)}
/* one solid button per block; the bar is narrower and steps aside (fun.js) while another button is in view */
a.ff-1h4ir.tw-pale{background:transparent;border:1px solid var(--ff-line-hi);color:var(--ff-ink)}
.tw-tray{max-width:520px}
.ff-ue9gs[hidden]{display:none}
/* promotion art: full height of the tile on its right edge, fading into the tile */
.tw-gifts .tw-gift:has(img[src*="/promo/"]){padding:18px 46% 18px 18px;min-height:170px}
.tw-gifts .tw-gift img[src*="/promo/"]{position:absolute;right:0;top:0;width:44%;height:100%;margin:0;object-fit:cover;border-radius:0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 40%);mask-image:linear-gradient(90deg,transparent,#000 40%)}
.ff-1tk4o.tw-with-pic{position:relative;overflow:hidden;padding-right:38%}
.tw-tile2-pic{position:absolute;right:0;top:0;width:36%;height:100%;object-fit:cover;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 42%);mask-image:linear-gradient(90deg,transparent,#000 42%)}
.ff-1t5nz{color:var(--ff-ink-2)}
/* tile headings in one colour (gold stays for figures, orange for links and buttons) */
.ff-xnk15 .ff-uull1,.ff-xnk15 .ff-x3m67,.ff-xnk15 .ff-yb7m2,.ff-o0a48 .ff-yb7m2,.ff-sqcno .ff-uull1{color:var(--ff-ink)}
.ff-zp3dd{background:var(--ff-royal)}
/* one grid: blocks take the full width, running text keeps the reading width (880) */
.ff-6izu1,.ff-42mry,.tw-state{max-width:none}
.ff-ad8xh{max-width:880px}
.tw-state .tw-flow{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 32px;align-items:start}
.tw-state .tw-flow>p:last-child{grid-column:1/-1}
@media (max-width:900px){.tw-state .tw-flow{grid-template-columns:minmax(0,1fr)}}
.ff-77u04{font-size:16px;line-height:1.55}
.ff-u7mk7{align-items:start}
.ff-9sgse,.ff-8czw3{color:var(--ff-gold)}
.ff-o15yc{align-items:center}
/* narrow frame with the text of its band: one panel, text centred against the frame */
.tw-aside{background:var(--ff-panel);border-radius:var(--ff-r-card);padding:24px 28px;align-items:center;grid-template-columns:minmax(0,1fr) minmax(0,320px)}
@media (min-width:1000px){
  /* 7 and 11 tiles: 4 in a row, the short last row centred, nothing stretched */
  :is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2,.ff-oif2o,.tw-onward):has(>:nth-child(7):last-child),:is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2,.ff-oif2o,.tw-onward):has(>:nth-child(11):last-child){display:flex;flex-wrap:wrap;justify-content:center}
  :is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2,.ff-oif2o,.tw-onward):has(>:nth-child(7):last-child)>*,:is(.ff-buyyk,.ff-b2658,.ff-22fra,.ff-a0jb2,.ff-oif2o,.tw-onward):has(>:nth-child(11):last-child)>*{flex:0 1 calc((100% - 45px)/4);grid-column:auto}
  :is(.ff-oif2o,.tw-onward):has(>:nth-child(6):last-child),:is(.ff-oif2o,.tw-onward):has(>:nth-child(9):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
  :is(.ff-oif2o,.tw-onward):has(>:nth-child(5):last-child),:is(.ff-oif2o,.tw-onward):has(>:nth-child(10):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}
  /* third-party ratings: the figures on the right fill the height of the score card */
  [data-ff-block="B44"] .ff-v823l{height:100%}
  [data-ff-block="B44"] .ff-fs76t{flex:1;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr}
}
@media (max-width:900px){.tw-aside{padding:16px;grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){
  .ff-a2s8x{font-size:16px;line-height:1.5}
  .tw-stat{padding:12px}
  .tw-stat-value{font-size:18px}
  .tw-gifts:has(img[src*="/promo/"]){grid-template-columns:minmax(0,1fr)}
  .tw-gifts:has(img[src*="/promo/"]) .tw-gift:last-child{grid-column:auto}
  .tw-gifts .tw-gift:has(img[src*="/promo/"]){min-height:130px}
  .ff-1tk4o{padding:16px}
  .ff-22fra>:last-child:nth-child(odd){grid-column:1/-1}
  /* prize tiles: a row that scrolls sideways instead of a tall column */
  .ff-b2658{display:flex;overflow-x:auto;gap:10px;padding-bottom:8px;scroll-snap-type:x proximity}
  .ff-b2658>*{flex:0 0 210px;scroll-snap-align:start}
}

/* ══ critic pass 6 ══ */
/* promotion art is the operator's original 600×600 picture: cover, focus on the character's face, never upscaled */
.tw-gifts .tw-gift img[src*="/promo/"],.tw-tile2-pic{object-fit:cover;object-position:50% 22%;max-height:600px}
.ff-1tk4o.tw-with-pic{padding-right:44%}
.tw-tile2-pic{width:42%}
/* card head with art: the title wraps inside its own column, the label and the heart stay clear of the art */
.tw-with-pic .ff-rzluf{align-items:flex-start;gap:8px}
.tw-with-pic .ff-wqxim{flex:1 1 0;min-width:0}
.tw-with-pic .ff-19knf{flex:0 0 auto}
/* key figures: a long value is not broken, it gets a smaller size and both columns */
.tw-stats{grid-auto-flow:dense}
.tw-stat-value{overflow-wrap:normal}
.tw-stat-broad{grid-column:1/-1}
.tw-stat-broad .tw-stat-value{font-size:19px;white-space:nowrap}
.tw-route-pip{flex:0 0 10px;height:10px;margin:0 9px;border-radius:50%;background:var(--ff-flame)}
/* short answer as a list of its sentences */
.tw-reply-rows{display:flex;flex-direction:column;gap:6px;font-size:16px;line-height:1.5;color:var(--ff-ink)}
.tw-reply-rows li{position:relative;padding-left:18px}
.tw-reply-rows li::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--ff-gold)}
/* narrow frame in the text panel: not taller than 260 px on a wide screen */
@media (min-width:1000px){
  .tw-aside{grid-template-columns:minmax(0,1fr) auto}
  .tw-aside>figure .ff-egbuj{height:260px;width:282px;max-width:100%;object-fit:contain}
  /* catalogue: an incomplete last row is centred */
  .ff-w1xnk{display:flex;flex-wrap:wrap;justify-content:center}
  .ff-w1xnk>*{flex:0 1 calc((100% - 28px)/3)}
  /* a percentage padding is taken from the width of the flex container, not of the card: fixed art column instead */
  .ff-w1xnk>.ff-1tk4o.tw-with-pic{padding-right:150px}
  .ff-w1xnk>.ff-1tk4o.tw-with-pic .tw-tile2-pic{width:140px}
}
/* dock on a wide screen: bottom right corner, off the table rows */
@media (min-width:1100px){.tw-tray{left:auto;right:18px;transform:none;width:auto;max-width:440px}}
@media (max-width:600px){
  .tw-stat-broad .tw-stat-value{font-size:16.5px}
  [data-ff-block="B45"] .ff-kwhgl{grid-template-columns:minmax(0,1fr)}
  [data-ff-block="B44"] .ff-fs76t{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  [data-ff-block="B44"] .ff-b1l8y{padding:10px 8px;min-width:0}
  [data-ff-block="B44"] .ff-6g3fh{font-size:17px}
  .ff-pjjqp{grid-template-columns:minmax(0,1fr)}
}

/* шапка карточки акции: длинное название не уезжает под метку — метка и сердечко переносятся на свою строку */
.ff-rzluf{flex-wrap:wrap;row-gap:6px}
.ff-rzluf .ff-wqxim{flex:1 1 auto;min-width:min-content}

/* ══ restructure pass (11.10) ══ */
/* catalogue fold of B21: the first cards stay in the page, the rest sit in a native <details> */
.tw-collapse{margin-top:14px}
.tw-collapse>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content;margin:0 auto;padding:12px 26px;border:1px solid var(--ff-line-hi);border-radius:var(--ff-r-pill);color:var(--ff-ink);font:700 15px var(--ff-text);background:var(--ff-panel)}
.tw-collapse>summary::-webkit-details-marker{display:none}
.tw-collapse>summary::after{content:"\25BE"}
.tw-collapse[open]>summary::after{content:"\25B4"}
.tw-collapse>summary:hover{border-color:var(--ff-gold)}
.tw-collapse>ul{margin-top:14px}
/* art with a drawn sign (Third Deposit Bonus «BONUS», Weekly Cashback «CASHBACK»): shown whole in the frame, never cut through the letters */
.tw-tile2-pic[src*="third-deposit-bonus-art"],.tw-tile2-pic[src*="weekly-cashback-art"]{object-fit:contain;object-position:100% 100%;-webkit-mask-image:none;mask-image:none}
/* floating bar on a wide screen: the text wraps instead of ending in an ellipsis */
@media (min-width:1100px){.tw-tray-say{white-space:normal;overflow:visible;text-overflow:clip;font-size:13.5px;line-height:1.25}.tw-tray{max-width:400px;padding-left:18px}}
/* key figures: four of them are an even 2x2 grid, long values wrap inside their tile */
.tw-stats-equal .tw-stat-value{white-space:normal;font-size:19px;overflow-wrap:normal}
@media (max-width:600px){.tw-stats-equal .tw-stat-value{font-size:16.5px}}
/* contents next to the verdict card: the same height */
.ff-u7mk7{align-items:stretch}
/* stacked sub-block that replaced a lone text band: a quiet divider above its h3 */
.tw-under{margin-top:28px;padding-top:22px;border-top:1px solid var(--ff-line)}

/* editorial score (B17 with overall / basis): ring with the number, criteria with their basis, pros / cons lists */
.tw-grading{display:flex;flex-direction:column;gap:14px}
.tw-grade-head{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.tw-grade-text{display:flex;flex-direction:column;gap:8px;flex:1 1 260px;min-width:0}
.tw-grade-row{font-size:14px;line-height:1.5;color:var(--ff-ink-2)}
.tw-dial{position:relative;width:132px;height:132px;flex:none}
.tw-dial svg{display:block;width:100%;height:100%}
.tw-dial-back{fill:none;stroke:var(--ff-line-hi);stroke-width:10}
.tw-dial-front{fill:none;stroke:var(--ff-flame);stroke-width:10;stroke-linecap:round}
.tw-dial-figure{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;line-height:1}
.tw-dial-amount{font-family:var(--ff-display);font-weight:900;font-size:36px;color:var(--ff-ink)}
.tw-dial-from{font-size:12px;font-weight:600;color:var(--ff-ink-3)}
.tw-rubric{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px 32px;margin-top:4px}
.tw-rubric-item{display:flex;flex-direction:column;gap:7px;min-width:0}
.tw-rubric-hd{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:15px}
.tw-rubric-label{font-weight:700;color:var(--ff-ink)}
.tw-rubric-points{font-family:var(--ff-display);font-weight:800;font-size:17px;white-space:nowrap}
.tw-rubric-from{font-family:var(--ff-text);font-size:12px;font-weight:600;color:var(--ff-ink-3)}
.tw-rubric-ground{font-size:13px;line-height:1.5;color:var(--ff-ink-3)}
.tw-plusminus{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px}
.tw-plus-case,.tw-minus-case{min-width:0}
.tw-plus,.tw-minus{margin:0;padding:0;gap:10px}
.tw-plus li,.tw-minus li{line-height:1.45}
@media (max-width:600px){.tw-dial{width:112px;height:112px}.tw-dial-amount{font-size:30px}.tw-grade-head{gap:16px;flex-wrap:nowrap;align-items:flex-start}.tw-grade-text{flex:1 1 0}.tw-grade-row{font-size:13px}}

/* table fold: the first rows stay in the page, the rest sit in a native <details> under the same panel */
.tw-ft{table-layout:fixed}
.tw-ft th,.tw-ft td{overflow-wrap:anywhere}
.tw-tcollapse-panel .tw-tcollapse{margin:0;padding:14px 0 16px;border-top:1px solid var(--ff-line)}
.tw-tcollapse-panel .tw-tcollapse>table{margin-top:14px}
.tw-tcollapse-panel .tw-tcollapse:not([open]){padding-bottom:16px}
.tw-voice{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tw-voice th{padding:0;border:0}

/* what players report: one card per third-party source */
.tw-cites{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:14px;margin:0;padding:0}
@media (min-width:900px){.tw-cites-4{grid-template-columns:repeat(2,minmax(0,1fr))}.tw-cites-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.tw-cite{min-width:0}
.tw-cite-points2{gap:9px;margin:2px 0 0;padding:0}
.tw-cite-points2 li{position:relative;padding-left:16px;font-size:14px;line-height:1.5;color:var(--ff-ink-2)}
.tw-cite-points2 li::before{content:"";position:absolute;left:2px;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--ff-flame)}
.tw-cite-hook2{margin-top:auto;padding-top:8px}

/* блок редакционной оценки: панель и полоса критерия */
.tw-grade{display:flex;flex-direction:column;gap:20px}
.tw-rubric-meter{margin-top:6px}

/* портрет автора в строке подписи */
.tw-crew-portrait{object-fit:cover;padding:0;height:56px}
.tw-crew-pic-lg{width:120px;height:120px}

/* ───────── Thai typography (do not remove): no capitals, no tracking, taller lines for tone marks ───────── */
html:lang(th) body{font-family:var(--ff-text);line-height:1.6;word-break:normal;overflow-wrap:break-word}
*,*::before,*::after{text-transform:none!important;letter-spacing:normal!important}
p,li,td,th,dd,dt,summary,figcaption,blockquote,label{line-height:1.6!important}
h1,h2,h3,h4,h5,h6,h1 *,h2 *,h3 *,h4 *,h5 *,h6 *{line-height:1.35!important}
img{height:auto}

/* ══ fixpack: whole art tiles, first-screen art, image rows ══ */
.tw-gifts-whole{grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr))}
.tw-gift.tw-gift-whole{padding:16px 16px 0;gap:8px}
.tw-gift.tw-gift-whole img{width:100%;height:auto;max-width:100%;margin:6px 0 0;object-fit:contain;border-radius:10px 10px 0 0;-webkit-mask-image:none;mask-image:none;position:static}
.tw-aside-stack{display:flex;flex-direction:column;gap:12px}
.tw-hero-art{display:block}
.tw-hero-art img{display:block;width:100%;height:auto;border-radius:var(--ff-r-card);border:1px solid var(--ff-line-hi)}
.tw-hero-mosaic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tw-hero-mosaic img{border-radius:12px;max-width:287px}
@media (max-width:900px){.tw-hero-mosaic{grid-template-columns:repeat(3,minmax(0,1fr))}}
.tw-pics{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}
.tw-pics figure{margin:0}
.tw-gifts-whole{grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--ff-gmin,380px)),1fr))}
.tw-rhythm{margin-top:20px}
/* operator form cut-outs: natural proportions, never stretched into the fixed phone-frame box */
.tw-aside>figure .ff-egbuj[src*="/form-"]{height:auto;width:100%;max-width:100%;object-fit:contain}
