:root {
  --ink: #14170f;
  --deep: #0d120b;
  --pine: #152012;
  --pine-2: #1d2b18;
  --field: #edf0e4;
  --paper: #f8f3e7;
  --sand: #d9c79d;
  --gold: #e1b34b;
  --gold-2: #f3cf74;
  --moss: #7f9f63;
  --rust: #b7643e;
  --danger: #d85f3f;
  --text: #f8f1e4;
  --muted: #c8bea8;
  --soft: #938b7a;
  --line: rgba(248, 241, 228, 0.13);
  --line-strong: rgba(248, 241, 228, 0.22);
  --shadow: 0 20px 55px rgba(0,0,0,0.28);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { background: var(--deep); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -8%, rgba(225,179,75,0.16), transparent 32rem),
    radial-gradient(circle at 86% 2%, rgba(127,159,99,0.18), transparent 34rem),
    linear-gradient(180deg, #0f150d 0%, #141b11 52%, #0b1009 100%);
  min-height: 100vh;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(1.85rem, 3.1vw, 3.15rem); margin: 0; letter-spacing: -0.06em; font-weight: 950; line-height: 0.92; }
h1 span { color: var(--gold-2); }
h2 { font-size: clamp(1.02rem, 1.1vw, 1.26rem); line-height: 1.18; margin-bottom: 0.36rem; letter-spacing: -0.02em; }
h3 { font-size: 0.98rem; margin-bottom: 0.42rem; }
p { line-height: 1.45; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.58rem clamp(0.9rem, 1.7vw, 1.55rem);
  background: rgba(11, 16, 9, 0.9);
  border-bottom: 1px solid rgba(225,179,75,0.16);
  backdrop-filter: blur(16px);
}
.brand-wrap { display: flex; align-items: center; gap: 0.86rem; min-width: 265px; }
.brand-copy { min-width: 0; }
.logo-mark {
  position: relative;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #27371f, #0f160c 58%, #0b0f08);
  border: 1px solid rgba(243,207,116,0.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 15px 34px rgba(0,0,0,0.34);
}
.logo-ridge {
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 8px;
  height: 24px;
  background: linear-gradient(135deg, transparent 0 16%, rgba(127,159,99,0.95) 17% 34%, transparent 35% 43%, rgba(127,159,99,0.78) 44% 58%, transparent 59% 66%, rgba(127,159,99,0.9) 67% 100%);
  opacity: 0.95;
}
.logo-sun {
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  left: 11px;
  top: 11px;
  background: var(--gold-2);
  box-shadow: 0 0 23px rgba(243,207,116,0.74);
}
.logo-sweep {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(243,207,116,0.82);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 999px;
  right: -31px;
  bottom: -28px;
  transform: rotate(-20deg);
}
.topbar p { margin: 0.12rem 0 0; color: var(--muted); font-size: 0.86rem; }
.partner-leaderboard {
  flex: 1 1 560px;
  max-width: 820px;
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(130px, auto) minmax(180px, 1fr);
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.9rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(243,207,116,0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(225,179,75,0.19), rgba(127,159,99,0.10) 48%, rgba(0,0,0,0.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.partner-leaderboard .ad-label { color: #9fbe7c; font-size: 0.62rem; letter-spacing: 0.17em; text-transform: uppercase; font-weight: 950; }
.partner-leaderboard strong { font-size: clamp(1rem, 1.25vw, 1.3rem); white-space: nowrap; }
.partner-leaderboard span:last-child { color: var(--muted); font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { display: flex; gap: 0.48rem; flex-wrap: wrap; align-items: center; }
.gear-btn { font-size: 1rem; width: 38px; height: 38px; }
main { width: 100%; max-width: none; margin: 0; padding: clamp(0.45rem, 0.9vw, 0.75rem); }
.panel, .compact-card, .sponsor-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(248,241,228,0.058), rgba(248,241,228,0.032));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.section-kicker {
  color: var(--gold-2);
  font-size: 0.66rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 950;
  margin-bottom: 0.34rem;
}
.ghost-btn, .compact-btn, .primary-pill, .icon-btn {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(248,241,228,0.075);
  border-radius: 999px;
  font-weight: 850;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.ghost-btn:hover, .compact-btn:hover, .primary-pill:hover, .icon-btn:hover { transform: translateY(-1px); background: rgba(248,241,228,0.13); border-color: rgba(248,241,228,0.32); }
.compact-btn { padding: 0.48rem 0.74rem; }
.primary-pill {
  padding: 0.36rem 0.68rem;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #17130a;
  border: 0;
  box-shadow: 0 8px 16px rgba(225,179,75,0.16);
}
.icon-btn {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  font-size: 0.86rem;
}
.radar-buttons { display: inline-flex; align-items: center; gap: 0.2rem; padding: 0.16rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(0,0,0,0.18); }
.fullscreen-icon { width: 34px; height: 34px; font-size: 1rem; }
select, input, textarea {
  width: 100%;
  color: var(--text);
  background: rgba(0,0,0,0.18);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0.58rem 0.68rem;
  outline: none;
}
select:focus, input:focus, textarea:focus { border-color: rgba(243,207,116,0.65); box-shadow: 0 0 0 3px rgba(243,207,116,0.12); }
select option { color: #17130a; }
textarea { resize: vertical; min-height: 74px; }
.map-section { padding: 0; overflow: hidden; background: var(--deep); }
.map-header {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.54rem 0.74rem;
  background: linear-gradient(90deg, rgba(13,18,11,0.98), rgba(22,31,16,0.96));
  border-bottom: 1px solid rgba(243,207,116,0.14);
}
.map-title-block h2 { margin: 0 0 0.12rem; font-size: clamp(1.0rem, 1.15vw, 1.24rem); }
.map-title-block p { margin: 0; font-size: 0.78rem; color: #bdb39d; }
.radar-console { display: flex; justify-content: flex-end; align-items: center; gap: 0.42rem; flex-wrap: wrap; }
.toggle-pack {
  display: inline-flex;
  gap: 0.12rem;
  align-items: center;
  padding: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
}
.toggle-pack label {
  display: inline-flex;
  gap: 0.26rem;
  align-items: center;
  padding: 0.3rem 0.46rem;
  border-radius: 999px;
  color: #d6cbb7;
  font-size: 0.86rem;
  white-space: nowrap;
}
.toggle-pack input { width: auto; accent-color: var(--gold); }
.map-shell { position: relative; }
#map { width: 100%; height: clamp(560px, 72vh, 900px); min-height: 540px; background: #ddd8cb; }
.radar-status {
  min-height: 29px;
  padding: 0.38rem 0.78rem;
  color: var(--soft);
  font-size: 0.75rem;
  border-top: 1px solid rgba(248,241,228,0.10);
  background: rgba(7,10,6,0.64);
}
.map-section.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border: 0;
  background: #0b1009;
  box-shadow: none;
}
.map-section.is-fullscreen .map-header {
  background: #0b1009;
  border-bottom: 1px solid rgba(243,207,116,0.18);
}
.map-section.is-fullscreen #map { flex: 1; height: auto; min-height: 0; }
body:has(.map-section.is-fullscreen) { overflow: hidden; }
.summary-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(520px, 1.65fr);
  gap: 0.58rem;
  margin-top: 0.58rem;
}
.compact-card { padding: 0.68rem 0.76rem; min-height: 0; }
.location-panel { display: grid; grid-template-columns: 1fr; gap: 0.38rem; }
.location-copy h2, .location-copy p { margin-bottom: 0.08rem; }
.location-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0.45rem; align-items: center; }

.location-actions-row { grid-template-columns: minmax(0,1fr) auto auto; }
.gps-btn {
  background: linear-gradient(180deg, rgba(127,159,99,0.36), rgba(31,45,24,0.42));
  border-color: rgba(127,159,99,0.45);
  white-space: nowrap;
}
.gps-btn:disabled { opacity: 0.66; cursor: wait; transform: none; }
.location-status {
  min-height: 1rem;
  font-size: 0.76rem;
  line-height: 1.25;
  margin-top: -0.12rem;
}
.location-status.ok { color: #b9d88f; }
.location-status.error { color: #ffb3a5; }

.custom-location { color: var(--muted); font-size: 0.84rem; }
.custom-location summary { cursor: pointer; }
.coord-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 0.5rem; align-items: end; margin-top: 0.55rem; }
.coord-grid label { display: grid; gap: 0.22rem; color: var(--muted); font-size: 0.78rem; }
.feature-card { background: linear-gradient(135deg, rgba(127,159,99,0.10), rgba(225,179,75,0.055)), rgba(248,241,228,0.042); }
.summary-panel h2 { margin-bottom: 0.22rem; }
.summary-panel p { margin-bottom: 0.46rem; font-size: clamp(0.98rem, 1.03vw, 1.1rem); line-height: 1.42; max-width: 115ch; }
.chips { display: flex; gap: 0.32rem; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.45rem;
  font-size: 0.74rem;
  color: #eee5d3;
  background: rgba(0,0,0,0.16);
}
.sponsor-card { background: linear-gradient(145deg, rgba(225,179,75,0.13), rgba(127,159,99,0.07)); }
.sponsor-label { color: #9fbe7c; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 950; }
.sponsor-card h2 { margin: 0.34rem 0 0.14rem; font-size: 1.12rem; }
.sponsor-card p { margin-bottom: 0.28rem; font-size: 0.9rem; }
.content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.58rem;
  margin-top: 0.58rem;
}
.data-panel { padding: 0.78rem; }
.stack-list { display: grid; gap: 0.42rem; }
.empty-state { color: var(--muted); }
.item-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0.58rem;
  background: rgba(0,0,0,0.14);
}
.item-card strong { display: block; margin-bottom: 0.16rem; }
.item-card p { margin-bottom: 0; font-size: 0.86rem; line-height: 1.34; }
.item-meta { color: var(--muted); font-size: 0.74rem; margin-bottom: 0.22rem; }
.alert-severe { border-color: rgba(216,95,63,0.58); background: rgba(216,95,63,0.11); }
.alert-watch { border-color: rgba(225,179,75,0.45); background: rgba(225,179,75,0.09); }
.timeline-item { display: grid; grid-template-columns: 72px 1fr; gap: 0.5rem; padding: 0.48rem 0; border-bottom: 1px solid var(--line); }
.timeline-time { color: #9fbe7c; font-weight: 950; font-size: 0.78rem; }
.timeline-item p { margin-bottom: 0; font-size: 0.86rem; }
.mini-form { display: grid; gap: 0.42rem; margin-bottom: 0.6rem; }
.compact-form { grid-template-columns: minmax(0, 1fr) 132px; }
.compact-form textarea, .compact-form button { grid-column: 1 / -1; }
.sponsor-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.58rem;
  margin-top: 0.58rem;
}
.partner-tile {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.74rem;
  background: rgba(248,241,228,0.045);
}
.partner-tile h3 { margin: 0.28rem 0 0.2rem; }
.admin-panel { padding: 0.9rem; margin-top: 0.58rem; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.58rem; }
.danger-btn { padding: 0.58rem 0.82rem; border: 1px solid rgba(216,95,63,0.55); background: rgba(216,95,63,0.16); color: #ffe0db; border-radius: 14px; font-weight: 850; }
footer { text-align: center; padding: 0.9rem; color: var(--soft); border-top: 1px solid var(--line); }
footer p { margin: 0; font-size: 0.78rem; }
/* Critical Leaflet layout rules. These keep map tiles positioned correctly even if CDN Leaflet CSS is blocked or slow. */
.leaflet-container { overflow: hidden; position: relative; outline: 0; font: 12px/1.5 Arial, Helvetica, sans-serif; }
.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer { position: absolute; left: 0; top: 0; }
.leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow { user-select: none; -webkit-user-drag: none; }
.leaflet-tile { filter: saturate(0.92) contrast(0.96); }
.leaflet-control-container .leaflet-top, .leaflet-control-container .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }
.leaflet-control { position: relative; z-index: 800; pointer-events: auto; }
.leaflet-top { top: 0; } .leaflet-right { right: 0; } .leaflet-bottom { bottom: 0; } .leaflet-left { left: 0; }
.leaflet-control-zoom { margin: 12px; border: 1px solid rgba(0,0,0,0.18); border-radius: 12px; overflow: hidden; }
.leaflet-control-zoom a { display: block; width: 30px; height: 30px; line-height: 30px; text-align: center; text-decoration: none; background: rgba(248,241,228,0.96); color: #17130a; border-bottom: 1px solid rgba(0,0,0,0.14); }
.leaflet-control-attribution { background: rgba(248,241,228,0.88); color: #17130a; padding: 2px 6px; }
.leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; }
.leaflet-popup-content-wrapper { background: white; color: #111827; border-radius: 12px; padding: 1px; }
.leaflet-popup-content { margin: 12px 14px; line-height: 1.35; color: #111827; }
.leaflet-popup-tip-container { display: none; }
.place-marker {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f8fff9 0 22%, #58c4d6 24% 54%, #155264 56% 100%);
  border: 3px solid #f8f1e4;
  box-shadow: 0 0 0 5px rgba(88,196,214,0.25), 0 7px 20px rgba(0,0,0,0.36);
}
.report-div-icon { background: transparent; border: 0; }
.report-marker {
  background: var(--gold);
  border: 2px solid #17130a;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  box-shadow: 0 0 0 5px rgba(225,179,75,0.24), 0 7px 18px rgba(0,0,0,0.32);
  transform: scale(0.74);
  transition: transform .12s ease, box-shadow .12s ease;
}
.report-div-icon:hover .report-marker { transform: scale(1); box-shadow: 0 0 0 7px rgba(225,179,75,0.28), 0 10px 24px rgba(0,0,0,0.36); }
.report-marker.is-clear { background: #7f9f63; box-shadow: 0 0 0 5px rgba(127,159,99,0.24), 0 7px 18px rgba(0,0,0,0.32); }
.report-marker.is-urgent { background: #d85f3f; box-shadow: 0 0 0 5px rgba(216,95,63,0.24), 0 7px 18px rgba(0,0,0,0.32); }
.leaflet-tooltip { position: absolute; padding: 6px; background: white; border: 1px solid #c6c6c6; border-radius: 3px; color: #222; white-space: nowrap; user-select: none; pointer-events: none; }
.leaflet-tooltip.report-tooltip {
  background: rgba(16, 21, 12, 0.97);
  color: var(--text);
  border: 1px solid rgba(243,207,116,0.38);
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(0,0,0,0.36);
  padding: 0.38rem 0.55rem;
  white-space: nowrap;
  max-width: 240px;
  z-index: 1200;
}
.report-tooltip-content strong, .leaflet-tooltip.report-tooltip strong { display: block; color: var(--gold-2); margin: 0; }
.report-tooltip-content span, .report-popup-content span { display: block; color: var(--muted); font-size: 0.74rem; margin-bottom: 0.18rem; }
.report-tooltip-content p, .report-popup-content p { margin: 0; line-height: 1.32; }
.report-popup-content strong { color: #17130a; }
.report-popup-content span { color: #6b5f49; }
.report-hover-card {
  position: absolute;
  right: 14px;
  bottom: 45px;
  z-index: 1000;
  width: min(310px, calc(100% - 28px));
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(243,207,116,0.36);
  border-radius: 16px;
  background: rgba(13,18,11,0.94);
  color: var(--text);
  box-shadow: 0 18px 46px rgba(0,0,0,0.38);
  backdrop-filter: blur(10px);
}
.report-hover-card strong { display: block; color: var(--gold-2); font-size: 0.94rem; margin-bottom: 0.12rem; }
.report-hover-card span { display: block; color: var(--muted); font-size: 0.76rem; margin-bottom: 0.22rem; }
.report-hover-card p { margin: 0; font-size: 0.88rem; line-height: 1.36; }
@media (max-width: 1200px) {
  .summary-strip, .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-leaderboard { order: 3; flex-basis: 100%; max-width: none; }
  .map-header { grid-template-columns: 1fr; align-items: start; }
  .radar-console { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .topbar { align-items: stretch; flex-direction: column; }
  .brand-wrap { min-width: 0; }
  .partner-leaderboard { grid-template-columns: 1fr; gap: 0.1rem; }
  .partner-leaderboard strong, .partner-leaderboard span:last-child { white-space: normal; }
  .summary-strip, .content-grid, .sponsor-strip, .admin-grid { grid-template-columns: 1fr; }
  .coord-grid, .compact-form, .location-actions-row { grid-template-columns: 1fr; }
  .radar-console { gap: 0.32rem; }
  .toggle-pack { width: 100%; justify-content: space-between; }
  #map { min-height: 390px; height: 58vh; }
}
.primary-pill.is-playing {
  background: linear-gradient(180deg, #f6d886, #e1b34b);
  box-shadow: 0 0 0 3px rgba(225,179,75,0.16), 0 10px 22px rgba(225,179,75,0.20);
}

.form-note { font-size: 0.78rem; margin: -0.16rem 0 0; }
.report-submit-panel .mini-form { margin-bottom: 0.35rem; }
.report-submit-panel textarea { min-height: 68px; }
.report-tooltip-content strong { color: var(--gold-2); margin: 0; font-size: 0.82rem; }

/* v0.2.0 ad-slot, report-management, and weather-summary refinements */
.partner-leaderboard {
  display: block;
  padding: 0;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 970 / 90;
  height: clamp(58px, 6.2vw, 90px);
  max-height: 90px;
  background: rgba(0,0,0,0.18);
}
.partner-leaderboard img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.partner-leaderboard .ad-fallback { display: none; }
.weather-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.58rem 0 0.42rem;
}
.weather-metric {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248,241,228,0.12);
  border-radius: 17px;
  padding: 0.64rem 0.72rem;
  background: linear-gradient(145deg, rgba(248,241,228,0.07), rgba(0,0,0,0.16));
  min-height: 84px;
}
.weather-metric::after {
  content: "";
  position: absolute;
  inset: auto -18px -24px auto;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.weather-metric span {
  display: block;
  color: rgba(248,241,228,0.70);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
}
.weather-metric strong {
  display: block;
  margin-top: 0.22rem;
  font-size: clamp(1.16rem, 1.5vw, 1.62rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.weather-metric em {
  display: block;
  margin-top: 0.32rem;
  color: rgba(248,241,228,0.72);
  font-size: 0.78rem;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.metric-temp { background: linear-gradient(145deg, rgba(225,179,75,0.22), rgba(44,54,28,0.28)); }
.metric-wind { background: linear-gradient(145deg, rgba(130,159,144,0.20), rgba(19,29,19,0.30)); }
.metric-rain { background: linear-gradient(145deg, rgba(60,117,146,0.26), rgba(17,31,35,0.34)); }
.metric-calm { background: linear-gradient(145deg, rgba(127,159,99,0.25), rgba(18,31,16,0.32)); }
.metric-watch { background: linear-gradient(145deg, rgba(225,179,75,0.30), rgba(45,32,18,0.36)); border-color: rgba(225,179,75,0.28); }
.metric-danger { background: linear-gradient(145deg, rgba(216,95,63,0.34), rgba(48,18,13,0.42)); border-color: rgba(216,95,63,0.40); }
.compact-chips { margin-top: 0.35rem; }
.partner-tile {
  padding: 0;
  overflow: hidden;
  background: rgba(0,0,0,0.18);
}
.partner-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 300 / 250;
  object-fit: cover;
}
.partner-tile-caption {
  padding: 0.64rem 0.72rem 0.7rem;
}
.partner-tile-caption h3 { margin: 0.22rem 0 0.08rem; }
.partner-tile-caption p { margin: 0; font-size: 0.78rem; }
.admin-label {
  display: grid;
  gap: 0.32rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}
.report-admin-panel {
  grid-column: 1 / -1;
  padding: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0,0,0,0.13);
}
.report-admin-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.report-admin-actions button, .mini-delete {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(248,241,228,0.075);
  border-radius: 999px;
  padding: 0.44rem 0.68rem;
  font-weight: 850;
}
.small-danger { padding: 0.44rem 0.68rem; }
.report-admin-list {
  display: grid;
  gap: 0.38rem;
  max-height: 260px;
  overflow: auto;
  padding-right: 0.18rem;
}
.report-admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.52rem 0.62rem;
  background: rgba(248,241,228,0.04);
}
.report-admin-item strong { display: block; }
.report-admin-item span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 0.12rem;
}
.mini-delete {
  color: #ffe0db;
  border-color: rgba(216,95,63,0.45);
  background: rgba(216,95,63,0.12);
}
@media (max-width: 980px) {
  .weather-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .weather-metrics { grid-template-columns: 1fr; }
  .partner-leaderboard { aspect-ratio: 970 / 90; height: 64px; }
  .report-admin-item { grid-template-columns: 1fr; }
}

/* v0.2.3 leaderboard correction: true 970x90 creative, no cropping */
.partner-leaderboard {
  flex: 1 1 620px;
  max-width: 970px;
  min-width: min(100%, 360px);
  height: clamp(56px, 5.7vw, 90px);
  aspect-ratio: 970 / 90;
  background: rgba(10, 14, 8, 0.72);
}
.partner-leaderboard img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 1200px) {
  .partner-leaderboard { flex-basis: 100%; max-width: none; height: clamp(58px, 9vw, 90px); }
}

/* v0.2.5 ad cleanup: sponsor art should not get a second decorative outline */
.partner-leaderboard,
.partner-leaderboard:hover {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 10px !important;
}
.partner-leaderboard img {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 10px;
  object-fit: contain;
  background: transparent;
}
.partner-tile {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.partner-tile img {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 14px 14px 0 0;
  background: transparent;
}
.partner-tile-caption {
  border: 0 !important;
  background: rgba(0,0,0,0.16);
  border-radius: 0 0 14px 14px;
}


/* v0.2.6: sponsors are FTP/image-file managed; admin is reports-only */
.report-only-admin { grid-template-columns: 1fr; }
.admin-panel code {
  color: var(--gold-2);
  background: rgba(0,0,0,0.18);
  padding: 0.12rem 0.28rem;
  border-radius: 6px;
}
.image-only-sponsor {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 14px;
}
.image-only-sponsor img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 300 / 250;
  object-fit: contain;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 14px;
  background: transparent;
}
.partner-leaderboard { overflow: hidden; }
.partner-leaderboard img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 8px;
}

/* v0.2.8 cleaner location picker */
.location-card-v2 {
  gap: 0.48rem;
}
.location-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.location-topline h2 {
  margin: 0;
  font-size: clamp(1.08rem, 1.3vw, 1.46rem);
}
.location-details {
  margin: 0;
  font-size: 0.88rem;
}
.source-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  border-radius: 999px;
  padding: 0.28rem 0.54rem;
  border: 1px solid rgba(243,207,116,0.28);
  background: rgba(225,179,75,0.12);
  color: var(--gold-2);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.source-gps {
  border-color: rgba(88,196,214,0.45);
  background: rgba(88,196,214,0.12);
  color: #b9edf4;
}
.source-custom {
  border-color: rgba(127,159,99,0.45);
  background: rgba(127,159,99,0.14);
  color: #cfe9a9;
}
.source-zip, .source-search {
  border-color: rgba(225,179,75,0.38);
  background: rgba(225,179,75,0.14);
}
.location-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.42rem;
  align-items: center;
}
.location-search-row input[type="search"] {
  min-height: 42px;
}
.quick-town-row {
  display: flex;
  gap: 0.32rem;
  flex-wrap: wrap;
  margin-top: -0.1rem;
}
.quick-town-row button {
  border: 1px solid rgba(248,241,228,0.12);
  background: rgba(0,0,0,0.14);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.28rem 0.48rem;
  font-size: 0.76rem;
  font-weight: 800;
}
.quick-town-row button:hover {
  color: var(--text);
  border-color: rgba(243,207,116,0.32);
  background: rgba(225,179,75,0.10);
}
.location-card-v2 .custom-location {
  margin-top: 0.05rem;
  border-top: 1px solid rgba(248,241,228,0.08);
  padding-top: 0.42rem;
}
.location-card-v2 .custom-location summary {
  font-size: 0.78rem;
  color: #d8cdb6;
}
@media (max-width: 760px) {
  .location-search-row { grid-template-columns: 1fr; }
  .source-badge { min-width: 0; }
}
