:root {
  color-scheme: dark;
  --bg: #07090c;
  --panel: rgba(10, 16, 21, 0.9);
  --panel-strong: rgba(12, 21, 27, 0.96);
  --cyan: #2de1c2;
  --cyan-soft: rgba(45, 225, 194, 0.16);
  --red: #ff3b30;
  --amber: #ffb544;
  --text: #f3f8f7;
  --muted: #8da19e;
  --edge: clamp(24px, 3vw, 58px);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
}

body {
  color: var(--text);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, sans-serif;
}

.ransomware-app {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(360px, 0.85fr);
  grid-template-rows: 108px minmax(0, 1fr) 54px;
  width: 100vw;
  height: 100dvh;
  min-height: 650px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 38%, rgba(45, 225, 194, 0.09), transparent 34%),
    radial-gradient(circle at 84% 70%, rgba(255, 59, 48, 0.055), transparent 31%),
    linear-gradient(145deg, #080c10 0%, var(--bg) 62%);
}

.ransomware-app::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(45, 225, 194, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 225, 194, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 46% 45%, #000 10%, transparent 86%);
  pointer-events: none;
}

.ransomware-ambient {
  position: absolute;
  z-index: 0;
  inset: -35%;
  overflow: hidden;
  pointer-events: none;
}

.ransomware-ambient span {
  position: absolute;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(45, 225, 194, 0.04);
  border-radius: 46%;
  background: radial-gradient(circle, rgba(45, 225, 194, 0.026), transparent 64%);
  will-change: transform;
}

.ransomware-ambient span:nth-child(1) {
  top: 8%;
  left: 4%;
  animation: ambient-one 487s linear infinite alternate;
}

.ransomware-ambient span:nth-child(2) {
  top: 34%;
  left: 52%;
  animation: ambient-two 673s linear infinite alternate;
}

.ransomware-ambient span:nth-child(3) {
  top: 62%;
  left: 24%;
  animation: ambient-three 911s linear infinite alternate;
}

@keyframes ambient-one {
  to { transform: translate3d(34vw, 15vh, 0) rotate(97deg) scale(1.16); }
}

@keyframes ambient-two {
  to { transform: translate3d(-29vw, -19vh, 0) rotate(-121deg) scale(0.84); }
}

@keyframes ambient-three {
  to { transform: translate3d(18vw, -37vh, 0) rotate(163deg) scale(1.25); }
}

.ransomware-header {
  position: relative;
  z-index: 8;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--edge);
  border-bottom: 1px solid rgba(45, 225, 194, 0.12);
  background: rgba(5, 9, 12, 0.76);
  backdrop-filter: blur(14px);
}

.ransomware-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 200ms ease;
}

.ransomware-brand:hover,
.ransomware-brand:focus-visible {
  opacity: 0.85;
}

.ransomware-brand__mark {
  display: grid;
  place-items: center;
  width: var(--header-brand-mark, 52px);
  height: var(--header-brand-mark, 52px);
  overflow: visible;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ransomware-brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ransomware-brand__name {
  font-size: var(--header-brand-name, 20px);
  font-weight: 720;
  line-height: 1.1;
}

.ransomware-brand__tagline {
  margin-top: 5px;
  max-width: min(44vw, 560px);
  font-family: "Noto Sans Thai", "Leelawadee UI", system-ui, sans-serif;
  font-size: var(--header-brand-sub, 12px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
}

.ransomware-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ransomware-clock time {
  font: 650 24px/1 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: 0.06em;
}

.ransomware-clock span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.ransomware-feed {
  position: relative;
  z-index: 3;
  min-width: 0;
  min-height: 0;
  padding: 28px clamp(28px, 3.2vw, 62px) 24px var(--edge);
  overflow: hidden;
}

.ransomware-feed::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(45, 225, 194, 0.24), transparent);
}

.ransomware-feed__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  margin-bottom: 22px;
}

.ransomware-kicker,
.insights-label {
  color: var(--cyan);
  font: 700 14px/1.3 system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ransomware-feed h1 {
  margin: 7px 0 0;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.feed-state {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(45, 225, 194, 0.2);
  border-radius: 999px;
  color: #b8cbc8;
  background: rgba(8, 19, 20, 0.72);
  font-size: 13px;
  white-space: nowrap;
}

.feed-state__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(45, 225, 194, 0.65);
}

.feed-state[data-status="loading"] .feed-state__dot,
.feed-state[data-status="waiting"] .feed-state__dot {
  background: var(--amber);
  box-shadow: 0 0 12px rgba(255, 181, 68, 0.58);
}

.feed-state[data-status="error"] .feed-state__dot {
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 59, 48, 0.58);
}

.ticker-viewport {
  position: relative;
  height: calc(100% - 106px);
  min-height: 0;
  overflow: hidden;
  mask-image: linear-gradient(#000 0%, #000 88%, transparent 100%);
}

.ticker-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 150px;
}

.ticker-card {
  position: relative;
  flex: 0 0 auto;
  min-height: 112px;
  padding: 15px 20px 16px;
  overflow: hidden;
  border: 1px solid rgba(45, 225, 194, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(110deg, rgba(15, 27, 31, 0.96), rgba(8, 14, 18, 0.9));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  contain: layout paint;
}

.ticker-card::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.35;
  background: linear-gradient(100deg, transparent 20%, rgba(45, 225, 194, 0.035) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: card-drift 421s linear infinite;
  pointer-events: none;
}

@keyframes card-drift {
  to { transform: translateX(100%); }
}

.ticker-card:nth-child(n+4) {
  opacity: 0.68;
}

.ticker-card:nth-child(n+6) {
  opacity: 0.42;
}

.ticker-card--regional {
  border-color: rgba(255, 59, 48, 0.74);
  background:
    radial-gradient(circle at 88% 50%, rgba(255, 59, 48, 0.18), transparent 30%),
    linear-gradient(110deg, rgba(42, 13, 16, 0.98), rgba(15, 9, 12, 0.95));
  box-shadow:
    0 0 0 1px rgba(255, 59, 48, 0.08),
    0 0 38px rgba(255, 59, 48, 0.19),
    0 22px 48px rgba(0, 0, 0, 0.36);
}

.ticker-card--new {
  box-shadow:
    0 0 0 1px rgba(255, 181, 68, 0.26),
    0 0 50px rgba(255, 181, 68, 0.2),
    0 22px 48px rgba(0, 0, 0, 0.36);
}

.ticker-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.ticker-card__group {
  color: var(--cyan);
  font-size: clamp(22px, 1.6vw, 27px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.ticker-card--regional .ticker-card__group {
  color: #ff8f88;
}

.ticker-card__region,
.ticker-card__new {
  padding: 5px 9px 4px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
}

.ticker-card__region {
  border: 1px solid rgba(255, 59, 48, 0.46);
  color: #ffaaa5;
  background: rgba(255, 59, 48, 0.1);
}

.ticker-card__new {
  border: 1px solid rgba(255, 181, 68, 0.5);
  color: #ffd08a;
  background: rgba(255, 181, 68, 0.1);
}

.ticker-card__victim {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(26px, 2.1vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-card__sentence {
  display: none;
}

.ticker-card__meta {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 11px;
  color: #9cb0ad;
  font-size: 14px;
}

.ticker-card__meta span,
.ticker-card__meta time {
  display: flex;
  align-items: center;
}

.ticker-card__meta span + span::before,
.ticker-card__meta span + time::before {
  margin: 0 10px;
  color: rgba(141, 161, 158, 0.48);
  content: "·";
}

.ticker-card__country {
  color: #d2e3e0;
}

.ticker-card__time {
  color: var(--cyan);
  font-style: normal;
}

.ticker-card--regional .ticker-card__time {
  color: #ff9b95;
}

.empty-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  color: var(--muted);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-state__pulse {
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  border: 1px solid rgba(45, 225, 194, 0.36);
  border-radius: 50%;
  box-shadow:
    inset 0 0 28px rgba(45, 225, 194, 0.08),
    0 0 34px rgba(45, 225, 194, 0.08);
}

.empty-state strong {
  color: var(--text);
  font-size: 30px;
}

.empty-state span {
  max-width: 520px;
  margin-top: 9px;
  font-size: 17px;
}

.ransomware-insights {
  position: relative;
  z-index: 4;
  min-width: 0;
  min-height: 0;
  padding: 34px var(--edge) 0 clamp(28px, 2.5vw, 48px);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(9, 15, 20, 0.78), rgba(7, 10, 13, 0.9));
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.insights-label {
  margin-bottom: 25px;
}

.insight-card {
  padding: 25px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.insight-card strong {
  display: block;
  overflow: hidden;
  color: var(--cyan);
  font: 740 clamp(36px, 3.4vw, 60px)/1 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: -0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insight-card span {
  display: block;
  margin-top: 10px;
  color: #a5b8b5;
  font-size: 16px;
}

.insight-card small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.insight-card--group strong {
  font-family: inherit;
  font-size: clamp(27px, 2.4vw, 42px);
}

.insight-card--regional strong {
  color: var(--red);
  text-shadow: 0 0 24px rgba(255, 59, 48, 0.25);
}

.insight-card__button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: inherit;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.insight-card__button:hover strong,
.insight-card__button:focus-visible strong {
  text-shadow: 0 0 34px rgba(255, 59, 48, 0.5);
}

.insight-card__button:focus-visible {
  outline: 1px solid rgba(255, 59, 48, 0.55);
  outline-offset: 6px;
}

.insight-card__hint {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  transition: color 180ms ease;
}

.insight-card__button:hover .insight-card__hint,
.insight-card__button:focus-visible .insight-card__hint {
  color: #ff9b95;
}

.regional-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vh, 48px) clamp(16px, 4vw, 48px);
}

.regional-modal[hidden] {
  display: none;
}

.regional-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 9, 0.78);
  backdrop-filter: blur(6px);
}

.regional-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(680px, 100%);
  max-height: min(78vh, 760px);
  padding: 26px 28px 22px;
  border: 1px solid rgba(255, 59, 48, 0.4);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(24, 12, 14, 0.98), rgba(9, 11, 14, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 59, 48, 0.08),
    0 0 60px rgba(255, 59, 48, 0.14),
    0 30px 80px rgba(0, 0, 0, 0.55);
}

.regional-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.regional-modal__header h2 {
  margin: 6px 0 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.regional-modal__close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #d8e5e2;
  background: rgba(255, 255, 255, 0.05);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.regional-modal__close:hover,
.regional-modal__close:focus-visible {
  border-color: rgba(255, 59, 48, 0.6);
  color: #ffb1ab;
}

.regional-modal__list {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 0 6px 0 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 59, 48, 0.35) transparent;
}

.regional-modal__row {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(255, 148, 105, 0.55);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.regional-modal__row + .regional-modal__row {
  margin-top: 8px;
}

.regional-modal__row--thai {
  border-color: rgba(255, 59, 48, 0.34);
  border-left-color: var(--red);
  background: rgba(255, 59, 48, 0.06);
}

.regional-modal__row-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.regional-modal__victim {
  min-width: 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.regional-modal__badge {
  flex: 0 0 auto;
  padding: 4px 9px 3px;
  border: 1px solid rgba(255, 148, 105, 0.5);
  border-radius: 999px;
  color: #ffc4a8;
  font-size: 11px;
  font-weight: 720;
  line-height: 1;
}

.regional-modal__row--thai .regional-modal__badge {
  border-color: rgba(255, 59, 48, 0.5);
  color: #ffaaa5;
  background: rgba(255, 59, 48, 0.1);
}

.regional-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 6px;
  color: #9cb0ad;
  font-size: 13px;
}

.regional-modal__meta > * + *::before {
  margin: 0 8px;
  color: rgba(141, 161, 158, 0.48);
  content: "·";
}

.regional-modal__group {
  color: var(--cyan);
  font-weight: 650;
}

.regional-modal__row--thai .regional-modal__group {
  color: #ff9b95;
}

.regional-modal__empty {
  margin: 24px 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.insights-note {
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.insights-note span {
  color: var(--amber);
  font: 700 11px/1.2 system-ui, sans-serif;
  letter-spacing: 0.13em;
}

.insights-note p {
  margin: 7px 0 0;
  color: #748683;
  font-size: 13px;
  line-height: 1.45;
}

/* --- Country spotlight map --- */
.country-spotlight {
  flex: 1;
  min-height: 0;
  min-height: 160px;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-right: calc(-1 * var(--edge));
  margin-left: calc(-1 * clamp(28px, 2.5vw, 48px));
  overflow: hidden;
  border-top: 1px solid rgba(45, 225, 194, 0.1);
}

#country-spotlight-canvas {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: block;
  opacity: 1;
}

.country-spotlight__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px clamp(28px, 2.5vw, 48px) 14px;
}

.country-spotlight__country {
  color: var(--cyan);
  font: 700 clamp(13px, 1.2vw, 18px)/1.1 system-ui, sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-spotlight__victim {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ransomware-controls {
  display: none;
}

.ransomware-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(45, 225, 194, 0.34);
  border-radius: 999px;
  color: #d8f7f1;
  background: rgba(8, 16, 18, 0.9);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
  font: 650 15px/1 "Noto Sans Thai", "Leelawadee UI", system-ui, sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ransomware-btn:active {
  transform: scale(0.97);
}

.ransomware-btn[aria-pressed="true"] {
  border-color: rgba(255, 181, 68, 0.55);
  color: #ffd18b;
  background: rgba(47, 31, 8, 0.92);
}

.ransomware-btn__icon {
  font-size: 16px;
  line-height: 1;
}

.freeze-indicator {
  position: absolute;
  z-index: 20;
  top: 124px;
  left: 50%;
  padding: 8px 15px;
  border: 1px solid rgba(255, 181, 68, 0.52);
  border-radius: 999px;
  color: #ffd18b;
  background: rgba(47, 31, 8, 0.92);
  font-size: 14px;
  font-weight: 650;
  transform: translateX(-50%);
}

.ransomware-footer {
  position: relative;
  z-index: 9;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 var(--edge);
  border-top: 1px solid rgba(45, 225, 194, 0.12);
  color: #71827f;
  background: rgba(5, 9, 12, 0.94);
  font-size: 12px;
}

.ransomware-attribution {
  margin-left: auto;
}

.ransomware-attribution a {
  color: #9db2ae;
  text-decoration: none;
}

.ransomware-help {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}

kbd {
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  color: #a8bab7;
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
}

@media (max-width: 1180px), (max-height: 760px) {
  .ransomware-app {
    grid-template-columns: minmax(0, 1.8fr) minmax(290px, 0.8fr);
    grid-template-rows: 84px minmax(0, 1fr) 46px;
  }

  .ransomware-brand__mark {
    width: 46px;
    height: 46px;
    border-radius: 0;
  }

  .ransomware-brand__name {
    font-size: 20px;
  }

  .ransomware-feed {
    padding-top: 18px;
  }

  .ransomware-feed__heading {
    min-height: 66px;
    margin-bottom: 14px;
  }

  .ticker-viewport {
    height: calc(100% - 80px);
  }

  .ticker-track {
    gap: 10px;
  }

  .ticker-card {
    min-height: 104px;
    padding: 13px 18px 14px;
  }

  .ticker-card__header {
    margin-bottom: 4px;
  }

  .ticker-card__group {
    font-size: 21px;
  }

  .ticker-card__victim {
    font-size: 25px;
  }

  .ticker-card__meta {
    margin-top: 7px;
    font-size: 14px;
  }

  .ransomware-insights {
    padding-top: 24px;
  }

  .insights-label {
    margin-bottom: 15px;
  }

  .insight-card {
    padding: 17px 0;
  }

  .insight-card span {
    margin-top: 7px;
    font-size: 14px;
  }

  .insights-note {
    bottom: 18px;
  }

  .freeze-indicator {
    top: 98px;
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  :root {
    --edge: max(14px, env(safe-area-inset-left, 0px));
  }

  .ransomware-app {
    grid-template-columns: 1fr;
    grid-template-rows: 68px minmax(0, 1fr) auto 42px;
    min-height: 100dvh;
  }

  .country-spotlight {
    display: none;
  }

  .ransomware-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .ransomware-brand {
    gap: 9px;
  }

  .ransomware-brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 0;
    font-size: 13px;
  }

  .ransomware-brand__name {
    font-size: 16px;
  }

  .ransomware-brand__tagline {
    display: none;
  }

  .ransomware-clock time {
    font-size: 18px;
  }

  .ransomware-clock span {
    display: none;
  }

  .ransomware-feed {
    padding: 14px var(--edge) 8px;
  }

  .ransomware-feed::after {
    display: none;
  }

  .ransomware-feed__heading {
    align-items: center;
    min-height: 52px;
    margin-bottom: 10px;
  }

  .ransomware-kicker {
    font-size: 10px;
  }

  .ransomware-feed h1 {
    margin-top: 3px;
    font-size: 29px;
  }

  .feed-state {
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 10px;
  }

  #feed-state-text {
    display: none;
  }

  .ticker-viewport {
    height: calc(100% - 62px);
  }

  .ticker-card {
    min-height: 108px;
    padding: 13px 16px 15px;
    border-radius: 13px;
  }

  .ticker-card__group {
    font-size: 27px;
  }

  .ticker-card__victim {
    font-size: 34px;
  }

  .ticker-card__meta {
    gap: 5px;
    margin-top: 9px;
    font-size: 15px;
  }

  .ticker-card__meta span:nth-child(2) {
    display: none;
  }

  .ransomware-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 9px var(--edge);
    border-top: 1px solid rgba(45, 225, 194, 0.12);
  }

  .insights-label,
  .insights-note {
    display: none;
  }

  .insight-card {
    min-width: 0;
    padding: 5px 8px;
    border-top: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .insight-card:last-of-type {
    border-right: 0;
  }

  .insight-card strong,
  .insight-card--group strong {
    font-size: 20px;
  }

  .insight-card span {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.2;
  }

  .insight-card small {
    display: none;
  }

  .ransomware-footer {
    gap: 8px;
    padding-right: max(14px, env(safe-area-inset-right, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    font-size: 10px;
  }

  .ransomware-attribution {
    margin-left: auto;
  }

  .ransomware-help,
  #last-sync {
    display: none;
  }

  .freeze-indicator {
    top: auto;
    bottom: calc(150px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;
  }

  .ransomware-controls {
    position: absolute;
    z-index: 21;
    right: var(--edge);
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    display: flex;
    gap: 8px;
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .ransomware-controls {
    position: absolute;
    z-index: 21;
    right: var(--edge);
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    display: flex;
    gap: 8px;
  }

  .ransomware-btn__label {
    display: none;
  }

  .country-spotlight {
    display: none;
  }
}

@media (pointer: fine) {
  .ransomware-controls {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ransomware-ambient span,
  .ticker-card::after {
    animation: none;
  }
}
