@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  --gc-ink: #003f4c;
  --gc-ink-strong: #003f4c;
  --gc-muted: #4e686d;
  --gc-soft: #f7f9f8;
  --gc-soft-2: #e7f0ee;
  --gc-line: rgba(17, 41, 45, 0.14);
  --gc-line-strong: rgba(0, 95, 115, 0.28);
  --gc-accent: #10a38f;
  --gc-accent-dark: #08786b;
  --gc-accent-2: #005f73;
  --gc-warm: #c65f4b;
  --gc-focus: rgba(16, 163, 143, 0.2);
  --gc-shadow: 0 22px 64px rgba(17, 41, 45, 0.1);
  --gc-shadow-sm: 0 8px 24px rgba(17, 41, 45, 0.06);
  --gc-container: 1240px;
  --gc-header-height: 82px;
}

html {
  background: var(--gc-soft);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: #11292d;
  background:
    radial-gradient(circle at 88% 4%, rgba(16, 163, 143, 0.09), transparent 25rem),
    var(--gc-soft);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--gc-ink);
  background: rgba(16, 163, 143, 0.35);
}

button,
select,
input {
  font: inherit;
}

.gc-root {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  border-top: 0;
  background: transparent;
  box-shadow: none;
  color: #11292d;
  font-family: "IBM Plex Sans", Arial, sans-serif;
}

.gc-root::before {
  position: absolute;
  z-index: 0;
  inset: var(--gc-header-height) 0 auto;
  height: 620px;
  background:
    linear-gradient(rgba(0, 95, 115, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 95, 115, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 78% 28%, rgba(16, 163, 143, 0.1), transparent 24rem);
  background-size: 38px 38px, 38px 38px, auto;
  pointer-events: none;
  content: "";
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.72) 66%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.72) 66%, transparent 100%);
}

.gc-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  width: 100%;
  height: var(--gc-header-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 max(24px, calc((100vw - var(--gc-container)) / 2));
  border: 0;
  border-bottom: 1px solid var(--gc-line);
  background: #fff;
  box-shadow: 0 8px 36px rgba(7, 30, 38, 0.04);
  backdrop-filter: none;
}

.gc-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--gc-ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.gc-logo::before {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 0;
  background: url("favicon.svg") center / contain no-repeat;
  box-shadow: none;
  content: "";
}

.gc-logo span {
  padding: 5px 7px 4px;
  border: 1px solid var(--gc-line);
  border-radius: 6px;
  color: var(--gc-accent-dark);
  background: var(--gc-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.gc-nav {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.4vw, 34px);
}

.gc-nav a {
  position: relative;
  padding: 31px 0 27px;
  border: 0;
  color: var(--gc-muted);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.gc-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gc-accent);
  content: "";
  transition: transform 180ms ease;
}

.gc-nav a:hover {
  border: 0;
  color: var(--gc-ink);
}

.gc-nav a:hover::after,
.gc-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.gc-nav a.active {
  border-bottom: 0;
  color: var(--gc-ink);
}

h1,
h2,
h3,
h4,
.gc-kicker,
.gc-primary,
.gc-secondary,
.gc-tab,
.gc-btn,
.gc-day-nav-btn {
  font-family: "DM Sans", Arial, sans-serif;
}

/* Home */
.gc-hero {
  position: relative;
  display: flex;
  width: min(calc(100% - 48px), var(--gc-container));
  min-height: 610px;
  max-width: none;
  align-items: center;
  margin: 0 auto;
  padding: 110px 0 92px;
  overflow: hidden;
}

.gc-hero > div {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.gc-hero::before {
  position: absolute;
  right: 2%;
  width: min(39vw, 500px);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 95, 115, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 163, 143, 0.09) 0 2px, transparent 3px),
    linear-gradient(rgba(0, 95, 115, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 95, 115, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96), rgba(231, 240, 238, 0.44));
  background-size: 42px 42px, 30px 30px, 30px 30px, auto;
  box-shadow: inset 0 0 80px rgba(0, 95, 115, 0.06), 0 30px 90px rgba(17, 41, 45, 0.08);
  content: "";
}

.gc-hero::after {
  position: absolute;
  right: 7%;
  width: min(29vw, 370px);
  aspect-ratio: 1.35;
  transform: rotate(-8deg);
  border-top: 2px solid rgba(16, 163, 143, 0.65);
  border-bottom: 1px solid rgba(0, 95, 115, 0.25);
  border-radius: 50%;
  content: "";
}

.gc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gc-accent-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gc-kicker::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.gc-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--gc-ink);
  font-size: clamp(4rem, 8.5vw, 7.3rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.gc-lead {
  max-width: 650px;
  margin: 0;
  color: var(--gc-muted);
  font-size: clamp(1.03rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.gc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.gc-primary,
.gc-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.gc-primary {
  border: 1px solid var(--gc-ink);
  color: #fff;
  background: var(--gc-ink);
}

.gc-primary:hover {
  border-color: var(--gc-accent-dark);
  color: #fff;
  background: var(--gc-accent-dark);
}

.gc-secondary {
  border: 1px solid var(--gc-line);
  color: #11292d;
  background: transparent;
}

.gc-secondary:hover {
  border-color: var(--gc-accent-dark);
  color: var(--gc-accent-dark);
  background: rgba(255, 255, 255, 0.74);
}

.gc-primary:hover,
.gc-secondary:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.gc-warning {
  width: min(calc(100% - 48px), var(--gc-container));
  margin: 0 auto 92px;
  padding: 22px 24px;
  border: 1px solid rgba(198, 95, 75, 0.28);
  border-left: 4px solid var(--gc-warm);
  border-radius: 12px;
  color: #11292d;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--gc-shadow-sm);
  line-height: 1.6;
}

.gc-warning strong {
  margin-bottom: 6px;
  color: var(--gc-warm);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.gc-warning p {
  margin: 0;
}

/* Shared footer */
.gc-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 36px max(24px, calc((100vw - var(--gc-container)) / 2));
  border: 0;
  color: rgba(255, 255, 255, 0.62);
  background: var(--gc-ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  text-align: left;
}

.gc-footer a {
  color: var(--gc-accent);
  font-weight: 600;
  text-decoration: none;
}

/* About */
main {
  position: relative;
}

body:has(.gc-content-shell) main {
  width: min(calc(100% - 48px), var(--gc-container));
  margin: 0 auto;
  padding: 72px 0 104px;
}

.gc-content-shell {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--gc-line);
  border-top: 1px solid var(--gc-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--gc-shadow-sm);
}

.gc-content-shell h2 {
  max-width: 820px;
  margin: 0 0 28px;
  color: var(--gc-ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.gc-content-shell h3 {
  margin: 42px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--gc-line);
  color: var(--gc-ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.gc-content-shell p {
  color: #294348;
  font-size: 1rem;
  line-height: 1.7;
}

.gc-content-shell a {
  color: var(--gc-accent-dark);
  text-decoration-color: rgba(8, 120, 107, 0.3);
}

.gc-intro {
  max-width: 800px;
  margin-bottom: 34px;
}

.gc-accordion {
  margin: 12px 0;
  overflow: hidden;
  border: 1px solid var(--gc-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.gc-accordion summary {
  position: relative;
  padding: 19px 54px 19px 20px;
  border: 0;
  border-left: 0;
  color: var(--gc-ink);
  background: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.gc-accordion summary::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--gc-accent);
  content: "";
}

.gc-accordion summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  float: none;
  transform: translateY(-50%);
  color: var(--gc-accent-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
}

.gc-accordion[open] summary {
  background: var(--gc-soft);
}

.gc-accordion-body {
  padding: 22px 24px 26px;
  border-top: 1px solid var(--gc-line);
}

.gc-compare {
  gap: 12px;
  margin: 4px 0 8px;
}

.gc-version-card {
  border: 1px solid var(--gc-line);
  border-radius: 12px;
  box-shadow: none;
}

.gc-version-card:hover {
  transform: translateY(-2px);
  border-color: var(--gc-line-strong);
  box-shadow: var(--gc-shadow-sm);
}

.gc-version-card.current {
  border-color: rgba(16, 163, 143, 0.52);
  box-shadow: inset 0 3px 0 var(--gc-accent);
}

.gc-version-head {
  padding: 20px;
  border-top: 0;
  border-bottom: 1px solid var(--gc-line);
  background: var(--gc-soft);
}

.gc-version-head span,
.gc-compare-row span {
  color: var(--gc-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
}

.gc-version-head strong {
  color: var(--gc-ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.15rem;
}

.gc-compare-row {
  padding: 14px 18px;
  border-bottom-color: var(--gc-line);
}

.img_desc {
  width: min(100%, 820px);
  margin: 34px auto 12px;
  border: 1px solid var(--gc-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--gc-shadow-sm);
}

/* Forecast interface */
.gc-mode-tabs {
  position: relative;
  display: flex;
  width: min(calc(100% - 48px), var(--gc-container));
  gap: 6px;
  margin: 34px auto 0;
  padding: 7px;
  border: 1px solid var(--gc-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--gc-shadow-sm);
}

.gc-tab,
.gc-tab:first-child,
.gc-tab:last-child {
  min-height: 46px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  color: var(--gc-muted);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: none;
}

.gc-tab:hover {
  color: var(--gc-ink);
  background: var(--gc-soft);
}

.gc-tab.active {
  z-index: 1;
  border: 0;
  color: var(--gc-ink);
  background: var(--gc-soft-2);
  box-shadow: inset 0 -2px 0 var(--gc-accent);
}

.gc-panel {
  width: min(calc(100% - 48px), var(--gc-container));
  margin: 18px auto 0;
  padding: 30px 32px 34px;
  border: 1px solid var(--gc-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--gc-shadow-sm);
}

.gc-controls-row,
.gc-local-controls {
  gap: 10px;
  margin-bottom: 20px;
}

.gc-control-label {
  flex: 0 0 auto;
  color: #003f4c;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gc-select,
.gc-beach-select,
.gc-speed-select {
  min-height: 44px;
  padding: 0 38px 0 13px;
  border: 1px solid var(--gc-line);
  border-radius: 8px;
  color: #11292d;
  background-color: #fff;
  background-image: none;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
}

.gc-select:hover,
.gc-beach-select:hover,
.gc-speed-select:hover {
  border-color: var(--gc-line-strong);
}

.gc-select:focus,
.gc-beach-select:focus,
.gc-speed-select:focus {
  border-color: var(--gc-accent-dark);
  box-shadow: 0 0 0 3px var(--gc-focus);
}

.gc-btn-group {
  gap: 5px;
}

.gc-btn,
.gc-btn:first-child,
.gc-btn:last-child,
.gc-btn:only-child,
.gc-day-nav-btn {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--gc-line);
  border-radius: 8px;
  color: var(--gc-muted);
  background: #fff;
  font-size: 0.76rem;
  font-weight: 600;
}

.gc-btn:hover,
.gc-day-nav-btn:hover {
  border-color: var(--gc-accent-dark);
  color: var(--gc-accent-dark);
  background: var(--gc-soft);
}

.gc-btn.active {
  border-color: var(--gc-ink);
  color: #fff;
  background: var(--gc-ink);
}

.gc-separator {
  height: 32px;
  background: var(--gc-line);
}

.gc-map-frame,
#panel-maps .gc-map-frame,
.gc-chart-frame,
#panel-local .gc-chart-frame {
  overflow: hidden;
  border: 1px solid var(--gc-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.gc-map-frame {
  height: clamp(360px, 54vw, 620px);
  margin-bottom: 22px;
}

.gc-chart-frame {
  min-height: 300px;
  margin-bottom: 20px;
}

.gc-map-placeholder {
  color: var(--gc-muted);
}

.gc-wave-icon {
  color: var(--gc-accent);
  font-family: "IBM Plex Mono", monospace;
  opacity: 0.72;
}

.gc-time-display,
#panel-maps .gc-time-display {
  padding: 8px 11px;
  border: 1px solid var(--gc-line);
  border-radius: 7px;
  color: var(--gc-accent-dark);
  background: var(--gc-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
}

.gc-frame-count,
.gc-speed-label,
.gc-daily-hint,
.gc-footer-note {
  color: var(--gc-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  font-weight: 500;
}

.gc-slider,
#panel-maps .gc-slider {
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gc-accent-dark), var(--gc-accent) 55%, var(--gc-soft-2));
}

.gc-slider::-webkit-slider-thumb,
#panel-maps .gc-slider::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--gc-accent-dark);
  box-shadow: 0 0 0 1px var(--gc-accent-dark);
}

.gc-player-row {
  gap: 7px;
  margin-bottom: 18px;
}

.gc-step-btn,
#panel-maps .gc-step-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gc-line);
  border-radius: 7px;
  color: var(--gc-muted);
  background: #fff;
}

.gc-play-btn,
#panel-maps .gc-play-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gc-ink);
  border-radius: 50%;
  background: var(--gc-ink);
}

.gc-play-btn::before {
  border-left-color: #fff;
}

.gc-play-btn:hover,
.gc-play-btn.playing {
  border-color: var(--gc-accent-dark);
  background: var(--gc-accent-dark);
}

.gc-speed-select {
  min-height: 36px;
  margin-left: 5px;
  padding: 0 10px;
  font-size: 0.7rem;
}

.gc-days-strip {
  gap: 5px;
}

.gc-day-cell,
#panel-maps .gc-day-cell {
  min-width: 56px;
  padding: 8px 4px;
  border: 1px solid var(--gc-line);
  border-radius: 7px;
  background: #fff;
}

.gc-day-cell:hover {
  border-color: var(--gc-line-strong);
  background: var(--gc-soft);
}

.gc-day-cell.active {
  border-color: var(--gc-ink);
  background: var(--gc-ink);
}

.gc-day-cell.active::before {
  right: 9px;
  left: 9px;
  height: 2px;
  background: var(--gc-accent) !important;
}

.gc-day-name,
.gc-day-num,
.gc-thumb-label {
  font-family: "IBM Plex Mono", monospace;
}

.gc-day-name {
  font-size: 0.54rem;
}

.gc-day-num {
  font-size: 0.78rem;
}

.gc-daily-strip {
  border: 1px solid var(--gc-line);
  border-radius: 10px;
}

.gc-daily-thumb,
#panel-local .gc-daily-thumb {
  border-radius: 0;
}

.gc-daily-thumb.active::after {
  background: rgba(16, 163, 143, 0.2);
  box-shadow: inset 0 -3px 0 var(--gc-accent);
}

.gc-day-nav-btn:disabled {
  border-color: var(--gc-line);
  background: var(--gc-soft);
}

@media (max-width: 900px) {
  :root {
    --gc-header-height: 118px;
  }

  .gc-header {
    position: relative;
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 15px 24px 0;
  }

  .gc-logo {
    font-size: 0.88rem;
  }

  .gc-logo::before {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .gc-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
  }

  .gc-nav a {
    flex: 0 0 auto;
    padding: 16px 0 15px;
    font-size: 0.68rem;
  }

  .gc-nav a::after {
    bottom: 8px;
  }

  .gc-hero {
    width: min(calc(100% - 36px), var(--gc-container));
    min-height: 560px;
    padding: 86px 0 76px;
  }

  .gc-hero::before {
    right: -110px;
    width: 390px;
    opacity: 0.58;
  }

  .gc-hero::after {
    right: -45px;
    width: 280px;
    opacity: 0.55;
  }

  .gc-warning,
  body:has(.gc-content-shell) main,
  .gc-mode-tabs,
  .gc-panel {
    width: min(calc(100% - 32px), var(--gc-container));
  }

  body:has(.gc-content-shell) main {
    padding: 40px 0 72px;
  }

  .gc-content-shell {
    padding: 34px 28px;
  }

  .gc-mode-tabs {
    margin-top: 20px;
    padding: 6px;
  }

  .gc-tab,
  .gc-tab:first-child,
  .gc-tab:last-child {
    min-height: 50px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 0.78rem;
  }

  .gc-panel {
    padding: 24px 20px 28px;
  }

  .gc-select,
  .gc-beach-select {
    min-height: 48px;
    font-size: 1rem;
  }

  .gc-btn,
  .gc-btn:first-child,
  .gc-btn:last-child,
  .gc-btn:only-child {
    min-height: 48px;
    border-radius: 7px;
    font-size: 0.88rem;
  }

  .gc-map-frame {
    height: clamp(300px, 76vw, 500px);
    margin-right: 0;
    margin-left: 0;
  }

  .gc-chart-frame,
  .gc-daily-strip {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .gc-footer {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 600px) {
  :root {
    --gc-header-height: 112px;
  }

  .gc-header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .gc-nav {
    gap: 24px;
  }

  .gc-hero {
    width: calc(100% - 36px);
    min-height: 520px;
    padding: 70px 0 58px;
  }

  .gc-hero h1 {
    font-size: clamp(3.4rem, 20vw, 5.1rem);
  }

  .gc-hero::before,
  .gc-hero::after {
    opacity: 0.28;
  }

  .gc-actions {
    flex-direction: column;
  }

  .gc-primary,
  .gc-secondary {
    width: 100%;
  }

  .gc-warning {
    width: calc(100% - 36px);
    margin-bottom: 64px;
  }

  .gc-content-shell {
    padding: 26px 18px;
    border-radius: 14px;
  }

  .gc-content-shell h2 {
    font-size: 2.35rem;
  }

  .gc-accordion-body {
    padding: 18px;
  }

  .gc-mode-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gc-panel {
    padding: 18px 14px 22px;
    border-radius: 14px;
  }

  .gc-control-label {
    width: 100%;
  }

  .gc-map-frame {
    height: clamp(270px, 92vw, 420px);
  }

  .gc-player-row {
    gap: 6px;
  }

  .gc-play-btn,
  #panel-maps .gc-play-btn {
    width: 48px;
    height: 48px;
  }

  .gc-step-btn,
  #panel-maps .gc-step-btn {
    width: 44px;
    height: 44px;
  }
}

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

/* Carousel controls — shared Ressacast pattern */
#panel-maps,
#panel-spectra {
  --gc-carousel-ink: #003f4c;
  --gc-carousel-blue: #005f73;
  --gc-carousel-aqua: #10a38f;
  --gc-carousel-aqua-deep: #087d70;
  --gc-carousel-paper: #e7f0ee;
  --gc-carousel-paper-soft: #f3f7f6;
  --gc-carousel-muted: #64787c;
  --gc-carousel-line: rgba(0, 63, 76, 0.15);
  --gc-carousel-line-strong: rgba(0, 63, 76, 0.3);
}

#panel-maps .gc-map-frame,
#panel-spectra .gc-map-frame {
  margin-bottom: 0;
}

#panel-maps .gc-timeline,
#panel-spectra .gc-timeline {
  margin: 0;
}

#panel-maps .gc-timeline-header,
#panel-spectra .gc-timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 18px 0 0;
}

#panel-maps .gc-time-display,
#panel-spectra .gc-time-display {
  padding: 7px 11px;
  border: 1px solid var(--gc-carousel-line);
  border-radius: 5px;
  color: var(--gc-carousel-ink);
  background: var(--gc-carousel-paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

#panel-maps .gc-frame-count,
#panel-spectra .gc-frame-count {
  color: var(--gc-carousel-muted);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
}

#panel-maps .gc-slider,
#panel-spectra .gc-slider {
  width: 100%;
  height: 3px;
  margin: 13px 0 3px;
  border-radius: 2px;
  outline: none;
  appearance: none;
  background: linear-gradient(90deg, var(--gc-carousel-blue), var(--gc-carousel-aqua) 55%, var(--gc-carousel-line));
  cursor: pointer;
}

#panel-maps .gc-slider::-webkit-slider-thumb,
#panel-spectra .gc-slider::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  appearance: none;
  background: var(--gc-carousel-ink);
  box-shadow: 0 0 0 1px var(--gc-carousel-ink), 0 2px 9px rgba(0, 63, 76, 0.25);
  cursor: pointer;
}

#panel-maps .gc-player-row,
#panel-spectra .gc-player-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 9px;
  margin: 18px 0 20px;
}

#panel-maps .gc-play-btn,
#panel-maps .gc-step-btn,
#panel-spectra .gc-play-btn,
#panel-spectra .gc-step-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--gc-carousel-line-strong);
  color: var(--gc-carousel-ink);
  background: #fff;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
}

#panel-maps .gc-play-btn,
#panel-spectra .gc-play-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: transparent;
}

#panel-maps .gc-play-btn:hover,
#panel-maps .gc-step-btn:hover,
#panel-spectra .gc-play-btn:hover,
#panel-spectra .gc-step-btn:hover {
  border-color: var(--gc-carousel-aqua-deep);
  background: var(--gc-carousel-paper-soft);
}

#panel-maps .gc-play-btn:focus,
#panel-maps .gc-step-btn:focus,
#panel-spectra .gc-play-btn:focus,
#panel-spectra .gc-step-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 163, 143, 0.18);
}

#panel-maps .gc-play-btn.playing,
#panel-spectra .gc-play-btn.playing {
  border-color: var(--gc-carousel-blue);
  color: #fff;
  background: var(--gc-carousel-blue);
}

#panel-maps .gc-play-btn::before,
#panel-spectra .gc-play-btn::before {
  left: 50%;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--gc-carousel-ink);
  transform: translate(-38%, -50%);
}

#panel-maps .gc-play-btn.playing::before,
#panel-maps .gc-play-btn.playing::after,
#panel-spectra .gc-play-btn.playing::before,
#panel-spectra .gc-play-btn.playing::after {
  width: 4px;
  height: 14px;
  border: 0;
  border-radius: 1px;
  background: #fff;
  opacity: 1;
  transform: translateY(-50%);
}

#panel-maps .gc-step-btn,
#panel-spectra .gc-step-btn {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  font-size: 0.7rem;
}

#panel-maps .gc-speed-select,
#panel-spectra .gc-speed-select {
  width: auto;
  min-height: 34px;
  margin-left: 0;
  padding: 0 30px 0 10px;
  border: 1px solid var(--gc-carousel-line-strong);
  border-radius: 7px;
  color: var(--gc-carousel-ink);
  background: #fff;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  grid-column: auto;
}

#panel-maps .gc-speed-select:focus,
#panel-spectra .gc-speed-select:focus {
  border-color: var(--gc-carousel-line-strong);
  box-shadow: none;
}

#panel-maps .gc-speed-select:focus-visible,
#panel-spectra .gc-speed-select:focus-visible {
  outline: 2px solid var(--gc-carousel-aqua);
  outline-offset: 3px;
}

#panel-maps .gc-days-strip,
#panel-spectra .gc-days-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
}

#panel-maps .gc-day-cell,
#panel-spectra .gc-day-cell {
  display: block;
  flex: 0 0 auto;
  min-width: 58px;
  min-height: 0;
  padding: 7px;
  border: 1px solid var(--gc-carousel-line);
  border-radius: 5px;
  color: var(--gc-carousel-muted);
  background: #fff;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  text-align: center;
  cursor: pointer;
}

#panel-maps .gc-day-cell:hover,
#panel-spectra .gc-day-cell:hover {
  border-color: var(--gc-carousel-line);
  color: var(--gc-carousel-muted);
  background: #fff;
}

#panel-maps .gc-day-cell.active,
#panel-spectra .gc-day-cell.active {
  border-color: var(--gc-carousel-ink);
  color: #fff;
  background: var(--gc-carousel-ink);
}

#panel-maps .gc-day-cell.active::before,
#panel-spectra .gc-day-cell.active::before,
#panel-maps .gc-hour-tick,
#panel-spectra .gc-hour-tick {
  display: none;
}

#panel-maps .gc-day-name,
#panel-spectra .gc-day-name {
  color: inherit;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: normal;
  line-height: normal;
  text-transform: none;
}

#panel-maps .gc-day-num,
#panel-spectra .gc-day-num {
  display: block;
  color: inherit;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  font-weight: 700;
}

/* Native-resolution forecast figures: fixed panel width, fluid height */
#panel-maps .gc-map-frame,
#panel-spectra .gc-map-frame {
  height: auto;
  min-height: 0;
}

#panel-maps .gc-map-frame img,
#panel-spectra .gc-map-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

#panel-local .gc-chart-frame {
  height: auto;
  min-height: 0;
}

#panel-local .gc-chart-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}
