:root {
  --plum-950: #1a0b20;
  --plum-900: #25102c;
  --plum-800: #34163d;
  --plum-700: #54205f;
  --berry-600: #9a315d;
  --berry-500: #bd4771;
  --gold-500: #efbd62;
  --gold-300: #f7daa0;
  --forest-700: #1c5c4b;
  --forest-500: #2d8069;
  --sky-500: #67a8ce;
  --sky-200: #cfe8f5;
  --cream-50: #fffdf7;
  --cream-100: #fbf6ea;
  --cream-200: #f2ead8;
  --ink-900: #231d24;
  --ink-700: #4d4550;
  --ink-500: #746c76;
  --white: #ffffff;
  --danger: #b63747;
  --success: #23745d;
  --shadow-sm: 0 8px 24px rgba(36, 16, 44, 0.08);
  --shadow-md: 0 18px 55px rgba(30, 11, 37, 0.14);
  --shadow-lg: 0 28px 80px rgba(20, 7, 25, 0.26);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --page-pad: clamp(18px, 4vw, 64px);
  --content-max: 1220px;
  --header-height: 76px;
  --bottom-nav-height: 74px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  background: var(--cream-100);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 8% 20%, rgba(239, 189, 98, 0.08), transparent 26rem),
    radial-gradient(circle at 94% 48%, rgba(103, 168, 206, 0.08), transparent 28rem),
    var(--cream-100);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
}

::selection {
  color: var(--plum-950);
  background: var(--gold-300);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--plum-900);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.app-header {
  position: fixed;
  z-index: 900;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: calc(var(--header-height) + env(safe-area-inset-top));
  padding: calc(10px + env(safe-area-inset-top)) var(--page-pad) 10px;
  color: var(--white);
  background: rgba(27, 10, 33, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark,
.footer-brand > span,
.install-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  color: var(--gold-300);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16);
  font-weight: 900;
  font-size: 1.2rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.05;
  font-size: 1.03rem;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms ease;
}

.icon-button svg,
.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: end;
  gap: clamp(32px, 6vw, 92px);
  min-height: min(920px, 100svh);
  padding: calc(var(--header-height) + env(safe-area-inset-top) + 68px) var(--page-pad) 82px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(21, 7, 27, 0.98), rgba(43, 17, 51, 0.96) 50%, rgba(67, 25, 67, 0.94)),
    var(--plum-950);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.62;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12vw;
  bottom: -35%;
  width: min(76vw, 920px);
  aspect-ratio: 1;
  border: 1px solid rgba(247, 218, 160, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(247, 218, 160, 0.02),
    0 0 0 180px rgba(247, 218, 160, 0.018);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb-one {
  top: 12%;
  right: 10%;
  width: 310px;
  height: 310px;
  background: radial-gradient(circle at 35% 30%, rgba(239, 189, 98, 0.38), rgba(189, 71, 113, 0.12) 45%, transparent 70%);
  animation: slowFloat 12s ease-in-out infinite alternate;
}

.hero-orb-two {
  bottom: -60px;
  left: -90px;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(45, 128, 105, 0.25), transparent 68%);
}

.hero-pattern {
  position: absolute;
  z-index: -1;
  top: 20%;
  right: 4%;
  width: min(34vw, 440px);
  height: min(34vw, 440px);
  opacity: 0.13;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 20deg, transparent 0 9deg, var(--gold-300) 10deg 11deg, transparent 12deg 22deg),
    radial-gradient(circle, transparent 0 35%, var(--gold-300) 36% 37%, transparent 38% 56%, var(--gold-300) 57% 58%, transparent 59%);
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--berry-600);
}

.hero h1 {
  margin: 0 0 25px;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: -0.075em;
}

.hero h1 em {
  display: inline-block;
  margin-left: clamp(14px, 7vw, 100px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(247, 218, 160, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.location-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--plum-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 10px 26px rgba(239, 189, 98, 0.22);
}

.button-primary:hover {
  box-shadow: 0 15px 36px rgba(239, 189, 98, 0.32);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.button-outline {
  color: var(--plum-800);
  border-color: rgba(52, 22, 61, 0.18);
  background: rgba(255, 255, 255, 0.55);
}

.button-light {
  color: var(--plum-900);
  background: var(--cream-50);
}

.button-small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

.button.full {
  width: 100%;
}

.button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.button.is-loading svg {
  animation: spin 900ms linear infinite;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  margin-top: 22px;
}

.hero-links a {
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.9rem;
  text-underline-offset: 4px;
}

.glass {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  box-shadow: var(--shadow-sm);
}

.glass-dark {
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-card {
  align-self: end;
  padding: clamp(24px, 4vw, 40px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow-lg);
}

.mini-label {
  margin-bottom: 8px;
  color: var(--ink-500);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card .mini-label,
.radar-info .mini-label,
.contact-card .mini-label {
  color: rgba(255, 255, 255, 0.56);
}

.countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 8px;
  margin: 14px 0 17px;
}

.countdown div {
  text-align: center;
}

.countdown strong {
  display: block;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown span {
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.countdown i {
  margin-top: 2px;
  color: var(--gold-300);
  font-size: 1.8rem;
  font-style: normal;
}

.hero-card > p:not(.mini-label) {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.92rem;
}

.hero-place {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-place > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--plum-900);
  background: var(--gold-300);
  font-size: 1.3rem;
}

.hero-place strong,
.hero-place small {
  display: block;
}

.hero-place small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.56);
}

.quick-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--content-max);
  margin: -30px auto 0;
  padding: 0 var(--page-pad);
}

.quick-strip article {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 96px;
  padding: 19px clamp(14px, 2.2vw, 25px);
  background: var(--cream-50);
  border-top: 1px solid var(--cream-200);
  border-bottom: 1px solid var(--cream-200);
  border-left: 1px solid var(--cream-200);
  box-shadow: var(--shadow-sm);
}

.quick-strip article:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.quick-strip article:last-child {
  border-right: 1px solid var(--cream-200);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.quick-strip article > span {
  font-size: 1.55rem;
}

.quick-strip strong,
.quick-strip small {
  display: block;
}

.quick-strip strong {
  font-size: 0.95rem;
}

.quick-strip small {
  margin-top: 3px;
  color: var(--ink-500);
  font-size: 0.76rem;
  line-height: 1.35;
}

.section {
  padding: clamp(78px, 10vw, 140px) var(--page-pad);
}

.section > * {
  max-width: var(--content-max);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.section-heading > div:first-child {
  max-width: 760px;
}

.section-heading h2 {
  margin-bottom: 14px;
  color: var(--plum-900);
}

.section-heading p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--ink-500);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.section-heading.light h2,
.section-heading.light p:not(.eyebrow) {
  color: var(--white);
}

.section-heading.light p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.66);
}

.weather-section {
  padding-top: clamp(84px, 10vw, 132px);
}

.weather-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  margin-bottom: 17px;
  padding: 10px 14px;
  border: 1px solid rgba(52, 22, 61, 0.09);
  border-radius: 13px;
  color: var(--ink-500);
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
}

.weather-status.is-ok {
  color: var(--success);
  background: rgba(35, 116, 93, 0.07);
  border-color: rgba(35, 116, 93, 0.13);
}

.weather-status.is-error {
  color: var(--danger);
  background: rgba(182, 55, 71, 0.07);
  border-color: rgba(182, 55, 71, 0.13);
}

.status-spinner {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.weather-status.is-ok .status-spinner,
.weather-status.is-error .status-spinner {
  border: 0;
  animation: none;
}

.weather-status.is-ok .status-spinner::after {
  content: "✓";
  font-weight: 900;
}

.weather-status.is-error .status-spinner::after {
  content: "!";
  font-weight: 900;
}

.official-alert {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  margin-bottom: 17px;
  padding: 17px 19px;
  color: #6c1e2b;
  border: 1px solid rgba(182, 55, 71, 0.24);
  border-radius: var(--radius-sm);
  background: #fff1f2;
}

.official-alert[hidden] {
  display: none;
}

.official-alert-icon {
  font-size: 1.7rem;
}

.official-alert strong,
.official-alert p {
  display: block;
  margin: 0;
}

.official-alert p {
  color: #8a3d47;
  font-size: 0.88rem;
}

.official-alert a {
  font-weight: 800;
  white-space: nowrap;
}

.current-weather {
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.current-weather-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  padding: clamp(19px, 3vw, 31px);
  background:
    radial-gradient(circle at 8% 30%, rgba(239, 189, 98, 0.18), transparent 20rem),
    linear-gradient(110deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.5));
}

.current-icon {
  display: grid;
  place-items: center;
  width: clamp(62px, 10vw, 90px);
  height: clamp(62px, 10vw, 90px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(52, 22, 61, 0.06), 0 10px 30px rgba(52, 22, 61, 0.08);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
}

.current-main small,
.current-main strong,
.current-main span {
  display: block;
}

.current-main small {
  color: var(--ink-500);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.current-main strong {
  margin: 2px 0;
  color: var(--plum-900);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.07em;
}

.current-main span {
  color: var(--ink-700);
  font-size: 0.95rem;
}

.current-side {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(13px, 3vw, 35px);
}

.current-side div {
  min-width: 80px;
}

.current-side small,
.current-side strong {
  display: block;
}

.current-side small {
  color: var(--ink-500);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.current-side strong {
  margin-top: 3px;
  color: var(--plum-800);
  font-size: 1rem;
}

.weather-day-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 17px;
}

.day-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  padding: 15px 18px;
  color: var(--ink-700);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}

.day-tab:hover {
  transform: translateY(-2px);
}

.day-tab span,
.day-tab b,
.day-tab small {
  display: block;
}

.day-tab span {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.day-tab b {
  margin-top: 2px;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.day-tab small {
  max-width: 150px;
  color: var(--ink-500);
  text-align: right;
}

.day-tab.is-active {
  color: var(--white);
  border-color: var(--plum-800);
  background: var(--plum-800);
  box-shadow: 0 10px 25px rgba(52, 22, 61, 0.18);
}

.day-tab.is-active small {
  color: rgba(255, 255, 255, 0.7);
}

.forecast-card {
  margin-bottom: 17px;
  border-radius: var(--radius-lg);
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(239, 189, 98, 0.24), transparent 25rem),
    linear-gradient(130deg, var(--plum-900), #48204f 60%, #5c274f);
  box-shadow: var(--shadow-md);
}

.forecast-main {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(28px, 5vw, 55px);
}

.forecast-visual {
  display: flex;
  align-items: center;
  gap: clamp(17px, 3vw, 30px);
}

.forecast-visual > span {
  font-size: clamp(4rem, 10vw, 7.5rem);
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.18));
}

.forecast-visual small,
.forecast-visual strong,
.forecast-visual p {
  display: block;
  margin: 0;
}

.forecast-visual small {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.forecast-visual strong {
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.forecast-visual p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.56);
}

.forecast-copy {
  padding-left: clamp(0px, 4vw, 50px);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.forecast-copy h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
}

.forecast-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.02rem;
}

.weather-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(0, 0, 0, 0.12);
}

.weather-metrics > div {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  padding: clamp(17px, 3vw, 25px);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.weather-metrics > div:last-child {
  border-right: 0;
}

.weather-metrics span {
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 1.45rem;
}

.weather-metrics strong {
  font-size: 1.2rem;
}

.weather-metrics small {
  color: rgba(255, 255, 255, 0.5);
}

.chart-card,
.official-forecast-card {
  margin-bottom: 17px;
  padding: clamp(22px, 4vw, 35px);
  border-radius: var(--radius-md);
}

.card-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.card-heading-row h3 {
  margin-bottom: 5px;
  color: var(--plum-900);
}

.card-heading-row p {
  margin-bottom: 0;
  color: var(--ink-500);
  font-size: 0.86rem;
}

.legend-dot {
  display: block;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 7px rgba(239, 189, 98, 0.17);
}

.weather-chart {
  min-height: 245px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.weather-chart svg {
  width: 100%;
  min-width: 690px;
}

.chart-grid-line {
  stroke: rgba(52, 22, 61, 0.09);
  stroke-width: 1;
}

.chart-axis-label,
.chart-time-label,
.chart-temp-label,
.chart-prob-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  fill: var(--ink-500);
}

.chart-temp-label {
  fill: var(--plum-700);
  font-weight: 800;
}

.chart-prob-label {
  fill: #438eb7;
  font-weight: 800;
}

.chart-temp-area {
  fill: url(#tempGradient);
}

.chart-temp-line {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.chart-prob-line {
  fill: none;
  stroke: var(--sky-500);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
}

.chart-rain-bar {
  fill: rgba(103, 168, 206, 0.44);
}

.empty-schedule {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 30px;
  color: var(--ink-500);
  border: 1px dashed rgba(52, 22, 61, 0.18);
  border-radius: var(--radius-sm);
  text-align: center;
}

.source-section,
.model-section {
  margin-top: clamp(44px, 7vw, 82px);
}

.source-count {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--forest-700);
  background: rgba(45, 128, 105, 0.09);
  font-size: 0.78rem;
  font-weight: 800;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.source-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-sm);
}

.source-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.source-logo.official { background: var(--forest-700); }
.source-logo.open { background: var(--berry-600); }
.source-logo.met { background: #225c84; }
.source-logo.radar { background: #7250a4; }

.source-card strong,
.source-card small,
.source-card p {
  display: block;
}

.source-card strong {
  font-size: 0.92rem;
}

.source-card small {
  margin: 2px 0 9px;
  color: var(--ink-500);
  font-size: 0.72rem;
}

.source-card p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.78rem;
  line-height: 1.35;
}

.source-card.is-ok {
  border-color: rgba(35, 116, 93, 0.22);
}

.source-card.is-stale {
  border-color: rgba(197, 129, 31, 0.24);
}

.source-card.is-error {
  opacity: 0.72;
}

.official-forecast-card {
  position: relative;
  margin-top: 17px;
  overflow: hidden;
}

.official-forecast-card[hidden] {
  display: none;
}

.official-forecast-card::after {
  content: "KA";
  position: absolute;
  right: -20px;
  bottom: -48px;
  color: rgba(28, 92, 75, 0.06);
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
}

.official-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--forest-700);
  background: rgba(45, 128, 105, 0.09);
  font-size: 0.75rem;
  font-weight: 800;
}

.official-badge span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest-700);
  font-size: 0.65rem;
}

.official-forecast-card h3,
.official-forecast-card p,
.official-forecast-card a,
.official-observation {
  position: relative;
  z-index: 1;
}

.official-forecast-card p {
  max-width: 900px;
  color: var(--ink-700);
}

.official-forecast-card a {
  font-weight: 800;
  text-underline-offset: 4px;
}

.official-observation {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 2px 0 18px;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--forest-700);
  background: rgba(45, 128, 105, 0.08);
  font-size: 0.82rem;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.model-card {
  padding: 20px;
  border-radius: var(--radius-sm);
}

.model-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.model-card h4 {
  margin: 0 0 5px;
  color: var(--plum-900);
  font-size: 1rem;
}

.model-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.75rem;
}

.model-state {
  display: block;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(35, 116, 93, 0.11);
}

.model-state.unavailable {
  background: var(--ink-500);
  box-shadow: 0 0 0 5px rgba(116, 108, 118, 0.1);
}

.model-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.model-values > div {
  min-width: 0;
}

.model-values strong,
.model-values small {
  display: block;
}

.model-values strong {
  color: var(--plum-800);
  font-size: 1.15rem;
  white-space: nowrap;
}

.model-values small {
  margin-top: 3px;
  color: var(--ink-500);
  font-size: 0.64rem;
  line-height: 1.25;
}

.model-summary,
.model-unavailable {
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(52, 22, 61, 0.08);
}

.consensus-badge {
  flex: 0 0 auto;
  max-width: 230px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #7b5521;
  background: rgba(239, 189, 98, 0.16);
  font-size: 0.77rem;
  font-weight: 800;
  text-align: center;
}

.consensus-badge.good {
  color: var(--success);
  background: rgba(35, 116, 93, 0.1);
}

.consensus-badge.mixed {
  color: var(--danger);
  background: rgba(182, 55, 71, 0.09);
}

.model-note {
  margin: 16px 0 0;
  color: var(--ink-500);
  font-size: 0.81rem;
}

.advice-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(30px, 6vw, 82px);
  margin-top: clamp(44px, 7vw, 82px);
  padding: clamp(27px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e8efe7, #f8f1de 60%, #f4e4d5);
  box-shadow: var(--shadow-sm);
}

.advice-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.advice-heading > span {
  font-size: 2.5rem;
}

.advice-heading small {
  color: var(--forest-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.advice-heading h3 {
  margin-top: 5px;
  color: var(--plum-900);
}

.advice-list {
  display: grid;
  gap: 10px;
}

.advice-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 13px;
  border: 1px solid rgba(52, 22, 61, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.52);
}

.advice-item span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
}

.advice-item p {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.85rem;
}

.radar-section {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 20%, rgba(103, 168, 206, 0.18), transparent 34rem),
    radial-gradient(circle at 5% 90%, rgba(189, 71, 113, 0.17), transparent 30rem),
    var(--plum-950);
  overflow: hidden;
}

.radar-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 28px 28px;
}

.radar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.7fr);
  gap: 17px;
}

.radar-map-card {
  position: relative;
  min-height: 610px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #17212b;
  box-shadow: var(--shadow-lg);
}

.radar-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #24323c;
}

.radar-map .leaflet-container {
  font-family: inherit;
}

.radar-map .leaflet-control-attribution {
  max-width: calc(100% - 20px);
  color: rgba(35, 29, 36, 0.72);
  font-size: 9px;
  white-space: normal;
}

.radar-map .leaflet-control-zoom {
  margin-top: 68px;
  border: 0;
  box-shadow: var(--shadow-sm);
}

.radar-map .leaflet-control-zoom a {
  color: var(--plum-900);
  border: 0;
}

.festival-marker {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: var(--white);
  background: var(--berry-600);
  box-shadow: 0 7px 24px rgba(37, 16, 44, 0.34);
  font-size: 13px;
  font-weight: 900;
}

.festival-marker::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(189, 71, 113, 0.45);
  border-radius: 50%;
  animation: pulseMarker 2s ease-out infinite;
}

.radar-overlay-top {
  position: absolute;
  z-index: 500;
  top: 16px;
  right: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.radar-overlay-top > * {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--white);
  background: rgba(24, 12, 30, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.2);
  font-size: 0.78rem;
}

.radar-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
}

.radar-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #54d79f;
  box-shadow: 0 0 0 5px rgba(84, 215, 159, 0.15);
}

.radar-controls {
  position: absolute;
  z-index: 500;
  right: 17px;
  bottom: 47px;
  left: 17px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(25, 11, 31, 0.78);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.radar-play {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 0 2px;
  color: var(--plum-950);
  border: 0;
  border-radius: 50%;
  background: var(--gold-300);
  cursor: pointer;
}

.radar-controls input[type="range"] {
  width: 100%;
  accent-color: var(--gold-300);
  cursor: pointer;
}

.radar-status {
  position: absolute;
  z-index: 500;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  text-align: center;
  pointer-events: none;
}

.radar-info {
  position: relative;
  padding: clamp(27px, 4vw, 42px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.radar-number {
  position: absolute;
  top: -35px;
  right: -14px;
  color: rgba(255, 255, 255, 0.045);
  font-size: 10rem;
  font-weight: 900;
  line-height: 1;
}

.radar-info h3 {
  position: relative;
  margin-bottom: 17px;
  color: var(--gold-300);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.radar-info > p:not(.mini-label):not(.radar-footnote) {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
}

.radar-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 27px 0;
}

.radar-facts > div {
  padding: 13px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  text-align: center;
}

.radar-facts strong,
.radar-facts small {
  display: block;
}

.radar-facts strong {
  color: var(--gold-300);
  font-size: 1.15rem;
}

.radar-facts small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.65rem;
  line-height: 1.25;
}

.radar-footnote {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.72rem;
}

.schedule-section {
  background:
    radial-gradient(circle at 85% 10%, rgba(239, 189, 98, 0.13), transparent 22rem),
    var(--cream-100);
}

.favorite-counter {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--berry-600);
  background: rgba(189, 71, 113, 0.09);
  font-size: 0.82rem;
  font-weight: 900;
}

.now-playing {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 17px;
  border-radius: var(--radius-sm);
  color: var(--white);
  background: linear-gradient(115deg, var(--berry-600), var(--plum-700));
  box-shadow: var(--shadow-sm);
}

.now-playing[hidden] {
  display: none;
}

.now-playing span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.now-playing i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.17);
  animation: blink 1.4s ease-in-out infinite;
}

.schedule-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: min(100%, 420px);
  padding: 5px;
  border: 1px solid var(--cream-200);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.67);
  box-shadow: var(--shadow-sm);
}

.segment {
  padding: 10px 19px;
  border: 0;
  border-radius: 13px;
  color: var(--ink-500);
  background: transparent;
  cursor: pointer;
}

.segment span,
.segment small {
  display: block;
}

.segment span {
  font-weight: 900;
}

.segment small {
  font-size: 0.7rem;
}

.segment.is-active {
  color: var(--white);
  background: var(--plum-800);
  box-shadow: 0 7px 20px rgba(52, 22, 61, 0.2);
}

.segment.is-active small {
  color: rgba(255, 255, 255, 0.63);
}

.favorite-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-700);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.favorite-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.favorite-toggle > span {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d8d2d7;
  transition: background 180ms ease;
}

.favorite-toggle > span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 180ms var(--ease);
}

.favorite-toggle input:checked + span {
  background: var(--berry-600);
}

.favorite-toggle input:checked + span::after {
  transform: translateX(18px);
}

.schedule-list {
  position: relative;
  display: grid;
  gap: 10px;
}

.schedule-list::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 78px;
  width: 1px;
  background: rgba(52, 22, 61, 0.11);
}

.schedule-item {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 84px;
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 7px 25px rgba(52, 22, 61, 0.045);
  transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease;
}

.schedule-item:hover {
  transform: translateX(3px);
  border-color: rgba(84, 32, 95, 0.18);
}

.schedule-item.is-favorite {
  border-color: rgba(189, 71, 113, 0.26);
  background: linear-gradient(90deg, rgba(189, 71, 113, 0.055), rgba(255, 255, 255, 0.78));
}

.schedule-item.is-now {
  color: var(--white);
  border-color: var(--berry-600);
  background: linear-gradient(110deg, var(--berry-600), var(--plum-700));
}

.schedule-time {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: stretch;
  padding: 12px 8px;
  color: var(--berry-600);
  border-right: 1px solid rgba(52, 22, 61, 0.08);
  font-size: 0.92rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.schedule-item.is-now .schedule-time {
  color: var(--gold-300);
  border-right-color: rgba(255, 255, 255, 0.12);
}

.schedule-content {
  min-width: 0;
  padding: 15px 17px;
}

.schedule-content h3 {
  margin: 0 0 5px;
  color: var(--plum-900);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.schedule-content p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.77rem;
}

.schedule-item.is-now .schedule-content h3,
.schedule-item.is-now .schedule-content p {
  color: var(--white);
}

.schedule-item.is-now .schedule-content p {
  color: rgba(255, 255, 255, 0.62);
}

.artist-intro {
  margin-top: 10px;
  font-size: 0.78rem;
}

.artist-intro summary {
  width: max-content;
  color: var(--berry-600);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.artist-intro summary::-webkit-details-marker { display: none; }
.artist-intro summary::after { content: " +"; }
.artist-intro[open] summary::after { content: " –"; }

.artist-intro p {
  max-width: 68ch;
  margin-top: 8px;
  line-height: 1.55;
}

.artist-intro a {
  display: inline-block;
  margin-top: 6px;
  color: var(--berry-600);
  font-weight: 800;
}

.schedule-item.is-now .artist-intro summary,
.schedule-item.is-now .artist-intro a { color: var(--gold-300); }

.schedule-buttons {
  display: flex;
  gap: 7px;
  padding: 0 14px;
}

.schedule-icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(52, 22, 61, 0.12);
  border-radius: 50%;
  color: var(--ink-500);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition: transform 160ms var(--ease), color 160ms ease, background 160ms ease;
}

.schedule-icon-button:hover {
  transform: scale(1.07);
}

.favorite-button.is-active {
  color: var(--gold-500);
  background: var(--plum-900);
}

.schedule-item.is-now .schedule-icon-button {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.09);
}

.schedule-icon-button:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.source-line {
  margin: 17px 0 0;
  color: var(--ink-500);
  font-size: 0.77rem;
}

.source-line a {
  font-weight: 800;
  text-underline-offset: 3px;
}

.camper-section {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(239, 189, 98, 0.17), transparent 28rem),
    radial-gradient(circle at 90% 90%, rgba(45, 128, 105, 0.22), transparent 32rem),
    linear-gradient(135deg, #2f1735, #1e2f32);
}

.camper-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(35px, 7vw, 90px);
  align-items: start;
}

.camper-intro h2 {
  color: var(--white);
}

.camper-intro > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.03rem;
}

.camper-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  margin: 27px 0;
  padding: 15px;
  border: 1px solid rgba(239, 189, 98, 0.24);
  border-radius: var(--radius-sm);
  background: rgba(239, 189, 98, 0.08);
}

.camper-warning > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--plum-950);
  background: var(--gold-300);
  font-weight: 900;
}

.camper-warning p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.camper-warning strong {
  color: var(--gold-300);
}

.camper-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.camper-facts article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
}

.camper-facts article > span {
  font-size: 1.45rem;
}

.camper-facts strong,
.camper-facts small {
  display: block;
}

.camper-facts strong {
  font-size: 0.9rem;
}

.camper-facts small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  line-height: 1.35;
}

.checklist-card {
  padding: clamp(24px, 4vw, 36px);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  background: var(--cream-50);
  box-shadow: var(--shadow-lg);
}

.checklist-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.checklist-heading h3 {
  margin: 0;
  color: var(--plum-900);
}

.checklist-heading strong {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border: 7px solid rgba(45, 128, 105, 0.13);
  border-radius: 50%;
  color: var(--forest-700);
  font-size: 0.9rem;
}

.checklist {
  display: grid;
  gap: 7px;
  max-height: 570px;
  padding-right: 4px;
  overflow-y: auto;
}

.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 11px;
  min-height: 47px;
  padding: 8px 10px;
  border-radius: 11px;
  cursor: pointer;
  transition: background 150ms ease;
}

.check-item:hover {
  background: var(--cream-100);
}

.check-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fake-checkbox {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: transparent;
  border: 2px solid #cbc4c8;
  border-radius: 8px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  transition: all 150ms ease;
}

.check-item input:checked + .fake-checkbox {
  color: var(--white);
  border-color: var(--forest-500);
  background: var(--forest-500);
}

.check-item input:checked ~ .check-label {
  color: var(--ink-500);
  text-decoration: line-through;
}

.check-label {
  font-size: 0.84rem;
}

.text-button {
  margin-top: 16px;
  padding: 5px 0;
  color: var(--ink-500);
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 0.78rem;
  cursor: pointer;
}

.info-section {
  background: var(--cream-100);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.info-card {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-sm);
}

.info-card.featured {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(145deg, var(--plum-800), var(--plum-700));
}

.info-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: var(--cream-100);
  box-shadow: inset 0 0 0 1px rgba(52, 22, 61, 0.06);
  font-size: 1.6rem;
}

.info-card.featured .info-icon {
  background: rgba(255, 255, 255, 0.1);
}

.info-card h3 {
  color: var(--plum-900);
  font-size: 1.3rem;
}

.info-card.featured h3 {
  color: var(--gold-300);
}

.info-card p,
.info-card li {
  color: var(--ink-500);
  font-size: 0.82rem;
}

.info-card.featured p,
.info-card.featured li {
  color: rgba(255, 255, 255, 0.67);
}

.info-card ul {
  margin: 20px 0 0;
  padding: 16px 0 0 17px;
  border-top: 1px solid rgba(52, 22, 61, 0.08);
}

.info-card.featured ul {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.info-card li + li {
  margin-top: 6px;
}

.location-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 18px;
  margin-top: clamp(45px, 7vw, 85px);
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 7% 20%, rgba(239, 189, 98, 0.2), transparent 25rem),
    linear-gradient(125deg, var(--forest-700), #19493f 55%, var(--plum-800));
  box-shadow: var(--shadow-md);
}

.location-copy h3 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.location-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.67);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: clamp(23px, 4vw, 36px);
  border-radius: var(--radius-md);
}

.contact-card > a {
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  text-decoration: none;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 17px;
  margin-top: 13px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-links a {
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.78rem;
}

.install-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--content-max);
  margin: 0 auto clamp(55px, 8vw, 100px);
  padding: clamp(24px, 4vw, 42px) var(--page-pad);
  border-top: 1px solid var(--cream-200);
  border-bottom: 1px solid var(--cream-200);
  background: rgba(255, 255, 255, 0.48);
}

.install-band > div {
  display: flex;
  align-items: center;
  gap: 17px;
}

.install-band > div > span {
  font-size: 2.6rem;
}

.install-band h2 {
  margin: 0 0 5px;
  color: var(--plum-900);
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
}

.install-band p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-500);
  font-size: 0.85rem;
}

.footer {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 5vw, 60px);
  padding: clamp(40px, 6vw, 68px) var(--page-pad) calc(40px + env(safe-area-inset-bottom));
  color: var(--white);
  background: var(--plum-950);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.78rem;
}

.light-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.credits {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.66rem;
}

.bottom-nav {
  position: fixed;
  z-index: 1000;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  min-height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  padding: 6px 8px env(safe-area-inset-bottom);
  border-top: 1px solid rgba(52, 22, 61, 0.11);
  background: rgba(255, 253, 247, 0.88);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  box-shadow: 0 -12px 35px rgba(35, 16, 44, 0.09);
}

.bottom-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--ink-500);
  text-decoration: none;
}

.bottom-nav a::before {
  content: "";
  position: absolute;
  top: -6px;
  width: 38px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: transparent;
}

.bottom-nav a > span {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}

.bottom-nav small {
  font-size: 0.62rem;
  font-weight: 800;
}

.bottom-nav a.is-active {
  color: var(--berry-600);
}

.bottom-nav a.is-active::before {
  background: var(--berry-600);
}

.install-dialog {
  width: min(92vw, 480px);
  padding: clamp(27px, 5vw, 42px);
  border: 0;
  border-radius: var(--radius-lg);
  color: var(--ink-900);
  background: var(--cream-50);
  box-shadow: var(--shadow-lg);
}

.install-dialog::backdrop {
  background: rgba(26, 11, 32, 0.67);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dialog-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--ink-500);
  background: var(--cream-100);
  cursor: pointer;
  font-size: 1.3rem;
}

.install-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 24px;
  color: var(--gold-300);
  border-color: rgba(52, 22, 61, 0.15);
  background: var(--plum-900);
  font-size: 2rem;
  box-shadow: var(--shadow-sm);
}

.install-dialog h2 {
  color: var(--plum-900);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

.install-dialog ol {
  padding-left: 23px;
  color: var(--ink-700);
}

.install-dialog li + li {
  margin-top: 12px;
}

.install-dialog > p:last-child {
  margin-bottom: 0;
  color: var(--ink-500);
  font-size: 0.82rem;
}

.toast {
  position: fixed;
  z-index: 2000;
  right: 18px;
  bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 18px);
  max-width: min(420px, calc(100vw - 36px));
  padding: 13px 16px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(37, 16, 44, 0.94);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms var(--ease);
  font-size: 0.84rem;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes slowFloat {
  to { transform: translate3d(-30px, 24px, 0) scale(1.08); }
}

@keyframes pulseMarker {
  0% { opacity: 0.7; transform: scale(0.72); }
  80%, 100% { opacity: 0; transform: scale(1.35); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
  }

  .hero-card {
    width: min(100%, 560px);
  }

  .quick-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }

  .quick-strip article,
  .quick-strip article:first-child,
  .quick-strip article:last-child {
    border: 1px solid var(--cream-200);
    border-radius: 0;
  }

  .quick-strip article:first-child { border-radius: var(--radius-md) 0 0 0; }
  .quick-strip article:nth-child(2) { border-radius: 0 var(--radius-md) 0 0; }
  .quick-strip article:nth-child(3) { border-radius: 0 0 0 var(--radius-md); }
  .quick-strip article:last-child { border-radius: 0 0 var(--radius-md) 0; }

  .source-grid,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .model-grid {
    grid-template-columns: 1fr;
  }

  .radar-layout,
  .camper-grid {
    grid-template-columns: 1fr;
  }

  .radar-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 30px;
    align-items: start;
  }

  .radar-info .mini-label,
  .radar-info h3,
  .radar-info > p,
  .radar-facts {
    grid-column: 1;
  }

  .radar-info .button,
  .radar-info .radar-footnote {
    grid-column: 2;
  }

  .radar-info .button {
    grid-row: 2 / span 2;
    align-self: center;
  }

  .radar-footnote {
    max-width: 260px;
  }

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

  .footer {
    grid-template-columns: auto 1fr;
  }

  .footer > .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
    --page-pad: 18px;
  }

  body {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  }

  .app-header {
    min-height: calc(var(--header-height) + env(safe-area-inset-top));
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 46px);
    padding-bottom: 66px;
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 6.6rem);
  }

  .hero h1 em {
    margin-left: 8vw;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions .button {
    flex: 1 1 170px;
  }

  .hero-card {
    padding: 23px;
    border-radius: var(--radius-md);
  }

  .countdown strong {
    font-size: 2.45rem;
  }

  .quick-strip {
    margin-top: -22px;
    padding: 0 13px;
  }

  .quick-strip article {
    min-height: 88px;
    padding: 14px 12px;
  }

  .quick-strip article > span {
    display: none;
  }

  .quick-strip strong {
    font-size: 0.82rem;
  }

  .quick-strip small {
    font-size: 0.68rem;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading {
    display: block;
    margin-bottom: 31px;
  }

  .section-heading > .button,
  .section-heading > .favorite-counter {
    margin-top: 18px;
  }

  .official-alert {
    grid-template-columns: auto 1fr;
  }

  .official-alert a {
    grid-column: 1 / -1;
    padding-left: 47px;
  }

  .current-weather-inner {
    grid-template-columns: auto 1fr;
  }

  .current-side {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 15px;
    border-top: 1px solid rgba(52, 22, 61, 0.08);
  }

  .current-side div {
    min-width: 0;
  }

  .weather-day-tabs {
    gap: 8px;
  }

  .day-tab {
    display: block;
    min-height: 88px;
    padding: 13px;
  }

  .day-tab small {
    margin-top: 7px;
    text-align: left;
    font-size: 0.7rem;
  }

  .forecast-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .forecast-copy {
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .weather-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .weather-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .weather-metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .source-grid,
  .info-grid,
  .camper-facts {
    grid-template-columns: 1fr;
  }

  .source-card {
    min-height: auto;
  }

  .card-heading-row {
    display: block;
  }

  .source-count,
  .consensus-badge {
    display: inline-block;
    margin-top: 13px;
  }

  .model-values {
    gap: 5px;
  }

  .model-values strong {
    font-size: 1rem;
  }

  .advice-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .radar-map-card {
    min-height: 520px;
  }

  .radar-overlay-top {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .radar-overlay-top > * {
    padding: 7px 9px;
    font-size: 0.7rem;
  }

  .radar-info {
    display: block;
  }

  .radar-info .button,
  .radar-info .radar-footnote {
    max-width: none;
  }

  .schedule-toolbar {
    display: block;
  }

  .segmented {
    width: 100%;
  }

  .favorite-toggle {
    margin-top: 16px;
  }

  .schedule-list::before {
    left: 64px;
  }

  .schedule-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .schedule-time {
    font-size: 0.78rem;
  }

  .schedule-content {
    padding: 13px 12px;
  }

  .schedule-buttons {
    flex-direction: column;
    padding: 8px;
  }

  .schedule-icon-button {
    width: 35px;
    height: 35px;
  }

  .checklist-card {
    padding: 22px 17px;
  }

  .checklist {
    max-height: none;
  }

  .location-buttons .button {
    flex: 1 1 140px;
  }

  .install-band {
    display: block;
    margin-bottom: 0;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .install-band > .button {
    width: 100%;
    margin-top: 20px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding-bottom: calc(42px + env(safe-area-inset-bottom));
  }

  .footer > .button {
    grid-column: auto;
    width: 100%;
  }

  .credits {
    grid-column: auto;
    display: grid;
  }

  .bottom-nav {
    display: grid;
  }

  .toast {
    right: 12px;
    bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 12px);
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .hero-actions,
  .location-buttons {
    display: grid;
  }

  .hero-actions .button,
  .location-buttons .button {
    width: 100%;
  }

  .countdown {
    gap: 3px;
  }

  .countdown strong {
    font-size: 2.1rem;
  }

  .forecast-visual > span {
    font-size: 3.8rem;
  }

  .weather-metrics > div {
    padding: 15px 12px;
  }

  .radar-facts {
    grid-template-columns: 1fr;
  }

  .radar-facts > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .schedule-item {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  .schedule-list::before {
    left: 58px;
  }

  .schedule-buttons {
    gap: 4px;
    padding: 6px;
  }
}

@media (min-width: 761px) {
  body {
    padding-bottom: 0;
  }

  .toast {
    bottom: 25px;
  }
}

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

.credits a {
  color: inherit;
  text-underline-offset: 3px;
}

.credits a:hover {
  color: rgba(255, 255, 255, 0.68);
}

.info-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 20px;
  padding: 16px 2px 0;
  border-top: 1px solid var(--cream-200);
}

.info-link-row a {
  color: var(--plum-700);
  font-size: 0.8rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

/* Ostrova Live */
.live-dashboard {
  position: relative;
  padding: 34px var(--page-pad) 42px;
  color: var(--white);
  background: linear-gradient(145deg, #130817, #2d1235 58%, #4c1c46);
  overflow: hidden;
}
.live-dashboard::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -180px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,189,98,.25), transparent 68%);
}
.live-topline { position: relative; z-index: 1; display:flex; justify-content:space-between; align-items:center; max-width:var(--content-max); margin:0 auto 18px; color:rgba(255,255,255,.68); font-size:.82rem; }
.live-pill { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border-radius:999px; background:rgba(255,255,255,.08); color:#fff; font-weight:800; letter-spacing:.12em; }
.live-pill i { width:8px; height:8px; border-radius:50%; background:#74e3a9; box-shadow:0 0 0 6px rgba(116,227,169,.12); animation:livePulse 1.6s infinite; }
@keyframes livePulse { 50% { box-shadow:0 0 0 10px rgba(116,227,169,0); } }
.live-grid { position:relative; z-index:1; display:grid; grid-template-columns:1.4fr .8fr .8fr; gap:16px; max-width:var(--content-max); margin:0 auto; }
.live-grid article { border:1px solid rgba(255,255,255,.12); border-radius:26px; background:rgba(255,255,255,.075); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); box-shadow:0 20px 60px rgba(0,0,0,.18); }
.live-main-card { padding:28px; }
.live-main-card h2 { margin:8px 0 8px; font-size:clamp(2rem,4vw,4rem); }
.live-main-card > p:not(.mini-label) { color:rgba(255,255,255,.72); }
.live-countdown { margin:18px 0; font-size:clamp(2rem,5vw,4.8rem); line-height:1; font-weight:900; letter-spacing:-.055em; color:var(--gold-300); }
.live-actions { display:flex; flex-wrap:wrap; gap:10px; }
.live-weather-card,.live-smart-card { padding:24px; }
.live-weather-head { display:flex; gap:14px; align-items:center; }
.live-weather-head > span { font-size:2.7rem; }
.live-weather-head small,.live-weather-head strong { display:block; }
.live-weather-head small { color:rgba(255,255,255,.62); }
.live-weather-head strong { font-size:2.5rem; }
.live-weather-card p,.live-smart-card p { color:rgba(255,255,255,.72); }
.live-weather-stats { display:flex; flex-wrap:wrap; gap:8px; margin:15px 0; }
.live-weather-stats span { padding:8px 10px; border-radius:12px; background:rgba(255,255,255,.08); font-size:.85rem; }
.live-weather-card a { color:var(--gold-300); font-weight:750; text-decoration:none; }
.live-smart-card h3 { margin-top:9px; }
.live-smart-card .text-button { color:var(--gold-300); }
.live-note { position:relative; z-index:1; max-width:var(--content-max); margin:14px auto 0; color:rgba(255,255,255,.5); font-size:.78rem; }
@media (max-width: 900px) { .live-grid { grid-template-columns:1fr 1fr; } .live-main-card { grid-column:1/-1; } }
@media (max-width: 620px) { .live-dashboard { padding-top:25px; } .live-grid { grid-template-columns:1fr; } .live-main-card { grid-column:auto; padding:22px; } .live-weather-card,.live-smart-card { padding:20px; } .live-main-card h2 { font-size:2.25rem; } .live-countdown { font-size:2.6rem; } .bottom-nav { overflow-x:auto; justify-content:flex-start; } .bottom-nav a { min-width:64px; } }

/* Ostrova Live v3 · kava ja lemmikud kohe avalehel */
.live-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.live-title-wrap h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -0.025em;
}

.live-grid {
  grid-template-columns: minmax(230px, 0.78fr) minmax(340px, 1.25fr) minmax(300px, 1fr);
  align-items: stretch;
}

.live-priority-card {
  min-width: 0;
  padding: 24px;
}

.live-card-kicker {
  margin-bottom: 9px;
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}

.live-card-heading h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.live-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 18px;
  margin-top: 18px;
}

.live-card-links a {
  color: var(--gold-300);
  font-size: 0.83rem;
  font-weight: 850;
  text-decoration: none;
}

.live-countdown-badge,
.live-favorite-count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.live-favorite-count {
  min-width: 32px;
  padding-inline: 9px;
  color: var(--plum-950);
  background: var(--gold-300);
}

.live-current-artist {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 12px;
  margin-bottom: 13px;
  padding: 12px 14px;
  border: 1px solid rgba(116, 227, 169, 0.2);
  border-radius: 16px;
  background: rgba(116, 227, 169, 0.09);
}

.live-current-artist[hidden] {
  display: none;
}

.live-current-artist > span {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 7px;
  color: #9bf0c2;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-current-artist i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #74e3a9;
  box-shadow: 0 0 0 5px rgba(116, 227, 169, 0.12);
}

.live-current-artist strong,
.live-current-artist small {
  min-width: 0;
}

.live-current-artist strong {
  overflow: hidden;
  color: var(--white);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-current-artist small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.7rem;
}

.live-artist-list,
.live-favorite-list {
  display: grid;
  gap: 9px;
}

.live-artist-row,
.live-favorite-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.live-artist-row.is-next {
  border-color: rgba(239, 189, 98, 0.27);
  background: linear-gradient(105deg, rgba(239, 189, 98, 0.13), rgba(255, 255, 255, 0.055));
}

.live-artist-row time,
.live-favorite-row time {
  color: var(--gold-300);
  font-size: 1rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.live-artist-row div,
.live-favorite-row div {
  min-width: 0;
}

.live-artist-row strong,
.live-artist-row small,
.live-favorite-row strong,
.live-favorite-row small {
  display: block;
}

.live-artist-row strong,
.live-favorite-row strong {
  overflow: hidden;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-artist-row small,
.live-favorite-row small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.67rem;
}

.live-artist-row > span,
.live-favorite-row > span {
  padding: 6px 8px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.065);
  font-size: 0.66rem;
  font-weight: 850;
  white-space: nowrap;
}

.live-favorite-row.is-current {
  border-color: rgba(116, 227, 169, 0.25);
  background: rgba(116, 227, 169, 0.09);
}

.live-favorite-row.is-current > span {
  color: #9bf0c2;
}

.live-list-placeholder {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 15px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.live-favorites-empty {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 90px;
  padding: 15px;
  border: 1px dashed rgba(239, 189, 98, 0.22);
  border-radius: 16px;
  background: rgba(239, 189, 98, 0.055);
}

.live-favorites-empty > span {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--plum-950);
  background: var(--gold-300);
  font-size: 1.05rem;
}

.live-favorites-empty p,
.live-favorites-empty strong,
.live-favorites-empty small {
  display: block;
  margin: 0;
}

.live-favorites-empty strong {
  color: var(--white);
  font-size: 0.86rem;
}

.live-favorites-empty small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  line-height: 1.4;
}

.live-more-favorites {
  margin: 2px 2px 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
}

.live-upcoming-card .live-actions {
  margin-top: 16px;
}

.live-upcoming-card .button {
  min-height: 42px;
  padding: 9px 14px;
  font-size: 0.78rem;
}

.live-favorites-button {
  margin-top: 15px;
  color: var(--gold-300);
}

.live-advice-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  max-width: var(--content-max);
  margin: 16px auto 0;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.live-advice-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--plum-950);
  background: var(--gold-300);
  font-size: 1.1rem;
}

.live-advice-bar .mini-label {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
}

.live-advice-bar h3,
.live-advice-bar p {
  margin: 0;
}

.live-advice-bar h3 {
  color: var(--white);
  font-size: 0.98rem;
}

.live-advice-bar p:not(.mini-label) {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  line-height: 1.45;
}

.live-advice-bar .text-button {
  color: var(--gold-300);
}

.schedule-section {
  padding-top: clamp(62px, 8vw, 105px);
}

@media (max-width: 1050px) {
  .live-grid {
    grid-template-columns: minmax(240px, 0.85fr) minmax(360px, 1.15fr);
  }

  .live-favorites-card {
    grid-column: 1 / -1;
  }

  .live-favorite-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-favorites-empty,
  .live-list-placeholder,
  .live-more-favorites {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .live-dashboard {
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .live-topline {
    align-items: flex-start;
  }

  .live-title-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .live-title-wrap h2 {
    font-size: 1.25rem;
  }

  .live-grid {
    grid-template-columns: 1fr;
  }

  .live-favorites-card {
    grid-column: auto;
  }

  .live-favorite-list {
    grid-template-columns: 1fr;
  }

  .live-priority-card {
    padding: 20px;
  }

  .live-advice-bar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .live-advice-bar .text-button {
    grid-column: 2;
    justify-self: start;
    padding: 0;
  }

  .live-artist-row,
  .live-favorite-row {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .live-artist-row > span,
  .live-favorite-row > span {
    grid-column: 2;
    justify-self: start;
    margin-top: -3px;
  }
}

@media (max-width: 420px) {
  .live-card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .live-countdown-badge {
    align-self: flex-start;
  }

  .live-current-artist {
    grid-template-columns: 1fr;
  }

  .live-current-artist > span {
    grid-row: auto;
  }
}

.live-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-top-actions a {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 700px) {
  .live-top-actions {
    align-items: flex-end;
    flex-direction: column;
    gap: 6px;
  }

  .live-top-actions a {
    padding: 5px 8px;
    font-size: 0.66rem;
  }

  .live-weather-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 7px 15px;
  }

  .live-weather-card .live-card-kicker,
  .live-weather-card .live-card-links {
    grid-column: 1 / -1;
  }

  .live-weather-card .live-weather-head {
    grid-row: 2 / span 2;
  }

  .live-weather-card > p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .live-weather-card .live-weather-stats {
    margin: 3px 0 0;
  }

  .live-weather-card .live-card-links {
    margin-top: 5px;
  }
}

/* Esimene sektsioon algab fikseeritud päise alt, mitte selle tagant. */
main > .live-dashboard:first-child {
  padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 32px);
}

.bottom-nav {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 620px) {
  main > .live-dashboard:first-child {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 22px);
  }

  .bottom-nav {
    overflow: visible;
    justify-content: initial;
  }

  .bottom-nav a {
    min-width: 0;
  }
}

/* v5: tunni aja prognoos live-kaardil */
.live-hour-ahead { display:flex; align-items:center; gap:12px; padding:12px 13px; margin:4px 0 15px; border:1px solid rgba(255,255,255,.11); border-radius:15px; background:rgba(255,255,255,.055); }
.live-hour-ahead > span { font-size:1.7rem; line-height:1; }
.live-hour-ahead div { min-width:0; display:grid; grid-template-columns:auto 1fr; align-items:baseline; column-gap:10px; }
.live-hour-ahead small { color:rgba(255,255,255,.62); font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; }
.live-hour-ahead strong { color:var(--gold-300); font-size:1.15rem; }
.live-hour-ahead p { grid-column:1 / -1; margin:3px 0 0; font-size:.78rem; line-height:1.35; color:rgba(255,255,255,.72); }
@media (max-width: 620px) { .live-hour-ahead div { grid-template-columns:1fr auto; } }
