:root{--green:#B6E631;--dark:#191b19;--muted:#626862;--gray:#f2f3f2;--line:#e3e6e2;--white:#fff;--gap:clamp(8px,1.1vw,18px);font-family:Inter,Arial,Helvetica,sans-serif;color:var(--dark);color-scheme:light;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{height:100dvh;display:grid;grid-template-rows:clamp(62px,9.3vh,92px) minmax(0,1fr);background:#fff}button,input,select,textarea{font:inherit;color:inherit}button,a,select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:var(--gray);border-radius:12px;font-weight:700;padding:10px 15px}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #749910;outline-offset:2px}button:not(:disabled):hover,a.action:hover{background:var(--green)}h1,h2,h3,p{margin:0}img{display:block;max-width:100%}input,select{border:1px solid #d0d5cf;border-radius:10px;background:white;padding:10px;min-width:0;width:100%}input[type=range]{padding:0;accent-color:#8bbd12}input[type=range]::-webkit-slider-thumb{cursor:pointer}label{display:block}label>span{display:block;margin-bottom:6px;font-weight:650;font-size:13px}small,.muted{color:var(--muted)}[hidden]{display:none!important}.primary{background:var(--green);color:var(--dark);font-weight:800;border:1px solid #a9d42e}.primary:not(:disabled):hover{background:#a1d218}.secondary{background:white;border:1px solid #dce1db}.icon-button{width:38px;height:38px;padding:0;display:grid;place-items:center;font-size:28px;font-weight:400}.eyebrow{font-size:10px;font-weight:850;letter-spacing:1.6px;color:#5b6850}.top{display:flex;align-items:center;gap:clamp(7px,1.3vw,22px);padding:0 2%;border-bottom:1px solid var(--line);z-index:2;min-width:0;background:white}.brand{font-size:clamp(12px,1.4vw,20px);font-weight:950;line-height:.98;letter-spacing:-.6px;white-space:nowrap}.live-dot{display:inline-block;width:.49em;height:.49em;border-radius:50%;background:var(--green);margin-left:2px;box-shadow:0 0 0 0 #b6e63180;animation:live 1.65s ease-in-out infinite;vertical-align:.12em}@keyframes live{0%,100%{opacity:1;box-shadow:0 0 0 0 #b6e63170}50%{opacity:.25;box-shadow:0 0 0 5px #b6e63100}}.top nav{flex:1;display:flex;justify-content:center;gap:clamp(5px,1vw,16px);min-width:0}.top nav a{font-size:clamp(15px,2vw,28px);font-weight:800;letter-spacing:-.5px;min-height:clamp(42px,6.5vh,62px);display:grid;place-items:center;padding:0 clamp(12px,2.65vw,48px);background:#f0f1ef;border-radius:13px;transition:background .13s}.top nav a:hover,.top nav a.active,.profile-trigger.active,.profile-trigger:hover,.pip-trigger:hover{background:var(--green)}.profile-trigger,.pip-trigger{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:14px;background:#f6f7f5;text-align:left;padding:4px 11px 4px 5px;white-space:nowrap;flex:none;height:clamp(43px,7.1vh,70px)}.profile-trigger img,.pip-trigger img{width:clamp(35px,5.7vh,59px);height:clamp(35px,5.7vh,59px);object-fit:contain}.profile-trigger b,.pip-trigger b{display:block;font-size:clamp(12px,1.2vw,18px);font-weight:800}.profile-trigger small,.pip-trigger small{display:block;font-size:clamp(9px,.85vw,12px);font-weight:500;margin-top:2px}#app{min-height:0;min-width:0;padding:var(--gap) 2%;overflow:hidden}.zone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:var(--gap);height:100%}.tile{position:relative;min-height:0;min-width:0;border:1.5px solid #e5e8e4;background:#f5f6f4;border-radius:clamp(14px,1.7vw,27px);display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center;justify-items:center;padding:clamp(7px,1.1vw,17px);gap:clamp(4px,.6vh,9px);transition:background .16s,border-color .16s,box-shadow .16s;overflow:hidden}.tile img{width:100%;height:100%;max-height:100%;object-fit:contain;min-height:0;pointer-events:none}.tile h2{font-size:clamp(16px,2.1vw,35px);font-weight:800;text-align:center;line-height:1.04;letter-spacing:-.6px;padding-bottom:3px}.tile:not(:disabled):hover,.tile:not(:disabled):focus-visible,.tile:not(:disabled):active{background:#ddf5a1;border-color:#a0cc24;box-shadow:inset 0 0 0 2px var(--green)}.tile:disabled{opacity:1;background:#f5f6f4}.tile:disabled:hover{border-color:#b6e631;box-shadow:inset 0 0 0 1px #b6e631}.tile:disabled img{opacity:.86}.tile-state{position:absolute;top:10px;right:11px;font-size:clamp(9px,.85vw,12px);font-weight:700;letter-spacing:.1px;border:1px solid #dfe4dc;border-radius:20px;background:#fff;padding:5px 9px;color:#606660}.tile-state.ready{color:#304009;background:var(--green);border-color:#a1c82e}.activity{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:clamp(7px,1.1vh,13px)}.activity-head{display:flex;gap:12px;align-items:center;min-width:0;min-height:0}.activity-head h1{font-size:clamp(23px,2.4vw,37px);font-weight:850;letter-spacing:-1px;line-height:1.04}.activity-head .eyebrow{margin-bottom:3px}.activity-head .back{font-size:18px;min-width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:var(--gray)}.back:hover{background:var(--green)}.activity-head .head-note{margin-left:auto;text-align:right;color:#677060;font-size:clamp(10px,1vw,14px);font-weight:600}.subnav{display:flex;gap:7px;min-width:0}.subnav button{flex:1;font-size:clamp(12px,1.25vw,17px);padding:clamp(8px,1.2vh,13px) 5px;border-radius:11px;white-space:nowrap;background:#f1f3f0}.subnav button.selected{background:var(--green);box-shadow:inset 0 0 0 1px #accf47}.activity-body{min-height:0;min-width:0;height:100%;display:grid;gap:var(--gap)}.card{border:1px solid var(--line);background:#f6f7f5;border-radius:clamp(12px,1.4vw,22px);padding:clamp(10px,1.3vw,21px);min-height:0;min-width:0;overflow:hidden}.card-title{font-size:clamp(18px,1.65vw,26px);font-weight:800;letter-spacing:-.5px}.card p{font-size:clamp(12px,1.1vw,17px);line-height:1.4;color:#505750}.source-note{font-size:clamp(9px,.8vw,12px);color:#666;line-height:1.3}.source-note a{text-decoration:underline;text-underline-offset:2px}.space-explore{grid-template-columns:1.32fr 1fr}.planet-visual{display:flex;flex-direction:column;gap:8px;min-height:0}.orbit-picture{min-height:0;flex:1;width:100%;border-radius:15px;overflow:hidden;background:#191e1b;display:grid;place-items:center}.orbit-picture svg{width:100%;height:100%;max-height:100%;display:block}.planet-pickers{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.planet-pickers button{min-width:0;font-size:clamp(10px,1vw,15px);padding:clamp(6px,1vh,11px) 3px;background:white;border:1px solid #dce0db}.planet-pickers button.selected{background:var(--green)}.planet-info{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:clamp(6px,1vh,12px)}.planet-identity{display:flex;align-items:center;gap:14px}.planet-identity h2{font-size:clamp(23px,2.4vw,37px);letter-spacing:-1px}.planet-sphere{width:clamp(45px,8vh,90px);height:clamp(45px,8vh,90px);flex:none;border-radius:50%;box-shadow:inset -9px -5px 12px #0003;border:1px solid #0001}.planet-facts{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;min-height:0}.fact{background:white;border:1px solid #e3e5e1;border-radius:13px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:clamp(8px,1vw,15px);min-width:0}.fact strong{font-size:clamp(17px,2.1vw,33px);letter-spacing:-.8px;white-space:nowrap;line-height:1.05}.fact small{font-size:clamp(10px,.92vw,13px)}.video-placeholder{display:flex;align-items:center;gap:10px;padding:10px 13px;background:white;border:1px dashed #ccd3ca;border-radius:12px;min-width:0}.video-placeholder .play-symbol{width:35px;height:35px;background:#e6e9e4;flex:none;display:grid;place-items:center;border-radius:50%;font-size:16px}.video-placeholder b{font-size:13px}.video-placeholder small{font-size:10px;display:block}.compare-layout{grid-template-columns:1fr 1.1fr}.compare-controls{display:flex;flex-direction:column;gap:12px}.compare-controls label{flex:none}.compare-visual{display:flex;align-items:center;justify-content:center;gap:18px;flex:1;min-height:0}.compare-visual>div{display:grid;place-items:center;gap:8px;width:45%;height:100%;align-content:center}.compare-visual svg{width:100%;height:clamp(70px,18vh,190px)}.compare-results{display:grid;grid-template-rows:auto repeat(3,minmax(0,1fr)) auto;gap:8px}.bar-group{background:#fff;border:1px solid #e2e5e1;border-radius:12px;padding:clamp(7px,.9vw,13px);display:flex;flex-direction:column;justify-content:center;gap:5px}.bar-group>h3{font-size:clamp(12px,1.15vw,17px)}.bar-row{display:grid;grid-template-columns:70px 1fr 105px;gap:8px;align-items:center;font-size:clamp(10px,.95vw,14px)}.bar-row strong{text-align:right;white-space:nowrap}.bar-track,.progress-track{height:11px;border-radius:8px;background:#e6e9e4;overflow:hidden}.bar-fill,.progress-fill{height:100%;border-radius:8px;background:var(--green)}.bar-fill.alt{background:#5b615a}.scale-layout{grid-template-columns:1fr 1.08fr}.scale-stops{display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:8px}.scale-stop{text-align:left;display:flex;align-items:center;gap:10px;background:white;border:1px solid #dfe3dd;padding:8px 12px}.scale-stop.selected{background:var(--green)}.scale-stop .number{width:28px;height:28px;background:#e9ede6;border-radius:50%;display:grid;place-items:center;flex:none}.scale-stop b{font-size:clamp(12px,1.2vw,18px)}.scale-stop small{display:block;font-size:clamp(9px,.9vw,13px);margin-top:2px}.scale-info{display:flex;flex-direction:column;gap:10px;justify-content:center}.scale-info .big-number{font-size:clamp(30px,4vw,63px);font-weight:850;letter-spacing:-2px;color:#222;line-height:1.02}.scale-art{min-height:0;flex:1;display:grid;place-items:center;overflow:hidden}.scale-art svg{width:100%;height:100%;max-height:100%}.gravity-layout{grid-template-columns:1.1fr 1fr}.gravity-inputs{display:flex;flex-direction:column;justify-content:center;gap:clamp(10px,2vh,25px)}.gravity-reading{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:clamp(8px,1vh,15px);text-align:center}.gravity-reading .big-number{font-size:clamp(40px,6vw,90px);line-height:1;font-weight:850;letter-spacing:-3px}.gravity-reading .reading-label{font-size:clamp(13px,1.4vw,21px);color:#616b59}.quiz-layout{grid-template-columns:.62fr 1.38fr}.quiz-side{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px}.quiz-side img{min-height:0;flex:1;max-height:70%;object-fit:contain;width:100%}.quiz-card{display:flex;flex-direction:column;justify-content:center;gap:clamp(8px,1.6vh,17px)}.quiz-card h2{font-size:clamp(21px,2.4vw,36px);line-height:1.2;letter-spacing:-.6px}.quiz-answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quiz-answers button{background:white;border:1px solid #dce1d9;min-height:clamp(42px,7vh,66px);font-size:clamp(13px,1.3vw,20px)}.quiz-answers button.correct{background:var(--green);border-color:#a2c72b}.quiz-answers button.wrong{background:#e6e6e6;border:2px solid #707570}.quiz-feedback{min-height:2.5em;color:#505750;font-size:clamp(12px,1.2vw,17px)}.game-layout{grid-template-columns:minmax(0,1.55fr) minmax(255px,1fr);height:100%}.game-workspace{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:9px}.game-hud{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:750;font-size:clamp(12px,1.2vw,18px)}.game-hud span{font-variant-numeric:tabular-nums}.game-stage{position:relative;background:white;border:1px solid #dce1d9;border-radius:15px;display:grid;place-items:center;min-height:0;overflow:hidden}.game-stage canvas{width:100%;height:100%;object-fit:contain;touch-action:none;display:block;min-height:0}.game-overlay{position:absolute;inset:auto 8% 6%;background:#ffffffed;border:1px solid #d9dfd4;border-radius:13px;padding:12px;text-align:center;box-shadow:0 3px 22px #0001;font-size:clamp(12px,1.2vw,17px);font-weight:650;pointer-events:none}.game-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.game-controls button{min-height:clamp(39px,6vh,58px);font-size:clamp(18px,2.2vw,30px);user-select:none;touch-action:none;background:white;border:1px solid #dce1db}.editor{display:grid;grid-template-rows:auto repeat(4,auto) auto minmax(0,1fr);gap:clamp(6px,1vh,11px)}.editor h2{font-size:clamp(19px,1.8vw,28px)}.editor label{font-size:13px;font-weight:700}.editor label input,.editor label select{font-size:clamp(13px,1.15vw,17px);padding:clamp(6px,1vh,11px);margin-top:4px}.editor .double{display:grid;grid-template-columns:1fr 1fr;gap:9px}.editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.editor-actions button{font-size:clamp(12px,1.1vw,16px);padding:12px 5px}.editor-help{align-self:end;font-size:clamp(10px,.9vw,13px);color:var(--muted);line-height:1.3}.memory-layout{grid-template-columns:minmax(0,1.45fr) minmax(240px,1fr)}.memory-board-card{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center}.memory-board{width:min(100%,390px,44vh);aspect-ratio:1;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:clamp(8px,1.5vw,17px)}.memory-pad{border:2px solid #d0d5cf;background:#e6e9e4;border-radius:clamp(14px,2vw,27px);color:#222;display:grid;place-items:center;font-weight:800;font-size:clamp(24px,5vw,65px);box-shadow:0 5px 0 #ccd2c9;transition:background .1s,transform .1s}.memory-pad:not(:disabled):hover{background:#d9eca8}.memory-pad.flash,.memory-pad:not(:disabled):active{background:var(--green)!important;border-color:#9cc91f;box-shadow:0 0 0 4px #b6e63140;transform:translateY(2px)}.memory-pad:disabled{opacity:1;cursor:default}.memory-info{display:flex;flex-direction:column;justify-content:center;gap:clamp(8px,1.5vh,20px)}.memory-info h2{font-size:clamp(24px,2.7vw,40px);letter-spacing:-1px}.memory-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.memory-status{min-height:3.1em;font-size:clamp(15px,1.4vw,21px);font-weight:700}.sequence-progress{display:flex;gap:5px;flex-wrap:wrap;min-height:12px}.sequence-progress span{width:13px;height:13px;border-radius:50%;background:#dce1d8}.sequence-progress span.filled{background:#9dc721}.memory-action{font-size:clamp(14px,1.3vw,20px);min-height:44px}.profile-view{display:grid;height:100%;grid-template-rows:clamp(67px,12.5vh,125px) minmax(0,1fr);gap:var(--gap);min-height:0}.profile-summary{display:grid;grid-template-columns:1.55fr repeat(4,1fr);gap:clamp(6px,.8vw,12px);min-width:0;min-height:0}.identity-card{display:flex;align-items:center;gap:8px;padding:clamp(6px,.9vw,13px);background:#f3f4f2;border:1px solid var(--line);border-radius:15px;min-width:0}.identity-card img{width:clamp(45px,8.3vh,95px);height:clamp(45px,8.3vh,95px);object-fit:contain;flex:none}.identity-card .identity-text{flex:1;min-width:0}.identity-card h1{font-size:clamp(20px,2.3vw,34px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.8px}.identity-card small{font-size:clamp(9px,.85vw,13px);display:block;white-space:nowrap}.identity-card .progress-track{height:6px;margin:5px 0}.identity-card .edit-link{width:auto;background:transparent;padding:3px 0;font-size:clamp(10px,.8vw,12px);color:#52604a;text-decoration:underline}.metric{background:#f3f4f2;border:1px solid var(--line);border-radius:15px;padding:clamp(7px,.9vw,14px);display:flex;align-items:center;gap:8px;min-width:0}.metric.green{background:var(--green);border-color:#a7d42c}.metric img{width:clamp(29px,5vw,68px);height:clamp(29px,7vh,68px);object-fit:contain;flex:none}.metric .metric-info{min-width:0}.metric small{font-size:clamp(9px,.9vw,13px);display:block;color:#4d5648}.metric strong{font-size:clamp(18px,2.4vw,37px);font-weight:850;letter-spacing:-.9px;display:block;white-space:nowrap}.profile-content{display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-template-rows:minmax(0,1fr) minmax(0,.94fr);gap:var(--gap);min-height:0}.profile-content .card{padding:clamp(9px,1.1vw,16px);display:flex;flex-direction:column;gap:clamp(5px,.8vh,10px)}.profile-content h2{font-size:clamp(15px,1.45vw,22px);font-weight:800;letter-spacing:-.5px}.achievements-card{grid-row:span 2}.achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));gap:5px;flex:1;min-height:0}.achievement{min-height:0;display:flex;align-items:center;gap:5px;background:white;border:1px solid #e6e9e4;border-radius:9px;padding:4px;overflow:hidden}.achievement img{width:clamp(23px,3.2vw,48px);height:100%;max-height:45px;object-fit:contain;flex:none}.achievement .badge-text{font-size:clamp(9px,.78vw,12px);line-height:1.1;font-weight:750;overflow-wrap:anywhere}.achievement .badge-text small{display:block;font-size:clamp(8px,.65vw,10px);font-weight:500;margin-top:2px}.achievement.earned{border:1px solid #a5cc2d;background:#eff8d5}.achievement.locked img{filter:grayscale(1);opacity:.48}.record-list{display:flex;flex-direction:column;gap:0;flex:1;min-height:0;justify-content:space-evenly}.profile-row{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:0;flex:0 1 auto;padding:clamp(4px,.7vh,8px) 0;border-bottom:1px solid #e1e5df;font-size:clamp(10px,1vw,15px)}.profile-row:last-child{border-bottom:0}.profile-row b{white-space:nowrap}.profile-row>div{min-width:0}.profile-row small{display:block;font-size:clamp(9px,.8vw,12px);margin-top:2px}.profile-row .truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.zone-progress{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.zone-progress .progress-track{height:7px}.profile-note{font-size:clamp(9px,.75vw,12px);color:#697166;line-height:1.25}.history-item{display:flex;justify-content:space-between;gap:6px;align-items:center;min-height:0;font-size:clamp(10px,.9vw,14px);padding:6px 0;border-bottom:1px solid #e1e5df}.history-item:last-child{border-bottom:0}.history-item div{min-width:0}.history-item b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item small{font-size:clamp(9px,.75vw,11px);white-space:nowrap}.empty{font-size:clamp(11px,.95vw,14px);color:#747b71;line-height:1.4}.project-preview{display:flex;align-items:center;gap:9px;padding:10px;background:white;border:1px solid #e3e5e1;border-radius:12px}.project-preview img{width:40px;height:40px;object-fit:contain}.project-preview div{min-width:0;flex:1}.project-preview b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-preview small{display:block;font-size:11px}.mini-button{padding:7px 9px;font-size:11px}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-head h2{font-size:clamp(21px,2.2vw,31px);letter-spacing:-.7px}.dialog-head small{font-size:12px}.pip-dialog{width:min(880px,92vw);max-height:92dvh;padding:0;border:1px solid #d9ded7;border-radius:24px;overflow:hidden;box-shadow:0 24px 100px #0004}.pip-dialog::backdrop,.edit-dialog::backdrop{background:#181b18a0;backdrop-filter:blur(4px)}.pip-layout{display:grid;grid-template-columns:.68fr 1.32fr;min-height:min(480px,77dvh);max-height:90dvh}.pip-side{display:flex;flex-direction:column;gap:10px;justify-content:center;align-items:center;text-align:center;padding:18px;background:radial-gradient(ellipse at 50% 35%,#f4fadf,#e8efe1);border-right:1px solid #dde5d7}.pip-side img{width:100%;max-width:250px;max-height:32vh;object-fit:contain}.pip-side h2{font-size:clamp(23px,2.7vw,35px);letter-spacing:-1px}.pip-side p{font-size:14px;line-height:1.4;color:#51594b}.ai-indicator{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:750;background:#fff;padding:6px 11px;border-radius:20px}.ai-indicator span{width:8px;height:8px;border-radius:50%;background:#93bc29}.pip-main{display:flex;flex-direction:column;min-width:0;min-height:0;gap:11px;padding:clamp(13px,2vw,24px);overflow:hidden}.pip-messages{min-height:90px;flex:1;max-height:35vh;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:9px;background:#f6f7f5;border:1px solid #e0e4de;border-radius:13px;padding:12px}.bubble{padding:10px 13px;border-radius:13px;max-width:95%;font-size:clamp(12px,1.15vw,16px);line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.assistant-bubble{background:white;border:1px solid #e0e4de;align-self:flex-start}.visitor-bubble{background:#dff0a5;align-self:flex-end}.suggestions{display:flex;gap:6px;flex-wrap:wrap}.suggestions button{font-size:11px;padding:7px 9px;background:#f1f3ed;border:1px solid #dce3d7;border-radius:20px}.question-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.question-row button{min-height:42px}.access-code{display:flex;align-items:center;gap:8px;margin-top:9px;font-size:11px}.access-code span{font-size:11px;white-space:nowrap;margin:0}.access-code input{font-size:12px;padding:7px 9px}.small-note{font-size:10px;color:#646d5f;line-height:1.3}.edit-dialog{width:min(400px,88vw);padding:22px;border:1px solid #ddd;border-radius:20px}.edit-dialog form{display:grid;gap:13px;margin-top:14px}.edit-dialog label{font-size:13px;font-weight:700}.edit-dialog input{margin-top:6px}.edit-dialog .primary{width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media(max-width:950px){.top{gap:7px;padding:0 1.2%}.top nav a{padding:0 clamp(6px,1.7vw,20px);font-size:clamp(14px,2.3vw,23px)}.pip-trigger,.profile-trigger{padding-right:6px}.pip-trigger small{display:none}.profile-content{grid-template-columns:1.35fr 1fr 1fr}.metric{gap:4px}.metric img{width:30px;height:37px}.achievement img{width:23px}.profile-summary{grid-template-columns:1.45fr repeat(4,1fr)}.bar-row{grid-template-columns:56px 1fr 80px;gap:5px}.head-note{display:none}.card{padding:10px}}
@media(max-height:680px) and (min-width:701px){:root{--gap:9px}.profile-content .card{padding:9px;gap:3px}.activity-head h1{font-size:25px}.activity-head .back{height:35px;min-width:35px}.tile-state{top:6px;right:7px;padding:3px 6px}.profile-view{grid-template-rows:76px minmax(0,1fr)}.profile-summary .metric img{max-height:46px}.identity-card img{max-height:50px}.achievement-grid{gap:4px}.achievement img{max-height:30px}.card-title{font-size:19px}.editor{gap:5px}.editor label input,.editor label select{margin-top:2px;padding:6px}.editor-actions button{padding:9px 4px}.editor-help{font-size:10px}.planet-pickers button{padding:6px 3px}.video-placeholder{padding:7px 8px}.video-placeholder .play-symbol{width:28px;height:28px}.video-placeholder b{font-size:11px}.video-placeholder small{font-size:9px}.profile-row{padding:3px 0}.profile-row small{font-size:9px}.history-item{padding:4px 0}.pip-layout{min-height:72dvh}}
@media(max-width:700px){body{grid-template-rows:100px minmax(0,1fr)}.top{flex-wrap:wrap;justify-content:space-between;align-content:center;gap:4px;padding:5px 10px}.brand{font-size:13px}.top nav{order:4;flex-basis:100%;gap:5px}.top nav a{flex:1;min-height:37px;font-size:17px;padding:0 5px}.pip-trigger,.profile-trigger{height:40px}.pip-trigger{margin-left:auto}.pip-trigger img,.profile-trigger img{width:31px;height:31px}.profile-trigger small{font-size:9px}#app{padding:7px}.zone-grid{gap:7px}.tile{padding:5px;border-radius:12px;gap:2px}.tile h2{font-size:clamp(12px,3vw,18px);letter-spacing:-.3px}.tile-state{font-size:8px;top:4px;right:4px;padding:3px 5px}.activity{gap:5px}.activity-head .back{height:32px;min-width:32px}.activity-head h1{font-size:21px}.activity-head .eyebrow{font-size:8px}.subnav{gap:3px}.subnav button{font-size:10px;padding:7px 2px;white-space:normal}.activity-body{gap:7px}.space-explore,.compare-layout,.scale-layout,.gravity-layout,.game-layout,.memory-layout,.quiz-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.space-explore .planet-visual{gap:4px}.planet-pickers{grid-template-columns:repeat(4,1fr);gap:3px}.planet-pickers button{font-size:10px;padding:4px 1px}.planet-info{gap:4px;grid-template-rows:auto minmax(0,1fr) auto auto}.planet-identity{gap:8px}.planet-identity h2{font-size:19px}.planet-sphere{height:30px;width:30px}.planet-facts{gap:4px}.fact{padding:5px;border-radius:8px}.fact strong{font-size:16px}.fact small{font-size:9px}.video-placeholder{padding:5px;gap:5px}.video-placeholder .play-symbol{height:24px;width:24px}.video-placeholder b{font-size:10px}.video-placeholder small{font-size:8px}.source-note{font-size:8px}.compare-controls{gap:5px}.compare-controls label{display:flex;gap:5px;align-items:center}.compare-controls label>span{margin:0}.compare-controls select{padding:4px}.compare-visual{gap:4px}.compare-visual svg{max-height:70px}.compare-results{gap:4px}.bar-group{padding:4px;gap:3px}.bar-track{height:7px}.bar-row{grid-template-columns:55px 1fr 80px;font-size:10px}.scale-stops{gap:3px}.scale-stop{padding:3px 7px}.scale-stop small{font-size:8px}.scale-stop .number{width:20px;height:20px;font-size:10px}.scale-info{gap:4px}.scale-info .big-number{font-size:29px}.gravity-inputs{gap:7px}.gravity-reading .big-number{font-size:45px}.gravity-reading{gap:5px}.quiz-layout{grid-template-rows:minmax(0,.55fr) minmax(0,1.45fr)}.quiz-side{flex-direction:row;text-align:left;gap:7px}.quiz-side img{max-width:85px;max-height:100%;flex:none}.quiz-card{gap:6px}.quiz-card h2{font-size:20px}.quiz-answers button{font-size:12px;min-height:37px;padding:6px}.game-layout{grid-template-rows:minmax(0,1fr) minmax(0,1.15fr)}.game-workspace{gap:4px}.game-controls button{min-height:30px;font-size:18px;padding:4px}.editor{gap:4px;grid-template-rows:repeat(6,auto) minmax(0,1fr)}.editor h2{font-size:17px}.editor label{font-size:10px}.editor label input,.editor label select{padding:4px;font-size:12px;margin-top:2px}.editor-actions button{padding:7px;font-size:12px}.editor-help{font-size:9px}.game-overlay{padding:4px;font-size:11px}.memory-board{width:min(48vw,27vh,230px);gap:7px}.memory-info{gap:5px}.memory-info h2{font-size:20px}.memory-status{font-size:13px;min-height:2em}.memory-action{min-height:36px;font-size:13px;padding:6px}.memory-board-card{gap:5px}.memory-stats .fact{padding:5px}.profile-view{grid-template-rows:120px minmax(0,1fr);gap:6px}.profile-summary{grid-template-columns:repeat(4,1fr);grid-template-rows:57px 57px;gap:4px}.identity-card{grid-column:span 4;gap:6px;padding:4px 10px}.identity-card img{width:42px;height:42px}.identity-card h1{font-size:19px}.identity-card .identity-text{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:8px}.identity-card .edit-link{grid-column:2;grid-row:1 / span 2}.identity-card .progress-track{grid-column:1;height:4px;margin:2px 0}.identity-card .xp-caption{font-size:8px;grid-column:1}.metric{padding:4px;gap:3px;border-radius:8px}.metric img{width:20px;height:25px}.metric small{font-size:8px}.metric strong{font-size:16px;letter-spacing:-.4px}.profile-content{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1.12fr) minmax(0,.9fr) minmax(0,.9fr);gap:5px}.profile-content .card{padding:6px;gap:3px;border-radius:9px}.profile-content h2{font-size:12px}.achievements-card{grid-row:auto;grid-column:span 2}.achievement-grid{grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(3,minmax(0,1fr));gap:2px}.achievement{padding:2px;gap:2px;justify-content:center;border-radius:5px}.achievement img{width:15px;max-height:18px}.achievement .badge-text{font-size:7px}.achievement .badge-text small{font-size:6px}.profile-row,.history-item{font-size:9px;gap:4px;padding:3px 0}.profile-row small,.history-item small,.profile-note{font-size:7px}.zone-progress .progress-track{height:4px}.project-preview{padding:3px;gap:3px}.project-preview img{height:21px;width:21px}.project-preview b{font-size:9px}.project-preview small{font-size:7px}.mini-button{font-size:8px;padding:4px}.empty{font-size:10px}.pip-layout{grid-template-columns:1fr;max-height:90dvh;min-height:0}.pip-side{flex-direction:row;padding:8px;gap:6px;justify-content:flex-start;border-right:0}.pip-side .eyebrow,.pip-side p,.pip-side .ai-indicator{display:none}.pip-side img{width:60px;height:60px}.pip-side h2{font-size:20px}.pip-main{padding:11px;gap:7px}.pip-messages{max-height:32vh;min-height:110px}.bubble{font-size:13px}.access-code span{font-size:10px}.suggestions button{font-size:10px}.pip-dialog{border-radius:16px}}
/* Compact, non-overlapping profile summary for landscape touch displays. */
@media(min-width:701px){.profile-summary{grid-template-rows:minmax(0,1fr)}.profile-summary .identity-card,.profile-summary .metric{min-height:0;overflow:hidden;padding:7px 10px}.identity-card .identity-text{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:2px;align-items:center}.identity-card h1{line-height:1.05;font-size:clamp(20px,2.1vw,31px)}.identity-card .edit-link{grid-column:2;grid-row:1;align-self:start;padding:3px 0 0 3px}.identity-card .progress-track{grid-column:span 2;margin:2px 0}.identity-card .xp-caption{grid-column:span 2;font-size:clamp(9px,.8vw,12px)}.identity-card img{width:clamp(42px,7.6vh,84px);height:clamp(42px,7.6vh,84px)}.metric .token-detail{font-size:clamp(8px,.7vw,10px);white-space:nowrap;margin-top:2px}.profile-content .profile-note{font-size:clamp(9px,.8vw,12px);line-height:1.25}.profile-content .profile-row{flex-shrink:0}.profile-content .project-preview{margin-top:4px}}
@media(max-width:700px){.metric .token-detail{font-size:7px;white-space:nowrap}.profile-content .profile-note{font-size:8px;line-height:1.2}}
@media(max-width:700px){.metric .token-detail{white-space:normal;font-size:7px;line-height:1.05}.metric .metric-info{min-width:0;flex:1}.metric{overflow:hidden}}

/* Release 4 */
.orbit-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.orbit-heading .action{padding:8px 12px;border-radius:10px;white-space:nowrap}.orbit-planet{cursor:pointer;outline:none}.orbit-planet:hover .selection-ring,.orbit-planet:focus .selection-ring{stroke:#b6e631;stroke-width:3}.scale-info{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) 3.3em auto;gap:6px;align-content:stretch;justify-content:stretch}.scale-story{margin:0;line-height:1.35;overflow:auto}.scale-art{height:100%;width:100%;display:block}.scale-art svg{display:block;width:100%;height:100%;max-height:none}.gravity-compare{justify-content:stretch;gap:10px}.gravity-bars{flex:1;min-height:0;display:grid;grid-template-rows:repeat(9,minmax(0,1fr));gap:5px}.gravity-row{display:grid;grid-template-columns:14px 72px 1fr 75px;align-items:center;gap:7px;font-size:clamp(11px,1.2vw,17px)}.gravity-row i{width:13px;height:13px;border-radius:50%}.gravity-row strong{text-align:right;font-variant-numeric:tabular-nums}.gravity-options,.weight-units{display:flex;gap:8px}.gravity-options button,.weight-units button{padding:13px;border-radius:10px;flex:1}.gravity-options .correct,.weight-units .selected{background:var(--green)}.gravity-options .wrong{background:#f4dddd}.gravity-earned{background:#eaf4cc;padding:10px;border-radius:10px}.gravity-inputs input[type=number]{font-size:32px;padding:15px;width:100%}.gravity-reading>img{max-width:50%;max-height:45%;object-fit:contain}.memory-pad{font-size:clamp(18px,3.2vw,45px);border-radius:12px}.sequence-progress{flex-wrap:wrap;justify-content:center}
.ai-action{margin-left:auto!important;background:#eaf5c9!important;border-color:#B6E631!important;color:#181818!important}.negotiation-layout{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:12px;min-height:0}.neg-case,.neg-chat{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:hidden}.neg-case p{font-size:clamp(12px,1.15vw,17px);line-height:1.35;margin:4px 0}.neg-role{background:#f0f1f0;border-radius:10px;padding:8px;margin-top:7px}.neg-role small{display:block;font-size:clamp(10px,.95vw,14px)}.neg-clock{margin-top:auto;display:flex;align-items:center;justify-content:space-between;background:#eaf5c9;padding:8px 12px;border-radius:10px}.neg-clock strong{font-size:clamp(24px,3vw,44px)}.neg-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.neg-log{flex:1;min-height:0;overflow:auto;background:#f5f6f5;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px}.neg-chat form{display:flex;gap:8px}.neg-chat textarea,.game-ai-dialog textarea{font:inherit;resize:none;min-height:50px;flex:1;width:100%;border:1px solid #d0d4cd;border-radius:10px;padding:9px}.neg-chat .editor-help{min-height:30px}.game-ai-dialog form{display:grid;gap:12px}.game-ai-dialog p{line-height:1.4}.neg-case small{line-height:1.3}@media(max-width:650px){.negotiation-layout{grid-template-columns:1fr;overflow:auto!important}.neg-chat{min-height:360px}.neg-case{overflow:visible}.ai-action{margin-left:0!important}}
/* Release 6 — consistent fullscreen challenge workspaces */
.gravity-simple{justify-content:flex-start;gap:clamp(8px,1.4vh,18px)}.gravity-destinations{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.gravity-destinations button{display:flex;align-items:center;justify-content:center;gap:5px;border-radius:10px;padding:10px 4px;font-size:clamp(11px,1.05vw,15px)}.gravity-destinations i{width:13px;height:13px;border-radius:50%;flex:none}.gravity-destinations .selected{background:var(--green);border-color:#a4c92a}.gravity-weight-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.gravity-weight-head label{font-size:clamp(14px,1.5vw,22px);font-weight:700}.gravity-weight-head label b{margin-left:8px}.gravity-weight-head .weight-units button{min-width:44px;padding:8px 12px}.gravity-simple input[type=range]{width:100%;accent-color:#9ac51e;min-height:30px}.gravity-mini-challenge{margin-top:auto;background:white;border:1px solid #dfe3dc;border-radius:12px;padding:10px;display:grid;gap:6px}.gravity-mini-challenge p{margin:0;font-size:clamp(12px,1.15vw,16px)}.gravity-mini-challenge .gravity-options button{padding:9px}.gravity-result .planet-sphere{width:clamp(62px,19vh,175px);height:clamp(62px,19vh,175px);flex:none}.gravity-result .big-number small{font-size:.35em;letter-spacing:0}.gravity-result .primary{padding:9px 16px}.gravity-result p{font-size:clamp(11px,1.05vw,15px)}
.game-workspace:has(.game-revision){display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:7px}.game-revision{background:#fff;border:1px solid #dbe1d7;border-radius:12px;padding:8px;display:grid;gap:5px;min-height:0}.revision-title{display:flex;align-items:center;justify-content:space-between;gap:6px}.revision-title b{font-size:clamp(13px,1.3vw,18px)}.revision-title small,.game-revision>small{font-size:clamp(9px,.85vw,12px);color:#616b59}.game-revision form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.game-revision input{width:100%;min-width:0;min-height:36px;padding:7px 9px;border:1px solid #d7dcd3;border-radius:8px;font:inherit;font-size:clamp(12px,1vw,15px)}.game-revision button{padding:7px 16px;min-height:36px}.game-revision>small{white-space:normal;line-height:1.2}
.negotiation-v7{grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);gap:clamp(8px,1.15vw,18px)}.negotiation-v7 .neg-case,.negotiation-v7 .neg-chat{gap:clamp(6px,1vh,12px);padding:clamp(9px,1.15vw,18px)}.neg-brand{display:flex;gap:10px;align-items:center;flex:none}.neg-brand img{width:clamp(45px,7vh,78px);height:clamp(45px,7vh,78px);object-fit:contain}.neg-brand h2,.neg-heading h2{font-size:clamp(18px,1.75vw,27px);line-height:1.1;margin:2px 0}.neg-brand small{color:#657060;font-size:clamp(10px,.9vw,13px)}.neg-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;flex:none}.neg-levels button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:white;border:1px solid #d9dfd3;border-radius:10px;padding:6px 2px;min-height:44px;font-size:clamp(8px,.82vw,12px);line-height:1.05;color:#222}.neg-levels button b{font-size:clamp(15px,1.5vw,21px)}.neg-levels button.selected{background:var(--green);border-color:#9cbd2d}.neg-levels button.completed:not(.selected){background:#e9f4ce}.neg-levels button:disabled:not(.selected){opacity:.5}.neg-case-content{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;display:flex;flex-direction:column;gap:4px}.neg-case-content h2{font-size:clamp(18px,1.8vw,27px);margin:0}.neg-situation{padding:6px 0}.neg-situation b,.neg-role b{font-size:clamp(11px,1vw,15px)}.neg-role{padding:clamp(6px,1vh,11px);margin-top:5px;border:1px solid #e0e4dc;background:#fff}.neg-role p,.neg-situation p{font-size:clamp(11px,1.15vw,16px);line-height:1.3;margin:3px 0}.neg-role small{font-size:clamp(10px,1vw,14px);line-height:1.3}.neg-tip{flex:none;background:#eaf5cc;border-radius:9px;padding:8px;font-size:clamp(10px,.95vw,13px);line-height:1.25}.neg-tip b{display:block;margin-bottom:2px}.neg-clocks{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);gap:6px;align-items:center;flex:none}.chess-clock{display:flex;align-items:center;justify-content:space-between;gap:6px;background:white;border:2px solid #dfe3dc;border-radius:12px;padding:clamp(7px,1vh,13px);min-width:0}.chess-clock.clock-active{background:#edf8d2;border-color:#a6d52a;box-shadow:0 0 0 2px #b6e63125}.chess-clock.clock-expired{border-color:#a66;color:#933}.clock-label{display:flex;gap:5px;align-items:center;min-width:0}.clock-label img{width:clamp(24px,4.2vh,46px);height:clamp(24px,4.2vh,46px);object-fit:contain;flex:none}.clock-label b,.clock-label small{display:block;font-size:clamp(9px,.95vw,13px);line-height:1.2}.clock-label small{font-size:clamp(8px,.8vw,11px);color:#616b59}.chess-clock>strong{font-size:clamp(20px,2.65vw,41px);font-variant-numeric:tabular-nums;line-height:1;letter-spacing:-1px}.clock-divider{text-align:center;color:#727a6c;font-size:20px}.neg-controls{display:flex;align-items:center;gap:6px;flex:none}.neg-controls button{padding:clamp(7px,1vh,11px) 10px;border-radius:9px;font-size:clamp(10px,1vw,14px);white-space:nowrap}.neg-controls #neg-turn{margin-left:auto;font-size:clamp(10px,.9vw,13px);font-weight:700;color:#53613e;text-align:right}.neg-log{background:white;border:1px solid #e0e4dd;min-height:70px;scrollbar-width:thin;gap:6px}.neg-log .bubble{font-size:clamp(12px,1.05vw,15px);padding:8px 10px;line-height:1.35;flex:none}.neg-msg-label{font-size:10px;display:block;opacity:.72;margin-bottom:4px;font-weight:700}.neg-chat form{flex:none}.neg-chat textarea{min-height:48px;height:clamp(48px,7vh,80px);font-size:clamp(12px,1.15vw,16px)}.neg-chat form button{padding:10px 16px}.neg-coach{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:start;background:#eaf5cc;border:1px solid #dbeab4;border-radius:10px;padding:8px;font-size:clamp(10px,.95vw,13px);line-height:1.3;flex:none}.neg-coach b{white-space:nowrap}.neg-results{border:1px solid #b9d668;background:#f4f9e6;border-radius:12px;padding:10px;display:grid;gap:7px;flex:none}.neg-results h3{font-size:clamp(17px,1.5vw,24px);margin:0}.neg-results p{font-size:13px;margin:0}.judge-row{padding:7px;background:white;border-radius:8px;display:grid;gap:3px;font-size:13px}.judge-row small{font-size:12px}.neg-results button{justify-self:start;padding:9px 15px}.negotiation-v7 .ai-indicator{white-space:nowrap}
@media(max-height:650px) and (min-width:701px){.neg-brand img{width:38px;height:38px}.negotiation-v7 .neg-case,.negotiation-v7 .neg-chat{gap:5px;padding:8px}.neg-levels button{min-height:35px;padding:4px 2px}.neg-role{padding:5px;margin-top:3px}.neg-tip{padding:5px}.neg-coach{padding:5px}.neg-chat textarea{min-height:37px;height:37px}.neg-log{min-height:45px;padding:6px}.chess-clock{padding:5px}.neg-controls button{padding:6px 8px}.gravity-simple{gap:7px}.gravity-destinations button{padding:6px 3px}.gravity-mini-challenge{padding:6px;gap:4px}.gravity-mini-challenge .gravity-options button{padding:6px}.game-revision{padding:5px;gap:3px}.game-revision input,.game-revision button{min-height:30px;padding:4px 6px}}
@media(max-width:700px){.negotiation-v7{grid-template-columns:1fr;grid-template-rows:auto auto;overflow:auto!important}.negotiation-v7 .neg-case-content{overflow:visible}.negotiation-v7 .neg-chat{min-height:430px}.gravity-destinations{gap:3px}.gravity-destinations button{font-size:10px;padding:4px}.game-revision{padding:4px;gap:2px}.game-revision input,.game-revision button{font-size:10px;min-height:26px;padding:3px 6px}}
.gravity-destinations{grid-template-columns:repeat(3,1fr)}.neg-transcript{font-size:13px;flex:none;padding:8px}.neg-transcript summary{font-weight:700;cursor:pointer;margin-bottom:6px}.neg-transcript .bubble{margin:5px 0}.neg-transcript .visitor-bubble{margin-left:auto}.neg-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.neg-results h3,.neg-results>p,.neg-results>button{grid-column:1/-1}.judge-row{min-width:0;overflow-wrap:anywhere}.judge-row b{font-size:clamp(10px,1vw,14px)}.judge-row small{font-size:clamp(10px,.9vw,13px)}
@media(max-height:650px) and (min-width:701px){.neg-case-content .neg-situation{padding:3px 0}.neg-case-content{gap:2px}.neg-results{padding:6px;gap:4px}.judge-row{padding:5px}.neg-results p{font-size:11px}}
/* Release 7 — split game workspace, compact controls and dedicated AI designer */
.game-layout{grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:var(--gap)}
.game-workspace{grid-template-rows:auto minmax(0,1fr) auto;min-height:0;overflow:hidden;gap:9px}
.game-workspace .game-stage{min-height:0;max-height:none;width:100%}
.game-workspace .game-hud{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.game-hud strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-hud .full-button{min-height:38px;padding:6px 10px;font-size:clamp(11px,1vw,14px);white-space:nowrap}
.game-workspace .game-controls{display:flex;justify-content:center;gap:8px}.game-controls #full-play{display:none}
.game-workspace:fullscreen,.game-workspace.game-expanded{background:#f2f3f2;border:0;border-radius:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:clamp(10px,2vw,28px);width:100%;height:100%;max-width:none;max-height:none;gap:12px}.game-workspace.game-expanded{position:fixed;inset:0;z-index:9999}.game-workspace:fullscreen .game-controls #full-play,.game-workspace.game-expanded .game-controls #full-play{display:block}.game-workspace:fullscreen .game-controls button,.game-workspace.game-expanded .game-controls button{min-height:52px;min-width:80px}.game-workspace:fullscreen .game-stage,.game-workspace.game-expanded .game-stage{background:#171917}.game-workspace:fullscreen .game-hud,.game-workspace.game-expanded .game-hud{font-size:clamp(16px,2vw,30px)}
.game-layout .editor{display:flex;flex-direction:column;min-height:0;gap:clamp(5px,.8vh,10px);padding:clamp(9px,1.25vw,20px);overflow:auto;scrollbar-width:thin}.game-layout .editor h2{margin:0;font-size:clamp(18px,2.15vh,25px)}.game-layout .editor label{display:flex;flex-direction:column;gap:3px;min-width:0;font-size:clamp(10px,1.5vh,14px);line-height:1.15}.game-layout .editor input,.game-layout .editor select{min-height:clamp(29px,4.7vh,43px);height:clamp(29px,4.7vh,43px);padding:4px 9px;margin:0;font-size:clamp(12px,1.65vh,16px)}.game-layout .editor .double{gap:8px}.game-layout .editor .editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.game-layout .editor-actions button{min-height:clamp(32px,5.2vh,48px);padding:7px;font-size:clamp(12px,1.6vh,16px)}.game-layout .editor-help{margin:0;min-height:0;font-size:clamp(10px,1.4vh,13px);padding:3px 0;line-height:1.2;background:none;border:0}
.game-layout .game-revision{border:1px solid #d3e5a0;background:#f9fceffb;border-radius:13px;padding:clamp(6px,1vh,12px);display:flex;flex-direction:column;gap:clamp(4px,.7vh,8px);margin:0;flex:none}.game-layout .revision-title{display:flex;align-items:center;justify-content:flex-start;gap:9px}.revision-title img{width:clamp(28px,5.5vh,48px);height:clamp(28px,5.5vh,48px);object-fit:contain}.revision-title>div{flex:1;min-width:0}.revision-title b,.revision-title small{display:block;line-height:1.25}.revision-title b{font-size:clamp(13px,1.9vh,19px)}.revision-title small{font-size:clamp(10px,1.45vh,13px)}.game-layout .game-revision form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:stretch}.game-layout .game-revision textarea{width:100%;min-width:0;min-height:clamp(38px,6.5vh,70px);height:clamp(38px,6.5vh,70px);border:1px solid #d7ded1;border-radius:8px;padding:7px;font:inherit;font-size:clamp(11px,1.55vh,15px);resize:none;background:white}.game-layout .game-revision form button{padding:7px 10px;min-height:35px}.revision-chips{display:flex;flex-wrap:wrap;gap:4px}.revision-chips button{background:white;color:#3e4933;border:1px solid #dbe3cf;border-radius:20px;min-height:25px;font-size:clamp(10px,1.25vh,12px);padding:3px 9px;line-height:1.2}.revision-chips button:not(:disabled):hover{background:var(--green);border-color:var(--green)}.revision-chips #revision-undo{margin-left:auto}.game-layout #revision-status{color:#535e49;line-height:1.25;font-size:clamp(10px,1.4vh,13px);overflow-wrap:anywhere}
/* A polished portrait and an app-focused AI question dialog */
.pip-trigger{border:1px solid #dce4d3;background:#f8faf4;border-radius:14px;padding:5px 12px 5px 5px;gap:8px}.pip-trigger:hover{border-color:#b6e631;background:#f0f8dc}.pip-trigger img{object-fit:contain;width:clamp(40px,4vw,64px);height:clamp(40px,4vw,64px)}.pip-dialog .pip-side{background:linear-gradient(145deg,#f8fbea,#eef2e5);color:#1b2119;border-right:1px solid #e0e8d7}.pip-dialog .pip-side img{width:min(100%,200px);height:auto;max-height:35vh;object-fit:contain}.pip-dialog .pip-side h2{color:#181818}.pip-dialog .pip-side p{color:#59634f}.pip-dialog .pip-main .dialog-head h2{font-size:clamp(20px,2.2vw,29px);letter-spacing:-.6px}.pip-dialog .pip-main{background:white}.pip-dialog .assistant-bubble{background:#f0f3ee;border:1px solid #e0e5da}.pip-dialog .visitor-bubble{background:#e8f6ba}.pip-dialog .suggestions button{border:1px solid #d5dec5;border-radius:9px;background:#f8faf4}.pip-dialog .suggestions button:hover{background:var(--green)}
/* Voice mode uses the same challenge and transcript */
.negotiation-v7 .neg-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.neg-mode{display:flex;border:1px solid #dce2d8;border-radius:10px;overflow:hidden;background:white;flex:none}.neg-mode button{min-height:32px;padding:5px 12px;border:0;background:white;color:#333;font-size:clamp(10px,1vw,14px);font-weight:700}.neg-mode button.selected{background:var(--green)}.neg-voice-bar{display:flex;align-items:center;gap:6px;padding:6px;background:#f5f8ec;border:1px solid #dbe5ce;border-radius:10px;flex:none}.neg-voice-bar[hidden]{display:none}.neg-voice-bar span{flex:1;min-width:0;font-size:clamp(10px,.95vw,13px);line-height:1.2;overflow-wrap:anywhere}.neg-voice-bar button{white-space:nowrap;padding:7px 10px;min-height:34px;font-size:clamp(10px,.95vw,13px)}
@media(max-height:650px) and (min-width:701px){.game-layout .editor{gap:4px;padding:8px}.game-layout .game-revision{gap:4px;padding:6px}.game-layout .revision-title img{width:28px;height:28px}.game-layout .game-revision textarea{min-height:35px;height:35px}.game-layout .revision-chips button{min-height:22px;padding:2px 7px}.game-layout .editor-help{font-size:10px}.neg-voice-bar{padding:4px}.neg-voice-bar button{padding:5px 6px;min-height:28px}.neg-mode button{min-height:27px;padding:4px 8px}}
@media(max-width:700px){.game-layout{grid-template-columns:1fr;grid-template-rows:minmax(260px,1fr) auto;overflow:auto!important}.game-layout .editor{overflow:visible}.game-layout .game-hud .full-button{font-size:10px;padding:4px 6px}.game-layout .game-revision textarea{min-height:54px}.pip-dialog .pip-side img{max-height:110px}}

/* Release 7: optical planet layers and compact accessible voice controls. */
.planet-sphere.planet-art{background:none!important;border:0;box-shadow:none;border-radius:0;overflow:visible;display:grid;place-items:center;width:clamp(70px,11vw,150px);height:clamp(58px,9vw,115px)}.planet-art svg{display:block;width:100%;height:100%;overflow:visible}.gravity-result .planet-art{width:clamp(110px,25vh,230px);height:clamp(86px,20vh,180px)}
.pip-voice-toggle{white-space:nowrap;margin-left:auto;padding:8px 12px;border-radius:9px;min-height:40px}.pip-voice-toggle.selected{background:var(--green);border-color:#a0cb25}.pip-voice-bar{display:grid;gap:5px;background:#f1f4ed;border:1px solid #dfe6d6;border-radius:12px;padding:8px 10px;flex:none}.pip-voice-bar[hidden]{display:none}.pip-voice-actions{display:flex;gap:7px;flex-wrap:wrap}.pip-voice-actions button{min-height:39px;padding:7px 12px;white-space:nowrap}.pip-voice-bar small{font-size:11px;color:#4e5947}.pip-dialog .pip-messages{min-height:75px;overflow:auto}.pip-dialog .pip-main{min-height:0}.pip-dialog .dialog-head{gap:8px;align-items:center}.pip-dialog .dialog-head>div{flex:1;min-width:0}
