/* ザセキ — 座席指定チケット
   トークン：ベルベットの深紅 × 金箔 × 舞台の闇。見出しは劇場プログラムの明朝、数字はボドニ */
:root {
  --velvet: #2a0710;
  --velvet-2: #3a0d19;
  --velvet-3: #4a1222;
  --soot: #15040a;
  --crim: #8e1630;
  --crim-hi: #b8223f;
  --gold: #d4a94f;
  --gold-ink: #e9c779;
  --gold-deep: #9c7422;
  --ink: #f4ece0;
  --mute: #cdbcaa;
  --paper: #f7f0e3;
  --paper-2: #efe4d0;
  --paper-ink: #2a0710;
  --paper-mute: #6b4a4f;
  --err: #ff9aa8;
  --line: rgba(212, 169, 79, .32);
  --line-soft: rgba(244, 236, 224, .12);

  --ff-head: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ff-body: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --ff-num: "Bodoni Moda", "Shippori Mincho B1", serif;

  --r-photo: 2px;
  --r-part: 10px;
  --r-sheet: 22px;
  --sh-deep: 0 18px 40px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.22, .9, .24, 1);
  --t-push: 360ms;
  --tab-h: 62px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--soot); }
body {
  background-color: var(--soot);
  background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .0) 0 26px, rgba(0, 0, 0, .28) 26px 34px, rgba(255, 255, 255, .02) 34px 52px);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.7;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
[hidden] { display: none !important; }
p, h1, h2, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
.num { font-family: var(--ff-num); font-variant-numeric: lining-nums tabular-nums; }
.nw { white-space: nowrap; }
.kw { word-break: keep-all; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; }

/* ---------- 端末の列 ---------- */
.app {
  position: relative;
  height: 100vh;
  height: 100dvh;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--velvet);
  isolation: isolate;
}
@media (min-width: 600px) {
  .app { box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, .6); }
}
.stage { position: absolute; inset: 0; overflow: hidden; }
.boot-fallback { padding: 40% 28px 0; text-align: center; color: var(--ink); }
.boot-fallback__t { font-family: var(--ff-head); font-size: 28px; color: var(--gold-ink); }

.scr {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: var(--velvet);
  overflow: hidden;
}
.body {
  flex: 1; min-height: 0;
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 28px;
}
.scr--tab .body { padding-bottom: calc(var(--tab-h) + var(--safe-b) + 28px); }

/* 遷移：プッシュは右から。戻るは右へ抜ける */
.in-push { animation: inR var(--t-push) var(--ease) both; z-index: 2; }
.out-push { animation: outL var(--t-push) var(--ease) both; z-index: 1; }
.in-pop { animation: inL var(--t-push) var(--ease) both; z-index: 1; }
.out-pop { animation: outR var(--t-push) var(--ease) both; z-index: 2; }
@keyframes inR { from { transform: translateX(100%); } to { transform: none; } }
@keyframes outL { to { transform: translateX(-28%); filter: brightness(.55); } }
@keyframes inL { from { transform: translateX(-28%); filter: brightness(.55); } to { transform: none; filter: none; } }
@keyframes outR { to { transform: translateX(100%); } }
.in-push, .out-pop { box-shadow: -18px 0 40px rgba(0, 0, 0, .5); }

/* ---------- 見出しバー ---------- */
.mast {
  flex: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: calc(14px + var(--safe-t)) 20px 12px;
  background-color: var(--soot);
  background-image: repeating-linear-gradient(90deg, rgba(142, 22, 48, .0) 0 18px, rgba(142, 22, 48, .22) 18px 26px, rgba(0, 0, 0, 0) 26px 40px);
  border-bottom: 1px solid var(--line);
}
.mast__logo {
  font-family: var(--ff-head); font-weight: 800; font-size: 30px; line-height: 1.1;
  letter-spacing: .14em; color: var(--gold-ink);
  font-feature-settings: "palt";
  text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
}
.mast__tag { font-size: 13px; color: var(--mute); padding-bottom: 4px; }
.mast--sm { padding-bottom: 14px; }
.mast__h { font-family: var(--ff-head); font-weight: 800; font-size: 26px; line-height: 1.2; letter-spacing: .02em; font-feature-settings: "palt"; color: var(--ink); }

.bar {
  flex: none; position: relative; z-index: 5;
  display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
  min-height: calc(56px + var(--safe-t));
  padding: var(--safe-t) 4px 0;
  background: var(--soot);
  border-bottom: 1px solid var(--line);
}
.bar__back {
  width: 44px; height: 44px; margin-left: 2px;
  display: grid; place-items: center; border-radius: 50%;
  transition: transform .12s, background-color .12s;
}
.bar__back:active { transform: scale(.88); background: var(--velvet-3); }
.bar__back svg, .bar__sp + * svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bar__mid { min-width: 0; text-align: center; }
.bar__title { font-family: var(--ff-head); font-weight: 700; font-size: 17px; line-height: 1.3; font-feature-settings: "palt"; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar__sub { font-size: 12px; color: var(--mute); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar--float { position: absolute; left: 0; right: 0; top: 0; background: transparent; border-color: transparent; transition: background-color .25s, border-color .25s; }
.bar--float .bar__back { background: var(--soot); box-shadow: 0 0 0 1px var(--line); }
.bar--float .bar__title { opacity: 0; transition: opacity .2s; }
.bar--float.is-solid { background: var(--soot); border-color: var(--line); }
.bar--float.is-solid .bar__title { opacity: 1; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em;
  word-break: keep-all; text-align: center;
  transition: transform .12s var(--ease), filter .12s;
  user-select: none;
}
.btn:active { transform: scale(.96); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn--gold { background: var(--gold); color: #1b0509; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 18px rgba(212, 169, 79, .22); }
.btn--crim { background: var(--crim-hi); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 6px 18px rgba(184, 34, 63, .35); }
.btn--line { background: var(--soot); color: var(--gold-ink); box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn--ghost { background: var(--velvet-3); color: var(--ink); }
.btn--wide { display: flex; width: calc(100% - 40px); margin: 18px 20px 0; }
.btn:disabled, .btn.is-dis { background: #3d2a2f; color: #c7b4b8; box-shadow: none; cursor: default; }
.btn:disabled:active { transform: none; }
.btn.is-busy { background: var(--crim); color: #fff; }
.link { min-height: 44px; padding: 0 6px; color: var(--gold-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 公演一覧 ---------- */
.ptr { height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--mute); font-size: 13px; transition: height .2s; background: var(--velvet); }
.ptr__ring { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold); }
.ptr.is-armed .ptr__ring { border-color: var(--gold); }
.ptr.is-busy .ptr__ring { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.feat { display: block; position: relative; margin: 16px 16px 0; transition: transform .15s var(--ease); }
.feat:active { transform: scale(.985); }
.feat__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--sh-deep); }
.feat__plate {
  position: relative; margin: -46px 12px 0; padding: 16px 18px 14px;
  background: var(--soot);
  border: 1px solid var(--line);
  box-shadow: var(--sh-deep);
}
.feat__plate::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(212, 169, 79, .16); pointer-events: none; }
.feat__kick { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold-ink); }
.feat__genre { padding: 1px 8px; border: 1px solid var(--gold); letter-spacing: .06em; font-weight: 500; }
.feat__title { margin-top: 6px; font-family: var(--ff-head); font-weight: 800; font-size: 28px; line-height: 1.25; letter-spacing: .04em; font-feature-settings: "palt"; }
.feat__lead { margin-top: 6px; font-size: 14px; color: var(--mute); line-height: 1.65; }
.feat__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 8px; }
.feat__meta { display: flex; flex-direction: column; gap: 0; font-size: 13px; line-height: 1.5; color: var(--ink); }
.feat__meta .num { font-size: 14px; color: var(--gold-ink); }
.feat__cta { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding-left: 12px; gap: 2px; font-weight: 700; font-size: 14px; color: var(--gold-ink); }
.feat__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }

.sect { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 28px 20px 6px; }
.sect__h { font-family: var(--ff-head); font-weight: 800; font-size: 20px; letter-spacing: .06em; font-feature-settings: "palt"; }
.sect__stamp { font-size: 12px; color: var(--mute); white-space: nowrap; }

.chips { display: flex; gap: 8px; padding: 8px 16px 14px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 44px; padding: 0 16px;
  border-radius: 999px;
  background: var(--velvet-2); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background-color .15s, color .15s, transform .12s;
}
.chip:active { transform: scale(.94); }
.chip.is-on { background: var(--gold); color: #1b0509; font-weight: 700; box-shadow: none; }

.posters { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 4px 16px 0; }
.poster { display: flex; flex-direction: column; transition: transform .15s var(--ease); }
.poster:active { transform: scale(.97); }
.poster__frame { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-photo); background: var(--soot); box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.poster__frame img { width: 100%; height: 100%; object-fit: cover; }
.poster__frame::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(233, 199, 121, .55); pointer-events: none; }
.poster__plate { display: flex; flex-direction: column; gap: 2px; padding: 10px 2px 0; background: var(--velvet); }
.poster__genre { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--gold-ink); }
.poster__title { font-family: var(--ff-head); font-weight: 700; font-size: 17px; line-height: 1.35; font-feature-settings: "palt"; }
.poster__date { font-size: 16px; color: var(--ink); letter-spacing: .02em; }
.poster__date i { font-style: normal; margin: 0 4px; color: var(--gold); }
.poster__venue { font-size: 12px; color: var(--mute); }
.poster__meter { display: block; height: 4px; margin: 8px 0 6px; background: #4a2a31; border-radius: 2px; overflow: hidden; }
.poster__meter i { display: block; height: 100%; background: var(--gold); border-radius: 2px; }
.poster__meter.is-few i { background: var(--crim-hi); }
.poster__foot { display: flex; align-items: baseline; gap: 2px; font-size: 14px; }
.poster__foot .num { font-size: 16px; color: var(--gold-ink); }
.poster__left { margin-right: auto; font-size: 12px; color: var(--mute); }
.poster__from { font-size: 12px; color: var(--mute); }
.foot-note { margin: 26px 20px 0; font-size: 12px; color: var(--mute); text-align: center; }

/* ---------- 公演詳細 ---------- */
.kv { margin: 0; position: relative; }
.kv img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.kv::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, var(--velvet)); pointer-events: none; }
.show-head { position: relative; padding: 0 20px 6px; margin-top: -26px; }
.show-head__kick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--mute); }
.tag { display: inline-block; padding: 2px 9px; background: var(--soot); border: 1px solid var(--gold); color: var(--gold-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.show-head__title { margin-top: 8px; font-family: var(--ff-head); font-weight: 800; font-size: 30px; line-height: 1.25; letter-spacing: .03em; font-feature-settings: "palt"; }
.show-head__lead { margin-top: 8px; font-size: 15px; color: var(--mute); }
.facts { margin: 14px 20px 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.facts dt { font-size: 13px; color: var(--gold-ink); font-weight: 700; padding-top: 1px; }
.facts dd { font-size: 15px; }
.facts dd small { display: block; font-size: 13px; color: var(--mute); }
.h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 26px 20px 10px; font-family: var(--ff-head); font-weight: 800; font-size: 19px; letter-spacing: .05em; font-feature-settings: "palt"; }
.h2 small { font-family: var(--ff-body); font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--mute); }
.perfs { display: flex; gap: 10px; padding: 2px 20px 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 20px; scrollbar-width: none; }
.perfs::-webkit-scrollbar { display: none; }
.perf {
  flex: none; width: 92px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 6px 10px;
  background: var(--velvet-2); border: 1px solid var(--line-soft); border-radius: var(--r-part);
  transition: transform .12s var(--ease), background-color .15s, border-color .15s;
}
.perf:active { transform: scale(.95); }
.perf.is-on { background: var(--soot); border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 8px 18px rgba(0, 0, 0, .4); }
.perf__m { font-size: 13px; color: var(--mute); line-height: 1.2; }
.perf__d { font-size: 36px; font-weight: 700; line-height: 1; color: var(--ink); }
.perf__w { font-size: 12px; color: var(--mute); }
.perf__t { margin-top: 4px; font-size: 17px; color: var(--gold-ink); }
.perf__s { margin-top: 6px; display: flex; flex-direction: column; align-items: center; font-size: 11px; line-height: 1.3; color: var(--ink); white-space: nowrap; }
.perf__s b { font-size: 15px; font-weight: 400; color: var(--gold-ink); }
.perf.is-few .perf__s b { color: var(--err); }
.perf.is-out { background: #24070e; }
.perf.is-out .perf__d { text-decoration: line-through; text-decoration-color: var(--crim-hi); text-decoration-thickness: 2px; }
.prices { margin: 0 20px; border-top: 1px solid var(--line); }
.prices li { display: grid; grid-template-columns: 14px 1fr auto 72px; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--line-soft); }
.sw { display: inline-block; width: 14px; height: 12px; border-radius: 3px 3px 5px 5px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25); flex: none; }
.prices__n { font-weight: 500; }
.prices .num { font-size: 19px; }
.prices__l { text-align: right; font-size: 13px; color: var(--mute); }
.prices__l.is-zero { color: var(--err); }
.note { margin: 10px 20px 0; font-size: 13px; line-height: 1.7; color: var(--mute); }
.prose { margin: 0 20px; font-size: 15px; line-height: 1.95; }
.mini-map { margin: 0 20px; padding: 10px; background: var(--soot); border: 1px solid var(--line-soft); border-radius: var(--r-part); }
.mini-map .map-svg { width: 100%; height: auto; }
.dock {
  flex: none; position: relative; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + var(--safe-b));
  background: var(--soot);
  border-top: 1px solid var(--line);
}
.dock__info { flex: 1; min-width: 0; }
.dock__when { font-size: 14px; font-weight: 700; }
.dock__left { font-size: 13px; color: var(--mute); }
.dock .btn { flex: none; min-width: 148px; }
.dock__total .num { font-size: 24px; color: var(--gold-ink); }

/* ---------- 座席表 ---------- */
.legend { flex: none; display: flex; gap: 6px; padding: 8px 10px; overflow-x: auto; scrollbar-width: none; background: var(--soot); border-bottom: 1px solid var(--line-soft); }
.legend::-webkit-scrollbar { display: none; }
.leg {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 10px 0 9px;
  border-radius: 10px; background: var(--velvet-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  font-size: 13px; white-space: nowrap;
  transition: box-shadow .15s, background-color .15s, transform .12s;
}
.leg:active { transform: scale(.95); }
.leg i { width: 13px; height: 12px; border-radius: 3px 3px 5px 5px; flex: none; }
.leg__t { display: flex; flex-direction: column; line-height: 1.2; }
.leg__n { font-weight: 700; font-size: 12px; }
.leg__p { font-size: 13px; color: var(--gold-ink); }
.leg__l { min-width: 26px; padding: 1px 5px; border-radius: 6px; background: var(--soot); color: var(--ink); font-size: 13px; text-align: center; }
.leg.is-on { background: var(--velvet-3); box-shadow: inset 0 0 0 1.5px var(--gold); }

.map { position: relative; flex: 1; min-height: 200px; background: #1a0509; touch-action: none; overflow: hidden; cursor: grab; }
.map:active { cursor: grabbing; }
.map > .map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-svg { overflow: visible; user-select: none; -webkit-user-select: none; }
.map-svg .glow { fill: url(#zsGlow); pointer-events: none; }
.map-svg .stage { fill: #3d0c19; stroke: rgba(212, 169, 79, .5); stroke-width: 2; }
.map-svg .stage-edge { fill: none; stroke: var(--gold); stroke-width: 4; }
.map-svg .stage-label { fill: var(--gold-ink); font-family: var(--ff-head); font-weight: 800; font-size: 34px; letter-spacing: .6em; }
.map-svg .rail { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.map-svg .pillar { fill: #5b464b; stroke: #806669; stroke-width: 2; }
.map-svg .seat { stroke: rgba(0, 0, 0, .45); stroke-width: 1.2; transition: fill .18s, opacity .18s, stroke .18s, stroke-width .18s; }
.map-svg .c-S { fill: #d9ad52; }
.map-svg .c-A { fill: #cf4a66; }
.map-svg .c-B { fill: #6f93c4; }
.map-svg .c-M { fill: #8fa173; }
.map-svg .seat.is-sold { fill: #3b2a2e; stroke: #24161a; }
.map-svg .seat.is-dim { opacity: .2; }
.map-svg .seat.is-sold.is-dim { opacity: .5; }
.map-svg .seat.is-sel { fill: #fff6d8; stroke: var(--gold); stroke-width: 4; opacity: 1; }
.map-svg .seat.is-sug { fill: #fffbe9; stroke: #ffd36b; stroke-width: 4; opacity: 1; animation: sug 1.1s ease-in-out infinite; }
.map-svg .seat.is-mine { fill: #fff3c4; stroke: #ffd36b; stroke-width: 7; }
.map-svg .seat.is-shake { animation: nope .5s ease-out; }
@keyframes sug { 50% { stroke: #fff; stroke-width: 7; } }
@keyframes nope { 0%, 60% { stroke: #ff4d6a; stroke-width: 6; } 100% { stroke-width: 1.2; } }
.map-svg .nums { visibility: hidden; pointer-events: none; }
.map-svg.show-nums .nums { visibility: visible; }
.map-svg .nums text { fill: rgba(27, 5, 9, .82); font-family: var(--ff-num); font-weight: 700; font-size: 11px; }
.map-svg .rowlabels text { fill: var(--gold-ink); font-family: var(--ff-num); font-weight: 700; font-size: 17px; pointer-events: none; }
.map-svg .floor-label { fill: var(--mute); font-size: 20px; letter-spacing: .3em; pointer-events: none; }
.map-svg.is-mini .stage-edge { stroke-width: 6; }
.map-svg.is-mini .seat { stroke-width: 0; }

.map__zoom { position: absolute; right: 10px; top: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.map__zoom button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--soot); box-shadow: inset 0 0 0 1px var(--line), 0 4px 12px rgba(0, 0, 0, .5); transition: transform .12s; }
.map__zoom button:active { transform: scale(.9); }
.map__zoom svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.map__mini { position: absolute; left: 10px; top: 10px; z-index: 2; width: 92px; height: auto; padding: 4px; background: var(--soot); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transition: opacity .2s; pointer-events: none; }
.map__mini.is-on { opacity: 1; }
.map__mini .mm-s { fill: #7a5a40; }
.map__mini .mm-s.is-sold { fill: #3b2a2e; }
.map__mini .mm-v { fill: rgba(233, 199, 121, .14); stroke: var(--gold-ink); stroke-width: 14; }
.map__hint { position: absolute; left: 50%; bottom: 12px; z-index: 2; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: var(--soot); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; white-space: nowrap; color: var(--ink); transition: opacity .3s; pointer-events: none; }
.map__hint.is-gone { opacity: 0; }
.map__out { position: absolute; left: 24px; right: 24px; top: 50%; z-index: 3; transform: translateY(-50%); padding: 22px 18px; text-align: center; background: var(--soot); border: 1px solid var(--line); box-shadow: var(--sh-deep); }
.map__out-t { font-family: var(--ff-head); font-weight: 800; font-size: 20px; margin-bottom: 14px; }

.drawer {
  flex: none; position: relative; z-index: 3;
  padding: 10px 14px calc(12px + var(--safe-b));
  background: var(--soot);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .45);
}
.ctl { display: flex; gap: 10px; align-items: center; }
.step { display: flex; align-items: center; background: var(--velvet-2); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.step button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: transform .12s; }
.step button:active { transform: scale(.86); }
.step button:disabled { opacity: .35; }
.step svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-ink); stroke-width: 2.4; stroke-linecap: round; }
.step__v { min-width: 44px; text-align: center; line-height: 1; }
.step__v .num { font-size: 24px; font-weight: 700; }
.step__v small { font-size: 12px; margin-left: 2px; color: var(--mute); }
.btn--auto { flex: 1; min-height: 46px; padding: 0 14px; }
.sug { margin-bottom: 10px; padding: 8px 12px 12px; background: var(--velvet-2); border: 1px solid var(--gold); border-radius: 14px; animation: rise .28s var(--ease); }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
.sug__nav { display: flex; align-items: center; justify-content: space-between; }
.sug__arr { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.sug__arr:active { background: var(--velvet-3); }
.sug__arr:disabled { opacity: .3; }
.sug__arr svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sug__count { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gold-ink); }
.sug__t { font-family: var(--ff-head); font-weight: 800; font-size: 21px; line-height: 1.3; text-align: center; font-feature-settings: "palt"; }
.sug__t .num { font-size: 22px; }
.sug__d { margin-top: 2px; font-size: 13px; color: var(--mute); text-align: center; }
.sug__d .num { color: var(--gold-ink); font-size: 15px; }
.sug__btns { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; margin-top: 10px; }
.sug__btns .btn { min-height: 46px; padding: 0 10px; }
.sug.is-none { text-align: center; }
.sug.is-none .sug__t { font-size: 17px; padding-top: 6px; }
.pov { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 8px; background: var(--velvet-2); border-radius: 12px; animation: rise .28s var(--ease); }
.pov img { width: 104px; height: 64px; object-fit: cover; border-radius: 6px; flex: none; }
.pov__k { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--gold-ink); }
.pov__s { font-weight: 700; font-size: 15px; }
.pov__c { font-size: 12px; color: var(--mute); }
.picked { margin-top: 10px; min-height: 44px; display: flex; align-items: center; }
.picked__list { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.picked__list::-webkit-scrollbar { display: none; }
.picked__list li { flex: none; }
.pk { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 8px 0 10px; border-radius: 10px; background: var(--paper); color: var(--paper-ink); font-weight: 700; transition: transform .12s; animation: pop .25s var(--ease); }
.pk:active { transform: scale(.92); }
.pk i { width: 11px; height: 10px; border-radius: 2px 2px 4px 4px; }
.pk .num { font-size: 16px; }
.pk svg { width: 16px; height: 16px; fill: none; stroke: var(--paper-mute); stroke-width: 2.4; stroke-linecap: round; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.picked__empty { font-size: 14px; color: var(--mute); }
.go { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.go__sum { flex: 1; display: flex; align-items: baseline; gap: 8px; }
.go__sum small { font-size: 13px; color: var(--mute); }
.go__sum .num { font-size: 26px; font-weight: 700; color: var(--gold-ink); }
.go .btn { min-width: 156px; }

/* ---------- 購入 ---------- */
.hold { flex: none; position: relative; display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 10px; background: #220610; border-bottom: 1px solid var(--line-soft); }
.hold__t { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.hold__t svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-ink); stroke-width: 2; stroke-linecap: round; }
.hold__n { font-size: 22px; font-weight: 700; color: var(--gold-ink); letter-spacing: .04em; }
.hold__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform-origin: left; transition: transform 1s linear; }
.is-late .hold__n { color: var(--err); animation: blink 1s steps(2) infinite; }
.is-late .hold__bar { background: var(--crim-hi); }
@keyframes blink { 50% { opacity: .55; } }
.co-show { display: flex; gap: 14px; align-items: center; margin: 16px 16px 0; padding: 10px; background: var(--velvet-2); border-radius: 12px; }
.co-show img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex: none; }
.co-show__t { font-family: var(--ff-head); font-weight: 800; font-size: 18px; line-height: 1.35; }
.co-show__m { font-size: 13px; color: var(--mute); }
.lines { margin: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.line { padding: 12px; background: var(--velvet-2); border-radius: 12px; }
.line__top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.line__seat { font-weight: 700; font-size: 16px; }
.line__cat { margin-left: auto; font-size: 13px; color: var(--mute); white-space: nowrap; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg__b { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.25; border-radius: 10px; background: var(--soot); box-shadow: inset 0 0 0 1px var(--line-soft); transition: background-color .15s, transform .12s; }
.seg__b:active { transform: scale(.95); }
.seg__n { font-size: 13px; font-weight: 700; }
.seg__p { font-size: 15px; color: var(--gold-ink); }
.seg__b.is-on { background: var(--gold); color: #1b0509; box-shadow: none; }
.seg__b.is-on .seg__p { color: #1b0509; }
.recv { display: flex; gap: 14px; align-items: flex-start; margin: 0 16px; padding: 14px; background: var(--velvet-2); border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--gold); }
.recv__ic { flex: none; width: 30px; height: 22px; margin-top: 3px; border-radius: 4px; background: radial-gradient(circle at 0 50%, var(--velvet-2) 4px, transparent 4.5px), radial-gradient(circle at 100% 50%, var(--velvet-2) 4px, transparent 4.5px), var(--gold); }
.recv__t { font-weight: 700; }
.recv__d { font-size: 13px; color: var(--mute); }
.pays { margin: 0 16px; display: flex; flex-direction: column; gap: 8px; }
.pay { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; text-align: left; background: var(--velvet-2); border-radius: 12px; transition: box-shadow .15s, transform .12s; }
.pay:active { transform: scale(.98); }
.pay__dot { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--mute); }
.pay.is-on { box-shadow: inset 0 0 0 1.5px var(--gold); }
.pay.is-on .pay__dot { box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 6px var(--velvet-2); background: var(--gold); }
.pay__tx { display: flex; flex-direction: column; line-height: 1.4; }
.pay__t { font-weight: 700; }
.pay__d { font-size: 13px; color: var(--mute); }
.fields { margin: 0 16px; display: flex; flex-direction: column; gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld__l { font-size: 13px; font-weight: 700; color: var(--mute); }
.fld input { height: 50px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--soot); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; color: var(--ink); }
.fld input::placeholder { color: #a08c86; }
.fld input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.fld input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err); }
.fld__e { display: block; min-height: 0; font-size: 13px; color: var(--err); margin: 0 16px; }
.fld .fld__e { margin: 0; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin: 16px 16px 4px; cursor: pointer; }
.agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agree__box { flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--mute); position: relative; }
.agree input:checked + .agree__box { background: var(--gold); box-shadow: none; }
.agree input:checked + .agree__box::after { content: ""; position: absolute; left: 8px; top: 3px; width: 6px; height: 12px; border: solid #1b0509; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.agree input:focus-visible + .agree__box { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.agree__t { font-size: 14px; line-height: 1.7; }
.bill { margin: 18px 16px 0; padding: 14px 16px; background: var(--paper); color: var(--paper-ink); border-radius: 4px; }
.bill dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 4px 0; font-size: 14px; }
.bill dt span { margin-left: 6px; color: var(--paper-mute); }
.bill .num { font-size: 17px; }
.bill .bill__t { margin-top: 6px; padding-top: 10px; border-top: 1px dashed rgba(42, 7, 16, .35); font-weight: 700; }
.bill .bill__t .num { font-size: 24px; color: var(--crim); }
.demo-note { margin: 12px 16px 0; font-size: 13px; color: var(--mute); text-align: center; }

/* ---------- 購入完了 ---------- */
.scr--done { background-color: var(--soot); }
.done__bg { position: absolute; inset: 0; background: url(/app-development/apps/a084/img/curtain.webp) center top / cover no-repeat; animation: dim 1.2s ease both; }
@keyframes dim { from { filter: brightness(1.3); } to { filter: brightness(.8); } }
.done__body { position: relative; padding: calc(40px + var(--safe-t)) 20px 40px; display: flex; flex-direction: column; align-items: stretch; }
.done__plate { padding: 22px 18px; text-align: center; background: var(--soot); border: 1px solid var(--line); box-shadow: var(--sh-deep); }
.done__k { font-size: 13px; letter-spacing: .14em; color: var(--gold-ink); font-weight: 700; }
.done__h { margin-top: 6px; font-family: var(--ff-head); font-weight: 800; font-size: 26px; line-height: 1.35; font-feature-settings: "palt"; }
.done__no { margin-top: 8px; font-size: 13px; color: var(--mute); }
.done__no .num { font-size: 16px; color: var(--ink); }
.stub--done { margin-top: 22px; animation: slideUp .7s .25s var(--ease) both; }
@keyframes slideUp { from { transform: translateY(60px) rotate(-2deg); opacity: 0; } }
.done__btns { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.done__note { margin-top: 16px; padding: 10px 12px; font-size: 13px; text-align: center; background: var(--soot); color: var(--mute); }

/* ---------- マイチケット（半券） ---------- */
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 16px 16px 4px; padding: 4px; border-radius: 14px; background: var(--soot); box-shadow: inset 0 0 0 1px var(--line-soft); }
.seg2__b { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--ink); transition: background-color .15s; }
.seg2__b b { min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--velvet-3); font-size: 13px; font-weight: 700; }
.seg2__b.is-on { background: var(--velvet-3); box-shadow: inset 0 0 0 1px var(--gold); }
.seg2__b.is-on b { background: var(--gold); color: #1b0509; }
.stubs { display: flex; flex-direction: column; gap: 14px; padding: 12px 16px 0; }
.stub {
  position: relative; display: grid; grid-template-columns: 84px 1fr 46px; min-height: 132px;
  background: var(--paper); color: var(--paper-ink);
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
  transition: transform .15s var(--ease);
}
a.stub:active { transform: scale(.98) rotate(-.4deg); }
.stub__l { position: relative; display: block; }
.stub__l img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stub__r { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; min-width: 0; }
.stub__top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.stub__d { font-size: 26px; font-weight: 700; line-height: 1.05; color: var(--crim); }
.stub__d small { margin-left: 4px; font-family: var(--ff-body); font-size: 13px; color: var(--paper-mute); }
.stub__badge { padding: 2px 8px; border-radius: 999px; background: var(--crim); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.stub__badge.is-used { background: #5d4a4e; }
.stub__t { font-family: var(--ff-head); font-weight: 800; font-size: 17px; line-height: 1.35; }
.stub__m { font-size: 13px; color: var(--paper-mute); }
.stub__s { font-size: 13px; font-weight: 700; color: var(--paper-ink); }
.stub__n { display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 2px dashed rgba(42, 7, 16, .3); background: var(--paper-2); font-size: 12px; color: var(--paper-mute); }
.stub__n .num { font-size: 24px; color: var(--paper-ink); line-height: 1; }
.stub__n::before, .stub__n::after { content: ""; position: absolute; right: 37px; width: 16px; height: 16px; border-radius: 50%; background: var(--velvet); }
.stub__n::before { top: -8px; }
.stub__n::after { bottom: -8px; }
.stub.is-used .stub__l img { filter: grayscale(1) contrast(.9); }
.stub--done .stub__r { padding: 12px 14px; }
.stub--done { grid-template-columns: 96px 1fr; }
.scr--done .stub__n::before, .scr--done .stub__n::after { display: none; }
.empty { position: relative; margin: 16px; border-radius: 8px; overflow: hidden; }
.empty img { width: 100%; height: 360px; object-fit: cover; }
.empty__plate { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 18px 16px; text-align: center; background: var(--soot); border: 1px solid var(--line); }
.empty__t { font-family: var(--ff-head); font-weight: 800; font-size: 19px; }
.empty__d { margin: 6px 0 14px; font-size: 14px; color: var(--mute); }

/* ---------- 電子チケット ---------- */
.scr--ticket { background: var(--soot); }
.scr--ticket .body { background: var(--soot); }
.tk-pager { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 16px 0 4px; }
.tk-pager::-webkit-scrollbar { display: none; }
.tk {
  position: relative; flex: none; width: calc(100% - 32px); margin: 0 16px; scroll-snap-align: center;
  background: var(--paper); color: var(--paper-ink);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .6);
}
.tk__band { position: relative; height: 112px; }
.tk__band img { width: 100%; height: 100%; object-fit: cover; }
.tk__band::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -4px 0 var(--gold); pointer-events: none; }
.tk__no { position: absolute; right: 10px; top: 10px; padding: 2px 10px; border-radius: 999px; background: var(--soot); color: var(--gold-ink); font-size: 16px; }
.tk__no small { font-size: 12px; color: var(--mute); }
.tk__main { padding: 14px 18px 12px; }
.tk__venue { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--crim); }
.tk__title { margin-top: 2px; font-family: var(--ff-head); font-weight: 800; font-size: 24px; line-height: 1.3; font-feature-settings: "palt"; }
.tk__date { margin-top: 4px; font-weight: 700; font-size: 15px; }
.tk__times { display: flex; gap: 22px; margin-top: 6px; }
.tk__times p { display: flex; align-items: baseline; gap: 6px; }
.tk__times small { font-size: 12px; color: var(--paper-mute); }
.tk__times .num { font-size: 22px; font-weight: 700; }
.tk__seat { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; border-top: 1px solid rgba(42, 7, 16, .18); border-bottom: 1px solid rgba(42, 7, 16, .18); }
.tk__seat p { display: flex; align-items: baseline; justify-content: center; gap: 2px; padding: 6px 0 4px; font-size: 14px; font-weight: 700; color: var(--paper-mute); }
.tk__seat p + p { border-left: 1px solid rgba(42, 7, 16, .18); }
.tk__seat .num { font-size: 44px; line-height: 1.05; color: var(--crim); }
.tk__cat { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 700; }
.tk__price { margin-left: auto; }
.tk__price .num { font-size: 18px; }
.tk__perf { position: relative; height: 0; margin: 4px 18px; border-top: 2px dashed rgba(42, 7, 16, .28); }
.tk__perf::before, .tk__perf::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--soot); }
.tk__perf::before { left: -30px; }
.tk__perf::after { right: -30px; }
.tk__qr { position: relative; display: flex; flex-direction: column; align-items: center; padding: 16px 18px 18px; }
.qr { width: 196px; height: 196px; display: grid; place-items: center; }
.qr__svg { width: 100%; height: 100%; border-radius: 6px; box-shadow: 0 0 0 1px rgba(42, 7, 16, .12); }
.qr__fb { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 26px; letter-spacing: .08em; }
.qr__fb small { font-family: var(--ff-body); font-size: 13px; letter-spacing: 0; color: var(--paper-mute); }
.qr__meta { display: flex; align-items: center; gap: 10px; margin-top: 12px; max-width: 260px; }
.ring { flex: none; width: 26px; height: 26px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(42, 7, 16, .15); stroke-width: 4; }
.ring .ring__v { stroke: var(--crim); stroke-dasharray: 94.25; stroke-linecap: round; }
.qr__t { font-size: 13px; color: var(--paper-mute); line-height: 1.5; }
.tk__gate { margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: var(--paper-2); font-size: 13px; font-weight: 700; }
.tk.is-used .qr { filter: grayscale(1) opacity(.35); }
.tk__stamp {
  position: absolute; left: 50%; top: 82px; transform: translate(-50%, -50%) rotate(-12deg);
  padding: 6px 18px; border: 4px double var(--crim); border-radius: 8px;
  background: var(--paper);
  font-family: var(--ff-head); font-weight: 800; font-size: 28px; letter-spacing: .2em; color: var(--crim);
}
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #5d4a4e; transition: width .2s, background-color .2s; }
.dots i.is-on { width: 22px; border-radius: 4px; background: var(--gold); }
.swipe-hint { margin-top: 6px; font-size: 13px; color: var(--mute); text-align: center; }
.bright { display: flex; gap: 10px; align-items: flex-start; margin: 16px 16px 0; padding: 12px 14px; border-radius: 12px; background: #2a1a0c; font-size: 14px; }
.bright svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--gold-ink); stroke-width: 1.8; stroke-linecap: round; }
.mini-map--tk { background: #1a0509; }

/* ---------- 設定・アプリについて ---------- */
.group { margin: 0 16px; border-radius: 14px; overflow: hidden; background: var(--velvet-2); }
.row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 10px 16px; text-align: left; transition: background-color .12s; }
.row + .row { border-top: 1px solid var(--line-soft); }
.row:active { background: var(--velvet-3); }
.row__tx { flex: 1; display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.row__t { font-weight: 700; }
.row__d { font-size: 13px; color: var(--mute); }
.row > svg { width: 20px; height: 20px; fill: none; stroke: var(--mute); stroke-width: 2; flex: none; }
.row--danger .row__t { color: var(--err); }
.tgl { flex: none; position: relative; width: 52px; height: 32px; border-radius: 999px; background: #5d4a4e; transition: background-color .2s; }
.tgl i { position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .25s var(--ease); }
[aria-checked="true"] .tgl { background: var(--gold); }
[aria-checked="true"] .tgl i { transform: translateX(20px); }
.ver { margin-top: 24px; text-align: center; font-size: 13px; color: var(--mute); }
.about-hero { display: flex; flex-direction: column; align-items: center; padding: 28px 20px 8px; text-align: center; }
.about-hero img { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line), var(--sh-deep); }
.about-hero__n { margin-top: 14px; font-family: var(--ff-head); font-weight: 800; font-size: 28px; letter-spacing: .14em; color: var(--gold-ink); }
.about-hero__d { font-size: 14px; color: var(--mute); }
.disclaimer { margin: 18px 20px 0; padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--velvet-2); font-size: 14px; line-height: 1.8; }
.tech { margin: 0 20px; border-top: 1px solid var(--line); }
.tech li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.tech b { color: var(--gold-ink); }
.tech span { font-size: 14px; color: var(--mute); }

/* ---------- タブバー ---------- */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(3, 1fr);
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: var(--soot);
  border-top: 1px solid var(--line);
}
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--mute); transition: color .15s; }
.tab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.tab:active svg { transform: scale(.86); }
.tab.is-on { color: var(--gold-ink); }
.tab.is-on::before { content: ""; position: absolute; top: 0; left: 50%; width: 34px; height: 3px; margin-left: -17px; border-radius: 0 0 3px 3px; background: var(--gold); box-shadow: 0 0 14px 4px rgba(233, 199, 121, .45); }

/* ---------- シート・トースト ---------- */
.sheet { position: absolute; inset: 0; z-index: 40; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(8, 2, 4, .62); opacity: 0; transition: opacity .3s; }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 20px calc(20px + var(--safe-b)); background: var(--soot); border-top: 1px solid var(--gold); border-radius: var(--r-sheet) var(--r-sheet) 0 0; transform: translateY(105%); transition: transform .32s var(--ease); }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grip { width: 40px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: #5d4a4e; }
.sheet__t { font-family: var(--ff-head); font-weight: 800; font-size: 20px; }
.sheet__d { margin-top: 8px; font-size: 14px; color: var(--mute); }
.sheet__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.toast {
  position: absolute; left: 16px; right: 16px; top: calc(12px + var(--safe-t)); z-index: 50;
  display: flex; justify-content: center; pointer-events: none;
  opacity: 0; transform: translateY(-14px); transition: opacity .2s, transform .25s var(--ease);
}
.toast > span { padding: 10px 16px; border-radius: 12px; background: var(--soot); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold), var(--sh-deep); font-size: 14px; font-weight: 700; text-align: center; }
.toast.is-warn > span { background: #5c0d1f; box-shadow: inset 0 0 0 1px #ff6f86, var(--sh-deep); }
.toast.is-on { opacity: 1; transform: none; }

/* ---------- スプラッシュ（幕が開く） ---------- */
.splash { position: absolute; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--soot); transition: opacity .28s; }
.splash__c { position: absolute; top: 0; bottom: 0; width: 51%; background-color: #6d0f22; background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .35) 0 6px, rgba(255, 255, 255, .06) 6px 18px, rgba(0, 0, 0, .25) 18px 30px); transition: transform .6s .25s var(--ease); }
.splash__c--l { left: 0; box-shadow: inset -18px 0 30px rgba(0, 0, 0, .5); }
.splash__c--r { right: 0; box-shadow: inset 18px 0 30px rgba(0, 0, 0, .5); }
.splash__c::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: repeating-linear-gradient(90deg, var(--gold) 0 3px, var(--gold-deep) 3px 6px); }
.splash__mark { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: opacity .25s .25s, transform .4s .2s; }
.splash__mark img { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 0 0 1px var(--gold), 0 16px 36px rgba(0, 0, 0, .6); }
.splash__mark p { padding: 2px 12px; background: var(--soot); font-family: var(--ff-head); font-weight: 800; font-size: 26px; letter-spacing: .2em; color: var(--gold-ink); }
.splash.is-open .splash__c--l { transform: translateX(-100%); }
.splash.is-open .splash__c--r { transform: translateX(100%); }
.splash.is-open .splash__mark { opacity: 0; transform: scale(1.06); }
.splash.is-gone { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
