@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #090e18;
  --panel: #0e1520;
  --line: #ffffff10;
  --muted: #8290a5;
  --text: #f0f3f6;
  --accent: #b6f58b;
  --blue: #70b6ff;
  --live: #ffba68;
  font-family: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); overflow: hidden; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { opacity: .4; cursor: wait; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button { transition: background .2s, color .2s, border-color .2s; }
[hidden] { display: none !important; }
.topbar { height: 90px; padding: 0 34px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #0b111c; position: relative; z-index: 3; gap: 20px; }
.brand { color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 12px; font-family: "Space Grotesk", sans-serif; font-size: 26px; font-weight: 700; letter-spacing: -1.2px; }
.brand-icon { display: grid; place-items: center; color: var(--accent); width: 43px; height: 43px; border: 1px solid #b6f58b44; border-radius: 50%; font-size: 39px; line-height: 1; font-weight: 400; }
.brand-light { font-weight: 400; color: #b3bdcc; }
.brand small { display: block; font-size: 7px; color: var(--muted); font-weight: 500; letter-spacing: 1.5px; margin-top: 5px; }
.competition { display: flex; gap: 12px; align-items: center; font-size: 11px; font-weight: 650; letter-spacing: 1.3px; }
.competition small { display: block; color: var(--muted); margin-top: 6px; font-size: 11px; letter-spacing: 0; font-weight: 400; }
.star-ball { font-size: 35px; color: #c9d2e0; }
.source-pill { font-size: 11px; border: 1px solid var(--line); padding: 10px 13px; border-radius: 30px; color: #b4c0cf; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.explorer-toggle { border: 1px solid #b6f58b55; border-radius: 9px; background: #b6f58b0d; padding: 10px 15px; color: var(--accent); font-size: 12px; white-space: nowrap; }
.explorer-toggle:hover { background: #b6f58b22; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 9px #b6f58b55; flex-shrink: 0; }
.workspace { display: grid; grid-template-columns: 374px minmax(0, 1fr); height: calc(100dvh - 90px); }
.workspace.explorer-collapsed { grid-template-columns: minmax(0, 1fr); }
.globe-panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.globe-panel > .globe-stage { flex: 1; }
.competition-toolbar { flex-shrink: 0; padding: 12px 24px; border-bottom: 1px solid var(--line); background: #0b111c; }
.competition-toolbar .competition-options { margin: 0; }
.competition-toolbar button { padding: 8px 12px; border: 1px solid #ffffff25; background: #101b2c; color: var(--muted); border-radius: 7px; font-size: 11px; }
.competition-toolbar button[aria-pressed="true"] { color: var(--accent); border-color: #b6f58b55; }
.competition-toolbar > span { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.sidebar { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: var(--panel); z-index: 2; }
.sidebar-head { padding: 30px 25px 0; }
.eyebrow { font-size: 9px; font-weight: 600; letter-spacing: 2px; color: var(--muted); }
h1 { font-family: "Space Grotesk", sans-serif; font-size: 32px; letter-spacing: -1.5px; margin: 13px 0 9px; font-weight: 500; }
h1 span { color: var(--accent); }
.sidebar-head > p { color: var(--muted); font-size: 12px; line-height: 1.8; max-width: 290px; margin: 0 0 23px; }
.week-nav { display: flex; align-items: center; justify-content: space-between; background: #171f2b; border: 1px solid #ffffff0c; border-radius: 10px; height: 46px; }
.window-options { display: flex; gap: 5px; margin-bottom: 12px; }
.window-option { flex: 1; border: 1px solid #ffffff12; border-radius: 7px; padding: 8px 4px; background: transparent; color: var(--muted); font-size: 11px; }
.window-option:hover, .window-option.active { color: var(--accent); background: #b6f58b0d; border-color: #b6f58b40; }
.custom-range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 12px; }
.custom-range label { min-width: 0; color: var(--muted); font-size: 10px; }
.custom-range input { display: block; width: 100%; min-width: 0; margin-top: 5px; padding: 8px 5px; background: #171f2b; border: 1px solid #ffffff19; border-radius: 6px; color: var(--text); font-size: 11px; }
.custom-range button { grid-column: 1 / -1; padding: 8px; border: 1px solid #b6f58b40; border-radius: 6px; color: var(--accent); background: #b6f58b0d; font-size: 11px; }
.custom-range > span, .custom-range > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 9px; }
.custom-range > p { color: #ffb0b0; }
.load-progress { padding: 0 25px 12px; color: var(--accent); font-size: 11px; }
.sidebar-head { flex-shrink: 0; }
.sidebar { overflow-y: auto; }
.icon-button { border: 0; background: transparent; font-size: 26px; padding: 0 15px; color: #adb9c8; height: 100%; }
.icon-button:hover { color: var(--accent); }
.date-control { position: relative; font-size: 12px; font-weight: 550; text-align: center; flex: 1; height: 100%; display: grid; place-items: center; cursor: pointer; }
.date-control input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.date-control input::-webkit-calendar-picker-indicator { width: 100%; height: 100%; position: absolute; inset: 0; cursor: pointer; }
.date-control:focus-within { outline: 2px solid var(--accent); border-radius: 4px; }
.quick-dates { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 11px; margin: 12px 0 24px; color: #435168; }
.text-button { padding: 0; border: none; background: transparent; color: var(--muted); font-size: 10px; }
.text-button:hover { color: var(--accent); }
.quick-dates .text-button:first-child { color: var(--accent); }
.filters { display: flex; gap: 5px; padding-bottom: 17px; }
.filter { border: 1px solid transparent; background: transparent; color: var(--muted); padding: 7px 10px; border-radius: 7px; font-size: 11px; display: flex; gap: 6px; align-items: center; }
.filter.active { color: var(--accent); background: #b6f58b0d; border-color: #b6f58b26; }
.filter:hover { background: #ffffff08; }
.filter > span:not(.status-dot) { font-size: 9px; opacity: .7; }
.filter .status-dot { background: var(--live); box-shadow: none; width: 5px; height: 5px; }
.search-wrap { display: flex; align-items: center; gap: 10px; border: 1px solid #ffffff12; border-radius: 8px; color: var(--muted); padding: 0 12px; }
.search-wrap > span { font-size: 25px; line-height: 1; transform: rotate(-15deg); }
.search-wrap input { width: 100%; background: transparent; border: 0; color: var(--text); padding: 11px 0; font-size: 11px; outline: none; }
.search-wrap:focus-within { border-color: #b6f58b88; }
.search-wrap input::placeholder { color: #69768a; }
.list-heading { display: flex; justify-content: space-between; padding: 23px 25px 14px; align-items: center; }
.list-heading > span { color: #697a91; font-size: 9px; letter-spacing: 1.7px; }
.match-list { overflow-y: auto; min-height: 0; flex: 1; padding: 0 14px 16px; scrollbar-width: thin; scrollbar-color: #293446 transparent; }
.day-heading { padding: 15px 11px 9px; font-size: 10px; color: #a4b0bf; display: flex; align-items: center; gap: 10px; }
.day-heading::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.match-card { display: block; width: 100%; text-align: left; padding: 14px 12px; margin-bottom: 8px; background: #131d2b; border: 1px solid #ffffff07; border-radius: 10px; }
.match-card:hover { background: #1b2838; border-color: #ffffff22; }
.match-card.selected { background: linear-gradient(110deg, #b6f58b12, #151f2d); border-color: #b6f58b66; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 9px; margin-bottom: 12px; color: var(--muted); }
.card-kickoff { text-align: right; line-height: 1.5; }
.state-tag { display: inline-flex; gap: 5px; align-items: center; color: var(--accent); font-size: 8px; font-weight: 650; letter-spacing: .8px; text-transform: uppercase; }
.state-tag.post { color: var(--blue); }
.state-tag.in { color: var(--live); }
.team-row { display: flex; gap: 9px; align-items: center; margin: 9px 0; min-height: 22px; }
.team-logo { width: 23px; height: 23px; object-fit: contain; flex-shrink: 0; }
.team-fallback { display: grid; place-items: center; font-size: 9px; background: #ffffff0c; border-radius: 50%; color: #c6d0dc; }
.team-name { font-size: 12px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-score { font-family: "Space Grotesk", sans-serif; font-size: 16px; color: #e7eef9; }
.winner .team-score { color: var(--accent); }
.card-venue { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; color: #74869c; font-size: 9px; display: flex; gap: 6px; justify-content: space-between; }
.card-venue > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-venue .arrow { color: var(--accent); font-size: 13px; }
.sidebar-footer { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding: 13px 20px; font-size: 8px; color: #718198; }
.notice { margin: 0 25px 12px; padding: 10px 12px; border-radius: 7px; border: 1px solid #ffba6833; color: #e2bc8b; background: #ffba6809; font-size: 11px; line-height: 1.7; }
.notice.error { border-color: #ff858544; color: #ffb0b0; background: #ff85850a; }
.empty { padding: 35px 20px; text-align: center; }
.empty-symbol { color: var(--accent); font-size: 34px; margin-bottom: 16px; opacity: .7; }
.empty h3 { font-family: "Space Grotesk", sans-serif; font-size: 17px; font-weight: 500; }
.empty p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.empty button { margin-top: 12px; color: var(--accent); border: 1px solid #b6f58b33; padding: 10px 15px; background: #b6f58b08; border-radius: 8px; }
.skeleton { margin: 8px 0; height: 151px; border-radius: 10px; background: linear-gradient(100deg, #151f2b 30%, #1d2a3a 50%, #151f2b 70%); background-size: 250% 100%; animation: shimmer 2s infinite; }
@keyframes shimmer { to { background-position: -180% 0; } }
.globe-stage { position: relative; overflow: hidden; background: radial-gradient(ellipse at 60% 48%, #12253a 0%, #080f1c 45%, #050a12 85%); min-width: 0; isolation: isolate; }
#globe { position: absolute; inset: 0; z-index: 0; }
#globe canvas { display: block; }
.stage-heading { position: absolute; left: 36px; top: 34px; pointer-events: none; }
.stage-heading .eyebrow { font-size: 8px; letter-spacing: 2.5px; color: #8398b3; }
.stage-heading h2 { font-family: "Space Grotesk", sans-serif; font-size: clamp(24px, 2.5vw, 40px); font-weight: 400; line-height: 1.18; letter-spacing: -1.3px; color: #dce5f1; margin: 14px 0; }
.stage-heading em { font-style: normal; color: #849aaf; }
.map-stats { position: absolute; top: 36px; right: 30px; display: flex; gap: 25px; pointer-events: none; }
.map-stats > div { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.map-stats strong { font-family: "Space Grotesk", sans-serif; font-weight: 400; font-size: 26px; }
.map-stats span { color: #73869e; font-size: 7px; letter-spacing: 1.7px; }
.globe-tools { position: absolute; right: 24px; top: 50%; display: flex; flex-direction: column; gap: 8px; transform: translateY(-30%); }
.map-layers { position: absolute; left: 34px; top: 160px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; max-width: calc(100% - 70px); }
.map-layers button { padding: 7px 10px; border: 1px solid #ffffff25; background: #101b2cdd; color: var(--muted); border-radius: 7px; font-size: 10px; backdrop-filter: blur(12px); }
.map-layers button[aria-pressed="true"] { color: var(--accent); border-color: #b6f58b55; }
.map-layers > span { flex-basis: 100%; color: #b7c8dc; font-size: 9px; text-shadow: 0 1px 5px #000; }
.competition-options { display: flex; flex-wrap: wrap; gap: 7px; flex-basis: 100%; margin-bottom: 4px; }
.competition-badge { font-size: 8px; color: #b7c8dc; margin-bottom: 9px; letter-spacing: .5px; }
.race-title { font-family: "Space Grotesk", sans-serif; font-size: 16px; font-weight: 500; line-height: 1.5; margin: 12px 0; }
.race-note { font-size: 10px; color: var(--muted); line-height: 1.7; }
.driver-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 11px; }
.driver-position { width: 23px; color: var(--muted); font-family: "Space Grotesk", sans-serif; }
.driver-row.winner { color: var(--accent); }
.race-classification { max-height: 190px; overflow-y: auto; margin-bottom: 15px; }
.f1-weekend { padding: 15px 12px 7px; margin: 14px 0; border: 1px solid #ffba6840; border-radius: 12px; background: #ffba6805; }
.f1-weekend > .race-title { margin: 7px 0; }
.weekend-dates { margin: 7px 0; color: #d6dfeb; font-size: 11px; line-height: 1.6; }
.session-card { padding: 10px; }
.session-card .race-title { font-size: 13px; margin: 8px 0; }
.map-button { border: 1px solid #ffffff19; background: #111c2cbb; backdrop-filter: blur(15px); height: 38px; width: 38px; border-radius: 10px; font-size: 22px; color: #b5c3d6; }
.map-button:hover, .map-button[aria-pressed="true"] { border-color: #b6f58b66; color: var(--accent); background: #1e302d; }
.map-legend { position: absolute; left: 34px; bottom: 60px; display: flex; gap: 19px; color: #8d9eb3; font-size: 10px; pointer-events: none; }
.map-legend > span { display: flex; align-items: center; gap: 7px; }
.legend-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.upcoming { background: var(--accent); box-shadow: 0 0 8px #b6f58b55; }
.finished { background: var(--blue); box-shadow: 0 0 8px #70b6ff55; }
.live { background: var(--live); box-shadow: 0 0 8px #ffba6855; }
.map-hint { position: absolute; bottom: 31px; left: 34px; color: #5e738e; font-size: 7px; letter-spacing: 1.4px; pointer-events: none; }
.map-hint span { margin: 0 7px; color: #394a61; }
.map-credit { position: absolute; bottom: 10px; left: 34px; color: #53647b; font-size: 7px; right: 15px; pointer-events: none; }
.stage-heading, .map-stats, .map-legend, .map-hint, .map-credit {
  color: #182b36;
  background: #fffffff0;
  border: 1px solid #182b3620;
  border-radius: 7px;
  padding: 6px 9px;
}
.stage-heading .eyebrow, .stage-heading h2, .stage-heading em,
.map-stats span, .map-hint span { color: #182b36; }
.map-stats strong { color: #10232e; font-weight: 600; }
.map-credit { right: auto; max-width: calc(100% - 50px); }
.osm-attribution { position: absolute; right: 12px; bottom: 29px; padding: 5px 8px; border-radius: 4px; background: #0c1522ee; color: #d3deeb; font-size: 10px; }
.osm-attribution a { color: #c5eeff; }
.globe-message { position: absolute; left: 30px; right: 80px; bottom: 100px; background: #101c2bee; border: 1px solid #ffffff20; padding: 15px; font-size: 12px; line-height: 1.7; color: #bac9dc; border-radius: 12px; }
.globe-loading { position: absolute; left: 50%; bottom: 100px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 90px); padding: 13px 18px; border: 1px solid #b6f58b44; border-radius: 12px; background: #101c2bee; color: var(--accent); font-size: 12px; box-shadow: 0 8px 30px #0005; pointer-events: none; }
.loading-spinner { width: 18px; height: 18px; border: 2px solid #b6f58b33; border-top-color: var(--accent); border-radius: 50%; flex-shrink: 0; animation: loading-spin .8s linear infinite; }
@keyframes loading-spin { to { transform: rotate(360deg); } }
.stadium-marker { position: relative; width: 18px; height: 18px; background: transparent; padding: 0; border: 0; display: grid; place-items: center; pointer-events: auto; }
.stadium-marker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--marker-color); box-shadow: 0 0 0 4px #07122099, 0 0 20px var(--marker-color); transition: transform .2s; }
.stadium-marker:hover::before, .stadium-marker.selected::before { transform: scale(1.5); box-shadow: 0 0 0 5px #071220bb, 0 0 25px var(--marker-color); }
.marker-label { pointer-events: none; position: absolute; bottom: 24px; white-space: nowrap; color: #e8f2ff; background: #0c1828ee; border: 1px solid #ffffff33; font-size: 10px; padding: 7px 10px; border-radius: 7px; opacity: 0; transform: translateY(3px); transition: opacity .2s, transform .2s; }
.stadium-marker:hover .marker-label, .stadium-marker:focus-visible .marker-label, .stadium-marker.selected .marker-label { opacity: 1; transform: translateY(0); }
.match-detail { position: absolute; right: 78px; bottom: 77px; width: 340px; max-height: calc(100% - 115px); overflow-y: auto; border: 1px solid #b6f58b33; border-radius: 17px; background: linear-gradient(140deg, #192738ed, #0c1726f5); backdrop-filter: blur(24px); box-shadow: 0 18px 70px #0008; padding: 23px; animation: appear .35s ease-out; }
@keyframes appear { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.detail-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.detail-round { font-size: 9px; color: #9baaBD; line-height: 1.7; max-width: 255px; }
.close-detail { padding: 0 2px; background: none; border: none; color: var(--muted); font-size: 23px; line-height: 18px; }
.detail-status { margin-top: 17px; text-align: center; }
.detail-teams { display: grid; grid-template-columns: 1fr 90px 1fr; gap: 8px; align-items: center; margin: 20px 0; }
.detail-team { min-width: 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.detail-team .team-logo { width: 48px; height: 48px; }
.detail-team span { font-size: 11px; line-height: 1.5; min-height: 33px; }
.detail-score { font-family: "Space Grotesk", sans-serif; font-size: 33px; text-align: center; align-self: start; padding-top: 5px; white-space: nowrap; }
.detail-score small { display: block; font-family: "DM Sans", sans-serif; font-size: 8px; color: var(--muted); margin-top: 7px; }
.detail-facts { border-top: 1px solid var(--line); padding-top: 5px; }
.detail-fact { display: flex; gap: 15px; justify-content: space-between; font-size: 10px; line-height: 1.6; margin: 13px 0; }
.detail-fact > span { color: #7d90a8; flex-shrink: 0; }
.detail-fact > strong { text-align: right; font-weight: 400; }
.detail-note { font-size: 10px; color: #bbc9d9; line-height: 1.7; }
.venue-games { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.venue-games > span { color: var(--muted); font-size: 9px; }
.venue-games button { display: block; width: 100%; text-align: left; color: #c4d2e3; background: #ffffff05; border: 1px solid #ffffff0c; border-radius: 5px; font-size: 10px; padding: 8px; margin-top: 7px; }
.venue-games button:hover { border-color: #b6f58b44; }
.espn-link { display: flex; justify-content: space-between; text-decoration: none; background: #b6f58b0c; border: 1px solid #b6f58b22; color: var(--accent); font-size: 11px; border-radius: 7px; padding: 10px 12px; margin-top: 18px; }
.noscript { position: fixed; top: 100px; left: 20px; padding: 20px; background: #28374a; z-index: 10; }
@media (min-width: 1600px) {
  .workspace { grid-template-columns: 410px minmax(0, 1fr); }
  .sidebar-head { padding: 35px 30px 0; }
  .match-detail { width: 370px; right: 90px; }
}
@media (max-width: 1050px) {
  .workspace { grid-template-columns: 325px minmax(0, 1fr); }
  .sidebar-head { padding: 24px 20px 0; }
  .stage-heading { left: 25px; top: 25px; }
  .map-stats { top: 28px; right: 20px; gap: 15px; }
  .map-stats strong { font-size: 21px; }
  .stage-heading h2 { font-size: 25px; }
  .map-layers { left: 25px; top: 135px; }
  .match-detail { right: 65px; width: min(320px, calc(100% - 85px)); bottom: 90px; padding: 18px; }
  .competition { display: none; }
}
@media (max-width: 700px) {
  body { overflow: hidden; }
  .topbar { height: 72px; padding: 0 18px; gap: 10px; }
  .brand { font-size: 23px; }
  .brand small { display: none; }
  .brand-icon { width: 33px; height: 33px; font-size: 29px; }
  .source-pill { font-size: 9px; padding: 8px 9px; }
  .workspace { height: calc(100dvh - 72px); display: flex; flex-direction: column; overflow: hidden; }
  .globe-panel { order: -1; flex: 0 0 48%; height: auto; min-height: 0; }
  .workspace.explorer-collapsed .globe-panel { flex: 1 1 100%; }
  .workspace:not(.explorer-collapsed):has(.match-open) .globe-panel { flex-basis: 68%; }
  .competition-toolbar { padding: 10px 12px; }
  .competition-toolbar button { font-size: 10px; padding: 7px 9px; }
  .globe-panel > .globe-stage { height: auto; min-height: 0; order: 0; }
  .globe-stage { order: -1; height: 55dvh; min-height: 360px; }
  .sidebar { border-right: 0; border-top: 1px solid var(--line); min-height: 0; flex: 1 1 0; overflow-y: auto; overscroll-behavior-y: contain; }
  .sidebar-head { padding-top: 25px; }
  .sidebar-head > .eyebrow, .sidebar-head > p { display: none; }
  h1 { font-size: 26px; margin: 0 0 18px; }
  .quick-dates { margin-bottom: 17px; }
  .match-list { overflow: visible; flex: 0 0 auto; padding: 0 14px 16px; }
  .sidebar > * { flex-shrink: 0; }
  .workspace:not(.explorer-collapsed) .stage-heading { display: none; }
  .map-stats { gap: 12px; top: 20px; right: 16px; }
  .map-stats strong { font-size: 19px; }
  .stage-heading { left: 18px; top: 20px; }
  .stage-heading h2 { font-size: 23px; }
  .stage-heading .eyebrow { font-size: 6px; letter-spacing: 1.5px; }
  .map-layers { left: 18px; top: 112px; max-width: calc(100% - 65px); }
  .map-layers button { font-size: 9px; padding: 5px 8px; }
  .map-legend { left: 18px; bottom: 40px; font-size: 8px; }
  .map-hint { bottom: 23px; left: 18px; font-size: 6px; letter-spacing: 1px; }
  .map-credit { bottom: 7px; left: 18px; font-size: 5px; }
  .osm-attribution { bottom: 48px; right: 8px; font-size: 9px; }
  .globe-tools { right: 12px; top: 45%; gap: 5px; }
  .map-button { width: 31px; height: 31px; border-radius: 8px; font-size: 19px; }
  .match-detail { inset: auto 52px 50px 12px; width: auto; max-width: 340px; max-height: calc(100% - 65px); padding: 16px; }
  .detail-teams { margin: 12px 0; }
  .detail-team .team-logo { width: 35px; height: 35px; }
  .detail-fact { margin: 9px 0; }
  .detail-status { margin-top: 10px; }
  .workspace .globe-stage.match-open { height: auto; min-height: 0; }
  .match-open .match-detail { inset: auto 12px 40px; width: auto; max-width: none; max-height: 48%; border-radius: 17px 17px 10px 10px; padding: 16px; }
  .match-open .stage-heading, .match-open .map-stats, .match-open .map-layers,
  .match-open .map-legend, .match-open .map-hint { display: none; }
  .match-open .globe-tools { top: 20%; }
  .match-open .osm-attribution { bottom: 17px; }
  .match-open .globe-loading { bottom: auto; top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
