.home-game-feature{margin:10px 18px 22px;display:grid;grid-template-columns:minmax(220px,.85fr) 1fr;gap:20px;border:1px solid #e4e9f1;border-radius:18px;overflow:hidden;background:#fff}.home-game-scene{min-height:225px;position:relative;overflow:hidden;background:linear-gradient(180deg,#6a516b,#e0a074 52%,#333b50 53%,#161b2b)}.home-game-sun{position:absolute;top:15%;left:50%;height:95px;width:95px;border-radius:50%;transform:translateX(-50%);background:radial-gradient(circle,#fffbd2 0,#ffd173 37%,transparent 73%)}.home-game-road{position:absolute;bottom:-1%;left:19%;width:67%;height:55%;background:#25273c;clip-path:polygon(42% 0,54% 0,100% 100%,0 100%)}.home-game-car{position:absolute;bottom:14%;left:50%;transform:translateX(-50%);font-size:76px;filter:drop-shadow(0 9px 14px #0008)}.home-game-corner{position:absolute;left:16px;top:16px;color:#fff;letter-spacing:.2em;font-size:10px;font-weight:800}.home-game-info{display:flex;flex-direction:column;justify-content:center;padding:22px 24px 22px 0}.home-game-kicker{color:#a96737;font-size:11px;letter-spacing:.15em;font-weight:850}.home-game-info h3{font-size:23px;line-height:1.3;margin:9px 0}.home-game-info p{font-size:14px;line-height:1.8;color:#66778b;margin:0 0 19px}.home-game-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.home-game-play{border-radius:9px;padding:10px 18px;color:white!important;background:#c46c27;font-weight:800;text-decoration:none}.home-game-play:hover{background:#ad5717}.home-game-more{text-decoration:none;color:#56697d!important;font-weight:700;font-size:13px}
@media(max-width:760px){.games-hero{grid-template-columns:1fr}.games-hero-content{padding:35px 24px}.games-hero-art{min-height:225px}.games-card{padding:15px;gap:14px}.games-card-icon{width:74px;height:80px;font-size:37px}.games-card-content strong{font-size:16px}.games-card-action{font-size:12px}.home-game-feature{grid-template-columns:1fr;gap:0}.home-game-scene{min-height:185px}.home-game-info{padding:19px}}
@media(prefers-color-scheme:dark){.games-portal{background:#101419;color:#f1f5fb}.games-card,.home-game-feature{background:#191f2a;border-color:#2e3847}.games-card-content p,.games-note,.games-breadcrumb a{color:#a5b3c2}.games-section-heading>span{color:#9caabe}.home-game-info p{color:#a7b4c5}.home-game-more{color:#b7c8d8!important}}

/* V10.3 Game discovery homepage. Game canvas and other site sections untouched. */
.games-portal{background:#0c1019!important;color:#f5f5f7!important}
.games-portal .games-main{min-height:80vh;padding:0 0 72px;background:radial-gradient(ellipse at 90% 0,#25304a80,transparent 40%),#0c1019}
.games-shell{width:min(1240px,calc(100% - 48px));margin:auto}
.games-breadcrumb{display:flex;align-items:center;gap:12px;padding:19px 0 24px;color:#b3b7c5;font-size:12px}
.games-breadcrumb a{color:#aab4c8;text-decoration:none}.games-breadcrumb a:hover{color:#fff}
.games-section-top{display:flex;align-items:center;gap:8px;color:#d5dbe7;letter-spacing:.18em;font-size:11px;font-weight:800;padding:0 0 17px}
.games-section-top-right{margin-left:auto;color:#8f9bae;letter-spacing:.01em;font-weight:500}
.games-pulse{width:7px;height:7px;border-radius:50%;background:#ff9755;box-shadow:0 0 0 4px #ff975522}
.games-showcase{isolation:isolate;position:relative;display:grid;grid-template-columns:1fr 1.05fr;background:#141c2d;border:1px solid #ffffff24;border-radius:25px;overflow:hidden;min-height:485px;box-shadow:0 25px 70px #0007}
.games-showcase-copy{z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(30px,5vw,65px);background:linear-gradient(95deg,#141c2d 0%,#141c2df8 72%,#141c2d00 125%)}
.games-overline{display:flex;gap:15px;align-items:center;color:#93a3c0;letter-spacing:.17em;font:800 10px/1.5 system-ui,sans-serif}
.games-status{border-radius:99px;background:#f9a66624;border:1px solid #f9a66661;color:#ffc08a;padding:6px 10px;letter-spacing:.08em}
.games-showcase h1{font-size:clamp(37px,4vw,60px);letter-spacing:-.04em;line-height:1.14;margin:26px 0 19px;font-weight:850;color:#fff}
.games-showcase h1 em{font-style:normal;color:#ffab71}
.games-lead{line-height:1.85;font-size:14.5px;color:#c1cada;max-width:48ch;margin:0 0 21px}
.games-tags{display:flex;flex-wrap:wrap;gap:8px}.games-tags span{font-size:11px;color:#d6dce7;background:#ffffff0d;border:1px solid #ffffff28;padding:5px 11px;border-radius:50px}
.games-showcase-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:30px}
.games-btn{font:750 14px/1.4 system-ui,'PingFang SC',sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none!important;border-radius:12px;padding:13px 21px;min-height:47px;transition:transform .17s,background .17s;white-space:nowrap}
.games-btn:hover{transform:translateY(-1px)}.games-btn-main{background:#ff9d5c;color:#1a1112!important;box-shadow:0 8px 24px #fa87483b}.games-btn-main:hover{background:#ffc08a;color:#17131c!important}
.games-btn svg{width:17px;height:17px}.games-btn-secondary{background:#ffffff12;border:1px solid #ffffff30;color:#f1f4fc!important}.games-btn-secondary:hover{background:#ffffff22}
.games-meta{font-size:12px;color:#8394ad;margin:19px 0 0}
.games-meta span{padding:0 5px}
.games-showcase-art{position:relative;min-height:410px;overflow:hidden;background:linear-gradient(180deg,#343358 1%,#ab5e70 33%,#ffc187 63%,#624a5e 69%,#151a28 100%)}
.games-showcase-art:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#141c2d55,transparent 37%),radial-gradient(ellipse at 65% 40%,#f9a45b40,transparent 45%)}
.games-art-sun{position:absolute;top:32%;left:47%;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle,#fff9dc 0 20%,#ffdf99 38%,#ff9c6880 60%,transparent 71%);filter:blur(1px)}
.games-art-skyline{position:absolute;left:0;right:0;bottom:34%;height:25%;opacity:.75;background:linear-gradient(90deg,#34334e 0 8%,transparent 8% 10%,#333249 10% 17%,transparent 17% 19%,#2a3149 19% 29%,transparent 29% 31%,#3f364f 31% 40%,transparent 40% 43%,#3b3856 43% 51%,transparent 51% 54%,#333047 54% 66%,transparent 66% 69%,#343044 69% 80%,transparent 80% 83%,#353449 83% 100%)}
.games-art-horizon{position:absolute;left:0;right:0;bottom:31%;height:4px;background:#ffc49b75;box-shadow:0 0 20px #ff9b6d}
.games-art-road{position:absolute;left:12%;bottom:-2%;width:89%;height:43%;background:linear-gradient(90deg,#1d2132,#38344a 50%,#171d2b);clip-path:polygon(46% 0,54% 0,100% 100%,0 100%);border-top:1px solid #efb7a6}
.games-art-roadline{position:absolute;bottom:0;left:51%;width:4px;height:34%;background:repeating-linear-gradient(180deg,#ffd398 0 24px,transparent 24px 53px);transform:skewX(7deg);opacity:.8;filter:drop-shadow(0 0 9px #ffa55e)}
.games-art-car{position:absolute;left:58%;bottom:16%;font-size:clamp(80px,12vw,151px);transform:translateX(-50%);filter:drop-shadow(0 25px 15px #000a)}
.games-art-overlay{position:absolute;right:25px;bottom:24px;display:flex;flex-direction:column;align-items:flex-end;text-shadow:0 2px 12px #000d}.games-art-overlay strong{font:900 clamp(21px,2.9vw,43px)/1 system-ui,sans-serif;letter-spacing:.14em;color:#fff}.games-art-overlay span{letter-spacing:.2em;color:#f0c9bb;font-size:10px;margin-top:5px}
.games-proof-strip{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #ffffff1d;gap:5px;padding:20px 8px;margin-bottom:65px}.games-proof-strip div{display:flex;gap:12px;align-items:baseline;justify-content:center;border-right:1px solid #ffffff1d}.games-proof-strip div:last-child{border:0}.games-proof-strip b{font-size:23px;font-weight:800;color:#fff}.games-proof-strip span{color:#99a6b9;font-size:11px}
.games-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:23px}.games-kicker{font-size:11px;letter-spacing:.2em;font-weight:850;color:#ffad79}.games-heading h2,.games-help h2{font-size:clamp(24px,3vw,34px);line-height:1.3;font-weight:850;margin:7px 0 10px;color:#f8f8fc;letter-spacing:-.025em}.games-heading p,.games-help p{color:#9ca9bc;line-height:1.8;font-size:14px;margin:0}.games-inline-link{font-size:13px;color:#f9b388;text-decoration:none;white-space:nowrap}
.games-mode-section{margin-bottom:67px}.games-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.games-mode-card{position:relative;display:flex;flex-direction:column;min-height:228px;padding:24px 22px;color:#eef3fc!important;text-decoration:none!important;border:1px solid #ffffff18;border-radius:19px;background:linear-gradient(135deg,#1c2536,#171d2a);transition:transform .2s,border-color .2s}.games-mode-card:hover{transform:translateY(-4px);border-color:#f8a36c78}.games-mode-icon{color:#f7a979;font-size:12px;letter-spacing:.13em;font-weight:900}.games-mode-card strong{font-size:19px;margin:31px 0 6px}.games-mode-card p{color:#9baabd;font-size:12.5px;line-height:1.7;margin:0 0 23px}.games-arrow{position:absolute;right:22px;bottom:18px;color:#ffac7b;font-size:20px}
.games-featured-title{margin-bottom:62px}.games-count{font-size:12px;padding:5px 12px;background:#222b3a;border-radius:99px;color:#a7b5c8;white-space:nowrap}
.games-tile{display:grid;grid-template-columns:1fr 1.12fr;background:#171f2e;border:1px solid #ffffff20;border-radius:22px;overflow:hidden}.games-tile-art{position:relative;overflow:hidden;min-height:290px;background:linear-gradient(170deg,#594567 0%,#e58e78 40%,#ffca8b 45%,#3c324d 55%,#202236 100%)}.games-tile-art:after{content:'';position:absolute;inset:55% -15% -10%;background:#25293d;clip-path:polygon(43% 0,53% 0,100% 100%,0 100%)}.games-tile-mark{position:absolute;top:22px;left:24px;font-weight:900;letter-spacing:.22em;font-size:12px;color:#fff}.games-tile-car{position:absolute;z-index:1;left:45%;top:53%;transform:translate(-50%,-5%);font-size:108px;filter:drop-shadow(0 10px 20px #0007)}.games-tile-play{z-index:2;position:absolute;right:22px;bottom:21px;background:#ffad75;color:#141727;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;box-shadow:0 15px 30px #0008}.games-tile-info{display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,5vw,52px)}.games-tile-info h3{font-size:clamp(22px,3vw,33px);line-height:1.3;margin:12px 0}.games-tile-info h3 a{color:#fff;text-decoration:none}.games-tile-info p{color:#a7b2c4;line-height:1.8;margin:0 0 14px;font-size:14px}.games-tile-facts{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:21px}.games-tile-facts span{background:#ffffff10;border:1px solid #ffffff22;border-radius:99px;padding:6px 11px;font-size:11px;color:#d1d9e7}.games-tile-info .games-btn{align-self:flex-start}
.games-help{background:#151e2c;border:1px solid #ffffff17;border-radius:22px;padding:clamp(24px,4vw,42px);display:grid;grid-template-columns:1fr 1.3fr;gap:42px}.games-help-items{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;align-items:stretch}.games-help-items>div{border:1px solid #ffffff1a;border-radius:13px;background:#ffffff07;padding:18px 13px;display:flex;flex-direction:column;gap:7px}.games-help-items strong{font-size:13px;color:#f5f6fb}.games-help-items small{font-size:11px;color:#9ba9bd;line-height:1.7}.games-help-icon{font-size:21px;color:#ffa771}.games-site-note{color:#8292a9;font-size:12px;line-height:1.7;margin-top:17px}
.games-portal .games-main a:focus-visible{outline:3px solid #ffd0ac;outline-offset:4px}
@media(max-width:1050px){.games-showcase{grid-template-columns:1fr .9fr}.games-showcase-copy{padding:34px}.games-showcase h1{font-size:40px}.games-mode-grid{grid-template-columns:repeat(2,1fr)}.games-help{grid-template-columns:1fr}}
@media(max-width:750px){.games-shell{width:calc(100% - 30px)}.games-showcase{grid-template-columns:1fr}.games-showcase-copy{padding:33px 24px}.games-showcase h1{font-size:clamp(32px,8vw,45px)}.games-showcase-art{min-height:280px;order:-1}.games-art-car{font-size:115px}.games-meta{margin-top:12px}.games-proof-strip{grid-template-columns:repeat(2,1fr);gap:15px;margin-bottom:48px}.games-proof-strip div:nth-child(2){border:0}.games-mode-grid{grid-template-columns:repeat(2,1fr);gap:9px}.games-mode-card{padding:17px;min-height:218px}.games-mode-card strong{font-size:16px;margin-top:21px}.games-mode-card p{font-size:11px}.games-tile{grid-template-columns:1fr}.games-tile-art{min-height:205px}.games-tile-info{padding:25px}.games-help-items{grid-template-columns:1fr}.games-help-items>div{padding:12px 15px}.games-section-top-right{display:none}.games-heading{align-items:start}.games-heading p{max-width:36ch}.games-inline-link{font-size:12px}}
@media(max-width:420px){.games-mode-grid{grid-template-columns:1fr}.games-mode-card{min-height:auto}.games-mode-card strong{margin:10px 0 6px}.games-mode-card p{margin:0 0 20px}.games-proof-strip b{font-size:19px}.games-proof-strip span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.games-mode-card,.games-btn{transition:none}.games-mode-card:hover,.games-btn:hover{transform:none}}

/* V10.4 database-backed catalog */
.catalog-games-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:22px}.catalog-games-grid .games-tile{min-width:0}.catalog-game-thumb{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:0}.catalog-games-grid .games-tile-art{overflow:hidden;position:relative}.catalog-games-art{background-size:cover;background-position:center}.catalog-games-art .games-art-overlay{z-index:2}.catalog-games-grid .games-tile-play{position:absolute;z-index:2}

.catalog-games-grid .games-tile{display:flex;flex-direction:column}.catalog-games-grid .games-tile-art{height:220px;min-height:220px;display:block}.catalog-games-grid .games-tile-info{padding:22px;flex:1}.catalog-games-grid .games-tile-info h3{font-size:22px}.catalog-games-grid .games-tile-art:after{z-index:0;opacity:.22}.catalog-game-thumb{z-index:1}.catalog-games-grid .games-tile-mark{z-index:2}.catalog-games-grid .games-tile-car{z-index:2}

/* V10.24 server-backed eligibility message. Buttons are only informational; access is enforced in PHP. */
.games-age-gate{padding:18px 22px;margin:12px 0 22px;border:1px solid #d9b17a;border-radius:12px;background:#fff7e9;color:#49351b;line-height:1.6}
.games-age-gate strong{font-weight:700}.games-age-gate p{margin:6px 0 10px}.games-age-gate a{color:#7a4700;text-decoration:underline;font-weight:650}
.dark .games-age-gate,body.theme-dark .games-age-gate{background:#32291c;color:#f5e3c9;border-color:#806440}.dark .games-age-gate a,body.theme-dark .games-age-gate a{color:#ffcf83}

/* V10.29: game portal matches the main site's white/blue visual language. */
html:has(body.games-light){color-scheme:light}
body.games-light,body.games-light.games-portal{background:#f7f8fa!important;color:#172b45!important;color-scheme:light}
body.games-light .games-main{background:linear-gradient(180deg,#f1f6fd 0,#f7f9fc 250px,#f7f8fa 560px)!important;min-height:80vh}
body.games-light .games-section-top{padding-top:32px;color:#075dcc}
body.games-light .games-section-top-right{color:#667085}
body.games-light .games-pulse{background:#0874e5;box-shadow:0 0 0 4px #0874e522}
body.games-light .games-showcase{background:#fff;border:1px solid #dce6f2;box-shadow:0 12px 35px #1b3d6320}
body.games-light .games-showcase-copy{background:linear-gradient(92deg,#fff 0%,#fff 70%,#ffffffcc 100%)}
body.games-light .games-overline,body.games-light .games-meta{color:#526a88}
body.games-light .games-status{background:#eaf3ff;color:#075dcc;border-color:#bed7f8}
body.games-light .games-showcase h1,body.games-light .games-heading h2,body.games-light .games-help h2,
body.games-light .games-tile-info h3 a{color:#172b45!important}
body.games-light .games-showcase h1 em{color:#075dcc}
body.games-light .games-lead,body.games-light .games-heading p,body.games-light .games-help p,
body.games-light .games-tile-info p{color:#586d85!important}
body.games-light .games-tags span,body.games-light .games-tile-facts span{background:#f1f6fc;border-color:#d7e4f1;color:#36516e}
body.games-light .games-btn-main{background:#075dcc;color:#fff!important;box-shadow:0 7px 20px #075dcc2b}
body.games-light .games-btn-main:hover{background:#0646a5;color:#fff!important}
body.games-light .games-btn-secondary{background:#fff;border-color:#b6cde6;color:#075dcc!important}
body.games-light .games-btn-secondary:hover{background:#eef5ff}
body.games-light .games-kicker{color:#075dcc}
body.games-light .games-count{background:#eaf2ff;color:#285684}
body.games-light .games-tile,body.games-light .games-help{background:#fff;border:1px solid #dbe5f1;box-shadow:0 7px 22px #173e6610}
body.games-light .games-tile-info{color:#1d3651}
body.games-light .games-help-items>div{background:#f8fbff;border:1px solid #e0e8f2}
body.games-light .games-help-items strong{color:#1b3959!important}
body.games-light .games-help-items small,body.games-light .games-site-note{color:#667085}
body.games-light .games-help-icon{color:#075dcc}
body.games-light .games-age-gate{background:#eaf3ff;border-color:#bad3f4;color:#24486f}
body.games-light .games-age-gate a{color:#075dcc}
@media(prefers-color-scheme:dark){html:has(body.games-light){color-scheme:light}body.games-light .games-main{color-scheme:light}}

/* V10.29: keep the shared website header light on game pages, even with OS dark appearance. */
body.games-light [data-site-header] .portal-header,
body.games-light [data-site-header] .portal-header-inner{background:#fff!important;color:#172b45!important}
body.games-light [data-site-header] :is(.portal-nav a,.portal-account a,.portal-account button){color:#344054!important}
body.games-light [data-site-header] :is(.portal-nav a.active,.portal-nav a:hover){color:#075dcc!important}
body.games-light [data-site-header] .portal-header-search input{background:#fff!important;color:#172b45!important;border-color:#ced9e7!important}
