:root{--blue:#238bd4;--blue-deep:#1379cb;--yellow:#ffd43b;--ink:#1e2a47;--muted:#66798d;--paper:#fffdf7;--panel:#eaf6ff;--green:#35b977;--red:#dc6470;--purple:#8c6ce8;--shadow:0 8px 28px #2665900c;--radius:24px;--camp:#74c0fc;--camp-soft:#e7f5ff;font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;font-synthesis:none;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;color:inherit;background:none;touch-action:manipulation}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffbd29;outline-offset:4px}button,img{-webkit-user-select:none;user-select:none}h1,h2,h3,p{margin:0}h1{font-size:38px;line-height:1.25;letter-spacing:-1px}h2{font-size:27px;line-height:1.4}h3{font-size:19px;line-height:1.5}p{line-height:1.8}img{object-fit:contain;max-width:100%;display:block}small,.small{font-size:13px;color:var(--muted);line-height:1.7}svg.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:46px;padding:11px 22px;border-radius:15px;background:#e7f3fc;color:#176ba8;font-weight:750;transition:transform .16s,background .16s,box-shadow .16s}.btn:hover{background:#d9edfc;transform:translateY(-2px)}.btn.primary{background:var(--yellow);color:var(--ink);box-shadow:0 5px 0 #e9b524}.btn.primary:hover{background:#ffdf65}.btn:active{transform:translateY(3px);box-shadow:none}.btn.blue{background:var(--blue);color:white;box-shadow:0 4px 0 #156ca7}.btn.danger{background:#fff0f0;color:#b44355}.btn.ghost{background:transparent;color:var(--muted)}.btn.sm{min-height:38px;padding:8px 14px;font-size:13px;border-radius:12px}.btn.full{width:100%}.row{display:flex;gap:12px;align-items:center}.wrap{flex-wrap:wrap}.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:18px}.muted{color:var(--muted)}.tag{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:9px;background:#e9f5ff;color:#237cb8;font-size:12px;font-weight:750}.tag.gold{background:#fff2bd;color:#946d00}.tag.green{background:#e3f8ed;color:#247c52}.tag.purple{background:#efe9ff;color:#7553bb}.dot{height:7px;width:7px;border-radius:50%;background:var(--green);display:inline-block}.pill{padding:8px 13px;border-radius:20px;background:#f3f7fb;font-size:14px;font-weight:700}.card{background:white;border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.progress{height:10px;border-radius:10px;background:#e8eff5;overflow:hidden}.progress>span{display:block;height:100%;background:var(--blue);border-radius:inherit;transition:width .4s}.stars{color:#df9c08;letter-spacing:2px;font-weight:850}.eyebrow{text-transform:uppercase;font-size:11px;font-weight:850;letter-spacing:2.1px;color:var(--blue-deep)}
/* Navigation and world */
.topbar{height:84px;padding:0 34px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 1px 0 #e4edf3;position:sticky;top:0;z-index:25}.brand{display:flex;align-items:center;gap:16px;text-align:left;padding:0}.logo{width:116px;height:57px;object-fit:contain;mix-blend-mode:multiply}.brand-caption{font-size:13px;letter-spacing:2px;color:#60788c;border-left:1px solid #e0e8ee;padding-left:16px}.hud{display:flex;align-items:center;gap:8px}.hud-item{display:flex;align-items:center;gap:9px;padding:10px 15px;border-radius:16px;font-weight:850;font-size:18px;white-space:nowrap}.hud-item:hover{background:#f5f9fd}.hud-item img{width:28px;height:31px}.hud-item small{font-size:12px;display:block;font-weight:500}.hud-item .label{line-height:1.15}.profile-button{display:flex;align-items:center;gap:10px;background:#eef7fd;padding:7px 14px 7px 8px;border-radius:24px;font-size:14px;font-weight:750}.profile-button img{width:36px;height:36px}.app-shell{max-width:1700px;margin:auto;display:grid;grid-template-columns:94px minmax(330px,36%) minmax(0,1fr);height:calc(100vh - 84px);min-height:660px}.rail{display:flex;flex-direction:column;gap:12px;align-items:center;padding:26px 10px;background:white;border-right:1px solid #eef3f7}.nav-button{width:70px;min-height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#7a8ea2;border-radius:18px;font-size:12px;font-weight:750}.nav-button svg{width:25px;height:25px}.nav-button:hover{background:#f2f8fc;color:var(--blue)}.nav-button.active{background:#e7f4fe;color:#1379cb}.rail-bottom{margin-top:auto}.course-panel{display:flex;flex-direction:column;background:#fffdf8;border-right:1px solid #eaf0f5;overflow:hidden}.course-head{padding:24px 26px 17px}.course-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.course-heading h2{font-size:23px}.camp-select{width:100%;border:0;appearance:none;color:#fff;background:var(--blue);border-radius:18px;padding:17px 19px;display:flex;justify-content:space-between;align-items:center;text-align:left;box-shadow:0 5px 0 #146eb1;gap:8px}.camp-select strong{font-size:18px;display:block}.camp-select small{color:#d8edff;letter-spacing:1px;font-size:11px}.course-list{overflow-y:auto;padding:18px 26px 35px;flex:1;scrollbar-width:thin;scrollbar-color:#dce9f2 transparent}.unit-row{position:relative;padding:16px 17px 20px;border-radius:21px;margin:0 0 12px;isolation:isolate}.unit-row.current{background:#edf7ff}.unit-row.locked{opacity:.68}.unit-title{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:15px;font-weight:750;margin-bottom:16px}.unit-title .unit-number{font-size:11px;font-weight:800;color:#8496a4;letter-spacing:1px}.beads{display:flex;align-items:center;justify-content:space-around;position:relative}.beads:before{content:'';position:absolute;left:15%;right:15%;height:5px;background:#dceaf2;top:29px;z-index:-1;border-radius:9px}.bead-wrap{display:flex;flex-direction:column;align-items:center;gap:7px}.bead{width:59px;height:59px;border-radius:22px;background:#dce6ee;color:#8398a9;box-shadow:0 5px 0 #c7d6e1;display:grid;place-items:center;font-size:23px;font-weight:850;transition:.18s}.bead.a.open{background:#5bd18e;box-shadow:0 5px 0 #34ad69;color:white}.bead.b.open{background:#4aadee;box-shadow:0 5px 0 #2288c8;color:white}.bead.c.open{background:#ffb04e;box-shadow:0 5px 0 #e28b25;color:white}.bead.completed{background:#f8d45a;color:#6c5617;box-shadow:0 5px 0 #dcb53e}.bead.legend{background:#9975ea;color:#fff;box-shadow:0 5px 0 #704ab9}.bead.cracked{background:#ffce8e;color:#8b570e;box-shadow:0 5px 0 #d89b49}.bead.next{animation:breathe 2.2s ease-in-out infinite}.bead:hover{transform:translateY(-3px)}.bead-label{font-size:10px;font-weight:650;color:#8192a3}.bead-wrap .stars{font-size:11px;letter-spacing:1px;height:12px}.course-foot{padding:16px 24px 23px;background:#fff;box-shadow:0 -7px 20px #214a6407}.course-foot .row{margin-bottom:12px}.course-foot p{font-size:12px;color:var(--muted)}.course-foot .btn{min-height:53px}.boss-card{background:#f1eafb;padding:17px;border-radius:20px;display:flex;gap:16px;align-items:center;width:100%;text-align:left;color:#7651af}.boss-card img{width:55px;height:55px}.boss-card strong{display:block;font-size:15px}.lab-panel{position:relative;overflow:auto;background:radial-gradient(ellipse at 65% 30%,#fdfefe,#edf7fe 70%);padding:29px 30px 24px;display:flex;flex-direction:column}.lab-header h1{font-size:31px;margin:9px 0 7px}.lab-header p{font-size:14px;color:#7d93a6}.lab-top{display:flex;align-items:flex-start;justify-content:space-between}.chapter-badge{width:70px;height:70px;background:#fff9dd;border-radius:22px;display:grid;place-items:center}.chapter-badge img{width:50px;height:50px}.lab-world{position:relative;flex:1;min-height:315px;max-height:550px;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:pan-y}.world-inner{position:relative;width:100%;height:380px;transform-origin:50% 60%;transition:transform .2s}.island{position:absolute;width:92%;height:78%;left:4%;top:23%;filter:drop-shadow(0 15px 8px #4b8db325)}.lab-building{position:absolute;object-fit:contain;filter:drop-shadow(0 5px 4px #48789516);transition:transform .3s;cursor:pointer;padding:0}.lab-building:hover{transform:translateY(-8px)}.lab-building img{width:100%;height:100%;object-fit:contain}.lab-building.locked{filter:grayscale(1);opacity:.3}.lab-building .building-label{background:#ffffffec;padding:4px 9px;border-radius:10px;font-size:10px;position:absolute;bottom:-9px;left:50%;transform:translateX(-50%);white-space:nowrap;color:#54778e;box-shadow:0 2px 6px #235d7612}.world-xq{position:absolute;left:41%;top:36%;width:23%;height:48%;animation:float 4s ease-in-out infinite;filter:drop-shadow(0 10px 7px #3c80a224)}.world-xq img{width:100%;height:100%}.world-float{position:absolute;left:9%;top:16%;color:#81bbdd;font-size:20px;animation:float 5s ease-in-out infinite}.world-caption{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:12px;color:#85a1b5}.world-control{position:absolute;right:0;bottom:17px;display:flex;gap:5px}.world-control button{width:34px;height:34px;background:#ffffffc9;border-radius:11px;color:#5e829a}.speech-card{display:flex;gap:15px;align-items:center;padding:17px 22px;border-radius:21px;background:white;box-shadow:0 5px 0 #d9eaf5;margin:3px 0 22px}.speech-card img{height:53px;width:53px}.speech-card p{font-size:15px;color:#385a73;line-height:1.6}.speech-card b{color:#167dbe}.dock{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.dock button{padding:16px 7px 13px;background:#ffffffd9;border-radius:20px;box-shadow:0 4px 0 #dcebf5;display:flex;flex-direction:column;align-items:center;gap:7px;transition:.2s;font-size:13px;font-weight:750}.dock button:hover{transform:translateY(-4px)}.dock img{width:41px;height:41px}.dock small{font-size:10px}.footer-note{font-size:10px;text-align:center;color:#92a7b6;margin-top:18px;letter-spacing:.8px}
/* pages */
.page-shell{max-width:1500px;margin:auto;display:grid;grid-template-columns:94px 1fr;min-height:calc(100vh - 84px)}.page-content{padding:36px 42px 70px;min-width:0;background:#f6f9fc}.page-heading{margin-bottom:27px}.page-heading h1{font-size:32px;margin:7px 0 10px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:24px}.stat{padding:22px;background:white;border-radius:21px}.stat b{font-size:33px;display:block;margin:8px 0}.tabbar{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.tabbar button{padding:10px 17px;border-radius:12px;font-size:14px;color:#617d92;background:#e9eff5}.tabbar button.active{background:var(--blue);color:#fff}.search{border:0;background:white;box-shadow:0 0 0 1px #e3edf5;min-height:46px;border-radius:14px;padding:11px 16px;color:var(--ink);width:260px}.dic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:19px}.dic-card{background:white;padding:12px;border-radius:20px;text-align:left;box-shadow:0 5px 0 #e1eaf1;transition:transform .25s}.dic-card:hover{transform:translateY(-6px)}.dic-card img{width:100%;height:145px;background:#faf9f2;border-radius:14px;margin-bottom:11px}.dic-card h3{font-size:15px}.dic-card small{font-size:11px}.dic-card.locked img{filter:grayscale(1) brightness(.6);opacity:.35}.dic-card.locked{opacity:.75}.dic-card.gold{background:#fff8dc;box-shadow:0 5px 0 #e8cb6c}.camp-card{position:relative;overflow:hidden;min-height:220px;text-align:left}.camp-card img{height:90px;margin:10px auto}.camp-card h3{margin:10px 0}.camp-card .progress{margin-top:17px}.setting-row{padding:17px 0;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #edf2f7}.setting-row:last-child{border:0}.setting-row strong{font-size:15px}.setting-row p{font-size:12px;color:var(--muted)}input[type=checkbox]{width:22px;height:22px;accent-color:var(--blue);cursor:pointer}select{border:0;background:#eaf3fb;padding:10px 14px;border-radius:12px;color:var(--ink)}input[type=range]{width:100%;accent-color:var(--blue);cursor:pointer;min-height:32px}.notice{padding:15px 18px;background:#fff5d8;color:#7e6628;border-radius:15px;font-size:13px;line-height:1.8}.success-note{background:#e5f8ef;color:#28744f}.report-radar{width:100%;height:285px}.heatmap{overflow:auto;margin:15px 0}table{border-collapse:separate;border-spacing:4px;font-size:13px}th{padding:10px;color:#66829a;text-align:left}td{padding:12px;border-radius:8px;background:#f1f6fa}td.heat{color:#fff;background:#4aa6dc;text-align:center;font-weight:800}.work-thumb{height:160px;width:100%;border-radius:13px;background:#f2f7fa}.achievement{display:flex;gap:15px;align-items:center}.achievement img{width:60px;height:70px}.achievement.locked{filter:grayscale(1);opacity:.5}
/* Experiment view */
.game-page{min-height:100vh;background:#f1f7fc}.game-top{height:77px;display:flex;align-items:center;gap:17px;background:white;padding:0 28px;box-shadow:0 1px 0 #e2ebf1;position:sticky;top:0;z-index:25}.game-top h2{font-size:17px;max-width:350px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-top .progress{flex:1;max-width:400px}.icon-btn{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:14px;background:#eff5fa;color:#6a8598}.game-layout{max-width:1450px;margin:0 auto;padding:25px 28px 12px;display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:22px}.experiment{background:white;border-radius:27px;padding:27px;min-height:520px;box-shadow:var(--shadow);position:relative;overflow:hidden}.experiment-head{margin-bottom:24px}.experiment-head h1{font-size:26px;margin:10px 0 7px;letter-spacing:0}.experiment-head p{font-size:14px;color:#6e8499;line-height:1.7;max-width:740px}.phase-dots{display:flex;gap:7px}.phase-dots i{width:22px;height:6px;background:#e4edf4;border-radius:7px}.phase-dots i.done{background:#56c799}.phase-dots i.current{background:var(--blue);width:38px}.sidekick{display:flex;flex-direction:column;gap:16px}.sidekick-avatar{height:180px;display:flex;align-items:center;justify-content:center;position:relative}.sidekick-avatar img{height:100%;max-width:160px;animation:float 5s infinite}.side-bubble{background:white;border-radius:20px;padding:18px;font-size:14px;line-height:1.8;color:#4e6d85;box-shadow:0 4px 0 #dfeaf4}.scene-thumb{border-radius:18px;overflow:hidden;background:white;padding:9px}.scene-thumb img{height:120px;width:100%;border-radius:11px}.sidekick .hint-button{width:100%}.game-bottom{max-width:1394px;margin:4px auto 22px;background:white;border-radius:20px;display:flex;align-items:center;gap:18px;padding:15px 22px;box-shadow:0 4px 0 #dfebf5;min-height:79px}.feedback{flex:1;font-size:16px;line-height:1.6;display:flex;gap:10px;align-items:center}.feedback.good{color:#24845c}.feedback.bad{color:#ad5866}.feedback .icon{width:24px}.game-bottom .btn{min-width:145px}.interaction{min-height:300px}.items{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:15px 0 25px}.item{padding:15px 18px;border-radius:16px;background:#f0f7fe;box-shadow:0 4px 0 #d7e7f4;min-height:65px;min-width:100px;max-width:240px;font-size:16px;font-weight:650;transition:transform .16s,background .2s;position:relative;text-align:center;display:flex;justify-content:center;align-items:center;gap:8px;touch-action:none}.item:hover{transform:translateY(-3px)}.item.selected{background:#fff0ad;box-shadow:0 4px 0 #e7bf42;transform:translateY(-4px)}.item.correct{background:#e3f8eb;color:#258053;box-shadow:0 4px 0 #b1e5ca}.item.used{opacity:.4;pointer-events:none;box-shadow:none}.item.bad{animation:shake .3s}.item .num{width:25px;height:25px;border-radius:8px;background:white;display:grid;place-items:center;font-size:12px;color:#7991a5}.bins{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:14px;margin:10px 0 22px}.bin{min-height:110px;padding:20px 12px;background:#e6f4ff;border-radius:18px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#307faa;font-weight:750;box-shadow:inset 0 -5px #d2e9f9;transition:.15s;touch-action:manipulation}.bin:nth-child(2){background:#fff1d2;color:#96722a;box-shadow:inset 0 -5px #f3dfad}.bin:nth-child(3){background:#ecf9ed;color:#377b50;box-shadow:inset 0 -5px #d0ead5}.bin.dragover{transform:scale(1.04);background:#d2ebfc}.bin .count{font-size:12px;opacity:.7}.conveyor{padding:15px;background:repeating-linear-gradient(90deg,#e1edf5 0,#e1edf5 20px,#d4e4f0 20px,#d4e4f0 23px);border-radius:20px;min-height:110px;box-shadow:inset 0 -8px #bdd1e0}.conveyor .items{padding:7px}.sequence-slots{display:flex;gap:8px;align-items:stretch;justify-content:center;flex-wrap:wrap;margin:25px 0}.sequence-slot{min-width:95px;max-width:155px;min-height:110px;background:#eaf5fc;border-radius:16px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:12px;font-size:14px;color:#6590ad;flex:1}.sequence-slot.filled{background:#def3e8;color:#2c7656}.sequence-slot .step{font-size:22px;font-weight:900}.actions{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;margin:20px 0 0}.experiment-visual{height:190px;width:100%;object-fit:contain}.interactive-art{position:relative;border-radius:22px;background:#edf7fc;overflow:hidden;max-width:730px;margin:0 auto;touch-action:none}.interactive-art canvas{display:block;width:100%;touch-action:none}.find-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.clue{min-height:116px;border-radius:18px;background:#f1f7fc;position:relative;padding:18px;font-size:16px;text-align:left;box-shadow:0 4px 0 #e0ebf4;transition:.2s;display:flex;flex-direction:column;gap:10px}.clue.found{background:#e1f7eb;color:#237c53;box-shadow:0 4px 0 #b5e4ce}.clue .clue-symbol{font-size:25px;color:#87b9dc}.clue::after{content:'＋';position:absolute;right:12px;top:10px;font-size:22px;color:#b3c7d7}.clue.found::after{content:'✓';color:#2c9c6a}.observations{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px}.observation{background:#f1f7fe;border-radius:19px;padding:22px;text-align:left;min-height:170px;transition:.2s}.observation.opened{background:#e8f8ef}.observation .number{font-size:33px;color:#b2d3eb;font-weight:900;margin-bottom:13px}.observation h3{font-size:17px}.observation p{font-size:14px;color:#607d93;line-height:1.8;margin-top:10px}.statement{font-size:22px;line-height:1.7;background:#f0f7fd;border-radius:20px;padding:24px;margin-bottom:20px}.options{display:flex;flex-direction:column;gap:12px;max-width:670px;margin:auto}.options button{padding:17px 22px;background:#e8f3fd;border-radius:15px;text-align:left;font-weight:650;font-size:17px;transition:.15s}.options button:hover{background:#d7ecfc}.options button.chosen{background:#deefce}.discuss-voices{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:13px;margin:16px 0}.voice-card{padding:18px;border-radius:17px;background:#edf5ff;text-align:left;min-height:130px}.voice-card p{display:none;font-size:14px;color:#5a7590;margin-top:8px}.voice-card.opened{background:#e5f5eb}.voice-card.opened p{display:block}.dashboard{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(220px,1fr);gap:24px;align-items:center}.control-panel{background:#f1f7fc;padding:22px;border-radius:20px}.control-panel label{display:block;font-size:14px;margin-bottom:14px}.control-panel label:last-child{margin:0}.control-panel .value{float:right;color:var(--blue);font-weight:800}.meter-label{display:flex;justify-content:space-between;font-size:13px;margin-bottom:9px}.meter{height:18px;border-radius:9px;background:#e0e9f1;overflow:hidden}.meter span{height:100%;background:#4ab4db;display:block;transition:width .3s}.big-number{font-size:40px;font-weight:850;color:var(--blue);text-align:center;padding:12px}.chart{width:100%;height:150px}.chart .line{stroke:#1c9bd6;stroke-width:3;fill:none}.maze{display:grid;gap:3px;width:min(100%,390px);aspect-ratio:1;margin:auto;padding:10px;background:#dbeaf5;border-radius:19px}.maze-cell{border-radius:5px;display:grid;place-items:center;position:relative;font-size:15px;background:#edf6fc}.maze-cell.wall{background:#8faac0;box-shadow:0 3px #6a8fa9}.maze-cell.trap{background:#f4d7dd}.maze-cell.route{box-shadow:inset 0 0 0 2px #16a5cf}.maze-cell img{width:90%;height:90%;position:absolute}.maze-cell .arrow{font-size:11px;opacity:.5}.network{display:flex;align-items:center;justify-content:space-around;gap:12px;position:relative;min-height:250px}.network>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.neuron{width:105px;min-height:110px;background:#e7f3fc;color:#286b9c;border-radius:20px;position:relative;z-index:2;padding:15px;font-weight:750;box-shadow:0 5px #c4e0f1}.neuron.lit{background:#d9f6e8;box-shadow:0 5px #a6dfbf;color:#257f55}.neuron.selected{background:#fff2b7;box-shadow:0 5px #e8ca66}.matrix{display:grid;grid-template-columns:repeat(3,45px);gap:5px;margin:12px auto;width:max-content}.matrix input{width:45px;height:43px;border:0;background:#e3f0fa;border-radius:8px;text-align:center;font:700 18px monospace;color:#347fae}.pixel-grid{display:grid;gap:2px;width:100%;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#b9d5e9;padding:4px}.pixel{border:0;min-width:0;min-height:0;padding:0;border-radius:2px;position:relative}.pixel.window{box-shadow:inset 0 0 0 2px #ffbb00}.conv-grids{display:grid;grid-template-columns:1fr 1fr;gap:20px}.conv-grids h3{text-align:center;font-size:14px;margin:8px}.cluster-ball{width:47px;height:47px;min-width:47px;min-height:47px;border-radius:50%;box-shadow:inset 0 -5px #0001;background:#4aaff4;padding:0}.cluster-ball.square{border-radius:10px}.cluster-ball.small{transform:scale(.75)}.cluster-ball.red{background:#f98187}.cluster-ball.yellow{background:#ffd45b}.cluster-bin{min-height:150px;justify-content:flex-start}.cluster-members{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}.cluster-members .cluster-ball{width:22px;height:22px;min-width:22px;min-height:22px;box-shadow:none;pointer-events:none}.bubble-field{min-height:270px;background:#f1f8fd;border-radius:24px;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:16px;padding:22px}.bubble{border-radius:50%;width:100px;height:100px;box-shadow:inset -8px -8px #8abbe922,0 5px 10px #5c85a30e;background:#dfedff;color:#4e7ba2;font-size:15px;font-weight:750}.bubble.explored{background:#fff0b9;color:#8c6b14}.gan-preview{position:relative;min-height:270px;display:flex;align-items:center;justify-content:center;background:#f2f7fd;border-radius:22px}.gan-preview img{max-height:240px;transition:filter .4s}.gan-caption{position:absolute;bottom:14px;left:15px;right:15px;text-align:center;background:#ffffffdf;padding:8px;border-radius:12px;font-size:13px}.channels{display:flex;flex-direction:column;gap:12px}.channel{padding:19px;background:#eef5fc;border-radius:15px;display:flex;align-items:center;justify-content:space-between;text-align:left}.channel.on{background:#def6e9}.furnace{background:#fff6dc;border-radius:23px;padding:22px;min-height:220px;text-align:center}.furnace img{height:110px;margin:auto}.prompt-output{padding:19px;border-radius:18px;background:#edf8ff;line-height:1.9;font-size:15px;margin-top:18px}.password-input{border:0;border-radius:12px;padding:15px;background:white;width:100%;font-family:monospace;font-size:20px;color:#294e6d}.ore{width:60px;height:63px;border-radius:15px;display:grid;place-items:center;font-weight:800;font-size:19px;background:#d3b297;box-shadow:0 4px #ae8d76}.ore:nth-child(2){background:#e2ecf3;box-shadow:0 4px #b6c9d8}.ore:nth-child(3){background:#a0b9cb;box-shadow:0 4px #7c9caf}.ore:nth-child(4){background:#ffdb62;box-shadow:0 4px #d4ad3f}.scale-bar{height:18px;background:#9bc9e8;border-radius:12px;position:relative;width:90%;margin:45px auto 55px;transition:transform .5s}.scale-bar:after{content:'';position:absolute;left:calc(50% - 25px);top:20px;border-left:25px solid transparent;border-right:25px solid transparent;border-bottom:65px solid #c1ddec}.scale-pan{position:absolute;top:0;width:100px;min-height:62px;background:#d6ebfb;border-radius:0 0 35px 35px;text-align:center;padding:15px 5px;font-size:17px;font-weight:800}.scale-pan.left{left:-10px;transform:translateY(-10px)}.scale-pan.right{right:-10px;transform:translateY(-10px);background:#ffe6a8}.xray{position:relative;min-height:230px;border-radius:24px;background:#233852;overflow:hidden;display:flex;align-items:center;justify-content:space-evenly;padding:20px;gap:12px}.xray-card{padding:15px;background:#d9effd;border-radius:14px;font-size:15px;opacity:.06;transition:opacity .2s}.xray-card.revealed{opacity:1}.scanner{position:absolute;top:0;bottom:0;width:20%;background:#65daff24;box-shadow:0 0 15px #41caff55;pointer-events:none}.charter{padding:25px;max-width:650px;margin:auto;background:#fff9e7;border-radius:23px}.charter label{display:flex;gap:13px;align-items:center;padding:16px;background:#fffef7;margin:10px 0;border-radius:12px;line-height:1.6}.stamp{width:140px;height:70px;border-radius:15px;background:#ffdb57;display:block;margin:23px auto 0;font-weight:850;position:relative;overflow:hidden}.stamp span{position:relative;z-index:1}.stamp i{position:absolute;left:0;top:0;bottom:0;background:#eab43c;width:0;transition:width 2s linear}.stamp.holding i{width:100%}.road{min-height:250px;background:#dceef7;border-radius:22px;position:relative;overflow:hidden}.road:before{content:'';position:absolute;left:0;right:0;top:75px;height:110px;background:#9fb1be;border-top:5px solid white;border-bottom:5px solid white}.road:after{content:'';position:absolute;left:0;right:0;top:128px;border-top:4px dashed #fff5bb}.car{position:absolute;left:12%;top:92px;z-index:3;width:95px;height:65px;transition:left 1s}.obstacle{position:absolute;right:20%;top:93px;z-index:2;font-size:50px;transition:transform .5s}.fog .road{filter:contrast(.65)}.permission-card{padding:28px;background:#edf6fe;border-radius:23px;text-align:center;max-width:600px;margin:0 auto}.permission-card img{height:70px;margin:0 auto 15px}.permission-card h3{font-size:24px;margin:9px}.permission-card p{font-size:16px;color:#6b8499}.danger-gate{background:#ffe7e7;color:#aa5353}.result{max-width:780px;margin:40px auto;background:white;border-radius:32px;padding:45px;text-align:center;box-shadow:var(--shadow)}.result-avatar{height:150px;margin:auto}.result h1{font-size:31px;margin:13px 0}.result-stars{font-size:44px;color:#f1b628;letter-spacing:8px;margin:13px 0 24px}.result-rewards{display:flex;gap:15px;justify-content:center;margin:25px 0}.result-rewards div{background:#f3f8fc;padding:14px 25px;border-radius:16px;font-size:21px;font-weight:800}.result-rewards small{display:block;font-size:12px}.result-lesson{background:#eff7fe;padding:20px;border-radius:18px;text-align:left;line-height:1.9;color:#486b85;font-size:16px}.result-dics{display:flex;justify-content:center;gap:10px;margin:25px 0;flex-wrap:wrap}.result-dics button{width:125px;font-size:12px;background:#fff8e5;padding:10px;border-radius:14px}.result-dics img{height:75px;margin:auto}.lock-overlay{position:absolute;inset:0;z-index:20;background:#ecf6ffe8;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;backdrop-filter:blur(5px)}.lock-overlay img{height:150px}.lock-overlay h2{font-size:25px}.countdown{font-size:44px;font-weight:900;color:#ba6d50}.loading{display:grid;place-items:center;height:100vh;color:#5990b6}.drag-ghost{position:fixed!important;z-index:999;pointer-events:none;opacity:.9;transform:scale(1.09) rotate(-3deg);margin:0!important;max-width:230px;box-shadow:0 12px 28px #1236}
/* Overlays */
.modal-backdrop{position:fixed;inset:0;background:#19334d6e;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;z-index:70;padding:24px}.modal{background:#fffdf8;border-radius:29px;max-width:780px;width:100%;max-height:90vh;overflow:auto;box-shadow:0 25px 80px #12283c33;animation:pop .25s;padding:29px}.modal.wide{max-width:1080px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.modal-head h2{font-size:23px}.modal .form-field{margin:18px 0}.form-field label{font-size:14px;display:block;margin-bottom:9px;color:#5e7890}.form-field input[type=text]{width:100%;padding:14px;border:0;border-radius:13px;background:#eaf4fb;color:var(--ink)}.welcome{display:grid;grid-template-columns:1fr 1.1fr;gap:25px}.welcome-art{background:#e5f5ff;border-radius:23px;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:340px}.welcome-art img{height:220px}.welcome-art h3{margin-top:22px;color:#3684b7}.track-choice{display:flex;gap:9px;margin:14px 0}.track-choice button{flex:1;background:#eef6fc;padding:15px 10px;border-radius:15px;font-size:13px;font-weight:750;line-height:1.8}.track-choice button.selected{background:#ffedaa;box-shadow:inset 0 -4px #f0ce62}.modal-text{line-height:1.9;font-size:15px;color:#48677e}.dic-detail img{height:240px;width:100%;background:#fffaf0;border-radius:20px;margin-bottom:20px}.dic-detail h3{font-size:25px}.dic-detail p{margin:12px 0}.dic-mini{height:10px;background:#dbeaf4;border-radius:5px;margin:20px 0}.dic-mini span{display:block;height:100%;width:0;background:var(--blue);border-radius:5px;animation:grow 3s infinite}.certificate{background:#fffef6;border:12px double #d9bc6a;padding:42px;text-align:center;border-radius:5px;min-height:500px}.certificate img{height:70px;margin:0 auto 20px}.certificate h1{font-size:31px;color:#8c6b20}.certificate .name{font-size:35px;margin:20px;color:#1d749f}.certificate p{margin:15px;font-size:16px}.certificate .seal{display:inline-block;background:#fbebbb;color:#977328;border-radius:50%;padding:20px;font-size:16px;margin:18px}#toast{position:fixed;left:50%;bottom:32px;transform:translate(-50%,15px);background:#203e58ee;color:white;border-radius:15px;padding:14px 23px;font-size:14px;z-index:100;max-width:90vw;opacity:0;pointer-events:none;transition:.25s;box-shadow:0 8px 25px #18364c22}#toast.visible{opacity:1;transform:translate(-50%,0)}#particles{position:fixed;inset:0;pointer-events:none;z-index:99;overflow:hidden}.particle{position:absolute;width:9px;height:13px;border-radius:3px;animation:confetti 1s ease-out forwards}.keyboard-tip{font-size:11px;color:#91a6b7;text-align:center;margin:16px 0 0}.t1 .experiment-head h1{font-size:29px}.t1 .item{font-size:18px;min-height:75px}.t1 .bin{font-size:18px;min-height:120px}.t1 .side-bubble{font-size:17px}.colorblind{--green:#228be6;--red:#d48219}.reduced *, .reduced *:before,.reduced *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.print-only{display:none}@keyframes float{50%{transform:translateY(-8px)}}@keyframes breathe{50%{transform:translateY(-3px) scale(1.04)}}@keyframes pop{from{opacity:0;transform:scale(.97) translateY(10px)}to{opacity:1;transform:none}}@keyframes shake{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}@keyframes grow{50%,80%{width:100%}}@keyframes confetti{to{transform:translate(var(--dx),var(--dy)) rotate(320deg);opacity:0}}
@media(min-width:1550px){.lab-panel{padding:36px 45px}.lab-header h1{font-size:38px}.world-inner{height:450px}.course-list{padding-left:38px;padding-right:38px}.unit-row{margin-bottom:20px}.bead{width:68px;height:68px}.beads:before{top:34px}}
@media(max-width:1150px){.topbar{padding:0 19px;gap:12px}.brand-caption{display:none}.hud-item{padding:8px;font-size:16px}.hud-item small{display:none}.app-shell{grid-template-columns:76px minmax(300px,38%) 1fr}.rail{padding:22px 4px}.nav-button{width:63px}.course-head{padding:23px 17px 12px}.course-list{padding:15px 14px}.course-foot{padding:15px}.lab-panel{padding:25px 21px}.lab-header h1{font-size:26px}.chapter-badge{width:53px;height:53px}.world-inner{height:320px}.world-xq{width:25%}.dock{gap:8px}.dock button{font-size:12px;padding:13px 5px}.page-shell{grid-template-columns:76px 1fr}.page-content{padding:30px 26px}.game-layout{grid-template-columns:minmax(0,1fr) 180px;padding:20px}.experiment{padding:22px}.game-bottom{margin:0 20px 20px}.sidekick-avatar{height:150px}.dashboard{gap:17px}.grid-3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.app-shell{grid-template-columns:70px 1fr 1fr}.course-panel{min-width:290px}.lab-header p{font-size:12px}.lab-panel{padding:22px 15px}.lab-top .chapter-badge{display:none}.world-inner{height:280px}.lab-world{min-height:290px}.speech-card{padding:15px;gap:8px}.speech-card p{font-size:13px}.dock{grid-template-columns:repeat(2,1fr)}.lab-building .building-label{font-size:8px}.hud-item:nth-child(4){display:none}.game-layout{grid-template-columns:1fr}.sidekick{display:none}.game-top{padding:0 16px}.game-top .tag{display:none}.game-top h2{max-width:220px}.grid-2{grid-template-columns:1fr}.page-content{padding:24px}.experiment{min-height:480px}.welcome{grid-template-columns:1fr 1.1fr}.welcome-art{padding:15px}}
@media(max-width:680px){.topbar{height:67px;padding:0 13px}.logo{width:85px;height:44px}.hud{gap:3px}.hud-item{font-size:13px;padding:6px;gap:4px}.hud-item img{width:21px;height:23px}.hud-item:nth-child(4){display:none}.profile-button{padding:5px;background:transparent}.profile-button span{display:none}.profile-button img{width:30px;height:30px}.app-shell{display:flex;flex-direction:column;height:auto;min-height:calc(100vh - 67px);padding-bottom:80px}.rail{position:fixed;bottom:0;left:0;right:0;height:68px;flex-direction:row;justify-content:space-around;padding:5px;background:#fffefcf5;box-shadow:0 -3px 20px #47789d10;z-index:30;border:none;backdrop-filter:blur(8px)}.nav-button{width:56px;min-height:54px;font-size:10px;gap:4px;border-radius:13px}.nav-button svg{width:22px;height:22px}.rail-bottom{margin:0}.rail .nav-button:nth-child(5){display:none}.lab-panel{order:0;padding:22px 20px;overflow:visible}.lab-header h1{font-size:26px}.lab-header p{font-size:13px}.lab-world{min-height:260px;max-height:300px}.world-inner{height:290px;max-width:430px}.lab-panel .dock{display:none}.lab-panel .speech-card{margin:0;font-size:13px}.lab-panel .footer-note{display:none}.course-panel{order:1;overflow:visible;border:none}.course-head{padding:25px 20px 15px}.course-list{overflow:visible;padding:15px 20px 8px;display:flex;flex-direction:column}.course-foot{position:sticky;bottom:68px;z-index:24;padding:12px 18px 17px;background:#ffffffed;backdrop-filter:blur(6px)}.course-foot .row{margin-bottom:7px}.course-foot .btn{min-height:45px}.unit-row{margin-bottom:10px}.bead{width:65px;height:65px}.page-shell{display:block;padding-bottom:70px;min-height:calc(100vh - 67px)}.page-content{padding:25px 18px 40px}.page-heading h1{font-size:27px}.grid-3{grid-template-columns:1fr}.grid{grid-template-columns:1fr 1fr;gap:12px}.grid .card{padding:17px}.stat{padding:18px}.stat b{font-size:28px}.search{width:100%}.dic-grid{grid-template-columns:repeat(2,1fr);gap:13px}.dic-card img{height:120px}.game-top{height:66px;padding:0 10px;gap:9px}.game-top h2{font-size:14px;max-width:150px}.game-top .progress{display:none}.game-top .btn{padding:8px 10px;min-height:39px;font-size:12px}.game-top .icon-btn{width:35px;height:39px}.game-layout{padding:12px 10px;gap:12px}.experiment{padding:19px 15px;min-height:490px;border-radius:22px}.experiment-head h1,.t1 .experiment-head h1{font-size:23px}.experiment-head p{font-size:13px}.game-bottom{margin:0 10px 15px;padding:13px 15px;gap:10px;flex-wrap:wrap}.feedback{font-size:14px;flex-basis:100%}.game-bottom .btn{margin-left:auto;min-width:120px}.item,.t1 .item{font-size:15px;min-height:62px;min-width:85px;max-width:180px;padding:13px}.items{gap:9px}.bin,.t1 .bin{font-size:15px;padding:15px 9px;min-height:95px}.bins{gap:9px;grid-template-columns:repeat(auto-fit,minmax(95px,1fr))}.find-grid{grid-template-columns:repeat(2,1fr);gap:10px}.clue{min-height:115px;padding:17px 13px;font-size:14px}.dashboard{grid-template-columns:1fr}.control-panel{padding:18px}.sequence-slot{min-width:75px;font-size:13px;min-height:90px}.sequence-slots{gap:6px}.network{gap:7px;min-height:200px}.neuron{width:auto;min-width:55px;min-height:90px;font-size:13px;padding:10px;flex:1}.observations{grid-template-columns:1fr}.observation{min-height:90px;padding:18px}.observation .number{float:left;margin-right:20px;margin-bottom:0}.statement{font-size:18px;padding:20px}.options button{font-size:15px}.discuss-voices{grid-template-columns:1fr}.voice-card{min-height:75px;padding:16px}.modal-backdrop{padding:12px}.modal{padding:23px;max-height:94vh;border-radius:23px}.modal-head h2{font-size:20px}.welcome{grid-template-columns:1fr}.welcome-art{min-height:140px;padding:15px;flex-direction:row;gap:20px}.welcome-art img{height:130px}.welcome-art h3{font-size:18px;max-width:130px;margin:0}.welcome h1{font-size:27px}.result{margin:20px 12px;padding:28px 20px}.result h1{font-size:26px}.result-rewards div{padding:13px 19px}.result-stars{font-size:37px}.result-lesson{font-size:14px}.result-avatar{height:120px}.certificate{padding:21px;border-width:8px}.certificate h1{font-size:22px}.certificate .name{font-size:28px}.certificate p{font-size:13px;margin:10px}.road{min-height:220px}.cluster-ball{width:40px;height:40px;min-width:40px;min-height:40px}.bubble{width:86px;height:86px}.grid .achievement{display:block}.achievement img{margin:auto}.page-heading>.row{align-items:flex-start}.card h2{font-size:23px}}
@media print{body{background:white}body>*{display:none!important}#modal-root{display:block!important}.modal-backdrop{position:static;background:none;padding:0;display:block}.modal{box-shadow:none;max-width:none;max-height:none;overflow:visible;padding:0}.modal-head,.modal .actions{display:none!important}.certificate{width:100%;min-height:90vh}.print-report{display:block!important}.print-report .page-content{background:white}.print-report .topbar,.print-report .rail,.print-report button{display:none!important}@page{size:A4 landscape;margin:12mm}}

/* Preserve supplied logo; crop its white canvas only through layout. */
.brand-logo{position:relative;display:inline-block;flex-shrink:0;width:132px;height:42px;overflow:hidden}.brand-logo img{position:absolute;max-width:none!important;width:270%!important;height:auto!important;left:-85%;top:50%;transform:translateY(-50%);mix-blend-mode:multiply}.certificate-logo{display:block;margin:0 auto 22px;width:190px;height:60px}@media(max-width:680px){.brand-logo{width:99px;height:33px}.certificate-logo{width:155px;height:50px}}

.account-actions { display:flex; align-items:center; gap:10px; }
.session-exit { background:#eef5f9; color:#33566f; border-radius:12px; padding:8px 14px; min-height:44px; white-space:nowrap; font-weight:700; }
.session-exit:hover { background:#deedf8; }
.session-ended { min-height:100vh; display:grid; place-items:center; padding:20px; background:#eef7fc; }
.session-ended .card { max-width:470px; padding:40px; text-align:center; }
.session-ended img { height:110px; margin:0 auto 20px; }
.session-ended h1 { font-size:30px; }
.session-ended p { margin:16px 0 24px; }
@media(max-width:680px) {
 .account-actions,.topbar { gap:5px; }
 .session-exit { padding:8px; font-size:14px; }
 .topbar .profile-button .icon { display:none; }
 .game-top h2 { max-width:118px; }
 .topbar .hud { gap:4px; }
}
@media(max-width:375px) {
 .topbar .hud-item:nth-child(3) { display:none; }
 .game-top { gap:5px; }
}

@font-face {
  font-family: "Camp Display";
  src: url("assets/fonts/ZCOOLKuaiLe-Regular.ttf") format("truetype");
  font-display: swap;
}
:root { --camp-title:"Camp Display","PingFang SC","Microsoft YaHei",sans-serif; }
.lab-header h1,.page-heading h1,.result h1,.experiment-head h1,.modal-head h2,.course-heading h2,.welcome-art h3 {
  font-family:var(--camp-title); font-weight:400; letter-spacing:.015em;
}
.experiment-head h1,.t1 .experiment-head h1 { font-size:clamp(26px,2.5vw,39px); line-height:1.32; color:#243b63; }
.unit-title,.btn { letter-spacing:.025em; }
.experiment-head p,.small { line-height:1.65; }
.step-instruction { margin:14px 0; background:#eaf6ff; border-left:4px solid #399ad1; border-radius:10px; padding:10px 15px; color:#244d68; line-height:1.65; }
.step-instruction b { color:#126a9e; margin-right:6px; }
.interactive-art #tape { position:absolute; z-index:2; top:54%; left:50%; transform:translate(-50%,-50%); white-space:nowrap; }
.first-action { outline:3px solid #e8a72d; outline-offset:3px; }
.game-bottom.is-ready { position:fixed; z-index:28; bottom:10px; left:12px; right:12px; margin:0 auto; border:2px solid #a5d7bd; box-shadow:0 4px 20px #1d634021; }
.game-page.step-ready { padding-bottom:115px; }
@media(max-width:680px) {
 .step-instruction { margin:11px 0; padding:9px 12px; font-size:15px; }
 .game-bottom.is-ready { bottom:4px; left:6px; right:6px; padding:8px 12px; }
 .game-page.step-ready { padding-bottom:155px; }
}
.interactive-art #tape[hidden] { display:none; }
.choosing-target .bin,.choosing-target .sequence-slot { outline:2px dashed #2688bd; outline-offset:-3px; }

.arrival h1:focus { outline:none; }

/* The original banner contains the heading and artwork. The controls sit on its lower cloud. */
.camp-welcome { --banner-width:min(1160px,calc(100% - 40px),calc(191.6svh - 182px)); min-height:100svh; padding:0 0 20px; background:linear-gradient(160deg,#fffdf5 15%,#f2f7f8); }
.welcome-mast,.arrival { width:var(--banner-width); margin-inline:auto; }
.welcome-mast { display:flex; align-items:center; justify-content:space-between; min-height:62px; padding:7px 2px; }
.arrival { position:relative; isolation:isolate; margin-top:4px; overflow:hidden; border-radius:clamp(16px,2vw,28px); background:#cbebfb; box-shadow:0 1px 2px #28577420,0 10px 30px #4c83a01a; }
.arrival-banner { display:block; width:100%; height:auto; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.arrival-copy { position:absolute; left:4.4%; bottom:6%; max-width:57%; }
.arrival-actions,.welcome-name { display:flex; align-items:center; gap:12px; }
.arrival-actions { flex-wrap:wrap; }
.arrival-actions .primary { min-height:46px; font-size:clamp(16px,1.45vw,20px); }
.arrival-actions .ghost { background:#ffffff60; color:#263f5a; }
.welcome-name { margin-bottom:10px; color:#203c58; font-weight:650; font-size:14px; }
.welcome-name select { max-width:14em; min-height:36px; padding:5px 11px; border:1px solid #d6e6ee; border-radius:12px; background:#fffefc; color:#263f5a; }
.brand-logo { width:clamp(165px,18vw,258px); height:36px; }
.brand-logo img { position:static; display:block; width:100%!important; height:100%!important; object-fit:contain; transform:none; mix-blend-mode:normal; }
.notice-bell { display:grid; place-items:center; width:44px; height:44px; border:1px solid #cddde5; border-radius:15px; color:#345971; background:#fffefa; }
.notice-bell:hover,.account-list .btn:hover { background:#edf5fa; }
.camp-notice { display:flex; align-items:flex-start; gap:13px; padding:16px; border-radius:16px; background:#eff6fa; }
.camp-notice .icon { flex:none; } .camp-notice p { line-height:1.65; margin-top:5px; }
.account-menu { position:relative; flex:none; }
.account-menu summary { list-style:none; cursor:pointer; min-height:44px; }
.account-menu summary::-webkit-details-marker { display:none; }
.account-menu summary span { max-width:9em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-menu[open] summary .icon { transform:rotate(180deg); }
.account-list { position:absolute; top:calc(100% + 5px); right:0; z-index:42; min-width:155px; padding:6px; background:white; border:1px solid #d7e4eb; border-radius:14px; box-shadow:0 8px 24px #2c516128; }
.account-list .btn { width:100%; justify-content:flex-start; background:white; }
.game-top .account-menu { margin-left:auto; }
@media(min-width:681px) {
 .camp-welcome { display:flex; flex-direction:column; padding-bottom:0; }
 .welcome-mast,.arrival { flex:none; }
 .arrival { margin-block:auto; top:-20px; }
 .topbar { height:72px; }
 .app-shell { height:calc(100dvh - 72px); min-height:0; }
 .course-foot { padding-block:12px 20px; }
 .game-top { height:65px; } .game-layout { padding-top:16px; }
 .page-content { padding-top:26px; }
 .game-bottom.is-ready { bottom:max(16px,env(safe-area-inset-bottom)); }
}
@media(min-width:681px) and (max-height:780px) {
 .lab-panel { padding-top:16px; } .world-inner { height:clamp(175px,34vh,280px); }
 .experiment { min-height:0; padding-block:17px; } .experiment-head { margin-bottom:12px; }
 .result { margin-block:12px; padding-block:15px; }
 .result-avatar { height:82px; object-fit:contain; }
 .result .actions { position:sticky; bottom:16px; padding:7px; border-radius:14px; background:#fffefa; }
 .game-bottom:not(.is-ready) { margin-top:0; margin-bottom:17px; }
}
@media(max-width:680px) {
 .camp-welcome { --banner-width:calc(100% - 24px); }
 .brand-logo { width:clamp(117px,35vw,186px); }
 .welcome-mast { min-height:56px; }
 .arrival-copy { position:relative; inset:auto; max-width:none; padding:12px 14px 17px; background:linear-gradient(#d5effa,#edf8fc); }
 .arrival-actions { gap:8px; } .arrival-actions button { padding:10px 12px; }
 .account-menu summary { padding:4px; gap:3px; }
 .account-menu summary img { width:24px; height:24px; }
 .account-menu summary span { display:inline; max-width:3em; font-size:12px; }
 .account-menu .profile-button .icon { display:block; width:13px; }
 .game-top>div:first-child { min-width:0; } .game-top h2 { max-width:105px; }
}
