:root {
  --primary: #c41d1f;
  --on-primary: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --hairline: #e6e6e8;
  --canvas: #ffffff;
  --parchment: #f7f7f8;
  --tile: #f7f7f8;
  --on-tile: #1d1d1f;
  --on-tile-muted: #6e6e73;
  --danger: #b3261e;
  --warn: #8a5a00;
  --ok: #1b7a43;
  --radius: 18px;
  --radius-sm: 11px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.47 "SF Pro Text", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 34px; line-height: 1.15; }
h2 { font-size: 24px; line-height: 1.2; }
h3 { font-size: 17px; }
p { margin: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 460px; }
.mid { max-width: 680px; }
.page { padding-top: 32px; padding-bottom: 72px; }
.stack > * + * { margin-top: 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }
.pre { white-space: pre-line; }

.topbar { position: sticky; top: 0; z-index: 10; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.brand { color: var(--ink); font-weight: 600; font-size: 17px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 14px; font-size: 14px; white-space: nowrap; }
.nav form { margin: 0; }
.linkish { padding: 0; border: 0; background: none; color: var(--primary); font: inherit; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 8px 22px;
  border: 1px solid transparent; border-radius: 980px;
  background: var(--primary); color: var(--on-primary);
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn.sm { min-height: 34px; padding: 4px 14px; font-size: 13px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--parchment); font-size: 15px; margin-bottom: 8px; border-left: 3px solid var(--muted); }
.flash.ok { border-left-color: var(--ok); }
.flash.error { border-left-color: var(--danger); }

.hero { background: var(--tile); color: var(--on-tile); padding: 56px 0; }
.hero h1 { font-size: 40px; line-height: 1.1; }
.hero p { color: var(--on-tile-muted); margin-top: 12px; font-size: 19px; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: block; color: inherit; }
.card:hover { text-decoration: none; }
.card:hover .card-title { color: var(--primary); }
.poster { aspect-ratio: 3 / 4; width: 100%; border-radius: var(--radius-sm); background: var(--tile); object-fit: cover; }
.poster-empty { display: flex; align-items: flex-end; padding: 16px; color: var(--on-tile); font-weight: 600; font-size: 19px; line-height: 1.25; }
.card-title { margin-top: 12px; font-weight: 600; font-size: 16px; line-height: 1.3; }
.card-meta { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.card-price { margin-top: 4px; font-size: 14px; font-weight: 600; }

.empty { padding: 48px 16px; text-align: center; color: var(--muted); background: var(--parchment); border-radius: var(--radius); }

.show-head { background: var(--parchment); padding: 32px 0; }
.show-layout { display: grid; gap: 24px; }
@media (min-width: 720px) { .show-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; } }
.show-poster { max-width: 150px; }
@media (min-width: 720px) { .show-poster { max-width: 280px; } }
.eyebrow { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.info { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 15px; }
.info th, .info td { padding: 10px 0; border-top: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.info th { width: 92px; font-weight: 400; color: var(--muted); }

.booking { display: grid; gap: 32px; }
@media (min-width: 720px) { .booking { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head strong { font-size: 19px; font-weight: 600; }
.cal-nav { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink); font-size: 20px; }
.cal-nav:hover { background: var(--parchment); text-decoration: none; }
.cal-nav.off { visibility: hidden; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.cal-dow { padding: 6px 0; font-size: 13px; color: var(--muted); }
.cal-dow.sun { color: var(--danger); }
.cal-day { display: flex; aspect-ratio: 1; min-height: 40px; align-items: center; justify-content: center; border-radius: 50%; font-size: 15px; color: var(--muted); opacity: .45; }
.cal-day.blank { visibility: hidden; }
.cal-day.has { color: var(--ink); opacity: 1; font-weight: 600; background: var(--parchment); }
.cal-day.has:hover { text-decoration: none; background: var(--hairline); }
.cal-day.full { color: var(--muted); opacity: 1; text-decoration: line-through; }
.cal-day.selected, .cal-day.selected:hover { background: var(--primary); color: var(--on-primary); opacity: 1; }
.times { display: grid; gap: 8px; }
.time {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 10px 16px;
  border: 1px solid var(--hairline); border-radius: var(--radius-sm); color: inherit;
}
a.time:hover { border-color: var(--primary); text-decoration: none; }
.time strong { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.time.off { color: var(--muted); background: var(--parchment); }
.time-tag { font-size: 14px; }
.time-tag.low { color: var(--danger); font-weight: 600; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; padding: 10px 16px; background: var(--canvas); border-top: 1px solid var(--hairline); }
@media (min-width: 720px) { .sticky-cta { display: none; } }
.has-sticky { padding-bottom: 72px; }

.form { display: grid; gap: 16px; }
.field label, .label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.field .hint { margin-top: 4px; font-size: 13px; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 14px;
  border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  background: var(--canvas); color: var(--ink); font: inherit; font-size: 16px;
}
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.two { display: grid; gap: 16px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }

.panel { padding: 20px; border-radius: var(--radius); background: var(--parchment); }
.summary { width: 100%; border-collapse: collapse; font-size: 15px; }
.summary th, .summary td { padding: 8px 0; text-align: left; vertical-align: top; }
.summary th { width: 92px; font-weight: 400; color: var(--muted); }
.total { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 980px; background: var(--parchment); font-size: 13px; white-space: nowrap; }
.badge.paid, .badge.ok { color: var(--ok); }
.badge.pending, .badge.warn { color: var(--warn); }
.badge.refund_requested, .badge.danger { color: var(--danger); }
.badge.open { color: var(--ok); }
.panel .badge { background: var(--canvas); }

.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 10px; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: middle; white-space: nowrap; }
.table th { font-weight: 600; color: var(--muted); font-size: 13px; }
.table td.wrap-cell { white-space: normal; min-width: 160px; }
.table form { display: inline; margin: 0; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form input { width: 84px; min-height: 34px; padding: 4px 8px; font-size: 14px; }

.subnav { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); overflow-x: auto; font-size: 15px; white-space: nowrap; }
.subnav a { color: var(--muted); }
.subnav a.on { color: var(--ink); font-weight: 600; }
.title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 16px; border-radius: var(--radius-sm); background: var(--parchment); }
.stat span { display: block; font-size: 13px; color: var(--muted); }
.stat strong { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); border-left: 3px solid var(--danger); background: var(--parchment); font-size: 15px; }

.acal { display: grid; grid-template-columns: repeat(7, minmax(92px, 1fr)); min-width: 660px; border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.acal > div { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 6px; }
.acal-dow { font-size: 13px; color: var(--muted); text-align: center; }
.acal-cell { min-height: 96px; font-size: 13px; }
.acal-cell.out { background: var(--parchment); color: var(--muted); }
.acal-cell.today .acal-date { color: var(--primary); font-weight: 700; }
.chip { display: block; margin-top: 4px; padding: 2px 6px; border-radius: 6px; font-size: 12px; line-height: 1.4; background: var(--parchment); color: var(--muted); font-variant-numeric: tabular-nums; }
.chip.open { background: var(--primary); color: var(--on-primary); }

.prose { font-size: 15px; }
.prose h2 { font-size: 19px; margin: 24px 0 8px; }
.prose ul { padding-left: 20px; margin: 8px 0; }
.footer { border-top: 1px solid var(--hairline); padding: 24px 0 32px; font-size: 13px; color: var(--muted); background: var(--parchment); }
.footer a { color: var(--muted); margin-right: 12px; }
.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt48 { margin-top: 48px; }
.mb6 { margin-bottom: 6px; }
.mb8 { margin-bottom: 8px; }
.mb12 { margin-bottom: 12px; }
.m0 { margin: 0; }
.line-strong { display: block; font-weight: 600; }
.thumb { max-width: 140px; margin-top: 8px; border-radius: var(--radius-sm); }.banner { position: relative; background: var(--tile); }
.banner-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banner-track::-webkit-scrollbar { display: none; }
.banner-slide { flex: 0 0 100%; scroll-snap-align: start; display: block; }
.banner-slide img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
@media (min-width: 720px) { .banner-slide img { aspect-ratio: 3 / 1; } }
.banner-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 1px solid var(--hairline); border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 22px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.promo-strip { display: block; background: var(--parchment); border-bottom: 1px solid var(--hairline); }
.promo-strip img { width: 100%; max-width: 1920px; height: auto; margin: 0 auto; }
.topbar .wrap { min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-head h2 { font-size: 26px; }
.section-head h2::before { content: ""; display: inline-block; width: 5px; height: 22px; margin-right: 10px; vertical-align: -2px; border-radius: 3px; background: var(--primary); }
.card .poster { box-shadow: 0 2px 10px rgba(0, 0, 0, .10); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover .poster { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .16); }
.card-price { color: var(--primary); font-size: 16px; }
.poster-empty { border: 1px solid var(--hairline); }
.table-title { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .card .poster { transition: none; } .card:hover .poster { transform: none; } }
.banner-nav.prev { left: 12px; }
.banner-nav.next { right: 12px; }
.banner-row { display: grid; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--hairline); }
.banner-row img { width: 100%; max-width: 480px; border-radius: var(--radius-sm); }
.detail-images { max-width: 840px; margin: 0 auto; }
.detail-images img { width: 100%; height: auto; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.thumb-item img { width: 100%; height: 180px; object-fit: cover; object-position: top; border-radius: var(--radius-sm); margin-bottom: 6px; }