/* 報名頁的樣式。不載入任何外部字型或資源：LINE 內建瀏覽器點開要在一秒內看得到。 */
:root {
  --bg: #F4F2EC; --card: #FFFFFF; --line: #E4E0D6; --rule: #F0EDE5;
  --ink: #14201B; --ink2: #3D4A44; --ink3: #4E5A54; --muted: #5F6A64;
  --accent: #0A5C63; --accent-ink: #0A4A50; --accent-soft: #E2EFEF; --accent-line: #C9DEDE;
  --warm: #FFF6DF; --warm-line: #EAD9A8; --warm-ink: #5C3D00; --warm-strong: #7A4F00;
  --clay: #FAEAE3; --clay-line: #F0D9CC; --clay-ink: #7A2D0E; --clay-strong: #A83A12; --clay-deep: #5E2410;
  --line-green: #06C755; --line-ink: #06210F;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
h1, h2, p, dl, dd, pre, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select { font-family: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.phone { max-width: 480px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; background: var(--bg); }
.page { display: flex; flex-direction: column; flex: 1; }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 8px 16px 0; }
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.accent { color: var(--accent); }
.accent-stroke { color: var(--accent); }
.pill { padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; }
.body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 6px 16px 18px; }
.foot { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.foot:empty { display: none; }

.hero { display: flex; flex-direction: column; gap: 6px; padding: 6px 2px 2px; }
.hero h1 { font-size: 24px; line-height: 1.35; font-weight: 700; }
.hero p { color: var(--ink3); font-size: 13.5px; }
.h-page { font-size: 21px; line-height: 1.4; font-weight: 700; }
.h-session { font-size: 23px; line-height: 1.4; font-weight: 700; }
.h-sheet { font-size: 20px; line-height: 1.4; font-weight: 700; }
.back { font-size: 12.5px; font-weight: 500; text-decoration: none; min-height: 28px; display: inline-flex; align-items: center; }
.bigicon svg { width: 38px; height: 38px; stroke-width: 1.8; }
.center { text-align: center; }
.hint { font-size: 12px; color: var(--muted); line-height: 1.6; }
.hint em, .field em, .card-h em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 4px; }
.empty { color: var(--muted); font-size: 13px; padding: 8px 0; }
.err { color: var(--clay-strong); font-size: 12.5px; font-weight: 500; }
.closed { font-size: 14px; font-weight: 700; color: var(--ink2); text-align: center; padding: 6px 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }

.localbar { padding: 8px 12px; border-radius: 10px; background: #14201B; color: #E9EFEA; font-size: 12px; line-height: 1.6; word-break: break-all; }
.localbar b { color: #9FE3DC; font-weight: 700; }

/* 卡片 */
.card { padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 10px; }
.card p { font-size: 12.5px; color: var(--ink3); line-height: 1.7; }
.card-teal { background: var(--accent-soft); border-color: var(--accent-line); }
.card-teal p { color: var(--accent-ink); }
.card-warm { background: var(--warm); border-color: var(--warm-line); }
.card-warm p { color: var(--warm-ink); }
.card-clay { background: var(--clay); border-color: var(--clay-line); }
.card-clay p, .card-clay .hint { color: var(--clay-ink); }
.card-clay .lead { font-size: 15px; color: var(--clay-deep); }
.card-h { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.card-hrow { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; font-size: 13.5px; }
.nowrap { white-space: nowrap; }
.card-hrow span { font-size: 12.5px; color: var(--ink3); white-space: nowrap; }
.card-hrow span b { color: var(--ink); }
.card-hrow span b.accent { color: var(--accent); }
.cap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.stats { font-size: 12px; color: var(--ink3); }
.stats b { color: var(--ink); }

.note { padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.65; border: 1px solid transparent; }
.note-teal { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); }
.note-clay { background: var(--clay); border-color: var(--clay-line); color: var(--clay-ink); }
.inline-note { display: flex; gap: 10px; align-items: flex-start; padding: 0 4px; font-size: 12.5px; color: var(--ink3); line-height: 1.7; }
.inline-note svg { width: 17px; height: 17px; margin-top: 3px; }
.keyrow { display: flex; gap: 10px; align-items: flex-start; }
.keyrow svg { width: 20px; height: 20px; margin-top: 2px; color: var(--warm-strong); }
.keyrow b { font-size: 13.5px; }

/* 標籤 */
.tagrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; min-width: 0; }
.tags .tag, .row > .tag { padding: 2px 8px; font-size: 11px; }
.tag-teal { background: var(--accent-soft); color: var(--accent); }
.card-teal .tag-teal { background: #fff; }
.tag-clay { background: var(--clay); color: var(--clay-strong); }
.card-clay .tag-clay { background: #fff; }
.tag-plain { background: #EEEBE2; color: var(--ink2); font-weight: 500; }
.tag-lv1 { background: #E7F2E6; color: #2F6B33; }
.tag-lv2 { background: #EFE9F8; color: #66399C; }
.tag-lv3 { background: #FBF0D6; color: #7A4F00; }
.chip { padding: 3px 10px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 700; }
.chip-teal { background: var(--accent); }
.chip-warm { background: var(--warm-strong); }

/* 場次資訊 */
.facts { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink2); }
.facts > div { display: flex; gap: 10px; }
.facts dt { width: 42px; color: var(--muted); flex-shrink: 0; }
.facts dd b { font-weight: 500; color: var(--ink); }
.facts .sub { font-size: 12.5px; color: var(--muted); }

/* 名額那一條 */
.bar { display: grid; gap: 4px; }
.bar i { height: 14px; border-radius: 4px; background: #DFDBD1; }
.bar i.on { background: var(--accent); }
.bar-line { height: 14px; border-radius: 7px; background: #DFDBD1; overflow: hidden; }
.bar-line i { display: block; height: 100%; background: var(--accent); }

/* 名單 */
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 10px; padding: 5px 0; border-top: 1px solid var(--rule); min-height: 44px; }
.card-teal .row, .card-clay .row { border-top-color: rgba(0, 0, 0, .06); }
.row.mine .name { color: var(--accent); }
.row .name { font-size: 14.5px; font-weight: 500; word-break: break-all; }
.row .when { font-size: 12px; color: var(--muted); white-space: nowrap; }
.grow { flex: 1; min-width: 0; }
.avatar { width: 32px; height: 32px; border-radius: 999px; background: #EEEBE2; color: var(--ink2); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rowhead { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); padding-top: 4px; }
.rowhead .c1 { width: 26px; text-align: center; }
.rowhead .c4 { width: 30px; }
.chk { width: 22px; height: 22px; margin: 0 2px; accent-color: var(--accent); flex-shrink: 0; }
.linkbtn { border: 0; background: none; padding: 8px 0 8px 4px; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
.addrow { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--rule); }
.addrow .input { flex: 1; min-width: 0; height: 44px; }
.cancelrow { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--rule); }
.cancelrow small { color: var(--muted); font-weight: 400; }
.againrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink2); min-height: 44px; }
.againrow a { font-weight: 700; }

/* 按鈕 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid transparent; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.3; }
.btn svg { width: 17px; height: 17px; }
.btn-lg { min-height: 52px; font-size: 16px; width: 100%; }
.btn-sm { min-height: 40px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-line { background: var(--line-green); color: var(--line-ink); }
.btn-ghost { background: #fff; color: var(--accent); border-color: #C9D9D9; }
.btn-quiet { background: #fff; color: var(--ink3); border-color: #DAD5C9; font-weight: 500; }
.btn-warm { background: #fff; color: var(--warm-ink); border-color: #D9C27E; }
.btn-solid-warm { background: var(--warm-strong); color: #fff; }
.btn-solid-teal { background: var(--accent); color: #fff; }
.btn-danger { background: #fff; color: var(--clay-strong); border-color: #E3C3B5; }
.btn.done { filter: saturate(.6); }
.btnrow { display: flex; gap: 8px; }
.btnrow > * { flex: 1; }
.foot form { display: contents; }
.iconbtn { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink3); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.iconbtn svg { width: 20px; height: 20px; }
.iconbtn.done { color: var(--accent); }

/* 表單 */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field > label > span { font-size: 13px; font-weight: 700; }
.input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #CFC9BC; border-radius: 11px; background: #fff; color: var(--ink); font-size: 16px; font-weight: 500; appearance: none; -webkit-appearance: none; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235F6A64' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; font-size: 15px; }
.input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.input-lg { height: 52px; border-width: 2px; border-color: var(--accent); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.input { min-width: 0; }
.timepair label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.timepair small { font-size: 12px; color: var(--muted); }
.suggest-wrap { position: relative; }
.suggest { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(20, 32, 27, .16); overflow: hidden; }
.suggest button { width: 100%; min-height: 48px; padding: 8px 14px; border: 0; border-top: 1px solid var(--rule); background: #fff; text-align: left; display: flex; flex-direction: column; gap: 1px; cursor: pointer; }
.suggest li:first-child button { border-top: 0; }
.suggest b { font-size: 14px; color: var(--ink); }
.suggest small { font-size: 12px; color: var(--muted); }

/* 連結盒／文字盒 */
.linkbox { display: flex; align-items: center; gap: 8px; }
.linkbox code { flex: 1; min-width: 0; padding: 11px 12px; background: #fff; border: 1px solid rgba(0, 0, 0, .1); border-radius: 10px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; font-weight: 600; word-break: break-all; }
.textbox { padding: 12px 14px; background: #F7F5EF; border: 1px solid var(--line); border-radius: 12px; font-family: var(--sans); font-size: 13.5px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; color: var(--ink); }
.textbox-lg { background: #fff; padding: 16px 18px; border-radius: 16px; }
.bubble { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.bubble small { font-size: 11.5px; color: var(--muted); }
.bubble pre { font-family: var(--sans); font-size: 14.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.tips { gap: 9px; }
.tip { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink2); line-height: 1.65; }
.tip svg { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.steps div { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--ink2); line-height: 1.5; }
.steps small { font-size: 11px; font-weight: 700; color: var(--accent); }

/* 後台的清單連結 */
.list-links { padding: 4px 18px; gap: 0; }
.linkrow { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.linkrow:first-of-type { border-top: 0; }
.card-h + .linkrow { border-top: 1px solid var(--rule); }
.linkrow .grow { display: flex; flex-direction: column; }
.linkrow b { font-size: 13.5px; }
.linkrow small { font-size: 12px; color: var(--muted); word-break: break-all; }
.linkrow .go { font-size: 12.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.devrow { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: 1px solid var(--rule); }
.devrow small { color: var(--muted); font-size: 12px; }

/* 預覽卡的樣子 */
.ogcard { width: 268px; max-width: 100%; border: 1px solid #DDD8CC; border-radius: 12px; overflow: hidden; background: #fff; }
.ogimg { height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; }
.ogimg b { font-size: 30px; line-height: 1; }
.ogimg span { font-size: 11px; opacity: .85; }
.og-ok { background: #0A5C63; } .og-last { background: #A8460F; } .og-full { background: #5E2410; }
.ogtext { padding: 9px 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.ogtext b { font-size: 13px; line-height: 1.4; }
.ogtext span { font-size: 11.5px; color: var(--ink3); }

.audit summary { font-size: 13px; font-weight: 700; cursor: pointer; min-height: 28px; }
.arow { display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink2); }
.arow span:first-child { color: var(--muted); white-space: nowrap; }
.arow span:nth-child(2) { white-space: nowrap; font-weight: 700; }

/* 報名／取消：從底下滑上來的那一張 */
.sheetmode { background: #6B6963; }
.sheetmode .phone { background: #6B6963; }
.peek { padding: 16px 16px 40px; opacity: .5; }
.sheet { flex: 1; margin-top: -22px; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }
.grab { align-self: center; width: 40px; height: 4px; border-radius: 999px; background: #D9D4C8; }

@media (min-width: 520px) {
  body { background: #E9E6DD; }
  .phone { box-shadow: 0 0 0 1px var(--line); }
}

/* 複製不了時攤開的文字框；「再按一次」的確認狀態 */
.manualcopy { width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--accent); border-radius: 10px; font-family: var(--sans); font-size: 14px; line-height: 1.6; background: #fff; color: var(--ink); }
.armed { color: var(--clay-strong) !important; font-weight: 700; text-decoration: none; }
.btn.armed { border-color: var(--clay-strong); }

/* ---- 第二段：公開招臨打、新朋友要確認 */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 20; padding: 10px 16px; border-radius: 999px; background: #14201B; color: #fff; font-size: 13px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.cardlink { text-decoration: none; color: inherit; }
.cardlink .go { align-self: flex-end; font-size: 13px; font-weight: 700; color: var(--warm-strong); }
.switchrow { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.switchrow input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.switchrow span { display: flex; flex-direction: column; gap: 3px; }
.switchrow b { font-size: 14.5px; }
.switchrow small { font-size: 12.5px; color: var(--ink3); line-height: 1.65; }
.kvrow { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 13.5px; }
.kvrow > span:first-child { color: var(--muted); font-size: 12.5px; flex-shrink: 0; }
.kvrow b { flex: 1; min-width: 0; word-break: break-all; font-weight: 500; }
.kvrow a { font-size: 12.5px; }
.mono { font-family: ui-monospace, Consolas, monospace; }
.btn-xs { min-height: 34px; padding: 0 10px; font-size: 12px; border-radius: 9px; }
.tag-solid { background: var(--accent); color: #fff; padding: 2px 8px; font-size: 11px; }
.calrow { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-left: 4px solid #66399C; border-radius: 10px; background: #FBFAF6; font-size: 13.5px; line-height: 1.55; }
.caltime { font-size: 12.5px; color: var(--ink3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calrow small { font-size: 12px; color: var(--ink3); }
.stepcard { gap: 14px; display: flex; flex-direction: column; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step > i { width: 26px; height: 26px; border-radius: 999px; background: var(--accent); color: #fff; font-style: normal; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.step b { font-size: 14px; }
.step .linkbox { align-self: stretch; }
.sec-h { font-size: 12.5px; font-weight: 700; color: var(--ink3); padding: 6px 2px 0; }
.prow { display: flex; gap: 10px; align-items: center; }
.pname { font-size: 15.5px; }
.prow small { font-size: 12.5px; color: var(--ink3); }
.quote { font-size: 13.5px !important; color: var(--ink2) !important; }
.note.slim { padding: 7px 10px; font-size: 12.5px; }
.timeline { display: flex; flex-direction: column; padding: 2px 0 2px 6px; }
.tl { position: relative; padding: 0 0 12px 22px; display: flex; flex-direction: column; font-size: 13px; color: var(--ink3); }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 0; top: 5px; width: 9px; height: 9px; border-radius: 999px; border: 2px solid #B8B2A4; background: #fff; }
.tl::after { content: ""; position: absolute; left: 5.5px; top: 18px; bottom: -2px; width: 2px; background: #D9D4C8; }
.tl:last-child::after { display: none; }
.tl.done { color: var(--ink); }
.tl.done::before { background: var(--accent); border-color: var(--accent); }
.tl small { font-size: 12px; color: var(--muted); }
.guide { margin-top: 2px; font-size: 12.5px; color: var(--ink3); }
.guide summary { cursor: pointer; color: var(--accent); min-height: 30px; display: flex; align-items: center; }
.guide div { display: flex; gap: 8px; padding: 4px 0; border-top: 1px solid var(--rule); }
.guide div b { width: 74px; flex-shrink: 0; color: var(--ink); }
.guide p { padding-top: 6px; }
.area { height: auto; min-height: 220px; padding: 12px 14px; font-size: 14px; line-height: 1.7; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.log { font-family: ui-monospace, Consolas, monospace; font-size: 12px; line-height: 1.6; max-height: 420px; overflow: auto; }
.btnrow form { display: contents; }

.card-teal .keyrow svg { color: var(--accent); }

/* 保留老團員的名字（第四輪，2026-09-20）：多行的輸入框；還有 hidden 屬性要真的藏得住（.btn 自己有 display，會蓋掉瀏覽器預設的 display:none） */
textarea.input { height: auto; min-height: 180px; padding: 10px 14px; line-height: 1.7; font-family: var(--sans); resize: vertical; }
[hidden] { display: none !important; }

/* ---- 後台照時間點收起來（2026-09-20 上線介面設計稿） */
.hero-tight { padding-bottom: 0; }
.numh { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.numh i { width: 26px; height: 26px; border-radius: 999px; background: var(--accent); color: #fff; font-style: normal; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.numh-warm i { background: var(--warm-strong); }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.card-now .lead { font-size: 16px; line-height: 1.4; }
.card-teal .lead { font-size: 17px; }
.card-warm .lead { font-size: 14.5px; color: var(--ink); }
.more-h { font-size: 12.5px; font-weight: 700; color: var(--ink3); padding: 4px 0; }
.morelist { display: flex; flex-direction: column; padding: 0 2px; }
.morerow { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink2); font-size: 13.5px; }
.morerow:last-child { border-bottom: 1px solid var(--line); }
.morerow .grow { display: flex; flex-direction: column; }
.morerow small { font-size: 12px; color: var(--muted); }
.morerow svg { width: 16px; height: 16px; color: var(--muted); }
.placeh { display: flex; flex-direction: column; gap: 2px; }
.placeh b { font-size: 15.5px; }
.fold { font-size: 12.5px; color: var(--ink3); }
.fold summary { cursor: pointer; color: var(--accent); min-height: 40px; display: flex; align-items: center; font-size: 13px; font-weight: 500; }
.fold > * + * { margin-top: 8px; }
.fold > p b { color: var(--ink); }
.card > .fold + .fold { border-top: 1px solid var(--rule); }
.madeby { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 6px; min-height: 44px; margin-top: 4px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--ink3); text-decoration: none; }
.madeby b { color: var(--accent); font-weight: 700; }

/* 公開招臨打的三步 */
.psteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.psteps a { display: flex; flex-direction: column; gap: 4px; min-height: 44px; text-decoration: none; font-size: 11.5px; font-weight: 500; color: var(--muted); line-height: 1.45; }
.psteps i { height: 4px; border-radius: 2px; background: #DFDBD1; }
.psteps a.done i, .psteps a.now i { background: var(--accent); }
.psteps a.done { color: var(--accent); font-weight: 700; }
.psteps a.now { color: var(--ink); font-weight: 700; }
.sumrow { flex-direction: row; align-items: center; gap: 10px; padding: 12px 18px; font-size: 13px; color: var(--ink2); }
.sumrow svg { width: 20px; height: 20px; color: var(--accent); }
.sumrow a { font-size: 12.5px; font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.sumrow.muted { color: var(--muted); }
.numdot { width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid #DAD5C9; color: var(--muted); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-now { border-color: var(--accent); }
.moredet { border-top: 1px solid var(--line); }
.moredet:last-child { border-bottom: 1px solid var(--line); }
.moredet summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 0; cursor: pointer; font-size: 13.5px; font-weight: 400; color: var(--ink2); list-style: none; }
.moredet summary::-webkit-details-marker { display: none; }
.moredet summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); flex-shrink: 0; margin-right: 4px; }
.moredet[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.moredet[open] { padding-bottom: 14px; }
.moredet > * + * { margin-top: 10px; }
.moredet .hint { display: block; }
.btnrow form > .btn { flex: 1; }

/* 收合起來的卡片（<details class="card …">）：卡片本身是直向的 flex＋gap，details 收合時裡面那塊看不見的內容還是會吃掉一格 gap，
   下面多一塊空白。改成一般的區塊，展開之後的間距自己給。 */
details.card { display: block; }
details.card > summary { cursor: pointer; font-size: 13px; font-weight: 700; line-height: 28px; }   /* 不要設 display:flex：會把預設的小三角形弄不見 */
details.card > * + * { margin-top: 10px; }
