/* Siam855 tokens: final palette, radii and font stacks of the design (14.10.2026). sj-tokens.css (linked after this file) holds the
   @font-face blocks and the few home-only tokens. Colours, fonts and radii are used ONLY through these variables. */
:root{
  /* Siam855 palette (designer, 14.10.2026): pixel samples of the operator's home capture (_cache/operator/pages/th_th/first-d.png):
     header #000000, page #22242a, sign-up button #c30be3→#d600e3, logo violet #a54e9e, gold accent of the menu #f8c05a.
     Our values lean darker and cooler than the operator's grey, the magenta is the action colour, gold is for sums only. */
  --sj-night:#110f16;--sj-night-rgb:17,15,22;--sj-night-2:#17141e;--sj-well:#0c0a10;
  --sj-panel:#1d1926;--sj-raise:#262031;--sj-line:#312a3d;--sj-line-hi:#4a3f5b;
  --sj-ink:#f7f4fb;--sj-ink-2:#ddd6e8;--sj-ink-3:#aea5bd;--sj-ink-4:#8b819c;
  --sj-flame:#e463f6;--sj-flame-deep:#b70fd5;--sj-flame-hi:#f29bff;--sj-flame-rgb:214,0,227;--sj-on-flame:#ffffff;
  --sj-gold:#f8c05a;--sj-amber:#f0a73a;--sj-royal:#8b5cf6;--sj-royal-rgb:139,92,246;
  --sj-ok:#2fbf71;--sj-ok-hi:#63e3a0;--sj-alert:#ff7d8c;
  --sj-ember:#221a2c;--sj-ember-line:#3b2e4a;--sj-dusk:#1d1926;
  --sj-c-bronze:#cd8f55;--sj-c-silver:#bdb7c9;--sj-c-cyan:#45d0de;--sj-c-violet:#b58cff;--sj-c-blue:#6fa8ff;--sj-c-wine:#2c1f37;
  --sj-r-pill:1000px;--sj-r-card:18px;--sj-r-tile:14px;
  /* Thai faces: Kanit (display, one weight file declared for 500–900) and Noto Sans Thai Looped (text, variable 400–700);
     @font-face blocks live in sj-tokens.css, every subset of a family declares the same weight range (typo_check.py). */
  --sj-display:"Kanit","Noto Sans Thai Looped","Leelawadee UI",Tahoma,sans-serif;
  --sj-text:"Noto Sans Thai Looped","Leelawadee UI",Tahoma,sans-serif;
}
html,body{margin:0;padding:0;background:var(--sj-night)}
html{scroll-behavior:smooth}
*{box-sizing:border-box}
a{color:var(--sj-flame);text-decoration:none}
a:hover{color:var(--sj-flame-hi);text-decoration:underline}
table{border-collapse:collapse}
figure{margin:0}
button{font-family:var(--sj-text)}
:where(main,.sm-orchid,.sm-pancake,.sm-marsh) img{height:auto;max-width:100%}
.sm-currant{font-weight:700}
.sm-clay .sm-currant{color:var(--sj-ink)}

/* links styled as buttons */
.sm-ocelot{display:inline-block;text-decoration:none!important}
.sz-4gpn8,.sz-nccs2{display:inline-block}
a.sz-wpex3:hover,a.sz-fpxlv:hover,a.sz-yy9hj:hover,a.sz-4gpn8:hover,a.sz-nccs2:hover,.sm-flint-marble:hover,.sm-rosemary-mussel:hover{color:var(--sj-on-flame)!important;text-decoration:none!important;background:var(--sj-flame)}
a.sz-1w0oa:hover{color:var(--sj-ink);text-decoration:none}
.sm-ocelot.sz-qgc8u,.sm-ocelot.sz-rwrol{line-height:normal}
.sm-ocelot.sz-25t5k{line-height:1.4}
a.sm-ocelot.sz-1g84h{display:flex}
.sz-25t5k:hover,.sz-qgc8u:hover{color:var(--sj-ink)}

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

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

/* ── first screen ── */
.sz-6h3gh{background:radial-gradient(1100px 640px at 82% 18%,rgba(var(--sj-royal-rgb),.55),transparent 64%),radial-gradient(700px 420px at 0% 100%,rgba(var(--sj-flame-rgb),.10),transparent 60%),var(--sj-night);border-top:0;overflow:hidden}
.sz-0c9c3{font-size:clamp(32px,4vw,50px);line-height:1.4;font-weight:800}
.sz-by1vh{align-items:start}
.sz-d70g6{font-weight:800}
.sz-e346u{color:#E0E1E4;font-weight:500}
.sz-fi9r7{background:linear-gradient(120deg,rgba(var(--sj-royal-rgb),.32),rgba(var(--sj-royal-rgb),.08) 70%),var(--sj-well);border-color:var(--sj-line-hi)}
.sz-2g7hs{box-shadow:var(--sj-gold) 0 0 0 3px,rgba(0,0,0,.5) 0 10px 30px}
.sz-wei0d{color:var(--sj-gold);font-size:28px}
.sz-q7tui{background:var(--sj-panel);color:var(--sj-ink-2)}
.sz-fsjv0{background:var(--sj-ok-hi);box-shadow:0 0 0 4px rgba(9,228,31,.18)}
.sz-r0ffv{aspect-ratio:1/0.92}
.sz-6h3gh>.sz-kxqg1{padding-top:40px}
.sz-9ivgy{gap:28px}
.sz-98vwe{gap:16px}
@media (max-width:600px){.sz-fi9r7{flex-wrap:nowrap;gap:14px;padding:14px}.sz-2g7hs{width:84px;height:84px}.sz-wei0d{font-size:22px}.sz-t925c{font-size:6.5px}.sz-d70g6{font-size:40px}.sz-okwjq{font-size:18px}.sz-e346u{font-size:16px}.sz-1lgif{display:flex;flex-direction:column;gap:10px}.sz-1lgif>a{text-align:center}}
.sm-grape-jade{position:absolute;top:0;left:-3%;width:106%;max-width:none;display:block;filter:drop-shadow(0 24px 40px rgba(0,0,0,.45))}
.sm-grape-dune{position:absolute;left:0;bottom:3%;width:66%;border-radius:var(--sj-r-card);border:1px solid var(--sj-line-hi);transform:rotate(-3deg);box-shadow:0 30px 60px rgba(0,0,0,.55);display:block;cursor:zoom-in}
.sm-grape-pagoda{position:absolute;right:4%;bottom:0;width:27%;border-radius:18px;border:4px solid var(--sj-line-hi);transform:rotate(4deg);box-shadow:0 30px 60px rgba(0,0,0,.6);display:block}
.sm-grape-jaguar{position:absolute;left:50%;top:9%;width:24%;aspect-ratio:1/1;margin-left:-12%;border-radius:50%;background:var(--sj-flame-deep);box-shadow:var(--sj-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.4;text-align:center;color:var(--sj-on-flame)}
.sm-grape-jaguar .sz-lo67w{font-weight:800}
.sm-grape-jaguar .sz-ccdz4{display:block;max-width:86%;margin:2px auto 0;line-height:1.4}
.sz-1iwry{flex-wrap:nowrap;align-items:center}
main.sm-ridge-stream>div:first-child{overflow:hidden}
@media (min-width:1000px){.sz-6h3gh .sz-if6bd{padding:6px 11px;font-size:12.5px}}
@media (max-width:600px){.sz-6h3gh>.sz-kxqg1{padding-top:28px}.sz-kxqg1{padding:48px 16px}}

/* number chips, eyebrows, section heads */
.sz-rdk0l{background:var(--sj-flame-deep);box-shadow:var(--sj-flame-deep) 0 0 0 2px}
.sz-yi6lx{background:var(--sj-royal);box-shadow:var(--sj-royal) 0 0 0 2px}
.sz-p2e0a{color:var(--sj-flame)}
.sz-hijd8{background:var(--sj-night);border-top:1px solid var(--sj-panel)}
.sz-fxbpd{background:var(--sj-night-2);border-top:1px solid var(--sj-panel)}
.sz-nc86k{background:linear-gradient(135deg,var(--sj-dusk) 0%,var(--sj-night) 70%);border-top:1px solid var(--sj-panel)}

/* ── game tiles, studios, payment marks ── */
a.sm-birch-shrine{color:inherit;text-decoration:none}
a.sm-birch-shrine:hover{color:inherit;text-decoration:none}
a.sm-birch-shrine:hover .sz-2ecsk{outline:2px solid var(--sj-flame);outline-offset:-2px}
.sz-ru98g{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:860px){.sz-ru98g{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}
.sm-guava,.sm-algae{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.sm-thicket,.sm-jaguar{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 18px;background:var(--sj-panel);border:1px solid var(--sj-line);border-radius:var(--sj-r-pill)}
.sm-thicket img{height:auto;width:auto;max-height:26px;max-width:120px;display:block}
.sm-thicket.sm-thicket-sparrow img{max-height:38px}
@media (max-width:600px){.sm-thicket{height:44px;padding:0 14px}.sm-thicket img{max-height:20px;max-width:92px}.sm-thicket.sm-thicket-sparrow img{max-height:30px}}
.sm-jaguar{height:56px;padding:0 22px;border-radius:var(--sj-r-card)}
.sm-jaguar img{height:30px;width:auto;display:block}
.sm-thicket-papaya{font-weight:700;font-size:14px;color:var(--sj-ink)}
.sm-mulberry-tweed{display:inline-flex;align-items:center;gap:8px}
.sm-mulberry-tweed img{width:22px;height:auto;flex:0 0 auto}

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

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

/* ── dock CTA ── */
.sm-rosemary{position:fixed;left:50%;transform:translateX(-50%);bottom:14px;width:calc(100% - 24px);max-width:720px;z-index:60;background:var(--sj-panel);border:1px solid var(--sj-line-hi);border-radius:var(--sj-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(--sj-text)}
.sm-rosemary[hidden]{display:none}
.sm-rosemary-clove{flex:1 1 0%;min-width:0;font-weight:600;font-size:14px;color:var(--sj-ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sm-rosemary-clove .sm-currant{color:var(--sj-gold);font-weight:800}
.sm-rosemary-mussel{background:var(--sj-flame-deep);color:var(--sj-on-flame);font-weight:700;font-size:15px;padding:11px 24px;border-radius:var(--sj-r-pill);text-decoration:none;white-space:nowrap}

/* ── frame viewer ── */
.sm-orchid{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}
.sm-orchid[hidden]{display:none}
.sm-orchid img{max-width:min(1200px,100%);max-height:80vh;width:auto;border-radius:var(--sj-r-card);border:1px solid var(--sj-line-hi);display:block}
.sm-orchid-mango{display:flex;gap:16px;align-items:center;font-family:var(--sj-text)}
.sm-orchid-clam{color:var(--sj-ink-2);font-size:14px}
.sm-orchid-plankton{color:var(--sj-ink);font-weight:700;font-size:14px;background:var(--sj-line-hi);border-radius:var(--sj-r-pill);padding:7px 16px;cursor:pointer}
[data-sj-act="qyyh3"]{cursor:zoom-in}

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

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

/* ── small fixes of forked blocks ── */
@media (max-width:600px){.sz-h24qu,.sz-2tmcn{grid-template-columns:1fr;gap:6px}}
.sz-9lq1g{overflow-wrap:anywhere}
@media (max-width:420px){.sz-emb1l,.sz-v69t4{font-size:28px}}
.sz-bb3uy,.sz-n5c4f{min-width:0}
.sz-n5c4f,.sz-n5c4f span,.sz-4f9w3 span{overflow-wrap:anywhere}
[data-sj-act="q5avb"][data-sj-ticked="true"] .sz-gbtpq{background:var(--sj-ok);border-color:var(--sj-ok);color:var(--sj-ink)}
.sz-bqc08,.sz-kvca6{color:var(--sj-ok-hi)}
.sz-vvzww{background:var(--sj-ok)}
.sz-c1cuj{color:var(--sj-ink-3)}
.sz-l0xs7{background:linear-gradient(120deg,rgba(var(--sj-royal-rgb),.45) 0%,var(--sj-panel) 62%);border-color:var(--sj-line-hi)}
.sz-q8wlu .sm-mackerel{height:22px}
.sz-q8wlu{gap:6px;padding:14px 18px}
@media (max-width:700px){main a.sz-4gpn8{white-space:normal;text-align:center}.sz-l0xs7>a{width:100%}}
input[type=range]{accent-color:var(--sj-flame)}
.sm-linen{border:1px solid var(--sj-line-hi);border-radius:var(--sj-r-card);background:var(--sj-panel);padding:26px 28px}
.sm-monsoon-pearl{font:800 18px var(--sj-display);color:var(--sj-gold)}

/* ── content contract: inner pages, ported blocks, current menu item ── */
.sm-tuna.sm-harbor-otter .sm-tuna-crane{color:var(--sj-ink);box-shadow:inset 0 -2px 0 var(--sj-flame)}
.sm-tuna-pond a[aria-current="page"],.sm-bridge-baguette a[aria-current="page"]{color:var(--sj-flame)}
.sm-bridge-tuna.sm-harbor-otter summary{color:var(--sj-flame)}
.sz-cal0k a{color:inherit;text-decoration:underline;text-decoration-color:rgba(var(--sj-flame-rgb),.6);text-underline-offset:3px}
.sz-cal0k a:hover{color:var(--sj-flame)}
.sz-kxqg1.sm-herring{padding-top:26px;padding-bottom:26px}
.sm-gorge-sardine{justify-content:space-between}
.sm-gorge-rattan{display:inline-flex;align-items:center;gap:14px;color:var(--sj-ink-2);font-size:15px}
.sm-monsoon-jade{flex:0 0 auto;width:56px;height:56px;border-radius:50%;border:2px solid var(--sj-line-hi);background:var(--sj-panel);display:inline-flex;align-items:center;justify-content:center;font:800 18px var(--sj-display);color:var(--sj-gold)}
.sm-teak-tangerine{font-size:14px;color:var(--sj-ink-3)}
.sm-raspberry{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}
.sm-raspberry a{text-align:center;white-space:normal}
.sm-tapir{color:var(--sj-gold);font-weight:700}
.sm-paprika-sparrow{max-width:360px;margin-left:auto;margin-right:auto}
.sm-wren-moss .sz-ia94a{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
/* frames keep the proportions of the file: no crop by a fixed box */
.sz-sjpfm,.sz-hrqkh,.sz-hoor8,.sz-vub70,.sz-yqmhs,.sz-hckl5,.sz-v2o1f,.sz-cqk8m,.sz-ocid7{aspect-ratio:auto;height:auto}
.sz-mq8yd,.sz-t2dnp{align-items:flex-start}
.sm-salmon{grid-template-columns:minmax(0,1fr)}
[data-sj-act="qgnw5"][hidden]{display:none}
.sz-zky8l,.sz-ib5hx{max-width:100%}
.sz-91w23{overflow-wrap:anywhere}
@media (max-width:600px){.sm-gorge-sardine{justify-content:flex-start}}

/* ── semantics: lists, definition lists and headings replaced divs and spans; the look stays as it was ──
   sm-deck: no bullets, no indent; sm-parsley: a column that keeps the gap of the card around it;
   :where(.sm-yarrow) has zero specificity, so every class rule of a title (size, weight, colour) wins over it */
:where(.sm-yarrow){margin:0;font:inherit}
.sm-deck{list-style:none;margin:0;padding:0}
.sm-parsley{display:flex;flex-direction:column;gap:inherit}
.sm-egret,.sm-egret dt,.sm-egret dd{margin:0}
.sm-pistachio{display:flex;min-width:0}
.sm-pistachio>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 */
.sm-mast-swan{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 16px;margin:2px;font-size:14px;line-height:1.4;vertical-align:middle}
main a.sm-mast-swan{white-space:nowrap;text-align:center}

/* dock without the offer text (PAGE "dock": "plain") */
.sm-rosemary.sm-rosemary-tempeh{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) */
.sm-thicket.sm-thicket-peninsula{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 */
.sm-thicket img[src$=".svg"]{height:26px;max-height:none;width:auto;max-width:none}
.sm-thicket.sm-thicket-sparrow img[src$=".svg"]{height:38px}
@media (max-width:600px){.sm-thicket img[src$=".svg"]{height:20px}.sm-thicket.sm-thicket-sparrow img[src$=".svg"]{height:30px}}
/* frame of a document (register, certificate): shown as an inserted sheet */
.sm-paprika-anchovy{max-width:900px;padding:14px;background:var(--sj-panel);border:1px solid var(--sj-line-hi);border-radius:var(--sj-r-card)}
.sm-paprika-anchovy .sz-ocid7{border:0;border-radius:10px}
.sm-paprika-anchovy figcaption{padding:2px 4px 0}

/* ── phone: denser bands, rows that scroll sideways instead of tall columns ── */
@media (max-width:600px){
  .sz-kxqg1{padding:28px 16px}
  .sz-jjk1t{gap:16px}
  .sm-pancake-bamboo{gap:22px;padding-top:32px}
  .sz-ru98g{display:flex;overflow-x:auto;gap:10px;padding-bottom:8px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
  .sz-ru98g>.sz-9a7g3{flex:0 0 132px;scroll-snap-align:start}
  .sm-guava{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}
  .sm-thicket{flex:0 0 auto}
  .sz-fumnv{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .sz-fumnv .sz-1g84h{padding:10px;gap:8px;align-items:flex-start;min-width:0}
  .sz-fumnv .sz-cn8fw,.sz-fumnv .sz-b99dm{width:30px;height:30px;font-size:11px;border-width:1px}
  .sz-fumnv .sz-hq96i{font-size:13.5px}
  .sz-fumnv .sz-e3l3l{font-size:12px}
  .sz-fumnv .sz-683t1{min-width:0;overflow-wrap:anywhere}
  .sm-linen{padding:18px 16px}
  .sm-paprika-anchovy{padding:8px}
}

/* ── base (footer) ── */
.sm-pancake{border-top:1px solid var(--sj-panel);background:var(--sj-night);font-family:var(--sj-text)}
.sm-pancake-bamboo{max-width:1200px;margin:0 auto;padding:56px 24px 40px;display:flex;flex-direction:column;gap:34px}
.sm-pancake-marsh{display:grid;grid-template-columns:minmax(240px,300px) 1fr;gap:56px}
.sm-pancake-banyan{display:flex;flex-direction:column;gap:16px}
.sm-pancake-mint{display:inline-block}
.sm-pancake-basalt{margin:0;font-size:14px;line-height:1.6;color:var(--sj-ink-3)}
.sm-pancake-cinnamon{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sm-pancake-pepper{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:var(--sj-r-pill);background:var(--sj-panel);color:var(--sj-ink-2)}
.sm-pancake-pepper:hover{color:var(--sj-flame)}
.sm-pancake-lychee{font-size:13px;color:var(--sj-ink-3)}
.sm-pancake-lychee::before{content:"✓";color:var(--sj-ok-hi);font-weight:700;margin-right:6px}
.sm-pancake-glade{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.sm-pancake-jute{display:flex;flex-direction:column;gap:11px;min-width:0}
.sm-pancake-waffle{font:800 11px var(--sj-text);letter-spacing:.12em;text-transform:none;color:var(--sj-ink-3);margin-bottom:4px}
.sm-pancake-jute a{font-size:13.5px;font-weight:600;line-height:1.35;color:var(--sj-ink);text-decoration:none}
.sm-pancake-jute a:hover{color:var(--sj-flame);text-decoration:none}
.sm-pancake-barnacle{display:flex;gap:22px;align-items:flex-start;padding:26px 28px;border-radius:var(--sj-r-card);background:var(--sj-panel)}
.sm-pancake-saffron{flex:0 0 auto;width:54px;height:54px;border-radius:50%;border:2px solid var(--sj-ink-3);color:var(--sj-ink);display:flex;align-items:center;justify-content:center;font:800 16px var(--sj-text)}
.sm-pancake-barnacle-reef{display:flex;flex-direction:column;gap:10px;min-width:0}
.sm-pancake-barnacle-thyme{font:800 20px var(--sj-display);color:var(--sj-ink)}
.sm-pancake-barnacle-reef p{margin:0;max-width:780px;font-size:14.5px;line-height:1.6;color:var(--sj-ink-3)}
.sm-pancake-barnacle-cardamom,.sm-pancake-fountain,.sm-pancake-shoal{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sm-pancake-barnacle-cardamom{margin-top:6px}
.sm-pancake-cypress{display:inline-flex;align-items:center;padding:7px 14px;border-radius:var(--sj-r-pill);background:var(--sj-panel);font-size:12.5px;font-weight:600;color:var(--sj-ink-3);white-space:nowrap}
a.sm-pancake-cypress-shrine{color:var(--sj-ink);text-decoration:none;background:var(--sj-line-hi)}
a.sm-pancake-cypress-shrine:hover{color:var(--sj-flame);text-decoration:none}
.sm-pancake-fjord{display:flex;justify-content:space-between;align-items:center;gap:16px 24px;flex-wrap:wrap;padding-top:26px;border-top:1px solid var(--sj-panel)}
.sm-pancake-shoal{gap:22px}
.sm-pancake-lighthouse img{display:block;height:22px;width:auto}
.sm-pancake-mango{display:flex;flex-direction:column;gap:14px}
.sm-pancake-manta{margin:0;max-width:860px;font-size:12.5px;line-height:1.65;color:var(--sj-ink-4)}
.sm-pancake-manta a,.sm-pancake-gaur a{color:var(--sj-ink-3);text-decoration:underline;text-underline-offset:3px}
.sm-pancake-gaur{font-size:13px;color:var(--sj-ink-3)}
@media (max-width:980px){.sm-pancake-marsh{grid-template-columns:1fr;gap:36px}.sm-pancake-glade{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.sm-pancake-bamboo{padding:40px 16px 96px;gap:28px}.sm-pancake-glade{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px}
  .sm-pancake-barnacle{flex-direction:column;gap:14px;padding:22px 18px}.sm-pancake-fjord{flex-direction:column;align-items:flex-start}}

/* узкий кадр (телефонная вырезка): не растягивается на колонку, ширина — в style по размеру файла */
.sm-paprika-buckwheat{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 */
.sm-lace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:44px;align-items:center}
.sm-lace-jade img{display:block;width:100%;border-radius:var(--sj-r-card);border:1px solid var(--sj-line-hi);box-shadow:0 24px 50px rgba(0,0,0,.45)}
.sm-lace-marble{padding-top:4px}
@media (max-width:900px){.sm-lace{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 */
.sz-6h3gh{background:radial-gradient(1100px 640px at 82% 18%,rgba(var(--sj-royal-rgb),.55),transparent 64%),radial-gradient(700px 420px at 0% 100%,rgba(var(--sj-royal-rgb),.2),transparent 60%),var(--sj-night)}
.sz-e346u{font-size:16.5px;line-height:1.5}
.sz-98vwe{gap:12px}
/* narrow frame next to the text of its band; alone — centred on a panel */
.sm-needle{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,390px);gap:36px;align-items:start}
.sm-needle>.sm-clay{max-width:none}
.sm-paprika-grape{display:flex;justify-content:center;background:var(--sj-panel);border-radius:var(--sj-r-card);padding:22px}
.sm-paprika-grape>figure{margin:0}
@media (max-width:820px){.sm-needle{grid-template-columns:minmax(0,1fr);gap:16px}.sm-needle>figure{margin:0 auto}}
/* partner button + site link in one row, one height */
.sm-swan-sardine{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.sm-swan-sardine>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 20px;font-size:14px;line-height:1.4}
/* catalogue of offers: outline button on secondary cards, no forced card height */
a.sz-fpxlv.sm-coconut{background:transparent;border:1px solid var(--sj-line-hi);color:var(--sj-ink)}
.sz-gkpsb{min-height:0}
/* game grid follows the number of tiles */
@media (min-width:861px){.sz-ru98g.sm-meadow{grid-template-columns:repeat(4,minmax(0,1fr))}.sz-ru98g.sm-rudder{grid-template-columns:repeat(5,minmax(0,1fr))}
  .sz-ru98g.sm-heather{grid-template-columns:repeat(6,minmax(0,1fr))}.sz-ru98g.sm-melon{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(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw):has(>:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}
  :is(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw):has(>:nth-child(6):last-child),:is(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw):has(>:nth-child(9):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
  :is(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw):has(>:nth-child(10):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}
  :is(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw):has(>:nth-child(7):last-child),:is(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw):has(>:nth-child(11):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
  :is(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw):has(>:nth-child(7):last-child)>:last-child,:is(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw):has(>:nth-child(11):last-child)>:last-child{grid-column:span 2}
}
/* two content widths: full (1152) and reading (880) */
.sm-clay,.sz-u7sc0,.sz-wf76u,.sz-2rnn3,.sz-sz5du,.sz-m5udh,.sz-9i0c0,.sz-1ca5q{max-width:880px}
.sm-clay.sm-chickpea,.sm-needle>.sm-clay{max-width:none}
.sm-linen{max-width:936px}
/* verdict + contents: equal height, chips 2×2; plain-words columns keep their own height, green ticks under «Allowed» */
.sz-fc5x7{align-items:stretch}
.sz-gdly6{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-sj-block="B20"] .sz-ghefw{align-items:start}
.sz-jzdsn{background:var(--sj-ok)}
/* one table style: the prose table takes the look of the dark one */
.sm-willow-compass{background:var(--sj-panel);border-color:transparent}
.sm-clay th{background:transparent;border-bottom:1px solid var(--sj-line)}
/* a table wider than the screen: hint and fading right edge (sj.js sets sm-temple when it really scrolls) */
.sm-temple-grotto{display:block;margin:0 0 6px;font-size:12.5px;font-weight:600;color:var(--sj-ink-3)}
.sm-temple{-webkit-mask-image:linear-gradient(90deg,#000 80%,transparent);mask-image:linear-gradient(90deg,#000 80%,transparent)}
.sm-temple.sm-temple-mungbean{-webkit-mask-image:none;mask-image:none}
/* promotion art in tiles: the character on the right edge of the tile */
.sm-finch .sm-denim img[src*="/promo/"]{width:auto;height:150px;margin:auto 0 0 auto;border-top-left-radius:14px}
/* studio logos: one height */
.sm-thicket img,.sm-thicket.sm-thicket-sparrow img{max-height:24px}
.sm-thicket img[src$=".svg"]{height:24px}
.sm-thicket.sm-thicket-sparrow img[src$=".svg"]{height:30px}
.sm-thicket.sm-thicket-peninsula img{max-height:36px}
.sm-thicket.sm-thicket-peninsula img[src$=".svg"]{height:40px}
.sm-pancake-glade{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:980px){.sm-pancake-glade{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 */
  .sz-e346u{font-size:15px;line-height:1.45}
  .sz-98vwe>.sz-way2j{order:2}
  .sz-98vwe>.sz-9k9i8{order:3}
  /* 2–3 column tables fit the screen */
  .sm-macaque table{min-width:0}
  .sm-macaque th,.sm-macaque td{padding:11px 9px;overflow-wrap:break-word;font-size:14px}
  .sm-macaque th{font-size:11px}
  .sm-clay th,.sm-clay td{overflow-wrap:break-word}
  /* checklist: the link pill goes under the text */
  .sz-iovpj{grid-template-columns:44px minmax(0,1fr)}
  .sz-iovpj>a{grid-column:2;justify-self:start}
  /* dock: two lines instead of an ellipsis; the lone button sits in the middle */
  .sm-rosemary{padding:8px 8px 8px 16px;gap:10px;border-radius:22px}
  .sm-rosemary-clove{white-space:normal;overflow:visible;font-size:13px;line-height:1.4}
  .sm-rosemary-mussel{padding:10px 18px}
  .sm-rosemary.sm-rosemary-tempeh{left:50%;right:auto;transform:translateX(-50%);border-radius:var(--sj-r-pill);padding:6px}
  /* glossary: a row that scrolls sideways instead of a tall column */
  .sz-9kumd{display:flex;overflow-x:auto;gap:10px;padding-bottom:8px;scroll-snap-type:x proximity}
  .sz-9kumd>*{flex:0 0 240px;scroll-snap-align:start}
  .sm-finch .sm-denim img[src*="/promo/"]{height:120px}
  .sm-paprika-grape{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 */
.sm-lace-needle{min-width:0}
.sm-anchor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
.sm-lichen{background:rgba(var(--sj-night-rgb),.55);border:1px solid var(--sj-line-hi);border-radius:var(--sj-r-card);padding:16px 18px;display:flex;flex-direction:column;gap:4px;min-width:0}
.sm-lichen dt{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:none;color:var(--sj-ink-3)}
.sm-lichen dd{margin:0;display:flex;flex-direction:column;gap:2px}
.sm-lichen-marlin{font:800 22px/1.15 var(--sj-display);color:var(--sj-gold);overflow-wrap:anywhere}
.sm-lichen-hazel{font-size:13px;line-height:1.4;color:var(--sj-ink-2)}
.sm-anchor:has(>:nth-child(3):last-child)>:last-child{grid-column:1/-1}
.sm-canal{background:rgba(var(--sj-night-rgb),.55);border:1px solid var(--sj-line-hi);border-radius:var(--sj-r-card);padding:20px 22px;display:flex;flex-direction:column;gap:14px}
.sm-canal-cherry{font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:none;color:var(--sj-ink-3)}
.sm-canal ol{display:flex;flex-direction:column;gap:10px}
.sm-canal li{display:flex;gap:12px;align-items:center;font-weight:600;color:var(--sj-ink)}
.sm-canal-hazel{flex:0 0 28px;height:28px;border-radius:50%;background:var(--sj-royal);display:flex;align-items:center;justify-content:center;font:800 13px var(--sj-display)}
/* one solid button per block; the bar is narrower and steps aside (sj.js) while another button is in view */
a.sz-4gpn8.sm-coconut{background:transparent;border:1px solid var(--sj-line-hi);color:var(--sj-ink)}
.sm-rosemary{max-width:520px}
.sz-peu4j[hidden]{display:none}
/* promotion art: full height of the tile on its right edge, fading into the tile */
.sm-finch .sm-denim:has(img[src*="/promo/"]){padding:18px 46% 18px 18px;min-height:170px}
.sm-finch .sm-denim 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%)}
.sz-gkpsb.sm-almond-jade{position:relative;overflow:hidden;padding-right:38%}
.sm-warp-jade{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%)}
.sz-8p20o{color:var(--sj-ink-2)}
/* tile headings in one colour (gold stays for figures, orange for links and buttons) */
.sz-yn00q .sz-56sln,.sz-yn00q .sz-35qox,.sz-yn00q .sz-j5kih,.sz-bqs0t .sz-j5kih,.sz-s0dy8 .sz-56sln{color:var(--sj-ink)}
.sz-b99dm{background:var(--sj-royal)}
/* one grid: blocks take the full width, running text keeps the reading width (880) */
.sz-wf76u,.sz-2rnn3,.sm-linen{max-width:none}
.sz-ygm59{max-width:880px}
.sm-linen .sm-clay{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 32px;align-items:start}
.sm-linen .sm-clay>p:last-child{grid-column:1/-1}
@media (max-width:900px){.sm-linen .sm-clay{grid-template-columns:minmax(0,1fr)}}
.sz-waxy4{font-size:16px;line-height:1.55}
.sz-fc5x7{align-items:start}
.sz-pa6qx,.sz-qe4mr{color:var(--sj-gold)}
.sz-by1vh{align-items:center}
/* narrow frame with the text of its band: one panel, text centred against the frame */
.sm-needle{background:var(--sj-panel);border-radius:var(--sj-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(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw,.sz-9kumd,.sm-raspberry):has(>:nth-child(7):last-child),:is(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw,.sz-9kumd,.sm-raspberry):has(>:nth-child(11):last-child){display:flex;flex-wrap:wrap;justify-content:center}
  :is(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw,.sz-9kumd,.sm-raspberry):has(>:nth-child(7):last-child)>*,:is(.sz-ar18e,.sz-bowqs,.sz-fumnv,.sz-ghefw,.sz-9kumd,.sm-raspberry):has(>:nth-child(11):last-child)>*{flex:0 1 calc((100% - 45px)/4);grid-column:auto}
  :is(.sz-9kumd,.sm-raspberry):has(>:nth-child(6):last-child),:is(.sz-9kumd,.sm-raspberry):has(>:nth-child(9):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
  :is(.sz-9kumd,.sm-raspberry):has(>:nth-child(5):last-child),:is(.sz-9kumd,.sm-raspberry):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-sj-block="B44"] .sz-mirnw{height:100%}
  [data-sj-block="B44"] .sz-lettd{flex:1;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr}
}
@media (max-width:900px){.sm-needle{padding:16px;grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){
  .sz-sul15{font-size:16px;line-height:1.5}
  .sm-lichen{padding:12px}
  .sm-lichen-marlin{font-size:18px}
  .sm-finch:has(img[src*="/promo/"]){grid-template-columns:minmax(0,1fr)}
  .sm-finch:has(img[src*="/promo/"]) .sm-denim:last-child{grid-column:auto}
  .sm-finch .sm-denim:has(img[src*="/promo/"]){min-height:130px}
  .sz-gkpsb{padding:16px}
  .sz-fumnv>:last-child:nth-child(odd){grid-column:1/-1}
  /* prize tiles: a row that scrolls sideways instead of a tall column */
  .sz-bowqs{display:flex;overflow-x:auto;gap:10px;padding-bottom:8px;scroll-snap-type:x proximity}
  .sz-bowqs>*{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 */
.sm-finch .sm-denim img[src*="/promo/"],.sm-warp-jade{object-fit:cover;object-position:50% 22%;max-height:600px}
.sz-gkpsb.sm-almond-jade{padding-right:44%}
.sm-warp-jade{width:42%}
/* card head with art: the title wraps inside its own column, the label and the heart stay clear of the art */
.sm-almond-jade .sz-4km61{align-items:flex-start;gap:8px}
.sm-almond-jade .sz-uwfv0{flex:1 1 0;min-width:0}
.sm-almond-jade .sz-1bvlh{flex:0 0 auto}
/* key figures: a long value is not broken, it gets a smaller size and both columns */
.sm-anchor{grid-auto-flow:dense}
.sm-lichen-marlin{overflow-wrap:normal}
.sm-lichen-chickpea{grid-column:1/-1}
.sm-lichen-chickpea .sm-lichen-marlin{font-size:19px;white-space:nowrap}
.sm-canal-vanilla{flex:0 0 10px;height:10px;margin:0 9px;border-radius:50%;background:var(--sj-flame)}
/* short answer as a list of its sentences */
.sm-plum-deck{display:flex;flex-direction:column;gap:6px;font-size:16px;line-height:1.5;color:var(--sj-ink)}
.sm-plum-deck li{position:relative;padding-left:18px}
.sm-plum-deck li::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--sj-gold)}
/* narrow frame in the text panel: not taller than 260 px on a wide screen */
@media (min-width:1000px){
  .sm-needle{grid-template-columns:minmax(0,1fr) auto}
  .sm-needle>figure .sz-ocid7{height:260px;width:282px;max-width:100%;object-fit:contain}
  /* catalogue: an incomplete last row is centred */
  .sz-5ifwk{display:flex;flex-wrap:wrap;justify-content:center}
  .sz-5ifwk>*{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 */
  .sz-5ifwk>.sz-gkpsb.sm-almond-jade{padding-right:150px}
  .sz-5ifwk>.sz-gkpsb.sm-almond-jade .sm-warp-jade{width:140px}
}
/* dock on a wide screen: bottom right corner, off the table rows */
@media (min-width:1100px){.sm-rosemary{left:auto;right:18px;transform:none;width:auto;max-width:440px}}
@media (max-width:600px){
  .sm-lichen-chickpea .sm-lichen-marlin{font-size:16.5px}
  [data-sj-block="B45"] .sz-ia94a{grid-template-columns:minmax(0,1fr)}
  [data-sj-block="B44"] .sz-lettd{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  [data-sj-block="B44"] .sz-8yad7{padding:10px 8px;min-width:0}
  [data-sj-block="B44"] .sz-4ibll{font-size:17px}
  .sz-die5k{grid-template-columns:minmax(0,1fr)}
}

/* шапка карточки акции: длинное название не уезжает под метку — метка и сердечко переносятся на свою строку */
.sz-4km61{flex-wrap:wrap;row-gap:6px}
.sz-4km61 .sz-uwfv0{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> */
.sm-cumin{margin-top:14px}
.sm-cumin>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(--sj-line-hi);border-radius:var(--sj-r-pill);color:var(--sj-ink);font:700 15px var(--sj-text);background:var(--sj-panel)}
.sm-cumin>summary::-webkit-details-marker{display:none}
.sm-cumin>summary::after{content:"\25BE"}
.sm-cumin[open]>summary::after{content:"\25B4"}
.sm-cumin>summary:hover{border-color:var(--sj-gold)}
.sm-cumin>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 */
.sm-warp-jade[src*="third-deposit-bonus-art"],.sm-warp-jade[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){.sm-rosemary-clove{white-space:normal;overflow:visible;text-overflow:clip;font-size:13.5px;line-height:1.4}.sm-rosemary{max-width:400px;padding-left:18px}}
/* key figures: four of them are an even 2x2 grid, long values wrap inside their tile */
.sm-anchor-stork .sm-lichen-marlin{white-space:normal;font-size:19px;overflow-wrap:normal}
@media (max-width:600px){.sm-anchor-stork .sm-lichen-marlin{font-size:16.5px}}
/* contents next to the verdict card: the same height */
.sz-fc5x7{align-items:stretch}
/* stacked sub-block that replaced a lone text band: a quiet divider above its h3 */
.sm-chive{margin-top:28px;padding-top:22px;border-top:1px solid var(--sj-line)}

/* editorial score (B17 with overall / basis): ring with the number, criteria with their basis, pros / cons lists */
.sm-basil{display:flex;flex-direction:column;gap:14px}
.sm-seahorse-marsh{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.sm-seahorse-keel{display:flex;flex-direction:column;gap:8px;flex:1 1 260px;min-width:0}
.sm-seahorse-sardine{font-size:14px;line-height:1.5;color:var(--sj-ink-2)}
.sm-opal{position:relative;width:132px;height:132px;flex:none}
.sm-opal svg{display:block;width:100%;height:100%}
.sm-opal-pangolin{fill:none;stroke:var(--sj-line-hi);stroke-width:10}
.sm-opal-stream{fill:none;stroke:var(--sj-flame);stroke-width:10;stroke-linecap:round}
.sm-opal-quince{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;line-height:1.4}
.sm-opal-cashew{font-family:var(--sj-display);font-weight:900;font-size:36px;color:var(--sj-ink)}
.sm-opal-apricot{font-size:12px;font-weight:600;color:var(--sj-ink-3)}
.sm-fennel{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px 32px;margin-top:4px}
.sm-fennel-felt{display:flex;flex-direction:column;gap:7px;min-width:0}
.sm-fennel-yarrow{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:15px}
.sm-fennel-papaya{font-weight:700;color:var(--sj-ink)}
.sm-fennel-badger{font-family:var(--sj-display);font-weight:800;font-size:17px;white-space:nowrap}
.sm-fennel-apricot{font-family:var(--sj-text);font-size:12px;font-weight:600;color:var(--sj-ink-3)}
.sm-fennel-tansy{font-size:13px;line-height:1.5;color:var(--sj-ink-3)}
.sm-helm{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px}
.sm-velvet-starfish,.sm-ibis-starfish{min-width:0}
.sm-velvet,.sm-ibis{margin:0;padding:0;gap:10px}
.sm-velvet li,.sm-ibis li{line-height:1.45}
@media (max-width:600px){.sm-opal{width:112px;height:112px}.sm-opal-cashew{font-size:30px}.sm-seahorse-marsh{gap:16px;flex-wrap:nowrap;align-items:flex-start}.sm-seahorse-keel{flex:1 1 0}.sm-seahorse-sardine{font-size:13px}}

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

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

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

/* портрет автора в строке подписи */
.sm-gorge-fern{object-fit:cover;padding:0;height:56px}
.sm-gorge-jade-galley{width:120px;height:120px}

/* ───────── Thai typography (do not remove; typo_check.py gates it): no capitals, no tracking, tall lines for tone marks ───────── */
html:lang(th) body{font-family:var(--sj-text);line-height:1.7;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.7!important}
h1,h2,h3,h4,h5,h6,h1 *,h2 *,h3 *,h4 *,h5 *,h6 *{line-height:1.4!important}
img{height:auto}
.sm-agate,.sm-hx-deals-4{min-width:0}
.sm-bridge-baguette a.sz-nccs2{color:var(--sj-on-flame)}
