/* ==========================================================================
   GuoYe.com · 果野水果图鉴
   01. Tokens & reset
   02. Header / hero
   03. Index & fruit cards
   04. Flavor map
   05. Season calendar
   06. Field notes / CTA / footer
   07. Dialogs / compare / tray
   08. Responsive
   ========================================================================== */

/* 01. Tokens & reset ------------------------------------------------------ */
:root {
  --paper: #f3efe3;
  --paper-2: #ebe5d6;
  --cream: #fbf8ee;
  --white: #fffdf8;
  --ink: #17241b;
  --ink-soft: #4d594e;
  --muted: #626a5e;
  --line: rgba(23, 36, 27, 0.14);
  --line-strong: rgba(23, 36, 27, 0.28);
  --forest: #163b2b;
  --forest-deep: #0d291d;
  --forest-mid: #20503a;
  --lime: #dce76b;
  --lime-soft: #edf2b9;
  --lime-deep: #a9b83d;
  --tomato: #dd5b43;
  --tomato-soft: #f3c9bd;
  --shadow-sm: 0 2px 8px rgba(24, 36, 26, 0.05);
  --shadow-md: 0 18px 48px rgba(24, 36, 26, 0.1);
  --shadow-lg: 0 30px 80px rgba(10, 25, 17, 0.18);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --page-pad: clamp(22px, 5vw, 76px);
  --section-gap: clamp(84px, 10vw, 136px);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --font-scale: 1;
}

html[data-font="xs"] { --font-scale: 0.86; }
html[data-font="sm"] { --font-scale: 0.92; }
html[data-font="md"] { --font-scale: 1; }
html[data-font="lg"] { --font-scale: 1.08; }
html[data-font="xl"] { --font-scale: 1.16; }
html[data-font="xxl"] { --font-scale: 1.25; }

html[data-theme="ocean"] {
  --paper: #eaf2f3;
  --paper-2: #dce8ea;
  --cream: #f8fcfc;
  --white: #ffffff;
  --ink: #142a31;
  --ink-soft: #3e565c;
  --muted: #566d72;
  --line: rgba(20, 42, 49, 0.14);
  --line-strong: rgba(20, 42, 49, 0.28);
  --forest: #153b4a;
  --forest-deep: #092733;
  --forest-mid: #20556a;
  --lime: #c9e2e6;
  --lime-soft: #e5f2f4;
  --lime-deep: #7da9b3;
  --tomato: #d8644d;
  --tomato-soft: #f1c8bd;
}

html[data-theme="clay"] {
  --paper: #f6eadf;
  --paper-2: #ecd9c7;
  --cream: #fff8ef;
  --white: #fffdf9;
  --ink: #2c211a;
  --ink-soft: #5b4639;
  --muted: #6d594b;
  --line: rgba(44, 33, 26, 0.14);
  --line-strong: rgba(44, 33, 26, 0.28);
  --forest: #4b2b1d;
  --forest-deep: #2f180f;
  --forest-mid: #6a3c25;
  --lime: #ecc58d;
  --lime-soft: #f7e3c6;
  --lime-deep: #bd8b4f;
  --tomato: #c65f43;
  --tomato-soft: #f0c9b8;
}

html[data-theme="sakura"] {
  --paper: #f7eaec;
  --paper-2: #efd9dd;
  --cream: #fff8f8;
  --white: #fffdfd;
  --ink: #2b1d22;
  --ink-soft: #5a4249;
  --muted: #6d565d;
  --line: rgba(43, 29, 34, 0.14);
  --line-strong: rgba(43, 29, 34, 0.28);
  --forest: #4d2230;
  --forest-deep: #32121f;
  --forest-mid: #6c3244;
  --lime: #f1c3cd;
  --lime-soft: #fbe0e5;
  --lime-deep: #c67f90;
  --tomato: #c65458;
  --tomato-soft: #f0c6c4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: calc(15px * var(--font-scale, 1));
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  background: var(--lime);
  color: var(--forest-deep);
}

h1, h2, h3, h4, p, dl, dd, dt, figure {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

svg {
  display: block;
}

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--tomato);
  outline-offset: 3px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  transform: translateY(-180%);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: calc(13px * var(--font-scale, 1));
  transition: transform 0.2s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 02. Header / hero ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  background: rgba(243, 239, 227, 0.84);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  transition: border-color 0.25s ease, background 0.25s ease;
}

body.is-scrolled .site-header {
  border-bottom-color: var(--line);
  background: rgba(247, 243, 233, 0.93);
}

html[data-theme] .site-header {
  background: color-mix(in srgb, var(--paper) 84%, transparent);
}

html[data-theme] body.is-scrolled .site-header {
  background: color-mix(in srgb, var(--paper) 93%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 37px;
  height: 37px;
  color: var(--forest);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.04);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-size: calc(19px * var(--font-scale, 1));
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand__text small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.21em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  font-size: calc(13px * var(--font-scale, 1));
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1.5px;
  background: var(--tomato);
  transition: right 0.3s var(--ease);
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.settings-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 72%, transparent);
  color: var(--ink-soft);
  font-size: calc(12px * var(--font-scale, 1));
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.settings-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
}

.settings-btn:hover {
  border-color: var(--forest);
  background: var(--lime-soft);
  color: var(--forest);
  transform: translateY(-1px);
}

.compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 9px 0 16px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: calc(12.5px * var(--font-scale, 1));
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.compare-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.compare-btn:hover {
  background: var(--forest-mid);
  transform: translateY(-1px);
}

.compare-count {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: calc(10.5px * var(--font-scale, 1));
  font-weight: 700;
  transition: background 0.25s ease;
}

.compare-btn.has-items .compare-count {
  background: var(--tomato);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  max-width: 1440px;
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: clamp(46px, 6vh, 82px) var(--page-pad) clamp(58px, 7vh, 92px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.hero::before {
  top: 7%;
  left: 32%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(238, 201, 92, 0.2), transparent 67%);
}

.hero::after {
  right: 55%;
  bottom: 4%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(154, 178, 65, 0.16), transparent 68%);
}

.hero__text {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(9.5px * var(--font-scale, 1));
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow__line {
  width: 31px;
  height: 1px;
  background: var(--ink);
}

.eyebrow__domain {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: 0.12em;
}

.eyebrow__divider {
  margin: 0 -4px;
  color: var(--tomato);
  opacity: 0.7;
}

.eyebrow__cn {
  padding-left: 11px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-sans);
  font-size: calc(10px * var(--font-scale, 1));
  letter-spacing: 0.06em;
}

.hero h1 {
  max-width: 720px;
  margin-top: clamp(24px, 3.5vh, 38px);
  font-size: clamp(calc(57px * var(--font-scale, 1)), calc(6.4vw * var(--font-scale, 1)), calc(95px * var(--font-scale, 1)));
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.065em;
}

.hero__accent {
  position: relative;
  display: inline-block;
  color: var(--tomato);
}

.hero__accent svg {
  position: absolute;
  left: 1%;
  bottom: -0.1em;
  width: 101%;
  height: 0.2em;
  color: var(--lime-deep);
  overflow: visible;
}

.hero__accent svg path {
  stroke-dasharray: 230;
  stroke-dashoffset: 230;
  animation: drawUnderline 1s 0.7s var(--ease) forwards;
}

@keyframes drawUnderline {
  to { stroke-dashoffset: 0; }
}

.hero__lede {
  max-width: 500px;
  margin-top: clamp(22px, 3vh, 30px);
  color: var(--ink-soft);
  font-size: clamp(calc(14.5px * var(--font-scale, 1)), calc(1.1vw * var(--font-scale, 1)), calc(16.5px * var(--font-scale, 1)));
  line-height: 1.85;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 11px;
  width: min(100%, 540px);
  height: 60px;
  margin-top: clamp(26px, 3.5vh, 36px);
  padding: 6px 6px 6px 19px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 6px 26px rgba(28, 41, 30, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-search:focus-within {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(22, 59, 43, 0.08), 0 6px 26px rgba(28, 41, 30, 0.06);
}

.hero-search > svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--forest);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: calc(13.5px * var(--font-scale, 1));
}

.hero-search input::placeholder {
  color: #92988b;
}

.hero-search button {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 21px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: calc(12.5px * var(--font-scale, 1));
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-search button span {
  display: inline-block;
  margin-left: 3px;
  transition: transform 0.25s ease;
}

.hero-search button:hover {
  background: var(--lime);
  color: var(--forest);
}

.hero-search button:hover span {
  transform: translate(2px, -2px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 49px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: calc(13px * var(--font-scale, 1));
  font-weight: 550;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

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

.button--primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(22, 59, 43, 0.13);
}

.button--primary:hover {
  background: var(--forest-mid);
  box-shadow: 0 12px 26px rgba(22, 59, 43, 0.18);
}

.button--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--forest);
  background: var(--white);
}

.button--lime {
  background: var(--forest);
  color: var(--lime);
}

.button--outline-light {
  border-color: currentColor;
  background: transparent;
  color: var(--forest);
}

.button--outline-light:hover {
  background: var(--forest);
  color: var(--lime);
}

.dice {
  display: inline-block;
  color: var(--tomato);
  transition: transform 0.45s var(--ease);
}

.button--ghost:hover .dice {
  transform: rotate(90deg) scale(1.15);
}

.hero__stats {
  display: flex;
  gap: clamp(22px, 3vw, 38px);
  margin-top: clamp(32px, 4.5vh, 48px);
}

.hero__stats > div {
  position: relative;
  padding-right: clamp(22px, 3vw, 38px);
}

.hero__stats > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 1px;
  height: 36px;
  background: var(--line);
}

.hero__stats dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  letter-spacing: 0.12em;
}

.hero__stats dd {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.hero__stats strong {
  font-family: var(--font-serif);
  font-size: calc(29px * var(--font-scale, 1));
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero__stats span {
  color: var(--muted);
  font-size: calc(10px * var(--font-scale, 1));
}

/* Hero spotlight */
.hero__visual {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}

.hero__orbit {
  position: absolute;
  z-index: 0;
  border: 1px dashed rgba(22, 59, 43, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.hero__orbit--one {
  top: -28px;
  right: -36px;
  width: 230px;
  height: 230px;
}

.hero__orbit--two {
  left: -54px;
  bottom: 42px;
  width: 150px;
  height: 150px;
  border-style: solid;
  border-color: rgba(221, 91, 67, 0.25);
}

.spotlight {
  --spot-tint: #e8e5c0;
  --spot-deep: #677228;
  --spot-accent: #99a344;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 505px;
  min-height: clamp(590px, 69vh, 660px);
  margin-left: auto;
  padding: 21px 21px 17px;
  overflow: hidden;
  border: 1px solid rgba(23, 36, 27, 0.16);
  border-radius: 33px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0) 45%),
    var(--spot-tint);
  box-shadow: 0 34px 70px rgba(25, 40, 29, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  transition: background-color 0.55s ease;
  transform: rotate(0.35deg);
  cursor: pointer;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(rgba(23, 36, 27, 0.65) 0.7px, transparent 0.7px);
  background-size: 13px 13px;
  mask-image: linear-gradient(160deg, #000, transparent 54%);
  -webkit-mask-image: linear-gradient(160deg, #000, transparent 54%);
}

.spotlight__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.spotlight__month {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(23, 36, 27, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.46);
  font-size: calc(10.5px * var(--font-scale, 1));
  font-weight: 550;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.spotlight__month::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spot-deep);
}

.spotlight__counter {
  font-family: var(--font-mono);
  font-size: calc(9.5px * var(--font-scale, 1));
  letter-spacing: 0.08em;
  color: rgba(23, 36, 27, 0.62);
}

.spotlight__stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 320px;
  margin: 4px 0 2px;
}

.spotlight__ghost {
  position: absolute;
  top: 2%;
  right: 2%;
  color: rgba(23, 36, 27, 0.07);
  font-family: var(--font-serif);
  font-size: clamp(calc(108px * var(--font-scale, 1)), calc(12vw * var(--font-scale, 1)), calc(154px * var(--font-scale, 1)));
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.09em;
  user-select: none;
}

.spotlight__halo {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border: 1px dashed rgba(23, 36, 27, 0.2);
  border-radius: 50%;
  background: rgba(255, 253, 246, 0.22);
}

.spotlight__halo::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(23, 36, 27, 0.08);
  border-radius: 50%;
}

.spotlight__art {
  position: relative;
  z-index: 2;
  width: min(86%, 340px);
  transform: translateY(0);
  filter: drop-shadow(0 26px 24px rgba(33, 43, 24, 0.18));
  animation: fruitFloat 5.5s ease-in-out infinite;
}

.spotlight__art .fruit-svg {
  width: 100%;
  height: auto;
}

@keyframes fruitFloat {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-9px) rotate(0.6deg); }
}

.spotlight.is-swapping .spotlight__art {
  animation: artSwap 0.32s var(--ease);
}

@keyframes artSwap {
  0% { opacity: 0; transform: translateY(13px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.spotlight__sticker {
  position: absolute;
  right: 3%;
  bottom: 6%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 14px;
  border: 1px solid var(--forest);
  border-radius: 13px;
  background: var(--lime);
  color: var(--forest);
  box-shadow: 3px 4px 0 var(--forest);
  transform: rotate(5deg);
  transition: transform 0.3s var(--ease);
}

.spotlight__sticker span {
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.12em;
}

.spotlight__sticker b {
  font-size: calc(11px * var(--font-scale, 1));
  font-weight: 700;
  white-space: nowrap;
}

.spotlight:hover .spotlight__sticker {
  transform: rotate(1deg) translateY(-2px);
}

.spotlight__foot {
  position: relative;
  z-index: 2;
  padding: 0 4px 2px;
}

.spotlight__en {
  color: var(--spot-deep);
  font-family: var(--font-mono);
  font-size: calc(9px * var(--font-scale, 1));
  letter-spacing: 0.14em;
}

.spotlight__foot h2 {
  margin-top: 1px;
  font-size: clamp(calc(34px * var(--font-scale, 1)), calc(3.2vw * var(--font-scale, 1)), calc(43px * var(--font-scale, 1)));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.spotlight__tagline {
  margin-top: 4px;
  max-width: 330px;
  color: rgba(23, 36, 27, 0.7);
  font-size: calc(12.5px * var(--font-scale, 1));
  line-height: 1.6;
}

.spotlight__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid rgba(23, 36, 27, 0.13);
}

.spotlight__metric {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: calc(9px * var(--font-scale, 1));
  letter-spacing: 0.04em;
  color: rgba(23, 36, 27, 0.58);
}

.spotlight__metric b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: calc(11px * var(--font-scale, 1));
  font-weight: 600;
}

.spotlight__controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 11px;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 36, 27, 0.12);
}

.round-btn {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 36, 27, 0.28);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: calc(15px * var(--font-scale, 1));
  line-height: 1;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s var(--ease);
}

.round-btn:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-1px);
}

.round-btn--light {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--cream);
}

.round-btn--light:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--forest);
}

.round-btn--small {
  width: 33px;
  height: 33px;
  font-size: calc(13px * var(--font-scale, 1));
}

.spotlight__dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.spotlight__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(23, 36, 27, 0.22);
  transition: width 0.3s var(--ease), background 0.3s ease;
}

.spotlight__dot::after {
  content: "";
  position: absolute;
  inset: -7px;
}

.spotlight__dot.is-active {
  width: 22px;
  border-radius: 99px;
  background: var(--forest);
}

.spotlight__open {
  position: absolute;
  top: 65px;
  right: 20px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(23, 36, 27, 0.16);
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 8px 20px rgba(22, 59, 43, 0.18);
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s var(--ease);
}

.spotlight__open span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.spotlight__open svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spotlight__open:hover {
  background: var(--lime);
  color: var(--forest);
  transform: rotate(6deg) scale(1.04);
}

.float-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(23, 36, 27, 0.15);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.float-note--season {
  top: 38px;
  left: -24px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: calc(11px * var(--font-scale, 1));
  font-weight: 550;
  transform: rotate(-5deg);
}

.float-note__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 3px var(--lime-soft);
}

.float-note--hint {
  left: -30px;
  bottom: 56px;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 14px;
  color: var(--muted);
  font-size: calc(9.5px * var(--font-scale, 1));
  line-height: 1.5;
  transform: rotate(3deg);
}

.float-note--hint b {
  color: var(--ink);
  font-size: calc(11px * var(--font-scale, 1));
  font-weight: 600;
}

.float-note__spark {
  color: var(--tomato);
  font-size: calc(19px * var(--font-scale, 1));
  line-height: 1;
}

/* Ticker */
.ticker {
  overflow: hidden;
  padding: 15px 0;
  background: var(--forest);
  color: var(--lime);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.ticker span {
  font-size: calc(11px * var(--font-scale, 1));
  font-weight: 400;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.ticker i {
  color: var(--tomato-soft);
  font-size: calc(10px * var(--font-scale, 1));
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* 03. Index & fruit cards ------------------------------------------------ */
.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: var(--section-gap) var(--page-pad);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 5vw, 82px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 58px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(9px * var(--font-scale, 1));
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-kicker > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  height: 23px;
  padding: 0 5px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0;
}

.section-head h2 {
  max-width: 780px;
  font-size: clamp(calc(40px * var(--font-scale, 1)), calc(4.7vw * var(--font-scale, 1)), calc(66px * var(--font-scale, 1)));
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-head h2 em {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.3em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.section-head__title {
  min-width: 0;
}

.section-head__intro {
  justify-self: end;
  max-width: 385px;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: calc(13px * var(--font-scale, 1));
  line-height: 1.85;
}

.index-section {
  padding-top: clamp(72px, 8vw, 108px);
}

.index-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 37px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: calc(12px * var(--font-scale, 1));
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}

.chip small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
}

.chip:hover {
  border-color: var(--line-strong);
  background: var(--white);
  transform: translateY(-1px);
}

.chip.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.chip.is-active small {
  color: var(--lime);
}

.chip[data-category="odd"]::before {
  content: "✦";
  margin-right: 1px;
  color: var(--tomato);
  font-size: calc(8px * var(--font-scale, 1));
  line-height: 1;
}

.chip[data-category="odd"].is-active::before {
  color: var(--lime);
}

.index-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 39px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(22, 59, 43, 0.07);
}

.search-box svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: calc(11.5px * var(--font-scale, 1));
}

.search-box input::placeholder {
  color: #979b8e;
}

.search-box kbd {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(9px * var(--font-scale, 1));
  line-height: 1;
}

.season-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 39px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: calc(11.5px * var(--font-scale, 1));
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.season-toggle__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 3px var(--lime-soft);
}

.season-toggle__month {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
}

.season-toggle:hover {
  border-color: var(--line-strong);
  background: var(--white);
}

.season-toggle[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--lime);
}

.season-toggle[aria-pressed="true"] .season-toggle__month {
  color: rgba(220, 231, 107, 0.65);
}

.season-toggle[aria-pressed="true"] .season-toggle__dot {
  background: var(--lime);
  box-shadow: none;
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 39px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: calc(10px * var(--font-scale, 1));
  white-space: nowrap;
}

.sort-box select {
  max-width: 118px;
  padding-right: 2px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: calc(11px * var(--font-scale, 1));
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.sort-box svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  pointer-events: none;
}

.result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0 16px;
}

.result-line p {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(9.5px * var(--font-scale, 1));
  letter-spacing: 0.05em;
}

.text-btn {
  color: var(--muted);
  font-size: calc(10.5px * var(--font-scale, 1));
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.text-btn:hover {
  color: var(--ink);
}

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

.fruit-card {
  --card-tint: #f4e6b4;
  --card-deep: #b98517;
  --card-accent: #d9aa2c;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  transition: border-color 0.3s ease, transform 0.35s var(--ease), box-shadow 0.35s ease;
  animation: cardIn 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 35ms);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.fruit-card:hover {
  border-color: rgba(22, 59, 43, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 19px 44px rgba(25, 39, 28, 0.11);
}

.fruit-card:has(.card-hit:focus-visible) {
  outline: 2px solid var(--tomato);
  outline-offset: 3px;
}

.fruit-card:has(.card-compare[aria-pressed="true"]) {
  border-color: var(--forest);
  box-shadow: inset 0 0 0 1px var(--forest);
}

.card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.card-hit:focus-visible {
  outline: 0;
}

.card-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.18 / 1;
  min-height: 196px;
  margin: 8px 8px 0;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 253, 246, 0.55) 0 39%, transparent 40%),
    linear-gradient(155deg, var(--card-tint), rgba(255, 253, 246, 0.35));
  pointer-events: none;
}

.card-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  aspect-ratio: 1;
  border: 1px dashed rgba(23, 36, 27, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.6s var(--ease);
}

.card-visual::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -42%;
  width: 82%;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 36, 27, 0.08);
  border-radius: 50%;
}

.fruit-card:hover .card-visual::before {
  transform: translate(-50%, -50%) scale(1.08) rotate(8deg);
}

.card-no {
  position: absolute;
  top: 13px;
  left: 14px;
  z-index: 2;
  color: rgba(23, 36, 27, 0.54);
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  letter-spacing: 0.08em;
  pointer-events: none;
}

.card-season-badge {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(23, 36, 27, 0.13);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.64);
  color: rgba(23, 36, 27, 0.62);
  font-size: calc(8.5px * var(--font-scale, 1));
  font-weight: 500;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.card-season-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.card-season-badge.is-now {
  border-color: var(--forest);
  background: var(--lime);
  color: var(--forest);
}

.card-match {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  overflow: hidden;
  padding: 5px 9px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: var(--lime);
  font-size: calc(8.5px * var(--font-scale, 1));
  font-weight: 550;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.card-art {
  position: relative;
  z-index: 1;
  width: 78%;
  max-width: 215px;
  padding-top: 6px;
  filter: drop-shadow(0 16px 14px rgba(38, 49, 26, 0.14));
  transition: transform 0.55s var(--ease), filter 0.4s ease;
}

.card-art .fruit-svg {
  width: 100%;
  height: auto;
}

.fruit-card:hover .card-art {
  transform: scale(1.055) rotate(-2deg) translateY(-4px);
  filter: drop-shadow(0 22px 18px rgba(38, 49, 26, 0.18));
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 17px 16px;
  pointer-events: none;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.card-heading h3 {
  font-size: calc(23px * var(--font-scale, 1));
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.card-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  letter-spacing: 0.06em;
}

.card-arrow {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: calc(11px * var(--font-scale, 1));
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s var(--ease);
}

.fruit-card:hover .card-arrow {
  background: var(--forest);
  color: var(--cream);
  transform: rotate(45deg);
}

.card-tagline {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 9px;
  min-height: 37px;
  color: var(--ink-soft);
  font-size: calc(12px * var(--font-scale, 1));
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(9.5px * var(--font-scale, 1));
}

.card-meta i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.card-flavor {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: calc(9px * var(--font-scale, 1));
}

.card-flavor b {
  min-width: 16px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: calc(9px * var(--font-scale, 1));
  font-weight: 600;
  text-align: right;
}

.card-meter {
  width: 45px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 36, 27, 0.1);
}

.card-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--card-deep);
}

.card-compare {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 29px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: calc(10px * var(--font-scale, 1));
  line-height: 1;
  pointer-events: auto;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.card-compare:hover {
  border-color: var(--forest);
  background: var(--paper);
  color: var(--ink);
}

.card-compare[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--lime);
}

.card-compare .compare-plus {
  font-size: calc(12px * var(--font-scale, 1));
  line-height: 0.7;
}

.empty-state {
  padding: 78px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 28px;
  text-align: center;
}

.empty-state__mark {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--lime-soft);
  color: var(--forest);
  font-size: calc(24px * var(--font-scale, 1));
}

.empty-state h3 {
  font-size: calc(24px * var(--font-scale, 1));
  letter-spacing: -0.03em;
}

.empty-state p {
  margin: 7px 0 20px;
  color: var(--muted);
  font-size: calc(13px * var(--font-scale, 1));
}

/* 04. Flavor map --------------------------------------------------------- */
.flavor-section {
  max-width: none;
  margin-top: clamp(20px, 4vw, 48px);
  padding-right: max(var(--page-pad), calc((100vw - 1440px) / 2 + var(--page-pad)));
  padding-left: max(var(--page-pad), calc((100vw - 1440px) / 2 + var(--page-pad)));
  background: var(--forest);
  color: var(--cream);
}

.section-head--light .section-kicker {
  color: rgba(251, 248, 238, 0.5);
}

.section-head--light .section-kicker > span {
  border-color: rgba(251, 248, 238, 0.28);
  color: var(--lime);
}

.section-head--light h2 {
  color: var(--cream);
}

.section-head--light h2 em,
.section-head--light .section-head__intro {
  color: rgba(251, 248, 238, 0.55);
}

.flavor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 342px;
  gap: 22px;
  align-items: start;
}

.chart-shell {
  min-width: 0;
  padding: 19px 22px 18px;
  border: 1px solid rgba(251, 248, 238, 0.13);
  border-radius: 27px;
  background: rgba(251, 248, 238, 0.035);
}

.chart-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(251, 248, 238, 0.4);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.1em;
}

.flavor-plot {
  position: relative;
  height: 480px;
  margin: 20px 0 0;
}

.plot-grid {
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(251, 248, 238, 0.17);
  border-bottom: 1px solid rgba(251, 248, 238, 0.17);
  background-image:
    linear-gradient(to right, rgba(251, 248, 238, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(251, 248, 238, 0.065) 1px, transparent 1px);
  background-size: 10% 10%;
  -webkit-mask-image: linear-gradient(to right, #000 96%, transparent);
  mask-image: linear-gradient(to right, #000 96%, transparent);
}

.plot-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(251, 248, 238, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(251, 248, 238, 0.14) 1px, transparent 1px);
  background-size: 50% 50%;
}

.quadrant {
  position: absolute;
  z-index: 0;
  color: rgba(251, 248, 238, 0.2);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.12em;
  pointer-events: none;
}

.quadrant--tl { top: 13px; left: 15px; }
.quadrant--tr { top: 13px; right: 15px; }
.quadrant--bl { bottom: 11px; left: 15px; }
.quadrant--br { right: 15px; bottom: 11px; }

.flavor-dot {
  --dot: #dce76b;
  position: absolute;
  z-index: 2;
  display: block;
  width: var(--dot-size, 16px);
  height: var(--dot-size, 16px);
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, 50%);
  transition: z-index 0s;
}

.flavor-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(13, 41, 29, 0.35);
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 2px rgba(251, 248, 238, 0.18);
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease;
}

.flavor-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
}

.flavor-dot:hover,
.flavor-dot.is-active {
  z-index: 5;
}

.flavor-dot:hover::before {
  transform: scale(1.25);
}

.flavor-dot.is-active::before {
  box-shadow: 0 0 0 3px var(--forest), 0 0 0 5px var(--lime);
  transform: scale(1.08);
}

.flavor-dot__name {
  position: absolute;
  top: 50%;
  left: calc(100% + 7px);
  padding: 1px 3px;
  border-radius: 3px;
  background: rgba(22, 59, 43, 0.55);
  color: rgba(251, 248, 238, 0.72);
  font-size: calc(9.5px * var(--font-scale, 1));
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transition: opacity 0.16s ease, color 0.2s ease, background 0.2s ease, visibility 0.16s ease;
  pointer-events: none;
}

.flavor-dot:hover .flavor-dot__name,
.flavor-dot:focus-visible .flavor-dot__name,
.flavor-dot.is-active .flavor-dot__name {
  opacity: 1;
  visibility: visible;
}

.flavor-dot.label-left .flavor-dot__name {
  right: calc(100% + 7px);
  left: auto;
}

.flavor-dot.label-top .flavor-dot__name {
  top: auto;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
}

.flavor-dot.label-bottom .flavor-dot__name {
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
}

.flavor-dot.is-active .flavor-dot__name {
  background: var(--lime);
  color: var(--forest);
  font-weight: 650;
}

.axis-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 9px;
  color: rgba(251, 248, 238, 0.38);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.08em;
}

.axis-row span:nth-child(2) {
  margin-left: auto;
  margin-right: auto;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(251, 248, 238, 0.12);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(251, 248, 238, 0.5);
  font-size: calc(9px * var(--font-scale, 1));
}

.legend-item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--legend-color);
}

.flavor-picker {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 9px;
  min-width: 0;
}

.flavor-picker__label {
  flex: 0 0 auto;
  padding-top: 7px;
  color: rgba(251, 248, 238, 0.38);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.flavor-picker__list {
  display: flex;
  gap: 4px;
  min-width: 0;
  padding: 2px 0 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(251, 248, 238, 0.2) transparent;
}

.flavor-picker__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(251, 248, 238, 0.13);
  border-radius: 999px;
  background: rgba(251, 248, 238, 0.035);
  color: rgba(251, 248, 238, 0.62);
  font-size: calc(9px * var(--font-scale, 1));
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.flavor-picker__item i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dot);
}

.flavor-picker__item:hover {
  border-color: rgba(251, 248, 238, 0.28);
  background: rgba(251, 248, 238, 0.08);
  color: var(--cream);
}

.flavor-picker__item.is-active {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--forest);
  font-weight: 650;
}

.flavor-picker__item.is-active i {
  background: var(--forest);
}

.chart-note {
  margin-top: 10px;
  color: rgba(251, 248, 238, 0.3);
  font-size: calc(8.5px * var(--font-scale, 1));
  line-height: 1.5;
}

.flavor-card {
  --fc-tint: #e8e5c0;
  --fc-deep: #677228;
  position: sticky;
  top: 98px;
  display: flex;
  flex-direction: column;
  min-height: 548px;
  overflow: hidden;
  border-radius: 27px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 24px 50px rgba(6, 21, 13, 0.18);
}

.flavor-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 19px 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.1em;
}

.flavor-card__art {
  position: relative;
  display: grid;
  place-items: center;
  height: 206px;
  margin: 8px 12px 0;
  overflow: hidden;
  border-radius: 19px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 253, 246, 0.66) 0 35%, transparent 36%),
    var(--fc-tint);
}

.flavor-card__art::before {
  content: "";
  position: absolute;
  width: 55%;
  aspect-ratio: 1;
  border: 1px dashed rgba(23, 36, 27, 0.18);
  border-radius: 50%;
}

.flavor-card__art .fruit-svg {
  position: relative;
  z-index: 1;
  width: 46%;
  filter: drop-shadow(0 16px 14px rgba(38, 49, 26, 0.16));
}

.flavor-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px 20px 19px;
}

.flavor-card__en {
  color: var(--fc-deep);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.12em;
}

.flavor-card__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2px;
}

.flavor-card__title h3 {
  font-size: calc(31px * var(--font-scale, 1));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.flavor-card__title span {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
}

.flavor-card__tagline {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: calc(11.5px * var(--font-scale, 1));
  line-height: 1.6;
}

.flavor-card__coords {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 14px;
}

.flavor-card__coord {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.52);
}

.flavor-card__coord span {
  display: block;
  color: var(--muted);
  font-size: calc(8px * var(--font-scale, 1));
}

.flavor-card__coord b {
  font-family: var(--font-mono);
  font-size: calc(14px * var(--font-scale, 1));
  font-weight: 600;
}

.flavor-card__note {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: calc(10.5px * var(--font-scale, 1));
  line-height: 1.6;
}

.flavor-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.flavor-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: calc(10.5px * var(--font-scale, 1));
  transition: background 0.2s ease, color 0.2s ease;
}

.flavor-card__link:hover {
  background: var(--forest-mid);
}

.flavor-card__tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--fc-tint);
  color: var(--fc-deep);
  font-size: calc(8.5px * var(--font-scale, 1));
}

/* 05. Season calendar ---------------------------------------------------- */
.season-section {
  padding-bottom: clamp(84px, 9vw, 120px);
}

.season-board {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 31px;
  background: var(--cream);
  box-shadow: 0 18px 55px rgba(26, 38, 28, 0.06);
}

.season-board__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.season-board__eyebrow {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  letter-spacing: 0.13em;
}

.season-board__head h3 {
  margin-top: 3px;
  font-size: clamp(calc(23px * var(--font-scale, 1)), calc(2.3vw * var(--font-scale, 1)), calc(29px * var(--font-scale, 1)));
  font-weight: 750;
  letter-spacing: -0.04em;
}

.season-nav {
  display: flex;
  gap: 7px;
}

.season-nav .round-btn {
  border-color: var(--line);
  color: var(--ink);
}

.season-nav .round-btn:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.month-rail {
  display: flex;
  gap: 7px;
  margin: 25px 0 0;
  padding-bottom: 3px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.month-btn {
  display: flex;
  flex: 1 0 61px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  height: 114px;
  padding: 10px 7px 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f2ede0;
  color: var(--ink-soft);
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s var(--ease), border-color 0.24s ease;
}

.month-btn:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.month-btn.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.month-btn__num {
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  opacity: 0.5;
}

.month-btn__name {
  font-size: calc(10px * var(--font-scale, 1));
  white-space: nowrap;
}

.month-btn__meter {
  display: flex;
  align-items: flex-end;
  width: 7px;
  height: 36px;
  margin: 4px 0 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(23, 36, 27, 0.09);
}

.month-btn__meter i {
  display: block;
  width: 100%;
  min-height: 8%;
  border-radius: 99px;
  background: var(--lime-deep);
  transition: height 0.4s var(--ease);
}

.month-btn.is-active .month-btn__meter {
  background: rgba(251, 248, 238, 0.15);
}

.month-btn.is-active .month-btn__meter i {
  background: var(--lime);
}

.month-btn__count {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
}

.month-btn.is-active .month-btn__count {
  color: rgba(220, 231, 107, 0.8);
}

.month-btn.is-now:not(.is-active) .month-btn__name {
  color: var(--tomato);
  font-weight: 650;
}

.season-detail {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  margin-top: 4px;
  padding-top: 29px;
  border-top: 1px solid var(--line);
}

.season-summary {
  padding-right: 16px;
}

.season-summary__num {
  color: var(--forest);
  font-family: var(--font-serif);
  font-size: calc(102px * var(--font-scale, 1));
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.09em;
}

.season-summary__label {
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(9px * var(--font-scale, 1));
  letter-spacing: 0.18em;
}

.season-summary__line {
  width: 45px;
  height: 1px;
  margin: 18px 0 14px;
  background: var(--line-strong);
}

.season-summary__count {
  font-size: calc(14px * var(--font-scale, 1));
  font-weight: 650;
}

.season-summary__tip {
  margin-top: 8px;
  color: var(--muted);
  font-size: calc(10.5px * var(--font-scale, 1));
  line-height: 1.7;
}

.season-fruits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}

.season-fruit {
  --sf-tint: #eee;
  --sf-deep: #555;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 74px;
  padding: 7px 10px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  text-align: left;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s var(--ease);
}

.season-fruit:hover {
  border-color: var(--line-strong);
  background: #fffaf0;
  transform: translateY(-2px);
}

.season-fruit__art {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 11px;
  background: var(--sf-tint);
}

.season-fruit__art .fruit-svg {
  width: 86%;
  height: auto;
  filter: drop-shadow(0 5px 4px rgba(38, 49, 26, 0.13));
}

.season-fruit__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.season-fruit__text b {
  font-size: calc(13px * var(--font-scale, 1));
  font-weight: 650;
  letter-spacing: -0.02em;
}

.season-fruit__text small {
  overflow: hidden;
  color: var(--muted);
  font-size: calc(8.5px * var(--font-scale, 1));
  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-fruit__arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: calc(10px * var(--font-scale, 1));
  transition: transform 0.22s var(--ease), color 0.22s ease;
}

.season-fruit:hover .season-fruit__arrow {
  color: var(--ink);
  transform: translate(1px, -1px);
}

.season-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: calc(12px * var(--font-scale, 1));
  text-align: center;
}

/* 06. Field notes / CTA / footer ---------------------------------------- */
.notes-section {
  display: grid;
  grid-template-columns: minmax(230px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
  padding-top: 0;
}

.notes-head h2 {
  margin-top: 17px;
  font-size: clamp(calc(36px * var(--font-scale, 1)), calc(4vw * var(--font-scale, 1)), calc(53px * var(--font-scale, 1)));
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.notes-head > p:last-child {
  max-width: 260px;
  margin-top: 17px;
  color: var(--muted);
  font-size: calc(12px * var(--font-scale, 1));
  line-height: 1.7;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.note-card {
  position: relative;
  min-height: 214px;
  padding: 23px 22px 21px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--cream);
}

.note-card__no {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
}

.note-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--forest);
}

.note-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.note-card h3 {
  font-size: calc(18px * var(--font-scale, 1));
  font-weight: 700;
  letter-spacing: -0.025em;
}

.note-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: calc(11px * var(--font-scale, 1));
  line-height: 1.75;
}

.note-card--accent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.note-card--accent .note-card__no {
  color: rgba(251, 248, 238, 0.4);
}

.note-card__quote {
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: calc(70px * var(--font-scale, 1));
  line-height: 0.6;
}

.note-card__saying {
  margin-top: 0 !important;
  color: var(--cream) !important;
  font-family: var(--font-serif);
  font-size: clamp(calc(17px * var(--font-scale, 1)), calc(1.6vw * var(--font-scale, 1)), calc(21px * var(--font-scale, 1))) !important;
  font-weight: 500;
  line-height: 1.65 !important;
  letter-spacing: 0.01em;
}

.note-card__small {
  margin-top: 16px !important;
  color: rgba(251, 248, 238, 0.45) !important;
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1)) !important;
  letter-spacing: 0.08em;
}

.bottom-cta {
  position: relative;
  max-width: 1440px;
  margin: 0 auto clamp(30px, 4vw, 52px);
  padding: 0 var(--page-pad);
}

.bottom-cta__inner {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 76px);
  border-radius: 32px;
  background: var(--lime);
  color: var(--forest);
}

.bottom-cta__inner::before {
  content: "";
  position: absolute;
  top: -35%;
  right: -8%;
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid rgba(22, 59, 43, 0.22);
  border-radius: 50%;
}

.bottom-cta__inner::after {
  content: "";
  position: absolute;
  right: 14%;
  bottom: -58%;
  width: 52%;
  aspect-ratio: 1;
  border: 1px dashed rgba(22, 59, 43, 0.2);
  border-radius: 50%;
}

.bottom-cta .section-kicker {
  position: relative;
  z-index: 1;
  color: rgba(22, 59, 43, 0.58);
}

.bottom-cta .section-kicker > span {
  border-color: rgba(22, 59, 43, 0.3);
  color: var(--forest);
}

.bottom-cta h2 {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: clamp(calc(53px * var(--font-scale, 1)), calc(7.7vw * var(--font-scale, 1)), calc(108px * var(--font-scale, 1)));
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.bottom-cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 31px;
}

.bottom-cta__fruit {
  position: absolute;
  right: 9%;
  top: 37%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  color: var(--forest);
  transform: rotate(-9deg);
}

.bottom-cta__fruit span {
  font-size: calc(31px * var(--font-scale, 1));
  opacity: 0.38;
}

.bottom-cta__fruit span:nth-child(2) {
  margin-left: 78px;
  font-size: calc(51px * var(--font-scale, 1));
  opacity: 0.55;
}

.bottom-cta__fruit span:nth-child(3) {
  margin-left: -46px;
  font-size: calc(23px * var(--font-scale, 1));
  opacity: 0.3;
}

.site-footer {
  padding: clamp(48px, 6vw, 72px) var(--page-pad) 27px;
  background: var(--forest-deep);
  color: var(--cream);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(251, 248, 238, 0.13);
}

.brand--footer {
  color: var(--cream);
}

.brand--footer .brand__text small {
  color: rgba(251, 248, 238, 0.45);
}

.brand--footer .brand__mark {
  color: var(--cream);
}

.footer-brand > p {
  max-width: 320px;
  color: rgba(251, 248, 238, 0.5);
  font-size: calc(11.5px * var(--font-scale, 1));
  line-height: 1.8;
  text-align: right;
}

.footer-nav {
  display: flex;
  gap: clamp(60px, 12vw, 170px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 31px 0 43px;
}

.footer-nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-nav p {
  margin-bottom: 7px;
  color: rgba(251, 248, 238, 0.3);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.15em;
}

.footer-nav a,
.footer-nav span {
  color: rgba(251, 248, 238, 0.6);
  font-size: calc(11.5px * var(--font-scale, 1));
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 21px;
  border-top: 1px solid rgba(251, 248, 238, 0.13);
}

.footer-bottom p {
  color: rgba(251, 248, 238, 0.34);
  font-size: calc(8.5px * var(--font-scale, 1));
  line-height: 1.6;
}

.footer-bottom p:last-child {
  max-width: 430px;
  text-align: right;
}

/* 07. Dialogs / compare / tray ------------------------------------------ */
dialog {
  border: 0;
  padding: 0;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(8, 23, 15, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: backdropIn 0.3s ease both;
}

@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.detail-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(620px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  overflow: hidden;
  border-radius: 28px 0 0 28px;
  background: var(--paper);
  box-shadow: -25px 0 80px rgba(5, 17, 10, 0.3);
}

.detail-dialog[open] {
  animation: drawerIn 0.46s var(--ease) both;
}

@keyframes drawerIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.detail-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.detail-dialog:focus {
  outline: 0;
}

.detail-top {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 69px;
  padding: 11px 23px;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 227, 0.92);
  backdrop-filter: blur(10px);
}

html[data-theme] .detail-top {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.detail-top__identity {
  display: flex;
  align-items: center;
  min-width: 0;
}

.detail-top__thumb {
  display: grid;
  place-items: center;
  width: 0;
  height: 34px;
  flex: 0 0 auto;
  margin-right: 0;
  overflow: hidden;
  border: 0 solid transparent;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  opacity: 0;
  transform: translateX(-6px) scale(0.82);
  transition: width 0.25s var(--ease), margin 0.25s var(--ease), opacity 0.2s ease, transform 0.25s var(--ease), border-color 0.2s ease;
}

.detail-top.is-scrolled .detail-top__thumb {
  width: 34px;
  margin-right: 8px;
  border-width: 1px;
  border-color: var(--line);
  opacity: 1;
  transform: translateX(0) scale(1);
}

.detail-top__thumb .fruit-svg {
  width: 92%;
  height: 92%;
  filter: none;
}

.detail-top__meta {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-top__actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail-share {
  position: relative;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.detail-share svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-share:hover,
.detail-share.is-copied {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.detail-share.is-copy-failed {
  border-color: var(--tomato);
  background: var(--tomato);
  color: var(--cream);
}

.detail-share__tip {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 5;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--forest);
  color: var(--cream);
  font-size: calc(8px * var(--font-scale, 1));
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-3px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.detail-share.is-copied .detail-share__tip,
.detail-share.is-copy-failed .detail-share__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.detail-share.is-copy-failed .detail-share__tip {
  background: var(--tomato);
}

.detail-close {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 33px;
  margin-left: 5px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: calc(10px * var(--font-scale, 1));
  transition: background 0.2s ease, color 0.2s ease;
}

.detail-close:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.detail-close span {
  font-size: calc(16px * var(--font-scale, 1));
  font-weight: 300;
  line-height: 1;
}

.detail-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-anchor: none;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.detail-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 318px;
  margin: 19px 19px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 253, 246, 0.64) 0 36%, transparent 36.5%),
    var(--detail-tint);
}

.detail-hero::before {
  content: "";
  position: absolute;
  width: 56%;
  aspect-ratio: 1;
  border: 1px dashed rgba(23, 36, 27, 0.2);
  border-radius: 50%;
}

.detail-hero__art {
  position: relative;
  z-index: 1;
  width: min(64%, 300px);
  filter: drop-shadow(0 26px 25px rgba(38, 49, 26, 0.2));
}

.detail-hero__art .fruit-svg {
  width: 100%;
  height: auto;
}

.detail-hero__no {
  position: absolute;
  top: 15px;
  left: 17px;
  color: rgba(23, 36, 27, 0.55);
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
}

.detail-hero__badge {
  position: absolute;
  top: 13px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid rgba(23, 36, 27, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.62);
  color: var(--ink-soft);
  font-size: calc(9px * var(--font-scale, 1));
  backdrop-filter: blur(4px);
}

.detail-hero__badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime-deep);
}

.detail-hero__badge.is-now {
  border-color: var(--forest);
  background: var(--lime);
  color: var(--forest);
}

.detail-hero__badge.is-now::before {
  background: var(--forest);
}

/* Variety carousel inside the detail hero */
.variety-hero {
  display: block;
  min-height: 424px;
  padding: 24px 10px 12px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 253, 246, 0.68) 0 29%, transparent 29.5%),
    var(--detail-tint);
  transition: background-color 0.35s ease;
}

.variety-hero::before {
  top: 50%;
  left: 50%;
  width: min(62%, 300px);
  transform: translate(-50%, -50%);
}

.variety-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 308px;
  padding: 12px 2px 0;
}

.variety-side {
  display: flex;
  flex: 0 0 108px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-height: 108px;
  padding: 12px 10px;
  border: 1px solid rgba(23, 36, 27, 0.16);
  border-radius: 15px;
  background: rgba(255, 253, 246, 0.61);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 7px 18px rgba(33, 46, 28, 0.07);
  backdrop-filter: blur(4px);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.variety-side--next {
  align-items: flex-end;
  text-align: right;
}

.variety-side:hover {
  border-color: var(--forest);
  background: var(--white);
  box-shadow: 0 10px 22px rgba(33, 46, 28, 0.11);
  transform: translateY(-2px);
}

.variety-side__dir {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7px * var(--font-scale, 1));
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.variety-side b {
  max-width: 100%;
  font-size: calc(13px * var(--font-scale, 1));
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.025em;
  word-break: break-word;
}

.variety-side small {
  max-width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: calc(7.5px * var(--font-scale, 1));
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.variety-center {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.variety-hero .detail-hero__art {
  width: min(100%, 254px);
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.variety-current {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 3px;
  padding: 5px 10px;
  border: 1px solid rgba(23, 36, 27, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.63);
  color: var(--ink);
  font-size: calc(12.5px * var(--font-scale, 1));
  font-weight: 650;
  line-height: 1.4;
  backdrop-filter: blur(4px);
}

.variety-current em {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.variety-list {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  padding: 2px 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.variety-list::-webkit-scrollbar {
  display: none;
}

.variety-list__item {
  flex: 0 0 auto;
  height: 27px;
  padding: 0 9px;
  border: 1px solid rgba(23, 36, 27, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.45);
  color: rgba(23, 36, 27, 0.58);
  font-size: calc(9px * var(--font-scale, 1));
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.variety-list__item:hover {
  border-color: rgba(23, 36, 27, 0.35);
  background: rgba(255, 253, 246, 0.8);
}

.variety-list__item.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--lime);
  font-weight: 600;
}

.variety-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 9px 0;
}

.variety-wheel-hint {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.variety-wheel-toggle {
  flex: 0 0 auto;
  height: 23px;
  padding: 0 8px;
  border: 1px solid rgba(23, 36, 27, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.42);
  color: var(--muted);
  font-size: calc(7.5px * var(--font-scale, 1));
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.variety-wheel-toggle[aria-pressed="true"] {
  border-color: rgba(22, 59, 43, 0.3);
  background: rgba(220, 231, 107, 0.45);
  color: var(--forest);
}

.variety-wheel-toggle:hover {
  border-color: var(--forest);
}

.variety-hero.is-variety-switching .detail-hero__art {
  animation: varietyArtIn 0.34s var(--ease);
}

.variety-hero.is-variety-switching .variety-side {
  animation: varietySideIn 0.34s var(--ease);
}

.variety-hero.is-variety-switching.is-next .detail-hero__art {
  animation-name: varietyArtNext;
}

.variety-hero.is-variety-switching.is-prev .detail-hero__art {
  animation-name: varietyArtPrev;
}

.variety-hero.is-variety-switching.is-next .variety-side--next,
.variety-hero.is-variety-switching.is-prev .variety-side--prev {
  animation-name: varietySideSlide;
}

@keyframes varietyArtIn {
  from { opacity: 0.15; transform: translateY(6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes varietyArtNext {
  from { opacity: 0.1; transform: translateX(19px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes varietyArtPrev {
  from { opacity: 0.1; transform: translateX(-19px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes varietySideIn {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

@keyframes varietySideSlide {
  from { opacity: 0.2; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-body {
  padding: 24px 29px 35px;
}

.detail-en {
  color: var(--detail-deep);
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  letter-spacing: 0.13em;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 3px;
}

.detail-body h2 {
  flex: 1;
  min-width: 0;
  font-size: clamp(calc(33px * var(--font-scale, 1)), calc(4.4vw * var(--font-scale, 1)), calc(46px * var(--font-scale, 1)));
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}

.detail-title-row {
  align-items: center;
}

.detail-variety {
  flex: 0 0 auto;
  margin-top: 13px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--detail-tint);
  color: var(--detail-deep);
  font-size: calc(9.5px * var(--font-scale, 1));
  font-weight: 600;
}

.detail-variety-tagline {
  margin-top: 4px;
  color: var(--detail-deep);
  font-size: calc(11.5px * var(--font-scale, 1));
  font-weight: 500;
  line-height: 1.6;
}

.detail-intro {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: calc(12.5px * var(--font-scale, 1));
  line-height: 1.85;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: calc(9px * var(--font-scale, 1));
}

.tag--season {
  border-color: transparent;
  background: var(--detail-tint);
  color: var(--detail-deep);
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin-top: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-meta-row > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.detail-meta-row span {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.05em;
}

.detail-meta-row b {
  color: var(--ink-soft);
  font-size: calc(9.5px * var(--font-scale, 1));
  font-weight: 500;
}

.detail-section {
  margin-top: 28px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.detail-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.detail-section__head h3 {
  font-size: calc(15px * var(--font-scale, 1));
  font-weight: 700;
  letter-spacing: -0.02em;
}

.detail-section__head span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.11em;
}

.flavor-rows {
  display: grid;
  gap: 11px;
}

.flavor-row {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
}

.flavor-row__label {
  color: var(--ink-soft);
  font-size: calc(10.5px * var(--font-scale, 1));
}

.flavor-row__track {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(23, 36, 27, 0.09);
}

.flavor-row__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--detail-deep), var(--detail-tint));
}

.flavor-row__value {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(9px * var(--font-scale, 1));
  text-align: right;
}

.detail-note {
  margin-top: 13px;
  padding: 11px 13px;
  border-left: 2px solid var(--detail-deep);
  border-radius: 0 9px 9px 0;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: calc(10.5px * var(--font-scale, 1));
  line-height: 1.7;
}

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

.nutrition-cell {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.nutrition-cell span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: calc(8.5px * var(--font-scale, 1));
}

.nutrition-cell b {
  font-family: var(--font-mono);
  font-size: calc(18px * var(--font-scale, 1));
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nutrition-cell small {
  margin-left: 2px;
  color: var(--muted);
  font-size: calc(8.5px * var(--font-scale, 1));
}

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

.detail-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 5px 0;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
}

.detail-month i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(23, 36, 27, 0.13);
}

.detail-month.is-on {
  background: var(--detail-tint);
  color: var(--detail-deep);
}

.detail-month.is-on i {
  background: var(--detail-deep);
}

.detail-month.is-current {
  border-color: var(--detail-deep);
}

.detail-season-caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: calc(8.5px * var(--font-scale, 1));
}

.detail-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.detail-list {
  counter-reset: choosetip;
}

.detail-list li {
  position: relative;
  padding: 0 0 10px 25px;
  color: var(--ink-soft);
  font-size: calc(10.5px * var(--font-scale, 1));
  line-height: 1.7;
  counter-increment: choosetip;
}

.detail-list li::before {
  content: "0" counter(choosetip);
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--detail-deep);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
}

.detail-list li:last-child {
  padding-bottom: 0;
}

.storage-box {
  height: 100%;
  padding: 15px;
  border-radius: 13px;
  background: var(--lime-soft);
}

.storage-box span {
  display: block;
  margin-bottom: 5px;
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.1em;
}

.storage-box p {
  color: var(--forest);
  font-size: calc(10.5px * var(--font-scale, 1));
  line-height: 1.7;
}

.fun-fact {
  position: relative;
  margin-top: 23px;
  padding: 18px 19px 18px 53px;
  overflow: hidden;
  border-radius: 17px;
  background: var(--forest);
  color: var(--cream);
}

.fun-fact::before {
  content: "✳";
  position: absolute;
  top: 13px;
  left: 17px;
  color: var(--lime);
  font-size: calc(22px * var(--font-scale, 1));
}

.fun-fact span {
  display: block;
  margin-bottom: 3px;
  color: rgba(220, 231, 107, 0.7);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.12em;
}

.fun-fact p {
  color: rgba(251, 248, 238, 0.8);
  font-size: calc(10.5px * var(--font-scale, 1));
  line-height: 1.7;
}

.detail-use {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 17px;
}

.detail-use span {
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--white);
  color: var(--muted);
  font-size: calc(8.5px * var(--font-scale, 1));
}

.detail-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 83px;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  background: rgba(251, 248, 238, 0.94);
  backdrop-filter: blur(10px);
}

.detail-footer__name {
  display: flex;
  min-width: 0;
  padding-right: 8px;
  flex-direction: column;
}

.detail-footer__name span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.08em;
}

.detail-footer__name strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: calc(17px * var(--font-scale, 1));
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-compare-btn {
  height: 45px;
  min-width: 137px;
}

.detail-compare-btn.is-added {
  background: var(--lime);
  color: var(--forest);
  box-shadow: none;
}

.detail-compare-btn.is-limit {
  background: var(--tomato);
  color: var(--white);
  box-shadow: none;
}

/* Compare dialog */
.compare-dialog {
  width: min(1160px, calc(100vw - 44px));
  max-width: 1160px;
  max-height: 92dvh;
  margin: auto;
  overflow: hidden;
  border-radius: 29px;
  background: var(--paper);
  box-shadow: 0 35px 100px rgba(4, 15, 9, 0.4);
}

.compare-dialog[open] {
  animation: modalIn 0.35s var(--ease) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.compare-shell {
  display: flex;
  flex-direction: column;
  max-height: 92dvh;
}

.compare-top {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 29px 21px;
  background: var(--forest);
  color: var(--cream);
}

.compare-top .section-kicker {
  margin-bottom: 7px;
  color: rgba(251, 248, 238, 0.45);
}

.compare-top .section-kicker > span {
  border-color: rgba(251, 248, 238, 0.25);
  color: var(--lime);
}

.compare-top h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: calc(34px * var(--font-scale, 1));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.compare-top h2 span {
  color: rgba(251, 248, 238, 0.45);
  font-family: var(--font-mono);
  font-size: calc(10px * var(--font-scale, 1));
  font-weight: 400;
  letter-spacing: 0.05em;
}

.compare-top__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.text-btn--light {
  color: rgba(251, 248, 238, 0.5);
}

.text-btn--light:hover {
  color: var(--cream);
}

.compare-body {
  flex: 1;
  overflow: auto;
  padding: 20px 29px 30px;
  overscroll-behavior: contain;
}

.compare-add {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}

.compare-add > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.08em;
}

.compare-add__select {
  position: relative;
  display: flex;
  align-items: center;
  width: min(420px, 100%);
  height: 37px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.compare-add__select select {
  width: 100%;
  min-width: 0;
  padding-right: 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: calc(10.5px * var(--font-scale, 1));
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.compare-add__select svg {
  position: absolute;
  right: 12px;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.4;
  pointer-events: none;
}

.compare-add__chips {
  display: flex;
  gap: 5px;
  min-width: 0;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.compare-add__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  height: 31px;
  padding: 0 10px 0 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: calc(9.5px * var(--font-scale, 1));
  transition: border-color 0.2s ease, background 0.2s ease;
}

.compare-add__chip:hover {
  border-color: var(--forest);
  background: var(--cream);
}

.compare-add__chip i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--chip-tint);
}

.compare-add__chip .fruit-svg {
  width: 92%;
}

.compare-single-note {
  margin: -4px 0 13px;
  padding: 9px 12px;
  border-left: 2px solid var(--lime-deep);
  border-radius: 0 8px 8px 0;
  background: var(--lime-soft);
  color: var(--forest);
  font-size: calc(9.5px * var(--font-scale, 1));
}

.compare-scroll-hint {
  display: none;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.03em;
}

.compare-scroll-hint::before {
  content: "↔";
  color: var(--tomato);
  font-size: calc(13px * var(--font-scale, 1));
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.compare-table th,
.compare-table td {
  vertical-align: top;
}

.compare-table thead th {
  position: sticky;
  top: -20px;
  z-index: 5;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.compare-table thead .cmp-head {
  background: var(--white);
}

.compare-table thead .row-label {
  z-index: 6;
  background: var(--paper);
}

.compare-table .row-label {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 134px;
  padding: 14px 13px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: calc(10px * var(--font-scale, 1));
  font-weight: 400;
  text-align: left;
}

.compare-table .row-label small {
  display: block;
  margin-top: 3px;
  color: #999c8f;
  font-size: calc(7.5px * var(--font-scale, 1));
  line-height: 1.4;
}

.compare-table thead .row-label {
  border-top: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.1em;
  vertical-align: bottom;
}

.cmp-head {
  position: relative;
  min-width: 185px;
  padding: 11px 12px 13px;
  border: 1px solid var(--line);
  border-right: 0;
  border-top-left-radius: 17px;
  border-top-right-radius: 17px;
  background: var(--white);
  text-align: left;
}

.cmp-head:last-child {
  border-right: 1px solid var(--line);
}

.cmp-head + .cmp-head {
  border-left: 0;
}

.cmp-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  font-size: calc(13px * var(--font-scale, 1));
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cmp-remove:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.cmp-head__art {
  position: relative;
  display: grid;
  place-items: center;
  height: 117px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 253, 246, 0.7) 0 34%, transparent 35%),
    var(--cmp-tint);
}

.cmp-head__art::before {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border: 1px dashed rgba(23, 36, 27, 0.17);
  border-radius: 50%;
}

.cmp-head__art .fruit-svg {
  position: relative;
  z-index: 1;
  width: auto;
  height: 94%;
  max-width: 92%;
  filter: drop-shadow(0 10px 8px rgba(38, 49, 26, 0.15));
}

.cmp-head__no {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.08em;
}

.cmp-head h3 {
  margin-top: 2px;
  font-size: calc(22px * var(--font-scale, 1));
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.cmp-head p {
  margin-top: 2px;
  color: var(--muted);
  font-size: calc(8px * var(--font-scale, 1));
}

.cmp-head__open {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: calc(8.5px * var(--font-scale, 1));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cmp-head__open:hover {
  color: var(--tomato);
}

.cmp-cell {
  padding: 14px 13px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.44);
}

.cmp-cell:last-child {
  border-right: 1px solid var(--line);
}

.cmp-metric {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 3px;
  min-height: 25px;
}

.cmp-metric b {
  font-family: var(--font-mono);
  font-size: calc(15px * var(--font-scale, 1));
  font-weight: 600;
  letter-spacing: -0.03em;
}

.cmp-metric span {
  color: var(--muted);
  font-size: calc(8px * var(--font-scale, 1));
}

.cmp-metric.is-best b {
  color: var(--forest);
}

.cmp-metric.is-best::after {
  content: "✦";
  margin-left: auto;
  color: var(--lime-deep);
  font-size: calc(9px * var(--font-scale, 1));
}

.cmp-bar {
  height: 4px;
  margin-top: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(23, 36, 27, 0.08);
}

.cmp-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(22, 59, 43, 0.42);
}

.cmp-metric.is-best + .cmp-bar i {
  background: var(--lime-deep);
}

.cmp-group th {
  padding: 19px 13px 8px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  font-weight: 400;
  letter-spacing: 0.12em;
  text-align: left;
}

.cmp-text {
  color: var(--ink-soft);
  font-size: calc(10.5px * var(--font-scale, 1));
  line-height: 1.65;
}

.cmp-months {
  display: flex;
  gap: 2px;
  margin-bottom: 5px;
}

.cmp-months i {
  width: 5px;
  height: 12px;
  border-radius: 99px;
  background: rgba(23, 36, 27, 0.09);
}

.cmp-months i.on {
  background: var(--forest);
}

.cmp-season-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
}

.compare-note {
  margin-top: 13px;
  color: var(--muted);
  font-size: calc(9px * var(--font-scale, 1));
  line-height: 1.6;
}

.compare-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  padding: 35px 20px;
  text-align: center;
}

.compare-empty__mark {
  display: grid;
  place-items: center;
  width: 59px;
  height: 59px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  font-size: calc(25px * var(--font-scale, 1));
}

.compare-empty h3 {
  font-size: calc(27px * var(--font-scale, 1));
  font-weight: 750;
  letter-spacing: -0.04em;
}

.compare-empty > p {
  max-width: 370px;
  margin-top: 6px;
  color: var(--muted);
  font-size: calc(11.5px * var(--font-scale, 1));
  line-height: 1.7;
}

.combo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 19px;
}

.combo-row > span {
  margin-right: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
}

.combo-btn {
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: calc(9.5px * var(--font-scale, 1));
  transition: border-color 0.2s ease, background 0.2s ease;
}

.combo-btn:hover {
  border-color: var(--forest);
  background: var(--lime-soft);
}

.compare-empty .button {
  height: 42px;
  margin-top: 22px;
  font-size: calc(11px * var(--font-scale, 1));
}

.compare-limit {
  color: var(--tomato);
  font-size: calc(8.5px * var(--font-scale, 1));
}

/* Compare tray */
.compare-tray {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: calc(100vw - 36px);
  margin: 0 auto;
  padding: 9px 10px 9px 17px;
  border: 1px solid rgba(220, 231, 107, 0.22);
  border-radius: 18px;
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 17px 50px rgba(7, 20, 13, 0.32);
  animation: trayIn 0.35s var(--ease) both;
}

@keyframes trayIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.tray-label {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding-right: 12px;
  border-right: 1px solid rgba(251, 248, 238, 0.15);
}

.tray-label span {
  font-size: calc(10px * var(--font-scale, 1));
  font-weight: 550;
}

.tray-label b {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  font-weight: 400;
}

.tray-items {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 480px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tray-items::-webkit-scrollbar {
  display: none;
}

.tray-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  height: 34px;
  padding: 0 4px 0 4px;
  border: 1px solid rgba(251, 248, 238, 0.16);
  border-radius: 999px;
  background: rgba(251, 248, 238, 0.07);
}

.tray-item__art {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--tray-tint);
}

.tray-item__art .fruit-svg {
  width: 94%;
}

.tray-item__name {
  color: rgba(251, 248, 238, 0.9);
  font-size: calc(9.5px * var(--font-scale, 1));
  white-space: nowrap;
}

.tray-item__remove {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: rgba(251, 248, 238, 0.5);
  font-size: calc(12px * var(--font-scale, 1));
  line-height: 1;
}

.tray-item__remove:hover {
  background: rgba(251, 248, 238, 0.12);
  color: var(--cream);
}

.tray-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding-left: 2px;
}

.tray-actions .text-btn {
  color: rgba(251, 248, 238, 0.45);
  font-size: calc(8.5px * var(--font-scale, 1));
}

.tray-actions .text-btn:hover {
  color: var(--cream);
}

.tray-actions .button {
  height: 37px;
  padding: 0 14px;
  background: var(--lime);
  color: var(--forest);
  font-size: calc(10px * var(--font-scale, 1));
  box-shadow: none;
}

.tray-actions .button:hover {
  background: var(--cream);
}

.tray-actions .button:disabled {
  opacity: 0.42;
  transform: none;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(220, 231, 107, 0.28);
  border-radius: 50%;
  background: var(--forest);
  color: var(--lime);
  box-shadow: 0 12px 30px rgba(7, 20, 13, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s var(--ease), background 0.2s ease;
  pointer-events: none;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--lime);
  color: var(--forest);
}

body.has-compare-tray .back-to-top {
  bottom: 92px;
}

.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  z-index: 90;
  max-width: calc(100vw - 40px);
  padding: 11px 18px;
  border: 1px solid rgba(251, 248, 238, 0.13);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: calc(11px * var(--font-scale, 1));
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s var(--ease);
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 100;
  padding: 14px 18px;
  border-radius: 13px;
  background: var(--forest);
  color: var(--cream);
  font-size: calc(12px * var(--font-scale, 1));
  text-align: center;
}

/* 08. Responsive --------------------------------------------------------- */
@media (max-width: 1280px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  }

  .index-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .index-tools {
    justify-content: flex-start;
  }

  .search-box {
    width: min(260px, 100%);
  }

  .hero h1 {
    font-size: clamp(calc(56px * var(--font-scale, 1)), calc(6.4vw * var(--font-scale, 1)), calc(82px * var(--font-scale, 1)));
  }

  .float-note--season {
    left: -12px;
  }

  .float-note--hint {
    left: -14px;
  }

  .fruit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-visual {
    min-height: 206px;
  }
}

@media (max-width: 1120px) {
  .index-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .index-tools {
    justify-content: flex-start;
  }

  .search-box {
    width: min(260px, 100%);
  }

  .flavor-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }

  .flavor-plot {
    height: 450px;
  }

  .flavor-dot__name {
    font-size: calc(9px * var(--font-scale, 1));
  }

  .season-fruit {
    min-height: 70px;
  }
}

@media (max-width: 1020px) {
  .site-header {
    height: 70px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 50px;
    padding-bottom: 70px;
  }

  .hero__text {
    max-width: 760px;
  }

  .hero h1 {
    font-size: clamp(calc(57px * var(--font-scale, 1)), calc(9vw * var(--font-scale, 1)), calc(88px * var(--font-scale, 1)));
  }

  .hero__visual {
    width: min(100%, 610px);
    margin: 28px auto 0;
  }

  .spotlight {
    max-width: none;
    min-height: 590px;
  }

  .float-note--season {
    left: -17px;
  }

  .float-note--hint {
    left: -18px;
  }

  .flavor-layout {
    grid-template-columns: 1fr;
  }

  .flavor-card {
    position: static;
    display: grid;
    grid-template-columns: 230px 1fr;
    min-height: 0;
  }

  .flavor-card__top {
    position: absolute;
    z-index: 2;
    width: 100%;
  }

  .flavor-card__art {
    height: auto;
    min-height: 255px;
    margin: 34px 0 14px 14px;
  }

  .flavor-card__art .fruit-svg {
    width: 62%;
  }

  .flavor-card__body {
    padding: 56px 22px 20px;
  }

  .flavor-card__foot {
    margin-top: 16px;
  }

  .season-detail {
    grid-template-columns: 185px minmax(0, 1fr);
  }

  .season-summary__num {
    font-size: calc(82px * var(--font-scale, 1));
  }

  .notes-section {
    grid-template-columns: 1fr;
  }

  .notes-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 20px;
  }

  .notes-head .section-kicker,
  .notes-head h2 {
    grid-column: 1;
  }

  .notes-head > p:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin-bottom: 3px;
    text-align: right;
  }
}

@media (max-width: 900px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .section-head__intro {
    justify-self: start;
    max-width: 530px;
  }

  .season-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .season-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 19px;
    align-items: end;
    padding-right: 0;
  }

  .season-summary__num {
    grid-row: 1 / span 2;
    font-size: calc(83px * var(--font-scale, 1));
  }

  .season-summary__label {
    margin-top: 0;
  }

  .season-summary__line {
    display: none;
  }

  .season-summary__count {
    grid-column: 2;
  }

  .season-summary__tip {
    grid-column: 1 / -1;
    max-width: 450px;
    margin-top: 11px;
  }

  .season-fruits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottom-cta__fruit {
    right: 5%;
    opacity: 0.6;
  }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 21px;
    --section-gap: 82px;
  }

  .site-header {
    height: 65px;
  }

  .brand__mark {
    width: 33px;
    height: 33px;
  }

  .brand__text strong {
    font-size: calc(17px * var(--font-scale, 1));
  }

  .brand__text small {
    font-size: calc(6.5px * var(--font-scale, 1));
  }

  .compare-btn {
    height: 38px;
    padding-left: 12px;
    font-size: calc(11px * var(--font-scale, 1));
  }

  .compare-count {
    width: 22px;
    height: 22px;
    font-size: calc(9px * var(--font-scale, 1));
  }

  .hero {
    padding-top: 39px;
    padding-bottom: 58px;
  }

  .hero::before {
    left: 50%;
    width: 320px;
    transform: translateX(-50%);
  }

  .eyebrow {
    flex-wrap: wrap;
    gap: 8px;
    font-size: calc(8px * var(--font-scale, 1));
  }

  .eyebrow__line {
    width: 22px;
  }

  .eyebrow__cn {
    padding-left: 8px;
    font-size: calc(9px * var(--font-scale, 1));
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(calc(48px * var(--font-scale, 1)), calc(13.6vw * var(--font-scale, 1)), calc(70px * var(--font-scale, 1)));
    letter-spacing: -0.07em;
  }

  .hero__lede {
    font-size: calc(13.5px * var(--font-scale, 1));
    line-height: 1.8;
  }

  .hero-search {
    height: 54px;
    padding-left: 15px;
    margin-top: 24px;
  }

  .hero-search input {
    font-size: calc(12px * var(--font-scale, 1));
  }

  .hero-search button {
    height: 42px;
    padding: 0 15px;
    font-size: calc(11px * var(--font-scale, 1));
  }

  .button {
    height: 46px;
    padding: 0 18px;
    font-size: calc(12px * var(--font-scale, 1));
  }

  .hero__stats {
    margin-top: 32px;
    gap: 20px;
  }

  .hero__stats > div {
    padding-right: 20px;
  }

  .hero__stats strong {
    font-size: calc(25px * var(--font-scale, 1));
  }

  .hero__visual {
    width: 100%;
  }

  .spotlight {
    min-height: 540px;
    padding: 17px 17px 14px;
    border-radius: 27px;
    transform: none;
  }

  .spotlight__stage {
    min-height: 270px;
  }

  .spotlight__art {
    width: min(82%, 280px);
  }

  .spotlight__foot h2 {
    font-size: calc(36px * var(--font-scale, 1));
  }

  .spotlight__tagline {
    font-size: calc(11.5px * var(--font-scale, 1));
  }

  .spotlight__open {
    top: 55px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .float-note--season {
    top: 24px;
    left: -6px;
    font-size: calc(10px * var(--font-scale, 1));
  }

  .float-note--hint {
    display: none;
  }

  .hero__orbit--one {
    right: -12px;
    width: 150px;
    height: 150px;
  }

  .hero__orbit--two {
    left: -17px;
    width: 95px;
    height: 95px;
  }

  .ticker {
    padding: 12px 0;
  }

  .ticker span {
    font-size: calc(10px * var(--font-scale, 1));
  }

  .section {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
  }

  .index-section {
    padding-top: 67px;
  }

  .section-head h2 {
    font-size: clamp(calc(39px * var(--font-scale, 1)), calc(11.5vw * var(--font-scale, 1)), calc(55px * var(--font-scale, 1)));
  }

  .section-head h2 em {
    margin-top: 10px;
    font-size: 0.32em;
  }

  .section-head__intro {
    font-size: calc(12px * var(--font-scale, 1));
  }

  .section-head {
    margin-bottom: 34px;
  }

  .index-toolbar {
    gap: 13px;
    padding: 13px 0;
  }

  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 12px;
    font-size: calc(11px * var(--font-scale, 1));
  }

  .index-tools {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
  }

  .search-box {
    grid-column: 1 / -1;
    width: 100%;
    height: 38px;
  }

  .season-toggle,
  .sort-box {
    height: 37px;
  }

  .sort-box {
    justify-self: end;
  }

  .result-line {
    margin-top: 16px;
  }

  .fruit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card-visual {
    min-height: 145px;
    margin: 6px 6px 0;
    border-radius: 15px;
  }

  .card-no {
    top: 9px;
    left: 10px;
    font-size: calc(7.5px * var(--font-scale, 1));
  }

  .card-season-badge {
    top: 8px;
    right: 8px;
    padding: 4px 7px;
    font-size: calc(7.5px * var(--font-scale, 1));
  }

  .card-art {
    width: 84%;
  }

  .card-body {
    padding: 12px 12px 13px;
  }

  .card-heading h3 {
    font-size: calc(19px * var(--font-scale, 1));
  }

  .card-heading p {
    font-size: calc(7px * var(--font-scale, 1));
  }

  .card-arrow {
    width: 21px;
    height: 21px;
    font-size: calc(9px * var(--font-scale, 1));
  }

  .card-tagline {
    min-height: 32px;
    margin-top: 6px;
    font-size: calc(10px * var(--font-scale, 1));
    line-height: 1.55;
  }

  .card-meta {
    margin-top: 6px;
    font-size: calc(7.5px * var(--font-scale, 1));
  }

  .card-foot {
    padding-top: 9px;
  }

  .card-flavor {
    gap: 4px;
    font-size: calc(7.5px * var(--font-scale, 1));
  }

  .card-meter {
    width: 30px;
  }

  .card-flavor b {
    font-size: calc(8px * var(--font-scale, 1));
  }

  .card-compare {
    height: 27px;
    padding: 0 8px;
    font-size: calc(8.5px * var(--font-scale, 1));
  }

  .flavor-section {
    padding-right: var(--page-pad);
    padding-left: var(--page-pad);
  }

  .chart-shell {
    padding: 15px 13px 14px;
    border-radius: 21px;
  }

  .flavor-plot {
    height: 390px;
    margin-top: 16px;
  }

  .flavor-dot__name {
    font-size: calc(8px * var(--font-scale, 1));
  }

  .flavor-dot::before {
    box-shadow: 0 0 0 1.5px rgba(251, 248, 238, 0.18);
  }

  .chart-topline span:last-child {
    display: none;
  }

  .axis-row {
    font-size: calc(7px * var(--font-scale, 1));
  }

  .chart-legend {
    gap: 6px 10px;
  }

  .legend-item {
    font-size: calc(8px * var(--font-scale, 1));
  }

  .flavor-picker {
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
  }

  .flavor-picker__label {
    padding-top: 0;
  }

  .flavor-picker__list {
    width: 100%;
  }

  .flavor-picker__item {
    height: 30px;
    padding: 0 9px;
    font-size: calc(9.5px * var(--font-scale, 1));
  }

  .flavor-card {
    grid-template-columns: 145px 1fr;
    border-radius: 21px;
  }

  .flavor-card__art {
    min-height: 240px;
    margin: 32px 0 11px 10px;
  }

  .flavor-card__art .fruit-svg {
    width: 77%;
  }

  .flavor-card__body {
    padding: 45px 15px 15px;
  }

  .flavor-card__title h3 {
    font-size: calc(25px * var(--font-scale, 1));
  }

  .flavor-card__tagline {
    font-size: calc(10px * var(--font-scale, 1));
  }

  .flavor-card__coords {
    gap: 5px;
    margin-top: 10px;
  }

  .flavor-card__coord {
    padding: 6px 8px;
  }

  .flavor-card__note {
    display: none;
  }

  .flavor-card__link {
    height: 34px;
    padding: 0 11px;
    font-size: calc(9.5px * var(--font-scale, 1));
  }

  .season-board {
    padding: 17px 14px;
    border-radius: 22px;
  }

  .season-board__head h3 {
    font-size: calc(22px * var(--font-scale, 1));
  }

  .month-rail {
    margin-top: 19px;
    gap: 5px;
  }

  .month-btn {
    flex-basis: 58px;
    height: 104px;
    padding: 8px 5px 7px;
  }

  .month-btn__meter {
    height: 30px;
  }

  .season-detail {
    padding-top: 23px;
  }

  .season-fruits {
    grid-template-columns: 1fr;
  }

  .season-fruit {
    min-height: 68px;
  }

  .season-fruit__art {
    width: 50px;
    height: 50px;
  }

  .notes-head {
    display: block;
  }

  .notes-head > p:last-child {
    margin-top: 14px;
    text-align: left;
  }

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

  .note-card {
    min-height: 0;
  }

  .note-card--accent {
    min-height: 190px;
  }

  .bottom-cta {
    padding: 0 13px;
    margin-bottom: 24px;
  }

  .bottom-cta__inner {
    padding: 37px 24px 33px;
    border-radius: 24px;
  }

  .bottom-cta h2 {
    font-size: clamp(calc(49px * var(--font-scale, 1)), calc(15vw * var(--font-scale, 1)), calc(76px * var(--font-scale, 1)));
  }

  .bottom-cta__actions {
    margin-top: 25px;
  }

  .bottom-cta__fruit {
    display: none;
  }

  .site-footer {
    padding-top: 40px;
  }

  .footer-brand {
    display: block;
    padding-bottom: 30px;
  }

  .footer-brand > p {
    margin-top: 17px;
    text-align: left;
  }

  .footer-nav {
    gap: 58px;
    padding: 25px 0 32px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p:last-child {
    margin-top: 8px;
    text-align: left;
  }

  .detail-dialog {
    width: 100vw;
    border-radius: 0;
  }

  .detail-top {
    min-height: 61px;
    padding: 9px 15px;
  }

  .detail-top__meta {
    display: block;
    max-width: 168px;
    overflow: hidden;
    font-size: calc(7.5px * var(--font-scale, 1));
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail-close {
    width: 33px;
    padding: 0;
    justify-content: center;
  }

  .detail-close {
    font-size: 0;
  }

  .detail-close span {
    font-size: calc(19px * var(--font-scale, 1));
  }

  .detail-hero {
    min-height: 264px;
    margin: 12px 12px 0;
    border-radius: 19px;
  }

  .variety-hero {
    min-height: 383px;
    padding: 18px 7px 9px;
  }

  .variety-hero::before {
    width: 230px;
  }

  .variety-stage {
    min-height: 270px;
    padding-top: 28px;
    gap: 2px;
  }

  .variety-side {
    flex-basis: 78px;
    min-height: 96px;
    padding: 9px 7px;
    border-radius: 12px;
  }

  .variety-side__dir {
    font-size: calc(6.5px * var(--font-scale, 1));
  }

  .variety-side b {
    font-size: calc(11.5px * var(--font-scale, 1));
  }

  .variety-side small {
    font-size: calc(7px * var(--font-scale, 1));
  }

  .variety-hero .detail-hero__art {
    width: min(100%, 215px);
  }

  .variety-current {
    padding: 4px 8px;
    font-size: calc(11px * var(--font-scale, 1));
  }

  .variety-current em {
    font-size: calc(7px * var(--font-scale, 1));
  }

  .variety-list {
    justify-content: flex-start;
    padding-right: 6px;
    padding-left: 6px;
  }

  .variety-toolbar {
    padding: 5px 7px 0;
  }

  .variety-wheel-hint {
    font-size: calc(6.5px * var(--font-scale, 1));
  }

  .variety-wheel-toggle {
    height: 22px;
    padding: 0 7px;
    font-size: calc(6.5px * var(--font-scale, 1));
  }

  .detail-body {
    padding: 20px 19px 28px;
  }

  .detail-body h2 {
    font-size: clamp(calc(32px * var(--font-scale, 1)), calc(7.2vw * var(--font-scale, 1)), calc(40px * var(--font-scale, 1)));
  }

  .detail-two-col {
    grid-template-columns: 1fr;
  }

  .nutrition-cell {
    padding: 9px 10px;
  }

  .nutrition-cell b {
    font-size: calc(16px * var(--font-scale, 1));
  }

  .detail-month {
    padding: 4px 0;
    font-size: calc(7px * var(--font-scale, 1));
  }

  .detail-footer {
    min-height: 73px;
    padding: 10px 16px;
  }

  .detail-compare-btn {
    height: 42px;
    min-width: 121px;
    font-size: calc(11px * var(--font-scale, 1));
  }

  .compare-dialog {
    width: calc(100vw - 20px);
    max-height: 94dvh;
    border-radius: 22px;
  }

  .compare-shell {
    max-height: 94dvh;
  }

  .compare-top {
    padding: 18px 17px 16px;
    border-radius: 22px 22px 0 0;
  }

  .compare-top h2 {
    font-size: calc(28px * var(--font-scale, 1));
  }

  .compare-body {
    padding: 15px 13px 22px;
  }

  .compare-add {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .compare-table {
    min-width: 620px;
  }

  .compare-scroll-hint {
    display: flex;
  }

  .compare-table.cols-2 {
    min-width: 100%;
  }

  .compare-table.cols-2 .row-label {
    width: 82px;
    padding: 10px 6px;
    font-size: calc(8.5px * var(--font-scale, 1));
  }

  .compare-table.cols-2 .row-label small {
    font-size: calc(6.5px * var(--font-scale, 1));
  }

  .compare-table.cols-2 .cmp-head {
    min-width: 0;
    padding: 6px;
  }

  .compare-table.cols-2 .cmp-head__art {
    height: 82px;
    margin-bottom: 6px;
    border-radius: 9px;
  }

  .compare-table.cols-2 .cmp-head__art .fruit-svg {
    width: auto;
    height: 94%;
  }

  .compare-table.cols-2 .cmp-head__no {
    font-size: calc(6.5px * var(--font-scale, 1));
  }

  .compare-table.cols-2 .cmp-head h3 {
    font-size: calc(18px * var(--font-scale, 1));
  }

  .compare-table.cols-2 .cmp-head p {
    font-size: calc(7px * var(--font-scale, 1));
    line-height: 1.4;
  }

  .compare-table.cols-2 .cmp-head__open {
    margin-top: 5px;
    font-size: calc(7.5px * var(--font-scale, 1));
  }

  .compare-table.cols-2 .cmp-remove {
    top: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    font-size: calc(11px * var(--font-scale, 1));
  }

  .compare-table.cols-2 .cmp-cell {
    padding: 10px 7px;
  }

  .compare-table.cols-2 .cmp-metric b {
    font-size: calc(13px * var(--font-scale, 1));
  }

  .compare-table.cols-2 .cmp-metric span {
    font-size: calc(7px * var(--font-scale, 1));
  }

  .compare-table.cols-2 .cmp-text {
    font-size: calc(9px * var(--font-scale, 1));
  }

  .compare-table.cols-2 .cmp-group th {
    padding: 15px 7px 6px;
  }

  .compare-table .row-label {
    width: 108px;
    padding: 12px 9px;
    font-size: calc(9px * var(--font-scale, 1));
  }

  .cmp-head {
    min-width: 160px;
    padding: 8px;
  }

  .cmp-head__art {
    height: 90px;
  }

  .cmp-head h3 {
    font-size: calc(19px * var(--font-scale, 1));
  }

  .cmp-cell {
    padding: 12px 9px;
  }

  .cmp-metric b {
    font-size: calc(13px * var(--font-scale, 1));
  }

  .tray-actions .text-btn {
    display: none;
  }

  .compare-tray {
    right: 10px;
    bottom: 10px;
    left: 10px;
    gap: 9px;
    padding: 8px 8px 8px 12px;
    border-radius: 16px;
  }

  .tray-label {
    padding-right: 8px;
  }

  .tray-label span {
    display: none;
  }

  .tray-items {
    max-width: none;
    flex: 1;
  }

  .tray-actions .button {
    padding: 0 11px;
    font-size: calc(9px * var(--font-scale, 1));
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: clamp(calc(45px * var(--font-scale, 1)), calc(13vw * var(--font-scale, 1)), calc(61px * var(--font-scale, 1)));
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero__actions .button {
    padding: 0 12px;
    font-size: calc(11px * var(--font-scale, 1));
  }

  .hero__stats {
    gap: 13px;
  }

  .hero__stats > div {
    padding-right: 13px;
  }

  .hero__stats strong {
    font-size: calc(23px * var(--font-scale, 1));
  }

  .hero__stats dt {
    font-size: calc(7.5px * var(--font-scale, 1));
  }

  .spotlight {
    min-height: 505px;
  }

  .spotlight__stage {
    min-height: 235px;
  }

  .spotlight__sticker {
    right: 0;
    bottom: 4%;
    padding: 8px 10px;
  }

  .spotlight__metrics {
    gap: 7px 14px;
  }

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

  .card-visual {
    min-height: 235px;
  }

  .card-art {
    width: 68%;
    max-width: 210px;
  }

  .card-heading h3 {
    font-size: calc(23px * var(--font-scale, 1));
  }

  .card-tagline {
    font-size: calc(11.5px * var(--font-scale, 1));
  }

  .card-compare {
    height: 30px;
    font-size: calc(9.5px * var(--font-scale, 1));
  }

  .card-flavor {
    font-size: calc(8.5px * var(--font-scale, 1));
  }

  .flavor-card {
    display: block;
  }

  .flavor-card__art {
    height: 180px;
    min-height: 0;
    margin: 31px 10px 0;
  }

  .flavor-card__art .fruit-svg {
    width: 46%;
  }

  .flavor-card__body {
    padding: 16px 17px 17px;
  }

  .flavor-card__note {
    display: block;
  }

  .flavor-card__title h3 {
    font-size: calc(29px * var(--font-scale, 1));
  }

  .flavor-card__foot {
    margin-top: 14px;
  }

  .nutrition-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-season {
    gap: 2px;
  }

  .variety-hero {
    min-height: 354px;
    padding-top: 16px;
  }

  .variety-stage {
    min-height: 246px;
    padding-top: 25px;
  }

  .variety-side {
    flex-basis: 68px;
    min-height: 88px;
    padding: 7px 5px;
  }

  .variety-side__dir {
    font-size: calc(6px * var(--font-scale, 1));
    letter-spacing: 0;
  }

  .variety-side b {
    font-size: calc(10px * var(--font-scale, 1));
  }

  .variety-side small {
    display: none;
  }

  .variety-hero .detail-hero__art {
    width: min(100%, 174px);
  }

  .variety-current {
    gap: 5px;
    padding: 4px 7px;
    font-size: calc(10px * var(--font-scale, 1));
  }

  .variety-wheel-hint {
    font-size: calc(6px * var(--font-scale, 1));
    letter-spacing: 0;
  }

  .compare-btn {
    gap: 6px;
    padding: 0 7px 0 11px;
    font-size: calc(10.5px * var(--font-scale, 1));
  }

  .toast {
    bottom: 92px;
    width: max-content;
    font-size: calc(10px * var(--font-scale, 1));
  }
}

.settings-dialog {
  position: fixed;
  inset: 0;
  width: min(520px, calc(100vw - 28px));
  max-width: 100vw;
  max-height: min(780px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(7, 20, 13, 0.35);
}

.settings-dialog[open] {
  animation: settingsIn 0.26s var(--ease) both;
}

@keyframes settingsIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.settings-shell {
  display: flex;
  flex-direction: column;
  max-height: min(780px, calc(100dvh - 28px));
  background: var(--paper);
}

.settings-top {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 22px 16px;
  border-bottom: 1px solid var(--line);
}

.settings-kicker {
  margin: 0 0 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.12em;
}

.settings-top h2 {
  margin: 0;
  font-size: calc(25px * var(--font-scale, 1));
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.settings-body {
  overflow-y: auto;
  padding: 18px 22px 22px;
  scrollbar-color: var(--line-strong) transparent;
}

.settings-section + .settings-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.settings-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}

.settings-section h3 {
  margin: 0 0 3px;
  font-size: calc(14px * var(--font-scale, 1));
  letter-spacing: -0.02em;
}

.settings-section p {
  margin: 0;
  color: var(--muted);
  font-size: calc(10.5px * var(--font-scale, 1));
  line-height: 1.6;
}

.settings-badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.06em;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.theme-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}

.theme-option:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.theme-option.is-active {
  border-color: var(--forest);
  box-shadow: inset 0 0 0 1px var(--forest);
}

.theme-option__preview {
  position: relative;
  display: block;
  flex: 0 0 54px;
  width: 54px;
  height: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--sw-bg);
}

.theme-option__preview i {
  position: absolute;
  display: block;
}

.theme-option__preview i:nth-child(1) {
  inset: 0 auto 0 0;
  width: 15px;
  background: var(--sw-deep);
}

.theme-option__preview i:nth-child(2) {
  top: 9px;
  left: 22px;
  width: 22px;
  height: 5px;
  border-radius: 3px;
  background: var(--sw-ink);
  opacity: 0.72;
}

.theme-option__preview i:nth-child(3) {
  top: 20px;
  left: 22px;
  width: 15px;
  height: 5px;
  border-radius: 3px;
  background: var(--sw-accent);
}

.theme-option__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.theme-option__copy b {
  font-size: calc(12px * var(--font-scale, 1));
  font-weight: 700;
}

.theme-option__copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: calc(9px * var(--font-scale, 1));
  white-space: nowrap;
}

.theme-option__check {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
  font-size: calc(10px * var(--font-scale, 1));
}

.theme-option.is-active .theme-option__check {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--lime);
}

.font-size-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.font-size-options button {
  height: 34px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: calc(10px * var(--font-scale, 1));
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.font-size-options button:hover {
  border-color: var(--line-strong);
}

.font-size-options button.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--lime);
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 2px;
  cursor: pointer;
}

.settings-row > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.settings-row b {
  font-size: calc(12px * var(--font-scale, 1));
  font-weight: 600;
}

.settings-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: calc(10px * var(--font-scale, 1));
  line-height: 1.55;
}

.settings-switch {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  margin: 0;
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper-2);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.settings-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s var(--ease);
}

.settings-switch:checked {
  border-color: var(--forest);
  background: var(--forest);
}

.settings-switch:checked::after {
  transform: translateX(18px);
  background: var(--lime);
}

.settings-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 22px 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.settings-footer .button {
  min-width: 92px;
}

@media (max-width: 560px) {
  .settings-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
  }

  .settings-btn span {
    display: none;
  }

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

  .settings-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .settings-top {
    padding: 17px 16px 13px;
  }

  .settings-body {
    padding: 15px 16px 18px;
  }

  .settings-footer {
    padding: 12px 16px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-delay: 0ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }

  .hero__accent svg path {
    stroke-dashoffset: 0;
  }

  .ticker__track {
    animation: none;
  }
}

@media (max-width: 760px) {
  .compare-table thead th {
    top: -15px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }

  .back-to-top svg {
    width: 16px;
    height: 16px;
  }

  body.has-compare-tray .back-to-top {
    bottom: 82px;
  }
}

@media (max-width: 370px) {
  .detail-top {
    gap: 8px;
    padding-inline: 10px;
  }

  .detail-top__meta {
    max-width: 92px;
  }

  .detail-top__actions {
    gap: 3px;
  }

  .detail-share,
  .detail-close {
    width: 31px;
    height: 31px;
  }
}
