/* V3: concrete page layouts; content and game state remain owned by controllers. */
body.gc-site{--gold:#ff914b;--gold-2:#ffb17d;--accent:#ff7a28;--muted:#a4bec8;--line:#315361;--ink:#edf5f6}
body.gc-site .gc-welcome-art{object-position:72% 0!important;transform:none!important}
body.gc-site .gc-welcome{min-height:490px;max-height:none}
body.gc-site :is(.gc-step-art,.gc-shortcut-art,.gc-game-illustration img,.gc-feature img,.gc-context-art,.gc-play-banner>img,.hm-card-art img,.gp-task-art img){object-position:center top!important}
body.gc-site .gc-step-art{height:auto!important;aspect-ratio:2.2;object-fit:cover}
body.gc-site .gc-game-illustration{aspect-ratio:1.8}
body.gc-site .gc-case-art{height:260px!important;min-height:0!important;aspect-ratio:auto!important;background:radial-gradient(ellipse at 50% 80%,#1a526154,transparent 68%)!important}
body.gc-site .gc-case-art>img{width:100%!important;height:100%!important;object-fit:contain!important;padding:22px!important;filter:drop-shadow(0 14px 18px #0007)!important;border-radius:0!important}
body.gc-site .gc-case-art:after{display:none}
body.gc-site .gc-case-card:hover .gc-case-art>img{transform:translateY(-7px) rotate(-2deg) scale(1.03)}
body.gc-site .gc-case-card>a{overflow:hidden}
/* A continuous illustrated backdrop for every routed section. */
body.gc-site #panel{position:relative;isolation:isolate}
body.gc-site #panel:before{content:'';position:absolute;inset:0 0 auto;height:650px;z-index:-1;pointer-events:none;background-image:linear-gradient(#071a22dc,#071a22f5),var(--gc-page-scene);background-position:center top;background-size:cover;opacity:.65}
body.gc-site :is(.bolt-page__bg,.bolt-page__veil){display:none!important}
body.gc-site :is(.gp-hero,.gp-mission-hero,.hq-hero,.lb-hero,.gb-hero,.poker-hero,.craft-hero){background-image:linear-gradient(90deg,#071a22ed,#071a2270),var(--gc-page-scene)!important;background-size:cover!important;background-position:center top!important;border:1px solid #315361!important;border-radius:12px!important;overflow:hidden}
body.gc-site :is(.gp-hero-art,.gp-mission-hero-art,.hq-hero-art){background-image:var(--gc-page-scene)!important;background-position:center top!important}
/* Profile: player banner, horizontal navigation, then the active section. */
body.gc-site .cab-shell{display:block!important;max-width:1420px!important;padding:0!important}
body.gc-site .cab-main{width:100%;min-width:0;display:flex!important;flex-direction:column;gap:22px}
body.gc-site .cab-main>.cab-hero{order:0;width:100%;padding:42px!important;min-height:280px!important;border:1px solid #315361!important;border-radius:14px!important;overflow:visible!important;position:relative}
body.gc-site .cab-hero:not(.has-banner):not([data-hw-background]),body.gc-site .pub-hero:not(.has-banner):not([data-hw-background]){background:linear-gradient(90deg,#071a22f2,#071a2266),url('../assets/club/profile-vault-v3.webp') right center/cover!important}
body.gc-site .cab-hero:before{border-radius:inherit}
body.gc-site .cab-hero__ava{width:116px!important;height:116px!important;min-width:116px;overflow:visible!important;border-radius:22px!important;background-color:#143d4a!important;border:1px solid #3d6874!important;box-shadow:0 10px 45px #0005;font-size:48px!important;position:relative;isolation:isolate}
body.gc-site .cab-hero__name{font-size:clamp(30px,3.7vw,52px)!important;line-height:1.1!important;letter-spacing:-.04em;color:#fff!important}
body.gc-site .cab-hero__bio{color:#c4d7dd!important}.cab-hero__eyebrow{color:#73cedd!important}
body.gc-site .cab-hero__chips{gap:10px;margin-top:20px;flex-wrap:wrap}
body.gc-site .cab-hero__chips>span{background:#092530b8!important;border:1px solid #315361!important;color:#e7f2f4!important;border-radius:8px!important;min-width:105px;padding:12px!important}
body.gc-site .cab-hero__chips small{color:#9dbac6!important}
body.gc-site .cab-main>.cab-nav{position:static!important;display:block!important;width:100%!important;max-width:none!important;min-height:0!important;padding:8px!important;margin:0!important;background:#0d2833!important;border:1px solid #315361!important;border-radius:10px!important}
body.gc-site .cab-nav__list{display:flex!important;flex-wrap:wrap;gap:5px!important;padding:0!important}
body.gc-site .cab-nav__btn{width:auto!important;flex:1 0 auto;min-height:49px!important;padding:12px 16px!important;border:1px solid transparent!important;border-radius:6px!important;justify-content:center;gap:8px!important;color:#b2cbd5!important;font-size:14px!important}
body.gc-site .cab-nav__btn.is-on{background:#ff7a28!important;color:#071a22!important;border-color:#ff7a28!important}
body.gc-site .cab-nav__btn.is-on i{color:inherit!important}
body.gc-site .cab-section-title{margin:8px 0 0!important}.cab-section-title h2{color:#edf5f6!important}
body.gc-site .cab-panel{min-width:0;background:none!important;border:0!important;padding:0!important}
body.gc-site :is(.cab-stat,.cab-card,.cab-activity,.cab-inv-toolbar,.cab-settings-card,.cab-social,.cab-stats-card,.cab-ach){background:#0e2b37!important;border-color:#315361!important;border-radius:10px!important;color:#e3eff2!important}
body.gc-site :is(.cab-muted,.cab-ach p,.cab-stat small,.cab-card label){color:#a1bfca!important}
.gc-appearance-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.gc-appearance-heading h3{font-size:30px;margin:8px 0}.gc-appearance-heading p{color:#a1bfca;max-width:570px;line-height:1.6}
.gc-effects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}
.gc-effect-card{display:flex;flex-direction:column;align-items:center;min-height:230px;gap:12px;background:#0e2b37;border:1px solid #315361;border-radius:12px;padding:30px 12px 18px;color:#e9f4f6;cursor:pointer;transition:border-color .2s,transform .2s}
.gc-effect-card:hover{transform:translateY(-3px);border-color:#71d5df}.gc-effect-card[aria-pressed=true]{border:2px solid #ff914b;background:#173740}.gc-effect-card strong{margin-top:12px}.gc-effect-card small{font-size:11px;color:#94b8c6}.gc-effect-state{font-size:12px;color:#ffb481}.gc-effect-preview{position:relative;display:grid;place-items:center;width:70px;height:70px;background:#174352;border-radius:18px;font-size:27px;font-weight:850;isolation:isolate}
/* Forum: modern community room instead of the old autumn library. */
body.gc-site .fh{--gold:#ff914b;--ink:#edf5f6;--muted:#a4bec8;--line:#315361;background:transparent!important;color:#edf5f6!important;padding:0!important}
body.gc-site .fh-header{background:transparent!important;border-color:#315361!important}
body.gc-site .fh-brand>span{background:#ff7a28!important;color:#08202b!important;border-radius:8px!important}
body.gc-site .fh-hero{border:1px solid #315361;border-radius:14px;min-height:400px!important}
body.gc-site .fh-hero-art{background-image:url('../assets/club/forum-hall-v3.webp')!important;background-position:right top!important}
body.gc-site .fh-hero-shade{background:linear-gradient(90deg,#071a22f2,#071a22b8 45%,#071a2200)!important}
body.gc-site .fh-hero-copy{padding:48px!important;max-width:690px!important}
body.gc-site .fh-hero h1{font-size:clamp(36px,4vw,62px)!important;line-height:1.08!important;color:#f2f7f8!important}
body.gc-site .fh-hero h1 em{color:#ff914b!important}.fh-hero p{color:#b7ccd5!important}
body.gc-site :is(.fh-category,.fh-topic,.fh-idea-card,.fh-thread,.fh-comment,.fh-thread-side,.fh-dialog,.fh-compose-panel,.fh-search,.fh-select,.fh-empty,.fh-gate){background:#0e2b37!important;border-color:#315361!important;color:#dfedf1!important;border-radius:10px!important}
body.gc-site .fh-category.is-active{border-color:#ff914b!important;box-shadow:inset 0 -3px #ff914b!important;background:#18343e!important}
body.gc-site .fh-button{background:#ff7a28!important;color:#08202b!important;border:0!important;border-radius:6px!important;font-weight:800!important}
body.gc-site .fh-link{color:#ffb481!important}.fh-hero-label{background:#0e2b37de!important;border-color:#315361!important;color:#82d8e1!important}
body.gc-site .fh-hero-label:before{display:none}.fh-topic:hover{border-color:#62becd!important;transform:translateY(-2px);transition:transform .2s}
body.gc-site .fh-idea-card img,body.gc-site .fh-empty img{object-position:right center!important}
/* Public stream directory and creator studio; live thumbnails stay live. */
body.gc-site .tw-hub{--tw-bg:#071a22;--tw-card:#0e2b37;--tw-border:#315361;--tw-ink:#edf5f6;--tw-muted:#a4bec8;--tw-purple:#ff914b;background:transparent!important;color:#edf5f6!important}
body.gc-site .tw-hero{min-height:410px!important;border:1px solid #315361!important;border-radius:14px!important}
body.gc-site .tw-hero-image{background-image:url('../assets/club/broadcast.webp')!important;background-position:right top!important;object-position:right top!important}
body.gc-site .tw-hero-shade{background:linear-gradient(90deg,#071a22f2,#071a22bd 45%,transparent)!important}
body.gc-site .tw-hero-copy{padding:46px!important;max-width:740px!important}
body.gc-site .tw-hero h1{font-size:clamp(36px,4vw,62px)!important;color:#edf5f6!important}.tw-hero h1 em{color:#ff914b!important}
body.gc-site :is(.tw-stream-card,.tw-setup-card,.tw-channel-history,.tw-streamer-row,.tw-case-choice,.tw-panel,.tw-stat,.tw-admin-card){background:#0e2b37!important;border-color:#315361!important;border-radius:10px!important;color:#e4f0f3!important}
body.gc-site .tw-setup-card:before{background-image:url('../assets/club/broadcast.webp')!important;background-position:center top!important}
body.gc-site .tw-stream-offline-art{background-image:url('../assets/club/broadcast.webp')!important;background-position:center top!important}
body.gc-site .tw-button{background:#ff7a28!important;color:#071a22!important;border-color:#ff7a28!important;border-radius:6px!important}
body.gc-site .tw-secondary{background:#11313e!important;color:#c7dfe6!important;border-color:#315361!important;border-radius:6px!important}
body.gc-site .tw-kicker{color:#79cedb!important}.tw-stream-card:hover{transform:translateY(-4px);transition:transform .25s}
/* Messenger sits outside the route panel and loads its legacy stylesheet later. */
body.gc-site #global-chat{--ms-bg:#071a22;--ms-panel:#0e2b37;--ms-ink:#edf5f6;--ms-muted:#a4bec8;--ms-gold:#ff914b;--ms-line:#315361;color:#edf5f6;font-family:Inter,'Segoe UI',sans-serif}
body.gc-site #global-chat .ms-fab{background:#ff7a28!important;color:#071a22!important;border:1px solid #ff9d61!important;border-radius:12px!important;min-height:54px!important;padding:14px 21px!important;box-shadow:0 8px 30px #0006!important;font-size:15px!important;gap:12px!important;bottom:24px!important;right:24px!important;transition:transform .2s}
body.gc-site #global-chat .ms-fab:hover{transform:translateY(-3px)}
body.gc-site #global-chat .ms-window{background:#081f29!important;border:1px solid #3a6370!important;border-radius:16px!important;box-shadow:0 25px 120px #000a!important;overflow:hidden;max-width:1300px!important}
body.gc-site #global-chat .ms-window:not([hidden]){animation:gc-chat-enter .24s ease-out}
body.gc-site #global-chat .ms-sidebar{background:#09232e!important;border-color:#315361!important;width:auto;min-width:0}
body.gc-site #global-chat .ms-side-head{background:linear-gradient(#08212bd9,#08212bf2),url('../assets/club/chat-lounge-v3.webp') right center/cover!important;padding:27px 24px!important}
body.gc-site #global-chat .ms-side-head:before,body.gc-site #global-chat .ms-side-head:after{display:none!important}
body.gc-site #global-chat .ms-side-head h2{font-size:27px!important;color:#f2f7f8!important}.ms-side-head small{color:#72cedb!important}
body.gc-site #global-chat .ms-search{background:#0d2e3b!important;border:1px solid #315361!important;border-radius:8px!important;margin:14px!important}
body.gc-site #global-chat .ms-search input{color:#deedf2!important;background:transparent!important}
body.gc-site #global-chat .ms-conversation{background:transparent!important;border:1px solid transparent!important;border-radius:9px!important;padding:14px!important;color:#e8f2f5!important}
body.gc-site #global-chat .ms-conversation.is-active,body.gc-site #global-chat .ms-conversation[aria-current=true]{background:#153c49!important;border-color:#397485!important;box-shadow:inset 3px 0 #ff914b!important}
body.gc-site #global-chat .ms-header{background:#102d39!important;border-color:#315361!important;padding:19px 24px!important}
body.gc-site #global-chat .ms-header h2{color:#f2f7f8!important;font-size:22px!important}
body.gc-site #global-chat .ms-history{background:linear-gradient(#061c27e8,#061c27ed),url('../assets/club/chat-lounge-v3.webp') center/cover!important;scrollbar-color:#3a6575 transparent}
body.gc-site #global-chat .ms-history:before,body.gc-site #global-chat .ms-history:after{display:none!important}
body.gc-site #global-chat .ms-bubble{background:#153440!important;border:1px solid #2f5564!important;border-radius:12px 12px 12px 3px!important;color:#e7f1f4!important;box-shadow:0 5px 12px #0002}
body.gc-site #global-chat .ms-message.is-own .ms-bubble,body.gc-site #global-chat .ms-message.mine .ms-bubble{background:#174650!important;border-color:#3d7986!important;border-radius:12px 12px 3px 12px!important}
body.gc-site #global-chat .ms-compose{background:#0b2733!important;border-color:#315361!important;padding:14px 20px!important}
body.gc-site #global-chat .ms-compose>form[data-form]{background:#09222d!important;border:1px solid #396476!important;border-radius:10px!important;box-shadow:none!important}
body.gc-site #global-chat [data-text]{background:transparent!important;color:#edf5f6!important;border:0!important;box-shadow:none!important;outline:none!important;min-height:48px!important}
body.gc-site #global-chat [data-text]:focus-visible{outline:2px solid #67cfdf!important;outline-offset:2px}
body.gc-site #global-chat .ms-send{background:#ff7a28!important;color:#071a22!important;border-radius:8px!important;box-shadow:none!important}
body.gc-site #global-chat :is(.ms-icon,.ms-avatar,.ms-attachment,.ms-picker,.ms-reply){background-color:#173c49!important;color:#c2dce4!important;border-color:#315361!important;border-radius:8px!important}
body.gc-site #global-chat :is(.ms-date,.ms-day){background:#0a2632!important;color:#aac5d0!important;border:1px solid #315361!important;border-radius:6px!important}
body.gc-site #global-chat [hidden]{display:none!important}
@keyframes gc-chat-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(min-width:1700px){body.gc-site .gc-welcome{min-height:560px}.gc-welcome-copy{max-width:55%}}
@media(max-width:900px){body.gc-site .cab-main>.cab-hero{padding:28px!important}.gc-appearance-heading{align-items:start;flex-direction:column}.gc-effects-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.gc-site .fh-hero-copy,body.gc-site .tw-hero-copy{padding:30px!important}body.gc-site .cab-nav__btn{flex:0 0 auto}}
@media(max-width:600px){body.gc-site .gc-welcome{min-height:620px;padding-top:270px}.gc-welcome-art{object-fit:cover!important}body.gc-site .gc-welcome-art{object-position:72% top!important;width:100%!important;height:360px!important}.gc-welcome-shade{background:linear-gradient(0deg,#071a22 0%,#071a22 43%,#071a2200 90%)!important}.gc-welcome h1{font-size:34px!important}body.gc-site .gc-step-art{aspect-ratio:1.8}body.gc-site .gc-case-art{height:175px!important}body.gc-site .gc-case-art>img{padding:9px!important}body.gc-site .cab-main>.cab-hero{padding:26px 20px!important;display:flex!important;flex-direction:column;align-items:start;gap:24px}body.gc-site .cab-hero__ava{width:90px!important;height:90px!important;min-width:90px;font-size:36px!important}body.gc-site .cab-hero__chips{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}body.gc-site .cab-hero__chips>span{min-width:0}body.gc-site .cab-nav__list{flex-wrap:nowrap;overflow-x:auto;padding:2px!important}body.gc-site .cab-nav__btn{font-size:12px!important;padding:10px 13px!important}.gc-effects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gc-effect-card{min-height:220px;padding:28px 8px 12px}.gc-effect-card strong{font-size:13px}body.gc-site .fh-hero,body.gc-site .tw-hero{min-height:420px!important}body.gc-site .fh-hero-copy,body.gc-site .tw-hero-copy{padding:28px 22px!important}body.gc-site .fh-hero-shade,body.gc-site .tw-hero-shade{background:linear-gradient(90deg,#071a22ed,#071a2277)!important}body.gc-site .fh-hero h1,body.gc-site .tw-hero h1{font-size:36px!important}body.gc-site #global-chat .ms-window{border-radius:0!important;max-width:none!important}body.gc-site #global-chat .ms-sidebar{width:100%}body.gc-site #global-chat .ms-fab{bottom:85px!important;right:16px!important;min-height:48px!important;padding:12px 16px!important;font-size:13px!important}body.gc-site #global-chat .ms-header{padding:13px!important}body.gc-site #global-chat .ms-compose{padding:10px!important}}
@media(prefers-reduced-motion:reduce){body.gc-site #global-chat .ms-window,body.gc-site .gc-effect-card,body.gc-site .fh-topic,body.gc-site .tw-stream-card{animation:none!important;transition:none!important;transform:none!important}}
body.gc-motion-off #global-chat .ms-window,body.gc-motion-off .gc-effect-card{animation:none!important;transition:none!important}
/* Remaining route surfaces use their actual component selectors. */
body.gc-site .gc-account-avatar{position:relative;isolation:isolate;overflow:visible!important}
body.gc-site #global-chat .ms-heading h3{color:#eff7f8!important;font-size:22px!important}
body.gc-site #global-chat :is(.ms-stickers,.ms-reply-preview,.ms-media,.ms-load-media,.ms-file){background:#123441!important;border-color:#315361!important;color:#d9edf2!important;border-radius:8px!important}
body.gc-site #global-chat .ms-day>span{background:#0a2632!important;color:#aac5d0!important;border:1px solid #315361!important;border-radius:6px!important}
body.gc-site :is(.rtx-page,.bjx-page,.cqx-page,.mnx-page,.al-page,.fs-page,.pt-shell,.cw,.gbet-arena,.gbet-slip){--gold:#ff914b;--ink:#edf5f6;--muted:#a4bec8;--line:#315361;--panel:#0e2b37;--pt-gold:#ff914b;--pt-bg:#071a22;--pt-card:#0e2b37;--pt-line:#315361;--pt-text:#edf5f6;--pt-muted:#a4bec8;--cw-accent:#ff914b;--arena-accent:#ff914b;--arena-accent-rgb:255,145,75;--arena-accent-tint:#ff914b22;--arena-bg:#071a22;--arena-panel:#0e2b37;--arena-line:#315361;--arena-muted:#a4bec8;background-color:#071a22!important;color:#edf5f6!important}
body.gc-site :is(.rtx-page__bg,.bjx-page__bg,.cqx-page__bg,.mnx-page__bg,.cw-backdrop){background-image:var(--gc-page-scene)!important;background-position:center top!important;opacity:.35!important}
body.gc-site :is(.rtx-page__veil,.bjx-page__veil,.cqx-page__veil,.mnx-page__veil){background:linear-gradient(#071a2277,#071a22)!important}
body.gc-site :is(.al-hero,.pt-hero,.cw-hero,.arena-hero,.fs-header,.adm-head){background-image:linear-gradient(90deg,#071a22ed,#071a2277),var(--gc-page-scene)!important;background-size:cover!important;background-position:right top!important;border:1px solid #315361!important;border-radius:12px!important;color:#edf5f6!important}
body.gc-site :is(.hq-hero-bg,.arena-hero-art){background-image:var(--gc-page-scene)!important;background-position:right top!important}
body.gc-site :is(.fs-card,.fs-panel,.fs-room-hero,.al-board,.al-card,.al-stat,.pt-card,.pt-panel,.pt-tournament,.adm-card,.adm-panel,.adm-section,.cw-card,.cw-panel){background-color:#0d2b37!important;border-color:#315361!important;border-radius:10px!important;color:#e7f1f5!important}
body.gc-site :is(.al-hero h1,.pt-hero h1,.cw-hero h1,.arena-hero h1,.fs-header h1,.adm-head h1){color:#f0f7f8!important}
body.gc-site :is(.al-hero em,.pt-hero em,.cw-hero em,.arena-hero em){color:#ff914b!important}
body.gc-site :is(.al-button,.pt-btn--primary,.cw-button--primary,.adm-primary){background:#ff7a28!important;color:#071a22!important;border-color:#ff7a28!important;border-radius:6px!important}
body.gc-site .tw-hero-image{transform-origin:right top!important}
body.gc-site #global-chat .ms-history{background-image:linear-gradient(rgba(7,26,34,var(--ms-wallpaper-dim,.65)),rgba(7,26,34,var(--ms-wallpaper-dim,.65))),var(--gc-chat-wallpaper,var(--ms-wallpaper-image,url('../assets/club/chat-lounge-v3.webp')))!important}
body.gc-site #global-chat .ms-history[data-wallpaper-preset=observatory]{--gc-chat-wallpaper:url('../assets/club/chat-lounge-v3.webp')}
body.gc-site #global-chat .ms-history[data-wallpaper-preset=cozy]{--gc-chat-wallpaper:url('../assets/club/forum-hall-v3.webp')}
body.gc-site #global-chat .ms-history[data-wallpaper-preset=neon]{--gc-chat-wallpaper:url('../assets/club/arena.webp')}
body.gc-site #global-chat .ms-history[data-wallpaper-preset=minimal]{--gc-chat-wallpaper:url('../assets/club/profile-vault-v3.webp')}
body.gc-site #global-chat :is(.ms-wallpaper-panel,.ms-wallpaper-preset,.ms-wallpaper-actions){background:#102e3a!important;color:#ddecf2!important;border-color:#315361!important}
body.gc-site :is(.cqx-dealer img,.bjx-dealer__photo){object-position:70% top!important;border-color:#315361!important}
body.gc-site .bjx-dealer__photo{background-image:url('../assets/club/cards-cinema.webp')!important;background-position:70% top!important}
