/* ==========================================================================
   蔬野 · GuoYe Vegetables
   01. Tokens & base
   02. Header / theme
   03. Hero / spotlight
   04. Ticker
   05. Index & vegetable cards
   06. Flavor map
   07. Season calendar
   08. Notes / quote / last bite / footer
   09. Detail dialog / toast
   10. Responsive
   ========================================================================== */

/* 01. Tokens & base ------------------------------------------------------- */
:root {
  --paper: #f3efe3;
  --paper-2: #e9e3d3;
  --cream: #fbf7eb;
  --white: #fffdf7;
  --ink: #19251b;
  --ink-soft: #4a574a;
  --muted: #67705f;
  --line: rgba(25, 37, 27, 0.14);
  --line-strong: rgba(25, 37, 27, 0.3);
  --forest: #173c2b;
  --forest-deep: #0b291c;
  --forest-mid: #24543b;
  --lime: #dce76b;
  --lime-soft: #eef3b8;
  --lime-deep: #a8b63c;
  --tomato: #df6a45;
  --tomato-soft: #f3cab8;
  --spot-tint: #e7e9cf;
  --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 32px 90px rgba(10, 25, 17, 0.2);
  --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, 132px);
  --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;
  --spot-tint: #dce8e4;
}

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;
  --spot-tint: #eddfc5;
}

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;
  --spot-tint: #f0dfe2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 7%, color-mix(in srgb, var(--lime) 18%, transparent), transparent 27rem),
    radial-gradient(circle at 6% 32%, color-mix(in srgb, var(--tomato) 8%, transparent), transparent 24rem),
    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, blockquote {
  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 / theme ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  height: 78px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 87%, transparent);
  backdrop-filter: blur(18px) saturate(1.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 37px;
  height: 37px;
  color: var(--forest);
  transition: transform 0.35s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.04);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.03;
}

.brand__text strong {
  font-family: var(--font-serif);
  font-size: calc(22px * var(--font-scale, 1));
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand__text small {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.13em;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: calc(13px * var(--font-scale, 1));
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--forest);
  transition: right 0.28s var(--ease);
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after {
  right: 0;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.settings-btn,
.compare-btn,
.fav-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 60%, transparent);
  color: var(--ink-soft);
  font-size: calc(12px * var(--font-scale, 1));
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.settings-btn svg,
.compare-btn svg,
.fav-top-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-btn:hover,
.fav-top-btn:hover {
  border-color: var(--line-strong);
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-1px);
}

.compare-btn {
  border-color: transparent;
  background: var(--forest);
  color: var(--cream);
}

.compare-btn:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}

.compare-count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest-deep) !important;
  font-family: var(--font-mono);
  font-size: calc(9px * var(--font-scale, 1)) !important;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.compare-btn.has-items .compare-count {
  transform: scale(1.08);
}

.fav-top-btn {
  position: relative;
  width: 38px;
  padding: 0;
  background: var(--cream);
}

.fav-top-btn span {
  display: none;
}

.fav-top-btn svg {
  fill: none;
}

.fav-top-btn.is-active {
  border-color: transparent;
  background: var(--lime);
  color: var(--forest-deep);
}

.fav-top-btn.is-active svg {
  fill: currentColor;
}

.fav-top-btn b {
  position: absolute;
  top: -5px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  font-weight: 400;
  line-height: 1;
}

.fav-top-btn.is-active b {
  background: var(--forest-deep);
}

.mobile-nav {
  display: none;
}

/* 03. Hero / spotlight ---------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  max-width: 1450px;
  min-height: 720px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 90px) var(--page-pad) clamp(76px, 9vw, 118px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: calc(9.5px * var(--font-scale, 1));
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.eyebrow__line {
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}

.eyebrow__domain {
  color: var(--forest);
  font-weight: 600;
}

.eyebrow__divider {
  opacity: 0.5;
}

.eyebrow__cn {
  flex-basis: 100%;
  margin-top: 3px;
  padding-left: 43px;
  font-family: var(--font-sans);
  font-size: calc(11px * var(--font-scale, 1));
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: none;
}

.hero h1 {
  margin: 25px 0 22px;
  font-family: var(--font-serif);
  font-size: calc(clamp(56px, 6.4vw, 102px) * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

html[data-lang="en"] .hero h1 {
  font-family: var(--font-sans);
  font-size: calc(clamp(44px, 4.6vw, 68px) * var(--font-scale, 1));
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero__accent {
  position: relative;
  display: inline-block;
  z-index: 1;
  padding: 0 0.04em;
}

.hero__accent::before {
  content: "";
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  bottom: 0.08em;
  z-index: -1;
  height: 0.36em;
  border-radius: 2px;
  background: var(--lime);
  transform: rotate(-1.4deg);
}

.hero__accent svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  width: 100%;
  height: 15px;
  color: var(--tomato);
  opacity: 0.85;
}

.hero__lede {
  max-width: 540px;
  font-size: calc(clamp(14.5px, 1.2vw, 16.5px) * var(--font-scale, 1));
  line-height: 1.9;
  color: var(--ink-soft);
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  height: 58px;
  margin-top: 30px;
  padding: 6px 7px 6px 19px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search:focus-within {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(220, 231, 107, 0.4);
}

.hero-search > svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.hero-search input,
.search-box input {
  -webkit-appearance: none;
  appearance: none;
}

.hero-search input::-webkit-search-cancel-button,
.search-box input::-webkit-search-cancel-button,
.hero-search input::-webkit-search-decoration,
.search-box input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: calc(13px * var(--font-scale, 1));
}

.hero-search input::placeholder {
  color: color-mix(in srgb, var(--muted) 75%, transparent);
}

.hero-search button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 19px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: calc(12.5px * var(--font-scale, 1));
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-search button:hover {
  background: var(--forest-deep);
  transform: translateX(1px);
}

.hero-search button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 17px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: calc(12.5px * var(--font-scale, 1));
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button span {
  font-size: calc(14px * var(--font-scale, 1));
  line-height: 1;
}

.button--primary {
  background: var(--forest);
  color: var(--cream);
}

.button--primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.button--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink-soft);
}

.button--ghost:hover {
  border-color: var(--line-strong);
  background: var(--cream);
}

.button--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: calc(12px * var(--font-scale, 1));
}

.button--lime {
  background: var(--lime);
  color: var(--forest-deep);
}

.button--lime:hover {
  background: #e9f18d;
  transform: translateY(-2px);
}

.button--outline {
  border-color: rgba(251, 247, 235, 0.34);
  color: var(--cream);
}

.button--outline:hover {
  border-color: rgba(251, 247, 235, 0.7);
  background: rgba(251, 247, 235, 0.07);
}

.dice {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest-deep);
  font-size: calc(10px * var(--font-scale, 1));
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 560px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero__stats > div {
  padding-right: 14px;
}

.hero__stats > div + div {
  padding-left: 17px;
  border-left: 1px solid var(--line);
}

.hero__stats dt {
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero__stats dd {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 3px;
}

.hero__stats strong {
  font-family: var(--font-serif);
  font-size: calc(30px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero__stats dd span {
  font-size: calc(10px * var(--font-scale, 1));
  color: var(--muted);
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 590px;
}

.hero__orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.hero__orbit--one {
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__orbit--two {
  width: 430px;
  height: 430px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-style: dashed;
  opacity: 0.7;
}

.hero__scribble {
  position: absolute;
  top: 38px;
  right: 4px;
  font-family: var(--font-serif);
  font-size: calc(12px * var(--font-scale, 1));
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--muted);
  transform: rotate(-9deg);
}

.hero__scribble::before {
  content: "↘";
  display: block;
  margin-left: 48px;
  margin-bottom: 2px;
  font-style: normal;
  font-size: calc(17px * var(--font-scale, 1));
}

.spotlight {
  position: relative;
  width: min(100%, 404px);
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.3deg);
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 0;
  border: 1px solid var(--line);
  border-radius: 25px;
  pointer-events: none;
}

.spotlight__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 7px 12px;
}

.spotlight__month {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: calc(11px * var(--font-scale, 1));
  font-weight: 600;
}

.spotlight__month::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tomato);
  box-shadow: 0 0 0 4px var(--tomato-soft);
}

.spotlight__counter {
  font-family: var(--font-mono);
  font-size: calc(9px * var(--font-scale, 1));
  letter-spacing: 0.08em;
  color: var(--muted);
}

.spotlight__stage {
  position: relative;
  z-index: 1;
  height: 278px;
  overflow: hidden;
  border-radius: 23px;
  background:
    radial-gradient(circle at 68% 30%, rgba(255, 253, 247, 0.7), transparent 44%),
    var(--spot-tint);
}

.spotlight__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 60, 43, 0.16) 0.7px, transparent 0.7px);
  background-size: 17px 17px;
  opacity: 0.35;
  pointer-events: none;
}

.spotlight__ghost {
  position: absolute;
  top: -22px;
  left: -2px;
  z-index: 0;
  font-family: var(--font-serif);
  font-size: calc(194px * var(--font-scale, 1));
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.09em;
  color: var(--forest);
  opacity: 0.075;
  user-select: none;
}

.spotlight__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(23, 60, 43, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -48%);
}

.spotlight__halo::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(23, 60, 43, 0.15);
  border-radius: 50%;
}

.spotlight__art {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 94%;
  height: 94%;
  transform: translate(-50%, -47%);
  transition: opacity 0.22s ease, transform 0.5s var(--ease);
}

.spotlight__art.is-switching {
  opacity: 0;
  transform: translate(-50%, -43%) scale(0.96);
}

.spotlight__art > svg,
.spotlight__art > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(37, 52, 34, 0.14));
}

.spotlight__sticker {
  position: absolute;
  right: 12px;
  bottom: 13px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 12px 9px;
  border: 1px solid rgba(23, 60, 43, 0.2);
  border-radius: 13px;
  background: var(--lime);
  color: var(--forest-deep);
  box-shadow: 0 6px 18px rgba(23, 60, 43, 0.12);
  transform: rotate(2.5deg);
}

.spotlight__sticker span {
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.1em;
}

.spotlight__sticker b {
  font-family: var(--font-serif);
  font-size: calc(13px * var(--font-scale, 1));
  font-weight: 600;
}

.spotlight__foot {
  position: relative;
  z-index: 2;
  padding: 17px 7px 0;
}

.spotlight__en {
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  letter-spacing: 0.11em;
  color: var(--muted);
}

.spotlight h2 {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: calc(35px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.spotlight__tagline {
  margin-top: 4px;
  font-size: calc(12px * var(--font-scale, 1));
  line-height: 1.65;
  color: var(--ink-soft);
}

.spotlight__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 11px;
}

.spotlight__metrics span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  color: var(--ink-soft);
}

.spotlight__controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.round-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: calc(13px * var(--font-scale, 1));
  color: var(--ink-soft);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.round-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.round-btn:focus-visible {
  outline-color: var(--forest);
}

.compare-dialog .round-btn:focus-visible {
  outline-color: var(--lime);
}

.round-btn:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.spotlight__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight__dots button {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: width 0.25s var(--ease), background 0.2s ease;
}

.spotlight__dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--forest);
}

.spotlight__open {
  position: absolute;
  top: 320px;
  right: -23px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(251, 247, 235, 0.28);
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 14px 30px rgba(10, 25, 17, 0.22);
  transform: rotate(7deg);
  transition: transform 0.25s var(--ease), background 0.2s ease;
}

.spotlight__open:hover {
  background: var(--forest-deep);
  transform: rotate(0deg) scale(1.04);
}

.spotlight__open span {
  font-size: calc(9.5px * var(--font-scale, 1));
  letter-spacing: 0.03em;
}

.spotlight__open svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.float-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(24, 36, 26, 0.1);
  font-size: calc(10px * var(--font-scale, 1));
  line-height: 1.5;
  color: var(--ink-soft);
}

.float-note--season {
  top: 82px;
  left: -28px;
  transform: rotate(-3.5deg);
}

.float-note__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tomato);
  box-shadow: 0 0 0 4px var(--tomato-soft);
}

.float-note--hint {
  right: -27px;
  bottom: 52px;
  align-items: flex-start;
  transform: rotate(2.5deg);
}

.float-note__spark {
  color: var(--tomato);
  font-size: calc(15px * var(--font-scale, 1));
  line-height: 1.2;
}

.float-note b {
  color: var(--ink);
  font-weight: 600;
}

/* 04. Ticker -------------------------------------------------------------- */
.ticker-wrap {
  overflow: hidden;
  padding: 4px 0;
}

.ticker {
  position: relative;
  z-index: 3;
  width: 104%;
  margin-left: -2%;
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
  transform: rotate(-1deg);
  border-top: 1px solid rgba(251, 247, 235, 0.12);
  border-bottom: 1px solid rgba(251, 247, 235, 0.12);
}

.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 13px 0;
  animation: ticker 38s linear infinite;
}

.ticker__track span {
  padding: 0 26px;
  font-family: var(--font-serif);
  font-size: calc(14px * var(--font-scale, 1));
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ticker__track i {
  color: var(--lime);
  font-style: normal;
  font-size: calc(10px * var(--font-scale, 1));
}

/* 05. Index & vegetable cards -------------------------------------------- */
.section {
  max-width: 1420px;
  margin: 0 auto;
  padding: var(--section-gap) var(--page-pad);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 94px);
  align-items: end;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  font-family: var(--font-mono);
  font-size: calc(9px * var(--font-scale, 1));
  letter-spacing: 0.13em;
  color: var(--muted);
}

.section-kicker > span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0;
  color: var(--ink);
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: calc(clamp(37px, 4.3vw, 60px) * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.section-head h2 em {
  display: block;
  margin-top: 13px;
  font-family: var(--font-mono);
  font-size: calc(10.5px * var(--font-scale, 1));
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.section-head__intro {
  max-width: 440px;
  padding-bottom: 3px;
  font-size: calc(13px * var(--font-scale, 1));
  line-height: 1.9;
  color: var(--ink-soft);
}

.index-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip {
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: calc(11px * var(--font-scale, 1));
  color: var(--ink-soft);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.chip:hover {
  border-color: var(--line);
  background: var(--cream);
}

.chip.is-active {
  background: var(--forest);
  color: var(--cream);
}

.index-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 0 auto;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 226px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  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(220, 231, 107, 0.35);
}

.search-box > svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: calc(11px * var(--font-scale, 1));
}

.search-box input::placeholder {
  color: color-mix(in srgb, var(--muted) 78%, transparent);
}

.search-box__clear {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--muted);
}

.search-box__clear svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.season-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: calc(10.5px * var(--font-scale, 1));
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.season-toggle:hover {
  border-color: var(--line-strong);
  background: var(--cream);
}

.season-toggle__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.season-toggle[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.season-toggle[aria-pressed="true"] .season-toggle__dot {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(220, 231, 107, 0.16);
}

.season-toggle__month {
  opacity: 0.65;
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
}

.sort-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
}

.sort-box__label {
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  color: var(--muted);
}

.sort-box__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 11px 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: calc(10.5px * var(--font-scale, 1));
  color: var(--ink-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sort-box__trigger:hover {
  border-color: var(--line-strong);
  background: var(--cream);
}

.sort-box__chevron {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: transform 0.2s ease;
}

.sort-box.is-open .sort-box__chevron {
  transform: rotate(180deg);
}

.sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  width: 196px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--cream);
  box-shadow: var(--shadow-md);
  animation: popIn 0.18s var(--ease);
}

.sort-menu__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: calc(11px * var(--font-scale, 1));
  text-align: left;
  color: var(--ink-soft);
}

.sort-menu__option:hover {
  background: var(--lime-soft);
  color: var(--ink);
}

.sort-menu__option.is-active {
  color: var(--forest);
  font-weight: 600;
}

.sort-menu__check {
  opacity: 0;
  color: var(--forest);
}

.sort-menu__option.is-active .sort-menu__check {
  opacity: 1;
}

.result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
  font-family: var(--font-mono);
  font-size: calc(9px * var(--font-scale, 1));
  letter-spacing: 0.04em;
  color: var(--muted);
}

.result-line p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-line p::before {
  content: "";
  width: 15px;
  height: 1px;
  background: var(--line-strong);
}

.result-line__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.favorites-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: calc(10.5px * var(--font-scale, 1));
  letter-spacing: 0;
  color: var(--ink-soft);
}

.favorites-shortcut svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.favorites-shortcut[aria-pressed="true"],
.favorites-shortcut:hover {
  color: var(--forest);
}

.favorites-shortcut[aria-pressed="true"] svg {
  fill: var(--tomato);
  stroke: var(--tomato);
}

.favorites-shortcut b {
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  font-weight: 400;
  color: var(--muted);
}

.text-btn {
  font-family: var(--font-sans);
  font-size: calc(10px * var(--font-scale, 1));
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-btn:hover {
  color: var(--ink);
}

.veg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.veg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--cream);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease;
  animation: cardIn 0.45s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}

.veg-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.veg-card:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.veg-card__stage {
  position: relative;
  height: 245px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 253, 247, 0.72), transparent 43%),
    var(--tint);
}

.veg-card__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 60, 43, 0.18) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.24;
  pointer-events: none;
}

.veg-card__ghost {
  position: absolute;
  top: -15px;
  left: 6px;
  z-index: 0;
  font-family: var(--font-serif);
  font-size: calc(136px * var(--font-scale, 1));
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.09em;
  color: var(--forest);
  opacity: 0.07;
  user-select: none;
}

.veg-card__art {
  position: absolute;
  inset: 8px 24px 2px;
  z-index: 1;
  transition: transform 0.45s var(--ease);
}

.veg-card__art > svg,
.veg-card__art > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 16px rgba(37, 52, 34, 0.13));
}

/* Illustration slots — intentionally empty until artwork is supplied. */
.art-slot {
  position: absolute;
  inset: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px dashed color-mix(in srgb, var(--forest) 30%, transparent);
  border-radius: 17px;
  color: color-mix(in srgb, var(--forest) 58%, transparent);
  background: linear-gradient(135deg, rgba(255, 253, 247, 0.24), rgba(255, 253, 247, 0));
  overflow: hidden;
}

.art-slot::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid color-mix(in srgb, var(--forest) 18%, transparent);
  border-radius: 11px;
  pointer-events: none;
}

.art-slot__corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 0 solid color-mix(in srgb, var(--forest) 42%, transparent);
  pointer-events: none;
}

.art-slot__corner--tl { top: 13px; left: 13px; border-top-width: 1px; border-left-width: 1px; }
.art-slot__corner--tr { top: 13px; right: 13px; border-top-width: 1px; border-right-width: 1px; }
.art-slot__corner--bl { bottom: 13px; left: 13px; border-bottom-width: 1px; border-left-width: 1px; }
.art-slot__corner--br { bottom: 13px; right: 13px; border-bottom-width: 1px; border-right-width: 1px; }

.art-slot__icon {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
}

.art-slot__name {
  font-family: var(--font-serif);
  font-size: calc(30px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  opacity: 0.5;
}

.art-slot__label {
  font-family: var(--font-mono);
  font-size: calc(6.5px * var(--font-scale, 1));
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.art-slot--card {
  inset: 5px;
  gap: 6px;
  border-radius: 16px;
}

.art-slot--card .art-slot__icon {
  width: 26px;
  height: 26px;
  opacity: 0.5;
}

.art-slot--card .art-slot__label {
  font-size: calc(6px * var(--font-scale, 1));
}

.art-slot--spotlight {
  inset: 10px;
  gap: 8px;
  border-radius: 20px;
}

.art-slot--spotlight .art-slot__icon {
  width: 39px;
  height: 39px;
}

.art-slot--spotlight .art-slot__name {
  font-size: calc(44px * var(--font-scale, 1));
}

.art-slot--detail {
  inset: 8%;
  gap: 10px;
  border-radius: 24px;
}

.art-slot--detail .art-slot__icon {
  width: 46px;
  height: 46px;
}

.art-slot--detail .art-slot__name {
  font-size: calc(clamp(48px, 5.5vw, 76px) * var(--font-scale, 1));
}

.art-slot--detail .art-slot__label {
  font-size: calc(7.5px * var(--font-scale, 1));
}

.art-slot--thumb {
  inset: 4px;
  gap: 0;
  border-radius: 11px;
}

.art-slot--thumb::before,
.art-slot--thumb .art-slot__corner,
.art-slot--thumb .art-slot__label {
  display: none;
}

.art-slot--thumb .art-slot__icon {
  width: 17px;
  height: 17px;
  opacity: 0.45;
}

.veg-card:hover .veg-card__art {
  transform: translateY(-7px) rotate(-1.6deg) scale(1.03);
}

.veg-card__season {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
  padding: 4px 9px;
  border: 1px solid rgba(23, 60, 43, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.78);
  backdrop-filter: blur(5px);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.05em;
  color: var(--forest);
}

.veg-card__fav {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(23, 60, 43, 0.18);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.78);
  backdrop-filter: blur(5px);
  color: var(--forest);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.veg-card__fav:hover {
  transform: scale(1.08);
  background: var(--white);
}

.veg-card__fav svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.veg-card__fav.is-fav {
  background: var(--tomato);
  border-color: var(--tomato);
  color: var(--white);
}

.veg-card__fav.is-fav svg {
  fill: currentColor;
}

.veg-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 17px;
}

.veg-card__en {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.1em;
  color: var(--muted);
}

.veg-card__en > .veg-card__en-line {
  width: 9px;
  height: 1px;
  background: var(--line-strong);
  flex: 0 0 auto;
}

.veg-card__title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.veg-card h3 {
  font-family: var(--font-serif);
  font-size: calc(25px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.veg-card__arrow {
  color: var(--muted);
  font-size: calc(15px * var(--font-scale, 1));
  opacity: 0;
  transform: translate(-4px, 2px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.veg-card:hover .veg-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.veg-card__tagline {
  margin-top: 4px;
  font-size: calc(11px * var(--font-scale, 1));
  line-height: 1.65;
  color: var(--ink-soft);
}

.veg-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  color: var(--muted);
}

.veg-card__meta b {
  font-weight: 400;
  color: var(--ink-soft);
}

.veg-card__meta em {
  color: var(--tomato);
  font-style: normal;
}

.empty-state {
  padding: 76px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 25px;
  text-align: center;
}

.empty-state__mark {
  display: block;
  font-size: calc(30px * var(--font-scale, 1));
  color: var(--lime-deep);
}

.empty-state h3 {
  margin: 12px 0 4px;
  font-family: var(--font-serif);
  font-size: calc(25px * var(--font-scale, 1));
  font-weight: 600;
}

.empty-state p {
  margin-bottom: 20px;
  font-size: calc(12px * var(--font-scale, 1));
  color: var(--muted);
}

/* 06. Flavor map ---------------------------------------------------------- */
.flavor-section {
  position: relative;
}

.flavor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 326px;
  gap: 18px;
}

.flavor-map-card {
  position: relative;
  padding: 30px 32px 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cream);
}

.map-axis {
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.12em;
  color: var(--muted);
}

.map-axis--y {
  position: absolute;
  top: 29px;
  left: 30px;
}

.map-axis--x {
  margin-top: 7px;
  padding-left: 35px;
  text-align: right;
}

.map-plot {
  position: relative;
  height: clamp(330px, 33vw, 430px);
  margin: 30px 8px 4px 40px;
  border-left: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.map-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-grid__line {
  position: absolute;
  background: var(--line);
}

.map-grid__line--v1 { top: 0; bottom: 0; left: 25%; width: 1px; opacity: 0.55; }
.map-grid__line--v2 { top: 0; bottom: 0; left: 50%; width: 1px; opacity: 0.55; }
.map-grid__line--v3 { top: 0; bottom: 0; left: 75%; width: 1px; opacity: 0.55; }
.map-grid__line--h1 { left: 0; right: 0; bottom: 25%; height: 1px; opacity: 0.55; }
.map-grid__line--h2 { left: 0; right: 0; bottom: 50%; height: 1px; opacity: 0.55; }
.map-grid__line--h3 { left: 0; right: 0; bottom: 75%; height: 1px; opacity: 0.55; }

.map-grid__quadrant {
  position: absolute;
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.12em;
  color: var(--muted);
  opacity: 0.55;
}

.map-grid__quadrant--tr { top: 8px; right: 10px; }
.map-grid__quadrant--bl { bottom: 8px; left: 10px; }

.map-dots {
  position: absolute;
  inset: 0;
}

.map-dot {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--dot-size, 24px);
  height: var(--dot-size, 24px);
  padding: 0;
  border: 1px solid var(--cream);
  border-radius: 50%;
  background: var(--veg-color, var(--forest));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--veg-color, var(--forest)) 55%, transparent), 0 6px 14px rgba(23, 60, 43, 0.13);
  transform: translate(-50%, -50%);
  transition: transform 0.22s var(--ease), box-shadow 0.22s ease;
}

.map-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color 0.2s ease;
}

.map-dot:hover,
.map-dot.is-active {
  z-index: 4;
  transform: translate(-50%, -50%) scale(1.16);
  box-shadow: 0 0 0 1px var(--veg-color, var(--forest)), 0 9px 20px rgba(23, 60, 43, 0.18);
}

.map-dot.is-active::after {
  border-color: var(--veg-color, var(--forest));
}

.map-dot__label {
  position: absolute;
  top: 50%;
  left: calc(100% + 9px);
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: calc(9.5px * var(--font-scale, 1));
  line-height: 1.4;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-3px, -50%);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: var(--shadow-sm);
}

.map-dot:hover .map-dot__label,
.map-dot.is-active .map-dot__label {
  opacity: 1;
  transform: translate(0, -50%);
}

.map-dot:nth-child(2n) .map-dot__label {
  left: auto;
  right: calc(100% + 9px);
  transform: translate(3px, -50%);
}

.map-dot:nth-child(2n):hover .map-dot__label,
.map-dot:nth-child(2n).is-active .map-dot__label {
  transform: translate(0, -50%);
}

.map-dot.is-right .map-dot__label {
  left: auto;
  right: calc(100% + 9px);
  transform: translate(3px, -50%);
}

.map-dot.is-right:hover .map-dot__label,
.map-dot.is-right.is-active .map-dot__label {
  transform: translate(0, -50%);
}

.map-caption {
  margin-top: 14px;
  padding-left: 40px;
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.flavor-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flavor-readout {
  padding: 24px 23px 20px;
  border-radius: 25px;
  background: var(--forest);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}

.flavor-readout__kicker {
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.12em;
  color: rgba(251, 247, 235, 0.55);
}

.flavor-readout h3 {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: calc(36px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.1;
}

.flavor-readout > p:not(.flavor-readout__kicker) {
  margin-top: 6px;
  font-size: calc(11.5px * var(--font-scale, 1));
  line-height: 1.75;
  color: rgba(251, 247, 235, 0.72);
}

.flavor-readout__bars {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.mini-bar {
  display: grid;
  grid-template-columns: 29px 1fr 22px;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  color: rgba(251, 247, 235, 0.68);
}

.mini-bar__track {
  height: 3px;
  border-radius: 99px;
  background: rgba(251, 247, 235, 0.16);
  overflow: hidden;
}

.mini-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
}

.mini-bar b {
  font-weight: 400;
  text-align: right;
  color: var(--lime);
}

.flavor-readout__open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 19px;
  padding-top: 13px;
  border-top: 1px solid rgba(251, 247, 235, 0.16);
  font-size: calc(11px * var(--font-scale, 1));
  color: var(--cream);
}

.flavor-readout__open span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest-deep);
  font-size: calc(12px * var(--font-scale, 1));
  transition: transform 0.2s ease;
}

.flavor-readout__open:hover span {
  transform: rotate(45deg);
}

.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
}

.flavor-tags button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: calc(9.5px * var(--font-scale, 1));
  color: var(--ink-soft);
  transition: background 0.16s ease, border-color 0.16s ease;
}

.flavor-tags button::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--veg-color, var(--forest));
}

.flavor-tags button:hover {
  border-color: var(--line);
  background: var(--paper);
}

.flavor-tags button.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

/* 07. Season calendar ----------------------------------------------------- */
.season-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 18px;
}

.month-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  align-content: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
}

.month-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 65px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 15px;
  text-align: left;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.month-btn:hover {
  border-color: var(--line);
  background: var(--paper);
}

.month-btn span {
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.08em;
  color: var(--muted);
}

.month-btn b {
  font-family: var(--font-serif);
  font-size: calc(16px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.2;
}

.month-btn small {
  font-size: calc(8.5px * var(--font-scale, 1));
  color: var(--muted);
}

.month-btn.is-active {
  background: var(--forest);
  color: var(--cream);
}

.month-btn.is-active span,
.month-btn.is-active small {
  color: var(--lime);
}

.month-btn.is-current::after {
  content: "NOW";
  align-self: flex-end;
  margin-top: -15px;
  font-family: var(--font-mono);
  font-size: calc(6.5px * var(--font-scale, 1));
  letter-spacing: 0.08em;
  color: var(--tomato);
}

.month-btn.is-active::after {
  color: var(--lime);
}

.season-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cream);
}

.season-panel__head {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.season-panel__big {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.season-panel__big span {
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.1em;
  color: var(--muted);
}

.season-panel__big b {
  font-family: var(--font-serif);
  font-size: calc(66px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.08em;
  color: var(--forest);
}

.season-panel__title p:first-child {
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.12em;
  color: var(--muted);
}

.season-panel__title h3 {
  margin-top: 3px;
  font-family: var(--font-serif);
  font-size: calc(clamp(24px, 2.5vw, 34px) * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.season-panel__title p:last-child {
  margin-top: 4px;
  font-size: calc(11px * var(--font-scale, 1));
  line-height: 1.7;
  color: var(--ink-soft);
}

.season-panel__count {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--lime-soft);
  text-align: center;
  transform: rotate(4deg);
}

.season-panel__count strong {
  font-family: var(--font-serif);
  font-size: calc(26px * var(--font-scale, 1));
  line-height: 1;
}

.season-panel__count span {
  margin-top: 2px;
  font-size: calc(8px * var(--font-scale, 1));
  color: var(--ink-soft);
}

.season-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.season-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 108px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: background 0.2s ease;
}

.season-item:nth-child(3n + 1),
.season-item:nth-child(3n + 2) {
  border-right: 1px solid var(--line);
}

.season-item:hover {
  background: var(--paper);
}

.season-item__art {
  position: relative;
  display: block;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border-radius: 15px;
  background: var(--tint);
  overflow: hidden;
}

.season-item__art > svg,
.season-item__art > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.08);
}

.season-item__text {
  min-width: 0;
}

.season-item__text span {
  font-family: var(--font-mono);
  font-size: calc(7px * var(--font-scale, 1));
  letter-spacing: 0.06em;
  color: var(--muted);
}

.season-item__text b {
  display: block;
  margin-top: 2px;
  font-family: var(--font-serif);
  font-size: calc(16px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.25;
}

.season-item__text small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  font-size: calc(9px * var(--font-scale, 1));
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.season-item__arrow {
  position: absolute;
  right: 11px;
  bottom: 10px;
  color: var(--muted);
  font-size: calc(10px * var(--font-scale, 1));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.season-item:hover .season-item__arrow {
  opacity: 1;
}

/* 08. Notes / quote / last bite / footer --------------------------------- */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.note-card {
  position: relative;
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.note-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.note-card__num {
  position: absolute;
  top: 21px;
  right: 22px;
  font-family: var(--font-serif);
  font-size: calc(29px * var(--font-scale, 1));
  line-height: 1;
  color: var(--line-strong);
}

.note-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 19px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--lime-soft);
}

.note-card__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--forest);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.note-card h3 {
  font-family: var(--font-serif);
  font-size: calc(23px * var(--font-scale, 1));
  font-weight: 600;
  letter-spacing: -0.02em;
}

.note-card p {
  margin-top: 8px;
  font-size: calc(11.5px * var(--font-scale, 1));
  line-height: 1.85;
  color: var(--ink-soft);
}

.pullquote {
  position: relative;
  max-width: 900px;
  margin: clamp(62px, 8vw, 96px) auto 0;
  padding: 26px 20px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.pullquote__mark {
  position: absolute;
  top: -37px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-serif);
  font-size: calc(34px * var(--font-scale, 1));
  line-height: 1;
  color: var(--tomato);
  transform: translateX(-50%);
}

.pullquote p {
  font-family: var(--font-serif);
  font-size: calc(clamp(25px, 3.2vw, 42px) * var(--font-scale, 1));
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.pullquote cite {
  display: block;
  margin-top: 17px;
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.last-bite {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 9vw, 116px) var(--page-pad);
  background: var(--forest);
  color: var(--cream);
  text-align: center;
}

.last-bite::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(251, 247, 235, 0.12) 0.8px, transparent 0.8px);
  background-size: 24px 24px;
  opacity: 0.3;
  pointer-events: none;
}

.last-bite .section-kicker {
  justify-content: center;
  margin-bottom: 20px;
  color: rgba(251, 247, 235, 0.54);
}

.last-bite .section-kicker > span {
  border-color: rgba(251, 247, 235, 0.28);
  color: var(--cream);
}

.section-kicker--light {
  color: rgba(251, 247, 235, 0.54) !important;
}

.last-bite h2 {
  position: relative;
  font-family: var(--font-serif);
  font-size: calc(clamp(52px, 8vw, 108px) * var(--font-scale, 1));
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.last-bite > p:not(.section-kicker) {
  position: relative;
  max-width: 440px;
  margin: 22px auto 0;
  font-size: calc(12.5px * var(--font-scale, 1));
  line-height: 1.8;
  color: rgba(251, 247, 235, 0.66);
}

.last-bite__actions {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.last-bite__deco {
  position: absolute;
  border: 1px solid rgba(251, 247, 235, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.last-bite__deco--left {
  left: -150px;
  bottom: -220px;
  width: 500px;
  height: 500px;
}

.last-bite__deco--left::after {
  content: "";
  position: absolute;
  inset: 60px;
  border: 1px dashed rgba(220, 231, 107, 0.22);
  border-radius: 50%;
}

.last-bite__deco--right {
  top: -180px;
  right: -160px;
  width: 460px;
  height: 460px;
  border-color: rgba(220, 231, 107, 0.2);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 40px;
  padding: clamp(50px, 6vw, 76px) var(--page-pad) 28px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.footer__brand .brand--footer {
  margin-bottom: 16px;
}

.brand--footer .brand__text strong {
  font-size: calc(26px * var(--font-scale, 1));
}

.footer__brand > p {
  max-width: 330px;
  font-size: calc(11.5px * var(--font-scale, 1));
  line-height: 1.85;
  color: var(--ink-soft);
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer__cols h3 {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.footer__cols a,
.footer__cols p {
  display: block;
  font-size: calc(11px * var(--font-scale, 1));
  line-height: 1.9;
  color: var(--ink-soft);
}

.footer__cols a:hover {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__meta {
  grid-column: 1 / -1;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* 09. Detail dialog / toast ---------------------------------------------- */
.veg-dialog {
  width: min(1160px, 94vw);
  height: min(850px, 88vh);
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: transparent;
  overflow: visible;
}

.veg-dialog::backdrop {
  background: rgba(10, 23, 16, 0.56);
  backdrop-filter: blur(6px);
}

.veg-dialog[open] {
  animation: dialogIn 0.32s var(--ease);
}

.dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: var(--cream);
  box-shadow: 0 50px 120px rgba(4, 18, 10, 0.42);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.9);
  color: var(--ink);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.detail-share-top {
  position: absolute;
  top: 16px;
  right: 62px;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.9);
  color: var(--ink);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.detail-share-top:hover {
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-1px);
}

.detail-share-top svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dialog-close:hover {
  background: var(--forest);
  color: var(--cream);
  transform: rotate(90deg);
}

.dialog-close:focus-visible {
  outline-color: var(--forest);
}

.dialog-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.detail-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 67% 28%, rgba(255, 253, 247, 0.72), transparent 42%),
    var(--tint, #e7e9cf);
}

.detail-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 60, 43, 0.2) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  opacity: 0.25;
  pointer-events: none;
}

.detail-art__ghost {
  position: absolute;
  left: -10px;
  bottom: 5%;
  z-index: 0;
  font-family: var(--font-serif);
  font-size: calc(clamp(230px, 25vw, 350px) * var(--font-scale, 1));
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.1em;
  color: var(--forest);
  opacity: 0.065;
  user-select: none;
}

.detail-art__category {
  position: absolute;
  top: 24px;
  left: 25px;
  z-index: 3;
  padding: 5px 11px;
  border: 1px solid rgba(23, 60, 43, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.68);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.06em;
  color: var(--forest);
}

.detail-art__variety {
  position: absolute;
  top: 61px;
  left: 25px;
  z-index: 3;
  max-width: 45%;
  padding: 4px 9px;
  overflow: hidden;
  border: 1px solid rgba(23, 60, 43, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.7);
  backdrop-filter: blur(6px);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-art__stage {
  position: relative;
  z-index: 2;
  width: 86%;
  height: 64%;
  transition: opacity 0.2s ease, transform 0.3s var(--ease);
}

.detail-art__stage.is-switching {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
}

.detail-art__stage > svg,
.detail-art__stage > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 28px rgba(37, 52, 34, 0.14));
}

.detail-art__stamp {
  position: absolute;
  right: 25px;
  bottom: 64px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 9px 13px;
  border: 1px solid rgba(23, 60, 43, 0.18);
  border-radius: 11px;
  background: var(--lime);
  color: var(--forest-deep);
  transform: rotate(-3deg);
  box-shadow: 0 8px 20px rgba(23, 60, 43, 0.12);
}

.detail-art__stamp span {
  font-family: var(--font-mono);
  font-size: calc(7px * var(--font-scale, 1));
  letter-spacing: 0.1em;
}

.detail-art__stamp b {
  font-family: var(--font-serif);
  font-size: calc(14px * var(--font-scale, 1));
  font-weight: 600;
}

.detail-fav {
  position: absolute;
  bottom: 22px;
  left: 25px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(23, 60, 43, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.72);
  backdrop-filter: blur(7px);
  font-size: calc(10px * var(--font-scale, 1));
  color: var(--forest);
  transition: background 0.2s ease, color 0.2s ease;
}

.detail-fav svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.detail-fav:hover {
  background: var(--white);
}

.detail-fav.is-fav {
  background: var(--tomato);
  border-color: var(--tomato);
  color: var(--white);
}

.detail-fav.is-fav svg {
  fill: currentColor;
}

.detail-art__num {
  position: absolute;
  right: 24px;
  bottom: 25px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.06em;
  color: rgba(23, 60, 43, 0.55);
}

.detail-content {
  position: relative;
  height: 100%;
  overflow-y: auto;
  padding: 46px 48px 36px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.detail-content::-webkit-scrollbar {
  width: 6px;
}

.detail-content::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: var(--line-strong);
}

.detail-kicker {
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  letter-spacing: 0.12em;
  color: var(--muted);
}

.detail-content h2 {
  margin-top: 5px;
  font-family: var(--font-serif);
  font-size: calc(clamp(44px, 5vw, 64px) * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-tagline {
  margin-top: 5px;
  font-family: var(--font-serif);
  font-size: calc(16px * var(--font-scale, 1));
  color: var(--ink-soft);
}

.detail-intro {
  margin-top: 13px;
  font-size: calc(12px * var(--font-scale, 1));
  line-height: 1.9;
  color: var(--ink-soft);
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-meta > div {
  padding: 10px 12px 10px 0;
}

.detail-meta > div:nth-child(2n) {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.detail-meta > div:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.detail-meta > div > span {
  display: block;
  font-family: var(--font-mono);
  font-size: calc(7px * var(--font-scale, 1));
  letter-spacing: 0.08em;
  color: var(--muted);
}

.detail-meta b {
  display: block;
  margin-top: 2px;
  font-size: calc(10.5px * var(--font-scale, 1));
  font-weight: 500;
  line-height: 1.55;
}

.detail-section {
  margin-top: 22px;
}

.detail-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.detail-section__head h3 {
  font-family: var(--font-serif);
  font-size: calc(18px * var(--font-scale, 1));
  font-weight: 600;
  letter-spacing: -0.01em;
}

.detail-section__head span {
  font-family: var(--font-mono);
  font-size: calc(7px * var(--font-scale, 1));
  letter-spacing: 0.1em;
  color: var(--muted);
}

.flavor-bars {
  display: grid;
  gap: 9px;
}

.flavor-row {
  display: grid;
  grid-template-columns: 34px 1fr 27px;
  align-items: center;
  gap: 10px;
  font-size: calc(10px * var(--font-scale, 1));
  color: var(--ink-soft);
}

.flavor-row__track {
  height: 5px;
  border-radius: 99px;
  background: var(--paper-2);
  overflow: hidden;
}

.flavor-row__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--veg-color, var(--forest));
  animation: barGrow 0.65s var(--ease) both;
}

.flavor-row b {
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  font-weight: 400;
  text-align: right;
  color: var(--muted);
}

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.nutrition-item {
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.nutrition-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: calc(17px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.1;
  color: var(--forest);
}

.nutrition-item span {
  display: block;
  margin-top: 3px;
  font-size: calc(8.5px * var(--font-scale, 1));
  line-height: 1.4;
  color: var(--ink-soft);
}

.nutrition-item small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: calc(6.5px * var(--font-scale, 1));
  letter-spacing: 0.02em;
  color: var(--muted);
}

.detail-copy {
  font-size: calc(11.5px * var(--font-scale, 1));
  line-height: 1.85;
  color: var(--ink-soft);
}

.cooking-list {
  display: grid;
  gap: 7px;
}

.cooking-list li {
  position: relative;
  padding-left: 19px;
  font-size: calc(11px * var(--font-scale, 1));
  line-height: 1.8;
  color: var(--ink-soft);
}

.cooking-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--forest);
  border-radius: 50%;
}

.variety-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.variety-tags span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: calc(9.5px * var(--font-scale, 1));
  line-height: 1.5;
  color: var(--ink-soft);
  background: var(--white);
}

.subtype-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.subtype-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.subtype-row__label {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.subtype-hint {
  margin: 0 0 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.subtype-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.subtype-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: calc(9px * var(--font-scale, 1));
  line-height: 1.5;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.subtype-tag i {
  display: none;
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--tomato);
}

.subtype-tag.has-art {
  cursor: pointer;
}

.subtype-tag.has-art i {
  display: block;
}

.subtype-tag.has-art:hover {
  border-color: var(--forest);
  background: var(--lime-soft);
  color: var(--forest);
  transform: translateY(-1px);
}

.subtype-tag.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--lime);
}

.subtype-tag.is-active i {
  background: var(--lime);
}

.subtype-tag:disabled {
  opacity: 0.48;
  cursor: default;
}

.fact-box {
  display: flex;
  gap: 10px;
  margin-top: 23px;
  padding: 14px 16px;
  border: 1px solid rgba(168, 182, 60, 0.45);
  border-radius: 14px;
  background: var(--lime-soft);
}

.fact-box__mark {
  flex: 0 0 auto;
  color: var(--lime-deep);
  font-size: calc(14px * var(--font-scale, 1));
  line-height: 1.4;
}

.fact-box p {
  font-size: calc(10.5px * var(--font-scale, 1));
  line-height: 1.8;
  color: var(--forest);
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
}

.text-btn--underline {
  color: var(--ink-soft);
}

.detail-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.detail-pager > button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.detail-pager > button:last-child {
  align-items: flex-end;
  text-align: right;
}

.detail-pager > button span {
  font-family: var(--font-mono);
  font-size: calc(7px * var(--font-scale, 1));
  letter-spacing: 0.06em;
  color: var(--muted);
}

.detail-pager > button b {
  margin-top: 1px;
  font-family: var(--font-serif);
  font-size: calc(15px * var(--font-scale, 1));
  font-weight: 600;
  transition: color 0.2s ease;
}

.detail-pager > button:hover b {
  color: var(--tomato);
}

.detail-pager__count {
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 12000;
  max-width: calc(100vw - 36px);
  margin: 0;
  padding: 10px 18px;
  border: 1px solid rgba(251, 247, 235, 0.18);
  border-radius: 999px;
  background: var(--forest-deep);
  color: var(--cream);
  font-size: calc(11.5px * var(--font-scale, 1));
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s var(--ease);
  white-space: nowrap;
}

.toast[popover] {
  inset: auto auto 24px 50%;
  width: max-content;
  overflow: visible;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* 09b. Search / settings / compare / share / floating --------------------- */
.search-popover {
  position: fixed;
  z-index: 95;
  max-height: min(420px, 62vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  box-shadow: 0 20px 54px rgba(9, 25, 16, 0.2);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  animation: popIn 0.18s var(--ease);
}

.search-popover__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 9px;
  border-radius: 11px;
  text-align: left;
  transition: background 0.18s ease;
}

.search-popover__item:hover,
.search-popover__item:focus-visible,
.search-popover__item.is-active {
  background: var(--paper-2);
}

.search-popover__art {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--tint, var(--white));
}

.search-popover__art > img,
.search-popover__art > svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-popover__initial {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--forest);
  font-family: var(--font-serif);
  font-size: calc(16px * var(--font-scale, 1));
  font-weight: 600;
}

.search-popover__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.search-popover__copy b {
  overflow: hidden;
  font-size: calc(12px * var(--font-scale, 1));
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-popover__copy small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: calc(9.5px * var(--font-scale, 1));
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-popover__enter {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(10px * var(--font-scale, 1));
}

.search-popover__empty {
  margin: 0;
  padding: 11px 12px;
  color: var(--muted);
  font-size: calc(10px * var(--font-scale, 1));
  line-height: 1.6;
}

.search-history {
  padding: 3px 5px 5px;
}

.search-history__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 6px 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  letter-spacing: 0.06em;
}

.search-history__head button {
  background: transparent;
  color: var(--tomato);
  font-size: calc(9px * var(--font-scale, 1));
}

.search-history__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-history__item {
  max-width: 100%;
  padding: 7px 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: calc(10.5px * var(--font-scale, 1));
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.search-history__item:hover {
  border-color: var(--line-strong);
  background: var(--paper-2);
}

/* Card compare */
.veg-card__compare {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 0 9px;
  border: 1px solid rgba(23, 60, 43, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.82);
  backdrop-filter: blur(5px);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.03em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.veg-card__compare:hover {
  border-color: var(--forest);
  background: var(--white);
}

.veg-card__compare.is-added {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--lime);
}

.veg-card.is-search-target {
  animation: searchTarget 1.1s var(--ease) 2;
}

@keyframes searchTarget {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tomato) 0%, transparent); }
  45% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--tomato) 55%, transparent); }
}

/* Settings dialog */
.settings-dialog {
  position: fixed;
  inset: 0;
  width: min(520px, calc(100vw - 28px));
  max-width: 100vw;
  max-height: min(820px, 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::backdrop,
.compare-dialog::backdrop,
.share-dialog::backdrop {
  background: rgba(10, 23, 16, 0.56);
  backdrop-filter: blur(6px);
}

.settings-dialog[open],
.compare-dialog[open],
.share-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(820px, 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: 18px 22px 13px;
  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-family: var(--font-serif);
  font-size: calc(25px * var(--font-scale, 1));
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.settings-body {
  overflow-y: auto;
  padding: 14px 22px 18px;
  scrollbar-color: var(--line-strong) transparent;
}

.settings-section + .settings-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.settings-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.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);
}

.language-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.language-option {
  height: 38px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: calc(10.5px * var(--font-scale, 1));
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.language-option:hover {
  border-color: var(--line-strong);
}

.language-option.is-active {
  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: 10px 0 2px;
  cursor: pointer;
}

.settings-row + .settings-row {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.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;
}

/* Share dialog */
.share-dialog {
  width: min(580px, calc(100vw - 28px));
  max-width: 100vw;
  max-height: min(860px, 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);
}

.share-shell {
  display: flex;
  flex-direction: column;
  max-height: min(860px, calc(100dvh - 28px));
  background: var(--paper);
}

.share-top {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 22px 15px;
  border-bottom: 1px solid var(--line);
}

.share-kicker {
  margin-bottom: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.12em;
}

.share-top h2 {
  font-family: var(--font-serif);
  font-size: calc(25px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.share-body {
  overflow-y: auto;
  padding: 18px 22px 22px;
}

.share-veg-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.share-veg-art {
  position: relative;
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--spot-tint);
}

.share-veg-art .art-slot {
  inset: 4px;
  border-radius: 9px;
}

.share-veg-art .art-slot__icon {
  width: 20px;
  height: 20px;
}

.share-veg-art .art-slot__label,
.share-veg-art .art-slot__corner {
  display: none;
}

.share-veg-art > img,
.share-veg-art > svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.share-veg-copy {
  min-width: 0;
}

.share-veg-copy span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7.5px * var(--font-scale, 1));
  letter-spacing: 0.06em;
}

.share-veg-copy h3 {
  margin: 2px 0;
  font-family: var(--font-serif);
  font-size: calc(23px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.2;
}

.share-veg-copy p {
  color: var(--ink-soft);
  font-size: calc(10.5px * var(--font-scale, 1));
  line-height: 1.55;
}

.share-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cream);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.share-option:hover {
  border-color: var(--line-strong);
  background: var(--white);
  transform: translateY(-1px);
}

.share-option__icon {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--forest);
  color: var(--lime);
  font-family: var(--font-serif);
  font-size: calc(14px * var(--font-scale, 1));
  font-weight: 600;
}

.share-option__icon--image {
  background: var(--lime);
  color: var(--forest-deep);
}

.share-option__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.share-option__copy b {
  font-size: calc(11px * var(--font-scale, 1));
  font-weight: 600;
}

.share-option__copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: calc(8.5px * var(--font-scale, 1));
  line-height: 1.45;
}

.share-text-panel,
.share-image-panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.share-text-panel textarea {
  width: 100%;
  min-height: 170px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: calc(10.5px * var(--font-scale, 1));
  line-height: 1.75;
  resize: vertical;
}

.share-copy-btn {
  margin-top: 9px;
}

.share-image-panel img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.share-image-actions {
  display: flex;
  gap: 8px;
  margin-top: 9px;
}

.share-image-hint {
  margin-top: 7px;
  color: var(--muted);
  font-size: calc(8.5px * var(--font-scale, 1));
  line-height: 1.55;
}

/* Compare lab */
.compare-dialog {
  width: min(1020px, calc(100vw - 28px));
  max-width: 100vw;
  height: min(760px, calc(100dvh - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 32px 90px rgba(7, 20, 13, 0.4);
}

.compare-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--forest);
}

.compare-top {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(251, 247, 235, 0.16);
}

.compare-top .section-kicker {
  margin-bottom: 7px;
  color: rgba(251, 247, 235, 0.55);
}

.compare-top .section-kicker > span {
  border-color: rgba(251, 247, 235, 0.25);
  color: var(--lime);
}

.compare-top h2 {
  font-family: var(--font-serif);
  font-size: calc(30px * var(--font-scale, 1));
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.compare-top h2 span {
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: calc(10px * var(--font-scale, 1));
  font-weight: 400;
  letter-spacing: 0.04em;
}

.compare-top__actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.text-btn--light {
  color: rgba(251, 247, 235, 0.66);
}

.text-btn--light:hover {
  color: var(--cream);
}

.round-btn--light {
  border-color: rgba(251, 247, 235, 0.28);
  color: var(--cream);
}

.round-btn--light:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--forest-deep);
}

.compare-body {
  flex: 1;
  overflow: auto;
  padding: 22px 24px 26px;
  scrollbar-color: rgba(251, 247, 235, 0.3) transparent;
}

.compare-empty {
  display: grid;
  place-items: center;
  min-height: 420px;
  text-align: center;
}

.compare-empty__mark {
  color: var(--lime);
  font-size: calc(28px * var(--font-scale, 1));
}

.compare-empty h3 {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: calc(27px * var(--font-scale, 1));
  font-weight: 600;
}

.compare-empty p {
  max-width: 380px;
  margin: 6px 0 18px;
  color: rgba(251, 247, 235, 0.64);
  font-size: calc(11px * var(--font-scale, 1));
  line-height: 1.7;
}

.compare-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.compare-title-row h3 {
  font-family: var(--font-serif);
  font-size: calc(20px * var(--font-scale, 1));
  font-weight: 600;
}

.compare-title-row p {
  color: rgba(251, 247, 235, 0.56);
  font-size: calc(9.5px * var(--font-scale, 1));
}

.compare-scroll-hint {
  display: none;
  margin: -6px 0 10px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.04em;
}

body.has-compare-tray .toast {
  bottom: 100px;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.compare-table th,
.compare-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(251, 247, 235, 0.14);
  text-align: left;
  vertical-align: middle;
}

.compare-table thead th {
  border-bottom: 1px solid rgba(251, 247, 235, 0.28);
}

.compare-table th:first-child,
.compare-table td:first-child {
  width: 112px;
  color: rgba(251, 247, 235, 0.55);
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  font-weight: 400;
  letter-spacing: 0.05em;
}

.cmp-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cmp-head__top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cmp-head__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--veg-color, var(--lime));
}

.cmp-head b {
  font-family: var(--font-serif);
  font-size: calc(20px * var(--font-scale, 1));
  font-weight: 600;
}

.cmp-head small {
  color: rgba(251, 247, 235, 0.56);
  font-size: calc(8.5px * var(--font-scale, 1));
}

.cmp-remove {
  align-self: flex-start;
  color: rgba(251, 247, 235, 0.5);
  font-size: calc(9px * var(--font-scale, 1));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cmp-remove:hover {
  color: var(--lime);
}

.cmp-value {
  font-size: calc(12px * var(--font-scale, 1));
  color: var(--cream);
}

.cmp-flavor {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cmp-flavor__track {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(251, 247, 235, 0.16);
}

.cmp-flavor__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--veg-color, var(--lime));
}

.cmp-flavor b {
  min-width: 22px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: calc(8.5px * var(--font-scale, 1));
  font-weight: 400;
  text-align: right;
}

.cmp-add-cell {
  vertical-align: top;
}

.cmp-add {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px dashed rgba(251, 247, 235, 0.3);
  border-radius: 13px;
}

.cmp-add p {
  color: rgba(251, 247, 235, 0.6);
  font-size: calc(9.5px * var(--font-scale, 1));
  line-height: 1.5;
}

.cmp-add select {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(251, 247, 235, 0.28);
  border-radius: 8px;
  background: var(--forest-deep);
  color: var(--cream);
  font-size: calc(10px * var(--font-scale, 1));
}

.cmp-add .button {
  min-height: 34px;
  padding: 0 13px;
  font-size: calc(10px * var(--font-scale, 1));
}

.compare-note {
  margin-top: 17px;
  color: rgba(251, 247, 235, 0.45);
  font-size: calc(8.5px * var(--font-scale, 1));
  line-height: 1.7;
}

.compare-tray {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 85;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(760px, calc(100vw - 28px));
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(251, 247, 235, 0.16);
  border-radius: 18px;
  background: var(--forest-deep);
  color: var(--cream);
  box-shadow: 0 20px 54px rgba(7, 20, 13, 0.32);
  transform: translateX(-50%);
  animation: trayIn 0.26s var(--ease);
}

@keyframes trayIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.tray-label {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  line-height: 1.2;
}

.tray-label span {
  font-family: var(--font-serif);
  font-size: calc(14px * var(--font-scale, 1));
  font-weight: 600;
}

.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;
  flex: 1;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.tray-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(251, 247, 235, 0.16);
  border-radius: 999px;
  background: rgba(251, 247, 235, 0.07);
  font-size: calc(9px * var(--font-scale, 1));
  white-space: nowrap;
}

.tray-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.tray-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.tray-actions .text-btn {
  color: rgba(251, 247, 235, 0.58);
}

.tray-actions .button {
  min-height: 34px;
  padding: 0 14px;
  font-size: calc(10px * var(--font-scale, 1));
}

body.has-compare-tray .back-to-top {
  bottom: 92px;
}

body.has-compare-tray .scroll-search {
  bottom: 148px;
}

/* Floating buttons */
.scroll-search,
.back-to-top {
  position: fixed;
  right: 24px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(24, 36, 26, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s var(--ease), background 0.2s ease, color 0.2s ease;
}

.scroll-search {
  bottom: 80px;
}

.back-to-top {
  bottom: 24px;
}

.scroll-search.is-visible,
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-search:hover,
.back-to-top:hover {
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-2px);
}

.scroll-search svg,
.back-to-top svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-wheel-toggle {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  white-space: nowrap;
}

.main-nav a.is-active,
.mobile-nav a.is-active {
  color: var(--ink);
}

.main-nav a.is-active::after {
  right: 0;
}

.mobile-nav a.is-active {
  background: var(--forest);
  color: var(--cream);
}

/* 10. Motion & responsive ------------------------------------------------- */
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes barGrow {
  from { width: 0; }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(-5px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dialogIn {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    gap: 26px;
  }

  .float-note--season { left: -10px; }
  .float-note--hint { right: -8px; }
  .hero__orbit--one { width: 520px; height: 520px; }

  .flavor-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .season-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .season-item:nth-child(3n + 1),
  .season-item:nth-child(3n + 2) {
    border-right: 0;
  }

  .season-item:nth-child(2n + 1) {
    border-right: 1px solid var(--line);
  }
}

@media (min-width: 981px) {
  /* 10 items in a 3-column grid leave a lonely widow. Turn the last
     one into a wide editorial card so every row feels intentional. */
  .veg-grid > .veg-card:last-child:nth-child(3n + 1) {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(280px, 40%) minmax(0, 1fr);
    min-height: 258px;
  }

  .veg-grid > .veg-card:last-child:nth-child(3n + 1) .veg-card__stage {
    height: 100%;
    min-height: 258px;
  }

  .veg-grid > .veg-card:last-child:nth-child(3n + 1) .veg-card__art {
    inset: 18px 54px 8px;
  }

  .veg-grid > .veg-card:last-child:nth-child(3n + 1) .veg-card__ghost {
    font-size: calc(164px * var(--font-scale, 1));
  }

  .veg-grid > .veg-card:last-child:nth-child(3n + 1) .veg-card__body {
    justify-content: center;
    padding: 26px 40px 24px;
  }

  .veg-grid > .veg-card:last-child:nth-child(3n + 1) h3 {
    font-size: calc(34px * var(--font-scale, 1));
  }

  .veg-grid > .veg-card:last-child:nth-child(3n + 1) .veg-card__tagline {
    max-width: 470px;
    font-size: calc(12.5px * var(--font-scale, 1));
  }

  .veg-grid > .veg-card:last-child:nth-child(3n + 1) .veg-card__meta {
    max-width: 470px;
    margin-top: 17px;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 70px;
  }

  .main-nav {
    display: none;
  }

  .mobile-nav {
    position: sticky;
    top: 70px;
    z-index: 48;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    padding: 8px var(--page-pad);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(14px);
  }

  .mobile-nav a {
    flex: 1;
    padding: 6px 4px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: calc(11px * var(--font-scale, 1));
    text-align: center;
    color: var(--ink-soft);
  }

  .mobile-nav a:active {
    background: var(--forest);
    color: var(--cream);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 74px;
  }

  .hero__copy {
    max-width: 700px;
  }

  .hero h1 {
    font-size: calc(clamp(58px, 10.4vw, 92px) * var(--font-scale, 1));
  }

  .hero__visual {
    min-height: 610px;
    margin-top: 26px;
  }

  .spotlight {
    width: min(100%, 430px);
  }

  .float-note--season { left: 3%; }
  .float-note--hint { right: 2%; }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head__intro {
    max-width: 620px;
  }

  .index-toolbar {
    flex-direction: column;
    gap: 11px;
  }

  .index-tools {
    width: 100%;
  }

  .search-box {
    flex: 1;
    width: auto;
    min-width: 180px;
  }

  .veg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flavor-layout {
    grid-template-columns: 1fr;
  }

  .flavor-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .flavor-readout {
    height: 100%;
  }

  .season-layout {
    grid-template-columns: 1fr;
  }

  .month-rail {
    grid-template-columns: repeat(6, 1fr);
  }

  .month-btn {
    align-items: center;
    min-height: 58px;
    text-align: center;
  }

  .month-btn small {
    display: none;
  }

  .month-btn.is-current::after {
    margin-top: -13px;
    align-self: center;
  }

  .season-panel__head {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 20px;
    padding: 22px;
  }

  .season-panel__big b {
    font-size: calc(56px * var(--font-scale, 1));
  }

  .notes-grid {
    grid-template-columns: 1fr;
  }

  .note-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 17px;
  }

  .note-card__icon {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .note-card h3 {
    grid-column: 2;
    align-self: end;
  }

  .note-card p {
    grid-column: 2;
  }

  .veg-dialog {
    width: min(880px, 94vw);
    height: min(900px, 92vh);
  }

  .dialog-shell {
    grid-template-columns: 1fr;
    grid-template-rows: 300px minmax(0, 1fr);
  }

  .detail-art {
    min-height: 300px;
  }

  .detail-art__stage {
    width: 66%;
    height: 94%;
    margin-top: -8px;
  }

  .detail-art__ghost {
    font-size: calc(220px * var(--font-scale, 1));
    bottom: -8%;
  }

  .detail-art__stamp {
    right: 20px;
    bottom: 18px;
  }

  .detail-art__num {
    display: none;
  }

  .detail-content {
    padding: 32px 34px 28px;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: 20px;
    --section-gap: 78px;
  }

  html {
    scroll-padding-top: 100px;
  }

  .site-header {
    gap: 12px;
    height: 64px;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
  }

  .brand__text strong {
    font-size: calc(20px * var(--font-scale, 1));
  }

  .brand__text small {
    font-size: calc(6.5px * var(--font-scale, 1));
    letter-spacing: 0.08em;
  }

  .header-actions {
    gap: 6px;
  }

  .settings-btn,
  .compare-btn,
  .fav-top-btn {
    height: 34px;
    padding: 0;
    justify-content: center;
  }

  .settings-btn {
    width: 34px;
  }

  .compare-btn {
    width: auto;
    padding: 0 9px;
    gap: 5px;
  }

  .compare-btn > span:not(.compare-count) {
    display: inline;
    font-size: calc(10px * var(--font-scale, 1));
  }

  .settings-btn span {
    display: none;
  }

  .compare-count {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: calc(8px * var(--font-scale, 1)) !important;
  }

  .mobile-nav {
    top: 64px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .eyebrow {
    font-size: calc(7.5px * var(--font-scale, 1));
    letter-spacing: 0.08em;
  }

  .eyebrow__cn {
    padding-left: 0;
    font-size: calc(10px * var(--font-scale, 1));
  }

  .eyebrow__line {
    width: 22px;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 60px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: calc(clamp(45px, 13.4vw, 68px) * var(--font-scale, 1));
    line-height: 1.08;
  }

  .hero__lede {
    font-size: calc(13.5px * var(--font-scale, 1));
    line-height: 1.85;
  }

  .hero-search {
    height: 52px;
    margin-top: 23px;
    padding-left: 15px;
  }

  .hero-search input {
    font-size: calc(12px * var(--font-scale, 1));
  }

  .hero-search button {
    height: 39px;
    padding: 0 14px;
    font-size: calc(11px * var(--font-scale, 1));
  }

  .hero__actions .button {
    min-height: 42px;
    padding: 0 17px;
    font-size: calc(11.5px * var(--font-scale, 1));
  }

  .hero__stats {
    margin-top: 30px;
    padding-top: 16px;
  }

  .hero__stats strong {
    font-size: calc(25px * var(--font-scale, 1));
  }

  .hero__stats dt {
    font-size: calc(7px * var(--font-scale, 1));
  }

  .hero__stats > div + div {
    padding-left: 11px;
  }

  .hero__visual {
    min-height: 545px;
    margin-top: 13px;
  }

  .hero__orbit--one {
    width: 410px;
    height: 410px;
  }

  .hero__orbit--two {
    width: 300px;
    height: 300px;
  }

  .hero__scribble {
    display: none;
  }

  .spotlight {
    width: min(100%, 370px);
    padding: 15px 15px 18px;
    border-radius: 26px;
    transform: rotate(-0.8deg);
  }

  .spotlight::before {
    inset: 6px;
    border-radius: 21px;
  }

  .spotlight__head {
    padding: 2px 6px 10px;
  }

  .spotlight__month {
    font-size: calc(10px * var(--font-scale, 1));
  }

  .spotlight__stage {
    height: 238px;
    border-radius: 19px;
  }

  .spotlight__ghost {
    font-size: calc(160px * var(--font-scale, 1));
  }

  .spotlight__halo {
    width: 190px;
    height: 190px;
  }

  .spotlight h2 {
    font-size: calc(31px * var(--font-scale, 1));
  }

  .spotlight__sticker {
    right: 9px;
    bottom: 9px;
  }

  .spotlight__open {
    top: 278px;
    right: -12px;
    width: 67px;
    height: 67px;
  }

  .spotlight__open span {
    font-size: calc(8.5px * var(--font-scale, 1));
  }

  .float-note {
    font-size: calc(9px * var(--font-scale, 1));
    padding: 8px 11px;
  }

  .float-note--season {
    top: 38px;
    left: -3px;
  }

  .float-note--hint {
    right: -3px;
    bottom: 15px;
  }

  .ticker__track span {
    padding: 0 19px;
    font-size: calc(12px * var(--font-scale, 1));
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-kicker {
    margin-bottom: 12px;
    font-size: calc(7.5px * var(--font-scale, 1));
  }

  .section-head h2 {
    font-size: calc(clamp(32px, 9.6vw, 46px) * var(--font-scale, 1));
  }

  .section-head h2 em {
    margin-top: 10px;
    font-size: calc(9px * var(--font-scale, 1));
  }

  .section-head__intro {
    font-size: calc(12px * var(--font-scale, 1));
    line-height: 1.8;
  }

  .index-tools {
    gap: 6px;
  }

  .search-box {
    order: -1;
    flex-basis: 100%;
    width: 100%;
    height: 38px;
  }

  .season-toggle,
  .sort-box__trigger {
    height: 34px;
  }

  .sort-box__label {
    display: none;
  }

  .chips {
    flex-wrap: nowrap;
    width: calc(100vw - 40px);
    padding-bottom: 3px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
    font-size: calc(10.5px * var(--font-scale, 1));
  }

  .veg-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .veg-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 172px;
    border-radius: 22px;
  }

  .veg-card__stage {
    height: 100%;
    min-height: 172px;
  }

  .veg-card__ghost {
    font-size: calc(104px * var(--font-scale, 1));
  }

  .veg-card__art {
    inset: 13px 7px 7px;
  }

  .veg-card__season {
    top: 9px;
    right: 8px;
    font-size: calc(6.5px * var(--font-scale, 1));
    padding: 3px 7px;
  }

  .veg-card__fav {
    top: 8px;
    left: 8px;
    width: 26px;
    height: 26px;
  }

  .veg-card__body {
    justify-content: center;
    padding: 14px 15px;
  }

  .veg-card h3 {
    font-size: calc(23px * var(--font-scale, 1));
  }

  .veg-card__tagline {
    font-size: calc(10px * var(--font-scale, 1));
  }

  .veg-card__meta {
    margin-top: 10px;
    padding-top: 8px;
    font-size: calc(7px * var(--font-scale, 1));
  }

  .flavor-map-card {
    padding: 22px 16px 17px;
    border-radius: 23px;
  }

  .map-axis--y {
    top: 22px;
    left: 17px;
  }

  .map-plot {
    height: 320px;
    margin: 30px 4px 2px 18px;
  }

  .map-caption {
    padding-left: 18px;
    font-size: calc(6.5px * var(--font-scale, 1));
  }

  .map-dot__label {
    font-size: calc(8.5px * var(--font-scale, 1));
  }

  .flavor-side {
    grid-template-columns: 1fr;
  }

  .flavor-readout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 20px;
  }

  .flavor-readout__kicker,
  .flavor-readout h3,
  .flavor-readout > p {
    grid-column: 1;
  }

  .flavor-readout__bars {
    grid-column: 2;
    grid-row: 1 / 4;
    margin-top: 2px;
  }

  .flavor-readout__open {
    grid-column: 1 / -1;
  }

  .flavor-tags {
    padding: 12px;
  }

  .month-rail {
    grid-template-columns: repeat(4, 1fr);
    border-radius: 20px;
  }

  .month-btn {
    min-height: 52px;
    padding: 6px;
  }

  .month-btn b {
    font-size: calc(14px * var(--font-scale, 1));
  }

  .season-panel {
    border-radius: 23px;
  }

  .season-panel__head {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 15px;
    padding: 20px 18px;
  }

  .season-panel__big b {
    font-size: calc(50px * var(--font-scale, 1));
  }

  .season-panel__title h3 {
    font-size: calc(23px * var(--font-scale, 1));
  }

  .season-panel__title p:last-child {
    font-size: calc(10px * var(--font-scale, 1));
  }

  .season-panel__count {
    display: none;
  }

  .season-list {
    grid-template-columns: 1fr;
  }

  .season-item:nth-child(2n + 1) {
    border-right: 0;
  }

  .season-item {
    min-height: 92px;
    padding: 11px 14px;
  }

  .season-item__art {
    width: 66px;
    height: 66px;
  }

  .note-card {
    display: block;
    padding: 22px;
  }

  .note-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
  }

  .note-card__icon svg {
    width: 29px;
    height: 29px;
  }

  .note-card h3 {
    font-size: calc(21px * var(--font-scale, 1));
  }

  .note-card p {
    font-size: calc(11px * var(--font-scale, 1));
  }

  .pullquote {
    margin-top: 68px;
  }

  .pullquote p {
    font-size: calc(25px * var(--font-scale, 1));
  }

  .last-bite h2 {
    font-size: calc(clamp(45px, 14vw, 72px) * var(--font-scale, 1));
  }

  .last-bite > p:not(.section-kicker) {
    font-size: calc(11.5px * var(--font-scale, 1));
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 46px;
  }

  .footer__cols {
    gap: 20px;
  }

  .veg-dialog {
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
  }

  .dialog-shell {
    grid-template-rows: 262px minmax(0, 1fr);
    border-radius: 0;
  }

  .detail-art {
    min-height: 262px;
  }

  .detail-art__stage {
    width: 58%;
  }

  .detail-art__category {
    top: 17px;
    left: 18px;
  }

  .detail-art__variety {
    top: 53px;
    left: 18px;
    max-width: 55%;
    font-size: calc(7px * var(--font-scale, 1));
  }

  .detail-art__stamp {
    right: 17px;
    bottom: 15px;
  }

  .detail-fav {
    left: 18px;
    bottom: 15px;
  }

  .dialog-close {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--cream);
  }

  .detail-share-top {
    position: fixed;
    top: 12px;
    right: 56px;
    width: 36px;
    height: 36px;
    background: var(--cream);
  }

  .detail-content {
    padding: 26px 21px 30px;
  }

  .detail-content h2 {
    font-size: calc(44px * var(--font-scale, 1));
  }

  .detail-tagline {
    font-size: calc(14px * var(--font-scale, 1));
  }

  .detail-intro {
    font-size: calc(11.5px * var(--font-scale, 1));
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }

  .detail-meta > div:nth-child(2n) {
    padding-left: 0;
    border-left: 0;
  }

  .detail-meta > div {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-meta > div:last-child {
    border-bottom: 0;
  }

  .nutrition-grid {
    gap: 5px;
  }

  .nutrition-item {
    padding: 10px 8px;
  }

  .nutrition-item strong {
    font-size: calc(15px * var(--font-scale, 1));
  }

  .detail-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .subtype-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px 0;
  }

  .subtype-row__label {
    padding-top: 0;
  }

  .detail-pager {
    grid-template-columns: 1fr 1fr;
  }

  .detail-pager__count {
    display: none;
  }

  .toast {
    bottom: 18px;
    max-width: calc(100vw - 36px);
    white-space: nowrap;
  }
}

/* Component refinements ------------------------------------------------ */
.chip__count {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  margin-left: 5px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(251, 247, 235, 0.16);
  font-family: var(--font-mono);
  font-size: calc(7px * var(--font-scale, 1));
  line-height: 1;
  vertical-align: 1px;
}

.chip.is-active .chip__count {
  background: var(--lime);
  color: var(--forest-deep);
}

.detail-actions .button.is-added {
  border-color: var(--forest);
  background: var(--lime);
  color: var(--forest-deep);
}

/* Broken artwork should never leave raw alt text spilling over a card. */
.is-art-error {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.is-art-error > img.is-broken {
  display: none;
}

.is-art-error::after {
  content: "插画载入失败";
  padding: 5px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 74%, transparent);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: calc(7px * var(--font-scale, 1));
  line-height: 1.5;
  white-space: nowrap;
}

.season-item__art.is-art-error::after {
  content: "!";
  width: 18px;
  height: 18px;
  padding: 0;
}

.subtype-row.is-highlight {
  margin: 0 -8px;
  padding-right: 8px;
  padding-left: 8px;
  background: var(--lime-soft);
}

.cmp-add-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(251, 247, 235, 0.16);
  border-radius: 14px;
  background: rgba(251, 247, 235, 0.06);
}

.cmp-add-row > div {
  flex: 1;
  min-width: 0;
}

.cmp-add-row b {
  font-size: calc(11px * var(--font-scale, 1));
  font-weight: 600;
}

.cmp-add-row p {
  margin-top: 2px;
  color: rgba(251, 247, 235, 0.55);
  font-size: calc(9px * var(--font-scale, 1));
}

.cmp-add-row select {
  width: 230px;
  height: 36px;
  padding: 0 9px;
  border: 1px solid rgba(251, 247, 235, 0.28);
  border-radius: 8px;
  background: var(--forest-deep);
  color: var(--cream);
  font-size: calc(10px * var(--font-scale, 1));
}

.cmp-add-row .button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  font-size: calc(10px * var(--font-scale, 1));
}

.button:active,
.round-btn:active,
.chip:active,
.settings-btn:active,
.compare-btn:active,
.fav-top-btn:active,
.theme-option:active,
.language-option:active,
.font-size-options button:active,
.share-option:active,
.veg-card__fav:active,
.veg-card__compare:active,
.detail-fav:active,
.map-dot:active {
  transform: translateY(1px) scale(0.975);
}

.veg-card:active {
  transform: translateY(-1px) scale(0.997);
}

@media (max-width: 720px) {
  html[data-lang="en"] .hero h1 {
    font-size: calc(clamp(38px, 10.5vw, 48px) * var(--font-scale, 1));
  }

  .settings-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 19px;
  }

  .settings-shell {
    max-height: calc(100dvh - 20px);
  }

  .settings-top,
  .share-top {
    padding: 17px 17px 13px;
  }

  .settings-body,
  .share-body {
    padding: 15px 17px 18px;
  }

  .settings-footer {
    padding: 11px 17px 15px;
  }

  .theme-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .theme-option {
    padding: 8px;
    gap: 8px;
  }

  .theme-option__preview {
    flex-basis: 44px;
    width: 44px;
    height: 36px;
  }

  .theme-option__preview i:nth-child(2) {
    top: 8px;
    left: 19px;
    width: 19px;
  }

  .theme-option__preview i:nth-child(3) {
    top: 18px;
    left: 19px;
    width: 14px;
  }

  .language-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .font-size-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .share-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 19px;
  }

  .share-shell {
    max-height: calc(100dvh - 20px);
  }

  .share-options {
    grid-template-columns: 1fr;
  }

  .share-option__copy small {
    white-space: normal;
  }

  .compare-dialog {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 18px;
  }

  .compare-top {
    padding: 16px 15px 13px;
  }

  .compare-top h2 {
    font-size: calc(25px * var(--font-scale, 1));
  }

  .compare-body {
    padding: 15px 14px 18px;
  }

  .compare-table {
    min-width: 600px;
  }

  .compare-table.cols-1,
  .compare-table.cols-2 {
    min-width: 100%;
  }

  .compare-table.cols-1 th,
  .compare-table.cols-1 td,
  .compare-table.cols-2 th,
  .compare-table.cols-2 td {
    padding: 9px 7px;
  }

  .compare-table.cols-1 th:first-child,
  .compare-table.cols-1 td:first-child,
  .compare-table.cols-2 th:first-child,
  .compare-table.cols-2 td:first-child {
    width: 78px;
  }

  .compare-scroll-hint {
    display: block;
  }

  .compare-empty {
    min-height: 330px;
  }

  .cmp-add-row {
    flex-wrap: wrap;
  }

  .cmp-add-row > div {
    flex-basis: 100%;
  }

  .cmp-add-row select {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .compare-tray {
    bottom: 10px;
    flex-wrap: wrap;
    gap: 8px 10px;
    width: calc(100vw - 16px);
    padding: 9px 10px 9px 12px;
    border-radius: 15px;
  }

  .tray-items {
    flex-basis: calc(100% - 120px);
    order: 2;
  }

  .tray-actions {
    margin-left: auto;
  }

  .tray-actions .text-btn {
    display: none;
  }

  body.has-compare-tray .back-to-top {
    bottom: 104px;
  }

  body.has-compare-tray .scroll-search {
    bottom: 154px;
  }

  .scroll-search,
  .back-to-top {
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .scroll-search {
    bottom: 68px;
  }

  .back-to-top {
    bottom: 16px;
  }

  .detail-wheel-toggle {
    flex-basis: 100%;
    margin-left: 0;
    text-align: left;
  }

  .search-popover {
    max-height: min(360px, 55vh);
  }

  .search-popover__copy small {
    max-width: 180px;
  }
}

@media (max-width: 390px) {
  .hero__stats > div:nth-child(4) {
    display: none;
  }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .spotlight__stage {
    height: 215px;
  }

  .spotlight__open {
    top: 253px;
  }

  .hero__visual {
    min-height: 520px;
  }

  .flavor-readout {
    display: block;
  }

  .flavor-readout__bars {
    margin-top: 15px;
  }
}

@media (max-width: 360px) {
  .compare-btn > span:not(.compare-count) {
    display: none;
  }

  .compare-btn {
    width: 42px;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ticker__track {
    animation: none;
  }
}

/* 风味线条尾端：白色圆点 ------------------------------------------------- */
/* 详情页「风味速写」、风味坐标迷你条、对比台风味条，线条末端统一加一颗白点 */
.flavor-row__track,
.mini-bar__track,
.cmp-flavor__track {
  position: relative;
  overflow: visible;
}

.flavor-row__fill,
.mini-bar__fill,
.cmp-flavor__fill {
  position: relative;
}

.flavor-row__fill::after,
.mini-bar__fill::after,
.cmp-flavor__fill::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  transform: translate(50%, -50%);
  pointer-events: none;
}

.flavor-row__fill::after {
  box-shadow: 0 0 0 1px rgba(23, 60, 43, 0.16), 0 1px 3px rgba(23, 60, 43, 0.22);
}

.mini-bar__fill::after,
.cmp-flavor__fill::after {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 1px rgba(23, 60, 43, 0.3);
}

/* 详情页：细分品种快速切换（品种条 + 左右拖动插画） ----------------------- */
.variety-rail {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 8px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper-2);
}

.variety-rail[hidden] {
  display: none;
}

.variety-rail__label {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: calc(8px * var(--font-scale, 1));
  letter-spacing: 0.14em;
  color: var(--muted);
}

.variety-rail__arrow {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--forest);
  font-size: 12px;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.variety-rail__arrow:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--lime);
}

.variety-rail__track {
  flex: 1 1 auto;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6px, #000 calc(100% - 6px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6px, #000 calc(100% - 6px), transparent 100%);
}

.variety-rail__track::-webkit-scrollbar {
  display: none;
}

.variety-pill {
  flex: 0 0 auto;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: calc(9px * var(--font-scale, 1));
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.variety-pill:hover {
  background: var(--lime-soft);
  color: var(--forest);
}

.variety-pill.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--lime);
}

.variety-rail__hint {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: calc(7px * var(--font-scale, 1));
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

/* 拖动插画的跟手感 */
.detail-art {
  touch-action: pan-y;
}

.detail-art__stage {
  cursor: grab;
}

.detail-art__stage.is-dragging {
  cursor: grabbing;
  transition: none;
}

.detail-art__stage img,
.detail-art__stage svg {
  -webkit-user-drag: none;
  user-select: none;
}

@media (max-width: 760px) {
  .variety-rail {
    gap: 4px;
    padding: 5px 6px;
  }

  .variety-rail__label,
  .variety-rail__hint {
    display: none;
  }
}
