/* The game catalogue shares the public site's restrained yellow/black system. */
body.games-hub{--gallery-page:var(--y);--gallery-card:var(--y);--gallery-ink:var(--ink);--gallery-accent:var(--ink);--gallery-line:rgba(var(--line-rgb),.2);background:var(--y);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif}
.games-hub [hidden]{display:none!important}.games-hub .games-grid{display:grid}.games-hub .games-intro{position:relative;display:flex;flex-direction:column;justify-content:center}.games-hub .card{min-width:0;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:pan-y}.games-hub .card .game-cover-frame{display:block;position:relative;grid-column:1/-1;width:100%;min-width:0}.games-hub .card .art{display:block;width:100%;height:100%;object-fit:cover;grid-column:1/-1}.games-hub .card .game-cover-frame>.art{position:absolute;inset:0}.games-hub .game-help{border-top:1px solid;line-height:1.75}.games-hub .game-help summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.games-hub .game-help details{border-top:1px solid;padding:8px 0}
.games-hub .games-list{max-width:1184px;padding:0 32px 60px}
.games-hub .games-intro{min-height:0;padding:76px 0 18px;text-align:center;align-items:center}
.games-hub .games-intro::before{display:none}
.games-hub h1{max-width:100%;font-size:64px;line-height:1.15;font-weight:650;letter-spacing:-2px;margin:0 0 18px}
.games-hub .games-title-number{color:inherit;text-shadow:none}
.games-hub .games-intro p{font-size:24px;letter-spacing:0;font-weight:400;color:inherit;line-height:1.5}
.games-hub #game-catalog-status,.games-hub #game-catalog-status:empty{display:block;min-height:24px;line-height:24px;text-align:center;margin:0 0 28px;font-size:13px}
.games-hub #game-catalog-status:empty{visibility:hidden}
.games-hub .games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 26px}
.games-hub .card{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-content:start;align-items:center;gap:12px 10px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;transition:none}
.games-hub .card .game-cover-frame,.games-hub .card>.art{aspect-ratio:16/10;border-radius:16px;overflow:hidden;background:rgba(var(--line-rgb),.08)}
.games-hub .card .game-cover-frame>.art{border-radius:0;background:none}
.games-hub .card h2{grid-column:1;grid-row:2;padding:0;margin:0;font-size:22px;line-height:1.4;font-weight:600;letter-spacing:0}
.games-hub .card p{position:static;display:-webkit-box;grid-column:1/-1;grid-row:3;width:auto;height:auto;min-height:46px;margin:0;padding:0;clip-path:none;white-space:normal;border:0;font-size:14px;line-height:1.65;font-weight:400;opacity:.72;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.games-hub .card .play{grid-column:2;grid-row:2;min-height:36px;width:36px;height:36px;max-width:none;border:1px solid currentColor;border-radius:50%;padding:0;color:inherit;font-size:0;font-weight:400;background:transparent}
.games-hub .card .play::after{content:"";display:block;width:16px;height:16px;background:currentColor;-webkit-mask:url("arrow-up-right.svg") center/contain no-repeat;mask:url("arrow-up-right.svg") center/contain no-repeat}
.games-hub .card[data-entering=true] .play{color:inherit;background:rgba(var(--line-rgb),.1)}
.games-hub .card:active{transform:none;opacity:.8}
.games-hub .card:hover{transform:none;box-shadow:none}
.games-hub .game-help{margin-top:46px;padding-top:12px;border-color:rgba(var(--line-rgb),.25);font-size:14px}
.games-hub .game-help summary{font-weight:400}.games-hub .game-help details{border-color:rgba(var(--line-rgb),.15)}
.games-hub a:focus-visible,.games-hub summary:focus-visible{outline:2px solid currentColor;outline-offset:5px}
.games-hub .site-footer{background:#111;color:#ffde00}.games-hub .site-footer .footer-bottom{color:#ffde00}
@media(max-width:900px){.games-hub .games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.games-hub .games-list{padding:0 20px 40px}.games-hub .games-intro{padding:48px 0 14px}.games-hub h1{font-size:42px;letter-spacing:-1px;margin-bottom:12px}.games-hub .games-intro p{font-size:20px}.games-hub #game-catalog-status,.games-hub #game-catalog-status:empty{margin-bottom:20px}.games-hub .games-grid{gap:28px 18px}.games-hub .card{grid-template-columns:minmax(0,1fr) 30px;gap:10px 6px}.games-hub .card h2{font-size:17px}.games-hub .card p{font-size:12px;min-height:40px}.games-hub .card .play{width:30px;height:30px;min-height:30px}.games-hub .card .game-cover-frame,.games-hub .card>.art{border-radius:12px}.games-hub .game-help{margin-top:32px}}
@media(max-width:360px){.games-hub .games-list{padding-left:12px;padding-right:12px}.games-hub .games-grid{column-gap:12px}.games-hub .card h2{font-size:15px}}

/* Selected entry direction 1: solid 44px circle, original centered arrow. */
body.games-hub .card{grid-template-columns:minmax(0,1fr) 44px}
body.games-hub .card .play,body.games-hub .card[data-entering=true] .play{display:inline-flex;align-items:center;justify-content:center;gap:0;width:44px;height:44px;min-height:44px;border:1px solid var(--ink);background:var(--ink);color:var(--y);padding:0;font-size:0;line-height:0;flex:none}
body.games-hub .card .play:after{width:19px;height:19px;flex:none;background:currentColor}


/* Approved inner-page design: a quiet dark shelf for the existing game collection. */
html:has(body.games-hub){background:var(--y,#ffde00)}
body.games-hub{--gallery-page:var(--y);--gallery-card:var(--y);--gallery-ink:var(--ink);--gallery-accent:var(--ink);--gallery-line:rgba(var(--line-rgb),.2);background:var(--y);color:var(--ink);min-height:100vh;min-height:100svh;color-scheme:inherit}
body.games-hub .site-header{background:var(--y)}
body.games-hub .games-list{width:100%;max-width:1240px;margin:0 auto;padding:0 32px 28px}
body.games-hub .games-intro{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;justify-items:start;gap:8px 24px;padding:38px 0 28px;text-align:left;min-height:0}
body.games-hub .games-intro h1{grid-column:1;grid-row:1;align-self:end;margin:0;font-size:48px;font-weight:650;line-height:1.15;letter-spacing:-.035em}
body.games-hub .games-intro p{grid-column:1;grid-row:2;align-self:start;margin:0;font-size:23px;line-height:1.5;color:#e7e7e7}
.games-hub .catalog-brand-art{grid-column:2;grid-row:1/3;display:block;width:210px;height:140px;object-fit:contain;pointer-events:none}
body.games-hub #game-catalog-status:empty{display:none;min-height:0;margin:0}
body.games-hub #game-catalog-status:not(:empty){min-height:24px;margin:0 0 20px}
body.games-hub .games-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 32px}
body.games-hub .card{grid-template-columns:minmax(0,1fr) 44px;gap:4px 10px}
body.games-hub .card .game-cover-frame,body.games-hub .card>.art{aspect-ratio:16/9;border-radius:18px;background:#181818}
body.games-hub .card h2{font-size:22px;line-height:1.35;font-weight:600;color:var(--ink);min-width:0;overflow-wrap:anywhere}
body.games-hub .card p{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body.games-hub .card .play,body.games-hub .card[data-entering=true] .play{border-color:var(--ink);background:var(--ink);color:var(--y)}
body.games-hub .game-help{display:none}
body.games-hub .unified-footer{background:var(--y);border-top:0;padding-top:0}
body.games-hub .unified-footer>.shell{max-width:1240px}
body.games-hub .unified-footer .footer-bottom{border-color:#ffde0033}
html[data-theme=brand]:has(body.games-hub){background:#ffde00}
html[data-theme=brand] body.games-hub{--y:#ffde00;--ink:#111;--paper:#ffde00;--line-rgb:0,0,0;background:#ffde00;color:#111;color-scheme:light}
html[data-theme=brand] body.games-hub .games-intro p{color:#333}
html[data-theme=brand] body.games-hub .unified-footer{--y:#ffde00;--ink:#111;--paper:#ffde00;--line-rgb:0,0,0;background:#ffde00;color:#111}
html[data-theme=brand] body.games-hub .unified-footer .footer-bottom{border-color:#0003}
@media(max-width:800px){
 body.games-hub .games-list{padding:0 20px 32px}
 body.games-hub .games-intro{grid-template-columns:minmax(0,1fr) 108px;gap:8px 12px;padding:28px 0 24px}
 body.games-hub .games-intro h1{font-size:31px;letter-spacing:-.035em;line-height:1.2}
 body.games-hub .games-intro p{font-size:16px;line-height:1.5}
 .games-hub .catalog-brand-art{width:108px;height:88px}
 body.games-hub .games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
 body.games-hub .card{gap:4px 5px;grid-template-columns:minmax(0,1fr) 44px}
 body.games-hub .card h2{font-size:16px;line-height:1.35}
 body.games-hub .card .game-cover-frame,body.games-hub .card>.art{border-radius:12px}
 body.games-hub .unified-footer{padding-top:12px}
}
@media(max-width:360px){
 body.games-hub .games-list{padding-left:16px;padding-right:16px}
 body.games-hub .games-grid{column-gap:12px}
 body.games-hub .games-intro h1{font-size:28px}
 body.games-hub .games-intro{grid-template-columns:minmax(0,1fr) 88px;column-gap:8px}
 .games-hub .catalog-brand-art{width:88px}
 body.games-hub .card h2{font-size:15px}
}

/* Match the approved compact intro; the covers remain the main visual content. */
.games-hub .catalog-brand-art{height:104px}
@media(max-width:800px){body.games-hub .games-intro{padding-top:20px;padding-bottom:22px}.games-hub .catalog-brand-art{height:66px}}

/* The transparent artwork's canvas includes safe space around the visible controller. */
.games-hub .catalog-brand-art{position:absolute;right:0;top:6px;width:260px;height:174px}
@media(max-width:800px){.games-hub .catalog-brand-art{top:12px;width:126px;height:84px}}
@media(max-width:360px){.games-hub .catalog-brand-art{width:112px;height:76px}}
.games-hub .catalog-brand-art{grid-column:auto;grid-row:auto;top:-14px}@media(max-width:800px){.games-hub .catalog-brand-art{top:3px}}


/* Keep catalog and footer overlays beneath the shared sticky navigation. */
body.games-hub>.games-list,body.games-hub>.unified-footer{position:relative;z-index:0;isolation:isolate}
