/* v1.18.13: Game-specific final layer loaded AFTER World Guesser.
   Solve the actual cascade, not another global theme overhaul. */
body.gp22-page .gp-sound-toggle{position:relative;isolation:isolate}
body.gp22-page .gp25-header-actions .gp-sound-toggle{min-height:44px!important;min-width:44px!important;touch-action:manipulation!important}
body.gp22-page .gp25-header-actions .gp-sound-toggle[aria-pressed="true"]{border-color:#69beab!important;color:#bdf9e7!important}
@media(max-width:640px){
 body.gp22-page .cb-header-inner{gap:8px!important;min-height:60px!important}
 body.gp22-page .gp25-header-actions{margin-left:auto!important;gap:7px!important;display:flex!important;align-items:center!important}
 body.gp22-page .gp25-header-actions .gp-sound-toggle{width:46px!important;height:46px!important;min-width:46px!important;font-size:19px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
 body.gp22-page .gp25-header-actions .gp25-imposter-cta{min-height:44px!important;display:inline-flex!important;align-items:center!important;padding:9px 12px!important;font-size:12px!important;white-space:nowrap!important}
 body.gp22-page .gp25-header-actions .gp-sound-toggle span{display:none!important}
}
/* World Guesser: original CSS was loaded after the theme and painted the game white.
   Keep ONLY the geographic SVG light, and keep its equidistant pin projection intact. */
body.gp21-world-guesser .gp-world-page{max-width:1120px!important;width:100%!important;margin:0 auto!important;min-width:0!important}
body.gp21-world-guesser .wg-intro{padding:12px 0 10px!important}
body.gp21-world-guesser .wg-intro h1{color:#f5f9ff!important;font-size:clamp(30px,3vw,43px)!important;margin:4px 0 9px!important}
body.gp21-world-guesser .wg-intro p{color:#b9c9d8!important;font-size:14px!important;max-width:760px!important}
body.gp21-world-guesser .wg-category-row{margin:11px 0 15px!important;align-items:center!important}
body.gp21-world-guesser .wg-category-row label{color:#c4d8e4!important;font-size:13px!important}
body.gp21-world-guesser .wg-category-row select{background:#172a3e!important;color:#f3f7fe!important;border:1px solid #44617b!important;padding:10px 16px!important;min-height:44px!important}
body.gp21-world-guesser #gp-world-guesser{background:#152337!important;border:1px solid #3b5066!important;border-radius:14px!important;box-shadow:none!important;overflow:hidden!important;color:#eaf2f9!important}
body.gp21-world-guesser .wg-progress{background:#1c3047!important;border-bottom:1px solid #375069!important}
body.gp21-world-guesser .wg-progress span:not(:last-child){border-right-color:#38506a!important}
body.gp21-world-guesser .wg-progress b{color:#f8fbff!important;font-size:17px!important}
body.gp21-world-guesser .wg-progress small{color:#bdcbdd!important;font-size:11px!important}
body.gp21-world-guesser .wg-track{background:#273d53!important}
body.gp21-world-guesser .wg-track>span{background:#8de6c6!important}
body.gp21-world-guesser .wg-play{padding:19px 23px 24px!important}
body.gp21-world-guesser .wg-clue-label{color:#8ee8cc!important}
body.gp21-world-guesser .wg-play h2{color:#f5f8fc!important;font-size:clamp(22px,2.5vw,28px)!important;margin:7px 0!important;line-height:1.18!important}
body.gp21-world-guesser .wg-clue{color:#e4edf7!important;font-size:clamp(15px,1.35vw,18px)!important;margin:8px 0!important}
body.gp21-world-guesser .wg-help,body.gp21-world-guesser .wg-selection{color:#bfd0e0!important;font-size:13px!important}
body.gp21-world-guesser .wg-help{margin:7px 0 14px!important}
body.gp21-world-guesser .wg-map{background-color:#e8f1f0!important;border:1px solid #7fa9ae!important;border-radius:11px!important;width:min(100%,98svh,1040px)!important;aspect-ratio:2/1!important;margin:0 auto!important;max-height:none!important;min-height:0!important;touch-action:manipulation!important}
body.gp21-world-guesser .wg-buttons button{min-height:44px!important;background:#91e8ca!important;color:#112b32!important;border-color:#91e8ca!important}
body.gp21-world-guesser .wg-buttons button.wg-secondary{background:#20354a!important;color:#e9f3fa!important;border-color:#48667d!important}
body.gp21-world-guesser .wg-feedback{color:#c9f8e4!important}
body.gp21-world-guesser .wg-finish{padding:38px 22px!important;background:#152337!important}
body.gp21-world-guesser .wg-finish h2,body.gp21-world-guesser .wg-summary b{color:#f8fbff!important}
body.gp21-world-guesser .wg-summary span{background:#213a50!important;color:#d7e7f5!important;border:1px solid #3e5970!important}
body.gp21-world-guesser .wg-data-note{color:#a5bbcd!important;max-width:90ch!important}
@media(max-width:700px){
 body.gp21-world-guesser .wg-progress{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 body.gp21-world-guesser .wg-progress span{padding:11px 2px!important}
 body.gp21-world-guesser .wg-progress b{font-size:13px!important}
 body.gp21-world-guesser .wg-progress small{font-size:9px!important;overflow-wrap:anywhere!important}
 body.gp21-world-guesser .wg-play{padding:17px 13px 20px!important}
 body.gp21-world-guesser .wg-map{width:100%!important;aspect-ratio:2/1!important}
 body.gp21-world-guesser .wg-clue{font-size:15px!important}
}
/* Imposter is its OWN game — separate from World Guesser styles.
   Maintain readable stage, compact setup and high contrast over the dark arcade backdrop. */
body.gp21-imposter-home .cb-game-panel,body.gp21-imposter-variant .cb-game-panel{max-width:950px!important;width:100%!important;margin-inline:auto!important;padding:clamp(18px,3vw,30px)!important;background:#16263b!important;border:1px solid #3c526c!important;color:#e9f3fc!important}
body.gp21-imposter-home .cb-game-panel-head,body.gp21-imposter-variant .cb-game-panel-head{border-bottom:1px solid #34495f!important;padding-bottom:16px!important;margin-bottom:22px!important}
body.gp21-imposter-home .cb-game-panel-head span,body.gp21-imposter-variant .cb-game-panel-head span{color:#c2d2df!important}
body.gp21-imposter-home #cb-game :is(h2,h3,strong,b),body.gp21-imposter-variant #cb-game :is(h2,h3,strong,b){color:#f6f9fc!important}
body.gp21-imposter-home #cb-game :is(.cb-lead,.cb-note,.cb-concealed p,.cb-progress,.cb-pane-head p),body.gp21-imposter-variant #cb-game :is(.cb-lead,.cb-note,.cb-concealed p,.cb-progress,.cb-pane-head p){color:#bcd0df!important}
body.gp22-page #cb-game :is(.cb-field label,.cb-field>span,.cb-check){color:#d0deea!important}
body.gp22-page #cb-game .cb-setup-grid>div+div{border-left-color:#365069!important}
body.gp22-page #cb-game :is(.cb-field select,.cb-field input,.cb-player-entry){background:#20354a!important;border:1px solid #486279!important;color:#f6faff!important}
body.gp22-page #cb-game .cb-player-entry input{border:0!important;color:#f6faff!important;background:transparent!important}
body.gp22-page #cb-game :is(.cb-field input,.cb-field select)::placeholder{color:#97b0c0!important}
body.gp22-page #cb-game :is(.cb-progress,.cb-game-actions){border-color:#3a5269!important}
body.gp22-page #cb-game :is(.cb-concealed,.cb-secret,.cb-instruction-strip,.cb-result-card,.cb-tally,.cb-vote-choice,.cb-generator-card){background:#1d334a!important;border-color:#40586e!important;color:#e6f1fa!important;box-shadow:none!important}
body.gp22-page #cb-game :is(.cb-secret,.cb-result-card) :is(p,span,small),body.gp22-page #cb-game .cb-concealed small{color:#c5d6e3!important}
body.gp22-page #cb-game .cb-vote-choice{min-height:53px!important}
body.gp22-page #cb-game :is(.cb-result-line,.cb-tally-row){border-color:#3c5368!important}
body.gp22-page #cb-game .cb-button-primary{background:#92e8ca!important;border-color:#92e8ca!important;color:#112b32!important}
body.gp22-page #cb-game .cb-button-secondary{background:#263d52!important;border-color:#537086!important;color:#eef7ff!important}
body.gp22-page #cb-game .cb-button-quiet{background:#1e3146!important;color:#d6e7f2!important;border-color:#405d75!important}
body.gp22-page #cb-game :is(.cb-player-entry,.cb-field input,.cb-field select){min-height:44px!important}
@media(max-width:700px){
 body.gp22-page #cb-game .cb-setup-grid{grid-template-columns:1fr!important;gap:16px!important}
 body.gp22-page #cb-game .cb-setup-grid>div+div{border-left:0!important;padding-left:0!important;border-top:1px solid #365069!important;padding-top:18px!important}
 body.gp22-page #cb-game .cb-pane-head{gap:12px!important;flex-wrap:wrap!important}
 body.gp22-page #cb-game .cb-game-center{max-width:100%!important}
 body.gp22-page #cb-game .cb-vote-grid{grid-template-columns:1fr!important}
 body.gp22-page .cb-game-panel-head{flex-wrap:wrap!important;gap:8px!important}
}
/* Signal Hunt — signature daily progressive-clue puzzle */
body.gp22-page .sh-page{max-width:1100px;margin:0 auto;min-width:0}
body.gp22-page .sh-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:32px clamp(20px,4vw,42px);background:linear-gradient(115deg,#1a3852,#14243c 65%);border:1px solid #38566c;border-radius:14px;margin:18px 0 20px}
body.gp22-page .sh-eyebrow{font-size:11px;letter-spacing:.11em;font-weight:800;color:#9ce8d1}
body.gp22-page .sh-hero h1{font-size:clamp(36px,5vw,58px);letter-spacing:-.055em;line-height:1.06;margin:11px 0 12px}
body.gp22-page .sh-hero p{color:#bed3e2;max-width:650px;font-size:16px;line-height:1.65;margin:0}
body.gp22-page .sh-hero-facts{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
body.gp22-page .sh-hero-facts span{border:1px solid #48667e;background:#1d3850;border-radius:7px;color:#d4e5f0;padding:7px 11px;font-size:12px;font-weight:650}
body.gp22-page .sh-emblem{width:135px;height:135px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #629d9d;border-radius:50%;position:relative;color:#a7f3dc}
body.gp22-page .sh-emblem span{font-size:70px;line-height:1;font-weight:800}
body.gp22-page .sh-emblem i{font-size:11px;letter-spacing:.18em;font-style:normal}
body.gp22-page .sh-stage{background:#18283d;border:1px solid #3c546d;border-radius:13px;overflow:hidden;margin:0 0 11px;color:#eaf2fa}
body.gp22-page .sh-topbar{display:flex;align-items:center;justify-content:space-between;padding:14px 23px;gap:18px;background:#20334b}
body.gp22-page .sh-topbar>div:first-child{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
body.gp22-page .sh-tag{color:#96ebd1;font-size:11px;letter-spacing:.07em;font-weight:800}
body.gp22-page .sh-round{font-size:13px;color:#c2d3e0;font-weight:650}
body.gp22-page .sh-total{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;color:#f8fcff;white-space:nowrap}
body.gp22-page .sh-total small{font-size:11px;display:block;text-align:right;font-weight:600;color:#b8c8d5}
body.gp22-page .sh-progress{height:5px;background:#2b4057}
body.gp22-page .sh-progress>span{display:block;height:100%;background:#8de8c9}
body.gp22-page .sh-stage-body{padding:clamp(20px,3.5vw,36px)}
body.gp22-page .sh-question h2{font-size:clamp(26px,3.5vw,38px);margin:10px 0;line-height:1.15}
body.gp22-page .sh-question p{color:#bdcfdf;font-size:14px;margin:0 0 24px}
body.gp22-page .sh-question p b{color:#a4f3d7}
body.gp22-page .sh-clues{list-style:none;display:grid;gap:9px;padding:0;margin:0 0 22px}
body.gp22-page .sh-clues li{display:flex;gap:15px;align-items:baseline;background:#22384e;border:1px solid #425b73;border-radius:9px;padding:15px 17px;min-width:0}
body.gp22-page .sh-clues li span{font-weight:850;font-size:12px;color:#91eaca;flex:none}
body.gp22-page .sh-clues p{margin:0;color:#ecf3fb;font-size:clamp(14px,1.5vw,16px);line-height:1.5}
body.gp22-page .sh-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.gp22-page .sh-options button{border:1px solid #46647d;background:#243b52;color:#f3f8fc;border-radius:9px;padding:15px 17px;min-height:56px;text-align:left;font-weight:720;font-size:15px;line-height:1.4;cursor:pointer}
body.gp22-page .sh-options button:hover:not(:disabled),body.gp22-page .sh-options button:focus-visible{border-color:#9fead5;background:#2c4d60}
body.gp22-page .sh-options button:disabled{opacity:.46;cursor:default}
body.gp22-page .sh-bottom{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:18px;flex-wrap:wrap}
body.gp22-page .sh-reveal{border:1px solid #57748b;background:#1f3147;color:#dce9f2;padding:12px 17px;border-radius:8px;min-height:44px;font-weight:750;cursor:pointer}
body.gp22-page .sh-reveal:disabled{opacity:.55}
body.gp22-page .sh-count,body.gp22-page .sh-progress-note{color:#adc4d3;font-size:12px}
body.gp22-page .sh-progress-note{padding:6px 2px 17px}
body.gp22-page .sh-message{margin-top:14px;min-height:18px;color:#a1f3d7;font-size:14px}
body.gp22-page .sh-next,body.gp22-page .sh-finish-actions button,body.gp22-page .sh-intro button{border:1px solid #8de8cb;background:#8de8cb;color:#092a30;border-radius:8px;padding:12px 19px;min-height:46px;font-weight:800;cursor:pointer}
body.gp22-page .sh-revealed{grid-column:1/-1;background:#24483f;padding:21px;border:1px solid #549d85;border-radius:9px}
body.gp22-page .sh-revealed span{font-size:11px;color:#b4f7dd;font-weight:800;display:block;margin-bottom:7px}
body.gp22-page .sh-revealed strong{font-size:29px;color:#f8fffb}
body.gp22-page .sh-revealed p{color:#d1f3e5;margin:7px 0 0}
body.gp22-page .sh-finish,body.gp22-page .sh-intro{padding:35px;text-align:center}
body.gp22-page .sh-finish h2,body.gp22-page .sh-intro h2{font-size:clamp(27px,4vw,40px);margin:12px 0}
body.gp22-page .sh-finish p,body.gp22-page .sh-intro p{color:#c3d5e2}
body.gp22-page .sh-result-score{font-size:clamp(58px,9vw,95px);font-weight:860;letter-spacing:-.07em;color:#a4f2d7;line-height:1.3}
body.gp22-page .sh-result-score small{font-size:16px;letter-spacing:0;color:#b9cad9;font-weight:650}
body.gp22-page .sh-run-mark{font-size:29px!important;color:#a4e9d0!important;letter-spacing:6px}
body.gp22-page .sh-finish-actions{display:flex;justify-content:center;gap:11px;flex-wrap:wrap;margin:25px auto}
body.gp22-page .sh-finish-actions button+button{background:#263c52;color:#e7f2fa;border-color:#4e6982}
body.gp22-page .sh-back{color:#baf5e3}
body.gp22-page .sh-how{margin:32px 0 60px;padding:23px 26px;border:1px solid #344b63;background:#142338;border-radius:12px}
body.gp22-page .sh-how h2{font-size:21px;margin-bottom:12px}
body.gp22-page .sh-how p{font-size:14px;color:#bbcddd;max-width:86ch}
body.gp22-page .sh-home-feature{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:22px;background:linear-gradient(108deg,#1e3b51 0%,#192a41 74%);border:1px solid #44617b;border-radius:13px;padding:26px 31px;margin:0 0 30px;align-items:center}
body.gp22-page .sh-home-feature h2{font-size:clamp(25px,3vw,36px);margin:7px 0}
body.gp22-page .sh-home-feature p{color:#c4d6e3;font-size:14px;line-height:1.6;max-width:590px}
body.gp22-page .sh-home-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:18px}
body.gp22-page .sh-home-actions a{display:inline-flex;background:#91e9c9;border-radius:8px;color:#0d2a30;padding:12px 19px;text-decoration:none;font-weight:800}
body.gp22-page .sh-home-actions>span{color:#b7cddd;font-size:12px}
body.gp22-page .sh-home-right{display:flex;gap:7px;align-items:center;justify-content:center}
body.gp22-page .sh-home-right span,body.gp22-page .sh-home-right b{height:56px;width:39px;display:grid;place-items:center;border:1px solid #4a6b7a;border-radius:8px;color:#afdbc8;font-size:15px}
body.gp22-page .sh-home-right b{background:#8de8ca;color:#112b32;font-size:32px;border-color:#8de8ca}
@media(max-width:640px){
 body.gp22-page .sh-hero{padding:24px 19px;margin-top:12px}
 body.gp22-page .sh-emblem{display:none}
 body.gp22-page .sh-options{grid-template-columns:1fr}
 body.gp22-page .sh-stage-body{padding:18px 15px}
 body.gp22-page .sh-topbar{padding:13px 16px}
 body.gp22-page .sh-clues li{padding:12px}
 body.gp22-page .sh-home-feature{grid-template-columns:1fr;padding:22px 19px}
 body.gp22-page .sh-home-right{display:none}
 body.gp22-page .sh-finish,body.gp22-page .sh-intro{padding:28px 17px}
}
@media(prefers-reduced-motion:reduce){body.gp22-page .sh-progress>span{transition:none}}

/* Final cascade corrections observed in live-template fixtures. */
body.gp21-imposter-home .cb-game-panel .cb-game-panel-head,body.gp21-imposter-variant .cb-game-panel .cb-game-panel-head{background:transparent!important;color:#d6e8f5!important}
body.gp21-imposter-home .cb-game-panel-head .cb-kicker,body.gp21-imposter-variant .cb-game-panel-head .cb-kicker{color:#9ee6d0!important}
@media(max-width:390px){
 body.gp21-world-guesser .wg-intro,body.gp21-world-guesser .wg-category-row,body.gp21-world-guesser .gp-world-page{min-width:0!important;max-width:100%!important}
 body.gp21-world-guesser .wg-progress{min-width:0!important}
 body.gp21-world-guesser .wg-buttons{min-width:0!important}
 body.gp21-world-guesser .wg-progress span{min-width:0!important}
}
@media(max-width:350px){
 /* Keep the sound switch on-screen; Imposter stays accessible in the game directory. */
 body.gp22-page .gp25-header-actions .gp25-imposter-cta{display:none!important}
 body.gp22-page .cb-logo{min-width:0!important;font-size:19px!important}
 body.gp22-page .cb-header-inner{justify-content:space-between!important}
}
@media(min-width:351px) and (max-width:420px){
 body.gp22-page .gp25-header-actions .gp25-imposter-cta{padding:8px 8px!important;font-size:11px!important}
 body.gp22-page .cb-logo span{font-size:20px!important}
 body.gp22-page .gp25-header-actions{gap:5px!important}
}
@media(max-width:640px){
 /* Long collection nav is intentionally horizontally scrollable, never page-wide. */
 body.gp22-page .gp23-mode-nav{max-width:100vw!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important}
 body.gp22-page .gp23-mode-nav-inner{width:max-content!important;min-width:100%!important;max-width:none!important}
}
@media(max-width:640px){
 /* Icon-only sound toggle must not retain the hidden label's intrinsic width. */
 body.gp22-page .gp25-header-actions .gp-sound-toggle{overflow:hidden!important;white-space:nowrap!important}
}
