:root{--bg:#fffaf6;--paper:#fffdf9;--ink:#644b50;--text:#7e686b;--muted:#a28e8e;--accent:#bc6e8c;--accent-dark:#a45674;--pink:#f8e4e9;--line:#efe2dc;--blue:#91afca;--green:#8fac9a;--radius:22px;--shadow:0 14px 50px #7250570e;--font:ui-rounded,'Hiragino Maru Gothic ProN','PingFang SC','Microsoft YaHei','Noto Sans CJK SC',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.7;-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer;border:0;background:none;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #af89b8}input:focus,textarea:focus,select:focus{outline:2px solid #dfb0c3;outline-offset:1px}button{transition:background .18s,transform .18s,box-shadow .18s}button:hover{filter:brightness(.98)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}svg{display:block;width:100%;height:100%}.wrap{width:calc(100% - 96px);max-width:1200px;margin-inline:auto}.header{height:88px;border-bottom:1px solid var(--line);background:#fffaf6f5}.nav-wrap{height:100%;max-width:1300px;padding:0 48px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:750;letter-spacing:1.5px;line-height:1.2;flex-shrink:0}.brand small{display:block;font-size:7px;letter-spacing:2.15px;font-weight:500;margin-top:7px;color:#a4888d}.brand-icon{width:41px;height:41px;border:1px solid #ebccd7;border-radius:14px;background:#f7e1e8;color:#b86b8d;display:grid;place-items:center;position:relative;font-family:Georgia,serif;font-size:33px;font-weight:normal;transform:rotate(-8deg)}.brand-icon i{position:absolute;right:-5px;top:-8px;font-size:16px;font-style:normal;color:#c8a66c}.desktop-nav{display:flex;gap:33px;height:100%;align-items:center}.nav-link{height:100%;font-size:13px;color:#978184;padding:0 2px;position:relative}.nav-link.active{color:var(--accent-dark);font-weight:650}.nav-link.active:after{content:'';position:absolute;height:3px;border-radius:3px;background:var(--accent);bottom:19px;left:12px;right:12px}.tiny-heart{font-size:17px;margin-left:3px;color:#be8ea4}.header-actions{display:flex;align-items:center;gap:12px}.icon-btn{height:36px;width:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:20px;background:#fffaf6;flex-shrink:0}.icon-btn svg{width:17px;height:17px}.room-pill{display:flex;align-items:center;gap:9px;border:1px solid #eadcd5;padding:8px 15px;border-radius:30px;font-size:12px;background:#fffdf9}.status-dot{width:6px;height:6px;border-radius:50%;background:#92ac96;box-shadow:0 0 0 3px #92ac9615}.room-pill.online{background:#edf4ee;border-color:#cdded0}.chevron{font-size:16px;margin-left:4px}.hero{display:grid;grid-template-columns:1fr 1.07fr;align-items:center;min-height:476px;position:relative;padding-top:16px;padding-bottom:6px}.hero-copy{padding:15px 0 18px 9px;position:relative;z-index:1}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2.5px;color:#b88598;display:flex;align-items:center;gap:9px}.eyebrow>span{font-size:20px;line-height:1}.hero h1{font-family:'Noto Serif CJK SC','Songti SC','STSong',serif;font-size:57px;line-height:1.55;font-weight:650;letter-spacing:3px;margin:15px 0 16px;position:relative;white-space:nowrap}.hand-highlight{position:relative;color:#b96889;z-index:0}.hand-highlight:after{content:'';height:12px;left:-3px;right:-4px;bottom:1px;background:#f2cbd8;position:absolute;z-index:-1;transform:rotate(-2deg);border-radius:60% 30% 45% 30%}.title-spark{font-size:33px;color:#c5aa78;position:absolute;margin-left:12px;transform:rotate(15deg);bottom:23px;font-family:Georgia,serif}.hero-description{color:#927a7c;font-size:13px;line-height:2.15;letter-spacing:.5px}.hero-buttons{display:flex;gap:15px;margin-top:26px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:12px 21px;min-height:45px;border-radius:12px;font-size:13px;font-weight:600;white-space:nowrap}.btn.primary{background:var(--accent);color:white;border:1px solid var(--accent);box-shadow:0 5px 12px #b96d8b16}.btn.primary:hover{background:var(--accent-dark);box-shadow:0 6px 18px #b96d8b26;transform:translateY(-2px)}.btn.primary span{font-size:19px}.btn.subtle{background:#f7ede9;border:1px solid #eddfd8;color:#866d72}.btn.subtle span{font-size:19px;color:#b88194}.btn.outlined{border:1px solid #e6d8d0;background:#fffdf9;color:#927680;font-weight:500}.btn.small{font-size:12px;padding:9px 16px;min-height:38px;border-radius:10px}.hero-details{display:flex;align-items:center;gap:6px;color:#aa9592;font-size:10px;margin-top:23px}.hero-details [data-icon]{width:14px;height:14px}.hero-details i{height:9px;width:1px;background:#decec6;margin:0 7px}.hero-art{position:relative;align-self:stretch;display:flex;align-items:center;margin-left:-26px}.hero-art>svg{height:auto;max-height:450px;overflow:visible}.floating-label{position:absolute;top:49px;left:27%;background:#fffdf7;border:1px solid #ead6d7;border-radius:8px;padding:6px 13px;transform:rotate(-7deg);font-size:10px;color:#a57887;box-shadow:0 5px 12px #95686e07;letter-spacing:.5px;z-index:1}.art-caption{position:absolute;bottom:19px;left:38%;font:italic 12px Georgia,serif;letter-spacing:.6px;color:#b59196;transform:rotate(-3deg)}.tip-ribbon{display:flex;align-items:center;gap:12px;border:1px solid #efdfd5;border-radius:13px;background:#fcf3e9;padding:12px 20px;color:#997d6b;min-height:50px}.tip-icon{font-size:24px;color:#bd996c;line-height:1}.tip-label{font-size:11px;white-space:nowrap;font-weight:650;padding-right:15px;border-right:1px solid #e9d5c6}.tip-ribbon p{font-size:11px;letter-spacing:.3px;flex:1}.tip-ribbon button{font-size:21px;color:#b9957b;line-height:1;width:28px;height:28px}.games-section{padding-top:53px;padding-bottom:48px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:20px}.mini{font-size:8px;letter-spacing:2px;margin-bottom:7px}.section-heading h2{font-size:26px;letter-spacing:1px;font-weight:650;line-height:1.5}.section-heading p{font-size:11px;color:#aa9591;margin-top:8px;letter-spacing:.3px}.accent{color:#ba7893}.section-heading .btn{align-self:end;margin-bottom:2px}.filter-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px;gap:14px}.filters{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.filter{padding:8px 15px;border-radius:24px;color:#a08a8c;font-size:11px;white-space:nowrap;border:1px solid transparent}.filter.active{background:#efdde4;color:#a15f7c;border-color:#e9cfd9;font-weight:600}.filter:hover{background:#f5e9e8}.filter span{font-size:9px;padding:1px 5px;border-radius:10px;background:#fff6f7;margin-left:5px;color:#b77490}.search{display:flex;align-items:center;border:1px solid #eadfd8;border-radius:23px;background:#fffdf9;padding:8px 13px;gap:7px;max-width:187px;flex-shrink:1}.search [data-icon]{width:14px;height:14px;color:#b29f97;flex-shrink:0}.search input{padding:0;width:100%;min-width:40px;border:0;background:transparent;font-size:10px;outline:0}.search input::placeholder{color:#b4a29b}.games-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:21px}.game-card{border:1px solid #ebdfd8;border-radius:17px;overflow:hidden;background:#fffdfb;box-shadow:0 3px 7px #71535303;position:relative;transition:transform .22s,box-shadow .22s,border-color .22s;cursor:pointer;min-width:0}.game-card:hover{transform:translateY(-5px);box-shadow:0 9px 24px #86617312;border-color:#d9b6c5}.card-art{height:auto;aspect-ratio:300/174;position:relative;overflow:hidden}.card-art svg{transition:transform .4s;padding:3px 10px}.game-card:hover .card-art svg{transform:rotate(-2deg) scale(1.035)}.pink .card-art{background:#f8e4e9}.peach .card-art{background:#f9eadc}.lavender .card-art{background:#ede7f3}.rose .card-art{background:#f5e1e7}.butter .card-art{background:#f7efdc}.mint .card-art{background:#eaf0e5}.sky .card-art{background:#e6eff4}.card-info{padding:17px 18px 15px}.card-title{display:flex;align-items:center;gap:7px;margin-bottom:6px}.card-title h3{font-size:15px;font-weight:650;letter-spacing:.5px}.card-desc{font-size:10px;color:#a18d8b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.15px}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:17px;gap:3px;font-size:9px;color:#b09b95}.category-tag{background:#f7efec;color:#a08585;font-size:9px;padding:2px 7px;border-radius:5px}.card-time{display:flex;align-items:center;gap:4px;margin-left:auto;margin-right:8px}.card-time svg{width:11px;height:11px}.card-arrow{width:23px;height:23px;display:grid;place-items:center;border:1px solid #ebdfd8;border-radius:50%;font-size:13px;color:#b09096}.fav-btn{position:absolute;right:11px;top:11px;z-index:2;width:29px;height:29px;display:grid;place-items:center;background:#fffaf5ce;border:1px solid #fffef7;border-radius:50%;font-size:18px;line-height:1;color:#ab8e98}.fav-btn.saved{color:#b75e81;background:#fff5f9}.recommended{position:absolute;z-index:2;left:12px;top:12px;display:flex;gap:4px;align-items:center;border-radius:5px;padding:2px 7px;background:#fffaf1dc;color:#a5836a;font-size:8px;letter-spacing:.3px}.card-play{position:absolute;inset:0;width:100%;z-index:1}.card-play:focus-visible{outline-offset:-4px;border-radius:15px}.empty-state{border:1px dashed #dbc5c5;border-radius:18px;text-align:center;padding:60px 25px;color:#a68b94}.together-banner{display:flex;align-items:center;gap:25px;min-height:153px;border-top:1px solid #efdfd6;border-bottom:1px solid #efdfd6;padding:20px 16px;margin-bottom:34px;background:linear-gradient(90deg,#faf1e750,#f7edef65,#faf1e750)}.banner-art{width:126px;height:103px;flex-shrink:0;overflow:hidden}.together-banner h2{font-size:19px;font-weight:550;letter-spacing:.5px}.together-banner p{font-size:11px;color:#a18b8a;margin-top:8px}.together-banner .btn{margin-left:auto}.footer{display:flex;align-items:center;gap:22px;min-height:93px;padding:13px 0 28px}.footer-brand{font-size:14px;letter-spacing:1px;color:#a78a8e}.footer-brand .brand-icon{width:27px;height:27px;font-size:23px;border-radius:9px}.footer-brand .brand-icon i{font-size:10px;right:-3px;top:-6px}.footer p{font-size:10px;color:#b4a09b}.footer>span{margin-left:auto;color:#b59f98;font-size:7px;letter-spacing:1.8px}.footer b{font-size:13px;color:#bf8fa1;font-weight:400}.mobile-nav{display:none}.inner-page{padding-top:55px;padding-bottom:75px;min-height:78vh}.page-heading{margin-bottom:38px}.page-heading h1{font-family:'Noto Serif CJK SC','Songti SC',serif;font-size:42px;letter-spacing:2px;line-height:1.6;margin:12px 0}.page-heading h1 span{color:var(--accent)}.page-heading p{font-size:13px;color:#9e888d;line-height:2}.page-heading .btn{margin-top:24px}.notes-layout{display:grid;grid-template-columns:340px 1fr;gap:40px}.note-editor{padding:25px;background:#fffdf9;border:1px solid var(--line);border-radius:18px;align-self:start;box-shadow:var(--shadow)}.section-kicker{font-size:17px;color:var(--accent);margin-bottom:20px}.note-editor label,.room-form label{font-size:11px;display:block;color:#a0858e;margin:14px 0 7px}.note-editor textarea,.note-editor select,.room-form input,.answer-input{border:1px solid #e8dad6;background:#fffaf5;padding:11px 13px;width:100%;border-radius:10px;font-size:12px}.note-editor textarea{resize:vertical;min-height:130px}.note-editor textarea::placeholder{color:#b5a19e}.field-meta{display:flex;justify-content:space-between;gap:6px;font-size:9px;color:#b6a09d;margin-top:3px}.note-editor .btn{width:100%;margin-top:18px}.privacy-note{font-size:10px;color:#ad9994;line-height:1.9;margin-top:14px}.notes-wall-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.notes-wall-heading h2{font-size:17px;font-weight:550}.text-btn{color:var(--accent);font-size:11px;padding:5px;white-space:nowrap}.notes-wall{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;align-items:start}.note-paper{padding:28px 21px 17px;background:#f9eed9;box-shadow:0 6px 14px #745a6210;position:relative;min-height:170px;transform:rotate(-1deg);border-radius:2px}.note-paper:nth-child(even){background:#f8e6eb;transform:rotate(1deg)}.note-paper:before{content:'';position:absolute;top:-9px;left:calc(50% - 26px);height:20px;width:53px;background:#d3c3d173;transform:rotate(-5deg)}.note-paper p{font-size:13px;line-height:2;word-break:break-word;white-space:pre-wrap}.note-meta{display:flex;justify-content:space-between;font-size:9px;color:#b09791;margin-top:20px;gap:5px;align-items:center}.note-meta button{font-size:16px;color:#bd7e96}.note-meta .delete-note{font-size:10px;color:#ad9194}.notes-empty{grid-column:1/-1;display:flex;align-items:center;flex-direction:column;padding:40px 20px;border:1px dashed #e4d0cb;border-radius:20px;color:#b29b99}.notes-empty svg{width:230px;height:135px}.notes-empty h3{font-size:15px;color:#987c83;margin:8px 0}.notes-empty p{font-size:11px}.meet-hero{display:grid;grid-template-columns:1fr .8fr;align-items:center}.meet-hero #meetArt{height:310px}.boundaries{padding:18px 23px;border:1px solid #e5ddd0;background:#f7f1e6;border-radius:13px;margin-bottom:42px;display:flex;align-items:center;gap:22px}.boundaries span{white-space:nowrap;font-weight:600;font-size:12px;color:#a28a6f}.boundaries p{font-size:11px;color:#a48d7e}.dialog{border:1px solid #ecdbd9;background:var(--bg);color:var(--ink);padding:0;border-radius:25px;box-shadow:0 25px 100px #4b30413a;max-height:94dvh;max-width:calc(100% - 32px)}.dialog::backdrop{background:#58424965;backdrop-filter:blur(5px)}body:has(dialog[open]){overflow:hidden}.connection-dialog{width:530px;padding:34px}.modal-close{position:absolute;right:18px;top:12px;font-size:26px;color:#ad9398;width:30px;height:30px}.dialog-symbol{display:grid;place-items:center;width:52px;height:52px;background:#f3dfe7;border-radius:18px;font-family:Georgia,serif;font-size:38px;color:var(--accent);margin-bottom:20px;transform:rotate(-5deg)}.connection-dialog h2{font-size:23px;font-weight:550;margin:9px 0}.dialog-desc{font-size:12px;line-height:1.9;color:#a08a8f;margin-bottom:23px}.mode-card{display:flex;align-items:center;gap:13px;border:1px solid #dbcad5;background:#f4e9ef;border-radius:13px;padding:16px;width:100%;text-align:left}.mode-card .mode-icon{width:30px;height:30px;color:#b37f9a}.mode-card b{font-size:13px;font-weight:550;display:block}.mode-card small{font-size:10px;color:#a48c96;display:block;margin-top:3px}.mode-card>span:last-child{margin-left:auto;color:var(--accent)}.room-form{padding:21px 0 0}.room-form-label{display:flex;align-items:center;gap:8px;font-size:13px}.room-form-label [data-icon]{height:20px;width:20px;color:#a5899c}.room-form-label b{font-weight:550}.little-tag{font-size:9px;background:#f4e8e5;color:#ad9295;border-radius:5px;padding:1px 6px;margin-left:auto}.join-actions{display:flex;gap:9px;align-items:center;margin-top:14px}.join-actions>span{font-size:11px;color:#b59f9e}.join-actions .btn{font-size:11px;padding:9px 12px;min-height:41px}.join-actions input{width:120px;min-width:60px;font-size:11px;padding:10px}.form-error{color:#b45971;font-size:11px;margin-top:10px;min-height:17px}.room-code-display{background:#f4e5ec;border:1px dashed #dcb8c8;padding:20px;border-radius:15px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.room-code-display>span{color:#a68394;font-size:11px}.room-code-display strong{font-size:37px;letter-spacing:8px;font-weight:600;color:var(--accent-dark);padding-left:8px}.room-players{display:flex;gap:16px;justify-content:center;margin:22px 0;font-size:12px}.room-players span{padding:8px 14px;border:1px solid var(--line);border-radius:10px}.danger{color:#b2707b;margin-top:15px}.confirm-dialog{width:385px;padding:30px}.confirm-dialog h2{font-size:23px;margin-bottom:12px}.confirm-dialog p{font-size:13px;color:#a08390}.confirm-actions{display:flex;justify-content:end;gap:10px;margin-top:25px}.toast{position:fixed;bottom:27px;left:50%;transform:translate(-50%,14px);padding:12px 22px;background:#765966ee;color:#fff9f5;font-size:12px;border-radius:13px;box-shadow:0 10px 35px #71566b22;max-width:calc(100vw - 32px);width:max-content;z-index:10000;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}
/* Playing space */
.game-dialog{width:980px;max-height:94dvh;overflow-y:auto}.game-header{display:flex;align-items:center;padding:20px 25px;border-bottom:1px solid var(--line);gap:13px;position:sticky;top:0;background:#fffaf6f5;z-index:5}.game-header h2{font-size:18px;letter-spacing:1px;line-height:1.4}.game-header>div>span{font-size:8px;color:#b89ca7;letter-spacing:1.5px}.game-header-actions{margin-left:auto;display:flex;gap:8px}.game-header-actions .icon-btn{width:32px;height:32px;font-size:20px}.game-header-actions #rulesBtn{font-size:14px}.rules-panel{font-size:12px;color:#90727e;line-height:2;padding:16px 25px;background:#f5e9ed;border-bottom:1px solid #ead6df}.game-status{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 30px 10px}.player-chip{padding:7px 13px;border:1px solid transparent;border-radius:20px;font-size:11px;display:flex;align-items:center;gap:7px;white-space:nowrap}.player-chip i{width:8px;height:8px;border-radius:50%;background:#db97ac}.player-chip strong{font-size:12px;font-weight:600;margin-left:7px}.pink-player{background:#f7e5eb;color:#ac6b89}.blue-player{background:#e6eef5;color:#6d91b0}.blue-player i{background:#a1bdd4}.player-chip.current{border-color:currentColor;box-shadow:0 0 0 3px #b683a509}.game-status-text{text-align:center;font-size:11px;color:#ad909b}.game-content{min-height:400px;padding:13px 30px 24px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;gap:16px}.game-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--line);padding:12px 25px;color:#b7a099;font-size:10px}.game-footer .text-btn{font-size:10px}.game-result{padding:20px;margin:0 30px 25px;background:#f2e5ec;border:1px solid #e5c9d8;text-align:center;border-radius:16px}.game-result h3{font-size:21px;color:#a96083;margin-bottom:5px}.game-result p{font-size:12px;color:#a08795;margin-bottom:13px}.game-result .btn{min-height:37px;padding:8px 15px;font-size:11px}.disconnect-banner{font-size:11px;text-align:center;background:#f8edd8;color:#af8b54;padding:11px}.game-help{font-size:11px;color:#ad939b;text-align:center;max-width:580px}.game-mini-heading{font-size:17px;font-weight:550;margin-top:7px;text-align:center}.toolbar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px}.toolbar label{font-size:11px;color:#a58795}.color-btn{width:31px;height:31px;border-radius:50%;background:var(--color);border:3px solid var(--bg);box-shadow:0 0 0 1px #dfcecc;display:grid;place-items:center}.color-btn.selected{box-shadow:0 0 0 2px #b77893}.color-btn.eraser{font-size:13px}.board-panel{padding:19px;border-radius:20px;border:1px solid #e7d6cf;background:#fff8ee;box-shadow:0 8px 24px #95796708;width:min(100%,460px)}.beads-layout{display:flex;gap:26px;align-items:center;justify-content:center;width:100%}.beads-board{display:grid;grid-template-columns:repeat(13,1fr);gap:3px;background:#f5eadf;padding:14px;border:2px solid #e4c4c2;border-radius:15px;width:350px;max-width:100%;aspect-ratio:1;touch-action:none;box-shadow:0 6px 0 #d9bbb942}.bead{border:0;border-radius:50%;background:var(--color);position:relative;padding:0;aspect-ratio:1;box-shadow:inset 0 -2px 2px #69465320;touch-action:none}.bead:after{content:'';position:absolute;inset:36%;border-radius:50%;background:#f5eadf;box-shadow:0 1px 2px #765a5625}.bead.ghost{opacity:.55}.bead.ghost:after{inset:40%;background:#fcf6ec}.beads-reference{width:155px;flex-shrink:0;text-align:center}.beads-reference h3{font-size:12px;font-weight:500;margin-bottom:11px;color:#a3818f}.mini-beads{display:grid;grid-template-columns:repeat(13,1fr);gap:2px;background:#fff6ed;padding:10px;border:1px dashed #d9bbc7;border-radius:12px;margin-bottom:9px}.mini-beads span{aspect-ratio:1;background:var(--color);border-radius:50%}.beads-reference p{font-size:10px;color:#b1929b}.progress-bar{height:6px;background:#f0e1e7;border-radius:10px;overflow:hidden;width:145px;max-width:100%;margin:12px auto}.progress-bar i{display:block;height:100%;background:#c68da7;transition:width .2s}.board-grid{display:grid;gap:5px;width:min(100%,425px);aspect-ratio:1;padding:14px;border-radius:17px;background:#f7eadf;border:1px solid #e4cfc4}.cell{background:#fffaf3;border:1px solid #eedbd0;border-radius:9px;position:relative;padding:0;min-width:0;aspect-ratio:1;display:grid;place-items:center;font-size:27px;user-select:none}.cell:hover:not(:disabled){background:#faeff0}.cell.p0:after,.cell.p1:after{content:'';width:76%;height:76%;border-radius:50%;box-shadow:inset 0 -3px 2px #74525716,0 2px 3px #75525910;border:1px solid #b97e9640}.cell.p0:after{background:#e5a2b7}.cell.p1:after{background:#aec7dc;border-color:#88a8c8}.cell.winline{background:#f3d889!important;border-color:#d7b66d}.gomoku-board{gap:0;padding:14px;background:#f3e4cf;max-width:470px}.gomoku-board .cell{border-radius:0;border:0;background:linear-gradient(#b5947838,#b5947838) center/1px 100% no-repeat,linear-gradient(90deg,#b5947838,#b5947838) center/100% 1px no-repeat;min-width:0}.gomoku-board .cell:hover{background-color:#dfc5b3}.gomoku-board .cell.p0:after{background:#bd8a88}.gomoku-board .cell.p1:after{background:#fff8ed;border-color:#ba9d84}.ttt-board{width:min(100%,330px);gap:10px;padding:16px}.ttt-board .cell{border-radius:14px}.connect-board{width:min(100%,430px);aspect-ratio:7/6;grid-template-columns:repeat(7,1fr);background:#c4d6c8;border-color:#afc6b4;gap:8px}.connect-board .cell{border-radius:50%;background:#f2f3e4;border:1px solid #b3c7b5}.connect-board .cell:after{width:95%;height:95%}.reversi-board{gap:3px;background:#d0d4bc;padding:12px;border-color:#a6b296;max-width:400px}.reversi-board .cell{border-radius:3px;border-color:#c1c6ad;background:#e7e8d7}.reversi-board .cell.p0:after{background:#aa7a69}.reversi-board .cell.p1:after{background:#fff9ee;border-color:#b7a68d}.legal-dot{width:6px;height:6px;border-radius:50%;background:#b08c9a}.memory-board{width:min(100%,425px);display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.memory-card{aspect-ratio:1.08;border:1px solid #dacbdf;border-radius:13px;background:#e8def0;display:grid;place-items:center;font-size:32px;position:relative;box-shadow:0 4px 0 #c9b8d347;color:#ac8fbb}.memory-card:not(.flipped):after{content:'';position:absolute;inset:6px;border:1px dashed #ccb8d5;border-radius:9px}.memory-card.flipped{background:#fffaf1;border-color:#e7d5c1}.memory-card.matched0{background:#f7e4eb;border-color:#e1bbcc;opacity:.8}.memory-card.matched1{background:#e6eff6;border-color:#b8cedf;opacity:.8}.answer-panel{width:min(100%,620px);text-align:center;padding:10px 0}.answer-panel .question-num{font-size:9px;color:#b18a9c;letter-spacing:2px}.answer-panel h3{font-size:23px;font-weight:550;line-height:1.7;margin:15px 0 22px}.answer-options{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.answer-option{padding:17px 14px;border:1px solid #e3cfda;background:#fff6f8;border-radius:14px;min-height:63px;font-size:13px}.answer-option:hover{background:#f3e0e9;transform:translateY(-2px)}.answer-progress{display:flex;justify-content:center;gap:16px;margin-top:21px}.answer-progress span{padding:5px 14px;border-radius:30px;background:#f0e7eb;font-size:10px;color:#a38994}.reveal-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:21px}.reveal-card{background:#f8e6ec;border:1px solid #e8ceda;border-radius:16px;min-height:125px;padding:20px;display:flex;flex-direction:column;gap:12px;justify-content:center;word-break:break-word}.reveal-card:last-child{background:#e9f0f6;border-color:#cddce7}.reveal-card span{font-size:11px;color:#ad819a}.reveal-card:last-child span{color:#7d9ab2}.reveal-card strong{font-size:16px;font-weight:550}.rps-options{display:flex;justify-content:center;gap:18px}.rps-option{width:110px;max-width:30%;height:132px;border-radius:18px;background:#f8e7ed;border:1px solid #e7cad8;font-size:11px}.rps-option>span{font-size:43px;display:block;margin-bottom:7px}.role-switch{padding:4px;display:inline-flex;gap:3px;background:#f1e7e9;border-radius:12px}.role-switch button{padding:6px 14px;border-radius:9px;font-size:11px;color:#ac939b}.role-switch button.selected{background:#fffbf7;color:#ad6e8b;box-shadow:0 2px 5px #6b434f08}.drawing-layout{display:flex;gap:20px;align-items:start;width:100%;justify-content:center}.canvas-wrap{position:relative;width:min(100%,545px);border:1px solid #e3cec9;border-radius:16px;background:#fffdfa;overflow:hidden;touch-action:none;line-height:0}.canvas-wrap canvas{width:100%;height:auto;display:block;touch-action:none}.drawing-aside{width:230px;flex-shrink:0;font-size:11px;color:#ae949d}.drawing-aside h3{font-size:14px;font-weight:550;margin-bottom:12px}.drawing-aside .answer-input{margin:8px 0}.drawing-aside .btn{font-size:11px;width:100%}.word-reveal{padding:15px;background:#f4e7ec;border-radius:12px;margin-bottom:15px}.word-reveal b{display:block;font-size:19px;color:#b16c8a;letter-spacing:3px}.guesses{margin-top:13px;font-size:11px;line-height:2.1;max-height:155px;overflow:auto;word-break:break-word}.game-canvas{width:min(100%,410px);border:2px solid #d8bbb0;background:#fbf2e6;border-radius:20px;touch-action:none;display:block}.sling-layout{display:flex;align-items:center;gap:30px;justify-content:center;width:100%}.sling-controls{width:195px;flex-shrink:0}.sling-controls h3{font-size:15px;margin-bottom:12px}.sling-controls p{font-size:11px;color:#ac929b;line-height:1.9;margin-bottom:20px}.sling-controls input{width:100%;accent-color:var(--accent);margin:15px 0}.sling-controls .btn{width:100%}.sling-controls label{font-size:11px;color:#a18491}.puzzle-board{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;background:#f0e4d4;padding:12px;border:1px solid #dfcaba;border-radius:18px;width:min(100%,350px);aspect-ratio:1}.puzzle-tile{background:#efb8c7;border:1px solid #e1a6bc;border-radius:10px;display:grid;place-items:center;position:relative;overflow:hidden;aspect-ratio:1}.puzzle-tile:nth-child(3n){background:#e5a5b9}.puzzle-tile span{font:30px Georgia,serif;color:#fff9f4;text-shadow:0 1px 2px #9c64795a;z-index:1}.puzzle-tile.empty{background:#e8d6c8;border-style:dashed;border-color:#d3bba9}.puzzle-tile i{position:absolute;width:110%;height:110%;font-size:70px;line-height:1;opacity:.2;transform:rotate(-15deg);font-style:normal;color:white;display:grid;place-items:center}.garden-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;width:min(100%,560px);background:#edf0e5;padding:24px;border:1px solid #d3ddc7;border-radius:20px}.plot{aspect-ratio:.94;border-radius:14px;border:1px dashed #d1bcac;background:#e7d9c6;position:relative;font-size:35px;display:flex;align-items:center;justify-content:center;flex-direction:column;line-height:1.3}.plot small{font-size:10px;color:#aa8d77;margin-top:8px}.plot.bloom{background:#f8f6e8;border-style:solid;border-color:#d9dfc0}.order-slip{padding:14px 24px;background:#fff7e3;border:1px dashed #d5bd96;border-radius:12px;text-align:center;width:min(100%,530px)}.order-slip span{font-size:10px;color:#b39369;letter-spacing:1px}.order-slip strong{font-size:17px;font-weight:550;display:block;margin-top:4px;color:#9e7d69}.cafe-work{display:grid;grid-template-columns:1fr 1fr;gap:22px;width:100%;max-width:700px}.cafe-column{padding:19px;background:#f9e9ee;border:1px solid #ecd3dc;border-radius:17px;text-align:center}.cafe-column:last-child{background:#eaf0f5;border-color:#d1dfe9}.cafe-column h3{font-size:12px;font-weight:500;margin-bottom:15px}.ingredient-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:10px 0}.ingredient{padding:10px 9px;border:1px solid #e3d6d3;background:#fffaf5;border-radius:12px;min-width:68px;font-size:10px}.ingredient>span{font-size:26px;display:block}.ingredient.selected{outline:2px solid #c393ac;background:#fff8e9}.selected-dessert{font-size:30px;letter-spacing:9px}.dots-board{display:grid;grid-template-columns:18px 70px 18px 70px 18px 70px 18px;grid-template-rows:18px 70px 18px 70px 18px 70px 18px;padding:20px;background:#f2eaf6;border:1px solid #d6c6e0;border-radius:20px;place-items:center;max-width:100%}.dot{font-size:19px;color:#b897c2;z-index:1;line-height:1}.edge{background:#e6d8ec;position:relative;border-radius:8px;min-width:14px;min-height:14px}.edge:before{content:'';position:absolute;inset:-8px}.edge.h{height:8px;width:100%}.edge.v{width:8px;height:100%}.edge.p0{background:#d491af}.edge.p1{background:#9cb9d4}.box-owner{width:85%;height:85%;border-radius:8px;display:grid;place-items:center;color:#ba7f9d;font-size:23px}.box-owner.p0{background:#f2d8e6}.box-owner.p1{background:#d8e5f0;color:#8aa6c7}.treasure-layout{display:flex;gap:30px;width:100%;justify-content:center}.sea-panel{width:290px;max-width:48%;text-align:center}.sea-panel h3{font-size:12px;margin-bottom:13px;font-weight:500}.sea-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;background:#e3edf4;padding:12px;border:1px solid #bccfde;border-radius:16px}.sea-cell{aspect-ratio:1;border-radius:7px;border:1px solid #c4d7e2;background:#f5f9f9;font-size:20px;color:#acc5d4;padding:0;display:grid;place-items:center}.sea-cell.hit{background:#f6e1e9;border-color:#dbb7ca;color:#b67192}.play-pads{display:flex;justify-content:center;gap:25px;width:100%;max-width:590px;touch-action:none}.play-pad{background:#f3dce6;border:1px solid #dcafc4;border-bottom:4px solid #d5a1ba;border-radius:17px;padding:20px 15px;flex:1;color:#ad6b8b;min-height:92px;touch-action:none;user-select:none}.play-pad:last-child{background:#e0ebf4;border-color:#bed2e3;border-bottom-color:#a9c3db;color:#7499b9}.play-pad b{display:block;font-size:22px;font-weight:500;line-height:1.3}.play-pad small{font-size:10px;display:block;margin-top:5px}.rhythm-track{width:min(100%,620px);height:115px;position:relative;background:#f2e7ed;border:1px solid #e5d2de;border-radius:17px;overflow:hidden;margin-top:8px}.rhythm-track:before{content:'';position:absolute;left:calc(50% - 18px);width:36px;height:100%;background:#f4c5d45b;border-inline:1px dashed #cd91ad}.rhythm-track:after{content:'心动点';position:absolute;bottom:6px;left:50%;transform:translateX(-50%);font-size:10px;color:#b87d97}.moving-heart{position:absolute;top:21px;font-size:40px;color:#c57598;transform:translateX(-50%);line-height:1.2;left:0}.rhythm-score{font-size:14px;color:#ae7f9a;min-height:25px;text-align:center}.tug-stage{height:190px;width:min(100%,620px);background:#fcf0e9;border:1px solid #efdbd0;border-radius:18px;position:relative;overflow:hidden}.tug-stage:after{content:'';position:absolute;left:50%;height:100%;border-left:1px dashed #dab0b7;top:0}.tug-rope{position:absolute;left:10%;right:10%;height:7px;background:#bd997e;top:116px;border-radius:7px;transform:rotate(-1deg)}.tug-bear{height:145px;width:145px;position:absolute;left:50%;transform:translateX(-50%);bottom:16px;z-index:1;transition:left .1s}.time-display{font-size:28px;line-height:1.4;color:#b87c96;font-weight:500;font-variant-numeric:tabular-nums}.stars-canvas{background:#eee9f6;border-color:#cdc0dd;width:min(100%,610px)}.move-controls{display:flex;justify-content:space-between;gap:20px;width:min(100%,610px)}.move-group{display:flex;gap:8px;align-items:center}.move-group>span{font-size:10px;color:#b5849c;margin-right:6px}.move-group:last-child>span{color:#82a1bc}.move-btn{width:52px;height:47px;border-radius:12px;border:1px solid #e1bdd0;background:#f2dfe9;color:#b37999;font-size:21px;touch-action:none}.move-group:last-child .move-btn{background:#e2ecf5;border-color:#bfd2e2;color:#82a0be}.story-paper{width:min(100%,610px);padding:25px 30px;background:#fffbef;border:1px solid #e6d8bf;border-radius:15px;line-height:2.25;font-size:13px;background-image:repeating-linear-gradient(transparent 0,transparent 34px,#e6dcc32b 34px,#e6dcc32b 35px)}.story-paper .story-prompt{color:#a28d6d;margin-bottom:14px}.story-line{padding:6px 0;word-break:break-word}.story-line span{font-size:9px;border-radius:5px;background:#f7e3e9;color:#b07f97;padding:2px 6px;margin-right:9px;white-space:nowrap}.story-line.p1 span{background:#e4eef6;color:#7999b7}.answer-form{display:flex;gap:10px;width:min(100%,610px);align-items:center}.answer-form .answer-input{flex:1;min-width:60px}.answer-form .btn{flex-shrink:0}.answer-textarea{width:100%;min-height:90px;resize:vertical;margin-bottom:13px;font-size:13px}.game-empty-hint{font-size:12px;color:#b49da2;text-align:center;margin:20px auto}.subtle-pill{padding:5px 14px;font-size:10px;border-radius:20px;background:#f5e9e8;color:#a78690}.done-stars{font-size:25px;letter-spacing:7px;color:#d1ae66;margin-bottom:5px}.control-note{font-size:10px;color:#ac929c;text-align:center}.game-emoji{font-size:35px;display:block;margin:5px 0 12px}
@media(min-width:1500px){.hero{min-height:500px}.hero h1{font-size:64px}.hero-art>svg{max-height:478px}.hero-copy{padding-left:10px}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.nav-wrap{padding:0 32px}.desktop-nav{gap:22px}.hero h1{font-size:49px}.hero{min-height:443px}.hero-art{margin-left:-15px}.hero-buttons{gap:10px}.hero-buttons .btn{padding:10px 14px;font-size:12px}.games-grid{gap:17px}.card-info{padding:15px 13px}.card-title h3{font-size:14px}.card-desc{font-size:9px}.filter{padding:7px 11px;font-size:10px}.filters{gap:2px}.search{max-width:156px}.floating-label{top:53px;left:28%;font-size:9px}.art-caption{bottom:35px;font-size:10px}.notes-layout{grid-template-columns:300px 1fr;gap:27px}}
@media(max-width:800px){.header{height:76px}.nav-wrap{padding:0 22px}.desktop-nav{gap:18px}.brand{font-size:18px;gap:9px}.brand-icon{width:34px;height:34px;font-size:28px;border-radius:12px}.brand small{font-size:6px;letter-spacing:1.6px}.nav-link{font-size:11px}.header-actions{gap:7px}.room-pill{padding:7px 10px;font-size:10px}.wrap{width:calc(100% - 44px)}.hero{grid-template-columns:1fr .95fr;min-height:380px}.hero h1{font-size:40px;letter-spacing:1.5px}.eyebrow{font-size:8px;letter-spacing:1.8px}.hero-description{font-size:11px}.hero-buttons{gap:7px;margin-top:21px}.hero-buttons .btn{font-size:10px;padding:9px 11px;min-height:39px;gap:6px}.hero-details{font-size:8px;gap:5px;margin-top:19px}.hero-details i{margin:0 3px}.hero-details [data-icon]{width:12px;height:12px}.hero-art{margin-left:-12px}.floating-label{top:61px;font-size:8px;left:22%;padding:4px 8px}.art-caption{bottom:58px;font-size:9px;left:31%}.title-spark{font-size:24px;bottom:14px;margin-left:7px}.tip-ribbon{gap:9px;padding:10px 13px}.tip-label{font-size:10px;padding-right:10px}.tip-ribbon p{font-size:10px}.games-section{padding-top:38px}.section-heading h2{font-size:24px}.section-heading p{font-size:10px}.mini{font-size:7px}.filter-row{flex-wrap:wrap;gap:14px}.search{max-width:190px}.filter{font-size:11px;padding:7px 12px}.games-grid{grid-template-columns:repeat(3,1fr);gap:16px}.card-desc{font-size:10px}.card-bottom{margin-top:13px}.together-banner{gap:15px}.banner-art{width:93px;height:87px}.together-banner h2{font-size:16px}.together-banner p{font-size:10px}.together-banner .btn{font-size:10px;padding:8px 11px}.footer{flex-wrap:wrap;gap:13px}.footer>span{font-size:6px}.notes-layout{grid-template-columns:1fr}.note-editor{max-width:none}.notes-wall{grid-template-columns:repeat(3,1fr)}.inner-page{padding-top:36px}.meet-hero #meetArt{height:240px}.page-heading h1{font-size:35px}.boundaries{flex-direction:column;gap:5px;align-items:start}.game-dialog{width:94vw}.game-status{padding-inline:20px}.game-content{padding-inline:20px;min-height:350px}.beads-board{width:315px}.beads-reference{width:135px}.drawing-layout{flex-direction:column;align-items:center}.drawing-aside{width:min(100%,545px);display:flex;gap:16px;flex-wrap:wrap}.drawing-aside>div{flex:1;min-width:160px}.drawing-aside .word-reveal{margin-bottom:0}.guesses{max-height:90px}.cafe-work{gap:13px}.cafe-column{padding:13px}.ingredient{min-width:56px;padding:9px 7px}.sling-controls{width:165px}.sling-layout{gap:22px}}
@media(max-width:600px){.wrap{width:calc(100% - 36px)}.header{height:70px}.nav-wrap{padding:0 18px;gap:9px}.desktop-nav{display:none}.header-actions>.icon-btn{width:32px;height:32px}.room-pill{font-size:10px;padding:6px 10px;gap:7px}.brand{font-size:18px}.brand small{font-size:6px;letter-spacing:1.4px;margin-top:5px}.hero{display:flex;flex-direction:column;align-items:stretch;padding-top:33px;min-height:auto;text-align:center}.hero-copy{padding:0}.hero .eyebrow{justify-content:center;font-size:8px;letter-spacing:1.7px}.hero h1{font-size:45px;line-height:1.48;letter-spacing:2px;margin:16px 0 17px}.hero-description{font-size:11px;line-height:2;letter-spacing:.2px}.title-spark{position:absolute;font-size:26px;bottom:17px;margin-left:7px}.hand-highlight:after{height:9px}.hero-buttons{justify-content:center;gap:11px;margin-top:23px}.hero-buttons .btn{min-height:43px;padding:10px 16px;font-size:11px;border-radius:11px;gap:10px}.hero-details{justify-content:center;font-size:9px;margin-top:19px;gap:6px}.hero-details i{margin:0 7px}.hero-art{margin:-8px 0 0;height:276px;min-height:276px;width:100%;align-items:center;justify-content:center}.hero-art>svg{height:300px;width:405px;max-width:calc(100% + 30px);flex-shrink:0;margin-top:-2px}.floating-label{top:23px;left:22%;font-size:8px;padding:5px 9px}.art-caption{font-size:9px;bottom:4px;left:32%}.tip-ribbon{margin-top:16px;display:grid;grid-template-columns:18px 1fr 22px;gap:0 8px;padding:13px 13px;min-height:66px;border-radius:12px}.tip-icon{grid-row:1/3;align-self:start;margin-top:2px;font-size:24px}.tip-label{font-size:9px;border:0;padding:0;letter-spacing:.2px}.tip-ribbon p{font-size:9px;grid-column:2;line-height:1.9;margin-top:3px}.tip-ribbon button{grid-column:3;grid-row:1/3;align-self:center;font-size:22px;width:23px}.games-section{padding-top:32px;padding-bottom:32px}.section-heading{margin-bottom:22px;gap:10px}.section-heading h2{font-size:23px}.section-heading p{font-size:9px;line-height:1.8;margin-top:6px}.section-heading .mini{font-size:6px;letter-spacing:1.6px}.section-heading .btn{font-size:9px;padding:8px 9px;gap:5px;min-height:32px;align-self:center;margin-top:9px}.section-heading .btn span{font-size:14px}.filter-row{gap:12px;align-items:start;margin-bottom:17px}.filters{gap:6px 3px;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding:2px 1px 6px;scrollbar-width:none;width:100%}.filter{font-size:10px;padding:6px 11px}.filter span{font-size:8px;padding:1px 4px}.search{max-width:none;width:100%;padding:8px 12px;border-radius:10px;background:#fffdf9}.search input{font-size:10px}.games-grid{grid-template-columns:repeat(2,1fr);gap:13px}.game-card{border-radius:13px}.card-art{aspect-ratio:300/187}.card-art svg{padding:1px 0}.card-info{padding:13px 11px 11px}.card-title{margin-bottom:4px}.card-title h3{font-size:12px;letter-spacing:.2px}.card-desc{font-size:8px;letter-spacing:0}.card-bottom{font-size:8px;margin-top:13px;gap:3px}.category-tag{font-size:7px;padding:2px 5px}.card-time{font-size:7px;gap:3px;margin-right:0}.card-time svg{width:9px;height:9px}.card-arrow{display:none}.fav-btn{width:24px;height:24px;font-size:15px;right:8px;top:8px}.recommended{top:9px;left:8px;font-size:7px;padding:1px 5px;gap:3px}.together-banner{flex-wrap:wrap;gap:14px;padding:22px 2px;margin-bottom:15px;position:relative}.banner-art{width:65px;height:75px}.together-banner>div:nth-child(2){flex:1 1 calc(100% - 80px)}.together-banner h2{font-size:13px;letter-spacing:0}.together-banner p{font-size:9px;line-height:1.9;margin-top:5px}.together-banner .eyebrow{font-size:6px;letter-spacing:1.3px}.together-banner .btn{margin:0 0 0 80px;font-size:10px;padding:7px 11px;min-height:32px}.footer{padding:20px 0 104px;justify-content:center;gap:11px;text-align:center}.footer-brand{font-size:13px}.footer-brand .brand-icon{width:24px;height:24px;border-radius:8px;font-size:20px}.footer p{font-size:9px}.footer>span{width:100%;margin:0;font-size:6px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:stretch;justify-content:space-around;background:#fffaf6f5;backdrop-filter:blur(12px);border-top:1px solid #ead8d6;height:calc(62px + env(safe-area-inset-bottom));padding:5px 12px calc(5px + env(safe-area-inset-bottom));z-index:9}.mobile-nav button{display:flex;align-items:center;flex-direction:column;justify-content:center;color:#b098a1;font-size:9px;gap:1px;width:90px;border-radius:13px}.mobile-nav button>span{font-size:24px;line-height:1.2}.mobile-nav button.active{color:#af688c;background:#f5e7ed7a}.inner-page{padding-top:34px;padding-bottom:36px}.page-heading{margin-bottom:29px}.page-heading h1{font-size:31px;margin:15px 0}.page-heading p{font-size:11px}.notes-layout{gap:29px}.note-editor{padding:21px}.notes-wall{grid-template-columns:1fr 1fr;gap:18px}.notes-wall-heading{margin-bottom:22px}.notes-wall-heading h2{font-size:15px}.note-paper{padding:25px 14px 12px;min-height:165px}.note-paper p{font-size:11px}.note-meta{font-size:8px;flex-wrap:wrap}.notes-empty{padding:30px 10px}.notes-empty p{font-size:10px}.meet-hero{grid-template-columns:1fr}.meet-hero #meetArt{height:185px;margin-top:-25px;margin-bottom:27px}.meet-hero .page-heading{margin-bottom:15px}.meet-hero .page-heading h1{font-size:34px}.boundaries{font-size:10px;padding:15px 17px;margin-bottom:30px}.boundaries p{font-size:10px}.boundaries span{font-size:11px}.dialog{max-width:calc(100% - 22px);max-height:94dvh;border-radius:21px}.connection-dialog{padding:28px 21px}.connection-dialog h2{font-size:21px}.dialog-symbol{width:45px;height:45px;font-size:32px;margin-bottom:17px}.dialog-desc{font-size:11px}.mode-card{padding:14px 11px;gap:11px}.mode-card b{font-size:12px}.mode-card small{font-size:9px}.room-form-label{font-size:12px}.join-actions{gap:7px;flex-wrap:wrap}.join-actions .btn{font-size:11px;padding:9px 12px}.join-actions input{width:105px;flex:1}.join-actions #createRoom{width:100%}.join-actions>span{display:none}.room-players{font-size:11px;gap:10px}.toast{bottom:83px;font-size:11px;padding:11px 17px}.game-dialog{max-width:none;max-height:100dvh;width:100%;height:100dvh;border-radius:0;border:0;margin:0;position:fixed;inset:0}.game-header{padding:13px 15px;gap:10px}.game-header h2{font-size:15px}.game-header>div>span{font-size:6px;letter-spacing:1px}.game-header>.icon-btn{width:31px;height:31px;font-size:18px}.game-header-actions{gap:5px}.game-header-actions .icon-btn{width:29px;height:29px;font-size:18px}.rules-panel{font-size:11px;padding:13px 18px}.game-status{padding:14px 14px 8px;gap:5px}.player-chip{padding:6px 9px;font-size:9px;gap:5px}.player-chip strong{font-size:10px;margin-left:3px}.player-chip i{width:6px;height:6px}.game-status-text{font-size:9px;max-width:130px;line-height:1.7}.game-content{padding:16px 16px 23px;gap:16px;min-height:calc(100dvh - 216px);justify-content:flex-start}.game-footer{padding:11px 16px calc(13px + env(safe-area-inset-bottom));font-size:8px;gap:5px}.game-footer .text-btn{font-size:8px}.game-result{margin:0 16px 18px;padding:18px 12px}.game-result h3{font-size:20px}.game-result p{font-size:11px}.beads-layout{flex-direction:column;gap:15px}.beads-board{width:min(100%,340px);padding:11px;gap:3px}.beads-reference{width:100%;display:flex;gap:15px;align-items:center;justify-content:center}.beads-reference .mini-beads{width:94px;padding:7px;gap:1px;margin:0}.beads-reference h3{font-size:10px;margin-bottom:6px}.beads-reference .reference-text{max-width:180px}.beads-reference .progress-bar{width:130px;margin:9px 0}.beads-reference p{font-size:9px;text-align:left}.color-btn{width:29px;height:29px}.toolbar{gap:8px}.toolbar .btn{font-size:10px;padding:6px 11px;min-height:32px}.game-help{font-size:10px;line-height:1.9}.board-grid{gap:4px;padding:10px}.gomoku-board{gap:0;padding:10px}.reversi-board{gap:3px}.ttt-board{max-width:310px;gap:9px;padding:13px}.connect-board{gap:7px;padding:11px}.memory-board{gap:10px}.memory-card{font-size:29px;border-radius:12px}.answer-panel h3{font-size:20px;margin:15px 0 23px}.answer-options{gap:12px}.answer-option{font-size:12px;padding:14px 10px;min-height:69px}.reveal-cards{gap:12px}.reveal-card{padding:16px 12px;min-height:134px}.reveal-card strong{font-size:14px}.reveal-card span{font-size:10px}.answer-panel .question-num{font-size:8px}.rps-options{gap:11px}.rps-option{height:123px;border-radius:15px;font-size:10px}.rps-option>span{font-size:36px}.sling-layout{flex-direction:column;gap:18px}.sling-layout canvas{max-height:385px;width:auto;max-width:100%;aspect-ratio:340/440}.sling-controls{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 16px}.sling-controls h3{font-size:12px;margin:0}.sling-controls p{display:none}.sling-controls label{font-size:10px}.sling-controls input{width:120px;margin:0}.sling-controls .btn{width:auto;font-size:11px;padding:8px 20px;min-height:37px}.sling-controls .control-note{width:100%}.drawing-aside{gap:13px}.drawing-aside>div{min-width:120px}.drawing-aside h3{font-size:12px}.word-reveal{padding:12px;font-size:10px}.word-reveal b{font-size:16px}.drawing-aside .btn{font-size:10px;padding:8px;min-height:36px}.drawing-aside .answer-input{font-size:11px;padding:9px}.drawing-layout{gap:17px}.garden-grid{gap:10px;padding:15px}.plot{font-size:29px;border-radius:11px}.plot small{font-size:8px;margin-top:6px}.cafe-work{grid-template-columns:1fr;gap:13px}.cafe-column{padding:14px}.cafe-column h3{margin-bottom:7px;font-size:11px}.ingredient-row{margin:8px 0}.ingredient{min-width:71px;padding:7px 10px;font-size:9px}.ingredient>span{font-size:24px}.order-slip{padding:12px}.order-slip strong{font-size:14px}.order-slip span{font-size:9px}.selected-dessert{font-size:25px}.treasure-layout{flex-direction:column;align-items:center;gap:19px}.sea-panel{width:100%;max-width:290px}.sea-panel:not(.active-sea){max-width:220px}.sea-panel h3{font-size:10px;margin-bottom:10px}.sea-grid{gap:5px;padding:9px}.sea-cell{font-size:17px}.sea-panel:not(.active-sea) .sea-grid{opacity:.72}.dots-board{grid-template-columns:16px 64px 16px 64px 16px 64px 16px;grid-template-rows:16px 64px 16px 64px 16px 64px 16px;padding:16px}.play-pads{gap:13px}.play-pad{padding:18px 10px;min-height:102px;border-radius:15px}.play-pad b{font-size:21px}.play-pad small{font-size:9px}.rhythm-track{height:123px}.rhythm-score{font-size:12px}.tug-stage{height:185px}.move-controls{gap:8px}.move-group{gap:6px}.move-group>span{font-size:9px;margin-right:2px}.move-btn{width:44px;height:46px}.story-paper{padding:19px 19px;font-size:12px}.story-line span{font-size:8px}.answer-form{gap:8px}.answer-form .btn{padding:10px 12px;font-size:11px}.game-mini-heading{font-size:15px}.control-note{font-size:9px}.confirm-dialog{padding:25px}.disconnect-banner{font-size:10px;padding:10px 15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* For2: a quiet, continuous shelf with room to breathe. */
:root{--bg:#fcf7f1;--paper:#fffdf9;--ink:#503c49;--text:#735e68;--accent:#ad6680;--accent-dark:#884b68;--line:#eadbd8;--shadow:0 16px 40px #70445412}
body{background:radial-gradient(circle at 6% 4%,#f9e8e8 0,transparent 35%),radial-gradient(circle at 94% 17%,#fff0df 0,transparent 30%),var(--bg)}
.header{height:72px;position:sticky;top:0;z-index:12;background:#fcf7f1ed;backdrop-filter:blur(14px)}
.brand{font-family:Georgia,'Songti SC',serif;font-size:21px;letter-spacing:.2px}.brand small{font-family:var(--font);letter-spacing:1.2px;font-size:8px;margin-top:3px}.brand-icon{border-radius:50%;transform:rotate(-9deg)}
.hero{min-height:360px;grid-template-columns:.9fr 1.1fr;padding-block:16px}.hero-copy{padding-left:0}.hero h1{font-size:clamp(38px,4vw,55px);line-height:1.33;margin:12px 0 13px;letter-spacing:1px}.hero-description{font-size:14px;line-height:1.8}.hero-buttons{margin-top:20px}.hero-details{margin-top:17px}.hero-art{max-height:340px;min-height:310px;margin:0;overflow:hidden;border-radius:28px;background:linear-gradient(120deg,#f8e7e5,#f5e9dc)}.hero-cover{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 48%}.floating-label{top:19px;left:20px;transform:rotate(-3deg)}.art-caption{bottom:17px;left:auto;right:22px;color:#764d62;background:#fff9f1bb;padding:3px 9px;border-radius:20px}
.tip-ribbon{margin-top:30px}.games-section{padding-top:27px}.section-heading{margin-bottom:17px}.section-heading h2{font-family:Georgia,'Songti SC',serif;font-size:27px}.filter-row{margin-bottom:17px}.game-card{box-shadow:0 8px 25px #7142530c;border-radius:19px}.card-art{aspect-ratio:300/155}.card-info{padding:13px 16px 12px}.card-bottom{margin-top:10px}.game-card:hover{box-shadow:0 18px 35px #71425320}.inner-page{min-height:auto;padding-block:52px;scroll-margin-top:70px}.page-heading h1{font-size:34px;margin:6px 0}.page-heading{margin-bottom:25px}.notes-layout{grid-template-columns:300px 1fr}.meet-hero #meetArt{height:210px}.view{scroll-margin-top:70px}
@media(max-width:600px){.header{height:62px}.nav-wrap{padding:0 16px}.brand{font-size:17px}.brand small{font-size:5px;letter-spacing:1px}.hero{padding-top:16px;display:flex;flex-direction:column;min-height:0;text-align:left}.hero .eyebrow{justify-content:flex-start}.hero h1{font-size:38px;line-height:1.25;margin:10px 0}.hero-description{font-size:11px;line-height:1.7}.hero-buttons{justify-content:flex-start;margin-top:15px}.hero-buttons .btn{font-size:11px;padding:8px 12px;min-height:37px}.hero-details{justify-content:flex-start;margin-top:11px}.hero-art{height:145px;min-height:145px;margin-top:15px;border-radius:17px}.hero-cover{object-position:center 43%}.floating-label{top:9px;left:10px;font-size:7px}.art-caption{bottom:7px;right:9px;font-size:7px}.tip-ribbon{margin-top:28px}.games-section{padding-top:19px}.section-heading{margin-bottom:11px}.section-heading h2{font-size:21px}.section-heading p{margin-top:2px}.filter-row{margin-bottom:10px;gap:5px}.filters{padding-bottom:2px}.filter{padding:5px 9px}.search{padding:6px 10px}.games-grid{gap:10px}.card-art{aspect-ratio:300/145}.card-info{padding:10px 10px 9px}.card-desc{font-size:8px}.card-bottom{margin-top:7px}.inner-page{padding-top:35px}.page-heading h1{font-size:28px}.mobile-nav{height:calc(54px + env(safe-area-inset-bottom))}.mobile-nav button>span{font-size:19px}.game-dialog{height:100dvh}}
@media(max-width:800px){.notes-layout{grid-template-columns:minmax(0,1fr)}.notes-wall-wrap,.notes-wall{min-width:0}}
@media(max-width:600px){.filter-row,.filters{min-width:0}.filters{overflow-x:auto}.filter{flex:none}.notes-wall{grid-template-columns:repeat(2,minmax(0,1fr))}.notes-empty svg{max-width:100%}}
@media(max-width:600px){.hero h1{font-size:34px;line-height:1.16;margin:8px 0}.hero-description{line-height:1.5}.hero-buttons{margin-top:11px}.hero-details{display:none}.hero-art{height:108px;min-height:108px;margin-top:11px}.games-section{padding-top:14px}.section-heading{margin-bottom:7px}.filter-row{margin-bottom:7px}.card-title h3{font-size:14px}.card-desc{font-size:10px}.game-help{font-size:13px;line-height:1.65}.control-note,.game-footer{font-size:12px}.game-mini-heading{font-size:17px}.game-status-text{font-size:11px}.game-content .btn,.move-btn{min-height:44px}.game-content .answer-input{font-size:14px}.game-content .ingredient,.game-content .answer-option{font-size:13px;min-height:44px}.game-header h2{font-size:17px}.game-header>div>span{font-size:9px}.game-footer .text-btn{font-size:12px}}
