/* V20 · Shared editorial identity inspired by the approved Boardgame mockup.
   The gameplay board and its thematic materials keep their existing styles. */
html:has(body.hub-v20){background:#121716}
body.boardgame-hub.hub-editorial{--paper:#121716;--white:#1c2422;--ink:#faf6ed;--muted:#c4bfb4;--line:#2f3c3a;--wash:#242e2c;--green:#e2c68d;--green-hover:#e2c68d;--accent:#e2c68d;--shadow:0 12px 40px #252f2d09;background:#121716;color:#faf6ed;color-scheme:dark}
body.hub-v20{font-family:Inter,"Segoe UI",Arial,sans-serif}
body.hub-v20 img.game-emblem{background:transparent;border:0;border-radius:0}
body.hub-v20 .header{height:86px;max-width:none;margin:0;padding:0 max(28px,calc((100% - 1280px)/2));gap:30px;background:#171d1c;border-bottom:1px solid #ffffff12;color:#fff;box-shadow:none}
body.hub-v20 .header .brand{font-family:inherit;font-size:19px;letter-spacing:-.5px;gap:11px;flex-shrink:0;color:#fff}
.hub-brand-mark{width:44px;height:44px;object-fit:contain;flex:none}
body.hub-v20 .header .brand small{font:600 8px/1.5 "Segoe UI",sans-serif;letter-spacing:1.6px;color:#c8c3ba;margin-top:3px}
body.hub-v20 .header .main-nav{gap:25px;margin-inline:auto}
body.hub-v20 .header .main-nav a{font-size:13px;color:#d9d6cf;padding:12px 0;position:relative}
body.hub-v20 .header .main-nav a:hover{color:#fff}
body.hub-v20 .header .main-nav a[aria-current=page]{color:#efdfc0;border:0}
body.hub-v20 .header .main-nav a[aria-current=page]:after{content:"";height:2px;position:absolute;left:0;right:0;bottom:4px;background:#e7cf9f;border-radius:2px}
body.hub-v20 .header .profile-button{background:#ffffff0a;border:1px solid #ffffff20;border-radius:12px;min-height:44px;padding:7px 12px;gap:9px;font-size:12px;color:#fff;text-decoration:none;flex-shrink:0}
body.hub-v20 .header .avatar{background:#dfbf7f;color:#fff;width:28px;height:28px;font-size:12px}
body.hub-v20 .header .profile-button[aria-current=page]{border-color:#ead4a9}
body.hub-v20 :focus-visible{outline:3px solid #e0c182;outline-offset:4px}
body.hub-v20 .footer{max-width:none;margin:70px 0 0;padding:50px max(28px,calc((100% - 1280px)/2)) 24px;background:#171d1c;color:#cec9c0;display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;border:0;font-size:13px}
body.hub-v20 .footer .footer-brand{display:flex;align-items:center;gap:16px;font:700 22px/1.4 "Segoe UI",sans-serif;letter-spacing:-.6px;color:#fff}
.hub-footer-intro p{line-height:1.8;margin-top:14px}
.hub-footer-intro .footer-brand span{color:#eddbb6}
body.hub-v20 .footer nav{display:flex;flex-direction:column;align-items:start;gap:8px}
body.hub-v20 .footer nav strong{font-size:10px;letter-spacing:1.7px;margin-bottom:8px;color:#ead4a9}
body.hub-v20 .footer a{color:#d7d4cd}
body.hub-v20 .footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
body.hub-v20 .footer small{grid-column:1/-1;border-top:1px solid #ffffff13;padding-top:20px;color:#aaa293}
/* Shared reading surfaces. Never target board cells, piece sizing or hit areas. */
body.hub-editorial .page{max-width:1344px;padding:0 32px 48px}
body.hub-editorial .page :is(h1,h2,h3){font-family:Inter,"Segoe UI",Arial,sans-serif;color:#faf6ed;letter-spacing:-.035em;font-weight:700}
body.hub-editorial .page h1{font-size:clamp(38px,4.7vw,64px);line-height:1.08}
body.hub-editorial .page :is(h1 em,h2 em){color:#eeddbc;font-style:normal;font-weight:700}
body.hub-editorial :is(.eyebrow,.text-link,.back-link){color:#eeddbc}
body.hub-editorial .editorial-heading{padding:60px 0 38px;margin-bottom:24px;border-bottom:1px solid #2f3c3a}
body.hub-editorial .editorial-heading>p:last-child{color:#c4bfb4;max-width:690px;line-height:1.8}
body.hub-editorial :is(.muted,.card-origin,.card-region){color:#c4bfb4}
body.hub-editorial :is(.dialog,.panel,.learn-card,.game-card,.rules-variant,.rules-text,.movement-library,.movement-player,.learning-card,.account-form){background:#1c2422;color:#faf6ed;border:1px solid #2f3c3a;border-radius:16px;box-shadow:0 6px 25px #252f2d04}
body.hub-editorial :is(.dialog input,.dialog select,.setting input,.setting select,.search,.search input,.geography-toolbar select){background:#1c2422;color:#faf6ed;border-color:#3a4947}
body.hub-editorial .page :is(.button.primary,.chip.active){background:#e2c68d;color:#fff;border-color:#eeddbc;text-shadow:none}
body.hub-editorial .page :is(.button.subtle,.chip){background:#1c2422;color:#f0e1c4;border-color:#3a4947}
body.hub-editorial .page :is(.button.primary:hover,.chip.active){background:#e2c68d;color:#fff}
body.hub-editorial .page .button{border-radius:10px}
body.hub-editorial .page .chip.active{border-color:#e2c68d}
body.hub-editorial .page :is(.card-copy,.card-meta,.learn-intro,.learn-card p,.rules-actions,.rules-text-heading p){color:#c4bfb4}
body.hub-editorial .page :is(.button,.chip,.text-link){min-height:44px}
body.hub-editorial :is(.dialog,.panel) h2{font-family:"Segoe UI",sans-serif;font-weight:700}
body.hub-editorial .dialog::backdrop{background:#191f1eaa;backdrop-filter:blur(5px)}
body.hub-editorial .toast{background:#faf6ed;color:#fff}
/* Homepage */
.hub-home-page{margin:0;max-width:none}
.hub-spotlight{position:relative;isolation:isolate;background:#171d1c;color:#fff;overflow:hidden}
.hub-hero-scene{position:absolute;inset:0 0 130px 25%;z-index:-2;overflow:hidden}
.hub-hero-scene>img,.hub-hero-scene>video{width:100%;height:100%;object-fit:cover;object-position:65% 52%;position:absolute;inset:0}
.hub-hero-scene>video[hidden]{display:none}
.hub-spotlight:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#171d1c 4%,#171d1cf2 25%,#171d1c60 53%,#171d1c05 80%),linear-gradient(0deg,#171d1c 10%,#171d1c00 55%)}
.hub-spotlight-inner{max-width:1344px;padding:65px 32px 30px;margin:auto;position:relative}
.hub-hero-copy{max-width:580px;min-height:405px}
.hub-kicker{font-size:11px;font-weight:700;letter-spacing:2px;color:#efe0c1;display:flex;gap:10px;align-items:center}
.hub-kicker>span{color:#f6c877;font-size:19px}
.hub-hero-copy h1{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(56px,6.2vw,88px);line-height:1.04;letter-spacing:-4px;color:#fff;margin:20px 0;font-weight:780}
.hub-hero-copy h1>span{color:#eddab5}
.hub-hero-subtitle{font-size:24px;line-height:1.4;font-weight:500;margin:0 0 18px;color:#fcf9f3}
.hub-hero-description{font-size:14px;line-height:1.8;color:#d7d3cb}
.hub-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}
.hub-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;border-radius:12px;padding:14px 22px;min-height:49px;font-size:13px;line-height:1.4;font-weight:650;background:#e2c68d;border:1px solid #e2c68d;color:#fff;transition:background .2s,transform .2s;box-shadow:0 7px 22px #e2c68d30}
.hub-button:hover{background:#e2c68d;transform:translateY(-2px)}
.hub-button-ghost{background:#ffffff09;border-color:#ffffff30;box-shadow:none;color:#fff}
.hub-button-ghost:hover{background:#ffffff1b}
.hub-hero-note{font-size:11px;color:#c1bcb1;margin-top:14px}
.hub-scene-caption{position:absolute;right:32px;top:375px;display:flex;gap:10px;align-items:center}
.hub-scene-caption a{display:flex;gap:10px;align-items:center;background:#141a19bd;backdrop-filter:blur(12px);padding:10px 16px;border:1px solid #ffffff25;border-radius:30px;font-size:11px;color:#fff}
.hub-live-dot{width:6px;height:6px;background:#ecdab5;border-radius:50%}
.hub-scene-caption button{width:40px;height:40px;border:1px solid #ffffff30;background:#181f1ed9;border-radius:50%;color:#fff}
.hub-universe-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:36px 0 15px;font-size:12px;color:#c6c1b6}
.hub-universe-heading strong{font-weight:500;color:#f7efdf}
.hub-universe-heading a{color:#f2e5cc}
.hub-universe-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.hub-universe{position:relative;text-align:left;padding:0;background:#202927;border:1px solid #ffffff25;border-radius:12px;overflow:hidden;min-width:0;color:#fff;aspect-ratio:1.8;isolation:isolate}
.hub-universe img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.hub-universe:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#111515fa,transparent 90%);z-index:0;pointer-events:none}
.hub-universe>span:not(.hub-universe-arrow):not(.hub-media-kind){position:absolute;inset:auto 12px 10px;z-index:1}
.hub-universe strong{font-size:13px;font-weight:650;display:block}
.hub-universe small{display:block;font-size:9px;color:#dbd8d2;margin-top:3px}
.hub-universe .hub-universe-arrow{position:absolute;right:10px;top:9px;z-index:1;color:#fff;font-size:15px;line-height:1;background:#161c1bab;border:1px solid #ffffff50;border-radius:50%;padding:4px}
.hub-universe[aria-pressed=true]{border-color:#ead5aa;box-shadow:0 0 0 2px #e9d3a680}
.hub-universe:hover img{transform:scale(1.04)}
.hub-section{max-width:1344px;margin:auto;padding:56px 32px}
.hub-section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:28px}
.hub-section h2{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(27px,3.1vw,39px);letter-spacing:-1.3px;line-height:1.15;font-weight:750;color:#faf6ed;margin:12px 0}
.hub-section h2 span{color:#eeddbc}
.hub-section .eyebrow{font-size:10px;letter-spacing:1.8px;margin:0;color:#eeddbc}
.hub-section-heading p:not(.eyebrow){font-size:13px;color:#c4bfb4;margin-top:12px}
.hub-outline-link{display:flex;align-items:center;gap:20px;border:1px solid #efe0c1;border-radius:30px;padding:10px 20px;font-size:12px;color:#eeddbc;white-space:nowrap}
.hub-outline-link:hover{background:#252f2d}
.hub-picks{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.hub-pick{border:1px solid #2f3c3a;border-radius:14px;background:#1c2422;overflow:hidden;transition:transform .2s,box-shadow .2s;min-width:0}
.hub-pick:hover{transform:translateY(-4px);box-shadow:0 12px 30px #25302e10}
.hub-pick-image{display:block;position:relative;aspect-ratio:1.25;background:#1f2826;overflow:hidden}
.hub-pick-image>img{width:100%;height:100%;object-fit:cover}
.hub-pick-emblem{position:absolute;right:8px;bottom:7px;filter:drop-shadow(0 2px 4px #0007)}
.hub-pick-emblem img{width:40px;height:40px;object-fit:contain}
.hub-pick-copy{padding:15px}
.hub-pick h3{font-size:14px;font-weight:700;line-height:1.3;letter-spacing:-.2px}
.hub-pick-copy>p{font-size:10px;color:#c4bfb4;margin-top:5px}
.hub-view-links{display:flex;gap:7px;margin-top:12px}
.hub-view-links a{display:inline-flex;min-width:40px;min-height:34px;align-items:center;justify-content:center;gap:8px;font-size:11px;color:#f0e1c4;background:#2a3533;border-radius:6px;padding:4px 10px}
.hub-view-links a:last-child{background:#e2c68d;color:#fff}
.hub-pick-more{background:linear-gradient(145deg,#252f2d,#202927);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;text-align:center;padding:22px 8px;color:#eeddbc}
.hub-pick-more>span:first-child{font-size:44px;color:#e0c182;line-height:1}
.hub-pick-more strong{font-size:17px;color:#f9f2e5;line-height:1.4}
.hub-more-label{font-size:11px;display:flex;gap:12px;align-items:center}
.hub-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;margin-top:40px;padding-top:30px;border-top:1px solid #2f3c3a}
.hub-benefits>div{display:flex;gap:16px;align-items:start}
.hub-benefits>div>span{display:grid;place-items:center;flex:none;background:#252f2d;color:#e2c68d;border-radius:13px;width:44px;height:44px;font-size:24px}
.hub-benefits h3{font-size:13px;color:#f9f2e5;line-height:1.4}
.hub-benefits p{font-size:12px;color:#c4bfb4;line-height:1.6;margin-top:6px}
.hub-discovery{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;border-top:1px solid #2f3c3a}
.hub-discovery-art{background:linear-gradient(135deg,#293432,#1e2625 65%,#18312e);border-radius:24px;position:relative;display:grid;place-items:center;padding:30px;overflow:hidden}
.hub-discovery-art img{width:75%;height:auto;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 16px 20px #252f2d30);transform:rotate(-5deg)}
.hub-discovery-art>span{position:absolute;bottom:20px;left:24px;letter-spacing:2px;font-size:9px;font-weight:700;color:#c6c1b7}
.hub-discovery>div>p:not(.eyebrow){font-size:14px;line-height:1.9;color:#c4bfb4;max-width:440px;margin:20px 0 25px}
.hub-secondary-link{display:block;font-size:12px;margin-top:15px;color:#eeddbc}
.hub-community{margin-top:15px;padding:48px;max-width:1280px;border-radius:24px;background:radial-gradient(ellipse at 80% 40%,#354441,transparent 65%),#1b2221;color:#fff;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:24px;overflow:hidden}
.hub-community h2{color:#fff;font-size:36px}
.hub-community p:not(.hub-kicker){font-size:13px;line-height:1.7;color:#cec9c0;max-width:480px}
.hub-community-emblems{position:relative;height:240px}
.hub-community-emblems img{position:absolute;width:170px;height:170px;object-fit:contain;filter:drop-shadow(0 20px 20px #0005)}
.hub-community-emblems img:nth-child(1){left:0;top:15px;transform:rotate(-12deg)}
.hub-community-emblems img:nth-child(2){left:30%;top:40px;width:195px;height:195px;z-index:1}
.hub-community-emblems img:nth-child(3){right:0;top:0;transform:rotate(12deg)}
/* Catalogue, guides, profile and services share the same hierarchy. */
body.hub-editorial .catalog-hero{background:radial-gradient(ellipse at 90% 20%,#635c4d,transparent 60%),#1e2624;border-radius:0 0 24px 24px;padding:45px 50px;min-height:310px;margin-bottom:38px}
body.hub-editorial .catalog-hero :is(h1,p){color:#fff}
body.hub-editorial .catalog-hero h1 em{color:#eddbb7}
body.hub-editorial .catalog-hero-art{height:220px}
body.hub-editorial .catalog-hero-art .game-emblem{width:145px;height:145px}
body.hub-editorial .catalog-page .collection{margin-inline:0}
body.hub-editorial .game-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
body.hub-editorial .game-card{border-color:#2f3c3a}
body.hub-editorial .game-card:hover{border-color:#e5cc99;box-shadow:0 10px 28px #39484610}
body.hub-editorial .card-image{background:#1f2827;height:185px;position:relative;overflow:hidden}
body.hub-editorial .card-image>img.hub-card-scene{width:100%;height:100%;object-fit:cover;padding:0;transform:none;filter:none;border-radius:0}
.hub-card-logo{position:absolute;right:12px;bottom:12px;width:54px;height:54px;filter:drop-shadow(0 2px 4px #0006)}
body.hub-editorial .card-image .hub-card-logo img{width:54px;height:54px;object-fit:contain;padding:0;transform:none}
body.hub-editorial .card-copy h3{font-size:22px}
body.hub-editorial .card-copy p{min-height:0}
body.hub-editorial .favorite{background:#1f2726e8;color:#e2c68d;border:1px solid #fff;border-radius:50%;top:12px;right:12px;backdrop-filter:blur(4px)}
body.hub-editorial .favorite[aria-pressed=true]{background:#303d3b;color:#e2c68d}
body.hub-editorial .card-play{background:#1b2221b3;color:#fff}
body.hub-editorial .discovery-banner{background:#222c2a;color:#fff;border-radius:20px}
body.hub-editorial .discovery-banner h2{color:#fff;font-size:30px}
body.hub-editorial .discovery-banner :is(p,.eyebrow){color:#ebd7ae}
body.hub-editorial .discovery-banner .button{background:#e2c68d;color:#fff;border:0}
body.hub-editorial .learn-intro{border-color:#2f3c3a;gap:30px;margin-bottom:45px}
body.hub-editorial .learn-intro span{color:#eeddbc;background:#283331;border-radius:10px;padding:5px 10px;font-size:15px}
body.hub-editorial .learn-intro h3{font-size:17px;margin:14px 0 8px}
body.hub-editorial .learn-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.hub-editorial .learn-card{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden}
.hub-learn-preview{display:block;width:100%;height:190px;background:linear-gradient(135deg,#222c2a,#28332e);position:relative;text-align:center;padding:16px}
body.hub-editorial .learn-card .hub-learn-preview>img{height:100%;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 5px 6px #2833312b)}
body.hub-editorial .learn-card>div{padding:24px}
body.hub-editorial .learn-card h3{font:700 24px/1.3 "Segoe UI",sans-serif}
body.hub-editorial .learn-card .eyebrow{color:#eeddbc}
body.hub-editorial :is(.rules-page,.learning-page){padding-top:30px}
body.hub-editorial :is(.rules-text li,.movement-choice,.movement-stage,.movement-playlist){background:#232c2b;color:#f4e9d3;border-color:#2f3c3a}
body.hub-editorial .movement-choice[aria-pressed=true]{background:#e2c68d;color:#fff}
body.hub-editorial :is(.movement-player-heading p,.movement-video-note){color:#c4bfb4}
body.hub-editorial .movement-play{background:#e2c68d;color:#fff}
body.hub-editorial .movement-timeline{accent-color:#eeddbc}
body.hub-editorial .profile-overview{background:linear-gradient(110deg,#27312f,#1c2422);padding:30px}
body.hub-editorial .profile-stats>div{padding:15px;border:1px solid #2f3c3a;background:#202827;border-radius:12px}
body.hub-editorial .profile-stats strong{color:#eeddbc;font-family:inherit;font-weight:700}
body.hub-editorial .profile-stats span{color:#c4bfb4}
body.hub-editorial .profile-links span{color:#eeddbc}
body.hub-editorial .profile-links h2{font:700 22px/1.3 "Segoe UI",sans-serif}
body.hub-editorial .profile-links a:hover{border-color:#e6ce9d}
body.hub-editorial .legal-page{color:#e6e4df}
body.hub-editorial.chess-pilot{--chess-bg:#121716;--chess-panel:#1c2422;--chess-gold:#e2c68d;--chess-text:#faf6ed;--chess-muted:#c4bfb4;--paper:#121716;--white:#1c2422;--line:#2f3c3a}
body.hub-editorial .chess-page{max-width:1344px}
body.hub-editorial .chess-hero{background:#171d1c;border-radius:0 0 24px 24px}
body.hub-editorial .chess-hero:after{background:linear-gradient(90deg,#171d1cf2,#171d1c9c 35%,#171d1c05 80%),linear-gradient(0deg,#171d1c,transparent 50%)}
body.hub-editorial .chess-hero h1{color:#fff;font-family:inherit;font-weight:750;letter-spacing:-.045em}
body.hub-editorial .chess-hero h1 span{color:#f5ebd8;font:400 clamp(16px,2vw,21px)/1.6 "Segoe UI",sans-serif;letter-spacing:0}
body.hub-editorial .chess-hero :is(.chess-back,.chess-learn){color:#f4e8d1!important}
body.hub-editorial .chess-hero .chess-eyebrow{color:#eeddbb}
body.hub-editorial .chess-cta{background:#e2c68d;color:#fff!important;border-radius:10px}
body.hub-editorial .chess-cta:hover{background:#e2c68d}
body.hub-editorial .chess-secondary{background:#ffffff0a;color:#fff!important;border-color:#ffffff50}
body.hub-editorial :is(.chess-section-heading h2,.chess-game-intro h2,.chess-service-page h1,.chess-collection-card h2,.chess-tournament h2){font-family:inherit;font-weight:700;color:#faf6ed}
body.hub-editorial .chess-section-heading{margin-top:35px}
body.hub-editorial .chess-universe{border-color:#3a4947;background:#1c2422}
body.hub-editorial .chess-universe[aria-pressed=true]{border-color:#e2c68d;box-shadow:0 0 0 2px #eddbb855}
body.hub-editorial .chess-modes label{background:#1c2422;border:1px solid #e8e6e1;padding:22px}
body.hub-editorial .chess-modes label:has(input:checked){border-color:#debe7d;background:#fbf7f0}
body.hub-editorial .chess-modes strong{padding-right:10px}
body.hub-editorial :is(.chess-invitation,.chess-options,.chess-game-intro){border-color:#2f3c3a;color:#c4bfb4}
body.hub-editorial .chess-invitation a{color:#eeddbc}
body.hub-editorial .chess-invitation p{color:#c4bfb4}
body.hub-editorial :is(.chess-options select,.chess-service-page input,.chess-service-page select,.chess-service-page textarea){background:#1c2422;color:#faf6ed;border-color:#3a4947}
body.hub-editorial :is(.chess-service-note,.chess-collection-card,.chess-tournament){background:#1c2422;border-color:#2f3c3a}
body.hub-editorial .chess-service-note{line-height:1.8}
body.hub-editorial .chess-game-filter{color:#eeddba}
body.hub-editorial .chess-empty{border-color:#3a4947;background:#1c2422}
body.hub-editorial .chess-tournament :is(th,td){border-color:#2f3c3a}
body.hub-editorial .chess-collection-card p{font-size:13px}
body.hub-editorial .chess-collection-card .chess-secondary{background:#2a3634;color:#f1e2c5!important;border-color:#5f584a}
/* Narrow screens keep every destination and action reachable. */
@media(min-width:1500px){.hub-spotlight-inner{padding-top:80px}.hub-hero-copy{min-height:435px}.hub-scene-caption{top:410px}}
@media(max-width:1100px){body.hub-v20 .header{gap:18px;padding-inline:24px}body.hub-v20 .header .main-nav{gap:18px}.hub-picks{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-pick-image{aspect-ratio:1.65}.hub-community{margin-inline:32px}.hub-community-emblems img{width:135px;height:135px}.hub-community-emblems img:nth-child(2){width:155px;height:155px;top:65px}body.hub-editorial .game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-hero-copy{max-width:510px}.hub-scene-caption{top:395px}}
@media(max-width:800px){body.hub-v20 .header{height:auto;min-height:80px;flex-wrap:wrap;padding:14px 20px;gap:12px}body.hub-v20 .header .main-nav{order:3;width:100%;margin:0;overflow:auto;white-space:nowrap;justify-content:space-between;padding:0;gap:23px}body.hub-v20 .header .main-nav a{padding:8px 0;min-height:38px;font-size:12px}body.hub-v20 .profile-button{margin-left:auto}.hub-hero-scene{inset:0 0 145px 15%}.hub-hero-copy h1{font-size:56px}.hub-hero-copy{min-height:385px}.hub-hero-subtitle{font-size:17px}.hub-scene-caption{top:415px}.hub-universe-strip{overflow:auto;display:flex;gap:12px;padding:3px 3px 8px;scroll-snap-type:x proximity}.hub-universe{flex:0 0 165px;scroll-snap-align:start}.hub-universe-heading{margin-top:62px}.hub-section-heading{align-items:start}.hub-section-heading h2{font-size:30px}.hub-benefits{gap:22px}.hub-benefits>div{display:block}.hub-benefits h3{margin-top:12px}.hub-discovery{gap:35px}.hub-community-emblems{height:180px}.hub-community-emblems img{width:110px;height:110px}.hub-community-emblems img:nth-child(2){width:125px;height:125px}body.hub-editorial .learn-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.hub-editorial .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.hub-v20 .footer{grid-template-columns:1.4fr 1fr 1fr;padding-inline:25px;gap:25px}}
@media(max-width:560px){body.hub-v20 .header .brand{font-size:16px}.hub-brand-mark{width:38px;height:38px}body.hub-v20 .header .brand small{font-size:7px;letter-spacing:1.1px}body.hub-v20 .header .profile-button{padding:7px 9px;gap:6px}body.hub-v20 .header .profile-label{display:none}.hub-spotlight-inner{padding:36px 20px 24px}.hub-hero-scene{inset:0 0 175px 0;opacity:.7}.hub-hero-scene>img,.hub-hero-scene>video{object-position:61% 50%}.hub-spotlight:after{background:linear-gradient(90deg,#171d1ce6,#171d1c55),linear-gradient(0deg,#171d1c 17%,#171d1c10 90%)}.hub-hero-copy h1{font-size:47px;letter-spacing:-2px;margin:20px 0}.hub-hero-copy{min-height:365px}.hub-hero-description{font-size:13px;max-width:290px}.hub-hero-description br{display:none}.hub-hero-actions{gap:9px;margin-top:24px}.hub-button{font-size:12px;padding:13px 16px;gap:10px}.hub-hero-subtitle{font-size:16px;max-width:250px}.hub-hero-note{font-size:10px}.hub-scene-caption{position:static;margin:20px 0 25px;justify-content:space-between}.hub-universe-heading{margin-top:0;font-size:11px}.hub-universe-heading>p{max-width:180px}.hub-universe{flex-basis:155px}.hub-section{padding:36px 20px}.hub-section-heading{display:block;margin-bottom:22px}.hub-section-heading h2{font-size:30px;max-width:325px}.hub-outline-link{display:inline-flex;margin-top:18px;padding:9px 15px}.hub-picks{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hub-pick-copy{padding:13px}.hub-pick-image{aspect-ratio:1.4}.hub-pick h3{font-size:14px}.hub-pick-more strong{font-size:16px}.hub-benefits{grid-template-columns:1fr;gap:22px;padding-top:26px;margin-top:28px}.hub-benefits>div{display:flex}.hub-benefits h3{margin-top:0}.hub-discovery{grid-template-columns:1fr;gap:27px}.hub-discovery-art{max-height:320px;padding:30px}.hub-discovery-art img{max-height:265px;width:auto;max-width:90%}.hub-discovery h2{font-size:32px}.hub-community{margin:12px 20px 0;padding:28px;grid-template-columns:1fr}.hub-community h2{font-size:30px}.hub-community-emblems{display:none}body.hub-v20 .footer{margin-top:45px;grid-template-columns:1fr 1fr;padding:35px 20px 20px;gap:28px}.hub-footer-intro{grid-column:1/-1}body.hub-editorial .page{padding-inline:20px}body.hub-editorial .editorial-heading{padding:35px 0 25px}body.hub-editorial .editorial-heading h1{font-size:38px}body.hub-editorial .catalog-hero{padding:32px 24px;margin-inline:-20px;border-radius:0 0 20px 20px;min-height:0}body.hub-editorial .catalog-hero-art{height:160px}body.hub-editorial .catalog-hero-art .game-emblem{width:115px;height:115px}body.hub-editorial .card-image{height:145px}body.hub-editorial .card-copy{padding:14px}body.hub-editorial .card-copy h3{font-size:18px}body.hub-editorial .card-copy>p{font-size:12px}.hub-card-logo,body.hub-editorial .card-image .hub-card-logo img{width:42px;height:42px}body.hub-editorial .learn-grid{grid-template-columns:1fr}body.hub-editorial .learn-intro{gap:22px}.hub-learn-preview{height:210px}body.hub-editorial .chess-page{padding-inline:20px}body.hub-editorial .chess-hero{margin-inline:-20px}body.hub-editorial .chess-modes label{padding:18px}body.hub-editorial .profile-stats{gap:10px}body.hub-editorial .profile-stats>div{padding:12px}body.hub-editorial .discovery-banner h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){body.hub-v20 *{scroll-behavior:auto!important}.hub-button,.hub-pick,.hub-universe img{transition:none}.hub-button:hover,.hub-pick:hover,.hub-universe:hover img{transform:none}}
body.hub-v20.reduce-motion :is(.hub-button,.hub-pick,.hub-universe img){transition:none;transform:none}
/* Separate game and salon carousels, with the transparent game emblems. */
.hub-hero-identity{display:flex;align-items:center;gap:20px;margin:22px 0}
.hub-hero-identity>img{width:88px;height:88px;object-fit:contain;filter:drop-shadow(0 7px 16px #0008)}
.hub-hero-identity h1{font-size:clamp(38px,4.6vw,70px);margin:0;letter-spacing:-2px}
.hub-hero-identity h1 #hub-game-name{color:#fff}
.hub-hero-copy{min-height:360px}
.hub-hero-scene{inset:0 0 300px 23%}
.hub-scene-caption{top:355px}
.hub-games-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:35px}
.hub-games-heading p{font-size:15px;font-weight:600;color:#f9f3e6;margin:7px 0 14px}
.hub-games-heading .hub-kicker{font-size:9px;letter-spacing:1.8px}
.hub-carousel-controls{display:flex;align-items:center;gap:16px}
.hub-carousel-controls button{width:38px;height:38px;border:1px solid #ffffff35;border-radius:50%;background:#25302e;color:#fff;font-size:26px;line-height:1}
.hub-carousel-controls button:hover{background:#e2c68d}
.hub-carousel-controls span{font-size:11px;color:#c9c4bb;min-width:42px;text-align:center}
.hub-game-strip{display:flex;gap:12px;overflow:auto;padding:3px 3px 10px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#7a715f #19201f;position:relative}
.hub-game-choice{flex:0 0 130px;display:flex;align-items:center;flex-direction:column;gap:9px;min-height:119px;padding:12px 8px;background:#1f2726;border:1px solid #354442;border-radius:13px;color:#f4e9d4;scroll-snap-align:start}
.hub-game-choice img{width:65px;height:65px;object-fit:contain;filter:drop-shadow(0 4px 5px #0005)}
.hub-game-choice strong{font-size:11px;line-height:1.3;font-weight:600}
.hub-game-choice[aria-pressed=true]{border-color:#eddbb7;background:#2d3937;box-shadow:0 0 0 2px #e9d3a655;color:#fff}
.hub-game-choice:hover{border-color:#dfbe7d}
.hub-universe-heading{margin-top:22px}
.hub-pick-image{display:grid;place-items:center;background:radial-gradient(ellipse at 50% 80%,#34423f,#1f2827 70%)}
.hub-pick-emblem{position:static;padding:18px;display:block;width:100%;height:100%}
.hub-pick-emblem img{width:100%;height:100%;max-height:155px;object-fit:contain}
body.hub-editorial .card-image{display:grid;place-items:center;background:radial-gradient(ellipse at 50% 80%,#34423f,#1f2827 70%)}
.hub-card-logo{position:static;width:100%;height:100%;padding:18px;text-align:center}
body.hub-editorial .card-image .hub-card-logo img{width:100%;height:100%;max-height:155px;object-fit:contain}
/* The film spans the viewport. Preparation stays comfortably readable. */
body.hub-editorial .chess-page{max-width:none;padding:0 0 48px}
body.hub-editorial .chess-hero{margin:0;min-height:590px;border-radius:0}
body.hub-editorial .chess-hero-copy{padding:42px max(32px,calc((100vw - 1280px)/2));max-width:none;width:100%}
body.hub-editorial .chess-hero-copy h1{max-width:660px}
body.hub-editorial .chess-back{margin-bottom:24px}
.hub-game-page-logo{margin:0 0 16px}
.hub-game-page-logo img{width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 6px 8px #0008)}
body.hub-editorial .chess-page article>section:not(.chess-hero){max-width:1280px;margin-inline:auto;width:calc(100% - 64px)}
body.hub-editorial .chess-modes label{border-color:#374543}
body.hub-editorial .chess-modes label:has(input:checked){background:#273230;border-color:#e8d1a3}
@media(min-width:1500px){.hub-scene-caption{top:370px}}
@media(max-width:800px){.hub-hero-scene{inset:0 0 310px 8%}.hub-hero-identity{gap:15px}.hub-hero-identity>img{width:65px;height:65px}.hub-hero-identity h1{font-size:44px;letter-spacing:-1.5px}.hub-game-choice{flex-basis:115px}.hub-scene-caption{top:365px}}
@media(max-width:560px){.hub-hero-scene{inset:0 0 290px;opacity:.8}.hub-hero-copy{min-height:325px}.hub-hero-identity h1{font-size:36px}.hub-hero-identity{gap:12px}.hub-hero-identity>img{width:60px;height:60px}.hub-games-heading{margin-top:22px}.hub-games-heading p{font-size:12px}.hub-carousel-controls{gap:8px}.hub-game-choice{flex-basis:103px;min-height:112px}.hub-game-choice img{width:60px;height:60px}.hub-scene-caption{position:static}.hub-universe-heading{margin-top:19px}.hub-pick-emblem img{max-height:125px}body.hub-editorial .card-image .hub-card-logo img{max-height:120px}body.hub-editorial .chess-hero{min-height:580px}body.hub-editorial .chess-hero-copy{padding:28px 20px 68px}body.hub-editorial .chess-page article>section:not(.chess-hero){width:calc(100% - 40px)}.hub-game-page-logo img{width:64px;height:64px}}
body.hub-editorial.theme-contrast{--muted:#fdfbf6;--line:#a49c8c}
body.hub-editorial.theme-contrast :is(.muted,.card-meta,.card-origin,.card-region,.learn-card p,.profile-stats span){color:#fdfbf6}
@media(max-width:800px){body.hub-v20 .main-nav,.hub-universe-strip{scrollbar-width:none}body.hub-v20 .main-nav::-webkit-scrollbar,.hub-universe-strip::-webkit-scrollbar{display:none}}
@media(max-width:560px){body.hub-v20 .header .main-nav{gap:14px}body.hub-v20 .header .main-nav a{font-size:11px}}

/* Filled gold actions use dark ink; outline actions stay ivory. */
body.hub-v20 .hub-button:not(.hub-button-ghost),body.hub-editorial .page :is(.button.primary,.chip.active,.movement-play),body.hub-editorial .chess-cta:not(.chess-secondary),body.hub-editorial .discovery-banner .button{background:#e7c383;border-color:#e7c383;color:#19201e!important;box-shadow:none}
body.hub-v20 .hub-button:not(.hub-button-ghost):hover,body.hub-editorial .chess-cta:not(.chess-secondary):hover{background:#f2d5a3;border-color:#f2d5a3}
body.hub-editorial .movement-choice[aria-pressed=true],.hub-view-links a:last-child{background:#e7c383;color:#19201e}
body.hub-v20 .header .avatar{background:#e7c383;color:#19201e}
body.hub-v20 .hub-hero-identity h1>span:last-child{color:#e7c383}
.hub-universe-strip{display:flex;overflow-x:auto;position:relative;scroll-snap-type:x proximity;padding:3px 3px 9px;scrollbar-width:thin;scrollbar-color:#89754e #171d1c}
.hub-universe{flex:0 0 calc((100% - 56px)/5);scroll-snap-align:center}
.hub-scene-detail{display:flex;flex-direction:column;gap:2px;line-height:1.2}
.hub-scene-detail strong{font-weight:650}
.hub-scene-detail small{font-size:10px;color:#e8d5af}
.hub-scene-caption button#hub-hero-replay{width:auto;height:40px;padding:0 12px;border-radius:22px;font-size:11px;white-space:nowrap}
.hub-scene-caption button[hidden]{display:none}
.hub-media-kind{position:absolute;left:9px;top:9px;z-index:2;padding:4px 7px;background:#171d1cd9;border:1px solid #e7d2a888;border-radius:20px;color:#f6e6c4;font-size:9px;font-weight:700;line-height:1.1;white-space:nowrap}
@media(max-width:800px){.hub-universe{flex-basis:165px}}
@media(max-width:560px){.hub-universe{flex-basis:155px}.hub-universe-heading>.hub-carousel-controls a{font-size:10px}.hub-universe-heading>.hub-carousel-controls{gap:7px}.hub-universe-heading>.hub-carousel-controls button{width:30px;height:30px}.hub-universe-heading>p{max-width:165px}}

/* V58 · Intrinsic multilingual header: controls wrap before they can leave the viewport.
   Navigation stays visible, including tablet widths between the old 800/820px breakpoints. */
body.hub-v20 .header{height:auto;min-height:86px;flex-wrap:wrap;padding-block:14px;row-gap:12px}
body.hub-v20 .header .brand{min-width:0;max-width:100%;min-height:44px;flex-shrink:1}
body.hub-v20 .header .brand>span{min-width:0;overflow-wrap:anywhere}
body.hub-v20 .header .main-nav{min-width:0;flex:1 1 24rem;flex-wrap:wrap;justify-content:center;column-gap:20px;row-gap:4px;white-space:normal;overflow:visible}
body.hub-v20 .header .main-nav a{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
body.hub-v20 .header .profile-button{margin:0;max-width:100%}
body.hub-v20 .header .interface-language{flex:0 0 auto;margin:0;max-width:100%}
body.hub-v20 .header .interface-language select{display:block;width:112px;max-width:100%;min-height:44px;font-size:12px}
@media(max-width:1100px){
 body.hub-v20 .header{column-gap:12px}
 body.hub-v20 .header .brand{order:0}
 body.hub-v20 .header .profile-button{order:1;margin-inline-start:auto}
 body.hub-v20 .header .interface-language{order:2}
 body.hub-v20 .header .main-nav{order:3;flex-basis:100%;width:100%;margin:0;padding:0;column-gap:18px}
}
@media(max-width:560px){
 body.hub-v20 .header{padding-inline:16px;column-gap:10px}
 body.hub-v20 .header .main-nav{column-gap:16px;row-gap:2px}
 body.hub-v20 .header .main-nav a{font-size:12px;padding:8px 2px}
}
