/* V0.723 — Constellation Studio: scoped existing-game task-first redesign */
.sb357-body{--sb-ink:#0c302b;--sb-green:#18584a;--sb-muted:#55786c;--sb-leaf:#d7e9db;--sb-gold:#f4c777;--sb-paper:#fcfcf6;background:linear-gradient(145deg,#e8f4ee 0%,#f8f9f4 45%,#e8f2ed 100%);color:#16352e}
.sb357-body .preview-note{display:none!important}
.sb357-body .topbar{background:#f9fcfa;border-bottom:1px solid #d5e5db}
.sb357-body .topbar .nav{min-height:48px!important}
.sb357-page{max-width:1160px;padding-top:4px!important;padding-bottom:30px}
.sb357-page .sb357-head{margin:7px 0 7px;gap:10px;align-items:center}
.sb357-head .eyebrow{font-size:10px;font-weight:900;letter-spacing:.15em;color:#30715b}
.sb357-head h1{color:#143c32;font-size:clamp(25px,3vw,35px);line-height:1;margin:2px 0;letter-spacing:-.055em}
.sb357-head h1 small{font-size:.38em;margin-top:3px;letter-spacing:-.01em;color:#427466}
.sb357-head p{max-width:580px;color:#59766c;font-size:11px;line-height:1.35;margin:0}
.sb357-head-actions{align-items:center}
.sb357-save{font-size:10px;color:#2d7761}
.sb357-iconbtn{border-radius:9px;border-color:#c4dace;background:#f9fff8;font-size:11px;padding:6px 9px;color:#184a3d}
.sb357-tabs{margin:4px 0 6px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-width:630px}
.sb357-tabs button{border:1px solid #bcd8c8;background:#fffef8;color:#275746;min-height:34px;padding:5px 7px;border-radius:10px;font-size:12px;font-weight:850}
.sb357-tabs button.active{background:#114e3e;color:#fff;border-color:#114e3e;box-shadow:0 2px 0 #0d3a30}
.sb357-shell{padding:11px!important;border-radius:20px!important;border:1px solid #c4dacd;background:linear-gradient(150deg,#fffefa,#f4f9f0);box-shadow:0 15px 40px #21594518}
.sb723-stage-label{display:flex;align-items:center;gap:8px;font-size:10px;color:#1a6652;margin:1px 0 6px;letter-spacing:.11em}
.sb723-orbit{font-size:17px;line-height:1;color:#a77731}.sb723-sub{font-size:10px;letter-spacing:0;color:#668778;margin-left:auto}
.sb357-dailystrip{grid-template-columns:minmax(0,1fr) auto auto;gap:9px;border-radius:10px;padding:6px 9px;background:#eaf4e8;border-color:#d1e4d4;margin-bottom:6px}
.sb357-dailystrip small{font-size:10px}.sb357-dailystrip strong{font-size:12px}.sb357-dailystrip>span{font-size:10px}.sb357-daily-levels{display:flex;gap:4px}.sb357-daily-levels button{padding:5px 8px;border-radius:8px;font-size:11px;background:#f9fff5;border:1px solid #c5d9cb}.sb357-daily-levels button.active{background:#e1f0df;color:#144d3c;border-color:#599a76;box-shadow:inset 0 0 0 1px #599a76}
.sb357-hud{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-bottom:7px}.sb357-hud>div{border:1px solid #dcebdd;padding:5px 7px;background:#f3f9f0;border-radius:9px}.sb357-hud small{font-size:9px;line-height:1.2;color:#638274}.sb357-hud strong{font-size:12px;color:#19493a}
.sb357-game{grid-template-columns:minmax(0,1fr) 196px;gap:14px;align-items:start;max-width:920px;margin:auto}
.sb357-boardwrap{min-width:0}.sb357-topline{margin:0 0 4px}.sb357-topline strong{font-size:13px;color:#193e34}.sb357-topline small{font-size:10px}.sb357-mini span{padding:3px 6px;font-size:9px;background:#e5f2e5;color:#336f59}
.sb357-tools{grid-template-columns:1.12fr 1.12fr repeat(3,.85fr);gap:5px;margin-bottom:6px}.sb357-tools button{border-radius:9px;border:1px solid #b9d5c2;background:#f3f9ef;color:#214f3e;font-size:11px;min-height:34px;padding:5px 4px}.sb357-tools button.active{border-color:#a97432;background:#f6e3b6;color:#53401e;box-shadow:inset 0 0 0 1px #bd8d43}.sb357-tools button:disabled{opacity:.48}.sb357-tools small{color:inherit}
.sb357-boardstage{width:min(100%,438px);margin:0 auto}.sb357-board{border:4px solid #143f36!important;border-radius:12px;overflow:hidden;background:#163b34;box-shadow:0 12px 24px #143e3036}
.sb357-cell{color:#143e33!important;background:#f6f9ef!important;border-color:#2b5748!important;font-size:clamp(17px,2.3vw,25px)}
.sb357-cell:nth-child(2n){background:#f0f5e9!important}
.sb357-cell.star{background:#ffe4a0!important;color:#664b1e!important}.sb357-cell.star::after{content:'★';filter:drop-shadow(0 2px 1px #b98a3c55)}.sb357-cell.cross{background:#e4eee5!important;color:#779a87!important}.sb357-cell.cross::after{content:'×'}
.sb357-cell.bad{background:#ffe0d7!important;box-shadow:inset 0 0 0 3px #c85648}.sb357-cell.hint{box-shadow:inset 0 0 0 3px #4483c6}.sb357-cell:focus-visible{outline:3px solid #efad35!important;outline-offset:-4px;z-index:2}
.sb357-rules{max-width:438px;margin:6px auto 0;gap:5px}.sb357-rules>div{padding:5px 6px;background:#eaf3e7;border:1px solid #d4e5d5;border-radius:8px}.sb357-rules span{color:#478168}.sb357-rules small{font-size:9px}.sb357-rules strong{font-size:11px;color:#285b49}
.sb357-status{max-width:438px;margin:5px auto 0;font-size:11px;line-height:1.3;min-height:0;color:#476e5e}
.sb357-hint{max-width:438px;margin:6px auto 0;border-color:#bdd1e3;background:#eff7fb}
.sb357-side{gap:6px;align-self:start;padding-top:32px}.sb357-side button{min-height:40px;border-radius:10px;font-weight:850;font-size:12px}.sb357-side #sb357Hint,.sb357-side #sb357Check{background:#195e4d;border:1px solid #195e4d;color:white}
.sb357-side-note{background:#eaf2e7;border:1px solid #d1e4d5;color:#567267;font-size:11px;padding:11px;border-radius:12px}.sb357-side-note strong{color:#1f604b}
.sb357-result{border:1px solid #cadfc7;border-radius:14px;background:#ecf7df;padding:12px;margin-top:9px}
.sb357-more{margin-top:10px;border-top-color:#dbe7db}.sb357-more>summary{color:#20543f;font-size:12px}.sb357-guide{gap:8px;margin-top:10px}.sb357-guide>div{background:#f9fcf5;border-color:#cfdfd2;padding:10px}.sb357-guide h2{font-size:12px}.sb357-guide p{font-size:11px}
.sb357-body button:focus-visible,.sb357-page summary:focus-visible{outline:3px solid #d68c25!important;outline-offset:2px}
@media(max-width:760px){.sb357-body .mobile-dock{display:none!important}.sb357-body .topbar .nav{min-height:43px!important}.sb357-page{padding:2px 9px 12px!important}.sb357-page .sb357-head{margin:3px 0 4px}.sb357-head .eyebrow{font-size:8px}.sb357-head h1{font-size:26px}.sb357-head h1 small{font-size:10px}.sb357-head p{display:none}.sb357-head-actions{display:none}.sb357-tabs{max-width:none;margin:3px 0 5px}.sb357-tabs button{min-height:30px;font-size:11px;padding:4px 1px}.sb357-shell{padding:7px!important;border-radius:13px!important}.sb723-stage-label{display:none}.sb357-dailystrip{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px;padding:5px 6px;margin-bottom:5px}.sb357-dailystrip>span{display:none}.sb357-dailystrip small{font-size:8px}.sb357-dailystrip strong{font-size:10px}.sb357-daily-levels{justify-content:end}.sb357-daily-levels button{padding:4px 4px;font-size:10px}.sb357-hud{gap:3px;margin-bottom:5px}.sb357-hud>div{padding:3px 3px}.sb357-hud small{font-size:8px}.sb357-hud strong{font-size:10px}.sb357-game{grid-template-columns:minmax(0,1fr);gap:0}.sb357-topline{margin:0 0 3px}.sb357-topline strong{font-size:11px}.sb357-topline small{font-size:9px}.sb357-mini span{font-size:8px;padding:3px}.sb357-tools{gap:4px;margin-bottom:5px}.sb357-tools button{min-height:32px;font-size:10px;padding:4px 2px}.sb357-boardstage{width:min(100%,286px)}.sb357-board{border-width:3px!important;border-radius:9px}.sb357-cell{font-size:21px}.sb357-rules{max-width:286px;margin:5px auto 0;gap:3px}.sb357-rules>div{padding:3px 2px}.sb357-rules small{font-size:8px}.sb357-rules strong{font-size:9px}.sb357-rules span{font-size:10px}.sb357-status{font-size:10px;min-height:0;margin:3px auto 0;text-align:center}.sb357-side{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px 0 0}.sb357-side button{min-height:34px;font-size:11px;padding:4px 2px}.sb357-side-note{display:none}.sb357-result{margin-top:7px}.sb357-more{margin-top:7px;padding-top:7px}.sb357-more>summary{font-size:11px}.sb357-guide{display:none}.sb357-quick{padding:4px;gap:5px}.sb357-quick label{font-size:10px}.sb357-quick .btn{font-size:11px;padding:6px}.sb357-mini #sb357StreakTag{display:none}}
@media(max-width:359px){.sb357-boardstage{width:min(100%,258px)}.sb357-cell{font-size:18px}.sb357-topline small{display:none}.sb357-daily-levels button{font-size:9px}}
@media(min-width:761px) and (max-height:820px){.sb357-boardstage{width:min(100%,398px)}.sb357-side{padding-top:22px}.sb357-head p{display:none}.sb357-hud>div{padding:4px 6px}}
@media(prefers-reduced-motion:reduce){.sb357-body *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.sb357-body{background:#fff}.sb357-shell{box-shadow:none!important}.sb357-board{box-shadow:none!important}}
@media(min-width:761px) and (max-height:820px){.sb357-boardstage{width:min(100%,352px)}}
