:root{color-scheme:light;--bg:#f7f8f2;--paper:#fff;--ink:#25372f;--muted:#879089;--green:#35694d;--mint:#e5efda;--line:#e7eae2;--violet:#f0edfa;--purple:#797094;--shadow:0 16px 60px #32472d09;font-family:"Avenir Next","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:14px}button,input,textarea{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit;background:transparent;transition:background .16s,transform .16s}button:disabled{opacity:.45;cursor:not-allowed}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,a:focus-visible{outline:3px solid #84aa6b;outline-offset:3px}input{min-width:0;border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px 16px;color:var(--ink);outline:none}input:focus{border-color:#90ac7b;box-shadow:0 0 0 3px #90ac7b18}input::placeholder{color:#a2a79d}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}small{font-size:11px}b{font-weight:600}.brand{display:flex;gap:11px;align-items:center;font-size:20px;font-weight:750;letter-spacing:1px}.brand small{display:block;font-size:8px;letter-spacing:1.7px;font-weight:600;color:var(--muted);margin-top:5px}.brand-icon{width:44px;height:44px;color:var(--green);background:#e7eedc;border-radius:15px;padding:5px;display:block}.brand-icon svg{width:100%;height:100%}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--muted);font-weight:600}.live-dot{display:inline-block;width:7px;height:7px;background:#83a56b;border-radius:50%;box-shadow:0 0 0 4px #83a56b12;margin-right:7px}.text-button{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;padding:10px 0}.primary,.secondary{padding:13px 20px;border-radius:12px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:14px;min-height:46px}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:#28563e}.secondary{background:#f2f5ec;border:1px solid #e2e8d9;color:#54724c}.secondary:hover:not(:disabled){background:#e7eddf}.wide{width:100%;margin-top:10px}.muted{color:var(--muted);font-size:12px;line-height:1.7}.fine{font-size:11px;color:var(--muted);line-height:1.8}.home{max-width:1280px;margin:auto;padding:35px 58px 22px}.home>header{display:flex;justify-content:space-between;align-items:center}.landing{display:grid;grid-template-columns:1.1fr 1fr;gap:100px;padding:74px 16px 68px;align-items:center}.intro>.eyebrow{letter-spacing:2px;font-size:11px;color:#6c7d65}.intro h1{font-size:72px;line-height:1.25;letter-spacing:-4px;font-weight:650;margin:26px 0}.ink-green{position:relative;color:#4c7950;white-space:nowrap}.underline{position:absolute;bottom:1px;left:0;right:0;border-bottom:6px solid #d9e6c1;z-index:-1;transform:rotate(-3deg)}.lede{font-size:16px;line-height:1.9;color:#7e887c}.features{display:flex;gap:23px;color:#7b8776;font-size:11px;margin:26px 0 30px}.entry{max-width:400px}.entry label{display:block;font-size:11px;margin-bottom:9px;color:#6f7b6d}.entry>input{width:100%;background:#ffffffa8}.entry-actions{display:flex;gap:10px;margin-top:12px}.entry-actions>*{flex:1}.entry-actions .primary{justify-content:space-between}.join-line{display:flex;border:1px solid var(--line);background:#fff;border-radius:12px;margin-top:16px;overflow:hidden}.join-line input{border:0;box-shadow:none;flex:1;font-size:12px;letter-spacing:1px}.join-line button{padding:10px 15px;font-size:12px;white-space:nowrap;color:var(--green)}.entry>.fine{margin-top:13px;font-size:10px}.preview{position:relative;transform:rotate(2deg);padding:0 8px}.preview-label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px;color:#8c9487;margin:0 10px 14px}.preview-window{border:1px solid #e2e6da;background:#fff;border-radius:24px;box-shadow:0 25px 70px #5262410f;overflow:hidden}.preview-head{display:flex;gap:12px;padding:21px 23px;border-bottom:1px solid var(--line);align-items:center}.preview-head small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.mini-orb{display:grid;place-items:center;border-radius:14px;background:var(--mint);font-size:23px;color:var(--green);width:43px;height:43px}.dots{margin-left:auto;color:#9ca393;letter-spacing:2px}.preview-body{padding:16px 23px 24px;background:#fcfcf8}.date-chip{text-align:center;color:#a4aa9e;font-size:10px;letter-spacing:.6px;margin:7px 0 23px}.message{display:flex;gap:11px;margin:0 0 22px;align-items:flex-start}.avatar{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:13px;flex-shrink:0;font-size:22px;border:1px solid #00000003}.a0{background:#f3edcd}.a1{background:#f6e5df}.a2{background:#e6eddc}.a3{background:#f6e9d6}.a4{background:#e7e6f3}.a5{background:#f4e4e9}.a6{background:#e6f0e2}.a7{background:#eee1ef}.host-avatar{width:37px;height:37px;display:inline-grid;place-items:center;flex-shrink:0;border-radius:13px;background:#e5eedb;color:#5c7d45;font-size:24px}.sender{font-size:11px;color:#7d877b;margin:0 0 7px;display:flex;align-items:center;gap:6px;line-height:1.3}.sender>span{background:#edf2e7;color:#7e9471;padding:2px 4px;border-radius:4px;font-size:8px}.sender em{font-style:normal;font-size:9px;color:#9286a6}.sender time{font-size:9px;color:#b1b6ad;margin-left:5px}.bubble{padding:12px 15px;background:#fff;border:1px solid #e9ece3;border-radius:0 14px 14px 14px;line-height:1.8;max-width:480px;font-size:13px;overflow-wrap:anywhere}.host .bubble{background:#f0f4e9;border-color:#e9eedf;color:#64775b}.message.own{flex-direction:row-reverse}.own .sender{justify-content:flex-end}.own .bubble{background:#e2edda;border-color:#dbe7d1;border-radius:14px 0 14px 14px}.preview .message{margin-bottom:20px}.preview .bubble{font-size:12px}.preview-secret{background:#f1edf8;border:1px solid #e7e1f0;border-radius:15px;margin:26px 0 20px 48px;padding:16px 20px;position:relative;overflow:hidden}.secret-label{font-size:9px;color:#9b8aae;letter-spacing:1px}.secret-title{font-size:17px;margin:12px 0 6px;color:#665777;font-weight:600}.preview-secret p{font-size:11px;line-height:1.9;color:#92859f}.role-stamp{position:absolute;right:13px;top:28px;font:italic 80px Georgia,serif;color:#ded5eb;transform:rotate(-14deg)}.typing{display:flex;gap:3px;align-items:center;margin:18px 0 0 50px;color:#aab19f;font-size:9px}.typing i{width:3px;height:3px;background:#aab19f;border-radius:50%}.typing span{margin-left:6px}.sticker{position:absolute;right:-44px;bottom:53px;background:#e7ecce;border:5px solid #f7f8f2;border-radius:18px;transform:rotate(-10deg);padding:13px 18px;font-size:11px;line-height:1.7;color:#768247;box-shadow:0 8px 20px #78824a10}.sticker b{font-size:17px;letter-spacing:2px}.sticker>span{position:absolute;right:-10px;top:-16px;font-size:38px;color:#aebc77}.home footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;font-size:10px;color:#9ca591;letter-spacing:.6px}.home footer span:last-child{font-size:8px;letter-spacing:1.8px}
/* The game is a conversation, with quieter supporting rails. */
.game-shell{display:grid;grid-template-columns:245px minmax(340px,1fr) 270px;max-width:1600px;margin:auto;height:100dvh;min-height:500px}.sidebar{padding:31px 22px 20px;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#f7f8f2}.sidebar .brand{font-size:19px;gap:9px}.sidebar .brand-icon{width:39px;height:39px;border-radius:13px}.sidebar .brand small{font-size:7px;letter-spacing:1.2px}.side-label{font-size:10px;color:#99a08f;letter-spacing:1px;margin:34px 0 14px;display:flex;justify-content:space-between}.room-tile{display:flex;gap:10px;background:#eaf0df;border:1px solid #e1e9d3;padding:12px 10px;border-radius:13px;align-items:center}.room-symbol{font-size:25px;color:#70905b}.room-tile b{font-size:12px}.room-tile small{display:block;color:#8c9b7c;font-size:9px;margin-top:5px}.room-tile>.live-dot{width:5px;height:5px;margin-left:auto;margin-right:2px}.members-title{margin-top:27px}.member{display:flex;gap:10px;align-items:center;padding:9px 2px}.member .avatar{width:35px;height:35px;font-size:20px;border-radius:11px}.member b{font-size:11px;font-weight:500}.member small{display:block;font-size:9px;color:#9da493;margin-top:5px}.you{color:#91a07e;background:#eaf0df;border-radius:4px;padding:1px 4px;font-size:8px}.member-status{margin-left:auto;font-size:10px;color:#9da691}.member-status i{display:block;width:5px;height:5px;border-radius:50%;background:#afc397}.member-status .offline{background:#d2d6cc}.member-status.ready{color:#7a9d5e}.out{opacity:.5}.invite{display:flex;justify-content:space-between;align-items:center;width:100%;padding:13px 10px;border:1px dashed #d8dfcc;border-radius:10px;font-size:11px;color:#89977d;margin-top:19px}.invite:hover{background:#edf1e6}.sidebar-bottom{margin-top:auto;padding-top:22px}.host-note{display:flex;align-items:center;gap:9px;padding:14px 0;border-top:1px solid var(--line)}.host-note .host-avatar{width:30px;height:30px;font-size:19px;border-radius:10px}.host-note p b{font-size:10px;font-weight:500}.host-note small{display:block;font-size:9px;color:#a1a995;margin-top:5px}.sidebar-bottom .text-button{width:100%;color:#95a087;font-size:10px;padding:8px 0}.chat-main{background:#fff;display:flex;flex-direction:column;min-width:0;min-height:0}.chat-header{padding:27px 30px 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f1eb;gap:10px}.chat-header .eyebrow{font-size:8px;letter-spacing:1.8px;color:#b0b7a5;margin-bottom:10px}.chat-header h1{font-size:20px;font-weight:600;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.room-code{font-size:10px;color:#9aa38d;background:#f6f8f0;padding:5px 7px;border-radius:5px;letter-spacing:1px;cursor:pointer;font-weight:400}.connection{font-size:10px;color:#9da88e;white-space:nowrap}.connection .live-dot{width:5px;height:5px;margin-right:5px}.connection.disconnected{color:#bb8f59}.connection.disconnected .live-dot{background:#d2a867}.stage-bar{background:#f4f7ed;margin:19px 28px 0;padding:12px 16px;border-radius:12px;display:flex;align-items:center;gap:12px;border:1px solid #edf1e4}.stage-dot{font-size:22px;color:#8ba16b}.stage-bar b{font-size:11px;font-weight:600;margin-right:12px}.stage-bar div>span{color:#9ca88a;font-size:10px}.stage-bar time{margin-left:auto;color:#78915c;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:1px}.stage-bar time.urgent{color:#bd7959}.chat-log{flex:1;overflow-y:auto;padding:25px 30px 8px;scrollbar-width:thin;scrollbar-color:#e8ecdf transparent;overscroll-behavior:contain}.chat-log .message{margin-bottom:23px}.chat-log .date-chip{margin-bottom:25px}.message>div{max-width:calc(100% - 48px)}.private-message .bubble{background:#f6f2fb;border-color:#eee7f6;color:#8b7d9c}.composer-area{padding:12px 28px 16px;border-top:1px solid #f3f4ef;background:#fff}.composer{display:flex;align-items:center;background:#f8f9f4;border:1px solid #edf0e4;border-radius:14px;padding:7px 8px 7px 12px;gap:8px}.composer-plus{color:#a6b099;font-size:21px}.composer input{border:0;background:transparent;padding:10px 4px;box-shadow:none;flex:1;font-size:12px}.composer button{background:#dce9ca;color:#658247;border-radius:10px;width:35px;height:35px;font-size:23px}.composer-hint{display:flex;justify-content:space-between;font-size:9px;color:#b0b7a4;margin-top:9px}.rightbar{padding:35px 24px;background:#fafbf6;border-left:1px solid var(--line);overflow:auto}.rightbar>.eyebrow{font-size:8px;letter-spacing:1.6px}.rightbar>h2{font-size:19px;font-weight:500;margin:10px 0 23px}.role-summary{background:#f0edf6;border:1px solid #e9e4f1;border-radius:16px;padding:17px 18px;position:relative;overflow:hidden}.role-summary .card-meta{font-size:9px;color:#a299b1;letter-spacing:.5px}.role-summary h3{font-size:21px;color:#756780;margin:20px 0 8px;font-weight:500}.role-summary p{color:#a096aa;font-size:10px;line-height:1.9;position:relative;z-index:1}.role-letter{font:italic 86px Georgia,serif;color:#e1d9ec;position:absolute;right:15px;top:24px;transform:rotate(-10deg)}.rightbar .side-label{margin-top:28px}.timeline{padding:0;margin:0;list-style:none}.timeline li{display:flex;align-items:flex-start;gap:12px;padding:0 0 23px;position:relative}.timeline li:not(:last-child):after{content:'';position:absolute;left:12px;top:27px;height:20px;border-left:1px dashed #e0e5d6}.timeline li>span{width:26px;height:26px;border:1px solid #e4e8da;border-radius:9px;display:grid;place-items:center;font-size:9px;color:#b2b9a5;background:#fafbf6}.timeline b{font-size:11px;color:#a7af9a;font-weight:400}.timeline small{display:block;font-size:9px;color:#c0c5b6;margin-top:4px}.timeline .active>span{background:#dfeacc;border-color:#d5e2bf;color:#69894d}.timeline .active b{color:#648149;font-weight:600}.timeline .active small{color:#9aab86}.timeline .active>.live-dot{margin:8px 0 0 auto;width:5px;height:5px}.timeline .passed>span{background:#f0f3e8;color:#8c9e75}.tip{display:flex;gap:10px;border-top:1px solid var(--line);padding:20px 0;font-size:10px;color:#9aa58a;line-height:1.8}.tip>span{font-size:25px;color:#b5c48e}.tip b{font-size:10px;font-weight:400;color:#afb6a2}.shot-meter{display:flex;justify-content:space-between;color:#a1ac8f;font-size:10px}.shot-meter b{font-size:18px;font-weight:500;color:#829a65}.shot-meter small{color:#bdc5af;font-size:10px}.action-wrap{margin:0 0 16px 48px}.action-card{border-radius:15px;padding:20px;border:1px solid #e5eadc;background:#f7f9f1;max-width:540px;animation:arrive .25s ease-out}.private-card{background:#f5f1fa;border-color:#e9e1f2}.card-meta{display:flex;justify-content:space-between;font-size:9px;color:#9b8dac;letter-spacing:.5px;margin-bottom:14px}.card-meta span{font-size:8px;letter-spacing:1px;opacity:.65}.action-card h3{font-size:15px;font-weight:600;margin-bottom:8px}.private-card h3{color:#786487}.action-card p{font-size:11px;line-height:1.9;color:#97a087;margin-bottom:12px}.private-card p{color:#a094ad}.action-card .primary{font-size:11px;min-height:40px;padding:10px 14px}.action-card .secondary{font-size:11px;min-height:38px;padding:10px;background:#ffffff85}.card-heading{display:flex;gap:11px;align-items:center}.card-heading p{margin-bottom:0}.card-icon{font-size:30px;color:#92a578}.button-row{display:flex;gap:10px;margin-top:18px;align-items:center}.button-row>button{flex:1;font-size:11px}.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0}.choice{background:#ffffff80;border:1px solid #e6e0ec;border-radius:10px;display:flex;gap:7px;align-items:center;padding:8px;text-align:left;position:relative;min-width:0}.choice .avatar{width:28px;height:28px;font-size:17px;border-radius:9px}.choice>span:not(.avatar){font-size:8px;color:#b0a4b8;min-width:0}.choice b{font-size:10px;color:#8e7b9d;display:block;margin-top:3px;max-width:65px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.choice.selected{border-color:#a08ab8;background:#eae1f4}.choice i{position:absolute;right:4px;top:2px;color:#8a70a5;font-size:10px;font-style:normal}.signal-phrase{font-size:18px;color:#8c739e;padding:14px 10px;border:1px dashed #d9cbe6;text-align:center;border-radius:10px;background:#ffffff55;margin-bottom:13px}.action-card form input{width:100%;font-size:11px;margin-bottom:9px}.action-card form button{width:100%}.task-tag{display:block;font-size:9px;color:#9ba875;margin-bottom:4px}.result-card{background:#f1f6e7}.result-card h2{font-size:23px;margin:15px 0 10px}.result-target{font-size:12px;color:#79935c;padding:10px 0}.reveals{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.reveals>div{display:flex;flex-direction:column;align-items:center;background:#ffffff88;padding:12px 4px;border-radius:10px;gap:6px}.reveals b{font-size:10px;max-width:100%;overflow-wrap:anywhere}.reveals>div>span:last-child{font-size:10px;color:#94a57e}.result-card .history-line{margin:5px 0;color:#93a17e;font-size:10px}.reconnect-banner{font-size:11px;color:#b4834e;padding:5px 0 10px}.rules-mobile,.mobile-roster{display:none}.icon{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eef2e5;font-size:16px}.close{float:right}dialog{border:1px solid var(--line);border-radius:22px;background:#fcfdf8;color:var(--ink);padding:28px;max-width:520px;width:calc(100% - 32px);box-shadow:var(--shadow)}dialog::backdrop{background:#293b3044;backdrop-filter:blur(4px)}dialog h2{margin:18px 0;font-size:23px}dialog p,dialog li{font-size:12px;line-height:1.9;color:#7f8b72}dialog ol{padding-left:20px}dialog li{margin:10px 0}dialog .muted{font-size:10px}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,10px);background:#334c3c;color:#fff;padding:13px 22px;border-radius:12px;font-size:12px;box-shadow:0 8px 30px #27392a20;z-index:20;opacity:0;pointer-events:none;transition:.2s;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}@keyframes arrive{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:1440px){.chat-header{padding:32px 40px 26px}.chat-log{padding-left:40px;padding-right:40px}.game-shell{grid-template-columns:260px minmax(340px,1fr) 290px}.rightbar{padding:38px 30px}.sidebar{padding-left:26px;padding-right:26px}.action-wrap{max-width:540px}.bubble{max-width:530px}}
@media(max-width:1100px){.game-shell{grid-template-columns:215px minmax(340px,1fr)}.rightbar{display:none}.sidebar{padding-left:17px;padding-right:17px}.home{padding:25px 35px}.landing{gap:55px;padding:60px 0}.intro h1{font-size:61px}.sticker{right:-20px}.features{gap:13px;font-size:10px}}
@media(max-width:720px){.home{padding:22px}.home>header .brand{font-size:18px}.home>header .brand small{font-size:7px}.home>header .brand-icon{width:39px;height:39px}.landing{display:block;padding:48px 0 25px}.intro h1{font-size:62px;letter-spacing:-3px;margin:21px 0}.intro .eyebrow{font-size:10px;letter-spacing:1px}.lede{font-size:14px}.features{font-size:10px;gap:18px;margin:24px 0}.entry{max-width:none}.preview{max-width:440px;margin:55px auto 10px;padding:0 8px;transform:rotate(1deg)}.sticker{right:-4px;bottom:40px}.home footer{display:block;line-height:2;font-size:10px}.home footer span{display:block}.home footer span:last-child{margin-top:5px}.game-shell{display:block;height:100dvh;min-height:0}.sidebar,.rightbar{display:none}.chat-main{height:100dvh}.chat-header{padding:18px 18px 14px;gap:8px}.chat-header h1{font-size:17px;gap:8px}.chat-header .eyebrow{font-size:6px;letter-spacing:1.2px;margin-bottom:7px}.room-code{font-size:8px;padding:4px 5px}.connection{font-size:8px;margin-left:auto}.rules-mobile{display:grid;width:26px;height:26px;font-size:12px;order:3}.stage-bar{margin:12px 14px 0;padding:10px 12px;gap:9px}.stage-bar b{font-size:11px;display:block;margin-bottom:3px}.stage-bar div>span{font-size:9px}.stage-bar time{font-size:12px}.stage-dot{font-size:22px}.mobile-roster{display:flex;gap:14px;overflow:auto;padding:13px 18px 10px;border-bottom:1px solid #f2f4eb;flex-shrink:0;scrollbar-width:none}.mobile-roster>div{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:36px}.mobile-roster .avatar{width:32px;height:32px;font-size:18px;border-radius:10px}.mobile-roster div>span:last-child{font-size:8px;color:#a4ad98;max-width:49px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-log{padding:18px 15px 4px}.message{gap:8px}.avatar,.host-avatar{width:32px;height:32px;border-radius:11px;font-size:19px}.message>div{max-width:calc(100% - 40px)}.sender{font-size:10px;gap:4px}.sender time{font-size:8px;margin-left:2px}.bubble{font-size:12px;padding:10px 12px}.action-wrap{margin-left:0}.action-card{padding:16px}.action-card h3{font-size:15px}.card-meta{font-size:9px}.choices{grid-template-columns:repeat(3,1fr)}.choice{padding:8px 6px;gap:5px}.choice b{max-width:54px}.composer-area{padding:10px 14px max(12px,env(safe-area-inset-bottom))}.composer input{font-size:12px;padding:8px 2px}.composer-hint{font-size:8px}.composer-plus{font-size:18px}.composer button{width:32px;height:32px}.chat-log .date-chip{font-size:9px;margin-bottom:20px}.chat-log .message{margin-bottom:19px}.signal-phrase{font-size:17px}.result-card h2{font-size:21px}.result-card .reveals .avatar{width:34px;height:34px}.preview .message .avatar,.preview .host-avatar{width:33px;height:33px}.preview-head{padding:17px}.preview-body{padding:16px}.preview-secret{margin-left:42px}.preview .sender{font-size:10px}.preview .bubble{font-size:11px}.card-heading .card-icon{font-size:27px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* WeChat-inspired conversation surfaces. Private message colors stay distinct. */
:root{--bg:#ededed;--paper:#fff;--ink:#191919;--muted:#888;--green:#07a95a;--mint:#e4f2e9;--line:#dedede;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
body{background:#ededed;color:#191919}.game-shell{background:#ededed}.chat-main,.chat-log{background:#ededed}.sidebar{background:#e7e7e7;border-right-color:#d9d9d9}.rightbar{background:#f5f5f5;border-left-color:#ddd}.chat-header{background:#ededed;border-bottom:1px solid #dcdcdc;padding:20px 25px;justify-content:flex-start;min-height:78px}.chat-header>.connection{margin-left:auto}.chat-header .eyebrow{display:none}.chat-header h1{font-size:20px;font-weight:500;gap:10px;color:#111}.chat-back{display:block;font-size:34px;line-height:1;width:28px;padding:0;margin-right:6px;color:#191919}.room-code{background:#e2e2e2;color:#777;border-radius:4px}.rules-mobile{display:grid;background:transparent;font-size:23px;letter-spacing:2px;color:#222;order:4}.connection{color:#737373}.stage-bar{background:#e5e5e5;border:0;border-radius:5px;margin:12px 22px 0;padding:10px 13px}.stage-bar b{color:#555}.stage-bar div>span{color:#888}.stage-dot{color:#888}.stage-bar time{color:#666}.date-chip{color:#999;font-size:12px;letter-spacing:0}.chat-log{padding:24px}.avatar,.host-avatar{border-radius:5px;border:0;width:42px;height:42px;font-size:25px}.host-avatar{background:#d8e8df;color:#428660}.sender{color:#888;font-size:12px;margin-bottom:6px}.sender time{color:#aaa;font-size:10px}.sender>span{background:#e0e8e2;color:#738679}.message{gap:12px}.message>div{max-width:calc(100% - 54px)}.bubble{position:relative;background:#fff;border:0;border-radius:5px;padding:11px 14px;font-size:15px;line-height:1.65;color:#191919}.bubble:before{content:'';position:absolute;left:-6px;top:14px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #fff}.own .bubble{background:#a9e87a;border:0;border-radius:5px;color:#191919}.own .bubble:before{left:auto;right:-6px;border-right:0;border-left:6px solid #a9e87a}.host .bubble{background:#eff4e8;border:0;color:#4d6445}.host .bubble:before{border-right-color:#eff4e8}.private-message .bubble{background:#f1eafa;border:0;color:#776188}.private-message .bubble:before{border-right-color:#f1eafa}.sender em{color:#9a7ab5}.action-wrap{margin-left:54px}.action-card{border-radius:7px;background:#fff;border-color:#e2e2e2;box-shadow:none}.action-card h3{color:#333}.action-card p{color:#777}.private-card{background:#f3edf9;border-color:#e5daee}.private-card h3{color:#745a86}.private-card p{color:#8f7b9d}.public-card .card-meta{color:#888}.primary{background:#07a95a;border-radius:6px}.primary:hover:not(:disabled){background:#09934f}.secondary{background:#f7f7f7;border-color:#ddd;color:#555;border-radius:6px}.action-card .primary{font-size:13px}.action-card .secondary{color:#776188;border-color:#dfd3e9}.choice{border-radius:5px}.signal-phrase{border-radius:5px}.composer-area{background:#f7f7f7;border-top:1px solid #dcdcdc;padding:10px 20px 13px}.composer{background:transparent;border:0;border-radius:0;padding:0;gap:12px}.composer input{background:#fff;border:1px solid #eee;border-radius:5px;padding:12px;min-height:44px;font-size:15px}.composer button{background:#07a95a;color:#fff;border-radius:5px;width:56px;height:40px;font-size:13px;flex-shrink:0}.composer .composer-help{background:transparent;color:#222;border:1.8px solid #333;border-radius:50%;width:29px;height:29px;font-size:23px;display:grid;place-items:center;line-height:1;padding:0}.composer-hint{color:#999}.mobile-roster{border-bottom-color:#ddd}.room-tile{background:#d8e4dd;border-color:#d1ddd6;border-radius:5px}.member small,.side-label,.host-note small{color:#888}.member b{color:#444}.sidebar .avatar{border-radius:4px}.invite{border-color:#bbb;color:#666;border-radius:5px}.sidebar-bottom .text-button{color:#666}.role-summary{border-radius:7px}.rightbar .timeline b{color:#777}.rightbar .timeline small{color:#999}.result-card{background:#f3f7ed}.home{background:#f7f7f7}.preview-window{border-radius:9px}.preview-body{background:#ededed}.preview-head{background:#f4f4f4}.preview .avatar,.preview .host-avatar{border-radius:5px}.preview .bubble{border-radius:5px}.brand-icon{background:#dfece3;color:#258552}.home footer{color:#888}
@media(max-width:720px){.chat-header{padding:14px 14px 12px;min-height:62px;gap:5px}.chat-header h1{font-size:17px;gap:5px}.chat-back{font-size:32px;margin-right:3px;width:22px}.chat-header .room-code{display:none}.chat-header .connection{font-size:9px}.rules-mobile{width:28px;font-size:21px;letter-spacing:1px}.stage-bar{margin:0;padding:9px 17px;border-radius:0;border-bottom:1px solid #ddd}.stage-bar b{display:inline;font-size:11px;margin-right:9px}.stage-bar div>span{font-size:9px}.stage-dot{font-size:18px}.mobile-roster{padding:10px 16px;gap:15px;background:#ededed}.mobile-roster .avatar{border-radius:4px;width:30px;height:30px}.mobile-roster div>span:last-child{color:#888;font-size:9px}.chat-log{padding:20px 14px 5px}.chat-log .message{margin-bottom:22px}.avatar,.host-avatar{width:38px;height:38px;border-radius:4px;font-size:23px}.message{gap:10px}.message>div{max-width:calc(100% - 48px)}.sender{font-size:11px}.sender time{font-size:9px}.bubble{font-size:15px;padding:10px 12px;line-height:1.65}.action-wrap{margin-left:48px}.action-card{padding:14px}.action-card h3{font-size:15px}.action-card p{font-size:12px}.choices{grid-template-columns:repeat(2,1fr)}.composer-area{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.composer{gap:10px}.composer input{font-size:15px;min-height:42px;padding:10px}.composer button{height:37px;width:48px}.composer-hint{font-size:9px;margin-top:7px}.chat-log .date-chip{font-size:11px}.card-meta{font-size:9px}.card-meta>span{display:none}.preview-secret{border-radius:6px}.home{padding:22px}.stage-bar time{font-size:11px}}

.signal-reminder{max-width:540px;background:#f3edf9;border:1px solid #e5daee;border-radius:6px;padding:12px 15px;margin-bottom:12px;color:#776188}.signal-reminder span{display:block;font-size:10px;color:#9a7ab5;margin-bottom:7px}.signal-reminder b{font-size:13px;font-weight:500}.signal-reminder p{font-size:11px;line-height:1.7;margin-top:6px;color:#9b88a7}
/* WeChat-style sheets: invite QR card, sign-in, wallet */
.header-actions{display:flex;align-items:center;gap:18px}.account-chip{display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:12px;font-weight:600;color:#3a4a40}.account-chip i{font-style:normal;color:#07c160}
.wallet-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.wallet-line b{color:#07c160}.link-button{color:#576b95;font-size:11px;padding:0}
.credit-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff7e6;border:1px solid #ffe2a8;color:#8a5a00;border-radius:8px;padding:10px 12px;font-size:12px;margin-bottom:12px}.credit-banner button{flex-shrink:0;background:#07c160;color:#fff;border-radius:4px;padding:6px 12px;font-size:12px;font-weight:600}
dialog.wx-sheet{border:0;padding:8px 16px 16px;width:min(420px,100vw);max-height:92dvh;overflow:auto;background:#ededed;color:#111;border-radius:14px;font-family:-apple-system,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif}dialog.wx-sheet::backdrop{background:#0008}
.wx-grabber{width:36px;height:4px;border-radius:2px;background:#c8c8c8;margin:2px auto 12px}
.wx-qr-card{background:#fff;border-radius:8px;padding:22px 22px 18px;text-align:center}.wx-qr-head{display:flex;align-items:center;gap:12px;text-align:left;margin-bottom:16px}.wx-qr-head b{display:block;font-size:16px;font-weight:600}.wx-qr-head small{display:block;color:#888;font-size:12px;margin-top:4px}
.wx-group-avatar{width:52px;height:52px;flex-shrink:0;background:#dedede;border-radius:5px;padding:2px;display:grid;gap:2px;grid-template-columns:repeat(3,1fr);align-content:center}.wx-group-avatar.n1,.wx-group-avatar.n2,.wx-group-avatar.n3,.wx-group-avatar.n4{grid-template-columns:repeat(2,1fr)}.wx-group-avatar span{aspect-ratio:1;display:grid;place-items:center;font-size:11px;border-radius:2px;background:#fff}
.wx-qr{width:min(260px,70vw);aspect-ratio:1;display:block;margin:0 auto;image-rendering:pixelated;-webkit-touch-callout:default}.wx-qr-tip{color:#888;font-size:12px;line-height:1.7;margin-top:12px}.wx-qr-tip span{color:#b2b2b2;font-size:11px}
.wx-link{background:#fff;border-radius:8px;margin-top:10px;padding:10px 12px;font-size:12px;color:#576b95;word-break:break-all;user-select:all}
.wx-actions{display:grid;gap:8px;margin-top:12px}.wx-primary,.wx-default,.wx-google{width:100%;min-height:46px;border-radius:8px;font-size:16px;font-weight:600}.wx-primary{background:#07c160;color:#fff}.wx-primary:hover:not(:disabled){background:#06ad56}.wx-default{background:#fff;color:#07c160}.wx-default:hover{background:#f7f7f7}
.wx-cancel{display:block;width:100%;margin-top:10px;min-height:48px;background:#fff;border-radius:8px;font-size:16px;color:#111}
.wx-sheet-title{text-align:center;padding:4px 0 16px}.wx-sheet-title b{display:block;font-size:17px;font-weight:600}.wx-sheet-title small{display:block;color:#888;font-size:13px;margin-top:6px}
.wx-google{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:#111;font-weight:500}.wx-google svg{width:20px;height:20px}
.wx-or{display:flex;align-items:center;gap:10px;color:#b2b2b2;font-size:12px;margin:16px 0}.wx-or::before,.wx-or::after{content:"";flex:1;height:1px;background:#d9d9d9}
.wx-email{display:grid;gap:8px}.wx-email input{border:0;border-radius:8px;background:#fff;font-size:16px;padding:13px 14px}.wx-sent{background:#fff;border-radius:8px;padding:16px;font-size:14px;line-height:1.8;text-align:center}.wx-sent b{color:#07c160;font-weight:600}
.wx-note{color:#888;font-size:12px;line-height:1.7;margin:10px 2px}.wx-note.center{text-align:center}
.wx-wallet{background:#07c160;color:#fff;border-radius:8px;padding:20px 18px;display:grid;gap:4px}.wx-wallet small{font-size:13px;opacity:.85}.wx-wallet b{font-size:40px;font-weight:600;letter-spacing:.5px;font-family:-apple-system,"Helvetica Neue",sans-serif}.wx-wallet span{font-size:12px;opacity:.85}
.wx-packs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0 12px}.wx-pack{position:relative;background:#fff;border:1.5px solid transparent;border-radius:8px;padding:16px 4px 12px;display:grid;gap:4px;text-align:center}.wx-pack b{font-size:22px;font-weight:600}.wx-pack b small{font-size:11px;font-weight:400;color:#888}.wx-pack span{color:#888;font-size:13px}.wx-pack.selected{border-color:#07c160;background:#f2fbf6}.wx-pack.selected span{color:#07c160;font-weight:600}.wx-pack em{position:absolute;top:-1px;right:-1px;font-style:normal;font-size:10px;background:#fa5151;color:#fff;border-radius:0 8px 0 8px;padding:2px 6px}
@media(max-width:720px){dialog.wx-sheet{width:100vw;max-width:100vw;margin:auto 0 0;border-radius:14px 14px 0 0;padding-bottom:max(16px,env(safe-area-inset-bottom))}.home>header .text-button{font-size:11px}}
/* Felt crew avatar images */
.avatar,.wx-group-avatar span{overflow:hidden}.avatar img,.wx-group-avatar img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none;-webkit-user-drag:none}.avatar img{transform:scale(1.08)}
/* Signal card: online text / offline action switch (WeChat segmented control) */
.signal-tabs{display:flex;width:fit-content;background:#e9e1f1;border-radius:6px;padding:2px;margin:2px 0 9px}.signal-tabs button{font-size:11px;padding:5px 12px;border-radius:5px;color:#8a729c;min-height:26px}.signal-tabs button.on{background:#fff;color:#5b4470;font-weight:600;box-shadow:0 1px 2px #0000000f}.signal-reminder .signal-both{color:#a893b6;font-size:10px}
.signal-tabs+b{display:block}
/* Out-of-credits top-up card in the chat flow */
.topup-card{border:1.5px solid #07c160;background:#fff}.topup-card .card-meta{color:#07a352}.topup-card .wx-packs{margin:12px 0 10px}.topup-card .wx-pack{background:#f7f7f7}.topup-card .wx-pack.selected{background:#f2fbf6}.topup-card .wx-primary{min-height:44px;font-size:15px}.topup-card .center{text-align:center;margin-top:6px}.topup-card.guest{border-color:#ffe2a8;background:#fffbf0}.topup-card.guest .card-meta{color:#b07800}
/* YY, the AI host, pinned at the top of the member list */
.member.host-member .host-avatar{width:35px;height:35px;flex-shrink:0;display:grid;place-items:center}.mobile-roster .host-member .host-avatar{width:30px;height:30px;border-radius:4px;display:grid;place-items:center;font-size:16px}
/* Slim home: just the actions on the left, the tutorial looping on the right */
.home-slim .landing{grid-template-columns:minmax(280px,400px) minmax(320px,430px);justify-content:center;gap:90px;padding:56px 16px 40px;align-items:center}
.home-actions{display:grid;gap:12px}
.home-actions .primary.big{min-height:60px;font-size:18px;justify-content:space-between;padding:0 22px;border-radius:14px}
.home-slim .join-line{margin-top:0;height:56px;border-radius:14px}.home-slim .join-line input{font-size:16px;letter-spacing:2px}.home-slim .join-line button{font-size:15px;font-weight:600;padding:0 18px}
.home-actions .resume{justify-content:space-between;font-size:14px;color:var(--green);padding:12px 4px}
.home-slim .preview{transform:none;padding:0}
.preview-tut{height:min(700px,80vh);min-height:520px}
@media(max-width:720px){.home-slim .landing{display:block;padding:28px 0 16px}.home-slim .preview{margin:26px auto 0;max-width:430px}.preview-tut{height:620px;min-height:0}}
/* YY's purple-devil avatar */
.host-avatar.yy{background:#efe6fb;overflow:hidden;padding:1px}.host-avatar.yy img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}
/* Home brand: text only, same Smiley Sans as the tutorial headlines */
.brand.brand-type{font:400 34px/1 "Tut Smiley","PingFang SC",sans-serif;-webkit-text-stroke:.014em currentColor;letter-spacing:1px;color:var(--ink)}
@media(max-width:720px){.brand.brand-type{font-size:28px}}
/* Composer: the left button switches between the group chat and a private chat with YY */
.composer .composer-help{width:auto;min-width:56px;height:40px;padding:0 10px;display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;background:#fff;color:#555;border:1px solid #e1e1e1;border-radius:5px;font-size:12px;font-weight:600}
.composer .composer-help img{width:20px;height:20px;object-fit:contain}
.composer.private input{border-color:#cdb6ef;background:#faf6ff}
.composer.private .composer-help{background:#efe6fb;color:#6b3fb0;border-color:#d9c6f3}
.channel-label{color:#9a9a9a}.channel-label.private{color:#7b5ea7;font-weight:600}
/* Lobby: who's here + invite / add-bot tiles, like a WeChat group member grid */
.lobby-card .lobby-head h3{font-size:16px}.lobby-card .lobby-head p{font-size:12px;color:#999;margin-top:4px}
.lobby-players{display:grid;grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:14px 8px;margin:16px 0 12px}
.lobby-player,.lobby-slot{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;font-size:11px;color:#555}
.lobby-player .avatar{width:48px;height:48px;border-radius:6px}.lobby-player>span{max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lobby-player>i{position:absolute;top:-4px;right:6px;width:16px;height:16px;border-radius:50%;background:#07c160;color:#fff;font-size:10px;font-style:normal;display:grid;place-items:center}
.lobby-remove{position:absolute;top:-6px;left:4px;width:18px;height:18px;border-radius:50%;background:#bbb;color:#fff;font-size:12px;line-height:1;display:grid;place-items:center}
.lobby-slot span{width:48px;height:48px;border:1.5px dashed #c8c8c8;border-radius:6px;display:grid;place-items:center;font-size:22px;color:#999}
.lobby-slot.bot span{border-color:#b9d9c5;background:#f2fbf6;font-size:20px}.lobby-slot:hover span{border-color:#07c160;color:#07c160}
/* Header: ··· opens the group info sheet (on every screen size); no live-connection label */
.chat-header .group-more{display:grid;place-items:center;width:34px;height:34px;margin-left:auto;font-size:20px;letter-spacing:1px;color:#333;background:none;border:0}
.chat-header .connection,.mobile-roster{display:none}
/* Group info sheet */
.wx-members{display:grid;grid-template-columns:repeat(5,1fr);gap:16px 6px;background:#fff;border-radius:8px;padding:16px 12px}
.wx-member{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;color:#555;min-width:0}.wx-member>span:last-child{max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-member .avatar,.wx-member .host-avatar{width:48px;height:48px;border-radius:6px}.wx-member.out{opacity:.45}
.wx-add{width:48px;height:48px;border:1.5px dashed #c8c8c8;border-radius:6px;display:grid;place-items:center;font-size:22px;color:#999}
.wx-list{background:#fff;border-radius:8px;margin-top:10px;overflow:hidden}
.wx-row{display:flex;justify-content:space-between;align-items:center;width:100%;padding:15px 16px;font-size:15px;color:#111;border-bottom:1px solid #f0f0f0;text-align:left}.wx-row:last-child{border-bottom:0}.wx-row b{font-weight:400;color:#888;font-size:14px}
.wx-cancel.danger{color:#fa5151}
.action-card.still{animation:none}
/* Presence strip above the composer, with a gentle breathing motion */
.presence{display:flex;gap:12px;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:none}.presence::-webkit-scrollbar{display:none}
.pres{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:46px;font-size:10px;color:#777;flex-shrink:0}
.pres .avatar,.pres .host-avatar{width:38px;height:38px;border-radius:9px;font-size:20px;box-shadow:0 0 0 2px transparent;animation:pres-idle 3.6s ease-in-out infinite;animation-delay:calc(var(--beat) - var(--i) * .45s)}
.pres-name{max-width:56px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pres em{font-style:normal;font-size:9px;line-height:12px;height:12px;color:#aaa}
.pres.st-typing .avatar,.pres.st-typing .host-avatar{animation:pres-breathe 1.2s ease-in-out infinite;animation-delay:var(--beat);--ring:#07c160}
.pres.st-voting .avatar,.pres.st-confirming .avatar{animation:pres-breathe 1.6s ease-in-out infinite;animation-delay:var(--beat);--ring:#f0a020}
.pres.st-typing em{color:#07a352}.pres.st-voting em,.pres.st-confirming em{color:#c98a12}
.pres.st-voted .avatar,.pres.st-ready .avatar,.pres.st-confirmed .avatar{box-shadow:0 0 0 2px #07c160}.pres.st-voted em,.pres.st-ready em,.pres.st-confirmed em{color:#07a352;font-weight:600}
.pres.st-out{opacity:.4;filter:grayscale(1)}.pres.st-out .avatar{animation:none}.pres.st-offline:not(.st-out){opacity:.6}
.pres .dots{display:none;position:absolute;top:-5px;right:-2px;gap:2px;background:#fff;border-radius:8px;padding:4px 5px;box-shadow:0 2px 6px #0000001f}
.pres.st-typing .dots{display:flex}.pres .dots b{width:4px;height:4px;border-radius:50%;background:#07c160;animation:pres-dot 1s ease-in-out infinite;animation-delay:calc(var(--beat) + var(--d,0s))}
.pres .dots b:nth-child(2){--d:.15s}.pres .dots b:nth-child(3){--d:.3s}
@keyframes pres-idle{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-1.5px) scale(1.025)}}
@keyframes pres-breathe{0%,100%{transform:scale(1);box-shadow:0 0 0 2px var(--ring),0 0 0 2px transparent}50%{transform:scale(1.08);box-shadow:0 0 0 2px var(--ring),0 0 0 6px color-mix(in srgb,var(--ring) 22%,transparent)}}
@keyframes pres-dot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}
.sender .seat-no{font-weight:600;color:#07a352;margin-right:2px}
/* Strip lives at the top of the chat window, under the stage bar */
.chat-main>.presence{padding:10px 14px 8px;background:#ededed;border-bottom:1px solid #dcdcdc;flex-shrink:0}
.pres .pres-seat{position:absolute;top:28px;left:2px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#333;color:#fff;font-size:10px;line-height:16px;text-align:center;font-weight:600;box-shadow:0 0 0 2px #ededed}
.pres{min-width:52px}.pres-name{max-width:62px}
/* Gunshot animation — same language as the tutorial: cream stage, Smiley Sans, yellow stamp, springy beat-timed motion */
.shot-fx{position:fixed;inset:0;z-index:120;display:grid;place-items:center;background:#121313b3;backdrop-filter:blur(4px);animation:fx-fade .2s ease both;--spring:cubic-bezier(.34,1.56,.64,1)}
.fx-stage{position:relative;width:min(420px,92vw);padding:26px 22px 24px;background:#f4f1e9;color:#121313;border-radius:26px;box-shadow:0 40px 100px #0006;text-align:center;overflow:hidden;animation:fx-pop .45s var(--spring) both}
.fx-head{margin:0 0 14px;font:400 52px/1 "Tut Smiley","PingFang SC",sans-serif;-webkit-text-stroke:.014em currentColor}
.fx-head span{display:inline-block;background:#f4ff71;padding:0 .18em;border-radius:6px;animation:fx-slam .35s var(--spring) .5s both}
.fx-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}
.fx-p{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:12px}
.fx-p .avatar{width:84px;height:84px;border-radius:20px;box-shadow:0 18px 30px -18px #3c2d1480}
.fx-p.shooter{animation:fx-in-l .45s var(--spring) .15s both}.fx-p.target{animation:fx-in-r .45s var(--spring) .15s both}
.fx-p.shooter .avatar{animation:fx-recoil .3s ease-out .55s both}
.fx-flash{position:absolute;top:24px;right:-18px;width:34px;height:34px;border-radius:50%;background:radial-gradient(circle,#fff7a8 0,#ffd23f 40%,#ff7a1a 70%,transparent 72%);opacity:0;animation:fx-flash .25s ease-out .55s both}
.fx-track{position:relative;height:84px}
.fx-bullet{position:absolute;top:36px;left:0;width:22px;height:10px;border-radius:2px 8px 8px 2px;background:#121313;box-shadow:-28px 0 0 -2px #12131340,-52px 0 0 -3px #1213131f;opacity:0;animation:fx-fly .35s cubic-bezier(.2,.7,.3,1) .6s both}
.shot-fx.miss .fx-bullet{animation-name:fx-fly-past}
.fx-x{position:absolute;top:22px;left:50%;transform:translateX(-50%) scale(0);font-style:normal;font-size:40px;color:#e2553a;font-weight:700;opacity:0}
.shot-fx.hit .fx-p.target .avatar{animation:fx-in-r .45s var(--spring) .15s both,fx-hit .5s ease .95s both}
.shot-fx.hit .fx-x{animation:fx-x .3s var(--spring) 1.05s both}
.shot-fx.miss .fx-p.target .avatar{animation:fx-dodge .45s var(--spring) .8s both}
.fx-stamp{position:absolute;right:18px;top:18px;display:grid;place-items:center;width:84px;height:84px;border-radius:50%;background:#f4ff71;font:400 22px/1 "Tut Smiley","PingFang SC",sans-serif;-webkit-text-stroke:.02em currentColor;transform:rotate(-14deg) scale(0);animation:fx-stamp .4s var(--spring) 1.05s both;box-shadow:0 12px 26px -12px #0005}
.shot-fx.miss .fx-stamp{background:#e3ded3;color:#6d6a63}
.fx-sub{margin:16px 0 0;font-size:14px;color:#6d6a63;opacity:0;animation:fx-up .35s ease 1.3s both}
@keyframes fx-fade{from{opacity:0}}
@keyframes fx-pop{from{transform:scale(.85);opacity:0}}
@keyframes fx-slam{from{transform:scale(2.2) rotate(-8deg);opacity:0}}
@keyframes fx-in-l{from{transform:translateX(-60px);opacity:0}}
@keyframes fx-in-r{from{transform:translateX(60px);opacity:0}}
@keyframes fx-recoil{40%{transform:translateX(-10px) rotate(-6deg)}}
@keyframes fx-flash{0%{opacity:0;transform:scale(.3)}30%{opacity:1;transform:scale(1.2)}100%{opacity:0;transform:scale(.8)}}
@keyframes fx-fly{0%{left:0;opacity:1}100%{left:calc(100% - 22px);opacity:1}}
@keyframes fx-fly-past{0%{left:0;opacity:1}100%{left:calc(100% + 110px);opacity:0}}
@keyframes fx-hit{0%{transform:none}15%{transform:translateX(10px) rotate(8deg);box-shadow:0 0 0 6px #e2553a66}35%{transform:translateX(-8px) rotate(-6deg)}55%{transform:translateX(4px)}100%{transform:rotate(10deg);filter:grayscale(1) brightness(.85)}}
@keyframes fx-x{from{transform:translateX(-50%) scale(2.4);opacity:0}to{transform:translateX(-50%) scale(1);opacity:1}}
@keyframes fx-dodge{0%,100%{transform:none}40%{transform:translateY(-34px) rotate(-10deg)}70%{transform:translateY(-34px) rotate(6deg)}}
@keyframes fx-stamp{to{transform:rotate(-14deg) scale(1)}}
@keyframes fx-up{from{transform:translateY(8px)}to{opacity:1;transform:none}}
/* ---- End of game ---- */
/* Result card in the chat: winner banner, role grid, round-by-round replay with avatars */
.end-card{background:#fff;padding:18px}
.end-banner{text-align:center;padding:4px 0 10px}
.end-stamp{display:inline-block;font:400 30px/1.1 "Tut Smiley","PingFang SC",sans-serif;-webkit-text-stroke:.014em currentColor;background:#f4ff71;padding:2px 12px;border-radius:8px;transform:rotate(-3deg)}
.team-win .end-stamp{background:#2b2236;color:#f4ff71}
.end-banner h2{font-size:18px;margin:12px 0 6px}.end-banner p{font-size:12px;color:#888}
.end-title{font-size:12px;font-weight:700;color:#555;margin:14px 0 8px;letter-spacing:1px}
.end-roles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 6px}
.end-role{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;min-width:0}
.end-role .avatar{width:44px;height:44px;border-radius:10px}.end-role b{max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.end-role em{font-style:normal;font-size:10px;font-weight:700;padding:1px 7px;border-radius:8px;background:#eef3e6;color:#5c7d45}
.end-role.boss em{background:#fbecd6;color:#b06a12}.end-role.killer em{background:#efe6fb;color:#6b3fb0}
.end-role.boss .avatar{box-shadow:0 0 0 2px #e2a54a}.end-role.killer .avatar{box-shadow:0 0 0 2px #9b7fd0}.end-role.dead .avatar{filter:grayscale(1);opacity:.6}
.end-round{border-left:2px solid #eee;padding:2px 0 6px 10px;margin-bottom:6px}.end-round>b{font-size:11px;color:#999}
.end-round ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px}
.end-round li{display:flex;align-items:center;gap:8px;font-size:12px}
.end-round .tag{flex-shrink:0;font-size:10px;font-weight:700;padding:2px 7px;border-radius:8px}
.tag.boss{background:#fbecd6;color:#b06a12}.tag.killer{background:#efe6fb;color:#6b3fb0}.tag.vote{background:#e7f6ee;color:#07a352}
.who{display:inline-flex;align-items:center;gap:6px;min-width:0}.who .avatar{width:24px;height:24px;border-radius:6px}.who b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.who.none{color:#aaa}
.end-round .res{margin-left:auto;font-style:normal;font-size:11px;font-weight:700}.res.hit{color:#e2553a}.res.miss,.res.timeout{color:#aaa}
/* Reveal overlay (same language as the tutorial and the gunshot animation) */
.end-fx{position:fixed;inset:0;z-index:110;display:grid;place-items:center;background:#121313d9;backdrop-filter:blur(6px);animation:fx-fade .3s ease both;--spring:cubic-bezier(.34,1.56,.64,1)}
.fx-stage.end{position:relative;width:min(440px,100%);height:min(720px,100%);padding:16px 18px 20px;background:#f4f1e9;color:#121313;border-radius:28px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 40px 100px #0006;animation:fx-pop .45s var(--spring) both}
@media(max-width:480px){.end-fx{place-items:stretch}.fx-stage.end{border-radius:0;height:100%}}
.fx-progress{display:flex;gap:4px;margin-right:70px}.fx-progress i{flex:1;height:4px;border-radius:2px;background:#e3ded3}.fx-progress i.done,.fx-progress i.now{background:#121313}
.fx-skip{position:absolute;top:8px;right:12px;font-size:12px;font-weight:700;background:#fff;border-radius:16px;padding:6px 12px;box-shadow:0 0 0 1px #14141412}
.fx-title{margin:22px 4px 10px;font:400 46px/1.08 "Tut Smiley","PingFang SC",sans-serif;-webkit-text-stroke:.014em currentColor}
.fx-title span{display:block;opacity:0;transform:translateY(24px) rotate(-3deg)}.fx-title span.in{opacity:1;transform:none;transition:transform .45s var(--spring),opacity .2s}
.fx-title mark{background:#f4ff71;padding:0 .12em;border-radius:6px}
.fx-body{flex:1;display:flex;flex-direction:column;justify-content:center}
.fx-body [data-at]{opacity:0;transform:translateY(14px) scale(.96);transition:opacity .25s,transform .45s var(--spring)}.fx-body [data-at].in{opacity:1;transform:none}
.fx-votes{display:grid;gap:12px}
.fx-vote{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;background:#fff;border-radius:16px;padding:10px 12px;box-shadow:0 30px 60px -40px #3c2d1459,0 0 0 1px #14141412}
.fx-vote .who .avatar{width:34px;height:34px;border-radius:9px}.fx-vote .who b{font-size:13px}
.fx-bar{height:10px;background:#efebe1;border-radius:6px;overflow:hidden}.fx-bar i{display:block;height:100%;width:0;background:#cfc9bc;border-radius:6px;transition:width .8s cubic-bezier(.2,.8,.2,1)}.fx-bar i.grow{width:var(--w)}
.fx-vote.top .fx-bar i{background:#121313}
.fx-n{font:400 26px "Tut Smiley",sans-serif}
.fx-voters{grid-column:1/-1;display:flex;gap:4px;min-height:22px}.fx-voters .avatar{width:22px;height:22px;border-radius:6px}
.fx-tag{position:absolute;top:-10px;right:10px;font:400 16px "Tut Smiley","PingFang SC",sans-serif;background:#f4ff71;padding:4px 10px;border-radius:12px;transform:rotate(6deg)}
.fx-tag.dark{background:#2b2236;color:#f4ff71}
.fx-empty{text-align:center;font-size:18px;color:#6d6a63}
.fx-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.fx-card{position:relative;aspect-ratio:3/4;perspective:600px}
.fx-face{position:absolute;inset:0;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;backface-visibility:hidden;transition:transform .6s var(--spring)}
.fx-face.back{background:#121313;color:#f4ff71;font:400 34px "Tut Smiley",sans-serif}
.fx-face.front{background:#fff;transform:rotateY(180deg);box-shadow:0 0 0 1px #14141412;padding:6px}
.fx-card.flip .back{transform:rotateY(-180deg)}.fx-card.flip .front{transform:none}
.fx-face .avatar{width:44px;height:44px;border-radius:10px}.fx-face b{font-size:10px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-face em{font-style:normal;font-size:11px;font-weight:700;color:#5c7d45}.fx-card.boss .front{box-shadow:0 0 0 3px #e2a54a}.fx-card.boss em{color:#b06a12}.fx-card.killer .front{box-shadow:0 0 0 3px #9b7fd0}.fx-card.killer em{color:#6b3fb0}
.fx-card .fx-tag{z-index:2;top:-12px;right:-6px}
.fx-win{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.fx-big{display:grid;place-items:center;width:170px;height:170px;border-radius:50%;background:#f4ff71;font:400 38px/1 "Tut Smiley","PingFang SC",sans-serif;-webkit-text-stroke:.02em currentColor;box-shadow:0 18px 40px -16px #0006}
.fx-big.team{background:#2b2236;color:#f4ff71}.fx-big[data-at]{transform:rotate(-12deg) scale(.3)}.fx-big[data-at].in{transform:rotate(-12deg) scale(1)}
.fx-win p{font-size:14px;color:#6d6a63;max-width:300px}.fx-you{font-size:18px!important;font-weight:700;color:#121313!important}.fx-you.won{color:#07a352!important}
.fx-win .primary{min-width:200px}
/* Card deal animation (reuses the reveal stage) */
.deal{display:flex;flex-direction:column;align-items:center;gap:18px}
.deal-fan{position:relative;height:96px;width:100%;display:flex;justify-content:center}
.deal-card{width:46px;height:64px;margin:0 -6px;border-radius:9px;background:#121313;color:#f4ff71;display:grid;place-items:center;font:400 16px "Tut Smiley",sans-serif;box-shadow:0 8px 16px -8px #0007;border:2px solid #f4f1e9}
.deal-card[data-at]{opacity:0;transform:translateY(-220px) rotate(40deg) scale(.6)}
.deal-card[data-at].in{opacity:1;transform:translateY(var(--y)) rotate(var(--r));transition:transform .5s var(--spring),opacity .15s}
.deal-card.mine{background:#f4ff71;color:#121313}
.deal-mine{position:relative;width:236px;height:262px;perspective:800px}
.deal-mine[data-at]{opacity:0;transform:translateY(40px) scale(.6)}.deal-mine[data-at].in{opacity:1;transform:none;transition:transform .5s var(--spring),opacity .2s}
.deal-mine .fx-face{border-radius:22px}.deal-mine .fx-face.back{font-size:70px}
.deal-mine .fx-face.front{gap:6px;padding:14px;text-align:center}
.deal-mine.flip .back{transform:rotateY(-180deg)}.deal-mine.flip .front{transform:none}
.deal-mine em{font:400 64px/1 "Tut Smiley",sans-serif;font-style:normal;color:#5c7d45}
.deal-mine b{font:400 28px/1 "Tut Smiley","PingFang SC",sans-serif;-webkit-text-stroke:.014em currentColor}
.deal-mine p{font-size:12px;line-height:1.6;color:#6d6a63;margin:2px 0 0}
.deal-mine.boss .front{box-shadow:0 0 0 4px #e2a54a}.deal-mine.boss em{color:#c27a1f}
.deal-mine.killer .front{box-shadow:0 0 0 4px #9b7fd0}.deal-mine.killer em{color:#7b5ea7}
.deal-mine.civ .front{box-shadow:0 0 0 4px #9cc27e}
.deal-partner{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:#7b5ea7;margin-top:4px}.deal-partner .who .avatar{width:22px;height:22px}
.deal-stamp{position:static!important;transform:rotate(-4deg)!important;font-size:20px!important}
.deal-ok{min-width:220px}
.deal-mine .deal-partner b{font:700 12px/1.2 "PingFang SC",sans-serif;-webkit-text-stroke:0;color:#121313}
.fx-mystery{display:grid;place-items:center;background:#121313;color:#f4ff71;font:400 46px "Tut Smiley",sans-serif}
/* Briefing animation for the boss / killer */
.brief{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.brief-target{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;background:#fff;border-radius:22px;padding:18px 26px;box-shadow:0 0 0 4px #e2a54a,0 30px 60px -40px #3c2d1459}
.brief-target>span:first-child{font-size:12px;color:#6d6a63}.brief-target .who.big .avatar{width:72px;height:72px;border-radius:18px}.brief-target .who.big{flex-direction:column}.brief-target .who.big b{font:400 22px "Tut Smiley","PingFang SC",sans-serif}
.brief-target .fx-tag{top:-12px;right:-14px}
.brief-signal{width:100%;background:#2b2236;color:#f4ff71;border-radius:18px;padding:14px 16px;display:grid;gap:4px;text-align:left}
.brief-signal span{font-size:11px;color:#c9b8ff}.brief-signal b{font-size:15px;line-height:1.5;color:#fff;font-weight:600;margin-bottom:6px}
.brief-note{font-size:13px;color:#6d6a63;max-width:320px;line-height:1.6}
.wx-row.danger-row span{color:#fa5151}
/* YY typing bubble + gentle entrance for each paced message */
.yy-typing .bubble{padding:12px 14px}.t-typing{display:inline-flex;gap:4px;align-items:center;height:14px}
.t-typing i{width:6px;height:6px;border-radius:50%;background:#9aa58f;animation:yy-dot 1s ease-in-out infinite}.t-typing i:nth-child(2){animation-delay:.15s}.t-typing i:nth-child(3){animation-delay:.3s}
@keyframes yy-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.message.just{animation:msg-in .35s cubic-bezier(.34,1.56,.64,1) both}
@keyframes msg-in{from{opacity:0;transform:translateY(8px) scale(.97)}}
