/* GeoChallenge Desktop D03 | Solo City Quiz ONLY | no changes on touch screens.
   No map reparenting: original SVG and HUD stay inside .map-area. */
.gc-d03-rail {display:none}
@media (min-width:1080px) and (hover:hover) and (pointer:fine) {
 body.gc-d01-active.gc-d03-solo {
   --gc-d03-rail: clamp(315px, 27.5vw, 410px);
   --gc-d03-gap: clamp(16px, 1.8vw, 28px);
   --gc-d03-pad: clamp(16px, 2.15vw, 36px);
   --gc-d03-side: calc(var(--gc-d03-rail) + var(--gc-d03-gap) + var(--gc-d03-pad));
 }
 body.gc-d01-active.gc-d03-solo .app {max-width:none!important;background:#061725}
 body.gc-d01-active.gc-d03-solo main.map-area {inset:0!important;overflow:visible!important;background:radial-gradient(ellipse at 35% 30%, #15475a 0%,#0b293d 43%,#061521 100%)}
 body.gc-d01-active.gc-d03-solo main.map-area::before {inset:var(--gc-d03-pad) var(--gc-d03-side) var(--gc-d03-pad) var(--gc-d03-pad);border-radius:25px;background-size:54px 54px;opacity:.7}
 body.gc-d01-active.gc-d03-solo #map {
   top:var(--gc-d03-pad)!important;bottom:var(--gc-d03-pad)!important;
   left:var(--gc-d03-pad)!important;right:var(--gc-d03-side)!important;
   width:calc(100% - var(--gc-d03-pad) - var(--gc-d03-side))!important;
   height:calc(100% - 2 * var(--gc-d03-pad))!important;
   border:1px solid #376b78;border-radius:24px;
   background:radial-gradient(ellipse at center,#183a4e 0%,#0b2438 70%,#07192a 100%);
   box-shadow:0 25px 55px #0006,inset 0 0 0 1px #ffffff08;
   outline:none;
 }
 body.gc-d01-active.gc-d03-solo #map:focus-visible {outline:3px solid #f4ca7b;outline-offset:3px}
 body.gc-d01-active.gc-d03-solo #gcDesktopSoloRailD03 {
   display:flex;flex-direction:column;position:absolute;z-index:3;right:var(--gc-d03-pad);
   top:var(--gc-d03-pad);bottom:var(--gc-d03-pad);width:var(--gc-d03-rail);
   padding:21px 20px 18px;border:1px solid #3e7b86;border-radius:24px;
   background:radial-gradient(ellipse at 120% -20%,#1c656d99,transparent 65%),linear-gradient(155deg,#11364b,#091e31);
   box-shadow:0 18px 40px #0007;pointer-events:none;color:#e7f9fa;
 }
 body.gc-d01-active.gc-d03-solo .gc-d03-head {display:flex;justify-content:space-between;align-items:center;gap:6px;min-height:22px}
 body.gc-d01-active.gc-d03-solo .gc-d03-head strong {font-size:12px;letter-spacing:.15em;color:#67e4cb;text-transform:uppercase}
 body.gc-d01-active.gc-d03-solo .gc-d03-solo-tag {border:1px solid #e7c77c7d;background:#f4c97812;border-radius:999px;padding:4px 9px;color:#f4d78c;font-size:10px;font-weight:850;letter-spacing:.08em}
 body.gc-d01-active.gc-d03-solo .gc-d03-sub {color:#a4c4ce;font-size:12px;line-height:1.45;margin:8px 0 0}
 body.gc-d01-active.gc-d03-solo .gc-d03-rule {margin:22px 0 0;border:0;border-top:1px solid #3d6578}
 body.gc-d01-active.gc-d03-solo .gc-d03-footer {margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;color:#9fbfca;font-size:11px;line-height:1.45;max-width:100%}
 body.gc-d01-active.gc-d03-solo .gc-d03-footer kbd {font:850 11px inherit;border:1px solid #65899680;background:#143f51;border-radius:7px;padding:3px 5px;color:#d0fbf1}
 /* Original HUD is used as-is for live city name, total score and round progress. */
 body.gc-d01-active.gc-d03-solo #hud {
   position:absolute!important;top:calc(var(--gc-d03-pad) + 95px)!important;
   left:auto!important;right:calc(var(--gc-d03-pad) + 17px)!important;
   width:calc(var(--gc-d03-rail) - 34px)!important;
   display:flex;flex-direction:column;gap:11px;max-width:none!important;
 }
 body.gc-d01-active.gc-d03-solo #hud .hud-card {
   width:100%;padding:17px 15px 15px!important;border-radius:16px!important;
   border-color:#4a7b87;background:linear-gradient(140deg,#163d50,#0d2a3e);box-shadow:inset 0 1px #ffffff0b;
 }
 body.gc-d01-active.gc-d03-solo #hud .top-meta {font-size:11px;gap:8px;flex-wrap:wrap}
 body.gc-d01-active.gc-d03-solo #cityName {font-size:clamp(25px,2.1vw,34px);line-height:1.1;margin:13px 0 10px;letter-spacing:-.03em}
 body.gc-d01-active.gc-d03-solo #hud .progress {height:6px;margin:10px 0 15px;border-radius:10px}
 body.gc-d01-active.gc-d03-solo #hud .header-actions {gap:10px;align-self:flex-end}
 body.gc-d01-active.gc-d03-solo #hud .header-actions button {border:1px solid #47758c;border-radius:10px;background:#0c2d43;color:#d4eff2;box-shadow:none}
 body.gc-d01-active.gc-d03-solo #quitRoundBtn {min-height:36px;max-width:100%;font-size:12px}
 /* Existing pin confirmation & result panel remain the functional source of truth. */
 body.gc-d01-active.gc-d03-solo #actionArea {
   position:absolute!important;top:auto!important;bottom:calc(var(--gc-d03-pad) + 21px)!important;
   left:auto!important;right:calc(var(--gc-d03-pad) + 17px)!important;
   width:calc(var(--gc-d03-rail) - 34px)!important;max-width:none!important;
   transform:none!important;
 }
 body.gc-d01-active.gc-d03-solo #pendingActions {width:100%}
 body.gc-d01-active.gc-d03-solo #pendingActions .guess-hint {font-size:12px;line-height:1.4;border-radius:12px;padding:9px 10px;max-width:100%;margin:0 0 10px}
 body.gc-d01-active.gc-d03-solo #guessBtn,
 body.gc-d01-active.gc-d03-solo #nextBtn {min-height:54px!important;font-size:15px!important;border-radius:14px!important;box-shadow:0 8px 22px #0005}
 body.gc-d01-active.gc-d03-solo #resultPanel {width:100%!important;max-height:min(44dvh,365px)!important;overflow:auto;overscroll-behavior:contain;margin:0;border:1px solid #5d9695;border-radius:17px;background:linear-gradient(150deg,#12364a,#0c253a);padding:15px!important;box-shadow:0 15px 35px #0007}
 body.gc-d01-active.gc-d03-solo #resultPanel .result-points {font-size:32px}
 body.gc-d01-active.gc-d03-solo #resultPanel .result-top {align-items:flex-start}
 body.gc-d01-active.gc-d03-solo #resultPanel .result-distance {font-size:17px}
 body.gc-d01-active.gc-d03-solo #resultPanel .result-facts {line-height:1.5}
 body.gc-d01-active.gc-d03-solo #resultPanel .result-hint {line-height:1.5}
 body.gc-d01-active.gc-d03-solo #zooms {
   left:auto!important;right:calc(var(--gc-d03-side) + 17px)!important;
   bottom:calc(var(--gc-d03-pad) + 17px)!important;z-index:8;
 }
 body.gc-d01-active.gc-d03-solo #zooms button {width:44px;height:44px;background:#0e3449d9;border-color:#58808a;backdrop-filter:blur(10px)}
 body.gc-d01-active.gc-d03-solo .gc-d03-maplabel {
   display:flex;position:absolute;z-index:2;top:calc(var(--gc-d03-pad) + 15px);
   left:calc(var(--gc-d03-pad) + 18px);align-items:center;gap:8px;
   border:1px solid #569f9f69;border-radius:999px;background:#0b2537da;
   padding:8px 13px;font-size:11px;font-weight:800;color:#c1f7e6;pointer-events:none;
 }
 body.gc-d01-active.gc-d03-solo .gc-d03-maplabel::before {content:"";height:8px;width:8px;border-radius:50%;background:#4bdcbc;box-shadow:0 0 0 4px #42d0b420}
 body.gc-d01-active.gc-d03-solo[data-gc-d03-reveal="yes"] .gc-d03-footer {opacity:.25}
 /* Keep the rail operable at short laptop viewport heights. */
 @media (max-height:700px) {
   body.gc-d01-active.gc-d03-solo #hud {top:calc(var(--gc-d03-pad) + 73px)!important;gap:5px}
   body.gc-d01-active.gc-d03-solo #hud .hud-card {padding:10px 12px!important}
   body.gc-d01-active.gc-d03-solo #cityName {font-size:25px;margin:7px 0}
   body.gc-d01-active.gc-d03-solo #resultPanel {max-height:39dvh!important;padding:10px!important}
   body.gc-d01-active.gc-d03-solo .gc-d03-rule {margin-top:12px}
   body.gc-d01-active.gc-d03-solo .gc-d03-sub {margin-top:5px}
   body.gc-d01-active.gc-d03-solo #actionArea {bottom:calc(var(--gc-d03-pad) + 8px)!important}
 }
}
@media (prefers-reduced-motion:reduce) {
 body.gc-d03-solo #guessBtn {animation:none!important;transition:none!important}
}
@media (min-width:1080px) and (hover:hover) and (pointer:fine) {
 body.gc-d01-active.gc-d03-solo .gc-d03-guide {display:block;position:absolute;left:17px;right:17px;top:47%;border:1px solid #386c7b;border-radius:15px;background:#0b2c41ad;padding:15px 16px;max-width:calc(100% - 34px);}
 body.gc-d01-active.gc-d03-solo .gc-d03-guide strong {display:block;letter-spacing:.12em;font-weight:850;font-size:10px;color:#65dac5;}
 body.gc-d01-active.gc-d03-solo .gc-d03-guide p {margin:9px 0 0;color:#c1dce2;font-size:13px;line-height:1.5;}
 body.gc-d01-active.gc-d03-solo[data-gc-d03-reveal="yes"] .gc-d03-guide {display:none}
}
