:root{font-family:'Microsoft YaHei','PingFang SC',sans-serif;color:#254c43;background:#fbf2dd;font-synthesis:none;--mint:#16876b;--orange:#f68c47;--cream:#fff9e9}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 10% 20%,#e4f0cf 0,transparent 35%),repeating-linear-gradient(90deg,#ecd1a322 0 2px,transparent 2px 130px),#fbf2dd}.grain{position:fixed;inset:0;pointer-events:none;opacity:.22;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.12' filter='url(%23n)'/%3E%3C/svg%3E")}header{max-width:1280px;margin:auto;padding:23px 30px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d8c9a7}#brand{display:flex;gap:12px;font-size:32px;align-items:center;font-weight:900;text-decoration:none;color:#166b55}#brand small{display:block;font-size:11px;letter-spacing:3px;font-weight:500;margin-top:4px}#identity{font-size:13px;background:#fef9ea;border:1px solid #d7dfbe;padding:10px 16px;border-radius:30px}main{max-width:1240px;margin:0 auto;padding:28px}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #cbd9b9;border-bottom:3px solid #b7c7a7;border-radius:13px;background:linear-gradient(#fffdf3,#edf2d9);padding:10px 17px;color:#24594b;font-weight:700;transition:transform .12s}button:hover{filter:brightness(1.025);transform:translateY(-1px)}button:active{transform:translateY(1px);border-bottom-width:1px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e69b36;outline-offset:3px}button.primary{background:linear-gradient(#ffaa57,#f3893c);color:#fff8e8;border-color:#db7133;text-shadow:0 1px #b46c3b}button.green,button.active{background:linear-gradient(#3ebf96,#19896d);color:white;border-color:#116b55}button:disabled{opacity:.45;cursor:default}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(38px,5.5vw,70px);line-height:1.2;color:#235b45;letter-spacing:1px;margin-bottom:20px}h2{font-size:25px}.eyebrow{color:#85916e;font-size:12px;font-weight:800;letter-spacing:3px;margin-bottom:18px}.hero{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;padding:35px 12px 38px}.hero p{line-height:1.9;color:#73816a;max-width:420px}.hero-art{position:relative;background:#e0ead0;border:9px solid #fef9e7;border-radius:42px;box-shadow:0 10px 0 #d7c39f44;transform:rotate(3deg);padding:20px}.hero-art img{width:100%;max-height:400px;object-fit:contain;border-radius:20px}.sticker{position:absolute;bottom:8px;left:-22px;transform:rotate(-7deg);background:#fff5c9;padding:15px 20px;border:2px solid #e9c567;border-radius:14px;font-size:13px}.entrances{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 30px}.entrance{padding:24px;text-align:left;border-radius:22px;display:flex;gap:18px;align-items:center;background:linear-gradient(110deg,#259c79,#72c9a2);color:white;border-color:#198369;box-shadow:0 5px 0 #decba4}.entrance:nth-child(2){background:linear-gradient(110deg,#f2914d,#f6b77b);border-color:#d88043}.entrance strong{display:block;font-size:24px;margin-bottom:6px}.entrance small{font-weight:400;font-size:12px}.entrance em{font-size:39px;font-style:normal}.toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-bottom:20px}.toolbar .spacer{flex:1}.panel{border:1px solid #d5d7b7;border-radius:21px;background:#fff9e9;box-shadow:0 4px 0 #d4bd9533;overflow:hidden}.panel-head{padding:12px 16px;background:linear-gradient(100deg,#239473,#72caa1);color:#fffce9;display:flex;justify-content:space-between;align-items:center;font-weight:800}.panel-head button{padding:4px 12px;font-size:12px}.panel-body{padding:20px}.muted{color:#7e8b74;font-size:13px;line-height:1.7}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:18px}.card{background:#fff9e9;padding:10px;border-radius:19px;border:1px solid #d5dabb;text-align:left;overflow:hidden}.card img{width:100%;aspect-ratio:1;border-radius:12px;object-fit:cover;display:block}.card h3{font-size:15px;margin:12px 4px 6px}.card p{margin:0 4px 5px;font-size:11px;color:#829176}.stars{color:#dd9a38}.detail{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}.detail img{width:100%;border-radius:23px}.swatches{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.swatch{display:flex;align-items:center;gap:6px;background:#f0ebd7;border-radius:9px;padding:6px;font-size:12px}.bead{display:inline-block;flex-shrink:0;width:24px;height:24px;border-radius:50%;background:var(--color);box-shadow:inset 1px 2px 3px #ffffff88,inset -2px -2px 3px #0003,0 2px 1px #0002;position:relative}.bead:after{content:'';position:absolute;width:28%;height:28%;top:36%;left:36%;border-radius:50%;background:#9e886e;box-shadow:inset 1px 1px 2px #0005}.gamebar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.gamebar h2{font-size:20px;margin:0}.pill{border-radius:30px;background:#e4efd3;padding:8px 15px;font-size:13px}.workspace{display:grid;grid-template-columns:1fr 1.4fr;gap:14px}.workspace.focus-board,.workspace.focus-ref{grid-template-columns:1fr}.workspace.focus-board #reference,.workspace.focus-ref #operation{display:none}.workspace.focus-board #operation .viewport,.workspace.focus-ref #reference .viewport{height:520px}.viewport{height:430px;overflow:hidden;background:#f5e4bf;position:relative;touch-action:none;background-image:radial-gradient(#a78b65 1px,transparent 1px);background-size:16px 16px}.viewport canvas{width:100%;height:100%;display:block;touch-action:none}.viewtools{padding:8px;display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:12px}.viewtools button{padding:5px 11px}.tools{margin-top:15px;padding:15px;background:#fffaeb;border:1px solid #d6d6b9;border-radius:21px}.palette{display:flex;gap:7px;overflow:auto;margin-bottom:12px;padding:3px}.palette button{min-width:57px;padding:8px 5px;font-size:10px;background:#fff8e2}.palette .bead{width:29px;height:29px;display:block;margin:0 auto 5px}.needle{display:flex;align-items:center;gap:5px;min-height:35px;overflow:auto;margin:8px 0}.needle .bead{width:20px;height:20px}.meter{height:25px;border:2px solid #a4b998;border-radius:20px;background:#e4dcc7;position:relative;overflow:hidden;margin:8px 0}.zone{position:absolute;top:0;bottom:0;background:linear-gradient(#a1e9a6,#39af7b)}.pointer{position:absolute;top:0;width:4px;background:#203c34;bottom:0}.meter-label{font-size:12px;color:#7a826c}.control-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.marks{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.score{font-size:85px;color:#18866b;font-weight:900;margin:20px 0 0}.result{text-align:center;max-width:650px;margin:30px auto}.result .panel-body{padding:35px}.result img{max-width:230px;width:80%;border-radius:14px}.waiting{padding:60px 30px;text-align:center;max-width:650px;margin:auto}.waiting input{border:1px solid #c3d2af;border-radius:10px;padding:12px;background:#fffdf4;max-width:100%}.orb{width:65px;height:65px;margin:20px auto;border-radius:50%;border:10px solid #77c9a0;border-top-color:#f8ae68;animation:spin 2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#234f43ef;color:#fffbed;border-radius:14px;padding:12px 20px;max-width:90%;z-index:20;display:none;box-shadow:0 6px 25px #1234}table{border-collapse:collapse;width:100%}td,th{padding:12px;text-align:left;border-bottom:1px solid #e3ddc5}.footnote{font-size:11px;color:#9b9f87;text-align:center;margin-top:25px}.iron-cursor{cursor:crosshair}.progress{height:7px;background:#e4dcc2;border-radius:10px;overflow:hidden;margin:8px 0}.progress div{height:100%;background:#3ab691}kbd{background:#e4e7d2;border-radius:4px;padding:1px 5px}input[type=range]{accent-color:#1e9b76;width:110px}.danger{color:#b56e53}dialog{max-width:550px;border:1px solid #c5d0ae;border-radius:20px;background:#fff9e9;color:#254c43;padding:30px}dialog::backdrop{background:#23483e88}
@media(max-width:700px){header{padding:15px}#brand{font-size:23px}#brand small{font-size:9px;letter-spacing:1px}#identity{font-size:10px;padding:8px}main{padding:16px}.hero{grid-template-columns:1fr;gap:20px;padding:20px 0}.hero h1{font-size:42px}.hero-art{max-width:300px;margin:auto;order:-1;padding:5px;border-width:6px}.hero-art img{max-height:220px}.hero p{font-size:13px}.entrances{gap:10px}.entrance{padding:18px 12px;display:block}.entrance em{font-size:26px}.entrance strong{font-size:20px;margin-top:7px}.entrance small{font-size:10px}.cards{grid-template-columns:repeat(2,1fr);gap:10px}.detail{grid-template-columns:1fr;gap:16px}.workspace{grid-template-columns:1fr;gap:10px}.viewport{height:300px}#reference .viewport{height:220px}.workspace.focus-ref #reference .viewport,.workspace.focus-board #operation .viewport{height:480px}.gamebar{flex-wrap:wrap}.gamebar h2{font-size:17px}.gamebar .pill{padding:6px;font-size:11px}.tools{padding:10px}.control-row button{padding:9px;font-size:12px}.toolbar button{padding:8px 11px;font-size:12px}}
.workspace{grid-template-columns:minmax(0,var(--split,40%)) 8px minmax(0,1fr)}.splitter{padding:0;border:0;border-radius:9px;background:#ddceaa;cursor:col-resize;min-width:8px;align-self:stretch;touch-action:none}.splitter:before{content:'⋮';color:#7d9575}.workspace.focus-ref,.workspace.focus-board{grid-template-columns:1fr}.focus-ref .splitter,.focus-board .splitter{display:none}.opreview{border-radius:14px;background:#f0eed9;margin-bottom:12px;padding:10px;font-size:13px}.opreview canvas{width:110px;height:110px;display:block;margin-top:8px}.splitter:hover{transform:none}
@media(max-width:700px){.workspace{display:flex;flex-direction:column}.splitter{height:10px;min-height:10px;cursor:row-resize}.splitter:before{content:'···'}.workspace:not(.focus-board):not(.focus-ref) #reference .viewport{height:var(--ref-height,220px)}.workspace:not(.focus-board):not(.focus-ref) #operation .viewport{height:var(--board-height,400px)}}

.meter{background:#d78b7e}.settings{width:min(420px,88vw)}.settings label{display:flex;justify-content:space-between;gap:24px;margin:22px 0}.settings .control-row{flex-wrap:wrap}.gamebar{flex-wrap:wrap}
.room-number{font-size:clamp(36px,8vw,60px);font-weight:800;letter-spacing:.16em;color:#147c69;margin:16px 0;user-select:all}.room-players{display:flex;flex-wrap:wrap;gap:16px;margin:24px 0;justify-content:center}.room-player{flex:1;min-width:140px;padding:18px;border:1px solid #d7d6b5;border-radius:18px;background:#fffbed}.room-preview{width:180px;height:180px;object-fit:contain;border-radius:18px}.waiting select{max-width:100%}.entrances{flex-wrap:wrap}
.blocked-hole{position:absolute;z-index:3;transform:translate(-50%,-50%);pointer-events:none;display:grid;place-items:center;width:36px;height:36px;border:2px solid #fff9e9;border-radius:50%;background:#c35e4a;color:white;font-size:29px;font-weight:700;box-shadow:0 2px 8px #6335;animation:blocked-pop .16s ease-out}@keyframes blocked-pop{from{scale:.6;opacity:.4}to{scale:1;opacity:1}}.meter{background:linear-gradient(90deg,#e8bbb0,#cf8376 50%,#e8bbb0)}
.needle-gauge{position:absolute;width:180px;height:180px;z-index:4;pointer-events:none;border-radius:32px;background:radial-gradient(ellipse at 50% 35%,#fffdf7f2,#fff7d9e6);border:1px solid #d0cfab;box-shadow:0 8px 25px #4a634b38,inset 0 1px 0 #fff;animation:needle-appear .12s ease-out}.needle-gauge svg{display:block;width:100%;height:100%;filter:drop-shadow(0 1px 1px #6b7b5f25)}.needle-hint{font-size:13px;line-height:1.7;color:#6f8066;margin:10px 0}@keyframes needle-appear{from{opacity:0;transform:translateY(-6px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
#identity{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-weight:400;border-bottom-width:1px}#identity small{font-size:11px;letter-spacing:.05em;color:#6c8066}.player-card{width:min(450px,90vw)}.player-number{font-size:clamp(27px,6vw,40px);font-weight:800;color:#187f65;letter-spacing:.12em;user-select:all;margin:10px 0 22px}@media(max-width:700px){#identity small{font-size:9px}}
#identity{max-width:52%}#identity span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Approved workshop art: original 08/09 artwork, 04–07 play layouts and tactile material language. */
:root{--cream:#fff5db;--mint:#16977c;color:#214f43}body{background:repeating-linear-gradient(91deg,#a4633322 0 1px,transparent 1px 112px),repeating-linear-gradient(0deg,#fff2 0 1px,transparent 1px 7px),linear-gradient(100deg,#e3b27a,#f6d4a5 28%,#ebbd87 65%,#f9d7aa)}body:before{content:'';position:fixed;inset:0;z-index:-1;box-shadow:inset 0 0 170px #935b3655;pointer-events:none}header{padding:14px 24px;max-width:1280px;background:linear-gradient(#fff7e8e6,#fff0cece);border:2px solid #fff9e7;border-top:0;border-radius:0 0 26px 26px;box-shadow:0 5px 15px #71462322}#brand{color:#177665;text-shadow:0 2px 0 #fff4cc,0 4px 0 #d69a5f;font-weight:900}main{padding:24px;max-width:1240px}button{border:2px solid #f8e5be;border-bottom:4px solid #c5ad83;border-radius:17px;background:linear-gradient(#fffdf1,#ffefd0);box-shadow:inset 0 1px 1px #fff,0 2px 3px #80522e22;text-shadow:0 1px 0 #fff9df;color:#285c4d;padding:10px 17px}button:hover{filter:brightness(1.04)}button.primary{border:2px solid #fff2bd;border-bottom:5px solid #cd6228;background:linear-gradient(#ffc66d,#ff962e 55%,#f17f28);box-shadow:0 0 0 2px #e98736,inset 0 2px 2px #fff7d3,0 4px 5px #97572c33;text-shadow:0 2px 0 #c3682b;border-radius:22px}button.green,button.active{background:linear-gradient(#73d2ae,#28af89 52%,#169578);border-color:#daf3c7;border-bottom-color:#146d59;text-shadow:0 2px 0 #207a61;box-shadow:inset 0 2px 0 #c8f4d7,0 2px 4px #477a4933}button:active{box-shadow:inset 0 3px 5px #8b6b4444;transform:translateY(2px)}.panel,.tools,.opreview,.craft-status{border:3px solid #fff9e9;background:linear-gradient(115deg,#fff9e9,#fff0d1);border-radius:25px;box-shadow:0 3px 0 #c5a978,0 8px 18px #905e2c22,inset 0 0 0 1px #d6c6a4}.panel-head{background:linear-gradient(110deg,#15977d,#46bd9a 55%,#80c8a1);border-radius:20px 20px 12px 12px;border-bottom:3px solid #c7e9b8;padding:10px 16px;font-size:19px;text-shadow:0 2px 0 #29775d;color:#fffce7;box-shadow:inset 0 2px 0 #9bdec2}.panel-head button{color:#285e4d;text-shadow:0 1px #fff8e2;border-radius:13px}.viewtools{background:#fff8e4;border-top:1px solid #e6d0a9;padding:8px 12px}.viewtools button{padding:3px 12px;border-radius:13px;background:linear-gradient(#fffef4,#dae8dd)}.viewport{background:#f5e4c7;isolation:isolate;border:7px solid #fff7e4;border-bottom:0;border-radius:16px 16px 0 0}.viewport canvas{border-radius:10px}.viewport .board-nav{position:absolute;right:12px;top:10px;width:82px;height:82px;border:4px solid #fff9e7;border-radius:12px;box-shadow:0 2px 5px #65472f55;pointer-events:none;opacity:.97}.gamebar{background:#fff4d6e8;border:2px solid #fff8e8;border-radius:20px;padding:10px 15px;box-shadow:0 3px 0 #cbb58c;margin-top:12px}.gamebar h2{font-size:18px}.gamebar .pill{background:linear-gradient(#65bfa3,#258e75);color:#fffce3;box-shadow:inset 0 1px #a2e1be,0 2px 0 #27765b;font-weight:700}.toolbar{background:#fff6e1df;border-radius:18px;padding:10px;border:1px solid #fffbed;margin-top:14px}.tools{padding:15px}.palette{gap:9px;padding:7px 4px 9px}.palette button{position:relative;min-width:67px;min-height:73px;border-radius:22px 22px 15px 15px;background:radial-gradient(ellipse at 50% 32%,#cbb288 5%,#e9cfaa 55%,#fff4d8 59%);border:3px solid #fff1d5;border-bottom:5px solid #bf9d73;box-shadow:inset 0 2px 3px #ad8c6288,0 3px 2px #865c3333;font-size:11px;color:#6a432d}.palette .bead{width:34px;height:34px;box-shadow:inset 2px 2px 4px #fff9,inset -3px -4px 3px #0003,0 5px 0 #0002,2px 7px 3px #51361c55;margin:0 auto 9px}.palette button:hover{outline:3px solid #ffb83c;outline-offset:0}.needle{padding:8px 12px;border-radius:17px;background:#e8d6b4;box-shadow:inset 0 2px 4px #9d805a55;border:2px solid #fff6db}.needle .bead{box-shadow:inset 1px 2px 3px #fff9,inset -2px -2px 3px #0003,0 3px 0 #ad8c66,0 4px 2px #5d442e55}.splitter{background:linear-gradient(#fff6d7,#decda6);border:1px solid #b7b495;border-radius:12px;box-shadow:0 2px 3px #88663a22}.splitter:before{color:#7a9878}.workspace{gap:11px}.waiting{padding:42px 30px}.waiting h2{font-size:31px;color:#23745c;text-shadow:0 2px #fff}.waiting input,.waiting select{border:2px solid #d0bd94;background:#fffdf1;box-shadow:inset 0 2px 4px #b39b7033;border-radius:13px;padding:12px}.card{border:3px solid #fff7e0;background:linear-gradient(#fff9e9,#f9e7be);box-shadow:0 4px 0 #c9a773,0 8px 12px #9166321c;border-radius:22px}.card img{border:2px solid #e6cba2}.detail{background:#fff4dbe8;border:3px solid #fff9e9;border-radius:28px;padding:22px;box-shadow:0 5px 0 #c9ac79}.detail h1{font-size:36px}.footnote{color:#795b3b}.muted{color:#7c7b5e}dialog{background:linear-gradient(120deg,#fffbed,#fff0d2);border:4px solid #fff8e3;border-radius:28px;box-shadow:0 8px 0 #9f805c55,0 20px 60px #3e412866}dialog h2{color:#1c755f}.eyebrow{color:#8d815d}.opreview{padding:9px 16px;font-weight:700;color:#245b4c}.room-player{background:linear-gradient(#fffdf0,#f3dfb9);border:2px solid #e0c8a0;box-shadow:inset 0 1px #fff,0 3px 0 #cfb58b;border-radius:21px}.room-preview{border:5px solid #fff6dc;box-shadow:0 3px 6px #97733f44}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.approved-home{display:grid;grid-template-columns:minmax(0,430px) 260px;justify-content:center;align-items:center;gap:25px;max-width:850px;margin:auto}.approved-home-art{position:relative;width:100%;overflow:hidden;border-radius:30px;border:4px solid #fff2ce;box-shadow:0 6px 0 #c39561,0 12px 35px #764e3333;background:#f8deb0}.approved-home-art>img{display:block;width:100%;height:auto}.home-hotspot{position:absolute!important;display:block;padding:0;border:0!important;box-shadow:none!important;background:transparent!important;text-shadow:none;transform:none!important;color:transparent;border-radius:22px;transition:box-shadow .15s,background .15s}.home-hotspot:hover{box-shadow:inset 0 0 0 3px #fff9d9,0 0 15px #fff6a7!important;background:#fffae110!important}.home-hotspot:active{background:#66351822!important;transform:none!important}.home-profile{left:3.8%;top:2%;width:38.4%;height:7.4%}.home-profile-copy{position:absolute;right:0;top:0;bottom:2%;width:62%;padding:6px 4px;background:linear-gradient(#fff8df,#faedc8);border-radius:14px;color:#235847;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.home-profile-copy b{font-size:clamp(10px,1.3vw,15px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-profile-copy small{font-size:clamp(8px,1vw,11px);background:#328c6d;color:#fff1c7;border-radius:20px;padding:3px;margin-top:4px;white-space:nowrap}.home-help{left:73.7%;top:2.6%;width:10.3%;height:5.2%;background:linear-gradient(#fff5cd,#f8dfae)!important;color:#2d795f;font-size:27px;border:2px solid #fff3ce!important;box-shadow:0 2px 0 #d1a86f!important;border-radius:24%}.home-settings{left:86.2%;top:2.6%;width:10.3%;height:5.2%}.home-solo{left:4.4%;top:55.5%;width:91.3%;height:13.4%}.home-battle{left:4.4%;top:69.1%;width:91.3%;height:13.6%}.home-gallery{left:5%;top:85%;width:30%;height:11.8%}.home-leader{left:35%;top:85%;width:30%;height:11.8%}.home-settings-dock{left:65%;top:85%;width:30%;height:11.8%}.home-utilities{background:linear-gradient(#fff9e4e8,#f6e0b9ef);border:3px solid #fff7dc;border-radius:26px;padding:24px 18px;box-shadow:0 4px 0 #b99463;display:flex;flex-direction:column;gap:15px;text-align:center}.utility-heading{font-size:21px;font-weight:800;color:#287d62;margin-bottom:7px}.home-save-actions{display:flex;flex-direction:column;gap:12px}.home-utilities .muted{margin:5px 0}.craft-status{padding:12px}.solo-status{display:flex;align-items:center;gap:20px;padding:13px 20px}.stitched-title{background:linear-gradient(#7dbb9b,#3e8b70);border:3px solid #d4ecd0;outline:2px solid #569679;outline-offset:-7px;color:#fff5d9;border-radius:20px;padding:15px 30px;font-size:25px;font-weight:900;text-shadow:0 2px #39725a}.difficulty-stars{font-size:25px;letter-spacing:4px;color:#ffbd39;text-shadow:0 2px #d58d2e,1px 0 #fff0b4}.craft-label{font-size:13px;color:#7d8262}.solo-count{margin-left:auto;padding:9px 20px;background:linear-gradient(#fff9e4,#f2d5a4);border:2px solid #fff8e1;box-shadow:inset 0 1px #dcb57c;border-radius:20px;color:#715131;font-weight:800}.versus-status{display:grid;grid-template-columns:1fr 110px 1fr;gap:9px 17px;position:relative;padding-bottom:21px}.maker{display:flex;align-items:center;gap:12px;border:2px solid #b2e6be;border-radius:22px;background:linear-gradient(110deg,#0f9c80,#3cbd99);padding:8px 12px;color:#fff6de;text-shadow:0 2px #236c53}.maker b{display:block;font-size:23px}.maker small{display:block;font-size:13px;margin-top:5px}.rival-maker{justify-content:flex-end;text-align:right;background:linear-gradient(110deg,#ff985a,#f16c45);border-color:#ffd5a5;text-shadow:0 2px #bc5d37}.maker-avatar{display:block;width:61px;height:61px;flex-shrink:0;border:3px solid #fff3cb;border-radius:50%;background-image:url('/art/versus-approved.png');background-repeat:no-repeat;background-size:510px auto;background-position:-18px -8px;box-shadow:0 2px 0 #8d705855}.rival-avatar{background-position:-432px -9px}.versus-clock{text-align:center;color:#176b57;display:flex;flex-direction:column;align-items:center;justify-content:center}.versus-clock small{font-weight:800}.versus-clock strong{font-size:27px}.versus-clock>span{font-size:11px;color:white;background:#44a284;border-radius:10px;padding:1px 12px}.race-track{height:27px;border:3px solid #fff3d5;border-radius:20px;background:#dfd6b7;position:relative;overflow:hidden;box-shadow:inset 0 2px 3px #98836355}.race-track i{display:block;height:100%;width:0;border-radius:20px;background:linear-gradient(#5ce3b7,#19ad8b);transition:width .4s}.race-track b{position:absolute;inset:0 10px;font-size:13px;color:#fff9e4;text-shadow:0 1px 2px #246d51;line-height:21px}.self-track{grid-column:1/2}.rival-track{grid-column:3/4}.rival-track i{background:linear-gradient(#ffc38a,#f08040)}.rival-track b{text-align:right;text-shadow:0 1px 2px #a65030}.race-stage{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);background:linear-gradient(#42aa86,#137d67);border:2px solid #a1d8b3;border-radius:22px;padding:4px 25px;color:#fff9dd;font-weight:800;box-shadow:0 2px 1px #986f4133}body[data-mode=battle] .gamebar #opponent,body[data-mode=battle] .gamebar #timer{display:none}
@media(max-width:760px){main{padding:15px}header{padding:12px 15px}.approved-home{display:block;max-width:480px}.approved-home-art{border-radius:24px}.home-utilities{margin-top:22px;padding:20px}.home-save-actions{flex-direction:row;justify-content:center;flex-wrap:wrap}.home-profile-copy b{font-size:13px}.home-profile-copy small{font-size:10px}.solo-status{gap:10px;flex-wrap:wrap;padding:10px 13px}.stitched-title{padding:9px 19px;font-size:20px}.difficulty-stars{font-size:20px;letter-spacing:1px}.craft-label{display:none}.solo-count{font-size:12px;padding:8px 12px}.versus-status{grid-template-columns:minmax(0,1fr) 65px minmax(0,1fr);gap:8px 5px;padding:8px 7px 16px}.maker{gap:5px;padding:6px;border-radius:17px}.maker-avatar{width:37px;height:37px;border-width:2px;background-size:310px auto;background-position:-11px -5px}.rival-avatar{background-position:-263px -5px}.maker b{font-size:14px;overflow:hidden;text-overflow:ellipsis;max-width:90px;white-space:nowrap}.maker small{font-size:9px;white-space:nowrap}.versus-clock strong{font-size:20px}.versus-clock small{font-size:10px}.rival-maker{gap:3px}.race-stage{font-size:11px;padding:3px 15px;white-space:nowrap}.panel-head{font-size:17px;padding:9px 12px}.viewport .board-nav{width:65px;height:65px;right:8px;top:7px;border-width:3px}.viewport{border-width:5px}.palette button{min-width:61px;min-height:68px}.palette .bead{width:30px;height:30px}.tools{padding:10px}.detail{padding:14px}.gamebar{padding:8px 10px}.gamebar h2{font-size:15px}.waiting{padding:30px 18px}.race-track{height:23px}.race-track b{line-height:17px;font-size:11px}.gamebar .pill{font-size:11px}button{padding:9px 13px}.home-utilities button{font-size:14px}}
.approved-loading{position:relative;max-width:430px;margin:auto;border-radius:28px;overflow:hidden;border:4px solid #fff1cc;box-shadow:0 8px 25px #7e512933}.approved-loading>img{display:block;width:100%}.loading-live{position:absolute;left:0;right:0;top:59.5%;height:21%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;background:linear-gradient(#fff3d9,#ffedc9);color:#147c67}.loading-live strong{font-size:25px}.loading-live small{font-size:12px;color:#8a7552}.loading-beads{display:flex;gap:12px}.loading-beads i{width:17px;height:17px;border-radius:50%;border:5px solid #52c5a2;animation:bead-loading 1s ease-in-out infinite}.loading-beads i:nth-child(2){border-color:#a884d8;animation-delay:.1s}.loading-beads i:nth-child(3){border-color:#f59a52;animation-delay:.2s}.loading-beads i:nth-child(4){border-color:#f2cb52;animation-delay:.3s}.loading-beads i:nth-child(5){border-color:#ed8fac;animation-delay:.4s}@keyframes bead-loading{50%{transform:translateY(-5px)}}
.tools:has(.palette){padding:10px 13px}.tools .palette{padding:4px 2px 6px;margin-bottom:5px}.tools .needle{min-height:30px;padding:4px 10px;margin:7px 0}.tools .needle-hint{display:none}.tools .control-row{gap:7px}.tools .control-row button{font-size:13px;padding:8px 14px}.tools .meter-label{line-height:1.6}
/* One coherent vertical home: personal, versus, then workshop. */
.approved-home{display:block;max-width:450px;margin:0 auto}.approved-home-art{background:repeating-linear-gradient(0deg,#fff1 0 1px,transparent 1px 7px),linear-gradient(90deg,#c8894d,#edbd83 25%,#ecc189 70%,#c58b52);overflow:hidden}.home-scene{position:relative;width:100%;aspect-ratio:910 / 1455;overflow:hidden}.home-art-surface{position:absolute;left:0;top:0;width:100%;aspect-ratio:910 / 1726}.home-art-surface>img{display:block;width:100%;height:auto}.approved-dock{position:relative;width:100%;aspect-ratio:910 / 260;overflow:hidden}.approved-dock>img{position:absolute;left:0;top:0;width:100%;height:auto;transform:translateY(-84.94%)}.approved-dock .home-hotspot{top:0;height:81%;border-radius:30px}.workshop-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;width:91%;min-height:108px;margin:0 auto 12px;padding:12px 16px;border:6px solid #77c7ae!important;border-bottom:7px solid #329c7e!important;border-radius:33px;background:linear-gradient(#fffdf0,#f8e9c5)!important;box-shadow:inset 0 0 0 2px #fff8e5,0 4px 0 #a36f39,0 6px 8px #82553244!important;color:#1d5f4d;text-shadow:0 2px #fff7d9}.workshop-entry:hover{filter:brightness(1.04);transform:translateY(-1px)}.workshop-entry-copy{text-align:center;flex:1}.workshop-entry-copy strong{display:block;font-size:clamp(20px,5vw,27px);font-weight:900;white-space:nowrap;letter-spacing:1px}.workshop-entry-copy small{display:block;font-size:11px;margin-top:6px;background:#e5edc7;border-radius:20px;padding:4px 6px;white-space:nowrap}.workshop-tray{width:65px;min-width:65px;display:grid;grid-template-columns:repeat(2,1fr);gap:7px;padding:8px;background:linear-gradient(#dfc293,#fff4cf);border:3px solid #fff8de;border-radius:17px;box-shadow:inset 0 2px 4px #95714344,0 3px 0 #c4a373;transform:rotate(-9deg)}.workshop-tray .bead{width:20px;height:20px;box-shadow:inset 1px 2px 2px #fff8,inset -2px -2px 2px #0003,0 3px 0 #b9a17a,0 4px 1px #865e3e44}.workshop-arrow{display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;border-radius:50%;background:linear-gradient(#5fd4ac,#13a080);color:#fff4d5;font-size:39px;line-height:1;border:2px solid #e8f9d7;text-shadow:0 2px #147b60;box-shadow:0 3px 0 #489373}.workshop-menu{max-width:600px;margin:30px auto}.workshop-menu .panel-body{padding:28px}.workshop-actions{display:grid;gap:18px}.workshop-actions button{padding:18px;font-size:18px}@media(max-width:420px){.workshop-entry{min-height:91px;padding:10px 12px;gap:8px;border-width:5px!important;border-radius:28px;margin-bottom:8px}.workshop-tray{width:51px;min-width:51px;gap:4px;padding:6px}.workshop-tray .bead{width:15px;height:15px}.workshop-entry-copy strong{font-size:21px;letter-spacing:0}.workshop-entry-copy small{font-size:9px;padding:3px}.workshop-arrow{width:29px;height:29px;font-size:32px}}
body[data-screen=game]>header{display:none}body[data-screen=game] main{padding:14px 20px}.gamebar{margin-top:9px;margin-bottom:9px;padding:7px 13px}.gamebar+.toolbar{margin-top:9px;margin-bottom:13px;padding:7px}.maker-avatar{background-size:370px auto;background-position:-10px -2px}.rival-avatar{background-position:-306px -2px}#app:has(.workspace.focus-ref) #tools{display:none}@media(max-width:760px){body[data-screen=game] main{padding:10px}.maker-avatar{background-size:225px auto;background-position:-6px -1px}.rival-avatar{background-position:-186px -1px}}
