/* ==========================================================================
   KTV Malaysia — site.css
   Direction: "Lyric screen". Plum-ink room lighting, condensed signage type,
   and one karaoke lyric-wipe moment on the page headline. Gold is reserved
   for lounges and promotions, mint for family venues, magenta for actions.
   ========================================================================== */

:root {
  --ink: #160A22;          /* page: unlit room */
  --velvet: #211030;       /* raised surfaces */
  --velvet-2: #2B1640;     /* inputs, hovered rows */
  --line: #3A2148;         /* borders */
  --line-strong: #563270;

  --text-1: #F7EEFF;       /* headings */
  --text-2: #D9CCE8;       /* body, ~11:1 on ink */
  --text-3: #A897BC;       /* meta, ~6:1 on ink */

  --magenta: #FF4FA3;      /* actions + lyric fill */
  --magenta-deep: #C42A7F;
  --coral: #FF8A7A;        /* lyric gradient start (logo top) */
  --gold: #F2BE4A;         /* lounges, promotions (logo crown) */
  --mint: #57E3A1;         /* family venues */

  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 8px;
  --pill: 999px;

  --header-h: 68px;
  --maxw: 1240px;
  --measure: 68ch;

  --font-display: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --font-body: 'Atkinson Hyperlegible Next', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* Type scale: perfect fourth from 17px */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --step-3: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  --step-5: clamp(3rem, 1.6rem + 6vw, 6.5rem);

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--ink); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--ink);
  background-image:
    radial-gradient(900px 500px at 8% -10%, rgba(196, 42, 127, .22), transparent 60%),
    radial-gradient(700px 500px at 100% 0%, rgba(242, 190, 74, .07), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: hidden;
}
body.lang-zh { font-family: var(--font-body), var(--font-zh); }
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-1); line-height: 1.02; letter-spacing: .005em; font-weight: 800; text-wrap: balance; }
.lang-zh h1, .lang-zh h2, .lang-zh h3 { font-family: var(--font-display), var(--font-zh); letter-spacing: 0; line-height: 1.2; }
h1 { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 600; line-height: 1.08; }
h2 { font-size: var(--step-3); font-weight: 700; margin-bottom: .5em; }
h3 { font-size: var(--step-2); font-weight: 700; margin-bottom: .4em; }
p { max-width: var(--measure); }
p + p { margin-top: .9em; }
strong { color: var(--text-1); font-weight: 700; }

a { color: var(--text-1); text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

ul, ol { padding-left: 1.25rem; }
li + li { margin-top: .35em; }
li::marker { color: var(--magenta); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-3); }
.small { font-size: var(--step--1); }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 820px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 200; height: var(--header-h); background: rgba(22, 10, 34, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.site-logo { flex-shrink: 0; }
.site-logo img { height: 34px; width: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; padding: 0; }
.primary-nav li { margin: 0; }
.primary-nav a, .nav-trigger {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .85rem; border-radius: var(--pill);
  font: 600 .95rem/1 var(--font-body); color: var(--text-2); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.primary-nav a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--text-1); background: var(--velvet); }
.nav-trigger svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.state-menu {
  position: absolute; top: calc(100% + .6rem); left: 0; min-width: 260px;
  list-style: none; padding: .5rem; margin: 0;
  background: var(--velvet); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.state-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.state-menu li + li { margin-top: 0; }
.state-menu a { display: flex; justify-content: space-between; width: 100%; border-radius: var(--radius-sm); padding: .7rem .8rem; }
.state-menu small { color: var(--text-3); font-weight: 400; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.lang-switcher { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--pill); }
.lang-btn { padding: .3rem .6rem; border-radius: var(--pill); font-size: .8rem; font-weight: 700; color: var(--text-3); text-decoration: none; line-height: 1.2; }
.lang-btn:hover { color: var(--text-1); }
.lang-btn.is-active { background: var(--text-1); color: var(--ink); }
.nav-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--text-1); cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); padding: 1.25rem; overflow-y: auto; }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .primary-nav a, .nav-trigger { width: 100%; justify-content: space-between; font-size: 1.5rem; font-family: var(--font-display); font-weight: 800; padding: .8rem .5rem; border-radius: var(--radius-sm); }
  .state-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; margin: .25rem 0 .5rem; }
  .state-menu.is-open { display: block; }
  .state-menu a { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }
  .site-logo img { height: 28px; }
  .header-inner { gap: .75rem; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; padding: 0; font-size: var(--step--1); color: var(--text-3); }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--text-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-1); }
.breadcrumb [aria-current] { color: var(--text-2); }

/* ---------- Buttons, tags, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: var(--pill); font: 700 1rem/1.1 var(--font-body); text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--magenta); color: #1A0614; }
.btn-primary:hover { background: #FF76B8; color: #1A0614; }
.btn-ghost { border-color: var(--line-strong); color: var(--text-1); }
.btn-ghost:hover { border-color: var(--text-1); color: var(--text-1); }
.btn-block { width: 100%; }

.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: var(--pill); font-size: .8rem; font-weight: 700; line-height: 1.3; border: 1px solid currentColor; white-space: nowrap; }
.tag-family { color: var(--mint); }
.tag-lounge { color: var(--gold); }
.tag-age { color: var(--text-3); }
.tag-promo { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.tier { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.tier-bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.tier-bars i { width: 4px; border-radius: 1px; background: var(--line-strong); }
.tier-bars i:nth-child(1) { height: 5px; } .tier-bars i:nth-child(2) { height: 8px; } .tier-bars i:nth-child(3) { height: 12px; }
.tier[data-tier="1"] i:nth-child(-n+1), .tier[data-tier="2"] i:nth-child(-n+2), .tier[data-tier="3"] i { background: var(--text-1); }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; max-width: none; }
.pill { padding: .45rem .95rem; border: 1px solid var(--line-strong); border-radius: var(--pill); font-size: .95rem; font-weight: 600; text-decoration: none; }
.pill:hover { border-color: var(--magenta); }
.text-link { font-weight: 700; font-size: .95rem; white-space: nowrap; }

/* ---------- Lyric wipe (the one signature moment) ---------- */
.lyric {
  position: relative;
  color: rgba(247, 238, 255, .28);
  -webkit-text-stroke: 0;
}
.lyric::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--coral), var(--magenta) 55%, #E66BFF);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: no-preference) {
  .lyric::after { animation: lyric-wipe 2.6s .35s cubic-bezier(.45, .05, .35, 1) both; }
}
@keyframes lyric-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Home hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); font-weight: 600; line-height: 1; max-width: 18ch; letter-spacing: 0; }
.lang-zh .hero h1 { max-width: none; line-height: 1.1; }
.hero-lead { margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.55; max-width: 60ch; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.section-last { padding-bottom: clamp(3rem, 8vw, 6rem); }
.section-sm { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.section-title { font-size: var(--step-3); margin-bottom: .35em; }
.section-lead { color: var(--text-3); margin-bottom: 2rem; }
.band-gold { background: linear-gradient(180deg, rgba(242, 190, 74, .07), transparent 80%); border-top-color: rgba(242, 190, 74, .35); }

/* Setlist: states as a song list */
.setlist { list-style: none; padding: 0; counter-reset: none; border-top: 1px solid var(--line); }
.setlist-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: "state count" "state areas"; gap: .25rem 2rem; align-items: center; padding: 1.4rem 0; margin: 0; border-bottom: 1px solid var(--line); }
.setlist-row + .setlist-row { margin-top: 0; }
.setlist-state { grid-area: state; font: 700 clamp(1.75rem, 1.3rem + 2vw, 2.5rem)/1 var(--font-display); color: var(--text-1); text-decoration: none; letter-spacing: .005em; }
.lang-zh .setlist-state { font-family: var(--font-display), var(--font-zh); }
.setlist-state:hover { color: var(--magenta); }
.setlist-count { grid-area: count; color: var(--text-2); }
.setlist-count strong { font: 800 1.6rem/1 var(--font-display); margin-right: .2rem; }
.setlist-count .muted { margin-left: .5rem; font-size: var(--step--1); }
.setlist-areas { grid-area: areas; display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .95rem; max-width: none; }
.setlist-areas a { color: var(--text-3); text-decoration: none; }
.setlist-areas a:hover { color: var(--text-1); text-decoration: underline; text-decoration-color: var(--magenta); }
@media (max-width: 700px) {
  .setlist-row { grid-template-columns: 1fr; grid-template-areas: "state" "count" "areas"; }
}

/* Two venue types */
.type-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.type-panel { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: var(--velvet); border-top: 4px solid; }
.type-family { border-top-color: var(--mint); }
.type-lounge { border-top-color: var(--gold); }
.type-panel h3 { font-size: var(--step-3); }
.type-panel ul { margin-top: 1rem; }

/* Promotions strip */
.promo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.promo-tile { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; padding: .8rem; border: 1px solid rgba(242, 190, 74, .45); border-radius: var(--radius); background: rgba(22, 10, 34, .6); text-decoration: none; }
.promo-tile:hover { border-color: var(--gold); }
.promo-tile img { width: 120px; height: 150px; object-fit: cover; border-radius: var(--radius-sm); }
.promo-tile-text { display: grid; gap: .2rem; }
.promo-tile-text strong { font: 800 1.6rem/1 var(--font-display); }
.promo-tile-text span { color: var(--gold); font-weight: 600; }
.promo-tile-text .muted { color: var(--text-3); font-weight: 400; font-size: var(--step--1); }

/* Guides list */
.guide-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 2rem; }
.guide-list li { margin: 0; border-top: 1px solid var(--line); }
.guide-list a { display: grid; gap: .35rem; padding: 1.1rem 0; text-decoration: none; }
.guide-list strong { font: 800 1.5rem/1.05 var(--font-display); }
.guide-list a:hover strong { color: var(--magenta); }
.guide-list span { color: var(--text-3); font-size: .95rem; }
.guide-list small { color: var(--text-3); }
.guide-list-large { grid-template-columns: 1fr; max-width: 820px; }
.guide-list-large strong { font-size: var(--step-2); }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1.5rem, 3vw, 2rem); }
.page-head h1 { margin-top: 1rem; max-width: 28ch; }
.lang-zh .page-head h1 { max-width: none; }
.page-head .lead { margin-top: 1rem; font-size: var(--step-1); line-height: 1.55; }
.answer { margin-top: 1rem; padding: 1rem 1.2rem; border-left: 4px solid var(--magenta); background: rgba(255, 79, 163, .06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; max-width: 75ch; }
.venue-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.25rem; max-width: none; }
.venue-head h1 { margin-top: .75rem; }
.venue-head h1 span { color: var(--text-3); font-size: .6em; }

.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.jump a { padding: .4rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--pill); font-size: .9rem; font-weight: 600; text-decoration: none; }
.jump a:hover { border-color: var(--magenta); }
.jump small { color: var(--text-3); margin-left: .2rem; }

.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem 0; margin-bottom: 1rem; position: sticky; top: var(--header-h); z-index: 50; background: rgba(22, 10, 34, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.chip { padding: .45rem .95rem; border-radius: var(--pill); border: 1px solid var(--line-strong); background: none; color: var(--text-2); font: 600 .9rem/1.2 var(--font-body); cursor: pointer; }
.chip:hover { color: var(--text-1); border-color: var(--text-3); }
.chip.is-active { background: var(--text-1); border-color: var(--text-1); color: var(--ink); }

/* ---------- Venue cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.venue-card { margin: 0; }
.venue-card[hidden] { display: none; }
.venue-card-link { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: var(--velvet); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s; }
.venue-card-link:hover { border-color: var(--line-strong); color: inherit; }
.venue-card-link:hover h3 { color: var(--magenta); }
.venue-card[data-type="lounge"] .venue-card-link { box-shadow: inset 0 3px 0 var(--gold); }
.venue-card[data-type="family"] .venue-card-link { box-shadow: inset 0 3px 0 var(--mint); }
.venue-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--velvet-2); overflow: hidden; }
.venue-card-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-flag { position: absolute; top: .75rem; left: .75rem; padding: .2rem .6rem; border-radius: var(--pill); background: var(--gold); color: var(--ink); font-size: .75rem; font-weight: 700; }
.venue-card-body { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.venue-card h3 { font-size: 1.75rem; line-height: 1; margin: 0; transition: color .15s; }
.lang-zh .venue-card h3 { font-size: 1.35rem; line-height: 1.25; }
.venue-card-where { font-size: .9rem; color: var(--text-3); }
.venue-card-where .sep { color: var(--line-strong); margin: 0 .2rem; }
.venue-card-desc { font-size: .95rem; color: var(--text-2); line-height: 1.5; }
.venue-card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: auto; padding-top: .5rem; }

.img-placeholder { width: 100%; height: 100%; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; color: var(--magenta); background: radial-gradient(circle at 50% 35%, rgba(255, 79, 163, .14), transparent 60%), var(--velvet-2); text-align: center; padding: 1rem; }
.img-placeholder-name { font: 800 1.35rem/1 var(--font-display); color: var(--text-1); }
.img-placeholder-area { font-size: .8rem; color: var(--text-3); }

/* ---------- Area blocks ---------- */
.area-block { padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); }
.area-block:first-child { border-top: 0; padding-top: 1rem; }
.area-block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; }
.area-block-head h2 { margin-bottom: .2em; }
.area-block-desc { color: var(--text-3); margin-bottom: 1.5rem; }

.prose-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 820px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 1rem 0 1.5rem; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.compare caption { text-align: left; padding: .75rem 1rem; color: var(--text-3); font-size: var(--step--1); }
.compare th, .compare td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .8rem; font-weight: 700; color: var(--text-3); background: var(--velvet); }
.compare tbody th { color: var(--text-1); font-weight: 700; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:hover { background: rgba(255, 255, 255, .02); }

/* ---------- Definition-list facts ---------- */
.facts { display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--text-3); font-size: .9rem; }
.facts dd { color: var(--text-1); overflow-wrap: anywhere; }

/* ---------- Venue layout ---------- */
.venue-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.venue-main > section, .venue-main > .faq, .venue-main > .sources { margin-top: clamp(2.25rem, 4vw, 3rem); }
.venue-main > section > p, .venue-main > section > ul { max-width: var(--measure); }
.venue-main h2 { font-size: var(--step-3); }
.venue-main h3 { font-size: var(--step-2); margin-top: 1.25rem; }
.venue-main ul { margin-top: .5rem; }
.venue-side { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1rem; }
.fact-card { padding: 1.25rem 1.35rem 1.4rem; background: var(--velvet); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.fact-card-title { font-size: 1.6rem; margin-bottom: .25rem; }
.fact-card .facts > div { grid-template-columns: 6.5rem 1fr; font-size: .95rem; }
.fact-actions { display: grid; gap: .6rem; margin-top: 1rem; }
.side-links { display: grid; gap: 0; border-top: 1px solid var(--line); }
.side-links a { padding: .8rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; }
.side-links a:hover { color: var(--magenta); }
@media (max-width: 960px) {
  .venue-layout { grid-template-columns: 1fr; }
  .venue-side { position: static; order: -1; }
  .venue-main { display: contents; }
  .venue-main > .venue-photo { order: -2; }
}

.venue-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--velvet-2); }
.venue-photo img { width: 100%; max-height: 520px; object-fit: cover; }
.venue-photo .img-credit, .img-credit { padding: .5rem .9rem; font-size: .8rem; color: var(--text-3); }
.venue-photo .img-placeholder { aspect-ratio: 16 / 8; }
.img-credit a { color: var(--text-3); }

.inline-figure { margin: 0; }
.inline-figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.inline-figure figcaption { font-size: .85rem; color: var(--text-3); margin-top: .5rem; }
.price-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; margin: 1.25rem 0; }

/* Promotion block: framed like the venue's own gold poster */
.promo { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid rgba(242, 190, 74, .5); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(242, 190, 74, .1), rgba(242, 190, 74, 0) 55%), var(--velvet); }
.promo h2 { color: var(--gold); font-size: var(--step-3); }
.promo-card { display: grid; gap: 1.5rem; margin: 1rem 0; }
.promo-card.has-image { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: start; }
.promo-card h3 { font-size: var(--step-2); }
.promo-image { display: block; }
.promo-image img { border-color: rgba(242, 190, 74, .4); }
.promo-facts { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: .5rem 0 1rem; }
.promo-facts dt { font-size: .8rem; color: var(--text-3); }
.promo-facts dd { font: 800 2.2rem/1 var(--font-display); color: var(--gold); }
.lang-zh .promo-facts dd { font-family: var(--font-display), var(--font-zh); font-size: 1.6rem; }
.promo-text ul { margin-top: .75rem; }
@media (max-width: 640px) { .promo-card.has-image { grid-template-columns: 1fr; } .promo-image { max-width: 320px; } }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; margin-top: .5rem; }
.note { padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--velvet); }
.note h3 { font-size: 1.5rem; margin: 0 0 .5rem !important; }
.note-good { border-left: 4px solid var(--mint); }
.note-watch { border-left: 4px solid var(--gold); }

.map-embed { margin-top: 1.25rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; filter: grayscale(.25) contrast(1.05); }

.scores { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem 1.5rem; }
.scores dt { font-size: .85rem; color: var(--text-3); }
.scores dd { display: flex; align-items: center; gap: .5rem; color: var(--text-1); font-weight: 700; }
.score-bar { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--magenta) calc(var(--v) * 100%), var(--line) 0); }

.sources ul { font-size: .9rem; }
.sources a { color: var(--text-2); overflow-wrap: anywhere; }
.author-box { margin-top: 2.5rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); border: 1px dashed var(--line-strong); font-size: .95rem; }

.related { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }

.page-meta { margin: 2.5rem 0 clamp(2.5rem, 6vw, 4rem); padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: .85rem; color: var(--text-3); }
.page-meta p { margin: 0 !important; }
.page-meta a { color: var(--text-3); }

/* ---------- FAQ ---------- */
.faq { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.faq-list { border-top: 1px solid var(--line); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; border-right: 2px solid var(--magenta); border-bottom: 2px solid var(--magenta); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-q { font: 700 1.1rem/1.35 var(--font-body); color: var(--text-1); margin: 0; letter-spacing: 0; }
.faq-item summary:hover .faq-q { color: var(--magenta); }
.faq-a { padding: 0 0 1.25rem; }

/* ---------- Guides / prose ---------- */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-bottom: 4rem; }
.guide-side { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1.5rem; }
@media (max-width: 960px) { .guide-layout { grid-template-columns: 1fr; } .guide-side { position: static; } .toc { display: none; } }
.toc h2 { font-size: 1.3rem; }
.toc ol { list-style: none; padding: 0; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -2px; border-left: 2px solid transparent; font-size: .9rem; color: var(--text-3); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--text-1); border-left-color: var(--magenta); }

.prose { max-width: 760px; }
.prose > h2 { margin-top: 2.5rem; font-size: var(--step-3); }
.prose > h3 { margin-top: 1.75rem; }
.prose > p, .prose > ul, .prose > ol { margin-top: 1rem; }
.prose.static { padding-bottom: 4rem; }
.key-points { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--velvet); border-left: 4px solid var(--magenta); margin-bottom: 2rem; }
.key-points h2 { font-size: 1.6rem; margin-bottom: .5rem; }

/* Calculator */
.calc { margin: 1.25rem 0; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--velvet); border: 1px solid var(--line); }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.calc label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--text-3); }
.calc input, .calc select { min-height: 46px; padding: .55rem .75rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--ink); color: var(--text-1); font: 600 1rem var(--font-body); }
.calc-result { margin-top: 1.25rem; font-size: 1.05rem; }
.calc-result output { display: block; font: 800 var(--step-4)/1 var(--font-display); color: var(--magenta); margin-top: .25rem; }

/* Chains */
.chain-grid { margin: 2rem 0 4rem; }
.chain-card { display: block; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--velvet); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.chain-card:hover { border-color: var(--mint); color: inherit; }
.chain-card h2 { font-size: var(--step-2); }
.chain-card h2 span { color: var(--text-3); font-family: var(--font-zh); font-size: .7em; }

/* 404 */
.not-found { padding: clamp(3rem, 10vw, 7rem) 1.25rem; }
.not-found-code { font: 800 clamp(6rem, 25vw, 14rem)/.85 var(--font-display); max-width: none; }
.not-found h1 { margin: 1rem 0; }
.not-found .pill-row { margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #12081C; padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.footer-brand p { margin-top: 1rem; color: var(--text-3); max-width: 36ch; }
.footer-title { font: 700 1rem/1.2 var(--font-body); color: var(--text-1); margin-bottom: .75rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: .4rem; }
.site-footer a { color: var(--text-3); text-decoration: none; }
.site-footer a:hover { color: var(--text-1); text-decoration: underline; text-decoration-color: var(--magenta); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-3); font-size: .85rem; }
.footer-bottom p { max-width: 90ch; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  .site-header, .site-footer, .filter-chips, .venue-side .fact-actions, .map-embed { display: none; }
  body { background: #fff; color: #000; }
  h1, h2, h3, a, strong, .facts dd { color: #000; }
}

.notice { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid rgba(242, 190, 74, .5); background: rgba(242, 190, 74, .08); color: var(--text-1); max-width: 75ch; }
.offer-list li { max-width: var(--measure); }
.lyric::after { inset: 0 0 -.25em 0; }
.venue-main .faq-q, .prose .faq-q { font: 700 1.1rem/1.35 var(--font-body); margin: 0; letter-spacing: 0; }
.venue-main > :first-child { margin-top: 0; }

/* ---------- Promo banner ---------- */
.promo-banner { position: relative; max-width: 960px; margin: 0 auto clamp(1.75rem, 4vw, 2.5rem); }
.promo-banner a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease; }
.promo-banner a:hover, .promo-banner a:focus-visible { transform: translateY(-2px); border-color: var(--gold); }
.promo-banner img { display: block; width: 100%; height: auto; }
