:root{--paper:#f7f5ef;--ink:#29243d;--purple:#7351d7;--lime:#dafa79;--muted:#85818d;--line:#e2ded8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,"Microsoft YaHei",sans-serif}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid var(--purple);outline-offset:4px}[hidden]{display:none!important}.header{height:100px;max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:800;letter-spacing:-1px}.brand-icon{background:var(--purple);color:white;border-radius:12px;width:37px;height:37px;display:grid;place-items:center;font-size:28px}.brand-tag{font-size:10px;border:1px solid #cbc5d6;border-radius:5px;padding:4px 6px;font-weight:400;letter-spacing:1px;margin-left:4px}.text-button{border:0;background:transparent;color:var(--ink);padding:10px;font-size:13px}.text-button span{margin-left:16px}main{max-width:1160px;margin:auto;padding:40px 40px 55px;min-height:calc(100vh - 182px)}.landing{display:grid;grid-template-columns:1.25fr 1fr;gap:100px;align-items:center;min-height:580px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:600;display:flex;align-items:center;gap:9px}.dot{width:7px;height:7px;border-radius:50%;background:var(--purple)}h1{font-size:60px;line-height:1.4;letter-spacing:-3px;margin:25px 0 18px;font-weight:800;position:relative}.highlight{position:relative;white-space:nowrap;z-index:0}.highlight:after{content:"";position:absolute;background:var(--lime);height:19px;bottom:2px;left:-3px;right:-7px;z-index:-1;transform:rotate(-2deg)}.asterisk{font-size:50px;color:var(--purple);position:absolute;top:3px;right:20px;transform:rotate(15deg)}.description{font-size:16px;line-height:1.9;color:#777282}.demo{margin-top:30px;width:290px;position:relative;transform:rotate(-3deg)}.demo-label{font-size:10px;color:var(--muted);letter-spacing:1px}.demo-pair{display:flex;align-items:center;gap:13px;margin-top:12px}.demo-pair>span{border:1px solid #d9d1e6;background:#eee9fa;border-radius:11px;padding:12px 29px;font-size:16px}.demo-pair>span:nth-of-type(2){background:#fff;border-color:var(--line);transform:rotate(6deg)}.demo-pair b{color:#aaa2b6;font-weight:400}.demo-pair i{font-size:30px;color:var(--purple);position:absolute;right:-3px;top:50px}.demo-match{display:flex;gap:28px;align-items:center;margin:16px 0 0 37px}.demo-match>span{font-size:17px;font-weight:bold;color:var(--purple)}.demo-match small{font-size:11px;background:var(--lime);padding:6px;transform:rotate(7deg);white-space:nowrap}.intro-foot{border-top:1px solid var(--line);margin-top:37px;padding-top:17px;font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:12px}.intro-foot span{font-size:9px}.entry-card{background:white;border:1px solid var(--line);border-radius:23px;padding:30px;box-shadow:7px 9px 0 #eae6f0;transform:rotate(1deg)}.entry-card>*{transform:rotate(-1deg)}.card-top{display:flex;align-items:center;justify-content:space-between}.pill{background:#f0ecfa;color:#7655c4;border-radius:30px;padding:7px 12px;font-size:10px;letter-spacing:1px}.spark{font-size:37px;color:var(--purple)}h2{font-size:25px;letter-spacing:-1px;margin:22px 0 10px}.entry-card>p{font-size:12px;color:var(--muted);margin-bottom:29px}label{display:block;font-size:12px;font-weight:600;margin-bottom:10px}input{width:100%;border:1px solid var(--line);background:#fbfaf8;border-radius:10px;padding:16px;color:var(--ink);outline:none;font-size:14px}input:focus{border-color:var(--purple);box-shadow:0 0 0 3px #7351d71a}input::placeholder{color:#aaa6b0}#join-fields{margin-top:18px}.primary,.secondary{width:100%;border:0;border-radius:10px;padding:16px 18px;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:12px}.primary{color:white;background:var(--purple)}.primary:hover{background:#6241c2}.secondary{background:transparent;border:1px solid var(--line);color:var(--ink)}.secondary:hover{background:var(--paper)}#entry-submit{margin-top:15px}.divider{display:flex;align-items:center;gap:12px;margin:24px 0;font-size:10px;color:#a29ba8}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.entry-note{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:24px}.room-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.room-heading h1{font-size:35px;letter-spacing:-1px;margin:12px 0}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px}.play-card{background:white;border:1px solid var(--line);border-radius:22px;padding:30px;min-height:430px}.play-top{display:flex;justify-content:space-between;align-items:center}.connection{font-size:11px;color:#73805d}.connection.offline{color:#a25732}#waiting{text-align:center;padding:28px 0 0}.waiting-art{font-size:35px;color:var(--purple);font-weight:bold;margin:6px}.waiting-art span{padding:0 24px;color:#b9b1c8}#waiting h2{font-size:21px}#waiting p{font-size:13px;color:var(--muted)}#invite{max-width:300px;margin:28px auto 0}.room-number strong{font-size:22px;color:var(--ink);letter-spacing:4px;margin-left:8px}.muted{font-size:11px!important;line-height:1.8;color:var(--muted)}.players{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:27px 0}.player{border:1px solid var(--line);border-radius:12px;padding:17px;display:flex;flex-direction:column;gap:8px;min-width:0}.player:first-child{background:#f4f0fc;border-color:#e4daf8}.player strong{font-size:15px;overflow-wrap:anywhere}.player span{font-size:11px;color:var(--muted)}.prompt{background:var(--paper);border-radius:12px;padding:20px;margin:20px 0 26px;font-size:12px;text-align:center;line-height:1.8}.prompt strong{font-size:23px;color:var(--purple);display:inline-block;margin:9px;overflow-wrap:anywhere;max-width:100%}.word-input{display:flex;gap:10px}.word-input input{min-width:0}.word-input button{width:auto;white-space:nowrap}.history-panel{padding:0 5px}.history-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:17px}.history-heading h2{font-size:15px;margin:0}.history-heading>span{font-size:26px;color:var(--purple)}#history{max-height:410px;overflow:auto}.history-row{padding:18px 0;border-bottom:1px dashed var(--line)}.history-row small{color:var(--muted);font-size:10px;letter-spacing:1px}.history-words{display:grid;grid-template-columns:1fr 18px 1fr;gap:5px;margin-top:10px;font-size:14px;overflow-wrap:anywhere}.history-words b{text-align:center;color:#aaa;font-weight:normal}.history-row.match{color:var(--purple)}.history-foot{font-size:12px;line-height:1.9;color:#aaa1b4;margin-top:30px}#result{text-align:center;padding-top:22px}.result-mark{font-size:58px;color:var(--purple)}#result .eyebrow{justify-content:center;font-size:9px;letter-spacing:1px}#result h2{font-size:30px}#result>p{font-size:14px;color:var(--muted)}.result-word{font-size:36px;font-weight:bold;margin:25px 0;background:var(--lime);padding:12px;border-radius:10px;overflow-wrap:anywhere}.result-actions{display:flex;gap:10px}.shop-link{display:inline-block;font-size:12px;color:var(--muted);margin-top:25px}footer{border-top:1px solid var(--line);max-width:1160px;margin:auto;padding:25px 40px;display:flex;justify-content:space-between;font-size:10px;color:#928b9e}footer b{font-weight:400;margin:0 9px}.footer-star{color:var(--purple);margin-left:15px;font-size:15px}.notice{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:12px;padding:15px 22px;z-index:10;font-size:13px;max-width:90%;box-shadow:0 5px 20px #29243d22}dialog{border:1px solid var(--line);border-radius:20px;padding:35px;width:min(520px,90vw);color:var(--ink);background:var(--paper)}dialog::backdrop{background:#29243d66;backdrop-filter:blur(4px)}dialog h2{font-size:23px}dialog li{font-size:14px;line-height:2.2}dialog ol{padding-left:22px}dialog p{font-size:12px;line-height:1.9}.dialog-close{float:right;border:0;background:transparent;font-size:25px;color:var(--ink)}@media(min-width:1400px){main{padding-top:65px}}@media(max-width:1000px){.landing{gap:45px}h1{font-size:48px}.asterisk{right:0;font-size:37px}.game-layout{grid-template-columns:minmax(0,1fr) 240px}}@media(max-width:700px){.header{height:78px;padding:0 22px}.brand{font-size:19px;gap:8px}.brand-tag{font-size:9px}.brand-icon{width:32px;height:32px}.text-button{font-size:11px}main{padding:25px 22px 40px}.landing{grid-template-columns:1fr;gap:30px;min-height:0}.intro{position:relative}h1{font-size:43px;margin:20px 0 15px}.asterisk{right:20px;top:15px;font-size:45px}.eyebrow{font-size:10px}.description{font-size:14px}.demo{margin:22px 0 8px;transform:rotate(-3deg) scale(.9);transform-origin:left center}.intro-foot{display:none}.entry-card{padding:24px;transform:none;border-radius:18px;box-shadow:4px 5px 0 #eae6f0}.entry-card>*{transform:none}.entry-card h2{margin-top:16px}.entry-card>p{margin-bottom:23px}.game-layout{grid-template-columns:1fr;gap:28px}.room-heading{align-items:flex-start}.room-heading h1{font-size:25px}.room-heading .eyebrow{font-size:8px;letter-spacing:1px}.play-card{padding:22px;min-height:400px}.word-input{flex-direction:column}.word-input button{width:100%;justify-content:center}.players{gap:10px}.player{padding:13px}.prompt{padding:15px}.prompt strong{font-size:20px;margin:6px}.history-panel{padding:0 2px}.history-foot{display:none}#history{max-height:none}.history-words{font-size:15px}.result-actions{flex-direction:column}#result h2{font-size:25px}footer{padding:20px 22px;gap:10px}footer>span:last-child{font-size:9px}#waiting h2{font-size:18px}.room-number strong{letter-spacing:3px}.result-word{font-size:28px}}

.header-actions{display:flex;align-items:center;gap:16px}.header-shop{color:var(--purple);background:#ebe5fa;border:1px solid #dcd1f3;padding:10px 15px;border-radius:9px;font-size:12px;font-weight:bold;white-space:nowrap}.header-shop:hover{background:#e2d8f6}.ad-label{display:block;font-size:10px;color:#80718e;letter-spacing:1px}.home-promo{display:block;border-top:1px solid var(--line);padding-top:17px;margin-top:23px;text-align:left}.home-promo strong{display:block;font-size:13px;line-height:1.7;margin:9px 0;color:var(--ink);letter-spacing:0}.home-promo-bottom{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted)}.home-promo-bottom b{color:var(--purple);font-weight:600}.room-promo{background:#eee8fa;border:1px solid #e0d6f1;border-radius:17px;padding:21px;margin-bottom:28px}.promo-top{display:flex;justify-content:space-between;align-items:center}.promo-symbol{font-size:25px;color:var(--purple)}.room-promo h2{font-size:21px;line-height:1.6;margin:12px 0 10px;letter-spacing:-.5px}.room-promo p{font-size:12px;color:#7c718c;line-height:1.9;margin:0 0 18px}.shop-cta{font-size:12px}.room-promo small{display:block;text-align:center;font-size:9px;color:#897c97;margin-top:12px}.result-promo{text-align:left;margin-top:25px;border:1px solid #e0d6f1;border-radius:13px;padding:20px;background:#f4f0fc}.result-promo h3{font-size:18px;line-height:1.5;margin:12px 0 8px;letter-spacing:-.5px}.result-promo p{font-size:12px;line-height:1.8;color:#7c718c;margin:0 0 17px}.result-promo small{display:block;font-size:10px;color:var(--muted);text-align:center;margin-top:11px}.shop-cta:hover{box-shadow:0 3px 10px #7351d730}footer>a:hover{color:var(--purple)}@media(max-width:700px){.brand-tag{display:none}.header-actions{gap:4px}.header-shop{font-size:10px;padding:9px 10px}.header .text-button{padding:8px 0 8px 8px}.header .text-button span{margin-left:3px}.home-promo{margin-top:19px}.room-promo{padding:19px;margin-bottom:25px}.room-promo h2{font-size:20px}.room-promo .shop-cta{padding:14px 17px}.result-promo{padding:17px}.result-promo h3{font-size:17px}footer{gap:6px}footer>a{font-size:9px}}

.round-countdown{font-size:12px;font-weight:bold;background:#eaf2d9;color:#536431;border-radius:30px;padding:8px 12px;font-variant-numeric:tabular-nums;white-space:nowrap}.round-countdown.urgent{background:#fff0e5;color:#b94929}.round-paused{text-align:center;font-size:13px;line-height:1.9;color:var(--muted)}.round-paused .secondary{justify-content:center;margin-top:18px}.play-top{gap:8px;flex-wrap:wrap}@media(max-width:700px){.round-countdown{font-size:11px;padding:7px 10px}.connection{font-size:10px}}

.capacity-notice{background:#f2edfc;border:1px solid #ddd1f4;border-radius:12px;padding:15px 16px;margin:15px 0 18px;text-align:left}.capacity-notice strong{font-size:13px;line-height:1.6}.capacity-notice p{font-size:11px;line-height:1.9;color:#7c718c;margin:7px 0 9px}.capacity-notice a{display:inline-block;color:var(--purple);font-weight:600;font-size:12px;line-height:1.7}#capacity-summary{margin:8px 0 18px;font-size:11px}#capacity-summary:empty{display:none}
