/* GeoChallenge Desktop D06: profile, trophies, ranking, community.
   UI-only; gated by D01 media/opt-out and D06 active states. No mobile rules. */
@media (min-width:1080px) and (hover:hover) and (pointer:fine) {
  body.gc-d01-active.gc-d06-profile #statsOverlay:not([hidden]) {
    padding:20px!important;overflow:hidden;align-items:center;justify-content:center;
    background:rgba(3,13,26,.86)!important;
  }
  body.gc-d01-active.gc-d06-profile #statsOverlay .stats-dialog {
    box-sizing:border-box;display:grid!important;
    grid-template-columns:minmax(270px,34%) minmax(0,1fr);
    grid-template-rows:auto auto minmax(0,1fr);gap:0 18px;
    width:min(1200px,calc(100vw - 64px))!important;max-width:none!important;
    height:min(820px,calc(100dvh - 48px));max-height:calc(100dvh - 48px)!important;
    overflow:hidden!important;padding:22px!important;
    border:1px solid #548b99!important;border-radius:24px!important;
    background:radial-gradient(ellipse at 10% 0,#15576b55,transparent 55%),linear-gradient(155deg,#0d263b,#081b2c)!important;
    box-shadow:0 24px 75px #000b!important;
  }
  body.gc-d01-active.gc-d06-profile #statsOverlay .stats-modal-handle{display:none!important}
  body.gc-d01-active.gc-d06-profile #statsOverlay .stats-modal-head {
    grid-column:1/-1;grid-row:1;position:relative!important;top:auto!important;margin:0 0 15px!important;
    padding:0 0 16px!important;border-bottom:1px solid #326176!important;background:transparent!important;
  }
  body.gc-d01-active.gc-d06-profile #statsOverlay .stats-modal-head h2{font-size:clamp(22px,2vw,28px)!important}
  body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-profile-hero {
    grid-column:1;grid-row:2/4;min-width:0;min-height:0;align-self:start;
    margin:0!important;padding:24px!important;
    border:1px solid #46828c!important;border-radius:19px!important;
    display:flex;flex-direction:column;justify-content:flex-start;gap:8px;
    background:linear-gradient(90deg,#062a40d9,#062a4066),url(/home-design/profile55/hero.webp) right center/cover!important;
  }
  body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-profile-person{grid-template-columns:58px minmax(0,1fr);gap:6px 9px;margin:0 0 8px}
  body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-avatar{width:58px;height:58px;flex:0 0 58px;font-size:36px}
  body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-profile-identity h3{font-size:clamp(21px,2.2vw,30px);line-height:1.12;overflow-wrap:anywhere}
  body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-level{align-self:flex-start;margin-top:3px}
  body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-progress-head{margin-top:14px}
  body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-profile-shortcuts{display:none}
  body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-profile-shortcuts button{width:100%;min-height:52px;text-align:left}
  body.gc-d01-active.gc-d06-profile #statsOverlay .gc55-tabs{grid-column:2;grid-row:2}
  body.gc-d01-active.gc-d06-profile #statsOverlay .gc86-stats-scroll{
    grid-column:2;grid-row:3;display:grid;align-content:start;grid-template-columns:minmax(0,1fr);
    min-width:0;min-height:0;height:100%;max-height:100%;overflow-y:auto!important;
    padding:0 7px 6px 0!important;gap:15px;overscroll-behavior:contain;
    scrollbar-width:thin;scrollbar-color:#3b7a83 transparent;
  }
  body.gc-d01-active.gc-d06-profile #statsOverlay .gc86-section{padding:18px!important;border-radius:18px!important}
  body.gc-d01-active.gc-d06-profile #statsOverlay .profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
  body.gc-d01-active.gc-d06-profile #statsOverlay .stat-tile{min-width:0;padding:12px 5px}
  body.gc-d01-active.gc-d06-profile #statsOverlay #gcAreaRecords{max-width:100%;overflow-x:auto;scrollbar-width:thin}
  body.gc-d01-active.gc-d06-trophies #trophyOverlay:not([hidden]){padding:19px!important;overflow:hidden}
  body.gc-d01-active.gc-d06-trophies #trophyOverlay .v575-gallery-dialog{
    box-sizing:border-box;width:min(1150px,calc(100vw - 56px))!important;max-width:none!important;
    height:min(850px,calc(100dvh - 40px))!important;max-height:calc(100dvh - 40px)!important;
    padding:22px 26px!important;border-radius:24px!important;overflow-y:auto!important;
    scrollbar-width:thin;scrollbar-color:#3b7a83 transparent;
  }
  body.gc-d01-active.gc-d06-trophies #trophyOverlay .v575-gallery-head {
    position:relative!important;top:0!important;margin:0 0 12px!important;padding:0 0 14px!important;
    display:flex;align-items:center;justify-content:space-between;
  }
  body.gc-d01-active.gc-d06-trophies #trophyOverlay .gc91-medal-hero{min-height:158px;margin:0 0 12px;border-radius:20px}
  body.gc-d01-active.gc-d06-trophies #trophyOverlay .gc91-medal-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
  body.gc-d01-active.gc-d06-trophies #trophyOverlay .gc91-medal-totals>div{min-width:0;padding:13px 10px;border:1px solid #3b7281;border-radius:14px;background:#10334b}
  body.gc-d01-active.gc-d06-trophies #trophyOverlay .v575-gallery-filters{display:flex;flex-wrap:wrap;gap:8px;padding:15px 0 11px}
  body.gc-d01-active.gc-d06-trophies #trophyOverlay .v575-gallery-filters button{min-height:42px}
  body.gc-d01-active.gc-d06-trophies #trophyOverlay #trophyCards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:stretch}
  body.gc-d01-active.gc-d06-trophies #trophyOverlay #trophyCards>*{min-width:0;width:auto!important;max-width:none!important}
  body.gc-d01-active.gc-d06-trophies #trophyOverlay #gcAreaTrophyGallery{max-width:100%;overflow-x:auto}
  body.gc-d01-active.gc-d06-trophies #trophyDetail .v575-detail-panel{width:min(660px,calc(100vw - 60px))!important}
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull:not([hidden]){
    padding:18px!important;overflow-y:auto;background:rgba(4,15,30,.97)!important;
  }
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull .gc41-rank-full-inner.gc91-rank-inner{
    box-sizing:border-box;width:min(1060px,calc(100vw - 70px))!important;max-width:none!important;
    min-height:calc(100dvh - 40px);margin:0 auto;padding:22px 27px 40px!important;
    border:1px solid #377581;border-radius:23px;background:linear-gradient(150deg,#0d3046,#071e30);
    box-shadow:0 20px 70px #0008;
  }
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull .gc91-rank-hero{min-height:120px;padding:22px 25px;margin:0 0 18px;border-radius:19px}
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull .gc91-rank-hero h3{font-size:clamp(25px,2.2vw,36px)!important}
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull .gc41-rank-full-header{margin:0 0 14px;position:relative}
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull .gc91-rank-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:550px;margin:0 auto 16px}
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull .gc47-day-nav{width:min(420px,100%);margin:0 auto 18px}
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull #gc91RankPodium{max-width:800px;margin:8px auto 22px}
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull #gcDailyFullLeaders{max-width:900px;margin:auto}
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull #gcDailyFullLeaders>*{min-width:0}
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull .gc47-ranking-actions{max-width:650px;margin:20px auto 0}
  body.gc-d01-active.gc-d06-social #gc260Social:not([hidden]){padding:18px!important}
  body.gc-d01-active.gc-d06-social #gc260Social .gc260-panel{
    box-sizing:border-box;display:grid!important;grid-template-columns:215px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);
    width:min(1100px,calc(100vw - 65px))!important;max-width:none!important;
    height:min(800px,calc(100dvh - 40px))!important;max-height:calc(100dvh - 40px)!important;
    border-radius:24px!important;overflow:hidden!important;
  }
  body.gc-d01-active.gc-d06-social #gc260Social .gc260-head{
    grid-column:1/-1;grid-row:1;min-width:0;padding:22px 25px!important;
    background:linear-gradient(90deg,#123d50,#0e293f);
  }
  body.gc-d01-active.gc-d06-social #gc260Social .gc260-head h2{font-size:clamp(23px,2vw,30px)}
  body.gc-d01-active.gc-d06-social #gc260Social .gc260-tabs{
    grid-column:1;grid-row:2;display:flex!important;flex-direction:column!important;
    justify-content:flex-start;gap:12px!important;padding:25px 14px!important;overflow:auto;
    background:linear-gradient(180deg,#0f3446,#0b273b);
    border-right:1px solid #386474;border-bottom:0!important;
  }
  body.gc-d01-active.gc-d06-social #gc260Social .gc260-tabs button{
    flex:0 0 auto!important;width:100%;min-height:54px;text-align:left;padding:14px 12px!important;
    font-size:13px!important;line-height:1.3;
  }
  body.gc-d01-active.gc-d06-social #gc260Social .gc260-content{
    grid-column:2;grid-row:2;min-width:0;min-height:0;max-height:none;
    overflow-y:auto!important;padding:22px 25px!important;gap:12px;
    scrollbar-width:thin;scrollbar-color:#3b7a83 transparent;
  }
  body.gc-d01-active.gc-d06-social #gc260Social .gc260-row{min-height:76px}
  body.gc-d01-active.gc-d06-social #gc260Social .gc260-row-main strong{font-size:15px}
  body.gc-d01-active.gc-d06-social #gc260Social .gc260-input{max-width:100%;box-sizing:border-box}
  body.gc-d01-active.gc-d06-social #gc260Social .gc260-button:focus-visible,
  body.gc-d01-active.gc-d06-social #gc260Social .gc260-tabs button:focus-visible,
  body.gc-d01-active.gc-d06-profile #statsOverlay button:focus-visible,
  body.gc-d01-active.gc-d06-trophies #trophyOverlay button:focus-visible,
  body.gc-d01-active.gc-d06-ranking #gcDailyRankFull button:focus-visible{outline:3px solid #65e2cd!important;outline-offset:3px}
  /* Narrow desktop and short-window fallbacks without affecting phone/tablet. */
  @media(max-width:1199px){
    body.gc-d01-active.gc-d06-profile #statsOverlay .stats-dialog{grid-template-columns:minmax(230px,32%) minmax(0,1fr);gap:0 12px;padding:15px!important}
    body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-profile-hero{padding:15px!important}
    body.gc-d01-active.gc-d06-profile #statsOverlay .profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
    body.gc-d01-active.gc-d06-trophies #trophyOverlay #trophyCards{grid-template-columns:repeat(2,minmax(0,1fr))}
    body.gc-d01-active.gc-d06-social #gc260Social .gc260-panel{grid-template-columns:180px minmax(0,1fr)}
  }
  @media(max-height:700px){
    body.gc-d01-active.gc-d06-profile #statsOverlay .stats-dialog{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)!important}
    body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-profile-person{gap:6px;margin:6px 0}
    body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-avatar{width:52px;height:52px;flex-basis:52px;font-size:24px}
    body.gc-d01-active.gc-d06-profile #statsOverlay .gc91-profile-shortcuts button{min-height:38px}
    body.gc-d01-active.gc-d06-trophies #trophyOverlay .v575-gallery-dialog,
    body.gc-d01-active.gc-d06-social #gc260Social .gc260-panel{height:calc(100dvh - 24px)!important;max-height:calc(100dvh - 24px)!important}
  }
}
@media(prefers-reduced-motion:reduce){body.gc-d06-profile *,body.gc-d06-social *,body.gc-d06-trophies *,body.gc-d06-ranking *{scroll-behavior:auto!important}}


/* D07P: desktop-only visual & contextual UX polish. Preserve all original game controls. */
@media (min-width:1080px) and (hover:hover) and (pointer:fine) {
 body.gc-d01-active .gc-d07-progress {
  display:block;position:absolute;left:17px;right:17px;top:clamp(307px,44%,385px);
  padding:16px 16px 14px;border:1px solid rgba(91,179,185,.43);border-radius:17px;
  background:linear-gradient(150deg,rgba(13,52,68,.97),rgba(11,37,58,.93));
  box-shadow:inset 0 1px 0 rgba(224,255,255,.055),0 14px 32px rgba(0,10,20,.15);
  max-width:calc(100% - 34px);color:#e8faf9;pointer-events:none;
 }
 body.gc-d01-active .gc-d07-progress-title {margin:0 0 13px;color:#65e7d3;font-size:10px;letter-spacing:.14em;font-weight:900;line-height:1.35;}
 body.gc-d01-active .gc-d07-progress-list {list-style:none;margin:0;padding:0;display:grid;gap:9px;}
 body.gc-d01-active .gc-d07-step {display:flex;align-items:center;gap:10px;min-height:25px;color:#9fbeca;font-size:12px;font-weight:650;line-height:1.35;}
 body.gc-d01-active .gc-d07-step-number {display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid #51717e;border-radius:8px;font-size:11px;color:#adc8d0;background:#173b4d;}
 body.gc-d01-active .gc-d07-step.is-current {color:#ecfffc;font-weight:850;}
 body.gc-d01-active .gc-d07-step.is-current .gc-d07-step-number {color:#06333b;background:#63e5cd;border-color:#63e5cd;box-shadow:0 0 0 3px rgba(99,229,205,.12);}
 body.gc-d01-active .gc-d07-step.is-complete .gc-d07-step-number {color:#91ecd6;border-color:#3d998d;background:#13504f;}
 body.gc-d01-active .gc-d07-step.is-complete .gc-d07-step-number::after {content:'✓';font-size:13px;position:absolute;background:#13504f;line-height:1.4;}
 body.gc-d01-active .gc-d07-step.is-complete .gc-d07-step-number {position:relative;color:transparent;}
 body.gc-d01-active .gc-d07-progress-detail {margin:13px 0 0;padding-top:10px;border-top:1px solid #325c6b;color:#c1d8df;font-size:12px;line-height:1.45;}
 body.gc-d01-active.gc-d03-solo #gcDesktopSoloRailD03 .gc-d03-guide {display:none!important}
 body.gc-d01-active.gc-d03-solo #gcDesktopSoloRailD03 .gc-d07-progress,
 body.gc-d01-active.gc-d04-country #gcDesktopCountryRailD04 .gc-d07-progress,
 body.gc-d01-active.gc-d04-daily #gcDesktopDailyRailD04 .gc-d07-progress,
 body.gc-d01-active.gc-d05-game #gcDesktopMultiplayerRailD05 .gc-d07-progress {display:block}
 body.gc-d01-active #startOverlay .gc-d02-hero {padding-block:18px!important;border-radius:20px;margin-bottom:15px!important}
 body.gc-d01-active #startOverlay .gc-d02-hero h1 {font-size:clamp(25px,2.4vw,34px)!important;letter-spacing:-.025em}
 body.gc-d01-active #gcCityQuizSettings .gc-area-grid button:focus-visible,
 body.gc-d01-active #geoPartySettings .gc-party-area-cards button:focus-visible {outline:3px solid #66e8d1;outline-offset:2px}
 body.gc-d01-active .gc16-area-head > span,body.gc-d01-active .geo-party-area-head > span {color:#83cbbf;font-size:11px;font-weight:700;white-space:nowrap}
 body.gc-d01-active.gc-d03-solo #map,body.gc-d01-active.gc-d04-daily #map,
 body.gc-d01-active.gc-d04-country .gc-country-mapbox {border-color:#52949a!important}
 body.gc-d01-active.gc-d03-solo #gcDesktopSoloRailD03,
 body.gc-d01-active.gc-d04-country #gcDesktopCountryRailD04,
 body.gc-d01-active.gc-d04-daily #gcDesktopDailyRailD04,
 body.gc-d01-active.gc-d05-game #gcDesktopMultiplayerRailD05 {border-color:#4a8994!important}
 body.gc-d01-active button:focus-visible {outline-offset:3px}
}
@media (min-width:1080px) and (hover:hover) and (pointer:fine) and (max-height:760px) {
 body.gc-d01-active .gc-d07-progress {top:clamp(235px,42%,320px);padding:10px 12px;}
 body.gc-d01-active .gc-d07-progress-title {margin-bottom:7px}
 body.gc-d01-active .gc-d07-progress-list {gap:4px}
 body.gc-d01-active .gc-d07-step {font-size:11px;min-height:21px}
 body.gc-d01-active .gc-d07-step-number{width:20px;height:20px}
 body.gc-d01-active .gc-d07-progress-detail {margin-top:7px;padding-top:7px;font-size:11px}
}
@media (min-width:1080px) and (hover:hover) and (pointer:fine) and (max-height:585px) {
 body.gc-d01-active .gc-d07-progress{display:none!important}
 body.gc-d01-active.gc-d03-solo #gcDesktopSoloRailD03 .gc-d03-guide {display:block!important;top:44%!important;padding:10px!important;}
}

/* Do not expose desktop-only guidance after switching to touch/mobile. */
.gc-d07-progress {display:none}

/* D07P QA: prevent long titles from colliding with artwork in narrow desktop tiles. */
@media (min-width:1080px) and (hover:hover) and (pointer:fine) {
  body.gc-d01-active #startOverlay #gcCountryTile .gc16-copy,
  body.gc-d01-active #startOverlay .gc16-detective .gc16-copy {
    position:relative!important;z-index:5!important;max-width:75%!important;
  }
  body.gc-d01-active #startOverlay #gcCountryTile .gc16-copy strong,
  body.gc-d01-active #startOverlay .gc16-detective .gc16-copy strong {
    font-size:clamp(19px,1.75vw,25px)!important;
    line-height:1.12!important;letter-spacing:-.025em!important;
    overflow-wrap:normal!important;hyphens:auto;
    text-shadow:0 2px 12px rgba(3,23,40,.9);
  }
  body.gc-d01-active #startOverlay #gcCountryTile .gch-art,
  body.gc-d01-active #startOverlay .gc16-detective .gch-art {opacity:.63!important;}
}
@media (min-width:1080px) and (max-width:1250px) and (hover:hover) and (pointer:fine) {
  body.gc-d01-active #startOverlay #gcCountryTile .gc16-copy strong,
  body.gc-d01-active #startOverlay .gc16-detective .gc16-copy strong {font-size:19px!important;}
  body.gc-d01-active #startOverlay #gcCountryTile .gch-art,
  body.gc-d01-active #startOverlay .gc16-detective .gch-art {opacity:.43!important;}
}
/* At compact laptop widths, give both small mode cards a full reading width. */
@media (min-width:1080px) and (max-width:1250px) and (hover:hover) and (pointer:fine) {
 body.gc-d01-active #startOverlay.gc16-start .gc16-games > .gc16-mode-pair {
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
 }
 body.gc-d01-active #startOverlay.gc16-start .gc16-games > .gc16-mode-pair .gc16-mode {
  min-height:91px!important;height:100%!important;
 }
 body.gc-d01-active #startOverlay .gc16-mode-pair .gc16-copy {max-width:65%!important;}
 body.gc-d01-active #startOverlay .gc16-mode-pair .gc16-copy strong {font-size:21px!important;}
 body.gc-d01-active #startOverlay .gc16-mode-pair .gch-art {max-height:92px!important;opacity:.43!important;}
 body.gc-d01-active #startOverlay .gc16-mode-pair .gc16-soon {font-size:9px!important;}
}
@media (min-width:1080px) and (max-width:1250px) and (hover:hover) and (pointer:fine) {
 body.gc-d01-active #startOverlay.gc16-start .gc16-games > .gc16-mode-pair {
  box-sizing:border-box!important;height:196px!important;max-height:196px!important;min-height:196px!important;
  grid-template-rows:93px 93px!important;align-self:start!important;
 }
 body.gc-d01-active #startOverlay.gc16-start .gc16-games > .gc16-mode-pair > .gc16-mode {
  box-sizing:border-box!important;height:93px!important;max-height:93px!important;min-height:93px!important;
 }
}
@media (min-width:1080px) and (max-width:1250px) and (hover:hover) and (pointer:fine) {
 body.gc-d01-active #startOverlay.gc16-start .gc16-games > .gc16-mode-pair > .gc16-mode .gc16-icon {display:none!important}
 body.gc-d01-active #startOverlay.gc16-start .gc16-games > .gc16-mode-pair > .gc16-mode .gc16-copy {
  position:absolute!important;top:18px!important;left:24px!important;
  transform:none!important;max-width:68%!important;
 }
 body.gc-d01-active #startOverlay.gc16-start .gc16-games > .gc16-mode-pair > .gc16-mode .gc16-copy strong {font-size:20px!important;line-height:1.12!important}
}
@media (min-width:1251px) and (max-width:1599px) and (hover:hover) and (pointer:fine) {
 body.gc-d01-active #startOverlay.gc16-start .gc16-games > .gc16-mode-pair {
  grid-template-columns:minmax(0,1fr)!important;grid-template-rows:93px 93px!important;
  height:196px!important;max-height:196px!important;min-height:196px!important;
  gap:10px!important;align-self:start!important;
 }
 body.gc-d01-active #startOverlay.gc16-start .gc16-games > .gc16-mode-pair > .gc16-mode {
  height:93px!important;max-height:93px!important;min-height:93px!important;
 }
 body.gc-d01-active #startOverlay .gc16-mode-pair .gc16-icon {display:none!important}
 body.gc-d01-active #startOverlay .gc16-mode-pair .gc16-copy {
  position:absolute!important;top:18px!important;left:24px!important;transform:none!important;max-width:70%!important;
 }
 body.gc-d01-active #startOverlay .gc16-mode-pair .gc16-copy strong {font-size:23px!important;line-height:1.14!important}
 body.gc-d01-active #startOverlay .gc16-mode-pair .gch-art {max-height:95px!important;opacity:.58!important}
}
/* Short laptop panels: results and original action buttons always take priority. */
@media (min-width:1080px) and (max-height:760px) and (hover:hover) and (pointer:fine) {
 body.gc-d01-active.gc-d03-solo .gc-d03-sub {font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-height:18px;}
 body.gc-d01-active.gc-d04-daily .gc-d04-rail-instruction,
 body.gc-d01-active.gc-d04-country .gc-d04-rail-instruction {font-size:11px;line-height:1.35;max-height:30px;overflow:hidden;}
 body.gc-d01-active.gc-d03-solo[data-gc-d03-reveal="yes"] .gc-d07-progress,
 body.gc-d01-active.gc-d04-country:has(#gcCountryNext:not([hidden])) .gc-d07-progress,
 body.gc-d01-active.gc-d04-daily:has(#gcDailyRevealCard:not([hidden])) .gc-d07-progress,
 body.gc-d01-active.gc-d05-game.gc-d05-reveal .gc-d07-progress,
 body.gc-d01-active.gc-d05-game.gc-d05-finished .gc-d07-progress {display:none!important;}
}
/* Keep completion symbols legible on both dark themes. */
@media (min-width:1080px) and (hover:hover) and (pointer:fine) {
 body.gc-d01-active .gc-d07-step.is-complete .gc-d07-step-number::after {color:#a5ffe8!important;}
}

/* D07Q · desktop welcome polish. Mobile sign-in intentionally untouched. */
@media (min-width:1080px) and (hover:hover) and (pointer:fine) {
  .geo-auth-screen .geo-auth-card {
    width:min(520px,calc(100vw - 64px));
    padding:32px 38px 27px;
    border:1px solid rgba(87,217,191,.42);
    border-radius:25px;
    background:linear-gradient(155deg,#12344a 0%,#0b2437 55%,#07182a 100%);
    box-shadow:0 36px 90px rgba(2,11,22,.62),inset 0 1px rgba(179,255,235,.10);
  }
  .geo-auth-screen .geo-auth-icon {
    display:grid;place-items:center;
    width:66px;height:66px;margin:0 auto 12px;border-radius:19px;
    background:linear-gradient(145deg,rgba(54,207,184,.22),rgba(21,119,143,.24));
    border:1px solid rgba(117,239,209,.28);
    box-shadow:0 9px 26px rgba(2,24,30,.25);
  }
  .geo-auth-screen .geo-brand {color:#70eed1;letter-spacing:.18em}
  .geo-auth-screen #geoAuthTitle {font-size:37px;letter-spacing:-.05em;margin-top:13px}
  .geo-auth-screen .geo-auth-sub {color:#bfd6e5;line-height:1.6}
  .geo-auth-screen .geo-auth-card .geo-input {
    background:rgba(9,31,49,.88);border-color:#42647a;
    transition:border-color .15s,box-shadow .15s;
  }
  .geo-auth-screen .geo-auth-card .geo-input:focus-visible {
    outline:none;border-color:#5de2c7;box-shadow:0 0 0 3px rgba(80,222,184,.16);
  }
  .geo-auth-screen #geoSubmit {
    color:#05322f;border-color:transparent;
    background:linear-gradient(100deg,#5eecd0,#24c4a8) !important;
    box-shadow:0 10px 26px rgba(15,155,134,.21);
  }
  .geo-auth-screen #geoLoginToggle {border-color:#41667b;background:#11334a}
  .geo-auth-screen #geoGuestBtn {border-color:#287b6f;background:#103e3d;color:#a9f8e5}
  .geo-auth-screen .geo-caption {color:#aac4d2;line-height:1.5}
}
