@import url('https://fonts.googleapis.com/css2?family=Anton&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root { color-scheme: light; --paper: #f8f5ef; --ink: #343a38; --muted: #777b71; --line: #deddd2; --accent: #af624d; --tint: #f2ded0; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Noto Sans KR', sans-serif; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1184px; margin: auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font: 20px 'Anton', sans-serif; letter-spacing: .02em; display: flex; align-items: center; min-height: 44px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); }
.hall-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 1120px; margin: 22px auto 0; padding-inline: 16px; }
.hall-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 72px; padding: 0 16px; color: var(--muted); border: 1px solid transparent; border-radius: 24px; font-size: 12px; }
.hall-nav a[aria-current="page"] { color: var(--accent); border-color: var(--accent); background: #fffdf7; font-weight: 700; }
.hall-nav a:hover { background: var(--tint); }
main { max-width: 1184px; margin: auto; padding: 42px 32px 80px; }
.hall-heading { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 28px; gap: 24px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 10px; font-size: 10px; font-weight: 800; letter-spacing: .22em; color: var(--accent); }
h1 { margin: 0; font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.2; letter-spacing: -.06em; }
.hall-number { font: clamp(46px, 7vw, 86px) 'Anton', sans-serif; color: var(--tint); line-height: 1; }
.collection-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 24px 0 30px; }
.result-count { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.search-box { display: flex; gap: 8px; align-items: center; background: #fffefa; border: 1px solid var(--line); border-radius: 24px; padding: 0 14px; width: min(230px, 62%); min-height: 44px; color: var(--accent); }
.search-box input { min-width: 0; width: 100%; padding: 10px 0; border: 0; background: transparent; color: var(--ink); font-size: 16px; outline: 0; }
.search-box:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.search-box input::placeholder { color: #969b8f; font-size: 12px; }
.collection-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.collection-item { min-width: 0; }
.work-card { display: block; position: relative; height: 100%; min-height: 44px; }
.work-visual { position: relative; overflow: hidden; background: var(--tint); }
.work-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 240ms ease; }
.work-card:hover .work-visual img { transform: scale(1.025); }
.work-caption { padding: 18px 0; }
.work-type { color: var(--accent); display: block; font-size: 10px; font-weight: 800; letter-spacing: .12em; margin-bottom: 8px; }
.work-title { margin: 0; font-size: 17px; line-height: 1.6; font-weight: 700; overflow-wrap: anywhere; }
.work-open { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; color: var(--accent); font-size: 11px; font-weight: 600; }
.work-serial { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 6px 9px; border-radius: 4px; background: #fffaf2eb; color: var(--accent); font: 12px 'Anton', sans-serif; letter-spacing: .06em; }
.empty-state { padding: 70px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; font-size: 14px; }
[hidden] { display: none !important; }
.site-footer { border-top: 1px solid var(--line); padding: 24px; text-align: center; font-size: 11px; color: var(--muted); }
.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; }

/* A perforated admission ticket, with its own tear-off edge. */
.hall-ticketing { --paper: #faf5ef; --accent: #ad604c; --tint: #edd5c6; --line: #e5d6c9; }
.hall-ticketing .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.hall-ticketing .work-card { border: 1px solid var(--line); border-radius: 18px; padding: 18px 55px 4px 18px; background: #fffdf6; box-shadow: 0 8px 22px #806d4610; }
.hall-ticketing .work-card::after { content: 'FLY MY DAY · ADMIT ONE'; position: absolute; right: 11px; top: 20px; bottom: 20px; writing-mode: vertical-rl; font: 10px 'Anton', sans-serif; letter-spacing: .17em; color: var(--accent); border-left: 2px dashed #dfc4af; padding-left: 14px; text-align: center; }
.hall-ticketing .work-visual { border-radius: 8px; }
.hall-ticketing .work-visual img { aspect-ratio: 16 / 9; }

/* Covers sit on a quiet wooden shelf; no room-description text. */
.hall-fiction { --paper: #f7f3e8; --accent: #8b6d38; --tint: #ddccaa; --line: #dfd4be; }
.hall-fiction .collection-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.hall-fiction .work-visual { padding: 18px 14px 18px 21px; border-radius: 3px 9px 9px 3px; border-left: 7px solid #9d8056; background: #eadcc2; box-shadow: 5px 7px 0 #d5c6ae, 10px 13px 22px #67533318; }
.hall-fiction .collection-item:nth-child(2n) .work-visual { background: #d8dfce; border-left-color: #819178; }
.hall-fiction .collection-item:nth-child(3n) .work-visual { background: #e7d1cd; border-left-color: #b2837b; }
.hall-fiction .work-visual img { aspect-ratio: 3 / 4; object-fit: contain; }
.hall-fiction .work-serial { top: auto; bottom: 6px; left: 21px; padding: 2px 6px; font-size: 10px; background: transparent; }
.hall-fiction .work-caption { margin-top: 22px; border-top: 7px solid #d0b58b; padding-top: 16px; box-shadow: 0 -5px 0 #ede1cc; }
.hall-fiction .work-title { font-size: 15px; }
.hall-fiction .work-type { letter-spacing: .18em; }

/* Small arcade cabinets with a marquee and an inset screen. */
.hall-games { --paper: #f6f3f9; --accent: #756094; --tint: #d6cbe4; --line: #ded5e8; }
.hall-games .work-card { background: #e9e0f1; padding: 12px 12px 0; border: 1px solid #d4c6e0; border-radius: 16px 16px 25px 25px; box-shadow: 0 6px 0 #d3c3df; }
.hall-games .work-visual { border: 6px solid #5e546b; border-radius: 9px; background: #5e546b; }
.hall-games .work-caption { padding: 18px 8px; }
.hall-games .work-type::before { content: '● ●'; letter-spacing: .16em; padding-right: 12px; color: #ad7796; }
.hall-games .work-open { border-top: 1px solid #cdbbdb; padding-top: 14px; }
.hall-games .work-title { font-size: 16px; }

/* Poster prints, with a narrow gallery frame. */
.hall-promotion { --paper: #fbf2f1; --accent: #a85d69; --tint: #edcdd1; --line: #e9d6d6; }
.hall-promotion .work-visual { background: #fffaf5; padding: 20px; border: 1px solid #e8d5cc; box-shadow: 0 7px 22px #86595512; }
.hall-promotion .work-visual img { aspect-ratio: 4 / 5; object-fit: contain; background: #f7eeee; }
.hall-promotion .work-serial { top: 4px; left: 20px; background: transparent; padding: 0; font-size: 9px; letter-spacing: .18em; }

/* Labelled compartments for tests, guides, and small experiments. */
.hall-other { --paper: #f2f6ed; --accent: #527963; --tint: #cbdac1; --line: #d5dfcc; }
.hall-other .work-card { padding: 16px; border: 1px solid #cbd9c1; border-top: 7px solid #acc29e; border-radius: 5px 5px 16px 16px; background: #fbfdf6; }
.hall-other .work-visual { border-radius: 8px; }
.hall-other .work-caption { padding-bottom: 0; }
.hall-other .work-open { border-top: 1px solid var(--line); padding-top: 14px; }

@media (max-width: 900px) {
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hall-fiction .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .header-inner { padding: 12px 20px; }
  .brand { font-size: 18px; }
  .hall-nav { gap: 2px; padding-inline: 12px; margin-top: 14px; }
  .hall-nav a { min-width: 0; padding: 0 8px; flex: 1; font-size: 11px; white-space: nowrap; }
  main { padding: 32px 18px 56px; }
  .hall-heading { padding-bottom: 22px; }
  .hall-number { font-size: 56px; }
  .collection-tools { margin: 20px 0 25px; }
  .collection-grid, .hall-ticketing .collection-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hall-fiction .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; row-gap: 30px; }
  .hall-fiction .work-visual { padding: 11px 7px 12px 9px; border-left-width: 5px; box-shadow: 3px 5px 0 #d5c6ae; }
  .hall-fiction .work-caption { margin-top: 15px; }
  .hall-fiction .work-title { font-size: 13px; }
  .hall-fiction .work-serial { left: 9px; bottom: 1px; font-size: 8px; }
  .work-title { font-size: 16px; }
  .hall-promotion .work-visual img { max-height: 400px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
