:root {
  color-scheme: light;
  --page-bg: #f2f7fb;
  --surface: #ffffff;
  --surface-muted: #f7fafc;
  --text: #112843;
  --text-soft: #607087;
  --line: #d9e3ec;
  --line-strong: #c8d5e1;
  --blue: #2f80df;
  --blue-deep: #1764b5;
  --yellow: #ffb928;
  --cat-orange: #ee742d;
  --cat-orange-deep: #d85f20;
  --green: #2b9b70;
  --red: #e84955;
  --shadow: 0 8px 24px rgba(25, 54, 82, 0.08);
  --panel-radius: 16px;
  --control-radius: 8px;
  --panel-gap: 20px;
  --panel-padding: 26px;
  --control-height: 52px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

button,
input,
select {
  font: inherit;
}

button,
select,
input[type="range"],
.sound-toggle {
  -webkit-tap-highlight-color: transparent;
}

button,
select,
.sound-toggle {
  touch-action: manipulation;
}

a {
  color: var(--blue-deep);
}

a:hover {
  color: #0e4f92;
}

.app-shell {
  width: min(1450px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.panel,
.map-panel,
.project-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--panel-radius);
  box-shadow: var(--shadow);
}

.app-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 5px 30px;
}

.brand-lockup {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.brand-image-heading {
  width: 100%;
  max-width: 620px;
  min-width: 0;
  margin: 0;
  line-height: 0;
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
  margin-block: -2% -3.5%;
  object-fit: contain;
  object-position: left center;
}

.mini-cat-status {
  width: 360px;
  min-height: 76px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-muted);
  box-shadow: 0 4px 14px rgba(25, 54, 82, 0.06);
}

.mini-cat-status__emoji {
  display: grid;
  place-items: center;
  font-size: 27px;
  line-height: 1;
}

.mini-cat-status__copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.mini-cat-status__copy strong {
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-cat-status__copy span {
  overflow: visible;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: clip;
  white-space: normal;
}

.mini-cat-status__next {
  display: inline;
  margin-left: 6px;
  color: #74869a;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.mini-cat-status__indicator {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(43, 155, 112, 0.1);
}

.mini-cat-status.is-checking .mini-cat-status__indicator {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 128, 223, 0.11);
}

.mini-cat-status.is-unavailable .mini-cat-status__indicator {
  background: #8493a3;
  box-shadow: 0 0 0 4px rgba(132, 147, 163, 0.12);
}

.mini-cat-status.storm-nearby .mini-cat-status__indicator {
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 185, 40, 0.13);
}

.mini-cat-status.weather-cloudy .mini-cat-status__indicator {
  background: #7892aa;
  box-shadow: 0 0 0 4px rgba(120, 146, 170, 0.12);
}

.mini-cat-status.weather-rain .mini-cat-status__indicator {
  background: #4aa6df;
  box-shadow: 0 0 0 4px rgba(74, 166, 223, 0.14);
}

.mini-cat-status.weather-snow .mini-cat-status__indicator {
  background: #76bddf;
  box-shadow: 0 0 0 4px rgba(118, 189, 223, 0.15);
}

.mini-cat-status.weather-storm .mini-cat-status__indicator {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(232, 73, 85, 0.12);
}

.mini-cat-status.meow-alert .mini-cat-status__indicator {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(232, 73, 85, 0.12);
}

.app-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: var(--panel-gap);
  margin-top: var(--panel-gap);
}

.map-column,
.side-rail {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: var(--panel-gap);
}

.map-panel {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.map-canvas {
  width: 100%;
  min-height: 660px;
  background: #d8eaf2;
}

.map-legend {
  position: absolute;
  z-index: 500;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  max-width: calc(100% - 32px);
  padding: 10px 13px;
  border: 1px solid rgba(204, 217, 228, 0.95);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 14px rgba(25, 54, 82, 0.12);
  color: #53657b;
  font-size: 12px;
  line-height: 1.2;
  pointer-events: none;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-legend .is-hidden {
  display: none;
}

.map-legend i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  display: inline-block;
  border-radius: 50%;
}

.legend-live {
  border: 2px solid #fff;
  background: var(--red);
  box-shadow: 0 0 0 1px rgba(232, 73, 85, 0.5);
}

.legend-rain {
  border: 1px solid rgba(29, 126, 195, 0.72);
  border-radius: 3px !important;
  background: #55b8ea;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.legend-dot--outer {
  background: var(--blue);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.legend-dot--inner {
  background: var(--yellow);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.34);
}

.legend-bolt {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
}

.legend-bolt::before {
  content: "⚡";
  color: #e89a00;
  font-style: normal;
}

.leaflet-control-zoom a {
  color: var(--text) !important;
}

.leaflet-control-attribution {
  color: #54667a;
  font-size: 10px;
}

.leaflet-container a {
  color: var(--blue-deep);
}

.leaflet-zone-pane,
.leaflet-zone-pane svg {
  pointer-events: none;
  will-change: transform;
}

.eumetsat-rain-pane .leaflet-tile {
  filter: grayscale(1) sepia(1) saturate(10) hue-rotate(158deg) brightness(0.92) contrast(1.2);
  mix-blend-mode: normal;
}

.catmosphere-marker,
.lightning-strike-marker {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}

.catmosphere-marker span,
.lightning-strike-marker span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 5px 14px rgba(17, 40, 67, 0.26);
  font-size: 23px;
  line-height: 1;
}

.catmosphere-marker span {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.catmosphere-marker__cat {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
  transform: translate(0, -5px);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.catmosphere-marker__cat.is-facing-left {
  transform: translate(0, -5px) scaleX(-1);
}

.lightning-strike-marker span {
  border-color: #fff8e7;
  background: #fff2ca;
  color: #dd8c00;
  animation: strike-pop 520ms ease-out;
}

.meow-zone {
  stroke: #e7a20b;
  fill: #ffdc45;
  fill-opacity: 0.42;
}

.live-lightning-strike {
  fill: var(--red);
  fill-opacity: 0.82;
  stroke: #fff;
  stroke-width: 2px;
  stroke-opacity: 0.92;
}

.live-lightning-strike--eumetsat {
  fill: #e95a65;
}

.live-lightning-strike--xweather {
  fill: #f03845;
}

@keyframes strike-pop {
  0% {
    opacity: 0;
    transform: scale(0.45);
  }
  72% {
    opacity: 1;
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(270px, 0.9fr);
  gap: var(--panel-gap);
}

.about-panel,
.how-panel,
.status-panel,
.control-panel,
.latest-strike-panel,
.sound-panel {
  min-width: 0;
  padding: var(--panel-padding);
}

.about-panel {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.section-icon,
.how-list__icon {
  display: grid;
  place-items: center;
  border: 1px solid #f0dfbd;
  border-radius: 10px;
  background: #fffaf0;
  color: #e39500;
}

.section-icon {
  width: 58px;
  height: 58px;
  font-size: 27px;
}

.section-icon img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.about-panel h2,
.how-panel h2,
.status-panel h2,
.control-panel h2,
.latest-strike-panel h2,
.sound-panel h2 {
  margin: 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: 0;
}

.about-panel p {
  margin: 13px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.65;
}

.how-list {
  display: grid;
  gap: 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.how-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.how-list__icon {
  width: 42px;
  height: 42px;
  font-size: 19px;
}

.how-list__icon img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.how-list li > span:last-child {
  min-width: 0;
  display: grid;
  gap: 0;
}

.how-list strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.how-list small {
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.45;
}

.status-panel {
  min-height: 198px;
}

.live-cat-status {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 14px;
}

.cat-animation-stage {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  transform: translateX(8px);
}

.cat-animation {
  width: 128px;
  height: 128px;
  display: block;
  object-fit: contain;
  transform: translateY(-12px);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.live-cat-status__copy {
  min-width: 0;
  margin-left: 20px;
}

.status-text {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.35;
}

.reaction-message {
  margin: 7px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.range-control {
  margin-top: 19px;
}

.range-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.range-label label {
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 610;
}

.range-label strong {
  flex: 0 0 auto;
  color: var(--blue-deep);
  font-size: 14px;
}

input[type="range"] {
  width: 100%;
  height: 24px;
  display: block;
  margin: 8px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.scenario-control {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.button {
  width: 100%;
  height: var(--control-height);
  min-height: var(--control-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 0;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--control-radius);
  background: var(--surface-muted);
  color: var(--text);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.25;
  letter-spacing: 0;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  top: 0;
  transform: none;
  user-select: none;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.button:hover {
  border-color: #abc0d4;
  background: #eef5fa;
}

.button:active,
.button:focus {
  top: 0;
  transform: none;
  padding: 12px 18px;
  border-width: 1px;
  outline: none;
}

.button > span[aria-hidden="true"] {
  width: 1.2em;
  height: 1.2em;
  flex: 0 0 1.2em;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  line-height: 1;
}

.button:focus-visible,
.sound-toggle:has(input:focus-visible),
select:focus-visible,
input[type="range"]:focus-visible {
  outline: 3px solid rgba(47, 128, 223, 0.25);
  outline-offset: 2px;
}

.button-primary {
  border-color: #bad0e3;
  background: #f2f8fc;
  color: #284258;
}

#testStrikeButton {
  margin-top: 35px;
}

.button-cat-orange {
  border-color: var(--cat-orange);
  background: var(--cat-orange);
  color: #fff;
}

.button-cat-orange > span {
  color: #fff;
  font-family: "Segoe UI Symbol", sans-serif;
}

.button-primary:hover {
  border-color: var(--blue);
  background: #e9f4fc;
  color: var(--blue-deep);
}

.button-cat-orange:hover,
.button-cat-orange.is-playing {
  border-color: var(--cat-orange-deep);
  background: var(--cat-orange-deep);
  color: #fff;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.latest-strike-layout {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 19px;
}

.strike-bolt {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #f1dfb8;
  border-radius: 50%;
  background: #fff7e4;
  font-size: 29px;
  line-height: 1;
}

.strike-details {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin: 0;
}

.strike-details div {
  min-width: 0;
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.strike-details dt,
.strike-details dd {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.strike-details dt {
  color: var(--text-soft);
}

.strike-details dd {
  overflow-wrap: anywhere;
  color: var(--text);
  font-weight: 650;
}

.sound-toggle {
  min-height: var(--control-height);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--text-soft);
  font-size: 14px;
  cursor: pointer;
}

.sound-toggle__icon {
  color: var(--text);
  font-size: 25px;
  line-height: 1;
}

.sound-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.switch-track {
  width: 50px;
  height: 28px;
  display: block;
  padding: 3px;
  border-radius: 999px;
  background: #a8b6c4;
  transition: background-color 160ms ease;
}

.switch-track span {
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(17, 40, 67, 0.22);
  transition: transform 160ms ease;
}

.sound-toggle input:checked + .switch-track {
  background: var(--blue);
}

.sound-toggle input:checked + .switch-track span {
  transform: translateX(22px);
}

.sound-profile {
  min-height: 18px;
  margin: 2px 0 0 38px;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.45;
}

.control-actions .button {
  margin-top: 20px;
}

.helper-text {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.45;
}

.test-feedback:empty {
  display: none;
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--panel-gap);
  margin-top: 34px;
}

.project-showcase__heading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr);
  align-items: center;
  gap: 24px;
}

.project-showcase__heading h2 {
  margin: 0;
  color: #252f3a;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.4;
}

.project-showcase__heading span {
  height: 1px;
  background: var(--line-strong);
}

.project-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(210px, 0.85fr);
  gap: 20px;
  padding: 16px;
  overflow: hidden;
}

.project-card__media {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  border-radius: 10px;
  background: #dbe6ed;
}

.project-card__media::after {
  position: absolute;
  inset: 0;
  border: 5px solid #f4ff4d;
  border-radius: inherit;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms;
}

.project-card__media:hover::after,
.project-card__media:focus-visible::after {
  opacity: 1;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-card__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 5px 4px 0;
}

.project-card__title {
  margin: 0;
  color: #303945;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.35;
}

.project-card__title a {
  color: inherit;
  text-decoration: none;
}

.project-card__content p {
  margin: 17px 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.6;
}

.project-card__link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.app-footer {
  margin-top: 28px;
  padding: 25px 12px 0;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  text-align: center;
}

.app-footer p {
  margin: 9px auto 0;
  max-width: 1120px;
  font-size: 12px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 13px;
}

.footer-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.footer-links a:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
}

.footer-data-attribution {
  color: #6c7c8e;
}

.footer-data-attribution__note {
  display: inline;
}

@media (min-width: 820px) {
  .footer-data-attribution__note {
    display: block;
    white-space: nowrap;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (min-width: 921px) {
  .app-header {
    padding-right: 0;
  }

  .mini-cat-status {
    width: 390px;
    margin-left: auto;
  }

  .app-main {
    align-items: stretch;
  }

  .map-column {
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
  }

  .info-grid,
  .about-panel,
  .how-panel {
    height: 100%;
  }
}

@media (min-width: 921px) and (max-width: 1180px) {
  .mini-cat-status {
    width: 350px;
  }
}

@media (max-width: 1180px) {
  .app-main {
    grid-template-columns: minmax(0, 1fr) 350px;
  }

  .map-canvas {
    min-height: 610px;
  }

  .info-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr);
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card__media {
    min-height: 220px;
  }
}

@media (max-width: 920px) {
  .app-header {
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
  }

  .brand-lockup {
    flex: 1 1 auto;
  }

  .mini-cat-status {
    width: clamp(270px, 34vw, 320px);
    flex: 0 0 clamp(270px, 34vw, 320px);
  }

  .app-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .map-column {
    display: contents;
  }

  .map-panel {
    order: 1;
    flex: 0 0 auto;
  }

  .side-rail {
    order: 2;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid {
    order: 3;
    width: 100%;
  }

  .map-canvas {
    min-height: 560px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .app-shell {
    width: min(100% - 20px, 1450px);
    padding-top: 10px;
  }

  .app-header {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 5px 19px;
  }

  .brand-lockup {
    width: 100%;
  }

  .mini-cat-status {
    width: 100%;
    flex: 0 0 auto;
  }

  .map-canvas {
    min-height: 480px;
  }

  .info-grid {
    display: contents;
  }

  .map-panel {
    order: 1;
  }

  .side-rail {
    order: 2;
  }

  .how-panel {
    order: 3;
  }

  .about-panel {
    order: 4;
  }

  .map-legend {
    position: static;
    max-width: none;
    padding: 12px 14px;
    border-width: 1px 0 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--surface);
  }

  .side-rail,
  .info-grid,
  .project-showcase {
    grid-template-columns: 1fr;
  }

  .about-panel {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }

  .section-icon {
    width: 48px;
    height: 48px;
  }

  .project-showcase__heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-card {
    grid-template-columns: minmax(0, 1.25fr) minmax(190px, 0.75fr);
  }
}

@media (max-width: 540px) {
  :root {
    --panel-padding: 20px;
    --panel-gap: 14px;
  }

  .map-canvas {
    min-height: 430px;
  }

  .live-cat-status {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 14px;
  }

  .project-showcase {
    margin-top: 26px;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .project-card__media {
    min-height: 200px;
  }

  .project-card__content {
    min-height: 170px;
    padding: 0 2px 3px;
  }
}

@media (max-width: 390px) {
  .live-cat-status {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .live-cat-status__copy {
    margin-left: 0;
  }

  .about-panel {
    grid-template-columns: 1fr;
  }

  .strike-details div {
    grid-template-columns: 64px minmax(0, 1fr);
  }
}

@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;
  }
}
