:root{color-scheme:light;font-family:system-ui,-apple-system,'Segoe UI','Hiragino Sans','Noto Sans JP','PingFang SC',sans-serif;color:#1d2433;background:#f6f2e8}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:grid;place-items:center;padding:24px}
main{width:100%;max-width:520px;background:#fff;border:1px solid #e4dccb;border-radius:20px;padding:32px;box-shadow:0 12px 40px #1d243310}
header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.brand{letter-spacing:.12em;font-size:13px;font-weight:600;color:#8a4b2a;overflow-wrap:anywhere;min-width:0}
h1{font-size:26px;line-height:1.4;margin:24px 0 16px}p,li{line-height:1.8;overflow-wrap:anywhere}ul{padding-left:1.2em}
#status{min-height:3em;font-weight:600}label{display:block;line-height:1.6;margin:16px 0 8px}
input,button{width:100%;font:inherit;border-radius:12px;padding:14px;border:1px solid #c9bfae;min-width:0}
button{margin-top:16px;background:#8a2f2a;color:#fff;border-color:#8a2f2a;cursor:pointer;min-height:48px}button:disabled{opacity:.6;cursor:wait}
select{font:inherit;padding:8px;border:1px solid #c9bfae;border-radius:8px;background:#fff;color:#1d2433;max-width:100%}
.hint{font-size:14px;color:#6b6358}a{color:#8a4b2a}:focus-visible{outline:3px solid #c08a3e;outline-offset:3px}[hidden]{display:none!important}
@media(max-width:420px){body{padding:16px}main{padding:22px}h1{font-size:23px}}

/* 0.16.0 introduction page */
.code{font:600 1.6rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;text-align:center;padding:.6rem;border:1px dashed currentColor;border-radius:.6rem}
.button{display:inline-block;padding:.7rem 1.1rem;border-radius:.6rem;background:#556B3F;color:#fff;text-decoration:none;font-weight:600}
.price{font-size:28px;font-weight:800;color:#8a2f2a;margin:8px 0}#signout{background:transparent;color:#8a2f2a}

/* 0.28.0 VIP / SVIP choice + comparison (Owner 2026-11-22 「购买页要写清楚区别」) */
h2{font-size:19px;line-height:1.5;margin:24px 0 10px}
#compare{margin:8px 0 8px}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #e4dccb;border-radius:14px}
#compare-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:13px;line-height:1.55}
#compare-table th,#compare-table td{padding:9px 8px;border-top:1px solid #eee6d6;text-align:left;vertical-align:top;overflow-wrap:anywhere}
#compare-table thead th{border-top:0;font-size:14px;background:#faf6ee}#compare-table tbody th{font-weight:600;color:#3a3f4c}
#compare-table .vip{background:#fbf5e6}#compare-table thead .vip{color:#8a6a1f}
#compare-table .svip{background:#1d1a14;color:#f1e2b8}#compare-table thead .svip{color:#e8c96a;letter-spacing:.06em}
#compare-table td.none{color:#a39a8b}#compare-table td.svip.none{color:#7d7360}
fieldset{border:0;padding:0;margin:12px 0 0;min-width:0}legend{font-weight:600;padding:0;margin-bottom:8px}
.option{display:flex;gap:12px;align-items:flex-start;margin:8px 0;padding:14px;border:1px solid #c9bfae;border-radius:14px;cursor:pointer}
.option input{width:20px;height:20px;margin:3px 0 0;flex:none;accent-color:#8a2f2a}
.option-text{display:grid;gap:2px;min-width:0}.option-price{font-weight:700;color:#8a2f2a}
.option:has(input:checked){border-color:#8a2f2a;box-shadow:0 0 0 2px #8a2f2a22}
.option.svip{background:#1d1a14;color:#f1e2b8;border-color:#5a4a26}.option.svip .option-price{color:#e8c96a}.option.svip .hint{color:#c9b98e}
.option.svip:has(input:checked){border-color:#e8c96a;box-shadow:0 0 0 2px #e8c96a44}.option.svip input{accent-color:#e8c96a}
main{min-width:0}main:has(#compare){max-width:680px}#compare-table thead th:nth-child(2){width:13%}#compare-table thead th:first-child{width:27%}#compare-table thead th{white-space:nowrap}
/* phones: one block per feature, the three memberships stacked (no sideways scrolling) */
@media(max-width:560px){
#compare-table{min-width:0}#compare-table thead{display:none}
#compare-table tr{display:block;border-top:1px solid #eee6d6}#compare-table tbody tr:first-child{border-top:0}
#compare-table tbody th{display:block;width:auto;border:0;padding:10px 12px 4px;font-size:14px}
#compare-table td{display:grid;grid-template-columns:4.2em minmax(0,1fr);gap:8px;border:0;padding:6px 12px}
#compare-table td::before{content:attr(data-label);font-weight:700}
#compare-table td.vip::before{color:#8a6a1f}#compare-table td.svip::before{color:#e8c96a}
#compare-table td:last-child{padding-bottom:12px}}
/* 0.36.0 activity page + web sign-up (/e/, /s/) */
textarea{width:100%;font:inherit;border-radius:12px;padding:14px;border:1px solid #c9bfae;min-width:0;resize:vertical}
button.secondary{background:transparent;color:#8a2f2a}
.check{display:flex;gap:10px;align-items:flex-start;margin:18px 0 0}.check input{width:20px;height:20px;flex:none;margin:4px 0 0;padding:0;accent-color:#8a2f2a}
.error{color:#a32020;font-size:14px;margin:6px 0 0}.state{font-weight:700;color:#3a3f4c}
.event-card{margin:16px 0;padding:18px;border:1px solid #e4dccb;border-radius:16px;background:#fcfaf5}.event-card h2{margin:4px 0 10px}
.facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:8px 0}.facts dt{color:#6b6358;font-size:14px}.facts dd{margin:0;overflow-wrap:anywhere}
.desc{white-space:pre-wrap}
.cta{margin:16px 0;padding:18px;border:2px solid #556B3F;border-radius:16px;background:#f5f8f0}.cta h2{margin-top:0}
.button.store{display:block;text-align:center;padding:14px}
.code.small{font-size:13px;letter-spacing:0;word-break:break-all;text-align:left}
#confirm button{margin-top:10px}
.env-banner{margin:0 0 12px;padding:10px 14px;border-radius:12px;background:#fff4d6;border:1px solid #e0b84a;color:#6b4e00;font-weight:700}
/* 2026-11-23 VIP / SVIP plan cards (at a glance) */
.plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:8px 0}
.plan{border:1px solid #e4dccb;border-radius:16px;padding:16px;background:#fff;min-width:0}
.plan h3{margin:0 0 4px;font-size:18px;letter-spacing:.04em}.plan-price{margin:0;font-weight:800;font-size:17px;line-height:1.45}.plan-per{font-weight:400;font-size:13px;color:#6b6358}
.plan-lead{margin:8px 0 4px;font-size:13px;font-weight:700;color:#6b6358}.plan-points{margin:0;padding-left:1.1em}.plan-points li{font-size:14px;line-height:1.6;margin:2px 0}
.plan-vip{background:#fbf5e6;border-color:#e0c98c}.plan-vip h3{color:#8a6a1f}
.plan-svip{background:#1d1a14;border-color:#5a4a26;color:#f1e2b8}.plan-svip h3{color:#e8c96a}.plan-svip .plan-per,.plan-svip .plan-lead{color:#c9b98e}
#compare-details{margin:8px 0 16px}#compare-details summary{cursor:pointer;font-weight:700;color:#8a2f2a;padding:10px 0;min-height:44px}
@media(max-width:640px){.plans{grid-template-columns:1fr}}
.share-thumb{position:absolute;left:-9999px;top:0;width:300px;height:300px}
/* 2026-11-25 introduction page: numbered steps */
.steps{padding-left:1.4em;margin:18px 0;line-height:1.7}.steps li{margin:6px 0}
/* 2026-11-25 activity page: the way in for people who already have TOMOBA */
.have-app{margin:16px 0;padding:14px 16px;border-radius:14px;background:#f4efe4;border:1px solid #e3d8c3}.have-app h2{font-size:1.05rem;margin:0 0 6px}.have-app p{margin:6px 0}
/* 2026-11-25 activity page: venue on two lines, participant list */
.facts dd{white-space:pre-line}.people-box h3{font-size:1rem;margin:16px 0 6px}.people{margin:0;padding-left:1.6em;line-height:1.8}
/* 2026-11-25 activity page: rows with icons, venue card, capacity bar, avatar chips (Owner 「做得美观一点，不要像是列了个清单」) */
.rows{display:grid;gap:12px;margin:14px 0}.row{display:flex;gap:12px;align-items:flex-start}
.ic{flex:none;width:20px;height:20px;margin-top:2px;fill:none;stroke:#556B3F;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.row .k,.venue .k{display:block;font-size:12px;letter-spacing:.04em;color:#8b8172}.row .v{display:block;overflow-wrap:anywhere}
.venue{margin:14px 0;padding:14px 16px;border-radius:14px;background:#fff;border:1px solid #e9e1d0}
.venue .vname{display:block;font-size:1.05rem;margin:2px 0}.venue .vaddr{display:block;color:#6b6358;font-size:14px}
.venue .map{display:inline-block;margin-top:8px;font-size:14px;color:#556B3F;font-weight:600;text-decoration:none}
.people-box{margin:18px 0 6px}.phead{display:flex;align-items:baseline;justify-content:space-between}.phead h3{margin:0;font-size:1rem}
.phead .count{font-weight:700;color:#556B3F}.bar{height:6px;border-radius:6px;background:#ece5d6;margin:8px 0 4px;overflow:hidden}
.bar span{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#7c955f,#556B3F)}.left{margin:4px 0 0;font-size:13px;color:#6b6358}
/* 2026-11-25 participants as name chips; the border colour is the group (053), one colour for people not in a group yet */
.legend{list-style:none;padding:0;margin:12px 0 0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:#6b6358}
.legend li{display:flex;align-items:center;gap:6px}.legend li::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--gc)}
.chips{list-style:none;padding:0;margin:12px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:5px 11px;border-radius:999px;border:1.5px solid var(--gc);background:#fff;font-size:14px;line-height:1.3}
.chip .pname{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip .star{color:#c9a24a;font-size:12px}
.chip .sex{font-size:12px}.chip .sex.m{color:#5b7ea6}.chip .sex.f{color:#c2727f}
.chip .tag{font-size:10px;padding:0 5px;border-radius:999px;background:#ece9e2;color:#6b6358}.chip.maybe{border-style:dashed;color:#6b6358}
.chip.host{background:#fbf6e8}
.g0{--gc:#556B3F}.g1{--gc:#c07a4f}.g2{--gc:#3f7f99}.g3{--gc:#c49a3c}.g4{--gc:#8a5a9e}.g5{--gc:#2f8f6f}.g6{--gc:#b5475b}.g7{--gc:#5b6fb3}.g8{--gc:#7a6a52}.g9{--gc:#3a9aa0}.gx{--gc:#b9b1a3}
/* 2026-11-25 join: + chip at the end of the list, a bottom sheet with the app's benefits and three ways to join; full badge */
.chip.join{padding:0;border:1.5px dashed #556B3F;background:#f5f8f0}
.join-chip{margin:0;min-height:0;display:inline-flex;align-items:center;gap:4px;padding:5px 13px;border:0;border-radius:999px;background:transparent;color:#556B3F;font-weight:700;font-size:14px;line-height:1.3}
.join-chip .plus{font-size:17px;line-height:1}
.full-badge{margin-left:8px;padding:1px 8px;border-radius:999px;background:#8a2f2a;color:#fff;font-size:11px;font-weight:700;vertical-align:2px}
body.sheet-open{overflow:hidden}
.sheet{position:fixed;inset:0;z-index:50;background:rgba(30,28,24,.45);display:flex;align-items:flex-end;justify-content:center}
.sheet[hidden]{display:none}
.sheet-card{position:relative;width:100%;max-width:520px;max-height:88vh;overflow:auto;background:#fffdf8;border-radius:20px 20px 0 0;padding:22px 18px 26px;box-shadow:0 -8px 30px rgba(0,0,0,.18)}
@media (min-width:600px){.sheet{align-items:center}.sheet-card{border-radius:20px}}
.sheet-card h2{margin:0 36px 12px 0;font-size:1.15rem}
.sheet-close{position:absolute;top:10px;right:10px;margin:0;min-height:0;width:36px;height:36px;padding:0;border-radius:50%;border:0;background:#f0ebe0;color:#3a3f4c;font-size:20px;line-height:36px}
.why-box{margin:0 0 14px;padding:12px 14px;border-radius:14px;background:#f5f8f0;border:1px solid #dfe7d3}
.why-box h3{margin:0 0 6px;font-size:.95rem;color:#556B3F}.why-box ul{margin:0;padding-left:1.2em}.why-box li{margin:3px 0;font-size:14px}
button.option{display:block;width:100%;margin:10px 0 0;background:#fff;color:#3a3f4c;border:1.5px solid #d9cfbd;border-radius:.6rem;font-weight:600}
#join-sheet .hint{margin:6px 2px 0}
/* 2026-11-27 in-chat guide: WeChat / LINE cannot open apps; point at the top-right menu */
.wx-guide{position:fixed;inset:0;z-index:60;background:rgba(20,18,14,.82);color:#fff}
.wx-guide[hidden]{display:none}
.wx-arrow{position:absolute;top:6px;right:22px;width:64px;height:90px}
.wx-arrow::before{content:"";position:absolute;right:14px;top:14px;width:4px;height:70px;background:#fff;border-radius:2px;transform:rotate(-28deg);transform-origin:top}
.wx-arrow::after{content:"";position:absolute;right:4px;top:0;border:12px solid transparent;border-bottom:20px solid #fff;transform:rotate(-28deg)}
.wx-card{position:absolute;left:16px;right:16px;top:110px;max-width:480px;margin:0 auto}
.wx-card h2{margin:0 0 14px;font-size:1.35rem;color:#fff}
.wx-card ol{margin:0 0 14px;padding-left:1.4em;font-size:1.1rem;line-height:1.9}
.wx-why{font-size:14px;opacity:.85;margin:0 0 18px}
.wx-card button{background:#fff;color:#3a3f4c;border:0;border-radius:999px;padding:10px 26px;min-height:0}
