/* ライブ遠征プランナー
   テーマ：澄んだ青と明るいゴールド。すりガラスのカード。
   グループのページと公演のページは、その坂の色（乃木坂＝紫・櫻坂＝ピンク・日向坂＝水色・青葉坂＝若葉の緑）が差し色になる（body[data-tone]）。
   見出しは極太の明朝（Shippori Mincho B1）、数字は Outfit。公式のロゴ・写真は使わない */
:root {
  --bg: #F3F5FA;
  --paper: rgba(255, 255, 255, .74);
  --paper-solid: #FFFFFF;
  --line: rgba(29, 27, 34, .10);
  --ink: #1D1B22;
  --ink-2: #625E6B;
  --accent: #2D5BD7;
  --accent-soft: rgba(45, 91, 215, .08);
  --gold: #D9A13B;
  --good: #1F7A4C;  --good-soft: rgba(31, 122, 76, .10);
  --warn: #9A6410;  --warn-soft: rgba(176, 120, 30, .12);
  --crit: #B03A42;  --crit-soft: rgba(176, 58, 66, .09);
  /* 坂の色。--g-* は帯や点などの面に、--g-*-ink は文字やボタンに使う（白地・白文字で読める濃さ） */
  --g-nogi: #8B5CC9; --g-sakura: #E0679A; --g-hina: #3AA6E0; --g-aoba: #3FAF6C;
  --g-nogi-ink: #7444B8; --g-sakura-ink: #C2457C; --g-hina-ink: #1777B4; --g-aoba-ink: #237F4A;
  --brand: linear-gradient(100deg, #2D5BD7 0%, #5B8DEF 50%, #E2A93B 100%);
  --brand-btn: linear-gradient(180deg, #3B6BE6 0%, #244CC0 100%);
  --btn-ink: #FFFFFF;
  --btn-shadow: 0 10px 22px -12px rgba(45, 91, 215, .7);
  --aurora-1: rgba(45, 91, 215, .18); --aurora-2: rgba(226, 169, 59, .14); --aurora-3: rgba(91, 141, 239, .16);
  --shadow: 0 1px 2px rgba(29, 27, 34, .05), 0 10px 28px -14px rgba(30, 30, 50, .22);
  --glass-border: rgba(255, 255, 255, .7);
  --f-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --f-data: "Outfit", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --r: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1016;
    --paper: rgba(28, 30, 40, .64); --paper-solid: #191B24;
    --line: rgba(255, 255, 255, .09);
    --ink: #EEEAE2; --ink-2: #A8A39A;
    --accent: #8FB0FF; --accent-soft: rgba(143, 176, 255, .13); --gold: #E6B85C;
    --good: #5CC98E; --good-soft: rgba(92, 201, 142, .12);
    --warn: #E5B25A; --warn-soft: rgba(229, 178, 90, .12);
    --crit: #F07C80; --crit-soft: rgba(240, 124, 128, .12);
    --g-nogi: #B58DEB; --g-sakura: #F28DB7; --g-hina: #6CC6F2; --g-aoba: #6FD39A;
    --g-nogi-ink: #B58DEB; --g-sakura-ink: #F28DB7; --g-hina-ink: #6CC6F2; --g-aoba-ink: #6FD39A;
    --brand: linear-gradient(100deg, #8FB0FF 0%, #A9C3FF 50%, #E6B85C 100%);
    --brand-btn: linear-gradient(180deg, #A3BEFF 0%, #7E9FF2 100%);
    --btn-ink: #1A1712;
    --btn-shadow: 0 10px 24px -12px rgba(0, 0, 0, .8);
    --aurora-1: rgba(70, 110, 220, .26); --aurora-2: rgba(230, 184, 92, .10); --aurora-3: rgba(91, 141, 239, .16);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .75);
    --glass-border: rgba(255, 255, 255, .08);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #0E1016;
    --paper: rgba(28, 30, 40, .64); --paper-solid: #191B24;
    --line: rgba(255, 255, 255, .09);
    --ink: #EEEAE2; --ink-2: #A8A39A;
    --accent: #8FB0FF; --accent-soft: rgba(143, 176, 255, .13); --gold: #E6B85C;
    --good: #5CC98E; --good-soft: rgba(92, 201, 142, .12);
    --warn: #E5B25A; --warn-soft: rgba(229, 178, 90, .12);
    --crit: #F07C80; --crit-soft: rgba(240, 124, 128, .12);
    --g-nogi: #B58DEB; --g-sakura: #F28DB7; --g-hina: #6CC6F2; --g-aoba: #6FD39A;
    --g-nogi-ink: #B58DEB; --g-sakura-ink: #F28DB7; --g-hina-ink: #6CC6F2; --g-aoba-ink: #6FD39A;
    --brand: linear-gradient(100deg, #8FB0FF 0%, #A9C3FF 50%, #E6B85C 100%);
    --brand-btn: linear-gradient(180deg, #A3BEFF 0%, #7E9FF2 100%);
    --btn-ink: #1A1712;
    --btn-shadow: 0 10px 24px -12px rgba(0, 0, 0, .8);
    --aurora-1: rgba(70, 110, 220, .26); --aurora-2: rgba(230, 184, 92, .10); --aurora-3: rgba(91, 141, 239, .16);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .75);
    --glass-border: rgba(255, 255, 255, .08);
    color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; } /* .btn などの display より優先して隠す */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh;
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 15px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
/* オーロラの背景（ゆっくり動く） */
.aurora { position: fixed; inset: -20vmax; z-index: -1; pointer-events: none; filter: blur(60px); }
.aurora span { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; }
.aurora span:nth-child(1) { background: radial-gradient(circle, var(--aurora-1), transparent 62%); top: 0; left: 0; }
.aurora span:nth-child(2) { background: radial-gradient(circle, var(--aurora-2), transparent 62%); top: 10vmax; right: 0; }
.aurora span:nth-child(3) { background: radial-gradient(circle, var(--aurora-3), transparent 62%); bottom: 0; left: 20vmax; }

.wrap { max-width: 560px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
@media (min-width: 760px) { .wrap { max-width: 920px; } }

/* ---- 上部のバー ---- */
.topbar { position: sticky; top: 0; z-index: 20; margin: 0 -16px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line); }
a.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 16px; letter-spacing: .02em; white-space: nowrap; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; color: var(--btn-ink); background: var(--brand-btn); display: grid; place-items: center; box-shadow: var(--btn-shadow); }
.logo-mark svg { width: 15px; height: 15px; }
.pill { font-size: 11px; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; background: var(--paper); white-space: nowrap; }

/* ---- 共通の部品 ---- */
.card { position: relative; background: var(--paper); border: 1px solid var(--glass-border); border-radius: var(--r); box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); overflow: hidden; }
.pad { padding: 20px; }
.card.pad { display: grid; gap: 14px; }
h1, h2, h3 { margin: 0; }
.step { font-family: var(--f-display); font-weight: 800; font-size: 21px; line-height: 1.35; }
h2 { font-size: 12px; letter-spacing: .14em; color: var(--ink-2); font-weight: 700; }
.eyebrow { font-size: 12px; letter-spacing: .14em; font-weight: 700; color: var(--accent); }
.hint { margin: 0; font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.label { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); }
.grad-text { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); font-weight: 700; text-decoration: none; justify-self: start; padding: 4px 0; }
.back:hover { color: var(--ink); }
.error { color: var(--crit); background: var(--crit-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; }

/* チケットのミシン目 */
.perf { height: 0; border-top: 2px dashed var(--line); position: relative; margin: 0 18px; }
.perf::before, .perf::after { content: ""; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.perf::before { left: -29px; } .perf::after { right: -29px; }

/* ボタン：グラデーション＋光が横切る */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px;
  color: var(--btn-ink); background: var(--brand-btn); border: 0; border-radius: 14px; padding: 13px 18px; cursor: pointer; text-decoration: none;
  box-shadow: var(--btn-shadow); transition: transform .15s ease, box-shadow .2s ease; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 65%); transform: translateX(-120%); }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost::after { display: none; }

select, input[type="time"] { width: 100%; font: inherit; color: var(--ink); background: var(--paper-solid); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
input[type="time"] { font-family: var(--f-data); font-size: 20px; font-weight: 600; }
.field { display: grid; gap: 8px; }
.stub { display: grid; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 13px; color: var(--ink); background: var(--paper-solid); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent-soft); border-color: var(--accent); font-weight: 700; }
:where(a, button, select, input):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.ad { font-size: 10px; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; margin-left: 6px; letter-spacing: .04em; }
.few { justify-self: start; font-size: 11px; font-weight: 700; color: var(--crit); background: var(--crit-soft); border-radius: 6px; padding: 1px 7px; margin-left: 6px; }
.flash { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: #fff; background: #B03A42; border-radius: 999px; padding: 1px 9px 1px 7px; margin-right: 6px; vertical-align: middle; }
.flash::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.unverified { margin: 6px 0 0; font-size: 12px; color: var(--warn); background: var(--warn-soft); border-radius: 10px; padding: 8px 12px; }

/* ---- トップ：ヒーロー ---- */
.hero { padding: 26px 4px 6px; display: grid; gap: 12px; }
.hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 11vw, 62px); line-height: 1.16; letter-spacing: .02em; }
.hero h1 .line { display: block; }
.hero p { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 32em; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stat { background: var(--paper); border: 1px solid var(--glass-border); border-radius: 14px; padding: 8px 14px; display: grid; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stat b { font-family: var(--f-data); font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat small { font-size: 11px; color: var(--ink-2); }

/* 次の公演が流れる帯 */
.marquee { position: relative; overflow: hidden; margin: 0 -16px; padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; }
.marquee a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; color: var(--ink); text-decoration: none;
  background: var(--paper); border: 1px solid var(--glass-border); border-radius: 999px; padding: 6px 14px 6px 10px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.marquee a b { font-family: var(--f-data); }
.dot-g { width: 9px; height: 9px; border-radius: 50%; background: var(--gc, var(--accent)); box-shadow: 0 0 10px var(--gc, var(--accent)); flex: none; }
[data-g="nogizaka"] { --gc: var(--g-nogi); } [data-g="sakurazaka"] { --gc: var(--g-sakura); } [data-g="hinatazaka"] { --gc: var(--g-hina); } [data-g="aobazaka"] { --gc: var(--g-aoba); }

/* その坂のページでは、差し色・ボタン・背景の光をその坂の色にする */
body[data-tone="nogizaka"] { --tone: var(--g-nogi); --tone-ink: var(--g-nogi-ink); }
body[data-tone="sakurazaka"] { --tone: var(--g-sakura); --tone-ink: var(--g-sakura-ink); }
body[data-tone="hinatazaka"] { --tone: var(--g-hina); --tone-ink: var(--g-hina-ink); }
body[data-tone="aobazaka"] { --tone: var(--g-aoba); --tone-ink: var(--g-aoba-ink); }
body[data-tone] {
  --accent: var(--tone-ink);
  --accent-soft: color-mix(in srgb, var(--tone) 11%, transparent);
  --gold: color-mix(in srgb, var(--tone) 55%, #FFD98A);
  --brand: linear-gradient(100deg, var(--tone-ink) 0%, var(--tone) 60%, color-mix(in srgb, var(--tone) 50%, #FFFFFF) 100%);
  --brand-btn: linear-gradient(180deg, color-mix(in srgb, var(--tone-ink) 82%, #FFFFFF) 0%, var(--tone-ink) 100%);
  --btn-shadow: 0 10px 22px -12px color-mix(in srgb, var(--tone-ink) 75%, transparent);
  --aurora-1: color-mix(in srgb, var(--tone) 24%, transparent);
  --aurora-3: color-mix(in srgb, var(--tone) 14%, transparent);
}

/* グループのカード：グループの色で光る枠＋指の位置に光 */
.groups { display: grid; gap: 12px; }
@media (min-width: 760px) { .groups { grid-template-columns: repeat(2, 1fr); } }
.group { position: relative; display: grid; gap: 6px; padding: 20px; border-radius: var(--r); color: var(--ink); text-decoration: none; isolation: isolate;
  background: var(--paper); border: 1px solid var(--glass-border); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.group::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: linear-gradient(140deg, var(--gc), transparent 55%, var(--gc));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .8; }
.group::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--gc) 26%, transparent), transparent 70%); }
.group:hover { transform: translateY(-2px); }
.group:hover::after, .group:focus-visible::after { opacity: 1; }
.group .gname { font-family: var(--f-display); font-weight: 800; font-size: 27px; letter-spacing: .03em; line-height: 1.2; display: flex; align-items: center; gap: 10px; }
.group .meta { font-size: 13px; color: var(--ink-2); }
.group .next { font-size: 13px; }
.group .arrow { position: absolute; right: 18px; top: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--gc) 16%, transparent); color: var(--gc); transition: transform .2s; }
.group:hover .arrow { transform: translateX(3px); }

/* ---- 公演のチケット ---- */
.shows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.show { position: relative; display: grid; grid-template-columns: 92px 1fr; color: var(--ink); text-decoration: none; border-radius: 16px;
  background: var(--paper-solid); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .18s ease, box-shadow .18s; }
.show:hover { transform: translateY(-2px); }
.show .date { display: grid; align-content: center; justify-items: center; padding: 12px 6px; color: #fff; background: linear-gradient(160deg, var(--gc, var(--accent)), color-mix(in srgb, var(--gc, var(--accent)) 62%, #0E1016)); position: relative; }
.show .date b { font-family: var(--f-display); font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.show .date small { font-size: 11px; opacity: .9; }
.show .date::after { content: ""; position: absolute; right: -1px; top: 8px; bottom: 8px; border-right: 2px dashed var(--paper-solid); }
.show .what { display: grid; gap: 2px; padding: 12px 14px; align-content: center; }
.show .what b { font-size: 16px; line-height: 1.35; }
.show .what small { color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.show .what .flash { justify-self: start; }

/* ---- 公演の画面 ---- */
.show-head { display: grid; gap: 6px; }
.show-band { height: 5px; background: linear-gradient(90deg, var(--gc, var(--accent)), var(--gold)); }
.big-date { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 8.4vw, 36px); line-height: 1.25; }
.big-date .tbd { font-family: var(--f-body); font-size: 15px; font-weight: 700; color: var(--crit); vertical-align: middle; }
.venue { font-weight: 700; font-size: 17px; }
.venue small { font-weight: 400; color: var(--ink-2); }
.ext { font-size: 14px; color: var(--accent); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px; justify-self: start; }
.ext:hover { text-decoration: underline; }

/* 速報 */
.flash-box { display: grid; gap: 12px; background: linear-gradient(180deg, var(--crit-soft), transparent); }
.flash-box h2 { font-size: 17px; letter-spacing: 0; color: var(--ink); display: flex; align-items: center; }

/* 判定：余裕のゲージ */
.verdict { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; border-radius: 16px; padding: 16px; background: var(--vs); }
.verdict.good { --vc: var(--good); --vs: var(--good-soft); } .verdict.warn { --vc: var(--warn); --vs: var(--warn-soft); } .verdict.crit { --vc: var(--crit); --vs: var(--crit-soft); }
.gauge { position: relative; width: 104px; height: 104px; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .track { fill: none; stroke: color-mix(in srgb, var(--vc) 18%, transparent); stroke-width: 9; }
.gauge .bar { fill: none; stroke: var(--vc); stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2, .8, .2, 1); }
.gauge .gnum { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.gauge .gnum b { font-family: var(--f-data); font-size: 24px; color: var(--vc); font-variant-numeric: tabular-nums; }
.gauge .gnum small { font-size: 10px; color: var(--ink-2); white-space: nowrap; }
.verdict .big { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 6.4vw, 28px); line-height: 1.25; color: var(--vc); }
.verdict p { margin: 4px 0 0; font-size: 13px; line-height: 1.65; }
.verdict.plain { grid-template-columns: 1fr; }

/* 比べるカード */
.compare { display: grid; gap: 14px; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; align-items: start; } }
.plan-card { position: relative; border-radius: 16px; padding: 16px; display: grid; gap: 14px; background: var(--paper-solid); border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.plan-card h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan-card h3 .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.plan-card h3 .ico svg { width: 19px; height: 19px; }
.plan-card h3 small { font-size: 12px; font-weight: 400; color: var(--ink-2); }
.plan-card.chosen { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.plan-card.dim h3 { color: var(--ink-2); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 58px 20px 1fr; align-items: start; min-height: 40px; }
.t { font-family: var(--f-data); font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 600; }
.dot { position: relative; height: 100%; }
.dot::before { content: ""; position: absolute; left: 5px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); }
.dot::after { content: ""; position: absolute; left: 9px; top: 20px; bottom: -8px; width: 2px; background: var(--line); }
.timeline li:last-child .dot::after { display: none; }
.timeline li.deadline .dot::before { background: var(--crit); box-shadow: 0 0 0 4px var(--crit-soft); }
.timeline li.deadline .t { color: var(--crit); }
.ev { font-size: 14px; } .ev small { display: block; color: var(--ink-2); font-size: 12px; line-height: 1.45; }

.areas { display: grid; gap: 10px; }
.area { border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; display: grid; gap: 4px; background: var(--paper-solid); transition: border-color .15s; }
.area:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.area-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.area b { font-size: 15px; }
.tag { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.price { font-family: var(--f-data); font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.area p { margin: 0; font-size: 13px; color: var(--ink-2); }
.area a { font-size: 13px; color: var(--accent); font-weight: 700; text-decoration: none; justify-self: start; margin-top: 2px; }
.area a:hover { text-decoration: underline; }

.cost { display: grid; grid-template-columns: 1fr auto; row-gap: 7px; font-size: 14px; }
.cost .v { font-family: var(--f-data); font-variant-numeric: tabular-nums; text-align: right; }
.cost .total { font-weight: 700; border-top: 1px solid var(--line); padding-top: 8px; }
.cost .v.total { font-size: 18px; }

/* 予約へ進む：番号付きの手順 */
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.todo-step { position: relative; border-radius: 16px; padding: 16px; display: grid; gap: 10px; background: color-mix(in srgb, var(--paper-solid) 60%, transparent); border: 1px solid var(--line); }
.todo-step h3 { font-size: 16px; display: flex; align-items: center; gap: 10px; }
.num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-btn); color: var(--btn-ink); font-size: 13px; font-family: var(--f-data); display: grid; place-items: center; box-shadow: var(--btn-shadow); }

.share { display: grid; gap: 10px; }
.share img { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.share-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 公演の画面の下に固定するボタン */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease; }
.sticky-cta.show-bar { transform: none; }
.sticky-cta .inner { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sticky-cta .btn { padding: 12px 10px; font-size: 14px; }
body.has-cta .wrap { padding-bottom: 96px; }

/* 見つからない画面 */
.notfound { text-align: center; justify-items: center; padding: 40px 20px; }
.notfound .torn { font-family: var(--f-display); font-weight: 800; font-size: 76px; line-height: 1; }
.notfound p { margin: 0; color: var(--ink-2); }

/* 読み込み中 */
.loader { display: grid; place-items: center; gap: 12px; padding: 60px 0; color: var(--ink-2); font-size: 13px; }
.loader i { width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, var(--accent), var(--gold)); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); }

/* ---- フッター ---- */
footer { display: grid; gap: 10px; justify-items: center; text-align: center; font-size: 12px; color: var(--ink-2); line-height: 1.7; padding-top: 10px; border-top: 1px solid var(--line); }
footer .brand-foot { font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .04em; color: var(--ink); }
footer a { color: var(--ink-2); }

/* ---- 動き（OSで「動きを減らす」にしている人には出さない） ---- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .aurora span { animation: drift 26s ease-in-out infinite alternate; }
  .aurora span:nth-child(2) { animation-duration: 32s; animation-delay: -6s; }
  .aurora span:nth-child(3) { animation-duration: 38s; animation-delay: -12s; }
  @keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vmax, 4vmax) scale(1.12); } 100% { transform: translate(-4vmax, 8vmax) scale(.95); } }

  .hero h1 .line { opacity: 0; transform: translateY(14px); filter: blur(8px); animation: in-line .8s cubic-bezier(.2, .8, .2, 1) forwards; }
  .hero h1 .line:nth-child(2) { animation-delay: .12s; } .hero h1 .line:nth-child(3) { animation-delay: .24s; }
  @keyframes in-line { to { opacity: 1; transform: none; filter: none; } }

  .marquee-track { animation: marquee var(--dur, 40s) linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }

  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
  .reveal.in { opacity: 1; transform: none; }

  .btn::after { animation: shine 3.6s ease-in-out infinite; }
  @keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

  .flash::before { animation: pulse 1.4s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .25; } }

  .loader i { animation: spin .9s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}

/* AIのおすすめ */
.advice { position: relative; display: grid; gap: 6px; border-radius: 16px; padding: 14px 16px 14px 18px; background: var(--paper-solid); border: 1px solid var(--line); overflow: hidden; }
.advice::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--accent), var(--gold)); }
.advice-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.advice-head small { font-weight: 400; color: var(--ink-2); font-size: 11px; }
.ai-badge { font-family: var(--f-data); font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--btn-ink); background: var(--brand-btn); border-radius: 6px; padding: 1px 7px; }
#adviceText { margin: 0; font-size: 14px; line-height: 1.75; }
#adviceText.loading { color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { #adviceText.loading { animation: pulse 1.2s ease-in-out infinite; } }
#askAi { justify-self: start; padding: 8px 14px; font-size: 13px; }

/* 会場のポイント */
.vnotes { margin: 0; display: grid; gap: 12px; }
.vnotes div { padding-left: 12px; border-left: 2px solid var(--gold); }
.vnotes dt { font-size: 13px; font-weight: 700; color: var(--ink); }
.vnotes dd { margin: 2px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink); }
.vsrc summary { cursor: pointer; font-size: 12px; color: var(--ink-2); }
.vsrc { display: grid; gap: 6px; }
.vsrc[open] { padding-bottom: 4px; }

/* 対面イベント（ミーグリ）の印 */
.kind { display: inline-block; vertical-align: 2px; margin-right: 6px; padding: 1px 7px; border-radius: 6px; font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--gc, var(--accent)); background: color-mix(in srgb, var(--gc, var(--accent)) 13%, transparent); border: 1px solid color-mix(in srgb, var(--gc, var(--accent)) 35%, transparent); }
.kind-line { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.big-date .parts-range { display: block; margin-top: 4px; font-family: var(--f-data); font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink-2); }
