/* Japan Exclusive Finds — editorial, magazine-style layout */
:root {
  --paper: #ffffff;
  --ink: #111111;
  --muted: #5f5f5f;
  --line: #e4e4e4;
  --tint: #f4f3ef;
  --accent: #e5322d;
  --ok: #0f7a3d;
  --warn: #c2410c;
  --soon: #1d4ed8;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --narrow: 'Archivo Narrow', 'Arial Narrow', system-ui, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.55 var(--font); overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--soon); outline-offset: 2px; }

/* ---------- demo bar */
.demo-bar { background: #fff4c2; color: #4a3b00; text-align: center; font-size: 13px; padding: 6px var(--gut); border-bottom: 1px solid #f1df8a; }

/* ---------- masthead */
.masthead { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ink); }
.masthead__row {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gut) 10px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.logo {
  font: 900 clamp(26px, 4.2vw, 44px)/1 var(--display); letter-spacing: -0.04em;
  text-decoration: none; text-transform: uppercase; white-space: nowrap;
}
.masthead__search input {
  width: min(220px, 100%); border: 0; border-bottom: 1px solid var(--line); padding: 6px 0; background: transparent; font-size: 14px;
}
.masthead__search input:focus { outline: none; border-bottom-color: var(--ink); }
.masthead__saved { justify-self: end; text-decoration: none; font: 700 13px/1 var(--narrow); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.masthead__saved .count { display: inline-block; min-width: 20px; padding: 2px 6px; border-radius: 99px; background: var(--ink); color: #fff; text-align: center; margin-left: 4px; }
.genre-nav {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut) 10px;
  display: flex; gap: 22px; justify-content: center; overflow-x: auto; scrollbar-width: none;
}
.genre-nav::-webkit-scrollbar { display: none; }
.genre-nav a {
  font: 700 13px/1 var(--narrow); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent;
}
.genre-nav a::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--ink)); margin-right: 6px; vertical-align: 1px; }
.genre-nav a:hover { border-bottom-color: var(--ink); }
.genre-nav__cal::before { border-radius: 1px !important; background: transparent !important; border: 1.5px solid var(--ink); width: 8px !important; height: 8px !important; }

/* ---------- ticker */
.ticker { background: var(--ink); color: #fff; overflow: hidden; white-space: nowrap; font-size: 13px; }
.ticker__track { display: inline-flex; gap: 40px; padding: 9px 0; animation: tick 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker a { text-decoration: none; }
.ticker i { color: #bdbdbd; font-style: normal; margin-left: 4px; }
.tk { font: 700 11px/1 var(--narrow); letter-spacing: .1em; text-transform: uppercase; padding: 3px 6px; margin-right: 6px; border-radius: 2px; }
.tk--ending { background: var(--accent); }
.tk--soon { background: var(--soon); }
.tk--new { background: #fff; color: var(--ink); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } .ticker { overflow-x: auto; } }

/* ---------- intro + trip */
.intro { max-width: var(--wrap); margin: 0 auto; padding: clamp(28px, 6vw, 64px) var(--gut) 24px; text-align: center; }
.intro__title { font: 900 clamp(36px, 7.4vw, 92px)/.92 var(--display); letter-spacing: -0.045em; text-transform: uppercase; margin: 0 0 16px; }
.intro__title span { color: var(--accent); }
.intro__lede { max-width: 560px; margin: 0 auto 28px; color: var(--muted); font-size: 17px; }
.trip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 0; max-width: 860px; margin: 0 auto;
  border: 2px solid var(--ink); text-align: left;
}
.trip label { display: grid; gap: 2px; padding: 10px 14px; border-right: 1px solid var(--line); }
.trip label span { font: 700 11px/1 var(--narrow); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trip input, .trip select { border: 0; padding: 4px 0; background: transparent; min-width: 0; width: 100%; }
.trip input:focus, .trip select:focus { outline: none; }
.trip button { border: 0; background: var(--ink); color: #fff; font-weight: 800; padding: 0 22px; cursor: pointer; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.trip button:hover { background: var(--accent); }

/* ---------- controls */
.controls { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gut) 8px; border-top: 1px solid var(--line); display: grid; gap: 10px; scroll-margin-top: 110px; }
.controls__row { display: flex; gap: 12px; align-items: center; }
.search { flex: 1; }
.search input { width: 100%; border: 1px solid var(--ink); padding: 11px 14px; border-radius: 0; background: var(--paper); font-size: 15px; }
.viewtoggle { display: inline-flex; border: 1px solid var(--ink); }
.viewtoggle button { border: 0; background: transparent; padding: 11px 16px; cursor: pointer; font: 700 13px/1 var(--narrow); letter-spacing: .08em; text-transform: uppercase; }
.viewtoggle button[aria-selected="true"] { background: var(--ink); color: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips__label { flex: 0 0 58px; align-self: center; font: 700 11px/1 var(--narrow); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chip {
  border: 1px solid var(--line); background: var(--paper); padding: 7px 13px; border-radius: 99px; cursor: pointer;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.chip[style]::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); margin-right: 6px; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.active { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 0; background: var(--tint); padding: 6px 12px; border-radius: 99px; cursor: pointer; font-size: 13px; font-weight: 600; }
.pill--clear { background: transparent; text-decoration: underline; }

/* ---------- blocks & grids */
.feed, .calendar { max-width: var(--wrap); margin: 0 auto; }
.block { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gut); }
.block--tint { background: var(--tint); max-width: none; }
.block--tint > * { max-width: calc(var(--wrap) - 2 * var(--gut)); margin-left: auto; margin-right: auto; }
.block__title {
  font: 900 clamp(22px, 2.6vw, 30px)/1.05 var(--display); letter-spacing: -0.02em; text-transform: uppercase;
  text-align: center; margin: 0 0 22px;
}
.block__title small { display: block; font: 500 13px/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 6px; }
.grid { display: grid; gap: 28px 22px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--flow { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; }
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; padding-top: 32px; }
.hero__side { display: grid; gap: 22px; }
.note { font-size: 13px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.count-line { color: var(--muted); margin: 0 0 18px; }
.flow-end { text-align: center; color: var(--muted); margin-top: 30px; }

/* ---------- cards */
.card { position: relative; min-width: 0; }
.card__link { display: block; text-decoration: none; }
.card__poster {
  position: relative; aspect-ratio: 4 / 3; background: var(--bg); color: var(--ink, #fff); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px;
}
.card__poster { color: var(--ink); }
.card__poster::after { content: ''; position: absolute; inset: 0; opacity: .18; pointer-events: none; }
.poster--anime::after { background: radial-gradient(circle, currentColor 2px, transparent 2.5px) 0 0 / 16px 16px; }
.poster--food::after { background: repeating-linear-gradient(-45deg, currentColor 0 2px, transparent 2px 14px); }
.poster--culture::after { background: repeating-radial-gradient(circle at 100% 100%, currentColor 0 1.5px, transparent 1.5px 14px); }
.poster--music::after { background: repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 8px); }
.poster--souvenirs::after { background: linear-gradient(45deg, currentColor 25%, transparent 25%, transparent 75%, currentColor 75%) 0 0 / 22px 22px; opacity: .1; }
.card__poster, .item__poster { container-type: inline-size; }
.card__brand {
  position: relative; z-index: 1; font: 900 28px/.95 var(--display); letter-spacing: -0.03em;
  font-size: clamp(14px, calc((100cqi - 84px) / (var(--w, 8) * 0.74)), 28px);
  text-transform: uppercase; max-width: calc(100% - 44px);
}
.card--xl .card__poster .card__brand { font-size: clamp(20px, calc((100cqi - 100px) / (var(--w, 8) * 0.74)), 64px); }
.item__poster .card__brand { max-width: 100%; font-size: clamp(24px, calc((100cqi - 60px) / (var(--w, 8) * 0.74)), 72px); }
.card__genre { position: relative; z-index: 1; align-self: flex-end; font: 700 11px/1 var(--narrow); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.card__body { padding-top: 12px; }
.card__kicker { margin: 0 0 6px; font: 700 11px/1.2 var(--narrow); letter-spacing: .12em; text-transform: uppercase; }
.card__areas { color: var(--muted); margin-left: 6px; }
.card__title { margin: 0 0 4px; font: 800 18px/1.2 var(--font); letter-spacing: -0.01em; }
.card__link:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }
.card__brandline { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin: 0 0 8px; font-size: 13px; }
.card__dates { color: var(--muted); }
.card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.tag { font: 700 10.5px/1 var(--narrow); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--ink); padding: 4px 6px; }
.tag--japan-only { background: var(--ink); color: #fff; }
.tag--rare { border-color: #a16207; color: #a16207; }
.status { font: 700 12px/1 var(--narrow); letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 2px; }
.status--now { background: #e7f5ec; color: var(--ok); }
.status--ending { background: #fde8e4; color: var(--accent); }
.status--soon { background: #e6edfd; color: var(--soon); }
.status--ended { background: #eee; color: #777; }
.save {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .95); cursor: pointer; font-size: 19px; line-height: 1; box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.save[aria-pressed="true"] { color: var(--accent); }
.save--big { position: static; width: auto; height: auto; border-radius: 0; border: 2px solid var(--ink); padding: 11px 18px; font-size: 15px; font-weight: 800; box-shadow: none; margin-top: 16px; }
.save--big[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sample-badge { display: inline-block; margin-left: 6px; background: #fff4c2; color: #4a3b00; font: 700 9.5px/1 var(--narrow); letter-spacing: .1em; text-transform: uppercase; padding: 3px 5px; vertical-align: 1px; }

/* photos (own / permission / stock only — see docs/IMAGES.md) */
.card__poster--photo, .item__poster--photo { background: #f3f3f1; padding: 0; margin: 0; }
.card__poster--photo::after, .item__poster--photo::after { content: none; }
.card__poster--photo img, .item__poster--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__poster--photo .card__genre { position: absolute; right: 10px; bottom: 10px; background: var(--bg); color: var(--ink); padding: 4px 7px; opacity: 1; }
.item__poster--photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px; font-size: 11px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.photo-badge { display: inline-block; margin-left: 6px; background: var(--ink); color: #fff; font: 700 9.5px/1 var(--narrow); letter-spacing: .1em; text-transform: uppercase; padding: 3px 5px; vertical-align: 1px; }

/* official post embeds (load on click) */
.embed { margin: 0 0 8px; }
.embed__placeholder { border: 2px solid var(--ink); padding: 22px; text-align: center; background: var(--tint); }
.embed__label { font: 800 17px/1.3 var(--font); margin: 0 0 14px; }
.embed__note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.embed.is-loaded { display: flex; justify-content: center; min-height: 120px; }
.embed .instagram-media, .embed .twitter-tweet, .embed .text-post-media { margin: 0 auto !important; max-width: 540px; width: 100%; }
.embed__video { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.embed__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* affiliate product box (Rakuten etc.) */
.buybox { margin-top: 24px; border: 2px solid var(--ink); padding: 16px; }
.buybox__img { display: block; background: #fff; margin-bottom: 12px; }
.buybox__img img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.buybox p { margin: 0 0 10px; font-size: 14px; }

/* variants used in the flowing feed */
.card--xl { grid-column: span 2; }
.card--xl .card__poster { aspect-ratio: 16 / 10; padding: 22px 24px; }
.card--xl .card__title { font-size: clamp(22px, 2.4vw, 30px); }
.card--text .card__poster { display: none; }
.card--text .card__link { background: var(--tint); padding: 22px 18px 18px; height: 100%; border-top: 6px solid var(--ink); }
.card--text .card__title { font: 900 24px/1.05 var(--display); letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: 10px; }
.hero .card--xl .card__poster { aspect-ratio: 16 / 11; }
.ad-slot {
  display: grid; place-items: center; min-height: 250px; background: repeating-linear-gradient(45deg, #fafafa 0 10px, #f2f2f2 10px 20px);
  color: #9a9a9a; font: 700 11px/1 var(--narrow); letter-spacing: .14em; text-transform: uppercase; margin: 28px 0; border: 1px dashed #d6d6d6;
}
.ad-slot--card { margin: 0; min-height: 100%; }

/* ---------- ranked list */
.ranked { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.ranked a { display: flex; gap: 12px; text-decoration: none; }
.ranked__n { font: 900 48px/0.9 var(--display); color: var(--accent); }
.ranked__txt { display: grid; gap: 4px; align-content: start; }
.ranked__txt small { font: 700 11px/1 var(--narrow); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ranked__txt strong { font-size: 15px; line-height: 1.25; }
.ranked .status { justify-self: start; }

/* ---------- calendar */
.calendar { padding: 18px var(--gut) 0; }
.cal__head { display: flex; align-items: center; justify-content: center; gap: 18px; }
.cal__head h2 { font: 900 clamp(24px, 3vw, 34px)/1 var(--display); text-transform: uppercase; letter-spacing: -0.02em; margin: 0; min-width: 260px; text-align: center; }
.cal__nav { border: 1px solid var(--ink); background: var(--paper); width: 40px; height: 40px; cursor: pointer; font-size: 18px; }
.cal__legend { text-align: center; color: var(--muted); font-size: 13px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.cal__dow { font: 700 11px/1 var(--narrow); letter-spacing: .1em; text-transform: uppercase; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal__cell {
  min-height: 96px; display: flex; flex-direction: column; align-items: stretch; gap: 3px; text-align: left; padding: 6px;
  border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); cursor: pointer; min-width: 0;
}
.cal__cell--pad { background: #fafafa; cursor: default; }
.cal__cell:hover { background: #fafafa; }
.cal__cell.is-past { color: #aaa; }
.cal__cell.is-trip { background: #fff6d6; }
.cal__cell.is-today .cal__d { background: var(--accent); color: #fff; }
.cal__cell.is-picked { outline: 2px solid var(--ink); outline-offset: -2px; }
.cal__d { font-weight: 800; font-size: 13px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }
.cal__ev { display: block; font-size: 11px; font-weight: 700; line-height: 1.2; padding: 2px 5px; border-left: 3px solid var(--c); background: #f5f5f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal__legend .cal__ev { display: inline-block; }
.cal__more, .cal__end { font-size: 11px; color: var(--muted); }
.cal__end { color: var(--accent); font-weight: 700; }
.cal__tripkey { background: #fff6d6; padding: 1px 6px; }

/* ---------- item page */
.item { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gut) 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.item__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.item__poster { aspect-ratio: 4 / 3; background: var(--bg); color: var(--ink); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 24px; }
.item__poster::after { content: ''; position: absolute; inset: 0; opacity: .18; }
.kicker { font: 700 12px/1.2 var(--narrow); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.item h1 { font: 900 clamp(30px, 4.4vw, 54px)/1 var(--display); letter-spacing: -0.03em; margin: 0 0 10px; }
.item__brand { font-size: 18px; color: var(--muted); margin: 0 0 14px; }
.item__status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; color: var(--muted); }
.item__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); margin-top: 36px; border-top: 1px solid var(--ink); padding-top: 28px; }
.item__main h2 { font: 900 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: -0.01em; margin: 28px 0 8px; }
.lede { font-size: 21px; line-height: 1.45; margin: 0; }
.stores { padding-left: 20px; }
.facts dl { margin: 0; border-top: 2px solid var(--ink); }
.facts dl div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 700 11px/1.6 var(--narrow); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.facts small { color: var(--muted); font-weight: 400; }
.affiliate { margin-top: 24px; background: var(--tint); padding: 18px; }
.affiliate__label { font: 700 10px/1 var(--narrow); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.affiliate__fine { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.btn { display: inline-block; border: 2px solid var(--ink); background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 800; text-decoration: none; cursor: pointer; font-size: 14px; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }

/* ---------- list pages */
.band { background: var(--bg); color: var(--ink); padding: clamp(36px, 7vw, 80px) var(--gut); text-align: center; }
.band h1 { font: 900 clamp(34px, 6vw, 76px)/.95 var(--display); letter-spacing: -0.04em; text-transform: uppercase; margin: 0 auto 14px; max-width: 900px; }
.band p { max-width: 560px; margin: 0 auto 18px; opacity: .9; }
.band__link { font-weight: 800; }
.page-title { font: 900 clamp(34px, 5vw, 60px)/1 var(--display); text-transform: uppercase; letter-spacing: -0.03em; margin: 10px 0 12px; }
.saved-actions { display: flex; gap: 10px; margin-bottom: 26px; }
.prose { max-width: 720px; margin: 0 auto; padding: 40px var(--gut) 60px; }
.prose h1 { font: 900 clamp(32px, 5vw, 54px)/1 var(--display); text-transform: uppercase; letter-spacing: -0.03em; }
.prose h2 { font: 900 20px/1.15 var(--display); text-transform: uppercase; letter-spacing: -0.01em; margin: 34px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose .lede { font-size: 20px; }

/* ---------- cookie consent */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto;
  background: var(--paper); border: 2px solid var(--ink); padding: 16px 18px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}
.consent p { margin: 0 0 12px; font-size: 14px; }
.consent__btns { display: flex; gap: 10px; }

/* ---------- footer */
.footer { margin-top: 60px; background: var(--ink); color: #fff; padding: 40px var(--gut) 28px; }
.footer__inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer__logo { font: 900 26px/1 var(--display); text-transform: uppercase; letter-spacing: -0.03em; margin: 0 0 8px; }
.footer nav { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.footer nav a { text-decoration: none; color: #cfcfcf; }
.footer nav a:hover { color: #fff; }
.footer__fine { max-width: var(--wrap); margin: 30px auto 0; font-size: 12px; color: #9a9a9a; border-top: 1px solid #333; padding-top: 16px; }

/* ---------- responsive */
@media (max-width: 1000px) {
  .grid--4, .grid--flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ranked { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .item__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .masthead__row { grid-template-columns: 1fr auto; }
  .masthead__search { display: none; }
  .logo { justify-self: start; font-size: clamp(17px, 5.4vw, 26px); }
  .masthead__savedtxt { display: none; }
  .genre-nav { justify-content: flex-start; gap: 18px; }
  .grid--4, .grid--flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .hero { grid-template-columns: 1fr; }
  .hero__side { grid-template-columns: 1fr 1fr; gap: 14px; }
  .trip { grid-template-columns: 1fr 1fr; }
  .trip label:nth-child(2) { border-right: 0; }
  .trip label:nth-child(3) { grid-column: 1 / -1; border-right: 0; border-top: 1px solid var(--line); }
  .trip button { grid-column: 1 / -1; padding: 14px; }
  .controls__row { flex-direction: column; align-items: stretch; }
  .viewtoggle { align-self: flex-start; }
  .item__head { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .card__title { font-size: 16px; }
  .cal__cell { min-height: 64px; padding: 4px; }
  .cal__ev { font-size: 0; padding: 0; height: 5px; border-left-width: 0; background: var(--c); border-radius: 2px; }
  .cal__end { font-size: 0; }
  .cal__end::before { content: '•'; font-size: 14px; }
  .cal__more { display: none; }
  .cal__legend .cal__ev { font-size: 11px; height: auto; padding: 2px 5px; background: #f5f5f5; border-left: 3px solid var(--c); }
  .cal__legend .cal__end { font-size: 13px; }
  .cal__legend .cal__end::before { content: none; }
  .cal__head h2 { min-width: 0; font-size: 22px; }
}
@media (max-width: 420px) {
  .card--xl { grid-column: span 2; }
  .save { width: 34px; height: 34px; font-size: 17px; }
  .ranked { grid-template-columns: 1fr; }
}
