#flavor-notes {
  color: var(--ink);
  background: #f7f6ed;
  border-block-start: 1px solid #c8c6b5;
}
.fn-inner { padding-block: clamp(40px, 5.4vw, 78px); }
.fn-heading, .fn-filters, .fn-index-info, .fn-reader-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.fn-heading { align-items: end; }
.fn-heading .section-kicker { color: #42614a; }
.fn-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.05em;
}
.fn-intro { max-width: 24em; margin: 0; color: #515749; font-size: .96rem; line-height: 1.75; }
.fn-flavors { margin-top: clamp(22px, 3vw, 40px); }
.fn-flavor-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.fn-flavor-heading h3, .fn-archive-title {
  margin: 0;
  font-weight: 850;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  letter-spacing: -.035em;
}
.fn-motion-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 5px 12px; border: 1px solid #9ca695; border-radius: 999px;
  background: transparent; color: #334d3d; font-size: .82rem; font-weight: 700;
}
.fn-motion-toggle:hover { background: #e7ecdf; }
.fn-motion-icon { width: 9px; height: 11px; border-inline: 3px solid currentColor; }
.fn-motion-toggle[data-paused=true] .fn-motion-icon {
  width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-block: 6px solid transparent;
}
.fn-flavor-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 32px); }
.fn-flavor-card {
  --leaf-color: #385b48;
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid #aab2a0; border-radius: 8px; background: #fffdf5;
}
.fn-classic { --leaf-color: #795129; border-color: #c8b392; }
.fn-flavor-stage { position: relative; background: radial-gradient(ellipse at 32% 20%, #edf2dc, #dbe6cb 78%); }
.fn-classic .fn-flavor-stage { background: radial-gradient(ellipse at 32% 20%, #fff0ca, #f2dfb6 78%); }
.fn-flavor-en {
  display: block; margin: 14px 19px 0; color: var(--leaf-color);
  font: 750 .7rem/1.3 Arial, sans-serif; text-transform: uppercase; letter-spacing: .13em;
}
.fn-flavor-art { width: 100%; aspect-ratio: 480 / 280; }
.fn-flavor-art object { display: block; width: 100%; height: 100%; pointer-events: none; }
.fn-flavor-caption { flex: 1; padding: clamp(14px, 1.7vw, 24px); border-top: 1px solid #c5cbb9; }
.fn-classic .fn-flavor-caption { border-color: #d9c5a1; }
.fn-flavor-caption h4 { margin: 0; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.25; letter-spacing: -.045em; }
.fn-flavor-caption p { margin: 6px 0 0; color: #555749; font-size: .95rem; line-height: 1.7; }
.fn-archive-title { margin-top: clamp(32px, 4vw, 59px); }
.fn-archive-title + .fn-filters { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .fn-motion-toggle { display: none; } }
@media (max-width: 600px) {
  .fn-flavor-pair { grid-template-columns: 1fr; }
}
.fn-filters {
  flex-wrap: wrap;
  margin-top: clamp(20px, 2.3vw, 34px);
  padding-block: 12px;
  border-block: 1px solid #a8ad9e;
}
.fn-topics { display: flex; flex-wrap: wrap; gap: 5px; }
.fn-topic {
  padding: 7px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #414b3e;
  font-size: .88rem;
  font-weight: 700;
}
.fn-topic:hover { border-color: #9da893; }
.fn-topic[aria-pressed=true] { background: #304d3c; color: #fffdf2; }
.fn-year { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; }
.fn-year select {
  min-height: 38px;
  padding: 4px 9px;
  border: 1px solid #a1a594;
  border-radius: 4px;
  background: #fdfcf6;
  color: var(--ink);
}
.fn-soon { margin: clamp(22px, 3vw, 38px) 0 6px; color: #515749; font-size: .96rem; }
.fn-index-info { margin-block: 12px 18px; flex-wrap: wrap; gap: 3px 12px; }
.fn-index-info p { margin: 0; color: #555d50; font-size: .81rem; }
.fn-index-info .fn-count { margin-left: auto; }
.fn-cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.3vw, 32px);
}
.fn-cards[hidden], .fn-empty[hidden] { display: none; }
.fn-cards li { position: relative; min-width: 0; }
.fn-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.95;
  object-fit: cover;
  border-radius: 4px;
  background: #e6ddc9;
}
.fn-meta, .fn-reader-meta {
  margin: 13px 0 4px;
  font-size: .8rem;
  font-weight: 750;
  color: #42614a;
}
.fn-cards h3 { margin: 0; padding-right: 1.3em; line-height: 1.35; font-size: clamp(1.15rem, 1.64vw, 1.6rem); letter-spacing: -.035em; font-weight: 850; }
.fn-open {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
}
.fn-open::before { content: ''; position: absolute; inset: 0; }
.fn-open::after { content: '→' / ''; position: absolute; right: 2px; color: #536a53; }
.fn-open:focus-visible { outline: 0; }
.fn-cards li:focus-within { outline: 3px solid #ad4c26; outline-offset: 4px; }
.fn-cards li:hover .fn-open, .fn-open:focus-visible { text-decoration: underline; text-underline-offset: .18em; }
.fn-summary { margin: 6px 0 0; color: #56594e; font-size: .88rem; line-height: 1.7; }
.fn-empty { padding: 22px; text-align: center; background: #eeeee2; border-radius: 4px; }
.fn-empty p { margin: 0 0 8px; }
.fn-empty button, .fn-close { border: 1px solid #9da594; border-radius: 20px; background: #faf9ef; color: var(--ink); padding: 7px 14px; font-size: .9rem; }
.fn-reader {
  width: min(34rem, calc(100% - 36px));
  max-height: 82dvh;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #8a917e;
  border-radius: 8px;
  padding: clamp(20px, 3.5vw, 42px);
  background: var(--paper);
  color: var(--ink);
}
.fn-reader::backdrop { background: #20281f99; }
.fn-reader-head { align-items: center; padding-bottom: 12px; border-bottom: 1px solid #a8ad9e; gap: 10px; }
.fn-reader-meta { margin: 0; }
.fn-close { flex-shrink: 0; min-height: 40px; }
.fn-reader h2 { margin: 24px 0 12px; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.4; }
.fn-reader-body p { margin: .8em 0; font-size: 1rem; line-height: 1.9; }
@media (max-width: 760px) {
  .fn-heading { display: block; }
  .fn-intro { margin-top: 10px; max-width: 34em; }
  .fn-filters { gap: 10px; }
  .fn-topic { padding: 7px 10px; }
}
@media (max-width: 600px) {
  .fn-cards { grid-template-columns: 1fr; gap: 24px; }
  .fn-filters { align-items: flex-start; flex-direction: column; }
  .fn-topic { min-height: 40px; }
  .fn-index-info { align-items: start; }
  .fn-index-info .fn-count { margin-left: 0; }
  .fn-cards h3 { font-size: 1.3rem; }
}
