/* 2026 도원결의 — white field, ink rule, CK orange */

:root {
  --paper: #FFFFFF;
  --paper-2: #EFEFEF;
  --paper-tint: #F7F6F3;
  --ink: #1A1A1A;
  --ink-soft: #2A2A2A;
  --ink-mute: #5A5A5A;
  --orange: #FF6A13;
  --orange-ink: #B33A00;
  --orange-wash: #FFF1E8;
  --blue: #3D5A80;
  --pink: #FF48B0;
  --live: #1E7B3C;
  --maxw: 1280px;
  --gutter: clamp(16px, 3vw, 48px);
  --bw: 2px;
  --topbar-h: 64px;
  --tabbar-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --font-sans: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --z-sticky: 40;
  --z-topbar: 50;
  --z-tabbar: 60;
  --z-sheet: 70;
  --z-modal: 100;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 72px); scrollbar-color: var(--ink) var(--paper); -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  color-scheme: light;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}
body.is-locked { overflow: hidden; }
::selection { background: var(--orange); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
input { caret-color: var(--orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  z-index: calc(var(--z-modal) + 1);
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
main { position: relative; z-index: 2; display: block; }

/* ---------- type ---------- */
.h-display {
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(44px, 9vw, 96px);
  text-wrap: balance;
}
.h-page {
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-size: clamp(32px, 5vw, 56px);
  text-wrap: balance;
}
.h-sec {
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: clamp(24px, 3vw, 34px);
  text-wrap: balance;
}
.h-sub {
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.3;
  font-size: clamp(19px, 2vw, 22px);
}
.lede { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.7; color: var(--ink-soft); max-width: 62ch; text-wrap: pretty; }
.prose { max-width: 68ch; color: var(--ink-soft); line-height: 1.85; text-wrap: pretty; }
.prose p + p { margin-top: 0.9em; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.riso-text {
  position: relative;
  display: inline-block;
  color: transparent;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.55) 0.9px, transparent 1.4px),
    linear-gradient(0deg, var(--ink-soft), var(--ink-soft));
  background-size: 4px 4px, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}
.riso-text::before,
.riso-text::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  color: transparent;
  background-size: 4px 4px, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}
.riso-text::before {
  transform: translate(-3px, -2px) rotate(-0.5deg);
  opacity: 0.92;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.5) 0.9px, transparent 1.4px),
    linear-gradient(0deg, var(--orange), var(--orange));
}
.riso-text::after {
  transform: translate(3px, 2.5px) rotate(0.4deg);
  opacity: 0.82;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.45) 0.9px, transparent 1.4px),
    linear-gradient(0deg, var(--blue), var(--blue));
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .riso-text { color: var(--ink); background: none; }
  .riso-text::before, .riso-text::after { content: none; }
}

/* ---------- atoms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .15s var(--ease);
}
.btn:hover { background: var(--paper-tint); }
.btn--primary { background: var(--orange); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--primary:hover { background: var(--orange); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn--primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-soft); }
.btn--block { width: 100%; }
.btn--disabled { background: var(--paper-2); color: var(--ink-mute); border-color: var(--ink-mute); cursor: not-allowed; flex-wrap: wrap; }
.btn--disabled small { font-size: 12px; font-weight: 600; padding: 1px 6px; background: var(--paper); border: 1px solid #B5B5B5; }
.btn .ico { width: 18px; height: 18px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  text-decoration: none;
}
.icon-btn:hover { background: var(--orange-wash); }

.tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700;
  line-height: 1.3;
  padding: 3px 8px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  white-space: nowrap;
}
.tag--ghost { border-color: transparent; background: var(--paper-2); font-weight: 600; color: var(--ink-soft); }
.tag--orange { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.tag--ink { background: var(--ink); color: var(--paper); }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  width: fit-content;
  font-size: 12px; font-weight: 700;
  padding: 3px 9px 3px 8px;
  border: 1.5px solid currentColor;
  background: var(--paper);
  white-space: nowrap;
}
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--open { color: var(--live); }
.status--open .status__dot { animation: pulse 1.6s var(--ease) infinite; }
.status--away { color: #8A5A00; }
.status--partial, .status--low { color: var(--orange-ink); }
.status--closed, .status--soldout, .status--recruitClosed { color: var(--ink-mute); }
.status--soldout { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.status--before, .status--upcoming { color: var(--blue); }
.status--sale { color: var(--ink); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.noimg {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 4px;
  background:
    repeating-linear-gradient(45deg, rgba(255,106,19,0.13) 0 8px, transparent 8px 16px),
    var(--paper-2);
}
.noimg__code { font-family: var(--font-serif); font-weight: 900; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.noimg__note { font-size: 12px; font-weight: 600; color: var(--ink-mute); }

.more-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1.5px solid var(--ink);
}
.more-link:hover { color: var(--orange-ink); border-color: var(--orange); }
.more-link .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.more-link:hover .ico { transform: translateX(3px); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0;
  z-index: var(--z-topbar);
  background: var(--paper);
  border-bottom: var(--bw) solid var(--ink);
}
.topbar__row { display: flex; align-items: center; height: var(--topbar-h); gap: 20px; }
.brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
  font-family: var(--font-serif); font-weight: 900; font-size: 19px; letter-spacing: -0.02em;
  margin-right: auto;
  flex: none;
}
.brand__mark { width: 46px; height: 30px; display: grid; place-items: center; overflow: hidden; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__name { display: flex; align-items: baseline; gap: 6px; }
.brand__year { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--orange-ink); letter-spacing: 0.04em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--ease);
}
.nav-links a:hover { border-bottom-color: var(--ink); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--orange); }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  background: var(--orange); color: var(--ink);
  font-weight: 700; font-size: 14px;
  border: var(--bw) solid var(--ink);
  text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-ink); color: #fff; }
.nav-cta .ico { width: 18px; height: 18px; }
.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.dday {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  min-width: 64px; height: 44px; padding: 0 8px;
  border: var(--bw) solid var(--ink);
  background: var(--ink); color: var(--paper);
  text-decoration: none; line-height: 1;
}
.dday__n { font-family: var(--font-mono); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; color: var(--orange); }
.dday__d { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: 0.06em; margin-top: 3px; }
.dday.is-today { background: var(--orange); }
.dday.is-today .dday__n { color: var(--ink); }
.dday.is-today .dday__d { color: var(--ink); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .nav-links {
    display: grid; grid-template-columns: 1fr 1fr;
    position: absolute; top: var(--topbar-h); left: 0; right: 0;
    background: var(--paper);
    border-bottom: var(--bw) solid var(--ink);
    padding: 8px var(--gutter) 16px;
    gap: 0 16px;
    box-shadow: 0 12px 24px -12px rgba(26,26,26,.35);
  }
  body.nav-open .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--paper-2); }
  body.nav-open .nav-links a[aria-current="page"] { color: var(--orange-ink); }
}
@media (max-width: 860px) {
  .nav-cta { display: none; }
  .nav-toggle { display: none; }
  .dday { display: inline-flex; }
  .topbar__row { gap: 8px; }
}

/* ---------- tabbar (mobile) ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: var(--z-tabbar);
    background: var(--paper);
    border-top: var(--bw) solid var(--ink);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: var(--tabbar-h);
    text-decoration: none;
    font-size: 12px; font-weight: 700;
    color: var(--ink-mute);
    position: relative;
  }
  .tabbar__item .ico { width: 22px; height: 22px; }
  .tabbar__item[aria-current="page"] { color: var(--ink); }
  .tabbar__item[aria-current="page"]::before {
    content: ""; position: absolute; top: -2px; left: 22%; right: 22%;
    height: 4px; background: var(--orange);
  }
  .tabbar__item[aria-current="page"] .ico { stroke: var(--orange-ink); }
}

/* ---------- page head ---------- */
.page-head { padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); border-bottom: var(--bw) solid var(--ink); }
.page-head .lede { margin-top: 14px; }
.page-head__back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink-mute);
  text-decoration: none;
  margin-bottom: 16px;
  min-height: 32px;
}
.page-head__back:hover { color: var(--ink); }
.page-head__back .ico { width: 16px; height: 16px; }

.section { padding: clamp(40px, 6vw, 80px) 0; }
.section + .section { border-top: var(--bw) solid var(--ink); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 32px); flex-wrap: wrap; }
.section__head p { margin-top: 8px; color: var(--ink-mute); font-size: 15px; }

/* ---------- home hero ---------- */
.hero { border-bottom: var(--bw) solid var(--ink); padding: clamp(28px, 6vw, 72px) 0 clamp(28px, 5vw, 56px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.hero__year { display: block; font-family: var(--font-mono); font-weight: 600; font-size: clamp(20px, 2.6vw, 28px); letter-spacing: 0.01em; color: var(--orange-ink); margin-bottom: 4px; }
.hero__tagline {
  margin-top: clamp(18px, 2.4vw, 28px);
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.4; letter-spacing: -0.02em;
  max-width: 20em; text-wrap: balance;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(22px, 3vw, 32px); }
.hero__cta .btn { min-height: 54px; font-size: 16px; padding: 12px 24px; }

.ticket {
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}
.ticket__date {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 18px 20px 16px;
  background: var(--ink); color: var(--paper);
}
.ticket__day { font-family: var(--font-mono); font-weight: 600; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ticket__dow { font-family: var(--font-mono); font-weight: 600; font-size: 16px; color: var(--orange); letter-spacing: 0.12em; }
.ticket__meta { font-size: 13px; color: rgba(255,255,255,.75); }
.ticket__places { list-style: none; margin: 0; padding: 0; }
.ticket__places a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 20px;
  border-top: 1.5px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.ticket__places li:first-child a { border-top: none; }
.ticket__places a:hover { background: var(--orange-wash); }
.ticket__places small { font-weight: 500; font-size: 13px; color: var(--ink-mute); margin-left: auto; }
.ticket__places .ico { width: 16px; height: 16px; color: var(--ink-mute); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- search ---------- */
.search-band { padding: clamp(20px, 3vw, 32px) 0; border-bottom: var(--bw) solid var(--ink); background: var(--paper-tint); }
.search {
  display: flex; align-items: stretch;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
}
.search:focus-within { box-shadow: 4px 4px 0 var(--orange); }
.search__icon { display: grid; place-items: center; padding: 0 4px 0 16px; color: var(--ink-mute); }
.search__icon .ico { width: 22px; height: 22px; }
.search input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font-size: 17px; font-weight: 500;
  padding: 14px 12px;
  min-height: 56px;
}
.search input::placeholder { color: #767676; }
.search input::-webkit-search-cancel-button { display: none; }
.search button[type="submit"] {
  border: 0; border-left: var(--bw) solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-weight: 700; padding: 0 22px;
}
.search button[type="submit"]:hover { background: var(--orange); color: var(--ink); }
.search__clear { border: 0; background: transparent; padding: 0 12px; color: var(--ink-mute); }
.search__clear[hidden] { display: none; }
.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--ink-mute); }
.suggest a {
  display: inline-flex; align-items: center; min-height: 36px;
  padding: 4px 12px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink); font-weight: 600;
  text-decoration: none;
}
.suggest a:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* ---------- quick menu ---------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick__item {
  display: flex; flex-direction: column; gap: 10px;
  min-height: 176px;
  padding: 20px;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.quick__item:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.quick__item:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.quick__item .ico { width: 34px; height: 34px; stroke-width: 1.8; }
.quick__q { font-family: var(--font-serif); font-weight: 900; font-size: clamp(19px, 2vw, 24px); line-height: 1.25; letter-spacing: -0.02em; margin-top: auto; }
.quick__a { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; border-top: 1.5px solid currentColor; padding-top: 10px; }
.quick__a .ico { width: 18px; height: 18px; }
.quick__item--map { background: var(--orange); color: var(--ink); }
.quick__item--map .quick__a { border-color: var(--ink); }
@media (max-width: 960px) { .quick { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 480px) {
  .quick__item { min-height: 148px; padding: 16px; box-shadow: 4px 4px 0 var(--ink); }
  .quick__item .ico { width: 28px; height: 28px; }
  .quick__a { font-size: 13px; }
}

/* ---------- program rows (home + list) ---------- */
.prog-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--bw) solid var(--ink); }
.prog-strip__item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 20px 20px;
  text-decoration: none;
  border-left: var(--bw) solid var(--ink);
  background: var(--paper);
  transition: background .15s var(--ease);
}
.prog-strip__item:first-child { border-left: 0; }
.prog-strip__item:hover { background: var(--orange-wash); }
.prog-strip__item h3 { font-family: var(--font-serif); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.prog-strip__item p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.prog-strip__place { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-mute); padding-top: 8px; }
.prog-strip__place .ico { width: 15px; height: 15px; }
@media (max-width: 960px) {
  .prog-strip { grid-template-columns: 1fr 1fr; }
  .prog-strip__item:nth-child(3) { border-left: 0; }
  .prog-strip__item:nth-child(n+3) { border-top: var(--bw) solid var(--ink); }
}
@media (max-width: 560px) {
  .prog-strip { grid-template-columns: 1fr; }
  .prog-strip__item { border-left: 0; }
  .prog-strip__item + .prog-strip__item { border-top: var(--bw) solid var(--ink); }
}

.prog-list { list-style: none; margin: 0; padding: 0; border-top: var(--bw) solid var(--ink); }
.prog-row {
  display: grid; grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.6fr) 220px;
  gap: 8px 32px; align-items: center;
  padding: 24px 4px;
  border-bottom: var(--bw) solid var(--ink);
  text-decoration: none;
  transition: background .15s var(--ease);
}
.prog-row:hover { background: var(--orange-wash); }
.prog-row:hover .prog-row__name { color: var(--orange-ink); }
.prog-row__name { font-family: var(--font-serif); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; line-height: 1.2; }
.prog-row__lead { font-weight: 600; font-size: 16px; }
.prog-row__short { color: var(--ink-mute); font-size: 14.5px; margin-top: 4px; }
.prog-row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 13px; color: var(--ink-mute); font-weight: 600; text-align: right; }
.prog-row__meta .ico { width: 15px; height: 15px; }
.prog-row__place { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 760px) {
  .prog-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .prog-row__meta { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; margin-top: 6px; }
}

/* ---------- booth cards ---------- */
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .b-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 600px) { .b-grid { grid-template-columns: 1fr; gap: 16px; } }
.b-card {
  display: flex; flex-direction: column;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  min-width: 0;
}
.b-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.b-card:hover .b-card__title { color: var(--orange-ink); }
.b-card__img {
  position: relative; display: block;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
}
.b-card__img img { width: 100%; height: 100%; object-fit: contain; }
.b-card__code {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-mono); font-weight: 600; font-size: 13px;
  background: var(--ink); color: var(--paper);
  padding: 4px 9px; letter-spacing: 0.06em;
}
.b-card__saved {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--paper); border: 1.5px solid var(--ink);
  color: var(--orange);
}
.b-card__saved .ico { width: 18px; height: 18px; fill: currentColor; stroke: var(--orange-ink); }
.b-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.b-card__title { font-family: var(--font-serif); font-weight: 900; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.28; letter-spacing: -0.015em; transition: color .2s; }
.b-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.b-card__loc { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.b-card__loc .ico { width: 16px; height: 16px; color: var(--orange-ink); }
.b-card__intro { font-size: 14px; color: var(--ink-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b-card__match { display: flex; align-items: flex-start; gap: 6px; font-size: 13.5px; font-weight: 600; background: var(--orange-wash); padding: 8px 10px; border: 1.5px dashed var(--orange-ink); }
.b-card__match .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--orange-ink); }
.b-card__match mark { background: none; color: var(--orange-ink); font-weight: 800; }
.b-card__more { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--orange-ink); }
.b-card__more .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.b-card:hover .b-card__more .ico { transform: translateX(4px); }

/* ---------- notices ---------- */
.n-list { list-style: none; margin: 0; padding: 0; border-top: var(--bw) solid var(--ink); }
.n-item { border-bottom: var(--bw) solid var(--ink); padding: 20px 0; }
.n-item__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.n-item__date { font-family: var(--font-mono); font-size: 13px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.n-item__pin { font-size: 12px; font-weight: 700; color: var(--orange-ink); }
.n-item h3 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.015em; line-height: 1.35; margin-top: 10px; }
.n-item__body { margin-top: 8px; color: var(--ink-soft); font-size: 15px; line-height: 1.75; max-width: 70ch; }
.n-item__body p + p { margin-top: 4px; }
.n-tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; padding: 3px 8px; border: 1.5px solid var(--ink); background: var(--paper); }
.n-tag--important { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.n-tag--booth { background: var(--ink); color: var(--paper); }
.n-tag--program { border-color: var(--blue); color: var(--blue); }

/* ---------- places ---------- */
.places { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--bw) solid var(--ink); }
.place {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px;
  border-left: var(--bw) solid var(--ink);
  text-decoration: none;
  background: var(--paper);
  transition: background .15s var(--ease);
}
.place:first-child { border-left: 0; }
.place:hover { background: var(--paper-tint); }
.place h3 { font-family: var(--font-serif); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.place p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.place__count { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; }
.place__count .ico { width: 16px; height: 16px; }
@media (max-width: 960px) {
  .places { grid-template-columns: 1fr 1fr; }
  .place:nth-child(3) { border-left: 0; }
  .place:nth-child(n+3) { border-top: var(--bw) solid var(--ink); }
}
@media (max-width: 520px) {
  .places { grid-template-columns: 1fr; }
  .place { border-left: 0; }
  .place + .place { border-top: var(--bw) solid var(--ink); }
}

/* ---------- filters ---------- */
.filterbar {
  position: sticky; top: var(--topbar-h);
  z-index: var(--z-sticky);
  background: var(--paper);
  border-bottom: var(--bw) solid var(--ink);
}
.filterbar__inner { padding-top: 14px; padding-bottom: 12px; display: grid; gap: 10px; }
.filterbar .search input { min-height: 50px; font-size: 16px; padding: 10px 12px; }
.filter-toggle { display: none; }
.filter-rows { display: grid; gap: 8px; }
.chip-row { display: flex; align-items: center; gap: 8px; }
.chip-row__label { flex: none; width: 44px; font-size: 13px; font-weight: 700; color: var(--ink-mute); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px;
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-size: 14px; font-weight: 600;
  white-space: nowrap;
  transition: background .12s var(--ease), color .12s var(--ease);
}
.chip:hover { background: var(--paper-tint); }
.chip .n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] .n { color: var(--orange); }
.chip--save .ico { width: 16px; height: 16px; }
.chip--save[aria-pressed="true"] { background: var(--orange); border-color: var(--ink); color: var(--ink); }
.chip--save[aria-pressed="true"] .ico { fill: currentColor; }
.chip--save[aria-pressed="true"] .n { color: var(--ink); }
.chip:disabled { opacity: .4; cursor: default; }
@media (max-width: 760px) {
  .chip-row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .chip-row__label { width: auto; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; width: calc(100% + var(--gutter) * 2); }
  .chips::-webkit-scrollbar { display: none; }
  .filter-toggle {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 40px; padding: 0 2px;
    border: 0; background: none;
    font-size: 14px; font-weight: 700;
  }
  .filter-toggle .ico { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s var(--ease); }
  .filter-toggle[aria-expanded="true"] .ico { transform: rotate(-90deg); }
  .filter-toggle__active { font-weight: 600; color: var(--orange-ink); margin-left: 8px; }
  .filter-rows[hidden] { display: none; }
}
@media (min-width: 761px) { .filter-rows[hidden] { display: grid !important; } }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0 16px; flex-wrap: wrap; }
.results-bar__count { font-weight: 700; font-size: 15px; }
.results-bar__count strong { font-family: var(--font-mono); color: var(--orange-ink); font-size: 18px; }
.reset-btn { border: 0; background: none; font-weight: 600; font-size: 14px; color: var(--ink-mute); text-decoration: underline; padding: 8px 0; min-height: 40px; }
.reset-btn:hover { color: var(--ink); }

.empty {
  border: var(--bw) dashed var(--ink);
  padding: clamp(32px, 6vw, 56px) 24px;
  text-align: center;
  display: grid; justify-items: center; gap: 12px;
}
.empty h2 { font-family: var(--font-serif); font-weight: 900; font-size: 22px; }
.empty p { color: var(--ink-mute); max-width: 40ch; }

/* ---------- booth detail ---------- */
.bd-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(24px, 4vw, 56px); padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 5vw, 64px); align-items: start; }
.bd-media { border: var(--bw) solid var(--ink); background: var(--paper-2); box-shadow: 6px 6px 0 var(--ink); position: relative; min-height: 280px; }
.bd-media img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; margin: 0 auto; }
.bd-media .noimg { position: absolute; }
.bd-gallery { display: grid; gap: 12px; margin: 0 0 20px; }
.bd-gallery figure { margin: 0; border: var(--bw) solid var(--ink); background: var(--paper-2); }
.bd-gallery img { width: 100%; height: auto; display: block; }
@media (min-width: 761px) { .bd-gallery--grid { grid-template-columns: 1fr 1fr; } }
.bd-media .noimg__code { font-size: clamp(48px, 8vw, 88px); }
.bd-head { display: grid; gap: 14px; }
.bd-head__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bd-code { font-family: var(--font-mono); font-weight: 600; font-size: 14px; background: var(--ink); color: var(--paper); padding: 4px 10px; letter-spacing: 0.06em; }
.bd-title { font-family: var(--font-serif); font-weight: 900; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
.bd-facts { margin: 6px 0 0; border-top: var(--bw) solid var(--ink); }
.bd-facts div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #CFCFCF; }
.bd-facts dt { font-size: 14px; font-weight: 600; color: var(--ink-mute); }
.bd-facts dd { margin: 0; font-weight: 700; }
.bd-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 6px; }
.save-btn { min-width: 52px; padding: 10px 14px; }
.save-btn .ico { width: 20px; height: 20px; }
.save-btn[aria-pressed="true"] { background: var(--orange-wash); color: var(--orange-ink); }
.save-btn[aria-pressed="true"] .ico { fill: var(--orange); stroke: var(--orange-ink); }
.save-btn.is-pop .ico { animation: pop .35s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (max-width: 900px) {
  .bd-top { grid-template-columns: 1fr; }
  .bd-media { min-height: 220px; box-shadow: 4px 4px 0 var(--ink); }
}

.bd-section { padding: clamp(32px, 5vw, 56px) 0; border-top: var(--bw) solid var(--ink); }
.bd-section > .h-sec { margin-bottom: 20px; display: flex; align-items: baseline; gap: 12px; }
.bd-section > .h-sec small { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--orange-ink); letter-spacing: 0; }
.bd-desc { white-space: pre-line; font-size: 16.5px; line-height: 1.9; color: var(--ink-soft); max-width: 68ch; }

.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.item { border: var(--bw) solid var(--ink); background: var(--paper); display: flex; flex-direction: column; }
.item__img { position: relative; aspect-ratio: 1; background: var(--paper-2); border-bottom: 1.5px solid var(--ink); overflow: hidden; }
.item__img img { width: 100%; height: 100%; object-fit: cover; }
.item__img .noimg__code { font-size: 15px; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; color: var(--ink-mute); }
.item__body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.item__name { font-family: var(--font-serif); font-weight: 900; font-size: 17px; line-height: 1.35; letter-spacing: -0.015em; }
.item__price { font-family: var(--font-mono); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.item__price.is-tbd { font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--ink-mute); }
.item__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.item.is-soldout .item__img img, .item.is-soldout .item__img .noimg { filter: grayscale(1); opacity: .5; }
.item.is-soldout .item__name { text-decoration: line-through; text-decoration-thickness: 2px; }
@media (max-width: 520px) {
  .items { grid-template-columns: 1fr 1fr; gap: 10px; }
  .item__body { padding: 10px 12px 12px; }
  .item__name { font-size: 15px; }
}

.exp { display: grid; grid-template-columns: repeat(2, 1fr); border: var(--bw) solid var(--ink); }
.exp > div { padding: 18px 20px; border-top: 1.5px solid var(--ink); }
.exp > div:first-child { border-top: 0; }
.exp .exp__wide { grid-column: 1 / -1; }
.exp .exp__r { border-left: 1.5px solid var(--ink); }
.exp dt { font-size: 13px; font-weight: 700; color: var(--ink-mute); margin-bottom: 6px; }
.exp dd { margin: 0; font-weight: 600; line-height: 1.6; }
.exp__name dd { font-family: var(--font-serif); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
@media (max-width: 600px) {
  .exp { grid-template-columns: 1fr; }
  .exp .exp__r { border-left: 0; }
}

.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.perks li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: var(--bw) solid var(--ink); background: var(--orange-wash); font-weight: 700; font-size: 16px; }
.perks .ico { color: var(--orange-ink); width: 22px; height: 22px; }

.links { display: flex; flex-wrap: wrap; gap: 10px; }

.edit-note { border: var(--bw) solid var(--ink); background: var(--paper-tint); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; }
.edit-note h2 { font-family: var(--font-serif); font-weight: 900; font-size: 20px; letter-spacing: -0.015em; }
.edit-note p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; max-width: 62ch; }
@media (max-width: 760px) { .edit-note { grid-template-columns: 1fr; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; border: var(--bw) solid var(--ink); margin-top: clamp(32px, 5vw, 56px); }
.pager a { display: grid; gap: 4px; padding: 16px 18px; text-decoration: none; min-width: 0; }
.pager a:hover { background: var(--orange-wash); }
.pager a + a { border-left: var(--bw) solid var(--ink); text-align: right; }
.pager small { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-mute); }
.pager a + a small { justify-content: flex-end; }
.pager small .ico { width: 14px; height: 14px; }
.pager strong { font-family: var(--font-serif); font-weight: 900; font-size: 16px; letter-spacing: -0.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- map ---------- */
.map-tools { display: grid; gap: 12px; padding-top: 14px; padding-bottom: 12px; }
.map-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.map-tabs::-webkit-scrollbar { display: none; }
.map-tab {
  flex: none;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-weight: 700; font-size: 15px;
}
.map-tab .n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); margin-left: 4px; }
.map-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.map-tab[aria-selected="true"] .n { color: var(--orange); }
@media (max-width: 760px) { .map-tabs { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); } }

.map-body { padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(48px, 6vw, 80px); }
.overview {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.overview__block {
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  min-height: 140px;
  padding: 18px 20px;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  text-align: left;
  transition: background .15s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.overview__block:hover { background: var(--orange-wash); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.overview__block--edu, .overview__block--cheong { min-height: 200px; }
.overview__block--edu { background: repeating-linear-gradient(-45deg, rgba(255,106,19,.08) 0 10px, transparent 10px 20px), var(--paper); }
.overview__block--cheong { background: repeating-linear-gradient(45deg, rgba(61,90,128,.08) 0 10px, transparent 10px 20px), var(--paper); }
.overview__name { font-family: var(--font-serif); font-weight: 900; font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.02em; line-height: 1.15; }
.overview__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; max-width: 36ch; }
.overview__count { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 14px; }
.overview__count .ico { width: 16px; height: 16px; }
.overview-note { font-size: 13px; color: var(--ink-mute); margin-top: -28px; margin-bottom: clamp(28px, 4vw, 44px); }
@media (max-width: 760px) {
  .overview { grid-template-columns: 1fr; }
  .overview__block--edu, .overview__block--cheong { min-height: 140px; }
  .overview-note { margin-top: -16px; }
}

.plan { border: var(--bw) solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); }
.plan + .plan { margin-top: clamp(28px, 4vw, 44px); }
.plan__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 18px 20px 16px; border-bottom: var(--bw) solid var(--ink); }
.plan__head h2 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; }
.plan__head p { font-size: 14px; color: var(--ink-mute); margin-top: 4px; max-width: 52ch; }
.plan__legend { display: flex; gap: 14px; font-size: 13px; color: var(--ink-mute); font-weight: 600; flex-wrap: wrap; }
.plan__legend span { display: inline-flex; align-items: center; gap: 6px; }
.plan__legend i { width: 14px; height: 14px; border: 1.5px solid var(--ink); display: inline-block; }
.plan__legend .lg-sel { background: var(--orange); }
.plan__legend .lg-saved { background: var(--orange-wash); border-color: var(--orange-ink); }
.plan__body { padding: clamp(14px, 2.4vw, 24px); display: grid; gap: clamp(18px, 3vw, 28px); }
.plan__group-label { font-size: 13px; font-weight: 700; color: var(--ink-mute); margin-bottom: 8px; display: flex; justify-content: space-between; }

.aisle-block { display: grid; grid-template-rows: auto auto auto; gap: 0; }
.aisle-row { display: grid; grid-template-columns: repeat(var(--cols, 9), minmax(0, 1fr)); gap: 6px; }
.aisle {
  display: flex; align-items: center; justify-content: center;
  height: 40px;
  font-size: 12px; font-weight: 600; color: var(--ink-mute);
  letter-spacing: 0.3em;
  background: repeating-linear-gradient(90deg, transparent 0 14px, #D6D6D6 14px 22px) center / 100% 2px no-repeat;
}
.aisle span { background: var(--paper); padding: 0 10px; }

.pin {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2px;
  min-height: 64px;
  padding: 6px 7px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  text-align: left;
  min-width: 0;
  transition: background .12s var(--ease), color .12s var(--ease), transform .15s var(--ease), opacity .2s;
}
.pin__code { font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: 0.02em; }
.pin__name { font-size: 11px; font-weight: 600; line-height: 1.25; color: var(--ink-mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; width: 100%; }
.pin:hover { background: var(--orange-wash); }
.pin.is-saved { background: var(--orange-wash); border-color: var(--orange-ink); }
.pin.is-saved::after { content: ""; position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.pin.is-on { background: var(--orange); color: var(--ink); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: translate(-2px, -2px); z-index: 2; }
.pin.is-on .pin__name { color: var(--ink); }
.pin.is-dim { opacity: .2; }
.pin.is-closed { background: var(--paper-2); }
.pin.is-closed .pin__code { text-decoration: line-through; }
@media (max-width: 760px) {
  .aisle-block { grid-template-rows: none; grid-template-columns: 1fr 34px 1fr; }
  .aisle-row { grid-template-columns: 1fr; grid-auto-flow: row; }
  .aisle { height: auto; writing-mode: vertical-rl; letter-spacing: 0.4em; background: repeating-linear-gradient(0deg, transparent 0 14px, #D6D6D6 14px 22px) center / 2px 100% no-repeat; }
  .aisle span { padding: 10px 0; }
  .pin { min-height: 52px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; padding: 6px 8px; }
  .pin__code { flex: none; min-width: 34px; }
  .pin__name { font-size: 12px; -webkit-line-clamp: 2; }
}

.floor {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 10px 6px;
}
.floor--hall { border: var(--bw) solid var(--ink); padding: clamp(12px, 2vw, 20px); }
.floor__aisle { grid-column: 1 / -1; height: 28px; }
.floor__deco {
  display: flex; align-items: center; justify-content: center;
  margin: 4px 10%;
  border: 1.5px dashed #C9C9C9;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,.025) 0 8px, transparent 8px 16px);
  font-size: 12px; font-weight: 600; color: var(--ink-mute); letter-spacing: 0.4em;
}
.floor .pin[data-zone="A"] { box-shadow: inset 0 4px 0 #F2C230; }
.floor .pin[data-zone="B"] { box-shadow: inset 0 4px 0 #8F80F0; }
.floor .pin[data-zone="C"] { box-shadow: inset 0 4px 0 #6DBF6A; }
.floor .pin[data-zone="D"] { box-shadow: inset 0 4px 0 #EE6FC4; }
.floor .pin { padding-top: 9px; }
.floor .pin.is-on { box-shadow: 3px 3px 0 var(--ink); }
.floor__hint { display: none; font-size: 13px; color: var(--ink-mute); }
@media (max-width: 760px) {
  .floor { gap: 6px 4px; }
  .floor--hall { padding: 10px 8px; }
  .floor .pin { min-height: 42px; padding: 7px 0 3px; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
  .floor .pin__name { display: none; }
  .floor .pin__code { min-width: 0; font-size: 11px; letter-spacing: -0.02em; }
  .floor .pin.is-saved::after { top: 6px; right: 3px; width: 5px; height: 5px; }
  .floor__deco { margin: 2px 6%; letter-spacing: 0.2em; }
  .floor__aisle { writing-mode: horizontal-tb; height: 24px; letter-spacing: 0.3em; background: repeating-linear-gradient(90deg, transparent 0 14px, #D6D6D6 14px 22px) center / 100% 2px no-repeat; }
  .floor__aisle span { padding: 0 10px; }
  .floor__hint { display: block; }
}

.plan__empty { padding: 28px 20px; display: grid; gap: 14px; }
.plan__empty p { color: var(--ink-soft); max-width: 56ch; }
.plan__progs { display: flex; flex-wrap: wrap; gap: 8px; }

.map-find { display: flex; gap: 8px; }
.map-find .search { flex: 1; }
.map-find .search input { min-height: 48px; font-size: 16px; padding: 8px 10px; }
.map-find__hint { font-size: 13px; color: var(--ink-mute); }

/* bottom sheet / side card */
.sheet {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translate(-50%, calc(100% + 40px));
  width: min(560px, calc(100% - 32px));
  z-index: var(--z-sheet);
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .32s var(--ease), visibility 0s linear .32s;
  visibility: hidden;
}
.sheet.is-open { transform: translate(-50%, 0); visibility: visible; transition: transform .32s var(--ease); }
.sheet__inner { display: grid; grid-template-columns: 96px minmax(0, 1fr); }
.sheet__img { position: relative; background: var(--paper-2); border-right: 1.5px solid var(--ink); min-height: 120px; }
.sheet__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet__img .noimg__code { font-size: 22px; }
.sheet__img .noimg__note { display: none; }
.sheet__body { padding: 14px 52px 14px 16px; display: grid; gap: 6px; align-content: start; }
.sheet__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--ink-mute); }
.sheet__code { font-family: var(--font-mono); font-weight: 600; background: var(--ink); color: var(--paper); padding: 2px 8px; font-size: 12px; }
.sheet__title { font-family: var(--font-serif); font-weight: 900; font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; }
.sheet__goods { font-size: 13px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__cta { display: grid; grid-template-columns: 1fr; border-top: var(--bw) solid var(--ink); }
.sheet__cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 16px; text-decoration: none; }
.sheet__cta a:hover { background: var(--orange-ink); color: #fff; }
.sheet__cta .ico { width: 18px; height: 18px; }
.sheet__close { position: absolute; top: -2px; right: -2px; width: 44px; height: 44px; display: grid; place-items: center; border: var(--bw) solid var(--ink); background: var(--ink); color: var(--paper); }
.sheet__close:hover { background: var(--orange); color: var(--ink); }
@media (max-width: 860px) {
  .sheet { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px); }
}

/* ---------- program detail ---------- */
.pd-head { padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); border-bottom: var(--bw) solid var(--ink); }
.pd-head__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.pd-lead { margin-top: 18px; font-family: var(--font-serif); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.45; letter-spacing: -0.02em; max-width: 30em; text-wrap: balance; }
.pd-intro { margin-top: 18px; }
.pd-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; font-weight: 700; font-size: 15px; }
.pd-facts span { display: inline-flex; align-items: center; gap: 6px; }
.pd-facts .ico { width: 18px; height: 18px; color: var(--orange-ink); }
.pd-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 80px); }
.pd-toc { position: sticky; top: calc(var(--topbar-h) + 24px); align-self: start; display: grid; gap: 2px; }
.pd-toc a { font-size: 14px; font-weight: 600; color: var(--ink-mute); text-decoration: none; padding: 8px 0 8px 12px; border-left: 2px solid var(--paper-2); }
.pd-toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.pd-sec + .pd-sec { margin-top: clamp(36px, 5vw, 56px); }
.pd-sec > .h-sec { margin-bottom: 18px; }
@media (max-width: 860px) {
  .pd-body { grid-template-columns: 1fr; }
  .pd-toc { display: none; }
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: var(--bw) solid var(--ink); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1.5px solid var(--ink); font-size: 16.5px; font-weight: 600; line-height: 1.6; }
.steps li::before { content: "STEP " counter(step, decimal-leading-zero); font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--orange-ink); letter-spacing: 0.04em; }
@media (max-width: 520px) { .steps li { grid-template-columns: 1fr; gap: 2px; } }

.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.bullets li { position: relative; padding: 13px 0 13px 26px; border-bottom: 1px solid #D0D0D0; font-size: 16px; line-height: 1.6; }
.bullets li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; background: var(--orange); }

.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chipset span { padding: 8px 14px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 15px; background: var(--paper); }

.qcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.qcard {
  position: relative;
  min-height: 148px;
  padding: 20px;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  font-family: var(--font-serif); font-weight: 900; font-size: 19px; line-height: 1.4; letter-spacing: -0.015em;
}
.qcard::before { content: "Q."; font-family: var(--font-mono); font-size: 14px; color: var(--orange-ink); font-weight: 600; letter-spacing: 0; }
.qcard:nth-child(3n+2) { transform: rotate(-1deg); }
.qcard:nth-child(3n) { transform: rotate(.8deg); }
.qdraw { margin-top: 20px; display: grid; gap: 12px; justify-items: start; }
.qdraw__card {
  width: 100%; max-width: 420px; min-height: 160px;
  border: var(--bw) solid var(--ink);
  background: var(--orange); color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 22px;
  display: grid; align-content: space-between; gap: 12px;
  font-family: var(--font-serif); font-weight: 900; font-size: 24px; line-height: 1.35; letter-spacing: -0.02em;
}
.qdraw__card small { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.qdraw__card.is-flip { animation: flip .45s var(--ease); }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }

.pairs { display: grid; grid-template-columns: 1fr 1fr; border: var(--bw) solid var(--ink); }
.pairs > div { padding: 20px; }
.pairs > div + div { border-left: var(--bw) solid var(--ink); }
.pairs h3 { font-family: var(--font-serif); font-weight: 900; font-size: 20px; margin-bottom: 8px; }
.pairs p { color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 600px) { .pairs { grid-template-columns: 1fr; } .pairs > div + div { border-left: 0; border-top: var(--bw) solid var(--ink); } }

.reward { display: flex; align-items: center; gap: 16px; padding: 20px; border: var(--bw) solid var(--ink); background: var(--orange-wash); }
.reward .ico { width: 36px; height: 36px; color: var(--orange-ink); stroke-width: 1.8; }
.reward strong { display: block; font-family: var(--font-serif); font-weight: 900; font-size: 24px; letter-spacing: -0.02em; }
.reward span { font-size: 14px; color: var(--ink-soft); }

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.related a { display: grid; gap: 6px; padding: 18px 20px; border: var(--bw) solid var(--ink); text-decoration: none; background: var(--paper); transition: background .15s; }
.related a:hover { background: var(--orange-wash); }
.related strong { font-family: var(--font-serif); font-weight: 900; font-size: 20px; letter-spacing: -0.02em; }
.related span { font-size: 14px; color: var(--ink-mute); }
@media (max-width: 600px) { .related { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.subnav { position: sticky; top: var(--topbar-h); z-index: var(--z-sticky); background: var(--paper); border-bottom: var(--bw) solid var(--ink); }
.subnav__row { display: flex; gap: 6px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.subnav__row::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.subnav a:hover, .subnav a.is-on { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) { .subnav__row { margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); } }

.about-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--bw) solid var(--ink); }
.facts > div { padding: 22px 20px; }
.facts > div + div { border-left: var(--bw) solid var(--ink); }
.facts h3 { font-size: 14px; font-weight: 700; color: var(--ink-mute); margin-bottom: 10px; }
.facts__big { font-family: var(--font-serif); font-weight: 900; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.02em; line-height: 1.3; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-weight: 600; }
.facts ul a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.facts ul a:hover { color: var(--orange-ink); }
.facts ul .ico { width: 15px; height: 15px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } .facts > div + div { border-left: 0; border-top: var(--bw) solid var(--ink); } }

.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: var(--bw) solid var(--ink); }
.guide > div { padding: 22px 20px; border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); }
.guide > div:nth-child(-n+3) { border-top: 0; }
.guide > div:nth-child(3n+1) { border-left: 0; }
.guide h3 { font-family: var(--font-serif); font-weight: 900; font-size: 20px; letter-spacing: -0.015em; margin-bottom: 8px; }
.guide p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
@media (max-width: 860px) {
  .guide { grid-template-columns: 1fr 1fr; }
  .guide > div:nth-child(-n+3) { border-top: 1.5px solid var(--ink); }
  .guide > div:nth-child(-n+2) { border-top: 0; }
  .guide > div:nth-child(3n+1) { border-left: 1.5px solid var(--ink); }
  .guide > div:nth-child(odd) { border-left: 0; }
}
@media (max-width: 520px) {
  .guide { grid-template-columns: 1fr; }
  .guide > div { border-left: 0 !important; border-top: 1.5px solid var(--ink) !important; }
  .guide > div:first-child { border-top: 0 !important; }
}

.timeline { list-style: none; margin: 0; padding: 0; border-left: var(--bw) solid var(--ink); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; background: var(--paper); border: var(--bw) solid var(--ink); }
.timeline li:first-child::before, .timeline li:last-child::before { background: var(--orange); }
.timeline__time { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--orange-ink); }
.timeline h3 { font-family: var(--font-serif); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; margin: 2px 0 8px; }
.timeline ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.timeline ul li { padding: 4px 10px; border: 1.5px solid var(--ink); font-size: 14px; font-weight: 600; }
.timeline ul li::before { content: none; }
.timeline p { color: var(--ink-soft); }
.timeline-note { margin-top: 24px; font-size: 14px; color: var(--ink-mute); font-weight: 600; }

/* ---------- faq ---------- */
.faq { border-top: var(--bw) solid var(--ink); max-width: 860px; }
.faq details { border-bottom: var(--bw) solid var(--ink); }
.faq summary {
  list-style: none;
  display: grid; grid-template-columns: 32px minmax(0, 1fr) 24px; gap: 8px; align-items: baseline;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-serif); font-weight: 900; font-size: clamp(17px, 2vw, 20px); letter-spacing: -0.015em; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; font-family: var(--font-mono); font-size: 15px; color: var(--orange-ink); font-weight: 600; letter-spacing: 0; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 22px; font-weight: 500; text-align: center; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--orange-ink); }
.faq__a { padding: 0 32px 22px 40px; color: var(--ink-soft); line-height: 1.8; }
.faq__a p + p { margin-top: 6px; }
.faq__a a { color: var(--orange-ink); font-weight: 700; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact__card { border: var(--bw) solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; background: var(--paper); }
.contact__card h2 { font-family: var(--font-serif); font-weight: 900; font-size: 22px; letter-spacing: -0.015em; }
.contact__card p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- welcome ---------- */
.welcome { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 20px; }
.welcome__backdrop { position: absolute; inset: 0; background: rgba(26,26,26,.72); animation: fade .25s var(--ease); }
.welcome__panel {
  position: relative;
  width: min(440px, 100%);
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  box-shadow: 8px 8px 0 var(--orange);
  padding: 28px 24px 24px;
  display: grid; gap: 12px;
  animation: rise .4s var(--ease);
}
.welcome__date { font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--orange-ink); letter-spacing: 0.04em; }
.welcome h2 { font-family: var(--font-serif); font-weight: 900; font-size: 26px; line-height: 1.25; letter-spacing: -0.025em; }
.welcome p { color: var(--ink-soft); line-height: 1.65; }
.welcome__ask { margin-top: 8px; font-weight: 800; color: var(--ink) !important; font-size: 17px; }
.welcome__actions { display: grid; gap: 10px; margin-top: 4px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(48px, 7vw, 88px) 0 32px; position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1.5px solid rgba(255,255,255,.2); }
.footer-brand { font-family: var(--font-serif); font-weight: 900; font-size: 26px; letter-spacing: -0.02em; }
.footer-host { margin-top: 8px; font-weight: 600; }
.footer-date { margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.65); }
.footer-col h2 { font-size: 13px; font-weight: 700; color: var(--orange); margin-bottom: 12px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-col a { display: inline-block; padding: 4px 0; text-decoration: none; font-size: 15px; border-bottom: 1px solid transparent; }
.footer-col a:hover { border-bottom-color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,.55); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .b-card:hover, .quick__item:hover, .btn--primary:hover, .overview__block:hover { transform: none; }
}
