:root {
  --bg: #07110f;
  --bg-elevated: #0a1714;
  --panel: rgba(15, 31, 27, 0.82);
  --panel-strong: #10231e;
  --panel-soft: #0c1c18;
  --line: rgba(181, 255, 225, 0.12);
  --line-strong: rgba(181, 255, 225, 0.22);
  --text: #f2fbf7;
  --muted: #8fa9a0;
  --muted-2: #627d74;
  --green: #7dfcc2;
  --green-strong: #45eaa2;
  --green-dim: rgba(82, 238, 170, 0.12);
  --blue: #63c7ff;
  --amber: #ffc46b;
  --red: #ff7d87;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

:root[data-theme="light"] {
  --bg: #edf7f2;
  --bg-elevated: #f6fbf8;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: #ffffff;
  --panel-soft: #f0f7f4;
  --line: rgba(20, 72, 55, 0.12);
  --line-strong: rgba(20, 72, 55, 0.22);
  --text: #10251f;
  --muted: #526d63;
  --muted-2: #6f877e;
  --green: #0d9b67;
  --green-strong: #087a51;
  --green-dim: rgba(13, 155, 103, 0.1);
  --shadow: 0 24px 70px rgba(23, 81, 61, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  min-width: 320px;
  transition: background 0.25s ease, color 0.25s ease;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
::selection { background: var(--green); color: #052017; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-shell { position: relative; min-height: 100vh; overflow: hidden; }
.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: linear-gradient(rgba(134, 255, 209, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(134, 255, 209, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.ambient { position: absolute; border-radius: 999px; filter: blur(90px); pointer-events: none; opacity: 0.18; }
.ambient-one { width: 420px; height: 420px; background: #29d88e; top: 40px; right: -180px; }
.ambient-two { width: 320px; height: 320px; background: #2b9c77; top: 760px; left: -230px; opacity: 0.12; }

.topbar {
  position: relative;
  z-index: 20;
  max-width: 1240px;
  margin: 0 auto;
  height: 88px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: var(--green);
  color: #05251a;
  font: 900 19px/1 ui-monospace, monospace;
  box-shadow: 0 0 30px rgba(87, 244, 178, 0.18);
}
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { font-size: 15px; letter-spacing: 0.18em; }
.brand small { margin-top: 3px; color: var(--muted-2); font: 600 8px/1 ui-monospace, monospace; letter-spacing: 0.15em; }
.topbar nav { display: flex; gap: 36px; }
.topbar nav a { color: var(--muted); text-decoration: none; font-size: 13px; transition: 0.2s ease; }
.topbar nav a:hover { color: var(--green); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.live-pill { display: inline-flex; gap: 8px; align-items: center; padding: 9px 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; font-size: 11px; background: var(--panel); }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-dim); animation: pulse 2s infinite; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); cursor: pointer; font-size: 18px; transition: 0.2s ease; }
.icon-button:hover { border-color: var(--green); color: var(--green); transform: rotate(12deg); }

main { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 20px 88px; }
.hero { min-height: 455px; padding: 72px 0 62px; display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 70px; }
.eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; color: var(--green); font: 700 10px/1 ui-monospace, monospace; letter-spacing: 0.16em; }
.eyebrow span:last-child { color: var(--muted-2); letter-spacing: 0.08em; }
.hero h1 { margin: 0; max-width: 640px; font-size: clamp(52px, 6.1vw, 84px); line-height: 0.98; letter-spacing: -0.065em; font-weight: 780; }
.hero h1 em { color: var(--green); font-style: normal; font-weight: 500; }
.hero-copy > p { max-width: 570px; margin: 25px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.ip-spotlight {
  position: relative;
  min-width: 0;
  padding: 25px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 47, 39, 0.85), rgba(8, 23, 19, 0.85));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.03);
}
:root[data-theme="light"] .ip-spotlight { background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(238, 249, 244, 0.95)); }
.ip-spotlight::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at 90% 0%, var(--green-dim), transparent 40%); }
.spotlight-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.spotlight-head > span { display: flex; align-items: center; gap: 9px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.spotlight-head button { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 5px; font-size: 11px; }
.spotlight-head button:hover { color: var(--green); }
.hero-ip { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; max-width: 100%; border: 0; background: none; padding: 28px 0 22px; color: var(--text); cursor: pointer; font: 620 clamp(27px, 3vw, 43px)/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: -0.05em; overflow-wrap: anywhere; text-align: left; }
.hero-ip span { opacity: 0; color: var(--green); font: 600 9px/1 sans-serif; letter-spacing: 0.08em; border: 1px solid var(--line-strong); border-radius: 5px; padding: 5px 7px; transition: 0.2s; }
.hero-ip:hover span { opacity: 1; }
.spotlight-meta { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 9px; color: var(--muted); font-size: 12px; }
.spotlight-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ip-skeleton { padding: 31px 0 4px; }
.ip-skeleton span { display: block; height: 10px; margin-bottom: 13px; border-radius: 5px; background: linear-gradient(90deg, var(--panel-soft), var(--line-strong), var(--panel-soft)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.ip-skeleton span:first-child { height: 42px; width: 78%; }
.ip-skeleton span:nth-child(2) { width: 52%; }
.ip-skeleton span:nth-child(3) { width: 64%; }

.search-section { margin-bottom: 36px; }
.section-label { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.section-label > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; color: var(--green); font: 700 10px ui-monospace, monospace; }
.section-label h2 { margin: 0; font-size: 15px; letter-spacing: -0.01em; }
.section-label p { margin: 3px 0 0; color: var(--muted-2); font-size: 11px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 8px 8px 8px 21px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--panel-strong);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.16);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus-within { border-color: rgba(125, 252, 194, 0.55); box-shadow: 0 0 0 4px var(--green-dim), 0 16px 50px rgba(0, 0, 0, 0.14); }
.search-box.has-error { border-color: rgba(255, 125, 135, 0.6); }
.search-symbol { color: var(--green); font-size: 22px; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 500 15px ui-monospace, monospace; }
.search-box input::placeholder { color: var(--muted-2); font-family: inherit; }
.clear-input { border: 0; background: transparent; color: var(--muted); font-size: 21px; cursor: pointer; padding: 8px; }
.search-button { min-width: 150px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 11px; background: var(--green); color: #06291c; font-weight: 750; font-size: 13px; cursor: pointer; transition: 0.2s ease; }
.search-button:hover:not(:disabled) { background: #a4ffd7; transform: translateY(-1px); box-shadow: 0 8px 30px rgba(91, 244, 179, 0.2); }
.search-button:disabled { opacity: 0.65; cursor: wait; }
.search-helper { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 30px; padding: 9px 3px 0; color: var(--muted-2); font-size: 10px; }
.search-helper button { border: 0; border-bottom: 1px dotted var(--line-strong); background: transparent; padding: 2px 1px; color: var(--muted); font: 500 10px ui-monospace, monospace; cursor: pointer; }
.search-helper button:hover { color: var(--green); }
.error-text { color: var(--red); }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(4, 39, 25, 0.25); border-top-color: #06291c; border-radius: 50%; animation: spin 0.7s linear infinite; }

.dashboard { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 16px; }
.panel { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: inset 0 1px rgba(255, 255, 255, 0.025); backdrop-filter: blur(18px); overflow: hidden; }
.panel::before { content: ""; position: absolute; top: 0; left: 24px; width: 42px; height: 1px; background: var(--green); opacity: 0.75; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.panel-head h2 { margin: 4px 0 0; font-size: 17px; letter-spacing: -0.02em; }
.panel-kicker { color: var(--green); font: 700 8px ui-monospace, monospace; letter-spacing: 0.15em; }
.identity-panel { padding: 27px; }
.panel-actions { display: flex; gap: 6px; }
.panel-actions button { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-soft); color: var(--muted); cursor: pointer; }
.panel-actions button:hover { border-color: var(--green); color: var(--green); }
.identity-row { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.flag-tile { display: grid; place-items: center; flex: 0 0 58px; height: 58px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel-soft); font-size: 28px; }
.result-ip { display: block; max-width: 100%; font: 650 clamp(21px, 2.5vw, 31px)/1.1 ui-monospace, monospace; letter-spacing: -0.045em; overflow-wrap: anywhere; }
.identity-row p { margin: 8px 0 0; color: var(--muted); font: 500 10px ui-monospace, monospace; }
.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.data-point { min-width: 0; padding: 19px 18px 6px 0; }
.data-point.wide { grid-column: span 2; }
.data-point span, .data-point small { display: block; color: var(--muted-2); font-size: 9px; }
.data-point strong { display: block; margin-top: 7px; color: var(--text); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.data-point small { margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-panel { padding: 27px; text-align: center; }
.score-panel .panel-head { text-align: left; }
.tone-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px currentColor; }
.tone-dot.success { background: var(--green); }
.tone-dot.danger { background: var(--red); }
.tone-dot.blue { background: var(--blue); }
.score-ring { --score: 180deg; display: grid; place-items: center; width: 142px; height: 142px; margin: 6px auto 19px; border-radius: 50%; background: conic-gradient(var(--green) var(--score), var(--line) 0); position: relative; box-shadow: 0 0 34px var(--green-dim); }
.score-ring::after { content: ""; position: absolute; width: 118px; height: 118px; border-radius: 50%; background: var(--panel-strong); }
.score-ring > div { position: relative; z-index: 1; display: flex; align-items: baseline; }
.score-ring strong { font: 700 38px ui-monospace, monospace; letter-spacing: -0.06em; }
.score-ring span { color: var(--muted); font: 500 10px ui-monospace, monospace; }
.network-badge { display: inline-block; padding: 7px 11px; border: 1px solid rgba(255, 196, 107, 0.25); border-radius: 7px; background: rgba(255, 196, 107, 0.08); color: var(--amber); font-size: 10px; font-weight: 750; }
.network-badge.success { color: var(--green); border-color: var(--line-strong); background: var(--green-dim); }
.network-badge.danger { color: var(--red); border-color: rgba(255, 125, 135, 0.25); background: rgba(255, 125, 135, 0.08); }
.network-badge.blue { color: var(--blue); border-color: rgba(99, 199, 255, 0.25); background: rgba(99, 199, 255, 0.08); }
.score-note { min-height: 35px; max-width: 260px; margin: 13px auto 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.signal-list { border-top: 1px solid var(--line); padding-top: 12px; }
.signal-list div { display: flex; justify-content: space-between; padding: 7px 0; color: var(--muted); font-size: 10px; }
.signal-list strong { font-size: 9px; }
.signal-list .good { color: var(--green); }
.signal-list .muted { color: var(--muted-2); }
.disclaimer { margin: 11px 0 0; color: var(--muted-2); font-size: 8px; }
.map-panel { min-height: 380px; padding: 27px; }
.coord { color: var(--muted-2); font: 500 9px ui-monospace, monospace; }
.map-frame { position: relative; height: 283px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: var(--panel-soft); }
.map-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 40px rgba(3, 15, 11, 0.3); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.62) contrast(1.05) brightness(0.72) hue-rotate(75deg); }
:root[data-theme="light"] .map-frame iframe { filter: saturate(0.65) contrast(0.9) brightness(1.08) hue-rotate(70deg); }
.map-label { position: absolute; z-index: 2; left: 12px; bottom: 12px; padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: 7px; background: rgba(6, 19, 15, 0.86); color: #dff9ee; font-size: 9px; backdrop-filter: blur(10px); }
.tools-panel { padding: 27px; }
.tools-panel > p { margin: -10px 0 21px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.tool-list { display: grid; gap: 9px; }
.tool-list a { display: grid; grid-template-columns: 37px 1fr auto; align-items: center; gap: 11px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel-soft); text-decoration: none; transition: 0.2s ease; }
.tool-list a:hover { transform: translateX(3px); border-color: var(--green); }
.tool-list a[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
.tool-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--green-dim); color: var(--green); }
.tool-list a > span:nth-child(2) { display: flex; flex-direction: column; }
.tool-list strong { font-size: 11px; }
.tool-list small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.tool-list em { color: var(--muted-2); font: normal 700 7px ui-monospace, monospace; letter-spacing: 0.12em; }

.lower-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 16px; margin-top: 16px; }
.device-panel, .history-panel { padding: 27px; }
.local-chip { padding: 5px 8px; border-radius: 6px; background: var(--green-dim); color: var(--green); font-size: 8px; font-weight: 700; }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.device-item { min-width: 0; display: flex; align-items: center; gap: 11px; min-height: 69px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel-soft); }
.device-icon { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; border-radius: 9px; background: var(--green-dim); color: var(--green); font: 700 13px ui-monospace, monospace; }
.device-item div { min-width: 0; }
.device-item small { display: block; color: var(--muted-2); font-size: 8px; }
.device-item strong { display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.privacy-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.privacy-row span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 8px; }
.privacy-row i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); }
.privacy-row .ok i { background: var(--green); box-shadow: 0 0 7px var(--green); }
.privacy-row .off i { background: var(--red); }
.privacy-row .neutral i { background: var(--amber); }
.text-button { border: 0; background: transparent; color: var(--muted); font-size: 9px; cursor: pointer; }
.text-button:hover { color: var(--red); }
.history-list { display: grid; gap: 8px; max-height: 246px; overflow: auto; padding-right: 3px; }
.history-list button { width: 100%; display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-soft); color: inherit; text-align: left; cursor: pointer; }
.history-list button:hover { border-color: var(--green); }
.history-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: var(--green-dim); color: var(--green); }
.history-list button > span:nth-child(2) { min-width: 0; }
.history-list strong, .history-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-list strong { font: 600 10px ui-monospace, monospace; }
.history-list small { margin-top: 4px; color: var(--muted-2); font-size: 8px; }
.history-list time { color: var(--muted-2); font-size: 8px; }
.empty-panel { min-height: 130px; display: grid; place-content: center; justify-items: center; color: var(--muted-2); }
.empty-panel > span { font-size: 23px; color: var(--line-strong); }
.empty-panel p { margin: 10px 0 0; font-size: 10px; }

.raw-panel { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.raw-panel summary { padding: 16px 20px; list-style: none; cursor: pointer; font-size: 11px; font-weight: 650; }
.raw-panel summary::-webkit-details-marker { display: none; }
.raw-panel summary::before { content: "+"; display: inline-block; margin-right: 10px; color: var(--green); }
.raw-panel[open] summary::before { content: "−"; }
.raw-panel summary span { float: right; color: var(--muted-2); font: 700 8px ui-monospace, monospace; }
.raw-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.raw-head p { margin: 0; color: var(--muted); font-size: 9px; }
.raw-head button { border: 1px solid var(--line); border-radius: 6px; background: var(--panel-soft); color: var(--muted); padding: 5px 8px; font-size: 8px; cursor: pointer; }
.raw-panel pre { max-height: 370px; overflow: auto; margin: 0; padding: 20px; color: #a7e8cd; background: rgba(2, 12, 9, 0.38); font: 10px/1.7 ui-monospace, monospace; }

footer { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; min-height: 116px; padding: 28px 20px 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; color: var(--muted-2); }
.footer-brand { justify-self: start; }
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 8px; font-size: 15px; }
footer p { margin: 0; font-size: 9px; text-align: center; }
footer > a { justify-self: end; text-decoration: none; color: var(--muted); font-size: 9px; }
footer > a:hover { color: var(--green); }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 9px; transform: translate(-50%, 20px); padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel-strong); box-shadow: var(--shadow); color: var(--text); font-size: 10px; opacity: 0; pointer-events: none; transition: 0.25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast span { color: var(--green); }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--green-dim); } 50% { box-shadow: 0 0 0 7px transparent; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 900px) {
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 38px; padding: 56px 0 48px; }
  .hero-copy > p { max-width: 650px; }
  .ip-spotlight { max-width: 650px; }
  .dashboard, .lower-grid { grid-template-columns: 1fr; }
  .score-panel { min-height: 440px; }
  .score-note { min-height: 0; }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .topbar { height: 72px; padding: 0 15px; }
  .brand small, .live-pill { display: none; }
  main { padding: 0 14px 60px; }
  .hero { padding-top: 45px; }
  .eyebrow { flex-wrap: wrap; gap: 8px 12px; }
  .hero h1 { font-size: clamp(45px, 15vw, 68px); }
  .hero-copy > p { font-size: 13px; }
  .ip-spotlight { padding: 20px; }
  .hero-ip { font-size: clamp(23px, 7.5vw, 34px); }
  .hero-ip span { display: none; }
  .search-box { display: grid; grid-template-columns: auto 1fr auto; padding: 10px 10px 10px 16px; }
  .search-button { grid-column: 1 / -1; width: 100%; }
  .search-helper button:last-child { display: none; }
  .identity-panel, .score-panel, .map-panel, .tools-panel, .device-panel, .history-panel { padding: 21px; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .data-point.wide { grid-column: span 2; }
  .device-grid { grid-template-columns: 1fr; }
  .map-frame { height: 240px; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-brand, footer > a { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
