/* Kervan web demosu — ferah açık tema. Palet: turkuaz #00B6B0, nane #A6E9D7, kum #BEA698, pembe #FFC0D1,
   kayısı #FFC87C. Metin için koyulaştırılmış tonlar türetildi; oranlar web/DESIGN.md'de. */

:root {
  --bg: #F6FBFA;            /* naneye çalan kırık beyaz */
  --surface: #FFFEFC;
  --surface-2: #EEF6F3;
  --text: #1F2D2C;
  --text-soft: #56635F;
  --line: #DCE8E4;
  --sand: #BEA698;          /* kum: çizgi ve yer tutucu */
  --mint: #A6E9D7;
  --pink: #FFC0D1;
  --apricot: #FFC87C;
  --accent: #00B6B0;        /* turkuaz: düğme dolgusu, seçili, odak */
  --accent-hover: #00A39E;
  --accent-label: #0E2B2A;
  --accent-ink: #00756F;    /* turkuazın metin/bağlantı tonu */
  --accent-tint: #E3F7F1;
  --warn-ink: #8A4B00;
  --warn-tint: #FFF1DC;

  --color-success: #1E7A4C;
  --color-error: #B42318;
  --color-warning: #8A4B00;
  --color-focus: #00756F;
  --focus-glow: rgba(0, 182, 176, .3);

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow: 0 1px 2px rgba(31, 45, 44, .05), 0 12px 30px -16px rgba(31, 45, 44, .22);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --fast: 160ms;
  --measure: 66ch;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 "Open Sans", "Lato", system-ui, sans-serif;
  min-height: 100vh; overflow-x: hidden;
}
h1, h2, h3, h4, .brand { font-family: "Poppins", "Nunito", "Open Sans", system-ui, sans-serif; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: .2em; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--color-focus); outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--focus-glow); border-radius: 6px;
}
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--surface); padding: .6rem 1rem; border-radius: var(--radius-s); }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }

/* ---------- üst çubuk ---------- */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.brand svg { width: 28px; height: 28px; color: var(--accent-ink); }
.top nav { display: flex; align-items: center; gap: 4px; }
.lang select {
  appearance: none; min-height: 40px; padding: 0 30px 0 12px; border-radius: var(--radius-s);
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: .9375rem;
}
.lang { position: relative; }
.lang::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; pointer-events: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg);
}

/* ---------- düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-s); border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:disabled { cursor: not-allowed; opacity: .55; }
.btn-primary { background: var(--accent); color: var(--accent-label); }
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-quiet { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-quiet:hover:not(:disabled) { border-color: var(--accent); }
.btn-ghost { background: none; color: var(--text); padding: 0 12px; }
.btn-ghost:hover:not(:disabled) { color: var(--accent-ink); }
.link { background: none; border: 0; padding: 0; color: var(--accent-ink); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; min-height: 44px; }

/* ---------- ana ekran ---------- */
main { padding-bottom: 48px; }
#land-error:empty { display: none; }
#land-error { margin-top: 14px; }

/* bento: her kutuda tek bir şey */
.bento {
  display: grid; gap: 14px; padding: 28px 0 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(210px, auto) minmax(210px, auto) auto;
  grid-template-areas:
    "hero hero bridge bridge"
    "hero hero museum unknown"
    "feat mag mag lang";
}
.tile { position: relative; border-radius: var(--radius-l); padding: 22px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.tile h2 { font: 600 .875rem/1.3 "Open Sans", sans-serif; color: var(--text-soft); }

.t-hero { grid-area: hero; display: grid; align-content: center; padding: 36px; background: var(--accent-tint); border-color: #C9EDE2; }
.t-hero h1 {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-optical-sizing: auto;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.03; letter-spacing: -.02em; max-width: 11ch;
}
.t-hero h1:focus { outline: none; }
.t-hero .lede { margin-top: 14px; font-size: 1.0625rem; max-width: 30rem; color: var(--text-soft); }
.hero-actions { margin-top: 24px; }
.btn-lg { min-height: 52px; padding: 0 22px; font-size: 1.0625rem; }
.t-hero .after { margin-top: 14px; color: var(--text-soft); font-size: .875rem; }
.t-hero .after .link { min-height: 0; }

.tile-photo { padding: 0; overflow: hidden; cursor: pointer; text-align: left; color: #FFFEFC; border: 0; background: var(--surface-2); }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.tile-photo:hover:not(:disabled) img { transform: scale(1.03); }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 43, 42, .85), rgba(14, 43, 42, 0) 55%); }
.tile-cap { position: absolute; z-index: 1; left: 18px; right: 70px; bottom: 16px; display: grid; gap: 2px; }
.tile-cap strong { font: 600 1.2rem/1.25 "Fraunces", Georgia, serif; }
.tile-cap small { font-size: .8125rem; opacity: .92; }
.tile-go {
  position: absolute; z-index: 1; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-label);
}
.tile-go svg { width: 18px; height: 18px; }
.t-bridge { grid-area: bridge; }
.t-museum { grid-area: museum; }

.t-unknown { grid-area: unknown; display: grid; gap: 10px; align-content: start; background: var(--warn-tint); border-color: #F6DDB4; }
.t-unknown .c-q { justify-self: end; max-width: 92%; padding: 7px 12px; border-radius: 14px 14px 4px 14px; background: var(--mint); font-size: .875rem; }
.t-unknown .c-a { display: grid; gap: 4px; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface); border: 2px dashed var(--warn-ink); font-size: .875rem; }

.t-lang { grid-area: lang; background: #FFE7EE; border-color: #F8CEDA; display: grid; align-content: start; gap: 2px; }
.t-lang h2 { margin-bottom: 6px; color: var(--text); }
.t-lang p { font: 600 1.05rem/1.35 "Fraunces", Georgia, serif; }


/* ---------- yükleniyor / uyarı ---------- */
.loading { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 280px; text-align: center; color: var(--text-soft); }
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .9s linear infinite; will-change: transform; }
@keyframes spin { to { transform: rotate(1turn); } }
.bar { position: relative; height: 3px; border-radius: 3px; overflow: hidden; background: var(--accent-tint); }
.bar::before { content: ""; position: absolute; inset: 0; width: 35%; background: var(--accent); animation: slide 1.3s var(--ease) infinite; will-change: transform; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }

.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-s); background: var(--warn-tint); font-size: .9375rem; }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--warn-ink); }
.note.error svg { color: var(--color-error); }
.note .btn { margin-top: 8px; }
.hint { color: var(--text-soft); font-size: .875rem; }

/* ---------- alan sayfası ---------- */
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 20px 0 16px; }
.crumbs h1 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 600; line-height: 1.25; }
.crumbs h1:focus { outline: none; }
.crumbs .btn-ghost { margin-left: -12px; }

.explore { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.side { position: sticky; top: 80px; display: grid; gap: 12px; }
.list ol { list-style: none; padding: 0; display: grid; gap: 2px; counter-reset: ex; }
.list button {
  counter-increment: ex; width: 100%; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; text-align: left;
  padding: 6px; border-radius: var(--radius-s); border: 1px solid transparent; background: none; cursor: pointer;
  transition: background-color var(--fast) var(--ease);
}
.list button:hover { background: var(--surface); }
.list button[aria-current="true"] { background: var(--accent-tint); border-color: var(--accent); }
.list .thumb { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: var(--line); }
.list .thumb.none { display: grid; place-items: center; background: var(--mint) !important; font: 600 1.1rem/1 "Poppins", sans-serif; color: var(--text-soft); }
.list .name { display: grid; gap: 1px; font-size: .9375rem; line-height: 1.35; }
.list .name small { color: var(--text-soft); font-size: .8125rem; }
.list .name small::before { content: counter(ex) ". "; }
.list button[aria-current="true"] .name { font-weight: 600; }

.geo { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); font-size: .875rem; }
.geo .line { display: flex; align-items: center; gap: 8px; }
.geo svg { width: 18px; height: 18px; flex: none; color: var(--accent-ink); }
.geo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); flex: none; }

/* ---------- eser ---------- */
.exhibit { display: grid; gap: 20px; min-width: 0; }
.figure { position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--line); }
.figure img { width: 100%; height: auto; max-height: 340px; object-fit: cover; }
.figure img.contain { object-fit: contain; background: var(--surface); }
.figure figcaption {
  position: absolute; right: 8px; bottom: 8px; max-width: calc(100% - 16px);
  padding: 2px 8px; border-radius: 4px; background: rgba(20, 24, 29, .72); color: #F7F5F1; font-size: .75rem;
}
.figure figcaption a { color: inherit; }
.ex-head { display: grid; gap: 6px; }
.ex-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.ex-head h2:focus { outline: none; }
.draft { display: flex; gap: 6px; align-items: center; color: var(--text-soft); font-size: .8125rem; }
.draft svg { width: 14px; height: 14px; flex: none; }

/* oynatıcı */
.player { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); }
.play {
  width: 52px; height: 52px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--accent); color: var(--accent-label); transition: background-color var(--fast) var(--ease);
}
.play:hover:not(:disabled) { background: var(--accent-hover); }
.play:disabled { background: var(--line); color: var(--text-soft); cursor: not-allowed; }
.play svg { width: 22px; height: 22px; }
.player .meta { display: grid; gap: 6px; flex: 1; min-width: 0; }
.player .label { font-weight: 600; }
.track { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.track span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.player .hint { line-height: 1.4; }

.story summary { cursor: pointer; font-weight: 600; color: var(--accent-ink); min-height: 44px; display: inline-flex; align-items: center; }
.story p { max-width: var(--measure); margin-top: 10px; }

/* soru */
.ask { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); }
.ask h3 { font-size: 1.125rem; font-weight: 600; }
.ask form { display: grid; gap: 10px; }
.ask label { font-size: .9375rem; color: var(--text-soft); }
.ask-input { display: flex; gap: 8px; align-items: stretch; }
.ask textarea {
  flex: 1; min-width: 0; min-height: 48px; padding: 11px 14px; border-radius: var(--radius-s); resize: vertical;
  border: 1px solid var(--line); background: var(--bg);
}
.ask textarea:focus-visible { border-color: var(--accent); }
.icon-btn { width: 48px; min-height: 48px; padding: 0; flex: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg);
  cursor: pointer; font-size: .875rem; transition: border-color var(--fast) var(--ease);
}
.chip:hover:not(:disabled) { border-color: var(--accent); }
.chip:disabled { opacity: .55; cursor: not-allowed; }
.rec { border-color: var(--color-error) !important; color: var(--color-error); }
.rec .rec-dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; animation: pulse 1.2s var(--ease) infinite; }
@keyframes pulse { 50% { opacity: .3; } }

.thread { display: grid; gap: 12px; }
.q { justify-self: end; max-width: 85%; padding: 9px 14px; border-radius: 14px 14px 4px 14px; background: var(--mint); }
.a { display: grid; gap: 8px; max-width: 92%; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--bg); border: 1px solid var(--line); }
.a .meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .8125rem; color: var(--text-soft); }
.a .meta .btn { min-height: 36px; padding: 0 12px; font-size: .875rem; }
.a.unknown { border: 2px dashed var(--warn-ink); background: var(--warn-tint); }
.unknown-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .875rem; color: var(--warn-ink); }
.unknown-tag svg { width: 18px; height: 18px; }
.unknown-note { font-size: .875rem; color: var(--text-soft); }

.empty { display: grid; place-content: center; text-align: center; gap: 8px; min-height: 260px; color: var(--text-soft); padding: 16px; }
.back { display: none; }

/* ---------- alt bilgi, diyaloglar ---------- */
footer { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--text-soft); font-size: .875rem; }
footer .wrap { display: grid; gap: 4px; }

dialog {
  width: min(100% - 32px, 440px); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 24px; background: var(--surface); color: var(--text); box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(31, 45, 44, .4); }
dialog h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input { min-height: 46px; padding: 10px 12px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--bg); }
.field input[aria-invalid="true"] { border: 2px solid var(--color-error); }
.field small { color: var(--text-soft); font-size: .8125rem; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: var(--radius-s); background: var(--bg); margin-bottom: 16px; }
.seg button { flex: 1; min-height: 40px; border: 0; border-radius: 6px; background: none; cursor: pointer; font-weight: 600; color: var(--text-soft); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(31, 45, 44, .15); }
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.prog-list { list-style: none; padding: 0; display: grid; gap: 14px; margin-bottom: 16px; }
.prog-list li { display: grid; gap: 6px; }
.prog-list .line { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }

.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 40; max-width: calc(100% - 32px); transform: translateX(-50%);
  padding: 10px 16px; border-radius: var(--radius-s); background: var(--text); color: var(--bg); box-shadow: var(--shadow);
  font-weight: 600; font-size: .9375rem; transition: opacity var(--fast) var(--ease);
}
.toast:empty { opacity: 0; pointer-events: none; }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto;
    grid-template-areas: "hero hero" "bridge bridge" "museum unknown" "feat lang" "mag mag"; }
  .t-bridge, .t-museum, .t-feat { min-height: 220px; }
}

/* ---------- telefon ---------- */
@media (max-width: 760px) {
  .top .wrap { min-height: 56px; }
  .top nav .btn-ghost { padding: 0 8px; font-size: .875rem; }
  .bento { grid-template-columns: 1fr; gap: 12px; padding-top: 16px;
    grid-template-areas: "hero" "bridge" "museum" "unknown" "feat" "mag" "lang"; }
  .t-hero { padding: 24px 20px; }
  .t-bridge, .t-museum, .t-feat { min-height: 200px; }
  .t-lang { grid-template-columns: 1fr 1fr; } .t-lang h2 { grid-column: 1 / -1; }
  .explore { grid-template-columns: 1fr; gap: 16px; }
  .side { position: static; }
  .explore.has-exhibit .side { display: none; }
  .explore:not(.has-exhibit) .exhibit { display: none; }
  .back { display: inline-flex; justify-self: start; margin-left: -12px; }
  .figure img { max-height: 240px; }
  .wrap:has(.explore.has-exhibit) > .crumbs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
  .exhibit { padding-top: 8px; gap: 16px; }
  .figure { margin-inline: -16px; border-radius: 0; }
  .ask { padding: 14px; margin-inline: -4px; }
  .q, .a { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bar::before { width: 100%; opacity: .5; }
}

.credits summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: var(--text-soft); }
.credits ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 4px; font-size: .8125rem; columns: 2; }
.credits a { color: var(--text-soft); }
@media (max-width: 760px) { .credits ul { columns: 1; } }

/* ---------- magnetler ---------- */
dialog.wide { width: min(100% - 32px, 680px); max-height: calc(100vh - 32px); overflow-y: auto; }
.fridge {
  margin: 14px 0 16px; padding: 18px; border-radius: var(--radius-m);
  background: linear-gradient(90deg, #E9EFEE 0%, #F7FAF9 42%, #EDF2F1 100%); border: 1px solid var(--line);
}
.fridge h3 { font: 600 .875rem/1.3 "Open Sans", sans-serif; color: var(--text-soft); margin: 4px 0 10px; }
.fridge h3 + .magnets { margin-bottom: 18px; }
.magnets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.magnet { display: grid; gap: 6px; justify-items: center; text-align: center; }
.mag-art { display: grid; place-items: center; width: 100%; height: 150px; filter: drop-shadow(0 7px 7px rgba(31, 45, 44, .25)) drop-shadow(0 1px 1px rgba(31, 45, 44, .25)); }
.magnet:nth-child(odd) .mag-art { transform: rotate(-3deg); }
.magnet:nth-child(even) .mag-art { transform: rotate(2.5deg); }
.mag-art svg { width: 100%; height: 100%; max-width: 220px; }
.magnet strong { font-size: .9375rem; font-weight: 600; }
.mag-state { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--text-soft); }
.mag-state svg { width: 14px; height: 14px; flex: none; }
.magnet.locked .mag-art { filter: grayscale(1) opacity(.45) drop-shadow(0 4px 4px rgba(31, 45, 44, .15)); }
.magnet:not(.locked) .mag-state { color: var(--color-success); font-weight: 600; }
@media (max-width: 480px) { .magnets { gap: 14px 10px; } .fridge { padding: 12px; } }

/* ---------- ana ekran: öne çıkan eser, magnet kutusu, kaydırıcılar ---------- */
.t-feat { grid-area: feat; min-height: 220px; }
.t-feat .tile-cap { right: 18px; }
.t-feat .tile-cap small { order: -1; }
.t-mag { grid-area: mag; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; background: #F4EFEB; border-color: #E6DCD5; }
.t-mag h2 { color: var(--text); }
.t-mag p { margin-top: 6px; font-size: .9375rem; color: var(--text-soft); max-width: 18rem; }
.t-mag .link { margin-top: 4px; }
.mag-pair { display: flex; align-items: center; gap: 6px; filter: drop-shadow(0 6px 6px rgba(31, 45, 44, .22)); }
.mag-pair span { display: block; }
.mag-pair span:first-child { width: 150px; transform: rotate(-4deg); }
.mag-pair span:last-child { width: 120px; transform: rotate(3deg); }
.mag-pair svg { width: 100%; height: auto; }

.rail { padding-top: 34px; }
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rail-head h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -.01em; }
.rail-nav { display: flex; gap: 6px; }
.rail-nav .icon-btn { width: 44px; min-height: 44px; border-radius: 50%; }
.flip svg { transform: scaleX(-1); }
.rail-list {
  list-style: none; margin: 0 -4px; padding: 4px 4px 10px; display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: none;
}
.rail-list::-webkit-scrollbar { display: none; }
.rail-list li { flex: 0 0 200px; scroll-snap-align: start; }
.card {
  width: 100%; display: grid; gap: 4px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--text);
}
.card-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-m); overflow: hidden; background: var(--mint); margin-bottom: 6px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-none { position: absolute; inset: 0; display: grid; place-items: center; font: 600 2.4rem/1 "Fraunces", Georgia, serif; color: var(--accent-ink); }
.card .tag {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; background: rgba(255, 254, 252, .92); color: var(--text);
}
.card .tag.live { background: var(--accent); color: var(--accent-label); }
.card .tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.card strong { font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.card small { color: var(--text-soft); font-size: .8125rem; }
.card.soon .card-img img { filter: saturate(.75); }
@media (max-width: 760px) {
  .rail-list li { flex-basis: 64%; }
  .rail-nav { display: none; }
  .t-mag { grid-template-columns: 1fr; }
  .mag-pair { justify-content: center; }
}
