/* Nerdesin Pango? (web/js/games/geo.js): lobi sayfası; turda Street View tam alan, sağ altta tahmin haritası; açıklamada
   büyük harita ve yanda sonuç kartı. Street View'un üstündeki şeritler temadan bağımsız koyu cam (görüntü her renkte). */

.geo { height: 100%; }
.geo:not([data-phase="lobby"]) { min-height: 440px; }

/* ---------- Lobi ---------- */

.geo-lobby { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.geo-intro { display: flex; align-items: center; gap: 14px; padding: 4px 2px 2px; }
.geo-intro-icon { flex: none; width: 52px; height: 52px; }
.geo-intro h2 { font-size: 20px; font-weight: 800; }
.geo-intro p { margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.geo-maps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.geo-mapcard {
  display: grid; justify-items: start; gap: 3px; min-width: 0; padding: 12px 12px 10px; border-radius: 12px; text-align: left;
  border: 1px solid var(--line); background: var(--panel); transition: border-color 0.15s, background 0.15s;
}
.geo-mapcard:hover:not(:disabled) { border-color: var(--faint); }
.geo-mapcard.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--panel)); box-shadow: inset 0 0 0 1px var(--accent); }
.geo-mapcard:disabled { cursor: default; opacity: 0.55; }
.geo-mapcard-icon { width: 30px; height: 30px; margin-bottom: 2px; }
.geo-mapcard b { font-size: 14px; }
.geo-mapcard small { color: var(--faint); font-size: 11px; }
.geo-ready { margin-top: 4px; color: var(--ok); font-size: 10px; font-style: normal; font-weight: 600; }
.geo-ready.wait { color: var(--faint); }

.geo-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.geo-type {
  display: grid; justify-items: start; gap: 2px; padding: 11px 14px; border-radius: 12px; text-align: left;
  border: 1px solid var(--line); background: var(--panel); transition: border-color 0.15s, background 0.15s;
}
.geo-type b { font-size: 14px; }
.geo-type small { color: var(--faint); font-size: 11px; }
.geo-type:hover:not(:disabled) { border-color: var(--faint); }
.geo-type.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--panel)); box-shadow: inset 0 0 0 1px var(--accent); }
.geo-type:disabled { cursor: default; opacity: 0.55; }

/* Rekorlar */
.geo-records { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
/* Günün Pangosu: günün haritası, bugünün ve ayın sıralaması, seri */
.geo-daily {
  padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%), var(--panel);
}
.geo-daily header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.geo-daily-icon { flex: none; width: 34px; height: 34px; }
.geo-daily header div { display: grid; gap: 2px; flex: 1; min-width: 0; }
.geo-daily header b { font-size: 15px; }
.geo-daily header small { color: var(--faint); font-size: 11px; }
.geo-streak { flex: none; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, #ff9a3c 16%, transparent); color: #f08a2c; font-size: 11px; font-weight: 700; white-space: nowrap; }
.geo-streak.none { background: transparent; border: 1px dashed var(--line); color: var(--faint); font-weight: 500; }
.geo-daily-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.geo-daily-cols.compact { grid-template-columns: 1fr; }
.geo-daily-cols li.me .pt-name { text-decoration: underline; text-underline-offset: 3px; }
.geo-daily-cols em { color: var(--faint); font-size: 11px; font-style: normal; }
.pt-tag.geo-played { color: var(--faint); }
.geo-card.over .geo-daily { margin: 4px 0 2px; }
.geo-records header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.geo-records header b { font-size: 14px; }
.geo-records header small { color: var(--faint); font-size: 11px; }
.geo-records-none { color: var(--faint); font-size: 12px; }
.geo-records-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.geo-records-cols small { display: block; margin-bottom: 4px; color: var(--faint); font-size: 10px; letter-spacing: 0.04em; }
.geo-records-cols ol { display: grid; gap: 3px; list-style: none; counter-reset: rec; }
.geo-records-cols li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: baseline; gap: 6px; font-size: 12px; counter-increment: rec; }
.geo-records-cols li::before { content: counter(rec); color: var(--faint); font-size: 10px; }
.geo-records-cols li:first-child::before { color: var(--accent); font-weight: 800; }
.geo-records-cols li.none { grid-template-columns: 1fr; color: var(--faint); }
.geo-records-cols li.none::before { content: none; }
.geo-records-cols b { font-variant-numeric: tabular-nums; }

/* ---------- Oyun alanı ---------- */

.geo-stage { position: relative; height: 100%; border-radius: 14px; border: 1px solid var(--line); background: #0b0c0e; overflow: hidden; isolation: isolate; }
.geo-street { position: absolute; inset: 0; overflow: hidden; }
/* Gömmenin sol üstündeki adres kartı (yaklaşık 90 px; uzun adreste biraz uzar) görünmesin: iframe yukarı kaydırılıp kırpılır */
.geo-frame { position: absolute; left: 0; top: -130px; width: 100%; height: calc(100% + 130px); border: 0; background: #0b0c0e; }
.geo-lock { position: absolute; inset: 0; display: none; cursor: not-allowed; }
.geo-stage[data-mode="fixed"] .geo-lock { display: block; }
.geo[data-phase="reveal"] .geo-street,
.geo[data-phase="over"] .geo-street { visibility: hidden; }

/* Tahmin haritası: sağ altta küçük, üstüne gelince büyür */
.geo-mapbox {
  position: absolute; right: 12px; bottom: 62px; z-index: 3; width: 300px; height: 200px; max-width: calc(100% - 24px); max-height: calc(100% - 132px);
  border-radius: 12px; overflow: hidden; border: 1px solid rgb(255 255 255 / 0.14); box-shadow: 0 14px 40px rgb(0 0 0 / 0.45);
  opacity: 0.86; transition: width 0.2s ease, height 0.2s ease, opacity 0.2s;
}
.geo-mapbox:hover,
.geo-stage:has(.geo-act:hover) .geo-mapbox,
.geo-stage.has-pin .geo-mapbox:focus-within { opacity: 1; width: 560px; height: 400px; }
/* leaflet.css sonradan yüklenir: aynı özgüllükte o kazanır, burada bir sınıf fazla */
.geo-map { width: 100%; height: 100%; cursor: crosshair; }
.geo-mapbox.big { opacity: 1; width: 560px; height: 400px; }
.geo-grow {
  position: absolute; top: 8px; right: 8px; z-index: 1000; width: 28px; height: 28px; border-radius: 7px;
  background: var(--panel); color: var(--fg); border: 1px solid var(--line); font-size: 15px; line-height: 1; opacity: 0; transition: opacity 0.15s;
}
.geo-mapbox:hover .geo-grow,
.geo-mapbox.big .geo-grow { opacity: 1; }
.geo-mapbox.big .geo-grow { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.geo:not([data-phase="round"]) .geo-grow { display: none; }
.geo-stage.watching .geo-map { cursor: grab; }
.geo-map.leaflet-container { background: var(--bg); font-family: inherit; }
.geo[data-phase="reveal"] .geo-mapbox,
.geo[data-phase="over"] .geo-mapbox { inset: 0; width: auto; height: auto; max-width: none; max-height: none; border: 0; border-radius: 0; box-shadow: none; opacity: 1; transition: none; }
.geo[data-phase="reveal"] .geo-map,
.geo[data-phase="over"] .geo-map { cursor: grab; }

/* Koyu temalarda karolar koyu: renkler ters çevrilip yumuşatılır */
.geo-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.92) contrast(0.88) saturate(0.55); }
[data-theme="white"] .geo-map .leaflet-tile-pane { filter: none; }
.geo-map .leaflet-bar { border: 1px solid var(--line); box-shadow: none; }
.geo-map .leaflet-bar a { background: var(--panel); color: var(--fg); border-bottom-color: var(--line); }
.geo-map .leaflet-bar a:hover { background: var(--raise); }
.geo-map.leaflet-container .leaflet-control-attribution { background: color-mix(in srgb, var(--panel) 80%, transparent); color: var(--faint); font-size: 10px; }
.geo-map .leaflet-control-attribution a { color: var(--muted); }

/* İğneler: damla biçimi, oyuncunun takma ad rengiyle; gerçek yer yeşil yıldız (sonda tur numarası) */
.geo-pin-wrap { background: none; border: 0; }
.geo-pin {
  --c: var(--nick, var(--fg)); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); background: var(--c); border: 2px solid #fff; box-shadow: 0 3px 10px rgb(0 0 0 / 0.45);
}
.geo-pin b { transform: rotate(45deg); color: #0b0c0e; font-size: 11px; font-weight: 800; }
.geo-pin.me { --c: var(--accent); }
.geo-pin.me b { color: var(--accent-fg); }
.geo-pin.sent { animation: geo-drop 0.35s cubic-bezier(0.2, 0.8, 0.2, 1.4); }
.geo-pin.drop { animation: geo-drop 0.45s cubic-bezier(0.2, 0.8, 0.2, 1.4) backwards; }
.geo-pin.goal { --c: var(--ok); width: 30px; height: 30px; }
.geo[data-phase="reveal"] .geo-pin.goal { animation: geo-goal 0.5s 0.25s cubic-bezier(0.2, 0.8, 0.2, 1.5) backwards; }
@keyframes geo-goal {
  0% { transform: rotate(-45deg) scale(0); }
  100% { transform: rotate(-45deg) scale(1); }
}
.geo-pin.goal b { color: #04150c; font-size: 13px; }
@keyframes geo-drop {
  0% { transform: rotate(-45deg) translate(8px, -8px) scale(0.6); }
  100% { transform: rotate(-45deg); }
}
.geo-line { stroke: var(--nick, #fff); stroke-width: 2.5; stroke-dasharray: 6 7; stroke-opacity: 0.85; fill: none; }
.geo-line.me { stroke: var(--accent); stroke-width: 3; stroke-opacity: 1; }

/* ---------- Turda: üst şerit, araçlar, tahmin ---------- */

.geo-hud { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.geo-hud > * { pointer-events: auto; }
.geo-top {
  position: absolute; top: 10px; left: 10px; right: 10px; display: flex; align-items: center; gap: 12px; pointer-events: none;
}
.geo-top > * { pointer-events: auto; }
.geo-glass,
.geo-round,
.geo-top .pt-timer,
.geo-chips,
.geo-tool,
.geo-sent,
.geo-maptoggle {
  background: rgb(10 11 13 / 0.62); color: #f1f1f3; border: 1px solid rgb(255 255 255 / 0.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.geo-round { flex: none; display: grid; justify-items: center; padding: 5px 12px; border-radius: 10px; }
.geo-round small { color: rgb(241 241 243 / 0.6); font-size: 10px; }
.geo-round b { font-size: 15px; font-variant-numeric: tabular-nums; }
.geo-mult { margin-top: 1px; padding: 0 6px; border-radius: 999px; background: var(--err); color: #fff; font-size: 10px; font-style: normal; font-weight: 800; }
.geo-top .pt-timer { flex: 0 1 300px; max-width: 300px; padding: 7px 12px 6px; border-radius: 10px; }
.geo-top .pt-time { color: rgb(241 241 243 / 0.6); }
.geo-top .pt-secs { color: #f1f1f3; font-size: 15px; font-weight: 800; }
.geo-top .pt-track { background: rgb(255 255 255 / 0.14); }
.geo-top .pt-timer .pt-bar { top: 7px; left: 12px; width: calc(100% - 24px); }
.geo-chips { display: flex; gap: 4px; margin-left: auto; padding: 5px 6px; border-radius: 999px; list-style: none; }
.geo-chip { position: relative; opacity: 0.5; transition: opacity 0.2s; }
.geo-chip.done { opacity: 1; }
.geo-chip .pt-avatar { --c: var(--nick); width: 26px; height: 26px; color: #f1f1f3; }
.geo-chip.out { opacity: 0.3; filter: grayscale(1); }
.geo-chips.duel { gap: 8px; padding: 5px 10px; border-radius: 12px; }
.geo-chips.duel .geo-chip { display: grid; justify-items: center; gap: 4px; }
.geo-chips.duel .geo-hp { width: 34px; height: 4px; }
.geo-chip.done::after {
  content: "✓"; position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 13px; height: 13px;
  border-radius: 50%; background: var(--ok); color: #04150c; font-size: 9px; font-weight: 800;
}

.geo-tool { flex: none; align-self: stretch; padding: 0 14px; border-radius: 10px; font-size: 13px; font-weight: 600; }
button.geo-tool:hover { background: rgb(10 11 13 / 0.8); }
.geo-tool.static { display: grid; place-items: center; color: rgb(241 241 243 / 0.7); }

.geo-act { position: absolute; right: 12px; bottom: 12px; width: 300px; max-width: calc(100% - 24px); }
.geo-go { width: 100%; min-width: 0; height: 40px; }
.geo-sent { display: grid; place-items: center; height: 40px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.geo-maptoggle {
  display: none; position: absolute; right: 12px; bottom: 62px; height: 38px; padding: 0 14px 0 10px; border-radius: 10px;
  align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
}
.geo-maptoggle img { width: 20px; height: 20px; }

.geo-hp { position: relative; display: block; width: 100%; height: 6px; border-radius: 999px; background: rgb(127 127 127 / 0.25); overflow: hidden; }
.geo-hp i { position: absolute; inset: 0; background: var(--ok); transform-origin: left; transition: transform 0.9s cubic-bezier(0.3, 0.7, 0.2, 1); }
.geo-hp.low i { background: var(--err); }

/* Tur açılışı: ortada kısa süre büyük yazı */
.geo-splash {
  position: absolute; left: 50%; top: 42%; z-index: 3; display: grid; justify-items: center; gap: 2px; padding: 16px 34px;
  border-radius: 16px; background: rgb(10 11 13 / 0.66); color: #f1f1f3; border: 1px solid rgb(255 255 255 / 0.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; opacity: 0; transform: translate(-50%, -50%);
}
.geo-splash.show { animation: geo-splash 1.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.geo-splash small { color: rgb(241 241 243 / 0.55); font-size: 11px; letter-spacing: 0.12em; }
.geo-splash b { font-size: 34px; font-weight: 800; letter-spacing: 0.06em; line-height: 1.1; }
.geo-splash span { color: rgb(241 241 243 / 0.8); font-size: 13px; }
.geo-splash em { margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: var(--err); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
@keyframes geo-splash {
  0% { opacity: 0; transform: translate(-50%, -40%) scale(0.92); }
  15% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  75% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -56%) scale(0.98); }
}

/* ---------- Açıklama ve sonuç kartı ---------- */

.geo-card {
  position: absolute; top: 12px; right: 12px; width: 340px; max-width: calc(100% - 24px); max-height: calc(100% - 24px);
  display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 14px; overflow-y: auto;
  background: color-mix(in srgb, var(--panel) 94%, transparent); border: 1px solid var(--line); box-shadow: 0 18px 48px rgb(0 0 0 / 0.4);
  animation: geo-card 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes geo-card {
  from { transform: translateX(16px); opacity: 0; }
}
.geo-place small,
.geo-win small { color: var(--faint); font-size: 11px; letter-spacing: 0.04em; }
.geo-place h3 { margin-top: 2px; font-size: 18px; font-weight: 800; line-height: 1.3; }
.geo-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; color: var(--muted); font-size: 12px; }
.geo-meta a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.geo-meta a:hover { color: var(--fg); }

.geo-you { padding: 9px 12px; border-radius: 10px; background: var(--raise); color: var(--muted); font-size: 13px; }
.geo-you b { color: var(--fg); font-size: 15px; font-variant-numeric: tabular-nums; }
.geo-you.perfect { background: color-mix(in srgb, var(--ok) 16%, var(--raise)); color: var(--ok); font-weight: 700; }
.geo-you.perfect b { color: var(--ok); }
.geo-results { display: grid; gap: 2px; list-style: none; }
.geo-results li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; grid-template-rows: auto auto; align-items: center; column-gap: 8px;
  padding: 7px 8px; border-radius: 9px; font-size: 13px;
}
.geo-results li.me { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.geo-rank { color: var(--faint); font-size: 12px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.geo-rank.best { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); }
.geo-results li.out { opacity: 0.55; }
.geo-hpline { grid-column: 2 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 5px; }
.geo-hpline small { min-width: 54px; color: var(--err); font-size: 11px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.geo-results li.out .geo-hpline small { color: var(--faint); }
.geo-km { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.geo-pts { min-width: 54px; text-align: right; font-variant-numeric: tabular-nums; }
.geo-total { grid-column: 4; margin-top: 5px; color: var(--faint); font-size: 10px; text-align: right; font-variant-numeric: tabular-nums; }
.geo-scorebar { grid-column: 2 / 4; position: relative; display: block; height: 5px; margin-top: 5px; border-radius: 999px; background: rgb(127 127 127 / 0.2); overflow: hidden; }
.geo-scorebar i { position: absolute; inset: 0; border-radius: inherit; background: var(--nick, var(--accent)); transform-origin: left; transition: transform 0.9s cubic-bezier(0.3, 0.7, 0.2, 1); }
.geo-results li.me .geo-scorebar i { background: var(--accent); }
.geo-total::before { content: "toplam "; }
.geo-results.final .geo-pts { font-size: 15px; }
.geo-results .dw-medal { width: 22px; height: 22px; }
.geo-foot { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: auto; padding-top: 4px; }
.geo-foot .pt-primary { width: 100%; min-width: 0; }
.geo-foot .pt-timer { max-width: none; }

.geo-win { display: flex; align-items: center; gap: 12px; }
.geo-win .pt-trophy { width: 44px; height: 44px; }
.geo-win h3 { font-size: 19px; font-weight: 800; }
.geo-why { display: block; margin-top: 2px; }
.geo-best { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; padding: 9px 12px; border-radius: 10px; background: var(--raise); font-size: 12px; }
.geo-best small { width: 100%; color: var(--faint); font-size: 10px; letter-spacing: 0.04em; }
.geo-best .pt-name { flex: none; }
.geo-record { flex: none; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); font-size: 10px; font-style: normal; font-weight: 800; }
.geo-results.final li { display: flex; align-items: center; gap: 8px; }
.geo-results.final .geo-pts { margin-left: auto; }
.geo-mine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.geo-mine span { display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px; background: var(--raise); }
.geo-mine b { font-size: 14px; font-variant-numeric: tabular-nums; }
.geo-mine small { color: var(--faint); font-size: 10px; }
.geo-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); padding-top: 10px; }
.geo-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.geo-table th { padding: 0 4px 6px; color: var(--faint); font-weight: 600; text-align: right; }
.geo-table th:first-child { text-align: left; }
.geo-table th .pt-avatar { --c: var(--nick); display: inline-grid; width: 20px; height: 20px; font-size: 10px; }
.geo-table td { padding: 5px 4px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); text-align: right; color: var(--muted); }
.geo-table td.best { color: var(--fg); font-weight: 800; }
.geo-table-place { max-width: 0; width: 55%; text-align: left !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.geo-table-place b { margin-right: 6px; color: var(--faint); }
.geo-rounds { display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); list-style: none; }
.geo-rounds li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 12px; }
.geo-rounds-place { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.geo-rounds small { color: var(--faint); font-variant-numeric: tabular-nums; }

/* ---------- Dar ekran: harita düğmeyle açılır, kart altta ---------- */

@container party (max-width: 640px) {
  .geo-maps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-records-cols { grid-template-columns: 1fr; gap: 10px; }
  .geo-types { grid-template-columns: 1fr; gap: 6px; }
  .geo-daily header { flex-wrap: wrap; }
  .geo-daily header div { flex: 1 1 200px; }
  .geo-daily header .geo-streak { margin-left: 44px; }
  .geo-splash b { font-size: 26px; }
  .geo-mapbox { display: none; }
  /* Google'ın sağ alttaki düğmeleri ve alttaki logosu örtülmesin: harita düğmesi sol altta, tahmin onun üstünde */
  .geo-stage.map-open .geo-mapbox { display: block; inset: 58px 8px 84px; width: auto; height: auto; max-width: none; max-height: none; opacity: 1; }
  .geo-maptoggle { display: flex; left: 12px; right: auto; bottom: 34px; }
  .geo-stage.has-pin:not(.map-open) .geo-maptoggle { bottom: 84px; }
  .geo-stage.map-open .geo-maptoggle { top: 66px; right: 16px; left: auto; bottom: auto; z-index: 5; }
  .geo-act { left: 12px; right: 12px; bottom: 34px; width: auto; max-width: none; }
  .geo-stage:not(.map-open) .geo-act:has(.geo-go:disabled) { display: none; }
  .geo-tool span { display: none; }
  .geo-top { gap: 8px; }
  .geo-top .pt-timer { flex: 1 1 0; width: auto; min-width: 0; }
  .geo-chips { display: none; }
  .geo-top { flex-wrap: wrap; }
  .geo-chips.duel { display: flex; order: 5; flex-basis: 100%; margin-left: 0; justify-content: center; }
  .geo-card { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 58%; }
  .geo[data-phase="reveal"] .geo-mapbox,
  .geo[data-phase="over"] .geo-mapbox { display: block; }
}
