/* 相席ページ（/reserve/ と同じ4色：黄 #fedd6b / 紺 #003f67 / 白 #f5f5f5 / 赤 #ad0003） */
:root { --yellow:#fedd6b; --navy:#003f67; --white:#f5f5f5; --red:#ad0003; --hair:1px solid rgba(0,63,103,.22); }
*,*::before,*::after { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
body { margin:0; color:var(--navy); background:var(--white); font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN",sans-serif; font-size:16px; line-height:1.7; -webkit-text-size-adjust:100%; }
.hidden,[hidden] { display:none !important; }
.bar { position:sticky; top:0; z-index:5; background:var(--navy); color:var(--white); }
.bar__row { max-width:600px; margin:0 auto; height:52px; padding:0 16px; display:flex; align-items:center; gap:10px; }
.logo { height:34px; width:auto; }
.bar__title { font-weight:900; font-size:18px; color:var(--yellow); }
.container { max-width:600px; margin:0 auto; padding:16px 16px 80px; }
.h1 { font-size:24px; font-weight:900; margin:12px 0 6px; line-height:1.4; }
.h2 { font-size:21px; font-weight:900; margin:8px 0 10px; }
.h3 { font-size:18px; font-weight:900; margin:18px 0 6px; }
.lead { margin:0 0 16px; }
.small { font-size:13px; margin:8px 0 16px; opacity:.85; }
.empty { margin:8px 0; padding:14px 0; border-top:var(--hair); border-bottom:var(--hair); font-size:14px; }
.err { color:var(--white); background:var(--red); border-radius:8px; padding:10px 12px; font-weight:700; position:sticky; top:60px; z-index:4; }
.loading { position:fixed; top:0; left:0; right:0; height:3px; z-index:20; overflow:hidden; background:rgba(254,221,107,.25); }
.loading::before { content:""; position:absolute; top:0; bottom:0; left:-40%; width:40%; background:var(--yellow); animation:loading-move 1.1s ease-in-out infinite; }
@keyframes loading-move { from { left:-40%; } to { left:100%; } }
button { font:inherit; color:inherit; cursor:pointer; touch-action:manipulation; }
.btn { display:block; width:100%; margin:12px 0 6px; padding:14px; border:0; border-radius:8px; background:var(--yellow); color:var(--navy); font-size:18px; font-weight:900; text-align:center; }
.btn:active { background:#f3cf4f; }
.btn--sub { background:#fff; border:1.5px solid var(--navy); }
.primary { width:100%; margin-top:14px; padding:14px; border:0; border-radius:8px; background:var(--yellow); color:var(--navy); font-size:18px; font-weight:900; }
.primary:disabled { opacity:.5; }
.back { border:0; background:none; padding:6px 0; font-weight:700; }
.f { display:block; margin:16px 0; font-weight:700; }
.f small { display:block; font-weight:400; font-size:12px; margin-top:4px; }
.f input,.f select { display:block; width:100%; margin-top:6px; font:inherit; font-weight:400; padding:11px 12px; border:1.5px solid var(--navy); border-radius:6px; background:#fff; color:var(--navy); }
.f select:disabled { opacity:.5; }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.chips button { padding:8px 14px; border-radius:999px; border:1.5px solid var(--navy); background:#fff; font-weight:700; font-size:14px; }
.chips button.on { background:var(--navy); color:var(--white); }
.card { display:block; width:100%; text-align:left; background:#fff; border:1.5px solid var(--navy); border-radius:8px; padding:12px 14px; margin:10px 0; }
.card:active { background:rgba(254,221,107,.35); }
.card.full { border-color:rgba(0,63,103,.3); opacity:.7; }
.card__when { font-size:14px; font-weight:700; }
.card__title { font-size:18px; font-weight:900; line-height:1.4; margin:2px 0; }
.card__meta { font-size:13px; }
.card__remain { font-weight:900; color:var(--red); }
.card.full .card__remain { color:var(--white); background:var(--navy); border-radius:6px; padding:0 8px; }
.card .tag { display:inline-block; font-size:12px; font-weight:700; background:rgba(0,63,103,.08); border-radius:6px; padding:0 6px; margin-right:4px; }
.done { text-align:center; margin:24px 0 8px; }
.ico-done { width:64px; height:64px; fill:var(--navy); }

/* 読み込み中の仮のカード（形だけが光って流れる） */
.card.skel { border-color:rgba(0,63,103,.15); }
.card.skel i { display:block; height:12px; border-radius:6px; margin:8px 0; background:linear-gradient(90deg, rgba(0,63,103,.08) 25%, rgba(0,63,103,.16) 50%, rgba(0,63,103,.08) 75%); background-size:200% 100%; animation:skel-move 1.2s linear infinite; }
.card.skel i:nth-child(1) { width:45%; }
.card.skel i:nth-child(2) { width:80%; height:18px; }
.card.skel i:nth-child(3) { width:60%; }
.wait { margin:4px 0 0; text-align:center; font-size:14px; color:rgba(0,63,103,.7); }
@keyframes skel-move { from { background-position:200% 0; } to { background-position:-200% 0; } }

.facts { margin:8px 0 16px; font-size:14px; }
.facts dt { font-weight:900; }
.facts dd { margin:2px 0 0; }
.from p { margin:4px 0 0; font-weight:700; white-space:pre-line; }
#handoffNote { white-space:pre-line; font-weight:700; opacity:1; }
.submit-note { margin:24px 0 0; font-size:14px; font-weight:700; line-height:1.6; }
.submit-note + .primary { margin-top:8px; }
.line-login { margin:20px 0 4px; padding:12px 0; border-top:var(--hair); border-bottom:var(--hair); font-size:14px; }
.line-login p { margin:0; }
.line-btn { display:inline-block; margin-top:8px; padding:10px 16px; border:0; border-radius:8px; background:#06c755; color:#fff; font-weight:900; font-size:15px; }
.opt-mark { font-weight:400; font-size:13px; }
.spin { display:inline-block; width:18px; height:18px; margin-right:8px; vertical-align:-3px; border:3px solid rgba(0,63,103,.25); border-top-color:var(--navy); border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.primary[aria-busy="true"] { opacity:1; }
