:root {
  color-scheme: light;
  --blue: #146fc3;
  --blue-dark: #0f5fa9;
  --blue-soft: #e6f8ff;
  --ink: #122132;
  --ink-soft: #57728f;
  --orange: #b85c00;
  --green: #2bad78;
  --line: rgba(105, 180, 222, .22);
  --card: rgba(254, 255, 255, .96);
  --shadow: 0 24px 70px rgba(10, 54, 92, .14);
  --qa-width-375: 375;
  --qa-width-393: 393;
  --qa-width-430: 430;
  --qa-width-768: 768;
  --qa-width-1024: 1024;
  --qa-width-1440: 1440;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(44, 165, 233, .13), transparent 28rem),
    linear-gradient(180deg, #f7fcff 0%, #eef8fd 55%, #f9fcfe 100%);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(36, 130, 219, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 130, 219, .025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 10px;
}
.skip-link:focus { top: 12px; }

.site-header {
  width: min(1240px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(36, 130, 219, .2);
}
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-size: 19px; letter-spacing: .05em; }
.brand small { margin-top: 5px; color: var(--ink-soft); font-size: 11px; }
.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a {
  color: #36516c;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.site-header nav a:hover { color: var(--blue); }
.site-header .nav-download {
  padding: 9px 16px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 0 9px 22px rgba(36, 130, 219, .22);
}
.site-header .nav-download:hover { color: #fff; background: var(--blue-dark); }

main { min-height: 70vh; }
.hero-section {
  width: min(1240px, calc(100% - 40px));
  margin: 34px auto 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, .66fr);
  gap: 30px;
  align-items: start;
}
.hero-copy {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
  padding: 28px 2px 8px;
}
.hero-copy h1 {
  margin: 10px 0 0;
  font-size: clamp(58px, 7vw, 104px);
  line-height: .95;
  letter-spacing: -.07em;
}
.hero-copy h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p {
  max-width: 540px;
  margin: 0 0 17px;
  color: #47647f;
  font-size: clamp(17px, 2vw, 22px);
}
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-trust span {
  padding: 6px 10px;
  color: #395a77;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(105, 180, 222, .2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}

.weather-shell {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: #fff;
  background-color: #3a9be6;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.weather-shell[data-scene="sunny"] { background-image: url("/assets/weather-sunny.jpg"); }
.weather-shell[data-scene="cloudy"] { background-image: url("/assets/weather-cloudy.jpg"); }
.weather-shell[data-scene="overcast"] { background-image: url("/assets/weather-overcast.jpg"); }
.weather-shell[data-scene="rain"] { background-image: url("/assets/weather-rain.jpg"); }
.weather-shell[data-scene="night"] { background-image: url("/assets/weather-night.jpg"); }
.weather-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 35, 59, .14) 0%, rgba(7, 36, 61, .04) 32%, rgba(236, 250, 255, .96) 68%, #eefaff 100%);
}
.tool-content {
  position: relative;
  z-index: 1;
  min-height: 660px;
  padding: 28px;
}
.location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.location-row > div { display: grid; }
.location-row strong { margin-top: 3px; font-size: 21px; }
.tool-label { font-size: 11px; font-weight: 750; letter-spacing: .06em; opacity: .78; }
.locate-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  color: #13334d;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(9, 44, 71, .12);
}
.locate-button:hover { background: #fff; }
.locate-button:disabled { cursor: wait; opacity: .72; }

.fish-picker {
  margin-top: 24px;
  padding: 16px;
  color: var(--ink);
  background: rgba(253, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 20px;
  backdrop-filter: blur(20px);
}
.picker-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--ink-soft);
}
.picker-heading #selectedFishLabel { color: var(--blue); font-size: 13px; font-weight: 800; }
.fish-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(74px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.fish-scroll-hint {
  display: none;
  margin-top: 8px;
  color: #6d8498;
  font-size: 10px;
  font-weight: 700;
}
.fish-choice {
  min-width: 0;
  padding: 8px 5px 7px;
  color: #4f6880;
  background: rgba(230, 248, 255, .7);
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
}
.fish-choice img {
  display: block;
  width: 58px;
  height: 42px;
  margin: 0 auto 2px;
  object-fit: contain;
}
.fish-choice span { font-size: 12px; font-weight: 750; white-space: nowrap; }
.fish-choice:hover { border-color: rgba(36, 130, 219, .25); }
.fish-choice:focus-visible,
.locate-button:focus-visible,
.app-store-button:focus-visible,
.guide-link:focus-visible {
  outline: 3px solid rgba(15, 95, 169, .48);
  outline-offset: 3px;
}
.fish-choice.active {
  color: #fff;
  background: linear-gradient(135deg, #3297e7, #1670c5);
  border-color: rgba(255, 255, 255, .6);
  box-shadow: 0 7px 15px rgba(36, 130, 219, .24);
}
.fish-choice.active img { filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .15)); }
.tool-status {
  margin: 12px 0;
  padding: 12px 14px;
  color: #335672;
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
}
.tool-status.error { color: #9b311f; background: rgba(255, 242, 238, .94); }
.tool-status.success { color: #116141; background: rgba(238, 255, 247, .94); }
.result-panel {
  margin-top: 12px;
  padding: 18px;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(254, 255, 255, .96), rgba(237, 251, 255, .94));
  border: 1px solid rgba(184, 232, 255, .56);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(6, 47, 79, .14);
}
.score-summary { display: flex; align-items: center; gap: 18px; }
.score-line { display: flex; align-items: baseline; color: var(--orange); line-height: 1; }
.score-line strong { font-size: 64px; letter-spacing: -.06em; }
.score-line span { margin-left: 4px; font-weight: 750; }
.level-copy { flex: 1; padding-left: 18px; border-left: 1px solid var(--line); }
.level-copy strong { font-size: 20px; }
.level-copy p { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; }
.window-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 14px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 15px;
}
.window-grid > * { display: grid; gap: 4px; padding: 11px; background: rgba(240, 252, 255, .96); }
.window-grid span { color: var(--ink-soft); font-size: 11px; }
.window-grid strong { font-size: 13px; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.metric-card { padding: 10px 6px; text-align: center; background: rgba(255, 255, 255, .68); border: 1px solid var(--line); border-radius: 12px; }
.metric-card span { display: block; color: var(--ink-soft); font-size: 10px; }
.metric-card strong { display: block; margin-top: 3px; font-size: 12px; }
.reason-card { display: grid; grid-template-columns: 54px 1fr; gap: 8px; margin-top: 10px; padding: 11px; background: rgba(255, 255, 255, .68); border-radius: 12px; }
.reason-card span { color: var(--blue); font-size: 12px; font-weight: 800; }
.reason-card p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.source-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #496985;
  font-size: 10px;
}

.app-panel {
  position: sticky;
  top: 22px;
  min-height: 660px;
  overflow: hidden;
  padding: 34px 32px 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .95), rgba(225, 245, 255, .9));
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.app-panel h2 { margin: 8px 0 12px; font-size: 31px; line-height: 1.16; letter-spacing: -.04em; }
.app-panel p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.app-panel ul { display: grid; gap: 5px; padding: 0; margin: 18px 0; list-style: none; color: #345571; font-size: 13px; }
.app-panel li { padding-left: 18px; position: relative; }
.app-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.app-store-button, .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: #fff;
  background: var(--blue);
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(36, 130, 219, .24);
}
.app-store-button:hover, .primary-button:hover { background: var(--blue-dark); }
.app-preview {
  display: block;
  width: min(290px, 92%);
  max-height: 360px;
  margin: 28px auto 0;
  object-fit: cover;
  object-position: top;
  border: 7px solid #10283d;
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 20px 46px rgba(12, 50, 78, .24);
}

.content-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 104px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}
.section-heading h2, .intro-section h2 {
  margin: 6px 0 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.05em;
}
.section-heading > p { max-width: 440px; margin: 0; color: var(--ink-soft); }
.intro-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.explain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.explain-grid article {
  min-height: 200px;
  padding: 24px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(105, 180, 222, .18);
  border-radius: 20px;
}
.explain-grid article > span { color: var(--blue); font-size: 12px; font-weight: 900; }
.explain-grid h2, .explain-grid h3 { margin: 34px 0 8px; font-size: 18px; }
.explain-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fish-topic-grid { grid-template-columns: repeat(5, 1fr); }
.topic-card {
  display: flex;
  min-height: 225px;
  flex-direction: column;
  padding: 22px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(105, 180, 222, .18);
  border-radius: 20px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.topic-card:hover { transform: translateY(-3px); border-color: rgba(36, 130, 219, .34); box-shadow: 0 16px 34px rgba(16, 72, 112, .1); }
.topic-kicker { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.topic-card strong { margin-top: 20px; font-size: 20px; }
.topic-card p { color: var(--ink-soft); font-size: 12px; }
.topic-link { margin-top: auto; color: var(--blue); font-size: 12px; font-weight: 800; }
.final-cta {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 70px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  background: linear-gradient(135deg, #1670c5, #43a8ec);
  border-radius: 30px;
  box-shadow: 0 24px 55px rgba(26, 115, 183, .2);
}
.final-cta .eyebrow { color: #dff4ff; }
.final-cta h2 { max-width: 760px; margin: 7px 0 0; font-size: clamp(28px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.app-store-button.light { color: var(--blue-dark); background: #fff; white-space: nowrap; }

.article-page { width: min(920px, calc(100% - 40px)); margin: 36px auto 90px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-soft); font-size: 12px; }
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.article-hero { padding: 68px 0 54px; border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 820px; margin: 8px 0 18px; font-size: clamp(46px, 7vw, 78px); line-height: 1; letter-spacing: -.06em; }
.article-hero > p { max-width: 760px; margin: 0 0 26px; color: var(--ink-soft); font-size: 19px; }
.answer-summary {
  max-width: 820px;
  margin: 28px 0 16px;
  padding: 24px 26px;
  background: linear-gradient(145deg, rgba(230, 248, 255, .96), rgba(255, 255, 255, .94));
  border: 1px solid rgba(36, 130, 219, .24);
  border-left: 5px solid var(--blue);
  border-radius: 18px;
}
.answer-summary strong { display: block; color: var(--blue-dark); font-size: 13px; letter-spacing: .08em; }
.answer-summary p { margin: 8px 0 0; color: #254b6a; font-size: 18px; line-height: 1.75; }
.article-hero .review-line, .review-line { margin: 0; color: #6b8297; font-size: 12px; }
.article-block { padding: 54px 0; border-bottom: 1px solid var(--line); }
.article-block h2 { margin: 0 0 24px; font-size: 30px; letter-spacing: -.035em; }
.factor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.factor-list div { display: flex; gap: 14px; padding: 18px; background: rgba(255, 255, 255, .76); border: 1px solid var(--line); border-radius: 16px; }
.factor-list span { color: var(--blue); font-size: 11px; font-weight: 900; }
.factor-list p { margin: 0; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { padding: 18px 20px; background: rgba(255, 255, 255, .76); border: 1px solid var(--line); border-radius: 16px; }
.faq-list summary { cursor: pointer; font-weight: 780; }
.faq-list p { margin: 13px 0 0; color: var(--ink-soft); }
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fit-grid article { padding: 24px; background: rgba(255, 255, 255, .76); border: 1px solid var(--line); border-radius: 18px; }
.fit-grid ul { display: grid; gap: 9px; margin: 16px 0 0; padding-left: 20px; color: #3f5e78; }
.fit-label { display: inline-flex; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 850; }
.fit-label.good { color: #126246; background: #e5f9ef; }
.fit-label.limit { color: #8a4f17; background: #fff1dc; }
.entity-note {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  padding: 22px;
  background: linear-gradient(145deg, #e9f9ff, #fff);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.entity-note img { flex: 0 0 auto; border-radius: 14px; box-shadow: 0 8px 18px rgba(36, 130, 219, .16); }
.entity-note strong { font-size: 18px; }
.entity-note p { margin: 5px 0 10px; color: var(--ink-soft); }
.entity-note a { margin-right: 14px; color: var(--blue-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
.fact-list { display: grid; margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.fact-list div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 18px 20px; background: rgba(255, 255, 255, .76); border-bottom: 1px solid var(--line); }
.fact-list div:last-child { border-bottom: 0; }
.fact-list dt { color: var(--blue-dark); font-weight: 800; }
.fact-list dd { margin: 0; color: #3f5e78; overflow-wrap: anywhere; }
.article-tool-cta { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-top: 50px; padding: 34px; background: linear-gradient(145deg, #e9f9ff, #fff); border: 1px solid var(--line); border-radius: 24px; }
.article-tool-cta h2 { margin: 5px 0; font-size: 30px; }
.article-tool-cta p { margin: 0; color: var(--ink-soft); }
.app-page { max-width: 1040px; }
.wide-app-preview { display: block; width: min(520px, 100%); max-height: 690px; margin: 48px auto; object-fit: cover; object-position: top; border-radius: 28px; box-shadow: var(--shadow); }
.legal-page p { color: #425f79; font-size: 16px; }
.not-found { width: min(720px, calc(100% - 40px)); margin: 110px auto; text-align: center; }
.not-found h1 { margin: 8px 0; font-size: clamp(44px, 8vw, 78px); }
.not-found p { margin: 0 0 24px; color: var(--ink-soft); }

.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 40px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.site-footer strong { color: var(--ink); font-size: 14px; }
.site-footer p { max-width: 650px; margin: 7px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue); }

@media (max-width: 1024px) {
  .fish-topic-grid { grid-template-columns: repeat(3, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-section { grid-template-columns: minmax(0, 1fr) 330px; }
  .tool-content { padding: 22px; }
  .fish-options { grid-template-columns: repeat(5, minmax(58px, 1fr)); }
  .fish-choice img { width: 48px; }
}

@media (max-width: 820px) {
  .site-header { min-height: 72px; }
  .site-header nav a:not(.nav-download) { display: none; }
  .hero-section { display: block; margin-top: 14px; }
  .hero-copy { display: block; padding: 22px 0 28px; }
  .hero-copy h1 { font-size: clamp(55px, 14vw, 84px); }
  .hero-copy > p { margin-top: 22px; }
  .weather-shell { min-height: auto; border-radius: 28px; }
  .tool-content { min-height: 620px; }
  .app-panel { position: relative; top: auto; min-height: 0; margin-top: 18px; padding-bottom: 0; }
  .app-panel-copy { max-width: 480px; }
  .intro-section { display: block; }
  .intro-section .explain-grid { margin-top: 28px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .article-tool-cta { align-items: start; flex-direction: column; }
}

@media (max-width: 600px) {
  .site-header, .hero-section, .content-section, .final-cta, .site-footer, .article-page {
    width: min(100% - 28px, 100%);
  }
  .brand small { display: none; }
  .site-header nav { gap: 8px; }
  .site-header .nav-download { padding: 8px 12px; font-size: 12px; }
  .hero-section { margin-bottom: 70px; }
  .hero-copy h1 { font-size: clamp(52px, 18vw, 76px); }
  .hero-copy > p { font-size: 16px; }
  .weather-shell { margin-inline: -2px; border-radius: 25px; }
  .tool-content { min-height: 630px; padding: 18px 14px; }
  .location-row { align-items: flex-start; }
  .location-row strong { font-size: 17px; }
  .locate-button { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .fish-picker { padding: 12px 8px; }
  .fish-options { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
  .fish-choice { min-width: 70px; scroll-snap-align: start; }
  .score-line strong { font-size: 54px; }
  .level-copy { padding-left: 13px; }
  .window-grid { grid-template-columns: 1fr; }
  .window-grid div { grid-template-columns: 1fr 1.3fr; align-items: center; }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .source-line { flex-direction: column; gap: 2px; }
  .app-panel { padding: 26px 22px 0; border-radius: 25px; }
  .app-panel h2 { font-size: 27px; }
  .app-preview { max-height: 310px; }
  .content-section { margin-bottom: 78px; }
  .explain-grid, .topic-grid, .fish-topic-grid { grid-template-columns: 1fr; }
  .explain-grid article, .topic-card { min-height: 0; }
  .explain-grid h2, .explain-grid h3 { margin-top: 22px; }
  .final-cta { padding: 30px 24px; flex-direction: column; align-items: flex-start; border-radius: 24px; }
  .article-hero { padding: 44px 0 38px; }
  .article-hero h1 { font-size: clamp(42px, 14vw, 62px); }
  .article-hero > p { font-size: 16px; }
  .answer-summary { padding: 20px; }
  .answer-summary p { font-size: 16px; }
  .factor-list { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .entity-note { align-items: flex-start; }
  .fact-list div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Homepage: value first, download second */
.home-intro {
  width: min(1240px, calc(100% - 40px));
  margin: 20px auto 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 64px;
  row-gap: 8px;
}
.home-intro > .eyebrow { grid-column: 1; grid-row: 1; }
.home-intro h1 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: clamp(48px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.065em;
}
.home-intro h1 em { color: var(--blue); font-style: normal; }
.home-intro > p {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0 0 5px;
  color: #47647f;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
}
.tool-stage {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 68px;
}
.tool-stage .weather-shell {
  min-height: 0;
  border-radius: 32px;
}
.tool-stage .weather-overlay {
  background: linear-gradient(180deg, rgba(7, 41, 73, .2) 0%, rgba(10, 59, 98, .05) 23%, rgba(229, 248, 255, .92) 56%, #effaff 100%);
}
.tool-stage .tool-content {
  min-height: 0;
  padding: 30px;
}
.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
}
.tool-header > div { display: grid; }
.tool-header strong { margin-top: 2px; font-size: 20px; }
.privacy-note {
  padding: 6px 10px;
  color: #315b7d;
  background: rgba(255, 255, 255, .78);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}
.tool-stage .fish-picker {
  margin-top: 20px;
  padding: 14px 16px;
}
.tool-stage .fish-options {
  grid-template-columns: repeat(10, minmax(64px, 1fr));
}
.tool-stage .fish-choice img { width: 50px; height: 36px; }
.pre-query-panel {
  margin-top: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(105, 180, 222, .28);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(10, 54, 92, .1);
}
.pre-query-panel > div { display: grid; }
.pre-query-panel strong { font-size: 17px; line-height: 1.35; }
.pre-query-panel span { margin-top: 3px; color: var(--ink-soft); font-size: 12px; }
.pre-query-panel .locate-button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 10px 18px;
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(36, 130, 219, .24);
}
.pre-query-panel .locate-button span { margin: 0; color: inherit; font-size: 14px; }
.pre-query-panel .locate-button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.pre-query-panel[data-state="ready"] { box-shadow: none; }
.tool-stage .tool-status { margin: 10px 0; }
.tool-status[hidden],
.result-panel[hidden],
.source-line[hidden] { display: none !important; }
.tool-stage .result-panel {
  margin-top: 10px;
  padding: 22px;
  border-radius: 24px;
}
.result-head {
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: 16px;
}
.result-head .score-summary {
  min-width: 0;
  padding: 5px 8px;
}
.result-head .window-grid { margin-top: 0; }
.result-head .window-grid > * {
  justify-content: center;
  border-top: 3px solid transparent;
}
.window-action {
  width: 100%;
  color: inherit;
  text-align: left;
  border: 0;
  cursor: pointer;
}
.window-action small {
  color: #6e879d;
  font-size: 10px;
  font-weight: 700;
}
.window-action:hover { filter: brightness(.985); }
.window-action:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(36, 130, 219, .42);
  outline-offset: -3px;
}
.result-head .window-grid .best-window {
  background: #fff7e8;
  border-top-color: var(--orange);
}
.result-head .window-grid .second-window {
  background: #edf9f4;
  border-top-color: var(--green);
}
.result-head .window-grid .peak-window {
  background: #f3f8fc;
  border-top-color: #8ba7bd;
}
.result-head .window-grid .best-window strong { color: #b86500; }
.result-head .window-grid .second-window strong { color: #167052; }
.result-head .window-grid strong { font-size: 15px; }
.tool-stage .metric-grid {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 14px;
}
.tool-stage .metric-card {
  padding: 11px 8px;
  background: rgba(255, 255, 255, .78);
}
.tool-stage .metric-card strong { font-size: 14px; }
.hourly-score,
.today-advice {
  margin-top: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(105, 180, 222, .18);
  border-radius: 18px;
}
.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.panel-heading > div { display: grid; }
.panel-heading span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
}
.panel-heading h2 {
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 1.25;
}
.panel-heading small { color: var(--ink-soft); font-size: 11px; }
.hourly-overview {
  margin-bottom: 12px;
  padding: 12px 12px 8px;
  background: rgba(247, 252, 255, .94);
  border: 1px solid #d9eaf4;
  border-radius: 15px;
}
.hourly-overview-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}
.hourly-overview-heading strong { color: #274966; font-size: 12px; }
.hourly-overview-heading span { color: #70889b; font-size: 10px; }
.hourly-overview-bars {
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  align-items: stretch;
  gap: 2px;
}
.hourly-overview-empty {
  grid-column: 1 / -1;
  align-self: center;
  color: #71899d;
  font-size: 11px;
  text-align: center;
}
.hourly-overview-bar {
  min-width: 0;
  display: grid;
  grid-template-rows: 60px 14px;
  gap: 2px;
  padding: 0;
  color: #71899d;
  background: transparent;
  border: 0;
  border-radius: 7px;
  appearance: none;
  cursor: pointer;
}
.hourly-overview-bar.compact-static { cursor: default; }
.hourly-overview-plot {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 1px;
  border-bottom: 1px solid #cfe3ef;
}
.hourly-overview-fill {
  width: 100%;
  min-height: 4px;
  background: #79b9ea;
  border-radius: 4px 4px 1px 1px;
  transition: filter .16s ease, transform .16s ease;
  transform-origin: bottom;
}
.hourly-overview-score {
  position: absolute;
  top: 1px;
  left: 50%;
  display: none;
  color: #244760;
  font-size: 8px;
  line-height: 1;
  transform: translateX(-50%);
}
.hourly-overview-bar small {
  overflow: visible;
  font-size: 8px;
  font-weight: 750;
  line-height: 14px;
  text-align: center;
  white-space: nowrap;
}
.hourly-overview-bar.fair .hourly-overview-fill { background: #8eb8d4; }
.hourly-overview-bar.slow .hourly-overview-fill { background: #bdcbd4; }
.hourly-overview-bar.best .hourly-overview-fill { background: #eb8b08; }
.hourly-overview-bar.second .hourly-overview-fill { background: #269269; }
.hourly-overview-bar.current .hourly-overview-fill { background: #2a86d9; }
.hourly-overview-bar.selected {
  background: rgba(42, 134, 217, .09);
  box-shadow: inset 0 0 0 1px rgba(42, 134, 217, .45);
}
.hourly-overview-bar.selected .hourly-overview-score,
.hourly-overview-bar.show-score .hourly-overview-score { display: block; }
.hourly-overview-bar.selected .hourly-overview-fill { filter: saturate(1.2); transform: scaleX(1.12); }
.hourly-overview-bar.tomorrow-start { border-left: 1px dashed #8ea9bb; }
.hourly-overview-bar:focus-visible { outline: 2px solid rgba(42, 134, 217, .72); outline-offset: 1px; }
.score-height-0 .hourly-overview-fill { height: 4%; }
.score-height-5 .hourly-overview-fill { height: 5%; }
.score-height-10 .hourly-overview-fill { height: 10%; }
.score-height-15 .hourly-overview-fill { height: 15%; }
.score-height-20 .hourly-overview-fill { height: 20%; }
.score-height-25 .hourly-overview-fill { height: 25%; }
.score-height-30 .hourly-overview-fill { height: 30%; }
.score-height-35 .hourly-overview-fill { height: 35%; }
.score-height-40 .hourly-overview-fill { height: 40%; }
.score-height-45 .hourly-overview-fill { height: 45%; }
.score-height-50 .hourly-overview-fill { height: 50%; }
.score-height-55 .hourly-overview-fill { height: 55%; }
.score-height-60 .hourly-overview-fill { height: 60%; }
.score-height-65 .hourly-overview-fill { height: 65%; }
.score-height-70 .hourly-overview-fill { height: 70%; }
.score-height-75 .hourly-overview-fill { height: 75%; }
.score-height-80 .hourly-overview-fill { height: 80%; }
.score-height-85 .hourly-overview-fill { height: 85%; }
.score-height-90 .hourly-overview-fill { height: 90%; }
.score-height-95 .hourly-overview-fill { height: 95%; }
.score-height-100 .hourly-overview-fill { height: 100%; }
.hourly-matrix {
  --matrix-column-width: 98px;
  --matrix-rows: 48px 58px 74px 48px 50px 62px 68px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  overflow: hidden;
  background: rgba(250, 253, 255, .9);
  border: 1px solid #d9eaf4;
  border-radius: 16px;
}
.hourly-matrix-labels,
.hourly-matrix-column {
  display: grid;
  grid-template-rows: var(--matrix-rows);
}
.hourly-matrix-labels {
  position: relative;
  z-index: 3;
  color: #547089;
  background: #f4faff;
  border-right: 1px solid #cfe3ef;
  box-shadow: 8px 0 18px rgba(47, 105, 143, .07);
}
.hourly-matrix-label {
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-bottom: 1px solid #e0edf5;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.hourly-matrix-label:last-child { border-bottom: 0; }
.hourly-matrix-label.label-score { color: #d87600; }
.hourly-matrix-label.label-pressure { background: rgba(225, 241, 250, .72); }
.hourly-matrix-label.label-rain { background: rgba(233, 246, 252, .86); }
.hourly-matrix-scroll {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 130, 219, .35) transparent;
}
.hourly-matrix-scroll:focus-visible {
  outline: 3px solid rgba(36, 130, 219, .28);
  outline-offset: -3px;
}
.hourly-matrix-columns {
  width: max-content;
  min-width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--matrix-column-width);
}
.hourly-empty {
  grid-column: 1 / -1;
  width: min(420px, 70vw);
  min-width: 260px;
  min-height: 408px;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--ink-soft);
}
.hourly-empty strong { color: var(--ink); font-size: 16px; }
.hourly-empty span { margin-top: 3px; font-size: 12px; }
.hourly-matrix-column {
  position: relative;
  min-width: 0;
  padding: 0;
  color: #547089;
  background: transparent;
  border: 0;
  border-radius: 12px;
  appearance: none;
  scroll-snap-align: start;
  cursor: pointer;
}
.hourly-matrix-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, .8);
  border-right: 1px solid #e0edf5;
  border-bottom: 1px solid #e0edf5;
  font: inherit;
  text-align: center;
}
.hourly-matrix-cell:last-child { border-bottom: 0; }
.hourly-matrix-column.best .hourly-matrix-cell { background: rgba(255, 247, 232, .78); }
.hourly-matrix-column.second .hourly-matrix-cell { background: rgba(238, 250, 245, .82); }
.hourly-matrix-column.current .hourly-matrix-cell { background: rgba(239, 248, 255, .9); }
.hourly-matrix-column.selected {
  z-index: 2;
  box-shadow: inset 0 0 0 2px #2a86d9, 0 0 0 1px rgba(42, 134, 217, .08);
}
.hourly-matrix-column:focus-visible { outline: none; }
.hourly-matrix-column:hover:not(.selected) { background: rgba(42, 134, 217, .04); }
.hour-cell,
.score-cell,
.weather-cell,
.rain-cell,
.wind-cell { flex-direction: column; }
.hour-cell strong {
  color: #274966;
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
}
.hourly-matrix-tag {
  min-height: 16px;
  padding: 1px 6px;
  color: #6a8297;
  background: #eef5f9;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
  line-height: 14px;
  white-space: nowrap;
}
.hourly-matrix-tag:empty { visibility: hidden; }
.hourly-matrix-column.best .hourly-matrix-tag { color: #fff; background: #eb8b08; }
.hourly-matrix-column.second .hourly-matrix-tag { color: #fff; background: #269269; }
.hourly-matrix-column.current .hourly-matrix-tag { color: #fff; background: #2a86d9; }
.score-cell strong { color: var(--orange); font-size: 23px; line-height: 1; }
.score-cell small { color: #7890a4; font-size: 9px; font-weight: 800; }
.hourly-matrix-column.fair .score-cell strong { color: #e49217; }
.hourly-matrix-column.slow .score-cell strong { color: #d96055; }
.hourly-matrix-column.second .score-cell strong { color: #208a64; }
.hourly-weather-icon { width: 28px; height: 28px; flex: 0 0 auto; }
.weather-cell strong,
.wind-cell strong {
  max-width: 100%;
  overflow: hidden;
  color: #28465f;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.temperature-cell,
.pressure-cell { color: #24455f; font-size: 12px; font-weight: 850; white-space: nowrap; }
.pressure-cell { background: rgba(225, 241, 250, .72); font-size: 10px; }
.hourly-matrix-column.best .pressure-cell { background: rgba(255, 239, 211, .82); }
.hourly-matrix-column.second .pressure-cell { background: rgba(222, 245, 235, .86); }
.rain-cell { background: rgba(233, 246, 252, .86); }
.hourly-matrix-column.best .rain-cell { background: rgba(255, 244, 225, .9); }
.hourly-matrix-column.second .rain-cell { background: rgba(226, 247, 238, .9); }
.rain-cell strong,
.wind-cell strong { color: #315a77; font-size: 11px; }
.rain-cell small,
.wind-cell small { color: #71899c; font-size: 9px; font-weight: 750; }
.hourly-matrix-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  color: #617c92;
  font-size: 10px;
  font-weight: 750;
}
.hourly-matrix-legend .current-key { color: #287fd0; }
.hourly-matrix-legend .best-key { color: #c96f00; }
.hourly-matrix-legend .second-key { color: #1f835f; }
.hourly-matrix-legend small { margin-left: auto; color: #7b91a3; font-size: 10px; font-weight: 650; }
.advice-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.advice-grid > div { padding: 14px; background: rgba(249, 253, 255, .96); }
.advice-grid span { color: var(--blue-dark); font-size: 11px; font-weight: 850; }
.advice-grid p { margin: 5px 0 0; color: #405d76; font-size: 13px; line-height: 1.6; }
.tool-stage .source-line { margin-top: 10px; }
.app-value {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 98px;
  display: block;
  overflow: hidden;
  padding: 48px 50px 50px;
  background: #eaf7fd;
  border: 1px solid rgba(105, 180, 222, .18);
  border-radius: 30px;
}
.app-value-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  align-items: end;
  gap: 48px;
  padding-bottom: 32px;
}
.app-value h2 {
  max-width: 650px;
  margin: 8px 0 16px;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.app-value p { max-width: 600px; margin: 0; color: var(--ink-soft); font-size: 16px; }
.app-value-action { display: grid; justify-items: start; gap: 10px; }
.platform-note {
  color: #315b7d;
  font-size: 12px;
  font-weight: 800;
}
.app-value-action small { color: #68839a; font-size: 11px; line-height: 1.5; }
.app-feature-gallery {
  display: grid;
  grid-template-columns: 1.18fr .82fr .82fr;
  gap: 16px;
}
.app-feature-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(105, 180, 222, .2);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(21, 76, 113, .1);
}
.app-feature-card figcaption { display: grid; gap: 3px; padding: 16px 18px 14px; }
.app-feature-card figcaption strong { font-size: 17px; }
.app-feature-card figcaption span { color: var(--ink-soft); font-size: 12px; }
.app-feature-card img {
  display: block;
  width: 100%;
  height: 430px;
  padding: 12px 12px 0;
  object-fit: contain;
  object-position: center top;
  background: #dff1fa;
}
.download-dialog {
  width: min(420px, calc(100% - 28px));
  max-width: none;
  padding: 0;
  color: var(--ink);
  background: #f7fcff;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 28px 90px rgba(5, 33, 57, .32);
}
.download-dialog::backdrop { background: rgba(7, 31, 51, .58); }
.download-dialog-card { display: grid; justify-items: center; padding: 24px 30px 30px; text-align: center; }
.download-dialog-card form { width: 100%; display: flex; justify-content: flex-end; }
.dialog-close {
  min-height: 38px;
  padding: 0 13px;
  color: #42617b;
  background: #e8f3f9;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.download-dialog h2 { margin: 8px 0 4px; font-size: 28px; line-height: 1.18; }
.download-dialog p { margin: 0 0 18px; color: var(--ink-soft); font-size: 14px; }
.app-store-qr {
  width: 242px;
  height: 242px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.result-download-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(235, 248, 255, .98), rgba(247, 252, 255, .95));
  border: 1px solid #cfe5f2;
  border-radius: 18px;
}
.result-download-cta > div { display: grid; gap: 4px; }
.result-download-cta > div > span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .06em; }
.result-download-cta strong { color: var(--ink); font-size: 18px; }
.result-download-cta p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.result-download-cta .app-store-button { white-space: nowrap; }
.dialog-platform-note { margin-top: 14px; color: #315b7d; font-size: 13px; }
.dialog-store-link { margin-top: 8px; color: var(--blue-dark); font-size: 12px; font-weight: 750; }
.guide-section { margin-bottom: 84px; }
.guide-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.guide-link {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.guide-link:nth-child(odd) { border-right: 1px solid var(--line); }
.guide-link span { color: var(--blue); font-size: 11px; font-weight: 800; }
.guide-link strong { font-size: 17px; }
.guide-link b { color: var(--blue); font-size: 18px; transition: transform .18s ease; }
.guide-link:hover b { transform: translateX(4px); }

@media (max-width: 1024px) {
  .tool-stage .fish-options { display: flex; overflow-x: auto; }
  .tool-stage .fish-choice { min-width: 76px; }
  .tool-stage .fish-scroll-hint { display: block; }
  .hourly-matrix { --matrix-column-width: 92px; }
  .app-value { padding-inline: 38px; }
  .app-feature-card img { height: 380px; }
  .result-head { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 820px) {
  .home-intro { display: block; margin-top: 18px; }
  .home-intro > p { margin-top: 18px; }
  .tool-stage { margin-bottom: 68px; }
  .result-head { grid-template-columns: 1fr; }
  .result-head .window-grid { grid-template-columns: repeat(3, 1fr); }
  .app-value { padding-inline: 30px; }
  .app-value-copy { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .app-feature-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-feature-card img { height: 330px; }
  .advice-grid { grid-template-columns: 1fr; }
  .guide-list { grid-template-columns: 1fr; }
  .guide-link:nth-child(odd) { border-right: 0; }
}

@media (max-width: 600px) {
  .home-intro, .tool-stage, .app-value {
    width: min(100% - 28px, 100%);
  }
  .home-intro { margin-bottom: 16px; }
  .home-intro h1 { font-size: clamp(43px, 12.5vw, 56px); }
  .home-intro > p { margin-top: 12px; font-size: 14px; line-height: 1.6; }
  .tool-stage .weather-shell { margin: 0; border-radius: 25px; }
  .tool-stage .tool-content { padding: 18px 14px; }
  .tool-header { align-items: flex-start; }
  .tool-header strong { font-size: 17px; }
  .privacy-note { font-size: 11px; }
  .tool-stage .fish-picker { padding: 12px 8px; }
  .tool-stage .fish-options {
    margin-right: -8px;
    padding-right: 34px;
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
  }
  .fish-scroll-hint { display: block; }
  .pre-query-panel { align-items: stretch; flex-direction: column; gap: 12px; padding: 15px; }
  .pre-query-panel .locate-button { width: 100%; }
  .tool-stage .result-panel { padding: 12px; }
  .result-head .score-summary { padding: 4px; }
  .result-head .window-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-head .window-grid > * { min-height: 86px; align-content: center; padding: 10px; }
  .result-head .window-grid .peak-window {
    grid-column: 1 / -1;
    min-height: 48px;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .result-head .window-grid strong { font-size: 14px; }
  .window-action small { font-size: 9px; }
  .tool-stage .metric-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }
  .tool-stage .metric-card { min-width: 0; padding: 9px 3px; }
  .tool-stage .metric-card strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .hourly-score, .today-advice { padding: 12px 10px; }
  .hourly-overview { padding: 10px 8px 7px; }
  .hourly-overview-heading span { font-size: 9px; }
  .hourly-overview-bars { min-height: 68px; gap: 1px; }
  .hourly-overview-bar { grid-template-rows: 51px 13px; }
  .hourly-overview-score { font-size: 7px; }
  .hourly-matrix {
    --matrix-column-width: 82px;
    --matrix-rows: 44px 54px 66px 42px 44px 54px 58px;
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .hourly-matrix-label { padding-inline: 7px; font-size: 10px; }
  .hourly-matrix-cell { padding-inline: 4px; }
  .hourly-matrix-legend { flex-wrap: wrap; gap: 6px 9px; }
  .hourly-matrix-legend small { width: 100%; display: block; margin-left: 0; }
  .panel-heading small { display: none; }
  .advice-grid > div { padding: 12px; }
  .result-download-cta {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }
  .result-download-cta strong { font-size: 17px; }
  .result-download-cta .app-store-button { width: 100%; }
  .app-value {
    display: block;
    margin-bottom: 64px;
    padding: 28px 16px 18px;
    border-radius: 25px;
  }
  .app-value-copy { padding-inline: 8px; padding-bottom: 24px; }
  .app-value h2 { font-size: 32px; }
  .app-value p { font-size: 14px; }
  .app-value-action { justify-items: stretch; }
  .app-value-action .app-store-button { width: 100%; }
  .app-feature-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x mandatory;
  }
  .app-feature-card { flex: 0 0 calc(100% - 34px); scroll-snap-align: start; }
  .app-feature-card img { height: auto; max-height: 560px; }
  .download-dialog-card { padding: 20px 22px 26px; }
  .guide-link { grid-template-columns: 86px minmax(0, 1fr) auto; gap: 10px; padding-inline: 4px; }
  .guide-link strong { font-size: 15px; }
}
