:root{color-scheme:light;--page:#f6f4ef;--card:#fffefa;--ink:#162b42;--muted:#71808d;--line:#e5e6df;--orange:#ef8a4f;--orange-dark:#a84419;--blue:#234e75;--green:#317b61;--red:#b64646;--radius:24px;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);line-height:1.5;-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button,a,input,select{-webkit-touch-callout:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ef9f67;outline-offset:3px}[hidden]{display:none!important}.site-header{max-width:1120px;margin:auto;padding:22px 30px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;gap:10px;align-items:center;font-weight:800;font-size:18px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;color:var(--card);background:var(--ink);font-size:21px}.brand-sub{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:500}.connection{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;white-space:nowrap}.connection-dot{width:7px;height:7px;border-radius:50%;background:#94a0a9}.connection.online .connection-dot{background:#3b9173}.connection.offline .connection-dot{background:var(--orange)}#app{max-width:1060px;margin:0 auto;padding:10px 20px max(36px,env(safe-area-inset-bottom));outline:none}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(32px,5vw,48px);line-height:1.15;letter-spacing:-1.5px;margin-bottom:14px}h2{font-size:21px;letter-spacing:-.5px;margin-bottom:8px}h3{font-size:15px;margin-bottom:8px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:800;color:var(--orange-dark);margin-bottom:12px}.muted{color:var(--muted)}.small{font-size:12px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:0 7px 25px #24374c04}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.section-heading h2{margin:0}.badge{font-size:11px;font-weight:700;padding:5px 10px;background:#edf1f3;border-radius:20px;white-space:nowrap}.badge.orange{background:#fff0e5;color:var(--orange-dark)}.badge.green{background:#e8f3ed;color:var(--green)}.button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:var(--card);font-weight:700;font-size:14px;transition:background .15s,transform .15s}.button:hover:not(:disabled){background:#eeefea}.button:active:not(:disabled){transform:translateY(1px)}.button.primary{color:white;background:var(--ink);border-color:var(--ink)}.button.primary:hover:not(:disabled){background:#274760}.button.accent{color:#fff;background:var(--orange-dark);border-color:var(--orange-dark)}.button.accent:hover:not(:disabled){background:#923a16}.button.soft{background:#edf2f5;color:var(--blue);border-color:#dde7ed}.button.danger{background:#fff0ee;color:var(--red);border-color:#f0d8d4}.button.wide{width:100%}.button.icon{padding:10px;min-width:46px}.button svg,.text-button svg{width:18px;height:18px;flex-shrink:0}.text-button{border:0;background:transparent;color:var(--muted);min-height:44px;font-size:12px;text-decoration:underline;text-underline-offset:3px}.actions{display:flex;flex-wrap:wrap;gap:10px}.actions>.button{flex:1}.field{display:block;margin-bottom:16px}.field>span{display:block;font-size:12px;font-weight:700;margin-bottom:7px}.field input,.field select{width:100%;min-width:0;min-height:48px;border:1px solid #dfe3e3;border-radius:12px;background:#f9faf6;color:var(--ink);padding:11px 13px;outline-offset:2px}.field input::placeholder{color:#a0a7ab}.field-note{display:block;font-size:11px;color:var(--muted);margin-top:6px}.form-error{background:#fff0ee;border-radius:12px;color:var(--red);padding:10px 13px;font-size:13px;margin-bottom:14px}.divider{height:1px;background:var(--line);margin:21px 0}.landing-grid{display:grid;grid-template-columns:1fr .9fr;gap:24px;align-items:stretch}.welcome{padding:34px 30px;background:#eaece5;position:relative;overflow:hidden;min-height:465px;display:flex;flex-direction:column}.welcome>p{max-width:320px;line-height:1.8;font-size:14px}.welcome .eyebrow{color:#5c7261}.party-art{height:180px;position:relative;display:flex;align-items:center;justify-content:center;margin-top:auto;isolation:isolate}.party-orbit{position:absolute;border:1px solid #a4b09f66;border-radius:50%;width:270px;height:170px;transform:rotate(-15deg)}.party-orbit.second{transform:rotate(15deg);width:300px;height:130px}.mask{position:relative;display:flex;gap:8px;transform:rotate(-8deg);border-radius:42% 48% 45% 45%;background:var(--ink);padding:22px 20px;box-shadow:12px 17px 0 #bcc6b840}.mask.second{background:var(--orange);transform:rotate(12deg);margin:40px 0 0 -5px;z-index:-1}.eye{display:block;background:#fff9ed;width:38px;height:23px;border-radius:50%;position:relative}.eye:after{content:"";position:absolute;background:var(--ink);width:9px;height:12px;border-radius:50%;left:17px;top:5px}.mask.second .eye:after{left:9px}.star{position:absolute;color:var(--orange-dark);font-size:25px;right:12%;top:4px}.star.second{font-size:14px;left:9%;top:120px}.welcome-foot{font-size:11px;color:#617066;display:flex;gap:16px;margin-top:20px}.join-card{display:flex;flex-direction:column;justify-content:center}.tabs{display:flex;background:#efefea;padding:4px;border-radius:14px;margin-bottom:25px;gap:3px}.tab{flex:1;border:0;background:transparent;min-height:44px;font-size:13px;font-weight:700;color:var(--muted);border-radius:11px}.tab.active{background:var(--card);color:var(--ink);box-shadow:0 2px 6px #24374c09}.rules-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}.rule{padding:20px;background:#fffefa99;border:1px solid var(--line);border-radius:20px}.rule-number{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#e8ece6;color:#5b7162;margin-bottom:11px;font-size:12px;font-weight:800}.rule h3{font-size:13px;margin-bottom:4px}.rule p{font-size:12px;margin:0;color:var(--muted)}.page-foot{margin:26px 0 0;text-align:center;font-size:11px;color:var(--muted)}.room-head{background:var(--ink);color:#fff;border-radius:24px;padding:25px 28px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:18px}.room-head .eyebrow{color:#edb48f;margin-bottom:6px}.room-head h1{font-size:27px;letter-spacing:-.5px;margin:0}.room-head p{color:#b3c3d0;margin:5px 0 0;font-size:12px}.room-head .button{background:#ffffff12;color:#fff;border-color:#ffffff20}.room-head .button:hover:not(:disabled){background:#ffffff25}.room-head-actions{display:flex;gap:8px}.room-code{font-variant-numeric:tabular-nums;letter-spacing:3px}.room-grid{display:grid;grid-template-columns:1fr .86fr;gap:22px;align-items:start}.room-main,.room-side{display:flex;flex-direction:column;gap:18px;min-width:0}.phase-line{display:flex;gap:5px;align-items:center;margin-bottom:19px}.phase-dot{height:4px;flex:1;background:#e6e8e4;border-radius:5px}.phase-dot.active{background:var(--orange)}.phase-intro{margin-bottom:20px}.phase-intro p{color:var(--muted);font-size:13px;margin-bottom:0;line-height:1.8}.you-line{display:flex;gap:10px;align-items:center;margin-bottom:18px}.avatar{flex-shrink:0;display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:#e9eee8;color:#375c4b;font-size:14px;font-weight:800}.avatar.orange{background:#f9e7d8;color:#ad5a2b}.you-line strong{display:block;font-size:14px;word-break:break-word}.you-line span{font-size:11px;color:var(--muted)}.word-card{background:#fff3e8;border:1px solid #ead4bf;border-radius:18px;padding:20px;text-align:center;position:relative;overflow:hidden}.word-card h3{margin:0 0 5px;font-size:14px}.word-card p{color:#896d54;font-size:11px;margin-bottom:16px}.hold-word{background:#fffefa;border:1px solid #dfc4ad;color:var(--orange-dark);width:100%;min-height:72px;border-radius:14px;font-size:16px;font-weight:800;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;display:grid;place-items:center;padding:12px}.hold-word.revealing{background:var(--ink);color:#fff;border-color:var(--ink)}.secret-word{font-size:clamp(23px,4vw,32px);line-height:1.35;letter-spacing:1px;word-break:break-word;pointer-events:none}.hold-caption{font-size:12px;pointer-events:none}.word-warning{margin:12px 0 0!important;color:#956f50!important;font-size:10px!important}.status-note{border-radius:15px;padding:14px 16px;font-size:12px;line-height:1.75;background:#eef3f5;color:#496477;margin:15px 0}.status-note.orange{background:#fff2e5;color:#975629}.status-note.green{background:#e9f3ec;color:#3d7357}.player-list{display:flex;flex-direction:column;gap:9px}.player{display:flex;gap:10px;align-items:center;border:1px solid #e8e9e2;border-radius:14px;padding:11px;min-width:0;background:#fafbf7}.player.me{border-color:#b4c5b9;background:#f1f6ef}.player.out{opacity:.6}.player-info{flex:1;min-width:0}.player-name{font-size:13px;font-weight:700;overflow-wrap:anywhere}.player-name .self-label{font-size:10px;color:var(--green);margin-left:5px}.player-detail{font-size:10px;color:var(--muted);margin-top:2px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.online-dot{width:5px;height:5px;border-radius:50%;background:#bcc2c3;display:inline-block}.online-dot.live{background:#4b9873}.player-status{font-size:10px;color:var(--muted);text-align:right;flex-shrink:0}.player-status.ready{color:var(--green)}.role{display:inline-block;font-size:10px;background:#edf3ec;color:var(--green);padding:2px 6px;border-radius:6px}.role.spy{color:#af572c;background:#fbecdf}.count{font-variant-numeric:tabular-nums}.settings-box{background:#f7f8f4;border-radius:16px;padding:15px;margin:17px 0}.settings-box summary{font-weight:700;font-size:12px;min-height:29px;cursor:pointer}.settings-form{padding-top:12px}.settings-form .field{margin-bottom:12px}.settings-form .field input,.settings-form .field select{background:var(--card);min-height:44px}.check-field{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:14px}.check-field input{width:19px;height:19px}.host-note{font-size:11px;color:var(--muted);text-align:center;margin:11px 0 0}.vote-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}.vote-choice{min-height:69px;text-align:left;border:1px solid var(--line);background:#fafbf7;border-radius:14px;padding:12px;display:flex;gap:10px;align-items:center;min-width:0}.vote-choice>span:last-child{min-width:0;font-size:13px;font-weight:700;overflow-wrap:anywhere}.vote-choice.selected{background:#eef5ee;border-color:#8bae96;box-shadow:inset 0 0 0 1px #8bae96}.vote-choice .seat{display:block;font-size:10px;font-weight:400;color:var(--muted)}.vote-choice.abstain{grid-column:1/-1;justify-content:center;text-align:center;min-height:46px;color:var(--muted)}.vote-progress{height:5px;background:#e8ebe6;border-radius:10px;overflow:hidden;margin:12px 0 5px}.vote-progress>span{display:block;height:100%;background:var(--green);transition:width .3s}.vote-caption{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.result-title{font-size:25px;margin-bottom:8px;overflow-wrap:anywhere}.vote-table{margin:16px 0;border:1px solid var(--line);border-radius:14px;overflow:hidden}.vote-row{display:flex;gap:8px;justify-content:space-between;font-size:12px;padding:10px 12px;background:#fafbf7;border-top:1px solid var(--line)}.vote-row:first-child{border-top:0}.vote-row>span{min-width:0;overflow-wrap:anywhere}.vote-arrow{color:#9aa7ae;flex-shrink:0}.winner-card{text-align:center;padding:15px 0}.winner-symbol{display:grid;place-items:center;width:65px;height:65px;background:#edf3e8;border-radius:23px;margin:0 auto 17px;font-size:30px;color:var(--green)}.winner-card h2{font-size:28px}.word-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.word-pair>div{background:#f0f4ed;border:1px solid #dde6d8;border-radius:15px;padding:16px;min-width:0}.word-pair>div:last-child{background:#fff0e4;border-color:#eedbc8}.word-pair p{font-size:11px;color:var(--muted);margin-bottom:5px}.word-pair strong{font-size:19px;overflow-wrap:anywhere}.room-help{padding:17px 22px;background:#eceee7;border-radius:18px;font-size:11px;color:#657362;line-height:1.8}.room-help p{margin-bottom:7px}.room-help p:last-child{margin-bottom:0}.empty{font-size:12px;text-align:center;color:var(--muted);padding:20px}.toast{position:fixed;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:20;background:var(--ink);color:white;box-shadow:0 6px 25px #162b4226;border-radius:14px;padding:12px 18px;font-size:13px;max-width:calc(100vw - 32px);width:max-content;pointer-events:none}.loading-card{text-align:center;padding:100px 20px;color:var(--muted);font-size:13px}.spinner{display:inline-block;width:23px;height:23px;border:2px solid #d6ded9;border-top-color:var(--green);border-radius:50%;animation:spin .7s linear infinite}.loading-card p{margin-top:13px}.noscript{text-align:center;padding:30px}.error-card{text-align:center;max-width:480px;margin:60px auto}.error-card p{color:var(--muted);font-size:13px}.room-seats{font-size:11px;color:var(--muted);margin:11px 0 0}.host-action{margin-top:18px}.loading-inline{font-size:12px;color:var(--muted);padding:8px 0;text-align:center}.privacy-note{text-align:center;color:var(--muted);font-size:11px;margin:15px 0 0}.settings-password{font-size:11px;color:var(--muted);margin-bottom:12px}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:720px){.site-header{padding:18px 18px 14px}.brand{font-size:16px}.brand-mark{height:35px;width:35px;border-radius:11px}.connection{font-size:10px}#app{padding:5px 14px max(28px,env(safe-area-inset-bottom))}.landing-grid,.room-grid{grid-template-columns:1fr;gap:16px}.welcome{min-height:280px;padding:26px 24px}.welcome h1{font-size:35px;margin-bottom:10px}.welcome>p{font-size:12px;max-width:calc(100% - 20px);margin-bottom:4px}.party-art{height:125px;margin-top:0;align-self:flex-end;width:190px;margin-top:-15px}.party-orbit{width:180px;height:104px}.party-orbit.second{width:205px;height:95px}.mask{padding:15px 13px;gap:5px}.eye{width:26px;height:17px}.eye:after{width:7px;height:9px;left:11px;top:4px}.mask.second .eye:after{left:6px}.mask.second{margin:24px 0 0 -5px}.star{font-size:17px}.star.second{top:92px}.welcome-foot{font-size:10px;margin-top:-9px;gap:12px}.card{padding:21px;border-radius:21px}.join-card{padding-top:21px}.tabs{margin-bottom:20px}.rules-row{gap:8px;margin-top:16px}.rule{padding:14px 11px;border-radius:15px}.rule-number{margin-bottom:9px}.rule h3{font-size:11px}.rule p{font-size:10px;line-height:1.65}.room-head{padding:21px;margin-bottom:16px;border-radius:21px;align-items:flex-start}.room-head h1{font-size:22px}.room-head-actions{flex-direction:column;gap:5px}.room-head-actions .button{min-height:42px;font-size:11px;padding:9px 11px}.room-main,.room-side{gap:15px}.word-card{padding:17px}.room-side{margin-top:0}.room-help{font-size:11px;padding:17px}.vote-grid{gap:8px}.vote-choice{padding:10px}.vote-choice .avatar{width:31px;height:31px;border-radius:10px;font-size:12px}.vote-choice>span:last-child{font-size:12px}.section-heading h2{font-size:19px}.page-foot{margin-top:20px}.room-code{letter-spacing:2px}.result-title{font-size:23px}.phase-intro p{font-size:12px}.you-line{margin-bottom:15px}.host-action .actions{flex-direction:column}.word-pair strong{font-size:18px}.word-pair>div{padding:15px 12px}}
@media(max-width:360px){.site-header{padding:15px 14px}.brand-sub{letter-spacing:1px}.connection{gap:4px}#app{padding-left:10px;padding-right:10px}.card{padding:18px}.welcome{padding:23px 20px}.room-head{padding:18px}.rules-row{grid-template-columns:1fr}.rule{display:grid;grid-template-columns:28px 1fr;column-gap:10px}.rule-number{grid-row:1/3;margin:0}.rule h3{font-size:12px}.rule p{font-size:11px}.vote-grid{grid-template-columns:1fr}.room-head h1{font-size:20px}}
.settings-box summary{min-height:44px;display:list-item;padding-top:9px}.check-field{min-height:44px}.room-head-actions .button{min-height:44px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
