/* Original food-atlas composition; soft editorial shapes inspired by Tanica Press. */
:root{--paper:#fffdf9;--ink:#37332f;--muted:#706960;--line:#e8e2d9;--green:#496950;--clay:#a65034;--sans:"Noto Sans JP",sans-serif;--serif:"Zen Maru Gothic","Noto Sans JP",sans-serif}
.site-header nav > .my-note-link {
  display: inline-flex;
  white-space: nowrap;
  padding-inline: clamp(10px, 2vw, 18px);
  border: 1px solid var(--line);
  border-radius: 30px;
}
.site-header nav > .my-note-link:hover { background: #f4eee5; }
.home-save-status:not(:empty) { max-width: 1440px; margin: auto; padding: 8px 5vw; color: var(--clay); }
body{background:var(--paper)}h1,h2,h3{font-weight:700}.site-header{background:#fff;border-bottom:0}.brand{font-weight:700}.brand>span{border:0;background:#f9e4d0;border-radius:14px;padding:5px 10px;color:#754830}
.eyebrow{letter-spacing:.09em;font-size:11px}.primary{background:#f5d6b9;color:#553e2c;border-color:#f5d6b9;font-weight:600}.primary:hover{background:#ebc5a3}
.section-heading h2{font-size:clamp(25px,2.6vw,36px)}.section-heading>p{font-size:14px}.explorer-section{border:0}.entry-row button{background:white}.entry-row button[aria-pressed=true]{background:#e0ecdc;color:#344f37;border-color:#bacdb4}.explorer-shell{border-radius:28px;background:white}.graph-column{background:#f5f7f1}.graph-center{background:#dcebd5;color:#344b31;border-color:#b7c9ac;box-shadow:0 0 0 8px #edf3e7}.graph-center strong{font-weight:700}.graph-node{background:white;border-radius:20px;box-shadow:none}.graph-node strong{font-weight:700}.mode-tabs button[aria-pressed=true]{background:#e0ecdc}.selection-photo,.detail-hero img{border-radius:36px}.selection h3{font-weight:700}.fact-tags span{background:#faf6f0}.food-card h3{font-weight:700}.card-heading>span{color:#74654f}.group-tabs button[aria-pressed=true]{background:#f5d6b9;color:#553e2c}.save-banner{background:#eaf1f4;border-radius:40px;max-width:calc(100% - 48px)}.detail-comparison{background:#f4eee5;border-radius:28px}.detail-hero h1{font-size:42px}.node-title img{border-radius:12px}.photo-credits{line-height:1.9}

@media(max-width:600px){.section-heading>p{font-size:13px}.explorer-shell{border-radius:22px}.graph-node{border-radius:17px}.selection-photo,.detail-hero img{border-radius:28px}.save-banner{max-width:calc(100% - 24px);border-radius:28px}.detail-hero h1{font-size:34px}}
.map-entry { margin-bottom: 20px; }

.browse-options { display: grid; gap: 10px; margin-bottom: 14px; }
.browse-row { display: grid; grid-template-columns: 106px minmax(0, 1fr); align-items: baseline; gap: 8px 12px; }
.browse-row[hidden] { display: none; }
.mode-tabs { flex-wrap: wrap; }
.drink-tasting { color: var(--green); font-weight: 600; }
.drink-mixes {
  margin-block-start: clamp(24px, 4vw, 48px);
  border-block: 1px solid var(--line);
}
.drink-mixes summary {
  min-height: 44px;
  padding-block: 12px;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}
.drink-mix-list { margin: 0; }
.drink-mix-list > div {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 3px 18px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  scroll-margin-block-start: 100px;
}
.drink-mix-list dt { font-weight: 700; }
.drink-mix-list dt span {
  margin-inline-start: 5px;
  color: var(--muted);
  font-size: .85em;
  font-weight: 500;
}
.drink-mix-list dd { margin: 0; }
.drink-mix-list a, .drink-mix-links a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.drink-mix-list a { display: inline-flex; align-items: center; min-height: 44px; }
.drink-mix-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 14px;
  margin-block-start: 10px;
  font-size: 13px;
}
.drink-mix-links > span { color: var(--muted); }
.drink-mix-links a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
@media (max-width: 550px) {
  .drink-mix-list > div { grid-template-columns: 1fr; }
}
.group-note { margin: 0 0 14px; padding: 10px 14px; border-left: 2px solid #9aa88d; background: #f3f4eb; color: var(--ink); font-size: 13px; }
.taste-guide { margin: 16px 0; padding-top: 10px; border-top: 1px solid var(--line); }
.taste-guide dl { display: grid; gap: 4px; margin: 0; }
.taste-guide .taste-characteristics > div, .taste-guide .taste-flavor { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 8px; align-items: baseline; }
.taste-guide dt, .taste-flavor > span { color: var(--muted); font-size: 11px; font-weight: 600; }
.taste-guide dd, .taste-guide .taste-flavor { margin: 0; font-size: 13px; line-height: 1.65; }
.taste-guide dl + .taste-flavor { margin-top: 4px; }
.taste-guide .taste-context { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.taste-source { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.selection .taste-guide { grid-column: 1 / -1; }
.detail-hero .detail-name-gloss {
  display: block;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  text-wrap: balance;
}

.detail-hero .taste-guide { max-width: 420px; }
.taste-scale { margin-bottom: 12px; }
.taste-scale-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 6px; }
.taste-scale h2 { font-size: 16px; }
.taste-scale-heading > span { color: var(--muted); font-size: 11px; }
.taste-scale dl { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.taste-scale dl > div { padding: 6px 2px; border-top: 1px solid var(--line); text-align: center; }
.taste-guide .taste-rating { color: #965238; letter-spacing: .07em; white-space: nowrap; }
.taste-rating [aria-hidden] { color: #86796d; }
.taste-guide .taste-unrated { color: var(--muted); font-size: 11px; }

.taste-note { margin-top: 28px; padding-inline: clamp(12px, 2vw, 24px); border-block: 1px solid var(--line); background: #faf6f0; }
.taste-note summary { padding-block: 11px; min-height: 44px; color: var(--green); cursor: pointer; font-weight: 600; }
.taste-note summary small { margin-inline-start: 8px; color: var(--muted); font-size: 11px; }
.taste-note form { padding: 0 0 18px; }
#taste-note-scale { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
#taste-note-scale span { white-space: nowrap; }
.taste-note-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px 28px; max-width: 680px; }
.taste-note-fields fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.taste-note-fields legend { margin-bottom: 3px; padding: 0; font-size: 12px; font-weight: 600; }
.taste-choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.taste-choice { position: relative; }
.taste-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.taste-choice span { display: grid; min-height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: #965238; font-size: 12px; }
.taste-choice input:checked + span { border-color: #9b6a50; background: #f2e1d1; color: #713c27; font-weight: 700; }
.taste-choice input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.taste-note-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; }
.taste-note-actions button { min-height: 44px; }
#taste-note-status { color: var(--muted); font-size: 12px; }
.footer-guide-link { align-self: start; display: inline-flex; align-items: center; min-height: 44px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.catalog-card-link { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); }
.catalog-card-name { min-width: 0; overflow-wrap: anywhere; }
.catalog-card-name h3 { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; }
.catalog-thumb {
  flex: none;
  width: var(--catalog-thumb-width, clamp(84px, 8vw, 108px));
  aspect-ratio: 6 / 5;
  border-radius: 12px;
  background: #f3eee7;
}
.catalog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-related > a { display: flex; align-items: flex-start; gap: clamp(12px, 1.7vw, 20px); }
.detail-related .catalog-thumb { --catalog-thumb-width: clamp(76px, 8vw, 100px); }
.detail-related .related-copy { min-width: 0; overflow-wrap: anywhere; }
.detail-related .related-copy h3 { font-size: clamp(17px, 2vw, 22px); line-height: 1.45; margin: 5px 0; }
.detail-related a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.related-drink-type { color: var(--muted); }
.card-heading .compact-save { flex-shrink: 0; }
.food-grid.is-combination-list { grid-template-columns: 1fr; }
.combo-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; align-items: center; gap: 12px 20px; }
.combo-main { --catalog-thumb-width: 76px; display: flex; gap: 12px; align-items: center; }
.combo-main h3 { margin: 0; font-size: clamp(17px, 2vw, 24px); line-height: 1.45; }
.combo-dishes { display: grid; gap: 2px; }
.combo-dishes > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 8px; align-items: baseline; }
.combo-dishes dt { color: var(--muted); font-size: 11px; }
.combo-dishes dd { margin: 0; display: flex; align-items: center; flex-wrap: wrap; font-size: 13px; }
.combo-dishes a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.combo-sequence { padding-inline: .4em; color: var(--muted); }
.combo-card .map-link { margin: 0; justify-self: start; }
@media (max-width: 600px) {
  .catalog-card-link { --catalog-thumb-width: clamp(76px, 22vw, 84px); }
  .combo-card { grid-template-columns: 1fr; gap: 4px; padding-block: 14px; }
}
.kind-text.pairing { color: #786080; }
.browse-row > p { color: var(--muted); font-size: 12px; font-weight: 600; }
.browse-row .entry-row { margin: 0; }
.browse-row button { min-height: 44px; }
.browse-feature:not([hidden]) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 16px;
  padding: 4px 14px;
  margin-bottom: 14px;
  background: #f3eee7;
  border-radius: 12px;
  color: var(--ink);
  font-size: 12px;
}
.browse-feature a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .browse-row { grid-template-columns: 1fr; gap: 6px; }
  .browse-options { gap: 12px; }
  .browse-feature:not([hidden]) { padding-top: 8px; }
}
.entry-row small { margin-left: 4px; font-size: .82em; color: var(--muted); }
.entry-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.entry-picker label,
.entry-picker a { font-size: 12px; color: var(--muted); }
.detail-filters { margin: 12px 0 16px; padding-block: 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-filters summary { padding-block: 12px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--green); }
#detail-filter-count { margin-inline-start: 6px; font-size: 11px; color: var(--muted); }
#detail-tag-filters { border-top: 0; padding: 0 0 12px; }
.facet-selects { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 10px; padding-bottom: 14px; }
.facet-selects label { display: grid; min-width: 0; gap: 5px; font-size: 12px; color: var(--muted); }
.facet-selects select { min-height: 44px; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: white; color: var(--ink); font: inherit; }
.dish-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 12px 24px; margin: 24px 0 0; padding: 16px 0; border-block: 1px solid var(--line); }
.dish-facts dt { font-size: 11px; font-weight: 600; color: var(--muted); }
.dish-facts dd { margin: 4px 0 0; font-size: 13px; }
.entry-picker a { text-decoration: underline; text-underline-offset: 3px; }
.entry-picker select {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.photo-frame {
  display: block;
  overflow: hidden;
}

.detail-hero .photo-frame { border-radius: 36px; }
.selection-photo { position: relative; }
.selection-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 600px) {
  .detail-hero .photo-frame { border-radius: 28px; }
}
