/* Live threat map (site/threat-map.php). Standalone dark page; colours per attack group match threatmap.js. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #03070f; --bg-2: #07101f; --panel: rgba(9, 18, 34, .74); --panel-solid: #0a1426;
  --line: rgba(120, 160, 220, .14); --line-2: rgba(120, 160, 220, .26);
  --ink: #e8eef8; --ink-2: #b4c2d6; --ink-3: #8394ae; --ink-4: #5b6b84;
  --accent: #34d399; --accent-2: #10b981; --breach: #fda4af;
  --g-server: #fb7185; --g-mail: #fbbf24; --g-web: #a78bfa; --g-email: #22d3ee;
  --radius: 14px;
  --lw: 290px; --rw: 300px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: "Jakarta", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #6ee7b7; }
h1, h2, h3 { font-family: var(--head); color: #fff; letter-spacing: -.01em; margin: 0; }
button { font: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; color: #000; padding: 6px 10px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* top bar */
.tm-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 12px 24px;
  background: linear-gradient(180deg, rgba(3, 7, 15, .95), rgba(3, 7, 15, .7)); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tm-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font: 600 17px var(--head); }
.tm-brand svg { width: 26px; height: 26px; }
.tm-brand b { font-weight: 800; color: var(--accent); }
.tm-title { display: flex; align-items: center; gap: 12px; margin: 0 auto; }
.tm-title h1 { font-size: 17px; font-weight: 700; }
.tm-live { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 8px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 12px; color: var(--ink-2); background: rgba(255, 255, 255, .03); }
.tm-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-4); }
.tm-live.is-live { border-color: rgba(52, 211, 153, .4); color: #a7f3d0; }
.tm-live.is-live i { background: var(--accent); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: tm-ping 1.8s ease-out infinite; }
.tm-live.is-replay i { background: var(--g-mail); }
@keyframes tm-ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 100% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } }
.tm-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.tm-nav a { color: var(--ink-2); }
.tm-nav a:hover { color: #fff; }
.tm-nav .tm-cta { color: #03140d; background: var(--accent); padding: 7px 14px; border-radius: 9px; font-weight: 600; }
.tm-nav .tm-cta:hover { background: #6ee7b7; color: #03140d; }

/* map stage */
.tm-stage { position: relative; height: min(calc(100vh - 57px), 920px); min-height: 660px; overflow: hidden;
  background: radial-gradient(760px 560px at 50% 44%, rgba(16, 60, 110, .26), transparent 70%), radial-gradient(600px 300px at 12% 92%, rgba(251, 113, 133, .06), transparent 70%), radial-gradient(600px 300px at 88% 92%, rgba(16, 185, 129, .07), transparent 70%), var(--bg); }
.tm-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(3, 7, 15, .8) 100%); }
.tm-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.is-radar .tm-canvas { cursor: grab; touch-action: pan-y; }
.is-over .tm-canvas { cursor: pointer; }
.is-dragging .tm-canvas { cursor: grabbing; }
.tm-hud { position: absolute; z-index: 3; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.tm-hud > * { pointer-events: auto; }
.tm-hud-left { left: 20px; top: 20px; width: var(--lw); bottom: var(--tm-bottom, 200px); }
.tm-hud-right { right: 20px; top: 20px; width: var(--rw); bottom: var(--tm-bottom, 200px); }
.tm-hud-bottom { left: 20px; right: 20px; bottom: 18px; flex-direction: row; align-items: stretch; }
.tm-hud-bottom .tm-panel { padding: 12px 14px; }
.tm-kinds-panel { width: 440px; flex: none; }
.tm-kinds-panel .tm-kinds { grid-template-columns: 1fr 1fr; column-gap: 6px; gap: 0 6px; }
.tm-kinds-panel .tm-kind { padding: 3px 6px; font-size: 12px; gap: 7px; }
.tm-kinds-panel .tm-kind span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tm-hours-panel { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tm-hours-panel .tm-hours { flex: 1; min-height: 54px; }
.tm-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); }
.tm-eyebrow { margin: 0 0 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 8px; }
.tm-hint { text-transform: none; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.tm-big { margin: 0; font: 800 46px/1.05 var(--head); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff, #c7d4e8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tm-sub { margin: 4px 0 0; color: var(--ink-2); font-size: 13px; }

/* toolbar over the map */
.tm-tools { position: absolute; z-index: 4; top: 16px; left: calc(var(--lw) + 36px); right: calc(var(--rw) + 36px); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; pointer-events: none; }
.tm-tools > * { pointer-events: auto; }
.tm-seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); backdrop-filter: blur(12px); }
.tm-seg button, .tm-btn { appearance: none; border: 0; background: transparent; color: var(--ink-2); font: 600 12.5px var(--font); min-height: 30px; min-width: 32px; padding: 5px 11px; border-radius: 8px; cursor: pointer; transition: background .15s, color .15s; }
.tm-seg button:hover, .tm-btn:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.tm-seg button[aria-pressed="true"] { color: #03140d; background: var(--accent); }
.tm-seg button:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink-2); }
.tm-btn { border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(12px); padding: 5px 13px; min-height: 38px; border-radius: 11px; }
.tm-readout { flex-basis: 100%; margin: 0; text-align: center; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: .01em; pointer-events: none; }
.tm-readout #tm-readout { color: #a7f3d0; }

/* focus card */
.tm-focus { flex: none; border-color: rgba(52, 211, 153, .38); box-shadow: 0 0 0 1px rgba(52, 211, 153, .08), 0 0 40px -12px rgba(52, 211, 153, .35), 0 20px 40px -20px rgba(0, 0, 0, .7); animation: tm-in .35s cubic-bezier(.2, .8, .2, 1); }
.tm-focus[hidden] { display: none; }
.tm-focus-head { display: flex; align-items: center; gap: 4px; }
.tm-focus-head strong { flex: 1; min-width: 0; font: 700 15px var(--head); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-share { flex: none; border: 1px solid rgba(52, 211, 153, .35); background: transparent; color: #a7f3d0; font-size: 11.5px; padding: 0 9px; height: 30px; border-radius: 8px; cursor: pointer; }
.tm-share:hover { background: rgba(52, 211, 153, .1); }
.tm-x { flex: none; border: 0; background: rgba(255, 255, 255, .06); color: var(--ink-2); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 17px; line-height: 1; }
.tm-x:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.tm-focus-geo { margin: 4px 0 10px; font-size: 12px; color: #6ee7b7; font-variant-numeric: tabular-nums; }
.tm-focus-big { margin: 0 0 10px; color: var(--ink-2); font-size: 12.5px; }
.tm-focus-big b { font: 800 24px/1 var(--head); color: #fff; margin-right: 5px; font-variant-numeric: tabular-nums; }
.tm-fk { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tm-fk li { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font-size: 12px; color: var(--ink-2); }
.tm-fk b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.tm-meter { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.tm-meter span { display: block; height: 100%; border-radius: 3px; }
.f-server { background: var(--g-server); } .f-mail { background: var(--g-mail); } .f-web { background: var(--g-web); } .f-email { background: var(--g-email); }
.tm-focus-foot { margin: 10px 0 0; font-size: 11.5px; color: var(--ink-3); }

/* attack feed (right) */
.tm-feed-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.tm-showall { align-self: flex-start; margin: -2px 0 8px; padding: 4px 10px; border: 1px solid rgba(52, 211, 153, .4); border-radius: 99px; background: rgba(52, 211, 153, .08); color: #a7f3d0; font-size: 12px; cursor: pointer; min-height: 28px; }
.tm-showall[hidden] { display: none; }
.tm-feed { list-style: none; margin: 0; padding: 0; overflow: hidden; display: grid; gap: 6px; align-content: start; flex: 1; min-height: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.tm-feed li.is-new { animation: tm-in .5s cubic-bezier(.2, .8, .2, 1); }
.tm-ev { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 2px 9px; align-items: center; padding: 7px 9px; border-radius: 9px; background: rgba(255, 255, 255, .025); border: 1px solid transparent; color: inherit; font-size: 12.5px; text-align: left; cursor: pointer; }
.tm-ev:hover { background: rgba(255, 255, 255, .05); border-color: var(--line); }
.tm-ev:disabled { cursor: default; }
.is-new .tm-ev { border-color: var(--line-2); }
@keyframes tm-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.tm-feed .dot { width: 8px; height: 8px; border-radius: 50%; grid-row: span 2; }
.tm-feed .what { color: #fff; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-feed .when { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: 11.5px; }
.tm-feed .where { grid-column: 2 / 4; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc { display: inline-block; min-width: 24px; padding: 0 4px; margin-right: 5px; border-radius: 4px; background: rgba(255, 255, 255, .08); color: var(--ink-2); font: 600 10.5px/16px var(--font); text-align: center; letter-spacing: .03em; }
.tm-empty { color: var(--ink-3); font-size: 13px; padding: 6px 2px; }

/* breach feed (left) */
.tm-breach-panel { display: flex; flex-direction: column; flex: 1; min-height: 0; border-color: rgba(253, 164, 175, .16); }
.tm-pulse { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--breach); vertical-align: 1px; animation: tm-bping 2.2s ease-out infinite; }
@keyframes tm-bping { 0% { box-shadow: 0 0 0 0 rgba(253, 164, 175, .55); } 100% { box-shadow: 0 0 0 8px rgba(253, 164, 175, 0); } }
.tm-breach-sum { margin: -2px 0 10px; font-size: 12px; color: var(--ink-3); }
.tm-breach-sum b { color: var(--breach); font: 800 18px var(--head); margin-right: 3px; font-variant-numeric: tabular-nums; }
.tm-breaches { list-style: none; margin: 0 -6px 0 0; padding: 0 6px 10px 0; display: grid; gap: 6px; align-content: start; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0;
  scrollbar-width: thin; scrollbar-color: rgba(253, 164, 175, .35) transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); }
.tm-breaches::-webkit-scrollbar { width: 6px; }
.tm-breaches::-webkit-scrollbar-thumb { background: rgba(253, 164, 175, .35); border-radius: 6px; }
.tm-breaches:focus-visible { outline-offset: -2px; }
.tm-allbreaches { display: flex; align-items: center; justify-content: center; margin-top: 8px; min-height: 36px; border: 1px solid rgba(253, 164, 175, .35); border-radius: 10px; color: #fecdd3; font-size: 12.5px; font-weight: 600; background: rgba(251, 113, 133, .07); }
.tm-allbreaches:hover { background: rgba(251, 113, 133, .15); color: #fff; }
.tm-rate { display: flex; align-items: flex-end; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.tm-rate p { margin: 0; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.tm-rate p b { display: block; font: 800 22px/1 var(--head); color: #fda4af; font-variant-numeric: tabular-nums; }
.tm-rate .tm-hint { display: block; font-size: 11px; color: var(--ink-4); }
.tm-spark { flex: 1; min-width: 0; height: 34px; display: flex; align-items: flex-end; gap: 2px; }
.tm-spark span { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #fda4af, rgba(251, 113, 133, .45)); }
.tm-spark span.z { background: rgba(255, 255, 255, .07); }
.tm-spark span:last-child { background: #fff; }
.tm-last { margin: 8px 0 0; font-size: 11.5px; color: var(--ink-3); min-height: 1.4em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tm-first { display: inline-block; margin-right: 6px; padding: 0 5px; border-radius: 4px; background: rgba(251, 191, 36, .16); color: #fde68a; font: 700 9.5px/16px var(--font); text-transform: uppercase; letter-spacing: .05em; }
.tm-stage:fullscreen { height: 100vh; min-height: 0; max-height: none; }
.tm-stage:fullscreen::backdrop { background: var(--bg); }
.tm-breach { border-radius: 9px; background: rgba(255, 255, 255, .025); border: 1px solid transparent; }
.tm-breach.is-in { animation: tm-in .55s cubic-bezier(.2, .8, .2, 1); }
.tm-breach.is-new { border-color: rgba(253, 164, 175, .5); animation: tm-in .55s cubic-bezier(.2, .8, .2, 1), tm-flash 2.6s ease-out; }
@keyframes tm-flash { 0% { background: rgba(253, 164, 175, .22); } 100% { background: rgba(255, 255, 255, .025); } }
.tm-breach.is-open { border-color: rgba(253, 164, 175, .3); background: rgba(253, 164, 175, .04); }
.tm-breach-head { width: 100%; display: grid; gap: 2px; padding: 7px 9px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; border-radius: 9px; }
.tm-breach-head:hover { background: rgba(255, 255, 255, .04); }
.tm-breach-top { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.tm-breach-top .t { flex: 1; min-width: 0; color: #fff; font-weight: 600; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-breach-top .n { flex: none; color: var(--breach); font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tm-breach-head .m { font-size: 11.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-new { flex: none; font: 700 9.5px/1.5 var(--font); text-transform: uppercase; letter-spacing: .06em; color: #2a0710; background: var(--breach); padding: 0 5px; border-radius: 4px; }
.tm-breach-more { padding: 0 9px 9px; font-size: 11.5px; color: var(--ink-2); }
.tm-breach-more[hidden] { display: none; }
.tm-breach-more p { margin: 0 0 6px; }
.tm-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.tm-chips li { padding: 1px 6px; border-radius: 5px; background: rgba(251, 113, 133, .1); color: #fecdd3; font-size: 10.5px; }
.tm-credit { margin: 8px 0 0; font-size: 11px; color: var(--ink-3); }

.tm-kinds { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tm-kind { width: 100%; display: flex; align-items: center; gap: 9px; padding: 6px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: 13px var(--font); cursor: pointer; text-align: left; transition: background .15s, opacity .15s; }
.tm-kind:hover { background: rgba(255, 255, 255, .05); }
.tm-kind i { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 10px currentColor; }
.tm-kind span { flex: 1; }
.tm-kind b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.tm-kind[aria-pressed="false"] { opacity: .38; }
.tm-kind[aria-pressed="false"] i { box-shadow: none; }
.tm-kind.is-zero { opacity: .5; }
.g-server i, .g-server .dot { color: var(--g-server); background: var(--g-server); }
.g-mail i, .g-mail .dot { color: var(--g-mail); background: var(--g-mail); }
.g-web i, .g-web .dot { color: var(--g-web); background: var(--g-web); }
.g-email i, .g-email .dot { color: var(--g-email); background: var(--g-email); }

.tm-hours { display: flex; align-items: flex-end; gap: 3px; height: 54px; }
.tm-hours .bar { flex: 1; min-width: 3px; display: flex; flex-direction: column-reverse; border-radius: 3px 3px 0 0; overflow: hidden; background: rgba(255, 255, 255, .04); height: 100%; border: 0; padding: 0; cursor: pointer; transition: background .15s, opacity .15s; }
.tm-hours .bar:hover { background: rgba(255, 255, 255, .1); }
.tm-hours .bar:disabled { cursor: default; }
.tm-hours:has(.bar.is-active) .bar:not(.is-active) { opacity: .45; }
.tm-hours .bar.is-active { background: rgba(52, 211, 153, .16); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .7); }
.tm-hours .bar span { display: block; width: 100%; transition: height .6s cubic-bezier(.2, .8, .2, 1); }
.tm-hours .bar .s-server { background: var(--g-server); } .tm-hours .bar .s-mail { background: var(--g-mail); }
.tm-hours .bar .s-web { background: var(--g-web); } .tm-hours .bar .s-email { background: var(--g-email); }
.tm-top-panel { width: 400px; flex: none; }
.tm-top-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.tm-hud-bottom .tm-top-list li:nth-child(n+7) { display: none; }
.tm-cbtn { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 4px; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; color: var(--ink-2); background: rgba(255, 255, 255, .025); cursor: pointer; min-height: 26px; }
.tm-cbtn:hover { border-color: var(--line-2); color: #fff; }
.tm-cbtn[aria-pressed="true"] { border-color: rgba(52, 211, 153, .6); background: rgba(52, 211, 153, .1); color: #fff; }
.tm-cbtn:disabled { cursor: default; }
.tm-cbtn b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

.tm-tip { position: absolute; z-index: 6; pointer-events: none; padding: 9px 12px; border-radius: 10px; background: rgba(5, 10, 20, .94); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink); box-shadow: 0 12px 30px -10px #000; max-width: 250px; }
.tm-tip strong { display: block; color: #fff; font-size: 13.5px; }
.tm-tip .muted { color: var(--ink-3); }
.tm-tip .geo { color: #6ee7b7; font-variant-numeric: tabular-nums; }
.tm-noscript { position: absolute; inset: auto 0 45% 0; text-align: center; color: var(--ink-2); }

/* below the map */
.tm-section { padding: 64px 24px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.tm-wrap { max-width: 1180px; margin: 0 auto; }
.tm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.tm-card { background: var(--panel-solid); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tm-card h2, .tm-prose h2 { font-size: 22px; margin-bottom: 8px; }
.tm-prose h2 { font-size: 28px; margin-bottom: 22px; }
.tm-prose h3 { font-size: 16px; margin: 0 0 8px; }
.tm-prose p { color: var(--ink-2); margin: 0 0 12px; }
.tm-muted { color: var(--ink-3); font-size: 14px; }
.tm-nets, .tm-c2 { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.tm-nets li, .tm-c2 li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: 14px; }
.tm-nets .meter { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.tm-nets .meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--g-server), var(--g-mail)); border-radius: 4px; }
.tm-nets b, .tm-c2 b { font-variant-numeric: tabular-nums; color: #fff; }
.tm-c2 .on { color: var(--g-server); font-weight: 600; font-size: 12px; }
.tm-c2 .off { color: var(--ink-4); font-size: 12px; }
.tm-sources { padding-left: 18px; color: var(--ink-2); display: grid; gap: 8px; margin: 0 0 18px; }
.tm-link { font-weight: 600; }
.tm-foot { padding: 26px 24px 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.tm-foot .tm-wrap { display: flex; flex-wrap: wrap; gap: 18px; }
.tm-foot a { color: var(--ink-3); }

/* narrower screens */
@media (max-width: 1320px) {
  :root { --lw: 260px; --rw: 270px; }
  .tm-top-panel { display: none; }
  .tm-kinds-panel { width: 400px; }
}
/* tablets and phones: map on top, panels below it */
@media (max-width: 1020px) {
  .tm-top { padding: 10px 16px; gap: 10px; flex-wrap: wrap; }
  .tm-title { order: 3; width: 100%; justify-content: space-between; margin: 0; }
  .tm-title h1 { order: -1; font-size: 16px; }
  .tm-hours-panel .tm-hours, .tm-hours { flex: none; height: 64px; }
  .tm-nav a:not(.tm-cta) { display: none; }
  .tm-nav { margin-left: auto; }
  .tm-stage { height: auto; min-height: 0; overflow: visible; display: flex; flex-direction: column; }
  .tm-stage::after { display: none; }
  .tm-tools { position: static; order: 0; padding: 12px 16px 0; }
  .tm-canvas { position: relative; inset: auto; order: 1; height: 62vw; min-height: 230px; }
  .is-radar .tm-canvas { height: min(100vw, 620px); }
  .tm-hud { position: static; width: auto; padding: 0 16px; margin-bottom: 12px; }
  .tm-hud-left { order: 2; }
  .tm-hud-right { order: 3; }
  .tm-hud-bottom { order: 4; flex-direction: column; }
  .tm-top-panel { width: auto; display: block; }
  .tm-kinds-panel { width: auto; }
  .tm-feed, .tm-breaches { max-height: 340px; overflow: auto; -webkit-mask-image: none; mask-image: none; }
  .tm-big { font-size: 38px; }
  .tm-section { padding: 44px 16px; }
}
@media (max-width: 520px) {
  .tm-seg button { padding: 5px 9px; }
  .tm-btn { padding: 5px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tm-live.is-live i, .tm-feed li.is-new, .tm-pulse, .tm-breach.is-in, .tm-breach.is-new, .tm-focus { animation: none; }
  .tm-hours .bar span, .tm-kind, .tm-seg button { transition: none; }
}
