:root{--bg:#fff;--text:#000;--secondary:#999;--greybg:#f2f2f2;--divider:rgba(0,0,0,.08);--match:#f0443a;--font:-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC",system-ui,sans-serif}@media(prefers-color-scheme:dark){:root{--bg:#000;--text:#fff;--secondary:#999;--greybg:#1c1c1e;--divider:hsla(0,0%,100%,.12)}}*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}body,html{background:var(--bg);color:var(--text);font-family:var(--font)}body{font-size:15px;line-height:21px}.phone{background:var(--bg);flex-direction:column;margin:0 auto;min-height:844px;width:390px}.phone,.topbar{display:flex;position:relative}.topbar{align-items:center;border-bottom:1px solid var(--divider);height:48px;justify-content:center}.topbar .title{font-size:17px;font-weight:700}.topbar .back{background:none;border:0;color:var(--text);font-size:22px;height:44px;left:12px;position:absolute;width:44px}.content{flex:1}.sec-label{color:var(--secondary);font-size:13px;padding:20px 16px 8px}.row{border-bottom:1px solid var(--divider);color:var(--text);gap:12px;min-height:60px;padding:14px 16px;text-decoration:none}.row,.row .ico{align-items:center;display:flex}.row .ico{background:var(--greybg);border-radius:50%;flex-shrink:0;height:40px;justify-content:center;width:40px}.row .ico svg{fill:none;height:22px;stroke:var(--text);stroke-width:1.6;width:22px}.row .body{flex:1;min-width:0}.row .ttl{font-size:15px;font-weight:600}.row .sub{margin-top:2px}.row .meta,.row .sub{color:var(--secondary);font-size:13px}.row .meta{align-items:center;display:flex;gap:6px}.row .chev{color:var(--secondary)}.btn{align-items:center;border:0;border-radius:10px;cursor:pointer;display:flex;font-size:16px;font-weight:600;height:50px;justify-content:center;width:100%}.btn-primary{background:var(--text);color:var(--bg)}.btn-ghost{background:var(--greybg);color:var(--text)}.pad{padding:16px}.tabbar{background:var(--bg);border-top:1px solid var(--divider);bottom:0;display:flex;left:0;margin:0 auto;max-width:390px;padding-bottom:env(safe-area-inset-bottom);position:fixed;right:0;z-index:40}.tabbar a{align-items:center;color:var(--secondary);display:flex;flex:1;flex-direction:column;gap:2px;justify-content:center;padding:7px 0;text-decoration:none}.tabbar svg{fill:none;height:24px;stroke:currentColor;stroke-width:1.6;width:24px}.tabbar .lbl{font-size:11px}.tabbar a.active{color:var(--text)}.tabbar a.active svg{fill:var(--text);stroke:var(--text)}.content{padding-bottom:72px}.heart{color:var(--match);fill:var(--match)}.match-pill{color:var(--match);font-weight:600}.input{background:var(--greybg);border:1px solid var(--divider);border-radius:10px;color:var(--text);font-family:var(--font);font-size:16px;height:48px;padding:0 14px;width:100%}textarea.input{height:auto;line-height:21px;min-height:120px;padding:12px 14px;resize:vertical}.field{padding:8px 16px 4px}.field label{display:block;margin-bottom:6px}.field label,.hint{color:var(--secondary);font-size:13px}.err,.hint{padding:8px 16px}.err{color:var(--text);font-size:13px}.center-col{align-items:center;display:flex;flex:1;flex-direction:column;gap:12px;justify-content:center;padding:32px 24px;text-align:center}.big{font-size:22px;font-weight:700}.pill-row{display:flex;flex-wrap:wrap;gap:8px;padding:8px 16px}.pill{background:var(--greybg);border:1px solid var(--divider);border-radius:999px;color:var(--text);cursor:pointer;font-size:14px;padding:8px 14px}.pill.on{background:var(--text);color:var(--bg)}.count-badge{color:var(--secondary);font-size:13px}.lb-row{align-items:center;border-bottom:1px solid var(--divider);display:flex;justify-content:space-between;padding:14px 16px}.lb-rank{color:var(--secondary);font-weight:700;width:28px}.vote-card{padding:20px 16px}.vote-q{font-size:20px;font-weight:700;margin-bottom:16px}.vote-opt{background:var(--bg);border:1px solid var(--divider);border-radius:10px;color:var(--text);cursor:pointer;font-size:16px;font-weight:600;height:56px;margin-bottom:10px;width:100%}.vote-opt:active{background:var(--greybg)}.reveal-stage{background:#000;inset:0;position:fixed;z-index:50}.reveal-card,.reveal-stage{align-items:center;display:flex;justify-content:center}.reveal-card{background:#111;border-radius:16px;color:#fff;flex-direction:column;gap:14px;height:360px;transform:rotateY(90deg);transition:transform .5s ease;width:260px}.reveal-card.flipped{transform:rotateY(0)}.reveal-heart{animation:pop .5s ease .4s both;color:var(--match);font-size:72px}@keyframes pop{0%{transform:scale(0)}70%{transform:scale(1.25)}to{transform:scale(1)}}.phone{min-height:100dvh;width:100%}.phone,.tabbar{max-width:480px}.content{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.hero{background:var(--text);color:var(--bg);display:flex;flex-direction:column;gap:20px;justify-content:space-between;min-height:45dvh;padding:28px 20px 24px;text-decoration:none}.hero .hero-heart{fill:var(--match);height:72px;width:72px}.hero .hero-title{font-size:32px;font-weight:800;letter-spacing:.5px;line-height:38px}.hero .hero-sub{line-height:22px;margin-top:8px}.hero .hero-stat,.hero .hero-sub{font-size:15px;opacity:.72}.hero .hero-stat b{font-size:22px;margin:0 2px;opacity:1}.btn-xl{border-radius:10px;font-size:18px;height:56px}.hero .btn-xl{background:var(--bg);color:var(--text)}.hero-incoming{font-size:15px;font-weight:600}.mini-label{color:var(--secondary);font-size:13px;padding:22px 16px 6px}.row.mini{min-height:52px;padding:10px 16px}.row.mini .ico{height:34px;width:34px}.row.mini .ico svg{height:18px;width:18px}.row.mini .ttl{font-size:14px}.focus-page{background:var(--bg);display:flex;flex-direction:column;min-height:100dvh}.focus-body{display:flex;flex:1;flex-direction:column;justify-content:center;padding:24px 20px 140px}.focus-label{font-size:26px;font-weight:800;line-height:32px;margin-bottom:20px}.focus-input{background:transparent;border:0;border-bottom:2px solid var(--text);border-radius:0;color:var(--text);font-family:var(--font);font-size:28px;font-weight:700;height:64px;letter-spacing:1px;outline:none;width:100%}.focus-input::-moz-placeholder{color:var(--secondary);font-weight:500}.focus-input::placeholder{color:var(--secondary);font-weight:500}.focus-note{color:var(--secondary);font-size:15px;line-height:22px;margin-top:16px}.focus-id{font-size:44px;font-weight:800;letter-spacing:1px;line-height:52px;margin-bottom:20px;word-break:break-all}.focus-quote{font-size:20px;font-weight:700;line-height:28px}.kb-bar{background:var(--bg);display:flex;flex-direction:column;gap:10px;left:0;margin:0 auto;max-width:480px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));position:fixed;right:0;z-index:60}.stat-block{padding:28px 20px 8px}.stat-line{font-size:20px;font-weight:700;line-height:28px}.stat-num{font-size:64px;font-weight:800;line-height:64px;margin:0 6px;vertical-align:-6px}.stat-sub{color:var(--secondary);font-size:14px;margin-top:6px}.status-matched{color:var(--match);font-weight:700}.status-waiting{color:var(--secondary)}.item-id{font-size:20px;font-weight:700;letter-spacing:.5px}.reveal-stage{padding-bottom:150px}.reveal-card{border-radius:20px;gap:18px;height:min(62dvh,480px);padding:0 16px;width:min(84vw,340px)}.reveal-heart{font-size:112px;line-height:1}.reveal-title{color:#fff;font-size:30px;font-weight:800}.reveal-name{color:#fff;font-size:26px;font-weight:700;word-break:break-all}.reveal-bar{bottom:0;display:flex;flex-direction:column;gap:10px;left:0;margin:0 auto;max-width:480px;padding:12px 16px calc(16px + env(safe-area-inset-bottom));position:fixed;right:0;z-index:60}button,input,textarea{font-family:var(--font)}.hero,a.btn,a.row{text-decoration:none}
