@charset "UTF-8";
/* J-Catalyst FOOD ATLAS — 4都市共通スタイル
   設計方針は C:\AI\taipei-atlas\docs\J-CATALYST-DESIGN-SYSTEM.md を土台にした「夜の版」。
   ・ダーク／高コントラスト。大きな見出し、少ない色、都市ごとに主題色を1色だけ替える（--accent）。
   ・スマートフォン優先。本文は16px以上。押せる部品は44px以上。
   ・JP/EN は同じHTMLに両方入れ、<html data-lang> で片方だけ見せる。
   ・赤と黄の多用をしない。主題色は点と線で使う。 */

:root {
  --night: #0c0f12;
  --night-2: #12161b;
  --night-3: #181d24;
  --night-4: #20262e;
  --deep: #07090b;
  --paper: #efe9dc;
  --paper-2: rgba(239, 233, 220, .8);
  --paper-3: rgba(239, 233, 220, .62);
  --paper-4: rgba(239, 233, 220, .42);
  --brass: #c9ad6b;
  --brass-dim: rgba(201, 173, 107, .55);
  --accent: #c9ad6b;
  --accent-2: #a8452f;
  --accent-pale: #eadcae;
  --line: rgba(239, 233, 220, .14);
  --line-2: rgba(239, 233, 220, .08);
  --serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", "Songti TC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", Meiryo, system-ui, "Segoe UI", sans-serif;
  --latin: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --wrap: min(1120px, 100% - 40px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--night); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.9;
  letter-spacing: .012em;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17px; } }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: rgba(239, 233, 220, .32); text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* display を自分で指定した要素は [hidden] に勝ってしまう。必ず !important で落とす。 */
[hidden] { display: none !important; }
/* 言語。data-lang=en のとき .ja を消し、それ以外では .en を消す */
html[data-lang="en"] .ja { display: none !important; }
html:not([data-lang="en"]) .en { display: none !important; }

.wrap { width: var(--wrap); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.num, .hero__meta b, .fbar b, .picks__no, .card__rank, .timeline time, .day__no, .chip .n, .foot__brand, .signal b {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.loc { font-family: var(--sans); }

h1, h2, h3, h4, .picks__name, .scene b, .timeline b {
  line-break: strict; word-break: normal; overflow-wrap: break-word;
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 600;
  margin: 0;
}
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.skip { position: absolute; left: 8px; top: -80px; background: var(--accent); color: var(--deep); padding: 10px 16px; z-index: 50; border-radius: 6px; }
.skip:focus { top: 8px; }

/* ───────────────────────── top bar ───────────────────────── */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  padding: 14px 0;
}
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top__brand {
  font-family: var(--latin); font-size: 15px; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; white-space: nowrap;
}
.top__jc { color: var(--brass); }
@media (max-width: 520px) { .top__brand { font-size: 13px; letter-spacing: .12em; gap: 6px; } .lang__btn { padding: 0 10px; font-size: 13px; } }
@media (max-width: 379px) { .top__brand .top__sep, .top__brand > span:last-child { display: none; } .top__row { gap: 6px; } .top__brand { min-width: 0; } }
.top__sep { color: var(--paper-4); }
.top__nav { display: none; gap: 4px; }
@media (min-width: 900px) {
  .top__nav { display: flex; }
  .top__nav a {
    text-decoration: none; color: var(--paper-2); font-size: 13.5px; letter-spacing: .06em;
    padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 22px;
  }
  .top__nav a:hover { color: var(--paper); background: rgba(239, 233, 220, .08); }
}
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 24px; padding: 0; background: rgba(12, 15, 18, .55); backdrop-filter: blur(8px); }
.lang__btn {
  appearance: none; border: 0; background: transparent; color: var(--paper-2);
  font: inherit; font-size: 13.5px; letter-spacing: .04em; min-height: 44px; padding: 0 14px; border-radius: 22px; cursor: pointer; white-space: nowrap;
}
.lang__btn[aria-pressed="true"] { background: var(--paper); color: var(--deep); font-weight: 600; }

/* ───────────────────────── hero ───────────────────────── */
.hero { position: relative; background: var(--deep); overflow: hidden; isolation: isolate; }
.hero__art { position: absolute; inset: 0; z-index: 0; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 9, 11, .62) 0%, rgba(7, 9, 11, .08) 30%, rgba(7, 9, 11, .3) 60%, rgba(12, 15, 18, .97) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: var(--wrap); margin-inline: auto;
  padding: 120px 0 44px; min-height: 84svh;
  display: flex; flex-direction: column; justify-content: flex-end;
}
@media (min-width: 768px) { .hero__inner { padding: 160px 0 64px; min-height: 88svh; } }
.hero__eyebrow {
  font-family: var(--latin); font-size: 13.5px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 18px; white-space: nowrap;
}
@media (max-width: 359px) { .hero__eyebrow { font-size: 13px; letter-spacing: .12em; } }
.hero h1 {
  font-size: clamp(42px, 12vw, 108px); line-height: 1.04; letter-spacing: -.005em;
  color: #fbf7ec; text-shadow: 0 2px 34px rgba(0, 0, 0, .55); margin-bottom: 10px;
}
.hero h1 .en { font-family: var(--latin); font-weight: 500; letter-spacing: .02em; }
.hero h1 .l2 { display: block; font-size: .62em; letter-spacing: .12em; color: var(--accent); margin-top: 8px; }
.hero h1 .en .l2 { letter-spacing: .28em; font-size: .5em; }
.hero__local { font-family: var(--sans); font-size: clamp(15px, 3.4vw, 20px); letter-spacing: .12em; color: var(--paper-3); margin: 0 0 22px; }
.hero__lead { font-size: clamp(17px, 4.2vw, 22px); line-height: 1.85; max-width: 28em; color: rgba(246, 242, 233, .94); margin: 0 0 28px; font-family: var(--serif); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; letter-spacing: .06em;
  color: var(--paper-3); border-top: 1px solid var(--line); padding-top: 18px; margin: 0 0 12px;
}
.hero__meta b { color: var(--accent); font-weight: 600; font-family: var(--latin); font-size: 19px; }
.hero__note { font-size: 16px; line-height: 1.6; color: var(--paper-4); margin: 0; }

/* ───────────────────────── intro ───────────────────────── */
.intro { background: var(--night-2); border-block: 1px solid var(--line-2); padding: 48px 0; }
@media (min-width: 768px) { .intro { padding: 72px 0; } }
.intro__grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .intro__grid { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; } }
.intro__lead { font-family: var(--serif); font-size: clamp(17px, 4.2vw, 21px); line-height: 1.95; white-space: pre-line; }
.intro__body { font-size: 16px; color: var(--paper-2); white-space: pre-line; }

/* ───────────────────────── section ───────────────────────── */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 100px 0; } }
.section--tint { background: var(--night-2); }
.section--dark { background: var(--deep); position: relative; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 90% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
}
.shead { margin-bottom: 32px; position: relative; }
.shead__eyebrow { font-family: var(--latin); font-size: 13.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.shead h2 { font-size: clamp(28px, 7vw, 52px); line-height: 1.22; }
.shead h2 .en { font-family: var(--latin); font-weight: 500; letter-spacing: .01em; }
.shead__note { margin: 14px 0 0; max-width: 42em; font-size: 16px; color: var(--paper-2); }

/* ───────────────────────── bands ───────────────────────── */
.band { margin: 0; background: var(--deep); line-height: 0; }
.band img { width: 100%; height: auto; aspect-ratio: 1600 / 500; object-fit: cover; }

/* ───────────────────────── picks ───────────────────────── */
.picks { border-top: 1px solid var(--line); }
.picks__item {
  display: grid; grid-template-columns: 58px 1fr; gap: 4px 14px;
  padding: 24px 4px 24px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; align-items: start; position: relative;
}
@media (min-width: 860px) { .picks__item { grid-template-columns: 76px 1fr 220px; gap: 22px; padding: 28px 8px 28px 0; } }
.picks__item:hover { background: rgba(239, 233, 220, .04); }
.picks__no { font-family: var(--latin); font-size: clamp(34px, 8vw, 54px); line-height: 1; color: var(--accent); padding-top: 2px; }
.picks__body { min-width: 0; }
.picks__name { display: block; font-family: var(--serif); font-size: clamp(21px, 5.2vw, 27px); line-height: 1.35; font-weight: 600; text-wrap: balance; }
.picks__name .en { font-family: var(--latin); font-size: 1.08em; font-weight: 500; }
.picks__sub { display: block; font-size: 14px; color: var(--paper-3); margin-top: 4px; }
.picks__why { display: block; font-size: 16px; color: var(--paper-2); margin-top: 8px; line-height: 1.8; }
.picks__side { grid-column: 1 / -1; margin-top: 8px; }
@media (min-width: 860px) { .picks__side { grid-column: auto; margin-top: 4px; justify-self: end; } }

/* ───────────────────────── tags ───────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex; align-items: center; font-size: 13px; letter-spacing: .03em; line-height: 1;
  padding: 7px 10px; border-radius: 4px; border: 1px solid var(--line); color: var(--paper-2); background: rgba(239, 233, 220, .04);
}
.tag--star { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); font-weight: 600; }
.tag--bib { border-color: var(--accent-2); color: #f0c9bf; background: color-mix(in srgb, var(--accent-2) 22%, transparent); }
.tag--green { border-color: #5fa37a; color: #9ed4b1; }
.tag--solo { border-color: rgba(159, 200, 220, .5); color: #bcdcea; }
.tag--reserve { border-color: rgba(240, 200, 120, .5); color: #f0d9a8; }
.tag--visit { background: var(--accent); color: var(--deep); border-color: var(--accent); font-weight: 600; }
.tag--street { color: var(--paper); }

/* ───────────────────────── scenes ───────────────────────── */
.scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .scenes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .scenes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.scene {
  appearance: none; cursor: pointer; text-align: left; font: inherit; color: inherit;
  background: var(--night-3); border: 1px solid var(--line); border-radius: 6px;
  padding: 18px 16px; min-height: 96px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  transition: border-color .15s, background .15s;
}
.scene:hover { border-color: var(--accent); background: var(--night-4); }
.scene[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--night-3)); }
.scene b { font-family: var(--latin); font-weight: 600; font-size: clamp(17px, 4.6vw, 24px); letter-spacing: .04em; color: var(--accent); line-height: 1.1; overflow-wrap: anywhere; min-width: 0; }
.scene { min-width: 0; }
.scene span { font-size: 15px; color: var(--paper-2); }

/* ───────────────────────── map ───────────────────────── */
.mapbox { display: grid; gap: 22px; }
@media (min-width: 960px) { .mapbox { grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; } .mapbox__fig { grid-row: span 2; } }
.mapbox__fig svg { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); background: var(--night-2); }
.map-bg { fill: var(--night-2); }
.map-water { fill: none; stroke: color-mix(in srgb, var(--accent) 30%, var(--night-2)); stroke-width: 22; stroke-linecap: round; opacity: .9; }
.map-water__t { font-size: 12.5px; fill: var(--paper-4); font-family: var(--sans); letter-spacing: .1em; }
.map-link { stroke: var(--paper-4); stroke-width: 1.6; stroke-dasharray: 4 7; opacity: .6; }
.map-area__pill { fill: var(--night-3); stroke: var(--paper-4); stroke-width: 1.2; }
.map-area__label { font-size: 15.5px; fill: var(--paper); font-family: var(--sans); }
.map-area__dot { fill: var(--accent); }
.map-area__n { font-size: 14px; fill: var(--deep); font-family: var(--sans); font-weight: 700; }
.map-area.is-on .map-area__pill { stroke: var(--accent); stroke-width: 2; fill: color-mix(in srgb, var(--accent) 18%, var(--night-3)); }
.map-note { font-size: 12.5px; fill: var(--paper-4); font-family: var(--sans); }
.map-chips .fgroup__label { margin-top: 0; }
.area-access { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.area-access li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.area-access b { font-family: var(--serif); font-size: 16.5px; }
.area-access span { color: var(--paper-3); font-size: 14.5px; }

/* ───────────────────────── filters ───────────────────────── */
.no-js-hide { display: none; }
.js .no-js-hide { display: block; }
.filters { margin: 0 0 28px; }
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 260px; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; width: 18px; height: 18px; fill: none; stroke: var(--paper-3); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input {
  width: 100%; min-height: 50px; padding: 0 16px 0 44px; font: inherit; font-size: 16px; color: var(--paper);
  background: var(--night-3); border: 1px solid var(--line); border-radius: 26px; outline: none;
}
.search input::placeholder { color: var(--paper-4); }
.search input:focus { border-color: var(--accent); }
.fbar__count { margin: 0; font-size: 14px; color: var(--paper-3); letter-spacing: .04em; }
.fbar__count b { color: var(--accent); font-family: var(--latin); font-size: 22px; }
.fbar__reset {
  appearance: none; font: inherit; font-size: 14px; cursor: pointer; color: var(--paper);
  background: transparent; border: 1px solid var(--paper-3); border-radius: 22px; min-height: 44px; padding: 0 16px;
}
.fgroup { margin-top: 12px; }
.fgroup__label { font-family: var(--latin); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  appearance: none; cursor: pointer; font: inherit; font-size: 14.5px; color: var(--paper);
  background: var(--night-3); border: 1px solid var(--line); border-radius: 22px;
  min-height: 44px; padding: 0 12px 0 14px; display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--paper-3); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--deep); border-color: var(--paper); font-weight: 600; }
.chip .n { font-size: 13px; color: var(--paper-3); background: rgba(239, 233, 220, .08); border-radius: 12px; padding: 2px 8px; line-height: 1.4; }
.chip[aria-pressed="true"] .n { color: var(--deep); background: rgba(7, 9, 11, .12); }

/* ───────────────────────── cards ───────────────────────── */
.grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--night-3); border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px 16px;
  position: relative;
}
.card[data-headliner="1"] { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: inset 3px 0 0 var(--accent); }
.card__rank { margin: 0 0 8px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 8px; font-family: var(--latin); font-weight: 600; }
.card__rank i { width: 18px; height: 1px; background: var(--accent); }
.card h3 { font-size: clamp(20px, 4.8vw, 24px); line-height: 1.35; }
.card h3 .en { font-family: var(--latin); font-size: 1.1em; font-weight: 500; }
.card__local { margin: 4px 0 10px; font-size: 14.5px; color: var(--paper-3); }
.card__meta { display: flex; flex-direction: column; gap: 3px; margin: 0; font-size: 15px; color: var(--paper-2); }
.card__meta b { color: var(--paper); font-weight: 600; }
.card__why { font-size: 16px; line-height: 1.85; color: var(--paper); margin: 0; }
.card__foot { margin-top: auto; }
.empty { text-align: center; color: var(--paper-2); padding: 40px 0; }

.detail > summary {
  list-style: none; cursor: pointer; min-height: 46px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 15px; letter-spacing: .04em; font-weight: 600;
}
.detail > summary::-webkit-details-marker { display: none; }
.detail > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .15s; margin-top: -4px; }
.detail[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.detail__body { padding: 8px 0 4px; border-top: 1px solid var(--line-2); margin-top: 6px; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0 18px; font-size: 15px; }
.dl dt { color: var(--paper-3); font-size: 13.5px; letter-spacing: .06em; padding-top: 2px; }
.dl dd { margin: 0; color: var(--paper); }
.dl .hc { color: var(--paper-4); font-size: 13px; }
.detail__h { font-family: var(--latin); font-size: 13.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin: 16px 0 6px; }
.detail__order { margin: 0 0 12px; padding-left: 1.3em; font-size: 15.5px; }
.detail__order li { margin: 3px 0; }
.detail__caution { background: color-mix(in srgb, var(--accent-2) 16%, transparent); border-left: 3px solid var(--accent-2); padding: 10px 14px; border-radius: 0 6px 6px 0; margin: 12px 0; font-size: 16px; }
.detail__caution .detail__h { margin-top: 0; color: #f0c9bf; }

.reviews { display: grid; gap: 10px; margin: 16px 0; }
.review { border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; font-size: 16px; }
.review h4 { font-family: var(--latin); font-size: 13.5px; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 6px; color: var(--paper-2); }
.review--ai h4 { color: #bcdcea; }
.review--masa h4 { color: var(--accent); }
.review--public h4 { color: #9ed4b1; }
.review__note { font-size: 13.5px; color: var(--paper-4); margin: 0 0 8px; }
.review__none { color: var(--paper-3); font-size: 16px; }
.signal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.signal li { font-size: 14.5px; color: var(--paper-2); }
.signal b { color: var(--paper); font-size: 17px; }
.signal time { color: var(--paper-4); font-size: 13px; margin-left: 4px; }

.detail__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 0 18px; border-radius: 24px; text-decoration: none;
  font-size: 15px; font-weight: 600; color: var(--paper); border: 1px solid var(--paper-3); background: transparent;
}
.btn:hover { border-color: var(--paper); }
.btn--map { background: var(--paper); color: var(--deep); border-color: var(--paper); }
.btn--book { background: var(--accent); color: var(--deep); border-color: var(--accent); }

.srcbox { border-top: 1px solid var(--line-2); margin-top: 8px; }
.srcbox > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--paper-2); }
.srcbox > summary::-webkit-details-marker { display: none; }
.srcbox > summary .num { color: var(--accent); font-weight: 600; }
.src-list { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 6px; font-size: 16px; }
.src-list li { display: block; line-height: 1.7; }
.src-list a { color: var(--paper); overflow-wrap: anywhere; }
.src-tier { display: inline-block; font-size: 13px; color: var(--paper-3); border: 1px solid var(--line); padding: 0 7px; border-radius: 10px; margin-left: 8px; line-height: 1.5; }
.src-warn { font-size: 16px; color: #f0d9a8; margin: 6px 0 8px; }
.checked { font-size: 13px; color: var(--paper-4); margin: 6px 0 0; }

/* ───────────────────────── itinerary ───────────────────────── */
.days { display: grid; gap: 40px; position: relative; }
@media (min-width: 960px) { .days { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; } }
.day h3 { font-size: clamp(19px, 5vw, 26px); margin-bottom: 18px; line-height: 1.4; }
@media (min-width: 960px) { .day h3 { font-size: 21px; } }
.day__no { font-family: var(--latin); color: var(--accent); letter-spacing: .2em; font-size: 17px; margin: 0 0 6px; }
.card__branch { display: inline-block; margin-right: 8px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; color: var(--paper-2); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline__item { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 0 0 22px 16px; position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline time { font-family: var(--latin); font-size: 19px; color: var(--accent); line-height: 1.5; }
.timeline b { font-family: var(--serif); font-size: 17.5px; font-weight: 600; }
.timeline b .en { font-family: var(--latin); font-size: 1.08em; }
.timeline a { text-decoration-color: var(--brass-dim); }
.timeline p { font-size: 16px; color: var(--paper-2); margin: 4px 0 0; line-height: 1.75; }
.timeline__move { display: block; font-size: 13.5px; color: var(--paper-4); margin-top: 4px; }
.timeline__closed { font-size: 16px; color: var(--paper-2); border-top: 1px dashed var(--line); padding-top: 10px; margin: 0 0 0 16px; }
.timeline__closed b { color: var(--accent); font-family: var(--latin); letter-spacing: .06em; }

/* ───────────────────────── method ───────────────────────── */
.method { display: grid; gap: 28px; max-width: 46em; min-width: 0; overflow-wrap: anywhere; }
.method section, .method p, .method li { min-width: 0; overflow-wrap: anywhere; }
.method h3 { font-size: clamp(19px, 4.6vw, 23px); margin-bottom: 8px; }
.method p { font-size: 16px; color: var(--paper-2); }
.method__stat, .method__fx { font-size: 16px !important; color: var(--paper-3) !important; }
.method__list { margin: 8px 0 0; padding-left: 1.2em; font-size: 15px; color: var(--paper-2); }
.method__list li { margin: 6px 0; }
.method__list b { color: var(--paper); }
.src-mini { font-size: 13px; color: var(--paper-3); margin-left: 4px; }

/* ───────────────────────── footer ───────────────────────── */
.foot { background: var(--deep); border-top: 1px solid var(--line); padding: 48px 0 calc(90px + var(--safe-b)); color: var(--paper-2); }
.foot__brand { font-family: var(--latin); letter-spacing: .24em; text-transform: uppercase; font-size: 14px; color: var(--brass); margin-bottom: 18px; }
.foot__nav, .foot__series { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 18px; }
.foot__nav a, .foot__series a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 22px; font-size: 14.5px; color: var(--paper); }
.foot__nav a:hover, .foot__series a:hover { border-color: var(--accent); }
.foot__series-h { font-size: 13px; letter-spacing: .1em; color: var(--paper-3); margin: 0 0 8px; }
.foot__note { font-size: 13.5px; color: var(--paper-4); }
.foot__copy { font-size: 13px; color: var(--paper-4); font-family: var(--latin); letter-spacing: .1em; }

/* ───────────────────────── portal back ───────────────────────── */
.portal-back {
  position: fixed; left: max(14px, var(--safe-l)); bottom: calc(14px + var(--safe-b)); z-index: 20;
  display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 16px 0 12px;
  background: rgba(239, 233, 220, .96); color: var(--deep); border-radius: 24px; text-decoration: none;
  font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .25s, opacity .25s;
}
.portal-back svg { width: 18px; height: 18px; }
.portal-back.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ───────────────────────── print ───────────────────────── */
@media print {
  :root { color-scheme: light; }
  body, .section, .section--tint, .section--dark, .intro, .foot, .card, .review, .scene { background: #fff !important; color: #111 !important; }
  .hero { min-height: 0; } .hero__art, .hero::after, .band, .portal-back, .filters, .top, .lang, .scenes { display: none !important; }
  .hero__inner { padding: 20px 0; min-height: 0; color: #111; }
  .card { break-inside: avoid; border-color: #bbb; }
  .detail { open: true; }
  a { text-decoration: none; }
}
