:root{--paper:#f7f5ef;--ink:#253745;--muted:#78838b;--line:#dedfd8;--coral:#d86c52;--coral-wash:#fff0e8;--blue:#597a8d;--blue-wash:#eaf1f3;--green:#537c67;--radius:20px;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;line-height:1.65}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button,a{touch-action:manipulation}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b88648;outline-offset:4px}[hidden]{display:none!important}.site-header{max-width:1140px;margin:auto;padding:30px 34px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font-weight:750;font-size:21px;letter-spacing:.04em}.brand small{display:block;color:var(--muted);font-size:10px;font-weight:400;letter-spacing:.2em}.brand-mark{position:relative;width:35px;height:35px}.brand-mark i{position:absolute;width:24px;height:24px;border-radius:50%;background:var(--coral);top:1px;left:0}.brand-mark i+i{background:var(--blue);top:11px;left:12px;opacity:.9}.text-button{border:0;background:none;color:var(--ink);font-size:13px;padding:10px 0}.text-button span{margin-left:8px}.rules{max-width:850px;margin:8px auto 25px;padding:24px 32px;background:white;border:1px solid var(--line);border-radius:16px;font-size:14px}.rules h2{font-size:18px}.rules p{color:var(--muted)}main{max-width:1072px;margin:0 auto;min-height:68vh}.lobby{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;padding:42px 0 54px;align-items:center}.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:9px}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:var(--coral)}h1{font-size:clamp(36px,4.6vw,57px);font-weight:750;line-height:1.4;letter-spacing:-.035em;margin:22px 0}.accent{color:var(--coral)}.lead{color:#6d7b83;font-size:16px;line-height:1.9}.word-illustration{display:flex;align-items:center;justify-content:flex-start;gap:15px;margin:38px 0 28px;padding-left:7px}.demo-word{width:143px;height:148px;border-radius:15px;display:flex;flex-direction:column;padding:20px 22px;position:relative;border:1px solid #e2d7cd;box-shadow:0 8px 0 -4px #e6ded460}.demo-word small{font-size:10px;letter-spacing:.12em;color:var(--muted)}.demo-word b{font-size:28px;margin-top:10px;font-weight:600;letter-spacing:.08em}.demo-word>span{position:absolute;right:13px;bottom:9px;font-size:27px;opacity:.45}.moon{background:#f9e6d5;transform:rotate(-7deg)}.bread{background:#e2eaf0;transform:rotate(7deg);border-color:#d2dfe8}.between{color:#a9b0b1;display:flex;align-items:center;gap:4px;font-size:13px}.between>span{font-family:Georgia,serif;font-size:26px;font-style:italic;margin-top:-8px}.intro-note{font-size:11px;color:var(--muted);letter-spacing:.08em;margin-top:30px}.entry-card{border:1px solid #e3e4dc;border-radius:24px;background:#fff;padding:38px;box-shadow:0 16px 50px #283b4810}.card-tag{display:inline-block;border:1px solid #dddccb;border-radius:20px;padding:3px 12px;font-size:10px;color:#8c8b70}.entry-card h2{font-size:30px;line-height:1.5;letter-spacing:-.025em;margin:20px 0 13px}.entry-card>p{font-size:13px;color:var(--muted);line-height:1.9}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border-radius:12px;font-size:14px;font-weight:600;text-decoration:none;transition:transform .15s,background .15s;border:1px solid transparent}.primary{background:var(--ink);color:white}.primary:hover:not(:disabled){background:#3d5261;transform:translateY(-1px)}.secondary{background:white;border-color:#d9dfdd;color:var(--ink)}.secondary:hover:not(:disabled){background:#f2f5f2}.entry-card>.primary{width:100%;margin-top:18px;justify-content:space-between}.or{display:flex;align-items:center;gap:12px;font-size:10px;color:#9a9f9c;margin:25px 0 18px}.or:before,.or:after{content:"";height:1px;background:#ebede7;flex:1}label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.join-row{display:flex;gap:8px}.join-row input{min-width:0;width:100%;font-size:13px}.join-row button{flex-shrink:0;padding:10px 17px}input{background:#fafbf8;border:1px solid #e0e4df;border-radius:10px;padding:13px 14px;color:var(--ink);outline:none}input:focus{border-color:var(--blue);background:white}input::placeholder{color:#9ca5a6}.entry-card .entry-footnote{font-size:10px;margin:18px 0 0;line-height:1.8;color:#969f9e}.game{max-width:830px;margin:12px auto 0}.room-bar{display:flex;justify-content:space-between;align-items:center;padding-bottom:15px;border-bottom:1px solid var(--line);font-size:12px}.room-label{color:var(--muted)}.room-label strong{font-family:ui-monospace,Consolas,monospace;margin-left:10px;color:var(--ink);letter-spacing:.12em}.game-heading{text-align:center;padding:23px 0 10px}.game-heading .eyebrow{justify-content:center;color:var(--coral);font-size:12px;margin:10px 0}.game-heading h1{font-size:32px;line-height:1.45;margin:12px 0}.game-subtitle{color:var(--muted);font-size:13px;margin:12px 0}.previous{text-align:center;margin:6px auto 22px}.previous>span{font-size:11px;color:var(--muted)}.previous>div{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:7px}.previous b{font-size:16px;font-weight:500;overflow-wrap:anywhere}.previous i{color:#a3a8a4;font-style:normal}.players{display:grid;grid-template-columns:1fr 30px 1fr;align-items:center}.player-card{border:1px solid #e9d6cb;background:var(--coral-wash);border-radius:var(--radius);padding:22px;min-height:213px;text-align:center}.player-card.theirs{border-color:#d9e3e5;background:var(--blue-wash)}.player-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;text-align:left}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e9b6a2;color:#84513d;width:25px;height:25px;font-size:10px;font-style:normal;font-weight:600;margin-right:3px}.theirs .avatar{background:#bbd1da;color:#486d81}.chip{color:#8c7c72;font-size:10px;white-space:nowrap}.theirs .chip{color:#67828e}.word-display{font-size:32px;font-weight:650;min-height:82px;display:flex;align-items:center;justify-content:center;line-height:1.35;padding:16px 0 4px;overflow-wrap:anywhere;word-break:break-word}.word-display.concealed{font-family:Georgia,serif;font-weight:400;font-size:40px;color:#bf9d8c}.theirs .word-display.concealed{color:#96b1be}.player-card p{font-size:10px;color:#9a8579;margin:8px 0 0}.theirs p{color:#82969e}.bridge{text-align:center;color:#a6aca9;font-family:Georgia,serif;font-style:italic;font-size:20px}.action-area{margin:28px auto 0;max-width:650px;min-height:155px}.waiting-invite,.waiting-word{text-align:center;color:var(--muted);font-size:13px;padding:23px 0}.waiting-word strong{color:var(--ink);font-size:15px}.waiting-word p{font-size:12px;margin-top:10px}.pulse-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--coral);margin-right:9px;animation:pulse 1.8s ease-in-out infinite}.word-input-row{display:flex;gap:12px}.word-input-row input{width:100%;min-width:0;background:white}.word-input-row .primary{white-space:nowrap}.input-note{font-size:11px;color:var(--muted);margin-top:10px}.judgment{text-align:center}.judgment h2{font-size:19px;margin-bottom:5px}.judgment>p{font-size:12px;color:var(--muted)}.vote-buttons{display:flex;justify-content:center;gap:10px;margin-top:20px}.vote-buttons .primary{background:var(--green)}.history{border-top:1px solid var(--line);padding-top:22px;margin:35px 0}.section-heading{display:flex;justify-content:space-between;align-items:center}.section-heading h2{font-size:14px;font-weight:500;margin:0}.section-heading>span{font-size:11px;color:var(--muted)}.history ol{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column-reverse;gap:10px}.history li{display:grid;grid-template-columns:38px 1fr 20px 1fr 34px;align-items:center;gap:12px;background:#eeeee7;border-radius:10px;padding:12px 16px;font-size:13px;overflow-wrap:anywhere}.history li>span{font-size:11px;color:var(--muted)}.history li>b{font-weight:500}.history li>i{font-style:normal;color:#9da7a5}.history li.matched{background:#e4eee5}.history li.matched>span:last-child{color:var(--green)}.room-note{font-size:10px;text-align:center;line-height:2;color:#949d9b;margin:32px 0}.room-note a{color:var(--muted);text-underline-offset:4px}.celebration{text-align:center;padding:4px 0 0}.sparkle{font-size:36px;color:#c39043;display:block}.celebration h2{font-size:22px;margin:5px 0}.celebration>p{font-size:13px;color:var(--muted)}.celebration .primary{margin-top:10px}.connection{border:1px solid #e6d0b0;background:#fff8ea;border-radius:8px;padding:9px 12px;font-size:12px;color:#956934;margin-top:16px}.fatal{text-align:center;padding:90px 15px}.fatal .eyebrow{justify-content:center}.fatal h1{font-size:32px}.fatal>p{color:var(--muted)}footer{max-width:1072px;margin:30px auto 0;padding:25px 0 30px;border-top:1px solid var(--line);display:flex;gap:16px;justify-content:space-between;align-items:center;color:#929995;font-size:10px}footer>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}footer a{display:inline-flex;align-items:center;gap:5px;text-underline-offset:3px}footer img{object-fit:contain}footer>span{white-space:nowrap}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:12px;padding:13px 20px;box-shadow:0 5px 20px #0002;font-size:13px;z-index:20;width:max-content;max-width:90vw;text-align:center}dialog{max-width:440px;width:90%;border:1px solid var(--line);border-radius:20px;padding:30px;color:var(--ink)}dialog::backdrop{background:#25374560}dialog h2{font-size:21px;margin-top:0}dialog p{font-size:13px;color:var(--muted)}dialog input{width:100%;margin-bottom:20px;font-size:12px}dialog .primary{width:100%}@keyframes pulse{50%{opacity:.35}}@media(max-width:1120px){main,footer{margin-left:34px;margin-right:34px}.lobby{gap:35px}}@media(max-width:700px){.site-header{padding:23px 22px}.brand{font-size:19px}main,footer{margin-left:22px;margin-right:22px}.lobby{grid-template-columns:1fr;gap:27px;padding:15px 0 20px}.intro h1{font-size:39px;margin:15px 0}.lead{font-size:14px}.word-illustration{position:absolute;right:20px;top:212px;gap:6px;opacity:.42;pointer-events:none;transform:scale(.53);transform-origin:right top;margin:0;width:340px;justify-content:flex-end}.intro-note{font-size:10px;margin:23px 0 0}.entry-card{padding:25px;border-radius:20px}.entry-card h2{font-size:25px;margin:14px 0 9px}.entry-card h2 br{display:none}.entry-card>.primary{margin-top:10px}.entry-card>p{font-size:12px}.entry-card .or{margin:22px 0 17px}.game-heading{padding-top:20px}.game-heading h1{font-size:27px}.game-subtitle{font-size:12px}.room-label{font-size:10px}.room-label strong{display:block;margin-left:0;font-size:12px}.copy-button{font-size:11px}.players{grid-template-columns:1fr 18px 1fr}.player-card{padding:14px 12px;min-height:189px;border-radius:15px}.player-top{align-items:flex-start;flex-direction:column;gap:6px}.player-card p{font-size:9px;line-height:1.6;min-height:28px}.word-display{font-size:25px;min-height:66px;padding-top:11px}.chip{padding-left:1px}.avatar{width:23px;height:23px}.word-input-row{flex-direction:column;gap:10px}.word-input-row input{min-height:51px}.word-input-row button{width:100%}.action-area{margin-top:23px}.vote-buttons{flex-direction:column;gap:9px}.judgment h2{font-size:18px}.previous{margin-bottom:17px}.history li{grid-template-columns:24px 1fr 12px 1fr 27px;gap:8px;padding:12px;font-size:12px}.celebration h2{font-size:20px}.room-note{margin-bottom:10px}footer{flex-direction:column;align-items:flex-start;padding:22px 0;gap:10px;font-size:9px}footer>div{gap:8px 12px}.rules{margin:0 22px 20px;padding:18px 21px;font-size:12px}.rules ol{padding-left:18px}.rules li{margin:8px 0}.toast{bottom:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:700px){.word-illustration{display:none}}

.entry-card>.ai-start{width:100%;margin-top:10px;justify-content:space-between;background:#f0f5f3;border-color:#d8e4df}.ai-start span{font-size:11px;font-weight:400;color:var(--green)}.entry-card .ai-disclosure{font-size:10px;line-height:1.7;margin:10px 0 0;color:var(--muted)}

.header-actions{display:flex;align-items:center;gap:22px}.archive-dialog{max-width:740px;max-height:90vh;overflow:auto}.archive-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.archive-heading h2{margin:0}.archive-heading button{white-space:nowrap}.archive-tools{display:flex;gap:12px;margin:18px 0}.archive-tools .primary{width:auto;margin:0}.import-label{position:relative;margin:0;cursor:pointer;overflow:hidden}.import-label input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.nickname-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.nickname-fields input{margin:0;font-size:14px}.archive-dialog select{width:100%;border:1px solid var(--line);background:var(--paper);color:var(--ink);font:inherit;font-size:12px;padding:12px;border-radius:10px}.archive-history{margin:14px 0 0;padding-top:0;border:0}#archive-status{color:var(--green)}@media(max-width:700px){.header-actions{gap:14px}.header-actions button{font-size:11px}.archive-dialog{padding:22px 18px;width:94%}.archive-heading h2{font-size:18px}.nickname-fields{gap:10px}.nickname-fields input{min-width:0;width:100%}}
