:root{--ink:#23433e;--muted:#83938b;--green:#31745c;--line:#e7ebe3}*{box-sizing:border-box}body{margin:0;background:#f5f6f0;color:var(--ink);font:14px Segoe UI,Microsoft YaHei,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;transition:.2s;border:0}button:hover{filter:brightness(.96);transform:translateY(-1px)}button:focus-visible,a:focus-visible{outline:3px solid #dca95f;outline-offset:3px}.rail{width:76px;background:#ecf0e6;border-right:1px solid #e0e6d9;position:fixed;inset:0 auto 0 0;display:flex;align-items:center;flex-direction:column;gap:22px;padding:28px 0;z-index:2}.brand{font-size:38px;color:#36765c;text-decoration:none;margin-bottom:36px}.rail button{background:transparent;width:44px;height:44px;border-radius:13px;font-size:20px;color:#8a9c8b}.rail button.active{background:#d9e6d4;color:#38674c}.rail-bottom{margin-top:auto;text-align:center;font-size:10px;line-height:1.8;color:#97a18c}main{margin-left:76px;padding:0 40px;max-width:1800px}header{height:96px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:24px}.wordmark{font-size:25px;letter-spacing:3px;font-weight:750}.wordmark span{font-size:10px;letter-spacing:2px;margin-left:10px;color:#899786;font-weight:500}.school-tag{margin:auto;display:flex;align-items:center;gap:9px;font-size:12px}.school-tag i,.live-dot{display:inline-block;width:7px;height:7px;background:#78a77c;border-radius:50%}.school-tag small{border-left:1px solid #d7ded2;padding-left:10px;color:#8f9b8a}.profile{display:flex;align-items:center;gap:10px;background:none;font-size:12px}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#dfe7d2;border-radius:50%;height:32px;width:32px;color:#65835a;font-size:12px;flex-shrink:0}.heading{display:flex;justify-content:space-between;align-items:center;padding:31px 0 28px}.eyebrow{font-size:9px;letter-spacing:2px;color:#83967d}h1{font-size:27px;letter-spacing:1px;margin:12px 0 9px;font-weight:600}.heading p{font-size:12px;color:var(--muted);margin:0}.light-button{padding:13px 17px;border:1px solid #dce3d4;background:#eef2e8;border-radius:10px;font-size:12px}.light-button span{margin-left:22px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.map-card{background:#fff;border-radius:17px;border:1px solid #e0e7db;overflow:hidden;min-width:0}.map-top{height:55px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.map-top .live-dot{margin-right:8px}.map-top small{color:#9aa69c;margin-left:14px;font-size:10px}.map-pill{background:#f1f5ed;padding:6px 10px;border-radius:20px;color:#7b9278;font-size:10px}.sea{position:relative;background:#4e9cb7;overflow:hidden;height:570px}.sea svg{width:100%;height:100%;display:block}.island-caption{position:absolute;top:28px;left:27px;font-size:21px;color:azure;letter-spacing:5px;text-shadow:0 1px 8px #408da6}.island-caption span{display:block;font-size:7px;letter-spacing:2px;margin-top:8px;opacity:.65}.map-legend{position:absolute;left:20px;bottom:48px;display:flex;gap:14px;font-size:10px;color:#e9fcfa}.map-legend i{display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:2px}.green{background:#b0d58f}.purple{background:#c8b9e5}.outline{border:1px solid #d1eff4}.map-tools{position:absolute;right:17px;bottom:50px;display:flex;flex-direction:column;gap:1px;border-radius:8px;overflow:hidden;box-shadow:0 3px 12px #22617b22}.map-tools button{background:#f5fcf6ef;width:32px;height:32px;font-size:18px}.map-hint{position:absolute;bottom:16px;left:0;right:0;text-align:center;font-size:10px;color:#daf0ed;letter-spacing:.5px}.map-bottom{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:12px;font-size:11px;color:#8c9b89}.map-bottom b{color:#527149}.map-bottom button{background:transparent;color:#477955;font-size:11px}.panels{display:flex;flex-direction:column;gap:15px}.gem-card,.review-card,.neighbors{padding:20px;border-radius:15px;border:1px solid #e0e6d9;background:#fcfdf8}.panel-title{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600}.badge{font-size:10px;background:#ede8f5;color:#8c7da4;padding:4px 8px;border-radius:5px}.gem-art{position:relative;text-align:center;font-size:90px;line-height:110px;color:#a298d1;text-shadow:5px 7px 0 #d7d1e9,0 13px 25px #aaa0c53a}.gem-art span{position:absolute;font-size:19px;top:13px;right:58px;color:#b8a3d1;text-shadow:none}h2{font-size:17px;text-align:center;font-weight:600;margin:6px 0}.gem-card p{font-size:10px;color:#99a08f;text-align:center;margin-bottom:25px}.progress-label{display:flex;justify-content:space-between;font-size:10px;color:#93a087}.progress-label b{color:#748768;font-weight:500}.progress{height:5px;border-radius:4px;background:#e8eddf;margin:10px 0 20px;overflow:hidden}.progress i{display:block;height:100%;background:#91ae75;border-radius:4px}.primary,.secondary{width:100%;display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-radius:8px;font-size:12px}.primary{background:#39765b;color:#fff}.secondary{background:#e9efdf;color:#5b7850}.review-card{background:#eef2e6}.review-number{display:flex;gap:16px;align-items:center;margin:16px 0}.review-number b{font-size:43px;font-weight:500}.review-number span{font-size:11px;line-height:1.8}.review-number small{font-size:10px;color:#99a38e}.neighbors{padding:17px 20px}.neighbors .panel-title small{font-size:9px;color:#98a48d;font-weight:400}.neighbors>div:not(:first-child){display:flex;gap:10px;align-items:center;margin-top:16px;font-size:11px}.neighbors small{display:block;margin-top:3px;font-size:9px;color:#99a28f}.neighbors .live-dot{margin-left:auto;width:5px;height:5px}.coral{background:#f0dfcf;color:#b38e6a}.lilac{background:#e7e1ef;color:#9c8dad}footer{display:flex;align-items:center;justify-content:space-between;padding:23px 0;color:#99a58f;font-size:10px}footer b{font-weight:400;color:#6c8762}footer button{background:none;font-size:10px;color:#708869}dialog{border:1px solid #e4e8dc;border-radius:20px;width:min(460px,92vw);padding:25px;color:var(--ink);background:#fcfdf7;box-shadow:0 24px 100px #183e4044}dialog::backdrop{background:#173c4255;backdrop-filter:blur(5px)}.modal-head{display:flex;justify-content:space-between;font-size:10px;letter-spacing:2px;color:#8c9a84}.modal-head button{background:none;font-size:25px;line-height:18px;color:#7e8b77}dialog h2{text-align:left;font-size:25px;margin:22px 0 10px}dialog p{font-size:12px;line-height:1.9;color:#879580}label{display:block;margin:17px 0 7px;font-size:12px}input,select,textarea{width:100%;border:1px solid #dce3d3;border-radius:8px;background:#fff;padding:12px;color:#385343;font:inherit}textarea{height:100px;resize:vertical}.field-row{display:flex;gap:12px}.field-row>div{flex:1}dialog .primary{margin-top:22px;justify-content:center;gap:15px}.choice{display:block;width:100%;text-align:left;padding:14px;margin:10px 0;background:#edf2e6;border:1px solid #dfe7d5;border-radius:8px}.stats{display:flex;gap:12px;margin:20px 0}.stats>div{flex:1;border:1px solid #e0e6d9;border-radius:10px;padding:13px;font-size:10px;color:#8c9a83}.stats b{display:block;font-size:20px;margin-top:6px;color:#476d50}#toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);background:#274c3c;color:#fff;padding:13px 23px;border-radius:30px;opacity:0;pointer-events:none;transition:.25s;z-index:10;font-size:12px}#toast.show{opacity:1;transform:translate(-50%)}.tile{cursor:pointer;outline:none}.tile:hover .top,.tile:focus .top{stroke:#fff8cb;stroke-width:3}.tile text{pointer-events:none;user-select:none}.wordlist{max-height:260px;overflow:auto}.wordlist>div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e3e9db;font-size:12px}.note{background:#eef2e6;padding:12px;border-radius:8px;font-size:11px;line-height:1.8;color:#84927a}@media(min-width:1500px){.sea{height:650px}.workspace{grid-template-columns:minmax(0,1fr) 310px}.panels{gap:20px}.gem-card{padding:25px}.gem-art{line-height:130px}.neighbors{padding:24px}.heading{padding:38px 0}}@media(max-width:1100px){main{padding:0 22px}.workspace{grid-template-columns:minmax(0,1fr) 240px;gap:15px}.school-tag{display:none}.profile{margin-left:auto}.map-top small{display:none}.sea{height:570px}.map-bottom>span:nth-child(2){display:none}h1{font-size:23px}.heading .light-button{display:none}}@media(max-width:760px){.rail{width:54px;padding-top:20px;gap:15px}.rail button{width:36px;height:36px}.brand{font-size:30px;margin-bottom:15px}main{margin-left:54px;padding:0 14px}header{height:70px;gap:5px}.wordmark{font-size:22px}.wordmark span{display:none}.profile{font-size:10px;gap:6px}.profile .avatar{width:26px;height:26px}.heading{padding:25px 0 20px}h1{font-size:20px;line-height:1.5}.eyebrow{font-size:7px;letter-spacing:1px}.heading p{font-size:10px}.workspace{display:flex;flex-direction:column}.sea{height:460px}.sea svg{width:650px;max-width:none;position:absolute;left:50%;transform:translate(-50%)}.map-top{padding:0 12px;font-size:11px}.map-pill{font-size:8px}.island-caption{font-size:17px;top:20px;left:17px}.map-legend{gap:8px;font-size:8px;left:12px}.map-hint{font-size:8px}.map-bottom{padding:0 12px}.panels{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gem-card{grid-row:span 2;padding:15px}.gem-art{font-size:65px;line-height:95px}.gem-art span{right:12px}.gem-card h2{font-size:14px}.gem-card p{font-size:9px}.review-card,.neighbors{padding:13px}.panel-title{font-size:10px}.review-number{gap:10px}.review-number b{font-size:33px}.review-number span{font-size:9px}.review-number small,.neighbors .panel-title small{display:none}.neighbors>div:not(:first-child){gap:7px;font-size:9px}.neighbors small{font-size:8px}.neighbors .avatar{width:24px;height:24px;font-size:9px}.primary,.secondary{font-size:10px;padding:11px}.progress-label{font-size:9px}footer{line-height:1.8;gap:12px}footer>span:nth-child(2){display:none}}#world{cursor:grab;touch-action:none;user-select:none}#world.dragging,#world.dragging .tile{cursor:grabbing}.coordinate-readout{position:absolute;top:24px;right:18px;background:#f4fff2e8;padding:10px 13px;border:1px solid #ffffff8a;border-radius:10px;display:flex;flex-direction:column;gap:5px;pointer-events:none;font-size:10px;color:#467664;box-shadow:0 3px 12px #24647816}.coordinate-readout span{font-size:9px;color:#7a9686}.island-caption,.map-hint,.map-legend{pointer-events:none}.atlas-dialog{width:min(900px,94vw)}#campusAtlas{display:block;width:100%;height:min(52vh,500px);border-radius:12px;background:#5da6bb;cursor:crosshair}#campusAtlas [role=button]{cursor:pointer}#campusAtlas [role=button]:hover polygon,#campusAtlas [role=button]:focus polygon{fill:#f4e4ad;stroke:#fff;stroke-width:5}#campusAtlas text{pointer-events:none}.atlas-meta,.atlas-legend{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#7c9271;margin:15px 0}.atlas-legend{justify-content:center;gap:24px}.atlas-legend span:nth-child(2){color:#9a88be}.atlas-legend span:nth-child(3){color:#ad98c6}.map-tools button:first-child{color:#69618b;font-size:22px}.coordinate-readout b{font-weight:500}@media(max-width:760px){.coordinate-readout{top:70px;right:12px;padding:8px;font-size:9px}.atlas-legend{font-size:9px;gap:10px}}#connectionStatus{padding:8px 20px;margin-left:76px;background:#e4eddb;color:#6c865e;font-size:10px;border-bottom:1px solid #dce5d1}.offline{background:#f5e2cf!important;color:#a36a3b!important}body.loading main,body.loading .rail{opacity:.2;pointer-events:none}.error-copy{color:#af6758!important;min-height:18px}.empty-copy{font-size:11px;line-height:1.8;color:#8b9d81}.pending button{pointer-events:none;opacity:.65}#battleStatus{position:absolute;left:20px;bottom:76px;right:70px;background:#fff6def0;border:1px solid #f2dda7;color:#8d754a;padding:10px;border-radius:9px;font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:10px}#battleStatus[hidden]{display:none}#battleStatus button{padding:5px 8px;border-radius:5px;background:#e9dfc2;font-size:10px}dialog{max-height:92vh;overflow:auto}.coordinate-readout{z-index:1}#world .tile text{font-family:Segoe UI,Microsoft YaHei,sans-serif}#campusAtlas{touch-action:manipulation}.brand{pointer-events:none}@media(max-width:760px){#connectionStatus{margin-left:54px;padding:7px 14px;line-height:1.6}.coordinate-readout{font-size:9px}#battleStatus{left:10px;right:55px;bottom:100px;font-size:9px;flex-direction:column;align-items:flex-start}.field-row{flex-direction:column}}.attacker-ring,.range-ring,.target-ring{pointer-events:none;fill:none;stroke-width:3}.attacker-ring{stroke:#fff7b2;filter:drop-shadow(0 0 5px #f6e79c)}.range-ring{stroke:#f5e4ab;stroke-width:2;stroke-dasharray:5 4;opacity:.85}.target-ring{stroke:#ffcb82;stroke-width:4;filter:drop-shadow(0 0 4px #d18b4d)}.target-caption{pointer-events:none;fill:#fff4d4;font-size:12px;font-weight:600}#battleStatus{max-width:750px}#battleLabel{line-height:1.7}#battleStatus button{flex-shrink:0}#combatFx{pointer-events:none}.damage-text{font:700 22px Segoe UI,Microsoft YaHei,sans-serif;paint-order:stroke;stroke:#4f6055;stroke-width:3px;stroke-linejoin:round;fill:#fff3b4}.damage-text.incoming{fill:#ffd2bc;stroke:#7b5e56;font-size:18px}.damage-text.destroyed{fill:#fff9d6;font-size:24px;stroke:#957746}.tile:has(.top){transition:filter .12s}@media(prefers-reduced-motion:reduce){.attacker-ring,.target-ring{filter:none}}.rock-sprite{pointer-events:none}.rock-sprite text{paint-order:stroke;stroke:#477b8b;stroke-width:2px}.sentence-link{fill:none;stroke:#f1d8fc;stroke-width:6;stroke-linejoin:round;stroke-linecap:round;opacity:.75;pointer-events:none}.sentence-number{fill:#8c7baf;stroke:#e6dbf1;stroke-width:1.5;pointer-events:none}.sentence-index{fill:#fff;font-size:11px;pointer-events:none}.word-chips{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.word-chips button{background:#e7efdd;border:1px solid #d4dfc8;border-radius:8px;padding:9px 12px;color:#4e7354}.word-chips button small{display:block;font-size:8px;margin-top:5px;color:#8b9d80}.word-chips button:disabled{opacity:.35;cursor:default}.sentence-preview{background:#ede8f4;color:#7c6a96;border-radius:10px;padding:17px;margin-top:18px;line-height:1.6;font-family:Georgia,Microsoft YaHei,serif;font-size:20px}.primary:disabled{opacity:.45;cursor:not-allowed;transform:none}.group-health{height:12px;background:#e6eadb;border-radius:10px;position:relative;margin:20px 0 38px}.group-health i{display:block;background:#a99ac8;height:100%;border-radius:10px}.group-health b{position:absolute;left:50%;top:0;border-left:2px solid #c2a9a0;padding:17px 0 0 5px;font-size:9px;color:#a28c80;font-weight:400}.growth-result{line-height:1.9;color:#7c6b92!important}.archive-title{font-size:12px;font-weight:500;margin-top:25px}.entry-archive{max-height:230px;overflow:auto}.entry-archive article{padding:14px;border:1px solid #e0e5d6;background:#f4f6ed;border-radius:9px;margin:10px 0}.entry-archive b{font-size:11px}.entry-archive small{font-size:9px;color:#92a183}.entry-archive p{white-space:pre-wrap;overflow-wrap:anywhere}.shield-ring{pointer-events:none;fill:#d3f7ff15;stroke:#d0f8ff;stroke-width:3;filter:drop-shadow(0 0 5px #7ee6ff)}.move-target{pointer-events:none;fill:#bfffc03b;stroke:#e1ffd5;stroke-width:4;filter:drop-shadow(0 0 4px #a4ecb3)}#moveStatus{position:absolute;left:20px;right:70px;bottom:125px;padding:12px;background:#e8f9e6ee;color:#497b5d;font-size:11px;border:1px solid #d5f0ca;border-radius:10px;display:flex;justify-content:space-between;gap:12px;z-index:2}#moveStatus[hidden]{display:none}#moveStatus button{font-size:10px;flex-shrink:0;background:#d5eacf;border-radius:5px;padding:5px 8px}.article-list{display:flex;flex-direction:column;gap:10px}.article-list button{text-align:left;padding:15px;border-radius:9px;background:#e9efdf;border:1px solid #dbe4d0}.article-list b{display:block;font-weight:500}.article-list small{display:block;margin-top:7px;font-size:10px;color:#8a9f7c}.article-reading{background:#edf2e5;border:1px solid #e0e7d5;padding:12px 17px;border-radius:10px;font-family:Georgia,serif}.article-reading p{font-size:15px!important;color:#61715a;line-height:1.9!important}blockquote{font:15px/1.8 Georgia,serif;margin:10px 0;padding:10px 15px;border-left:3px solid #a8bd8c;color:#6c7e5e}@media(max-width:760px){#moveStatus{left:10px;right:55px;bottom:155px;font-size:9px;flex-direction:column;align-items:flex-start}}#connectionStatus{display:flex;justify-content:space-between;align-items:center;gap:12px}#retryConnection{font-size:10px;padding:4px 10px;background:#f5dcb9;border-radius:5px;color:#946a3b;flex-shrink:0}.guide-card{margin:-7px 0 22px;border:1px solid #dce7cf;background:#edf2e5;border-radius:12px;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px}.guide-card[hidden]{display:none}.guide-card small{display:block;font-size:9px;color:#8d9b7e;margin-bottom:6px}.guide-card b{font-size:14px;font-weight:550}.guide-card p{margin:6px 0 0;font-size:10px;color:#8b9980}.guide-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.guide-actions .primary,.guide-actions .secondary{width:auto;font-size:10px;white-space:nowrap}.guide-actions>button:last-child{background:none;font-size:20px;color:#9ca98d}.guide-steps{display:flex;flex-direction:column;gap:10px;margin:20px 0}.guide-steps button{display:flex;gap:13px;align-items:center;padding:14px;border:1px solid #e2e8d9;border-radius:10px;background:#f1f5e9;text-align:left}.guide-steps button>span{background:#e1e8d3;display:flex;width:27px;height:27px;border-radius:50%;align-items:center;justify-content:center;flex-shrink:0;color:#80966b}.guide-steps .done>span{background:#d3e2c8;color:#628252}.guide-steps b{font-size:12px;font-weight:500}.guide-steps small{display:block;font-size:10px;color:#97a489;margin-top:6px;line-height:1.7}.guide-steps em{margin-left:auto;font-style:normal;color:#9ba98d}.learning-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.learning-metrics>div{background:#eef2e5;border-radius:10px;padding:15px;text-align:center}.learning-metrics b{font-size:25px;font-weight:500;display:block}.learning-metrics span{font-size:10px;color:#92a181;display:block;margin-top:8px}.library-tools{display:flex;gap:10px;margin-top:20px}.library-tools select{width:150px}.library-rows{max-height:42vh;overflow:auto}.library-rows article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e5eadc}.library-rows b{font-size:15px;margin-right:12px}.library-rows span{font-size:12px;color:#819575}.library-rows small{display:block;font-size:10px;line-height:1.7;margin-top:5px;color:#97a68a}.library-rows button{width:auto;white-space:nowrap;font-size:10px}.export-learning{text-decoration:none;justify-content:center}.history-list{max-height:55vh;overflow:auto;margin:20px 0}.history-list article{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e6ebde}.history-list i{width:7px;height:7px;border-radius:50%;background:#9eb88b;flex-shrink:0}.history-list i.wrong{background:#cf9b83}.history-list b{font-size:12px;font-weight:500}.history-list small{display:block;font-size:10px;color:#99a58c;margin-top:6px}@media(max-width:760px){.guide-card{flex-direction:column;align-items:flex-start;padding:14px;gap:12px}.guide-actions{width:100%}.guide-actions>button:last-child{margin-left:auto}.learning-metrics{gap:6px}.learning-metrics>div{padding:12px 5px}.learning-metrics b{font-size:21px}.library-tools{flex-direction:column}.library-tools select{width:100%}.guide-steps button{padding:11px}}.invite-card{background:#e8e3f1;border:1px solid #d9d0e6;padding:16px;border-radius:11px;margin:18px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.invite-card small{font-size:10px;color:#9381aa;width:100%}.invite-card code{font-size:23px;letter-spacing:3px;color:#73608b}.invite-card button{font-size:10px;border-radius:6px;padding:9px;background:#dad2e8;color:#807092}.class-roster{max-height:40vh;overflow:auto;margin-top:16px}.class-roster article{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #e4e9db}.class-roster b{font-size:12px;font-weight:500}.class-roster small{display:block;font-size:10px;color:#91a080;margin-top:5px}.class-roster .secondary{width:auto;margin-left:auto;font-size:10px;padding:9px}.member-remove{font-size:10px;background:#f0e4d8;color:#ad8b6b;padding:9px;border-radius:7px}.grade-route{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.grade-route article{border:1px solid #e0e7d7;background:#f1f5e9;padding:15px;border-radius:10px}.grade-route article.current{border-color:#a4bb8f;background:#e7efdc}.grade-route b{display:block;font-size:12px;font-weight:500}.grade-route span{display:block;font-size:23px;color:#69865a;margin:10px 0}.grade-route small{font-size:10px;color:#92a082}@media(max-width:760px){.grade-route{grid-template-columns:repeat(2,1fr);gap:8px}.invite-card code{font-size:19px;letter-spacing:2px}.class-roster{max-height:40vh}.class-roster article{gap:7px}.class-roster small{font-size:9px}.class-roster .secondary,.member-remove{font-size:9px;padding:7px}}:root{--ink:#29435d;--muted:#7d8e99;--green:#456f91;--line:#dfe6e4}html,body{width:100%;height:100%;overflow:hidden}body{background:#326d9e;font-family:Segoe UI,Microsoft YaHei,sans-serif;color:#eaf4fc}button{touch-action:manipulation}.rail{position:fixed;top:108px;left:17px;bottom:auto;width:48px;padding:0;gap:11px;background:none;border:0;z-index:20}.rail .brand,.rail-bottom{display:none}.rail button{width:45px;height:45px;border-radius:13px;background:linear-gradient(#7795c9,#506daa);border:2px solid #aac7e5;color:#f0f6ff;font-size:22px;box-shadow:0 4px #284e81,0 6px 13px #16447133;text-shadow:0 1px 1px #365682}.rail button.active{background:linear-gradient(#aa9bde,#7b70b9);border-color:#d8d0f6;color:#fff}.rail button:hover{filter:brightness(1.13);transform:translateY(-1px)}main{margin:0;padding:0;width:100%;height:100%;max-width:none;position:relative}header{position:absolute;top:18px;left:90px;right:23px;height:54px;border:0;gap:16px;z-index:12}.wordmark{font-size:25px;color:#fff8d7;letter-spacing:2px;display:flex;align-items:center;gap:7px;margin:0;text-shadow:0 3px 0 #2b5476,0 3px 12px #1f4d7d44;white-space:nowrap}.wordmark small{font-size:8px;letter-spacing:3px;display:block;color:#d2e9f0;align-self:flex-end;margin:0 0 7px 4px;font-weight:500}.logo-gem{font-size:37px;color:#ead3ff;filter:drop-shadow(0 3px 0 #6d66a5)}.school-tag{margin-left:auto;margin-right:auto;color:#e7f1f8;background:#285f8c86;border:1px solid #a2cde54d;border-radius:30px;padding:8px 12px;gap:7px;font-size:10px}.school-tag small{color:#bed7e5;border-color:#aacada66;font-size:9px}.school-tag i{background:#b4e9ad;box-shadow:0 0 6px #c6ffb466}.profile{color:#fff7dc;border:2px solid #b9d5e8;background:linear-gradient(#577fa5,#38638f);padding:5px 11px 5px 5px;border-radius:27px;box-shadow:0 3px #254d7a;font-size:11px;gap:8px}.profile .avatar{background:linear-gradient(#eddfbc,#d1b885);color:#7f684e;border:2px solid #fff2c7;font-weight:600;width:33px;height:33px}.resource-hud{display:flex;gap:10px;align-items:center}.resource-hud button{display:flex;align-items:center;gap:7px;background:linear-gradient(#ffe9a2,#f4c966);border:2px solid #fff3bd;border-radius:9px;box-shadow:0 3px #b2904f;padding:6px 12px;color:#88613c}.resource-hud button>span{font-size:22px;color:#c68b2f}.resource-hud b{font-size:18px;font-weight:700;min-width:26px}.resource-hud small{font-size:9px;color:#a37a43}.resource-hud #toggleSound{width:34px;height:34px;padding:0;justify-content:center;border-color:#aac8e0;background:linear-gradient(#628ab3,#416e9c);box-shadow:0 3px #244e7b;color:#eaf4ff;font-size:20px}.heading{display:none}.workspace{display:block;width:100%;height:100%}.map-card{position:absolute;inset:0;border:0;border-radius:0;background:none;overflow:hidden}.map-top{position:absolute;top:82px;left:90px;right:280px;height:30px;padding:0;z-index:3;color:#dbedf6;font-size:10px;pointer-events:none;justify-content:space-between}.map-top>div{background:#2e658947;padding:6px 10px;border:1px solid #afd8e122;border-radius:20px}.map-top .live-dot{background:#b7e4ab;width:5px;height:5px}.map-pill{color:#d6e9ef;background:none;font-size:9px;letter-spacing:1px}.sea{position:absolute;inset:0;height:auto;background:#397fae;overflow:hidden}.sea svg#world{display:block;width:100%;height:100%;position:relative;left:auto;transform:none;max-width:none}.sea-vignette{position:absolute;inset:0;background:radial-gradient(ellipse at 48% 44%,transparent 35%,#163d6d22 100%);pointer-events:none}.island-caption{left:94px;top:auto;bottom:118px;color:#c2dfeb;font-size:17px;letter-spacing:5px;opacity:.7;text-shadow:0 2px 3px #326a94}.island-caption span{font-size:7px;color:#b2d5e4;letter-spacing:2px}.map-legend{left:94px;bottom:84px;font-size:9px;opacity:.8;gap:15px}.map-hint{bottom:10px;left:0;right:0;color:#b6d5e5;font-size:9px;opacity:.8}.map-tools{right:25px;bottom:128px;gap:5px;box-shadow:none;overflow:visible}.map-tools button{border-radius:9px;background:linear-gradient(#e4edf4,#b9d0e0);color:#467196;border:2px solid #eff8ff;box-shadow:0 3px #446f96;width:34px;height:34px}.map-bottom{position:absolute;bottom:30px;left:90px;right:24px;color:#bed9e6;font-size:10px;background:none;height:34px;padding:0;pointer-events:none}.map-bottom b{color:#eff9dd}.map-bottom>span:nth-child(2){display:none}.map-bottom button{pointer-events:auto;color:#f9eac8;background:#366b94b3;border:1px solid #a9c6d75c;border-radius:9px;padding:9px 12px;margin-left:auto;font-size:10px}.panels{position:absolute;z-index:5;top:119px;right:23px;width:214px;gap:13px}.gem-card,.review-card,.neighbors{background:linear-gradient(140deg,#e9f4eced,#dbe8dfea);border:2px solid #f9f5de;border-radius:16px;padding:16px;color:#476b78;box-shadow:0 5px #2c5e8277,0 8px 15px #235b7a26}.panel-title{font-size:11px;color:#587c89}.badge{background:#9d8cbf;color:#f8eeff;font-size:9px;padding:4px 7px;border:1px solid #c0b5dc}.gem-art{font-size:0;height:112px;line-height:normal;text-shadow:none;position:relative;margin-top:5px;filter:drop-shadow(0 6px 5px #486e7d22)}.gem-art svg{width:100%;height:100%}.gem-card h2{font-size:14px;color:#476e83;margin:3px 0}.gem-card p{font-size:9px;color:#839991;margin:8px 0 15px}.progress-label{font-size:9px;color:#82988e}.progress-label b{color:#8a7d9f;font-size:9px}.progress{height:7px;border:1px solid #c6d6c5;background:#cbd9c8;margin:8px 0 14px}.progress i{background:linear-gradient(90deg,#a48fcb,#c4b3e5)}.primary{background:linear-gradient(#8f83bd,#7169a8);border:1px solid #b9b0d7;color:#fff9ed;box-shadow:0 3px #61558e;border-radius:9px;padding:11px 13px;font-size:11px}.secondary{background:linear-gradient(#f7eac3,#e9d5a2);border:1px solid #f8edc7;box-shadow:0 3px #b7a46e;color:#8a734c;border-radius:9px;font-size:11px}.review-card{padding:14px 16px;background:linear-gradient(#eaf0dbf5,#d8e3c9f0);border-color:#f7edcf}.review-number{margin:11px 0;gap:13px}.review-number b{font-size:35px;color:#6e8d78;font-weight:550}.review-number span{font-size:10px;color:#81977d}.review-number small{font-size:9px;color:#9ba68b}.neighbors{padding:13px 16px;background:#dcebefd9;border-color:#e5f0ef}.neighbors .panel-title{font-size:10px}.neighbors .empty-copy,.neighbors p{font-size:10px;line-height:1.8;color:#829da5}.neighbors .avatar{height:26px;width:26px;font-size:10px}.neighbors>div:not(:first-child){font-size:10px;gap:8px;margin-top:12px}.neighbors small{font-size:9px;color:#819eaa}.neighbors .panel-title small{color:#7898a3}.voyage-dock{position:absolute;left:50%;bottom:32px;transform:translate(-50%);z-index:15;display:flex;gap:10px;background:linear-gradient(#315c8bd4,#254e80e3);border:2px solid #82a8ce;border-radius:21px;padding:10px 14px;box-shadow:0 5px #173b69,0 10px 30px #15375a33}.voyage-dock button{width:83px;height:67px;background:linear-gradient(#7d96c9,#5d76b3);border:2px solid #a9bfe4;box-shadow:0 4px #3c528c;border-radius:13px;color:#eef5fc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.voyage-dock button:first-child{background:linear-gradient(#b9a5e4,#8e7ac5);border-color:#daccf3;box-shadow:0 4px #62558c}.voyage-dock button>span{font-size:26px;line-height:30px;color:#ffe5a4;text-shadow:0 2px 0 #736690}.voyage-dock b{font-size:10px;font-weight:500}.voyage-dock button:hover{filter:brightness(1.12)}footer{position:absolute;bottom:8px;left:90px;right:23px;padding:0;z-index:6;pointer-events:none;font-size:8px;color:#aecddb}footer b{font-size:8px;color:#b7d5df}footer button{pointer-events:auto;color:#bfd9e5;font-size:8px;background:none}.guide-card{position:absolute;top:125px;left:88px;width:252px;z-index:6;display:block;padding:15px;background:linear-gradient(#e8eedcf2,#dce7cff0);border:2px solid #fff1c9;border-radius:14px;box-shadow:0 4px #3c688a66,0 5px 15px #24577f1a;margin:0;color:#58735f}.guide-card small{font-size:9px;color:#99a187;letter-spacing:.4px}.guide-card b{font-size:14px;color:#5f735a}.guide-card p{font-size:10px;line-height:1.8;color:#8c9b7c;margin:8px 0 12px}.guide-actions{gap:7px;width:100%}.guide-actions .primary{font-size:10px;padding:9px 12px}.guide-actions .secondary{font-size:9px;padding:9px}.guide-actions>button:last-child{margin-left:auto;font-size:18px;color:#9ca58d}.coordinate-readout{position:absolute;top:88px;right:25px;z-index:3;background:#2b60854d;border:1px solid #afcedf3a;border-radius:9px;color:#c9e4ed;padding:7px 10px;font-size:9px;box-shadow:none}.coordinate-readout span{color:#accddd;font-size:8px}.coordinate-readout b{font-weight:400}.map-legend .green{background:#afda85}.map-legend .purple{background:#c0a2e4}.map-legend .outline{border-color:#b7d7e7}#connectionStatus{position:fixed;z-index:30;left:50%;transform:translate(-50%);top:0;margin:0;background:#1d4e7940;border:0;border-radius:0 0 10px 10px;color:#c0dbe6;font-size:8px;padding:4px 12px;min-height:18px;opacity:.65}#connectionStatus.offline{opacity:1;background:#f2d8a8!important;color:#8b683f!important;font-size:10px;box-shadow:0 3px 10px #284d7522}body.loading main,body.loading .rail{opacity:.4}dialog{color:#465974;background:linear-gradient(145deg,#fff9e9,#eef3e4);border:3px solid #dfd2a6;border-radius:21px;padding:24px;box-shadow:0 8px #486b8977,0 25px 100px #15395d88}dialog::backdrop{background:#133c655c;backdrop-filter:blur(4px)}.modal-head{color:#96a18d;font-size:9px}.modal-head button{color:#a79c80;font-size:25px}dialog h2{color:#496476;font-size:24px;line-height:1.5;margin:22px 0 12px}dialog h3{color:#718573;font-size:15px}dialog p{color:#879a8b;font-size:12px;line-height:1.9}label{font-size:11px;color:#849283}input,select,textarea{background:#fffef4;border:1px solid #d5dfcc;border-radius:9px;color:#576b66;box-shadow:inset 0 2px 3px #81986e08;font-size:13px}.note{background:#e7eddb;color:#8a9a7d;font-size:10px;line-height:1.9;border:1px solid #dce4cc;border-radius:9px}.choice{background:linear-gradient(#f6efd9,#e8dfbf);border:1px solid #d8cb9f;color:#8d7d55;border-radius:10px;box-shadow:0 3px #c5b68c;padding:15px}.choice:hover{background:linear-gradient(#e9efdb,#d8e5c5);border-color:#bdcfa5;transform:translateY(-1px)}.stats>div{background:#e8eedc;border-color:#d9e2ca;color:#92a184}.stats b{color:#788e6d}.sentence-preview{background:#e6e0f0;color:#8b76a8}.word-chips button{background:#e1e9d1;color:#82936d}.primary:disabled,.secondary:disabled{opacity:.45;box-shadow:none;cursor:not-allowed}.rune-label,.site-label{pointer-events:none}.rune-label rect{fill:#2c6183db;stroke:#b9d9df88;stroke-width:.8}.rune-label text{font-family:Georgia,serif!important;font-size:10px;fill:#e7f3ed}.site-label rect{fill:#366c83e8;stroke:#a3c9c7;stroke-width:1}.site-label text{fill:#d2e8d9;font-size:9px}.site-label .site-health{font-size:7px;fill:#b0d0c9}.tile-hit{fill:transparent;stroke:transparent;pointer-events:all}.island-sprite{pointer-events:none;filter:drop-shadow(0 4px 2px #22597a2b)}.island-tile:hover .island-sprite,.island-tile:focus .island-sprite{filter:drop-shadow(0 0 5px #e8f9c4a0) brightness(1.08)}.island-tile:hover .tile-hit,.island-tile:focus .tile-hit{stroke:#e9f5c9aa;stroke-width:1}.sea-hex{fill:#c5ecf309;stroke:#bae3ed35;stroke-width:1}.distant-hex{fill:#b1def006;stroke:#b1def014;stroke-width:.7}.fog-plus{fill:#7c9eae;font-size:17px;pointer-events:none;opacity:.75}.cloud-tile{opacity:.86}.rock-health{fill:#bed8e3;font-size:8px;paint-order:stroke;stroke:#397197;stroke-width:2px;pointer-events:none}.build-target{fill:#d0ffaf20;stroke:#e1f5b8;stroke-width:2;stroke-dasharray:5 4;pointer-events:none}.little-ship{pointer-events:none;animation:bob-ship 5s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.core-glow{fill:#c0b8f9;opacity:.15;filter:blur(8px);pointer-events:none}.crystal-motes{fill:#eee4ff;pointer-events:none;animation:glimmer 3s ease-in-out infinite}.crystal-motes circle{filter:drop-shadow(0 0 4px #eee4ff)}.sentence-link{stroke:#e7d9fc;stroke-width:3;opacity:.6;stroke-dasharray:4 4;pointer-events:none}.sentence-number{fill:#a593c5;stroke:#ebe1f6;stroke-width:1;pointer-events:none}.sentence-index{font-size:9px;fill:#f8f4ff;pointer-events:none}.attacker-ring{stroke:#ffed9f;stroke-width:2.8;fill:#ffed9f10;filter:drop-shadow(0 0 4px #ffecab99);pointer-events:none}.range-ring{stroke:#e9dfa69c;stroke-width:1.4;stroke-dasharray:4 4;fill:#efdba30b;pointer-events:none}.target-ring{stroke:#ffd89a;stroke-width:3;fill:#ffd48c12;pointer-events:none}.target-caption{font-size:10px;fill:#fff0c1;paint-order:stroke;stroke:#596d80;stroke-width:2px;pointer-events:none}.move-target{fill:#dcffc840;stroke:#e2ffbe;stroke-width:3;pointer-events:none}.shield-ring{stroke:#b9edff;fill:#b9edff15;pointer-events:none}.quest-list article{display:flex;gap:12px;align-items:center;margin:12px 0;padding:13px;background:#e9eddd;border:1px solid #dbe2cb;border-radius:10px}.quest-list article>span{font-size:25px;color:#c5a75e}.quest-list b{font-size:12px;font-weight:500}.quest-list small{display:block;font-size:10px;color:#93a084;margin-top:5px;line-height:1.7}.quest-list .secondary{margin-left:auto;width:auto;font-size:10px;white-space:nowrap}.store-item{display:flex;align-items:center;gap:20px;padding:20px 0}.store-icon{font-size:75px;color:#d2b565;text-shadow:0 3px 0 #9a875c}.store-item p{font-size:11px}#battleStatus,#moveStatus{left:50%;right:auto;bottom:145px;transform:translate(-50%);width:min(600px,calc(100% - 200px));z-index:9;background:#fff2c9e8;color:#8c754d;border:2px solid #fff8dc;border-radius:12px;box-shadow:0 3px #7d7d6544;font-size:10px;padding:10px 13px}#moveStatus{background:#e4f5d4ee;color:#77926c;bottom:195px}#battleStatus button,#moveStatus button{background:#d9cea7;color:#928158;font-size:9px;padding:6px 9px}#toast{background:#244f78ed;border:1px solid #83accd;color:#eef6ed;bottom:150px;font-size:11px;padding:12px 22px;box-shadow:0 4px 10px #1e496333;max-width:min(700px,90vw);text-align:center}#campusAtlas{background:#5d9dbe}.learning-metrics>div{background:#e5ecd7}.library-tools input,.library-tools select{background:#fffdf0}.invite-card{background:#e4def0}.history-list i{background:#a8be8c}.guide-steps button{background:#edf0df;border-color:#dce3cd}.guide-steps b{color:#738364}.empty-copy{color:#91a18b}.error-copy{color:#ba806c!important}.entry-archive article{background:#e9eddb}.map-tools button:first-child{font-size:22px}.expedition-flag{pointer-events:none}@keyframes glimmer{0%,to{opacity:.5}50%{opacity:1}}@keyframes bob-ship{0%,to{translate:0 0}50%{translate:0 3px}}@media(max-width:1180px){.school-tag small{display:none}.panels{width:190px}.gem-card,.review-card{padding:13px}.neighbors{display:none}.guide-card{width:225px}.map-top{right:240px}.wordmark small{display:none}}@media(max-width:900px){.school-tag{display:none}.profile{margin-left:auto}.panels{width:170px}.guide-card{width:210px;left:77px}.resource-hud{margin-left:auto}.wordmark{font-size:22px}header{left:76px;gap:10px}.voyage-dock button{width:70px}.voyage-dock{gap:8px;padding:9px 11px}.map-top{left:79px}.gem-card p{display:none}}@media(max-width:680px){header{top:17px;left:15px;right:13px;height:47px;gap:7px}.wordmark{font-size:19px;letter-spacing:1px;gap:4px}.logo-gem{font-size:28px}.resource-hud{gap:7px}.resource-hud button{padding:3px 6px;border-width:1.5px;gap:3px}.resource-hud b{font-size:15px;min-width:20px}.resource-hud button>span{font-size:19px}.resource-hud small,.resource-hud #toggleSound{display:none}.profile{font-size:10px;padding:3px 7px 3px 3px;gap:4px;border-width:1.5px;margin-left:2px}.profile #profileLabel{max-width:65px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.profile .avatar{width:25px;height:25px;font-size:10px;border-width:1.5px}.rail{left:10px;top:125px;width:38px;gap:8px}.rail button{width:36px;height:36px;border-radius:11px;font-size:19px;border-width:1.5px;box-shadow:0 3px #284e81}.panels{display:none}.guide-card{top:111px;left:60px;width:min(245px,calc(100% - 83px));padding:12px;border-width:1.5px}.guide-card b{font-size:12px}.guide-card p{font-size:9px;margin:6px 0 9px}.guide-card small{font-size:8px}.guide-actions .primary{font-size:9px;padding:8px 9px}.guide-actions .secondary{font-size:8px;padding:8px 7px}.map-top{left:16px;right:14px;top:76px;font-size:9px}.map-pill{font-size:8px;padding-right:0}.coordinate-readout{top:auto;bottom:133px;right:13px;padding:6px 8px;font-size:8px}.coordinate-readout span{font-size:7px}.map-tools{bottom:193px;right:13px;gap:6px}.map-tools button{width:30px;height:30px;font-size:17px;border-width:1.5px}.voyage-dock{bottom:34px;padding:8px;gap:6px;border-radius:17px;max-width:calc(100% - 24px);width:360px;justify-content:space-between;border-width:1.5px}.voyage-dock button{width:56px;height:59px;border-radius:11px;border-width:1.5px;gap:2px}.voyage-dock button>span{font-size:23px;line-height:27px}.voyage-dock b{font-size:8px;white-space:nowrap}.map-bottom{bottom:107px;left:14px;right:14px;height:23px;font-size:8px}.map-bottom button{font-size:8px;padding:6px 9px}.island-caption{left:14px;bottom:158px;font-size:12px;letter-spacing:3px}.island-caption span{font-size:6px;letter-spacing:1px}.map-legend{display:none}.map-hint{bottom:9px;font-size:8px}footer{bottom:15px;left:15px;right:15px;font-size:7px}footer span{max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}footer b,footer button{font-size:7px}#connectionStatus{font-size:6px;padding:2px 8px;opacity:.5;max-width:90%;white-space:nowrap;overflow:hidden}#connectionStatus.offline{font-size:9px;max-width:95%;white-space:normal;padding:7px 10px;opacity:1}dialog{padding:20px;border-width:2px;width:calc(100vw - 28px);max-height:calc(100dvh - 40px)}dialog h2{font-size:22px}dialog p{font-size:11px}.atlas-dialog{width:calc(100vw - 24px)}.quest-list article{gap:8px;padding:11px}.quest-list b{font-size:11px}.quest-list small{font-size:9px}.quest-list .secondary{font-size:9px;padding:8px}.quest-list article>span{font-size:19px}#battleStatus,#moveStatus{bottom:167px;width:calc(100% - 85px);left:56px;right:29px;transform:none;font-size:9px;padding:8px 10px;align-items:flex-start;gap:5px}#moveStatus{bottom:216px}#toast{bottom:134px;font-size:10px;width:max-content;max-width:90%;line-height:1.8}.store-icon{font-size:60px}.site-label text{font-size:8px}.site-label .site-health{font-size:7px}}@media(prefers-reduced-motion:reduce){.little-ship,.crystal-motes{animation:none}.island-sprite{filter:none}*{scroll-behavior:auto!important}.sea-vignette{opacity:.5}}.island-sprite,.gem-art svg{overflow:hidden!important}#liveNotice{color:#fff3c0;text-shadow:0 1px 2px #48617a;font-size:10px;max-width:38vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rail button[data-action=help]{order:-2}.rail button[data-action=vocab]{order:-1}#showGuide{display:none}html,body,main,.sea{background:#4d88bd}body{color:#fff6d4}.sea-vignette,.wordmark,.school-tag,.panels,.guide-card,.map-top,.island-caption,.map-legend,.map-bottom,footer,.map-hint{display:none!important}main{width:100%;height:100dvh;min-height:0;margin:0;padding:0}.sea{inset:0;background:#4d88bd}.sea svg#world{width:100%;height:100%;position:static;transform:none}#world>rect{fill:#4d88bd}#world>rect:nth-of-type(2){opacity:.12}#world>rect:nth-of-type(3){display:none}header{position:absolute;left:12px;right:auto;top:24px;height:auto;display:block;width:92px;z-index:20}.resource-hud{display:flex;flex-direction:column;align-items:stretch;gap:6px}.resource-hud button{width:88px;height:25px;min-height:0;padding:0 5px;gap:5px;border:2px solid #e8d3a4;border-radius:6px;background:#ffda56;box-shadow:0 2px #4776a6;justify-content:flex-start;color:#fff8e8;text-shadow:-1px -1px #8e6445,1px 1px #8e6445,-1px 1px #8e6445,1px -1px #8e6445}.resource-hud b{font-size:14px;line-height:18px;min-width:0}.resource-hud small{display:none}.resource-hud .reference-counter:nth-last-child(-n+2){background:#476ea3;border-color:#9dbbdb}.resource-hud button>span{display:flex;font-size:0}.resource-hud .game-icon{width:22px;height:22px;flex:none}.resource-hud #toggleSound{position:fixed;right:14px;bottom:190px;width:36px;height:38px;border-radius:8px;background:#8a80d0;border:2px solid #b5a9e5;box-shadow:0 4px #5667a5;font-size:22px;text-shadow:none}.profile{position:fixed;top:18px;right:14px;width:35px;height:36px;padding:2px;border-radius:8px;background:#8a80d0;border:2px solid #b5a9e5;box-shadow:0 3px #5667a5;justify-content:center}.profile .avatar{width:26px;height:26px;border:0;background:none;color:#eee5ff}.profile #profileLabel,.profile>span:last-child{display:none}.rail{position:fixed;top:157px;left:12px;width:36px;gap:9px;padding:0;z-index:20}.rail button{display:none;width:34px;height:36px;border:1px solid #ac9ee0;border-radius:7px;background:#8576cc;box-shadow:0 4px #5669a5;text-shadow:none;padding:2px}.rail button[data-action=help],.rail button[data-action=vocab],.rail #classroom{display:flex;align-items:center;justify-content:center}.rail .game-icon{width:26px;height:26px}.game-icon{width:32px;height:32px;display:block;overflow:visible;pointer-events:none}.voyage-dock{position:absolute;bottom:24px;left:50%;transform:translate(-50%);width:260px;max-width:calc(100% - 100px);padding:0;gap:2px 3px;display:grid;grid-template-columns:repeat(5,1fr);border:0;border-radius:0;background:none;box-shadow:none}.voyage-dock button{width:46px;height:52px;padding:6px 7px 9px;gap:0;display:flex;align-items:center;justify-content:center;clip-path:polygon(50% 0,100% 24%,100% 75%,50% 100%,0 75%,0 24%);border:0;border-radius:0;background:#798bd2;box-shadow:inset 0 -7px #5b6baf,inset 0 0 0 5px #657fc5;filter:drop-shadow(0 2px #486eac)}.voyage-dock button:first-child{background:#9aa1e8;box-shadow:inset 0 -7px #686db2,inset 0 0 0 5px #7f83cf}.voyage-dock button b{display:none}.voyage-dock button>span{display:block;font-size:0;line-height:1}.voyage-dock button .game-icon{width:29px;height:29px}.voyage-dock button:nth-child(6){grid-column:2}.voyage-dock button:hover{filter:brightness(1.08)}#referenceBuild,#referenceCore{position:absolute;z-index:15;display:flex;align-items:center;justify-content:center;flex-direction:column;clip-path:polygon(50% 0,100% 24%,100% 75%,50% 100%,0 75%,0 24%);background:#8176cf;box-shadow:inset 0 -9px #5d65a3,inset 0 0 0 7px #6d70c1;border:0;padding:8px;color:#fff4d5}#referenceBuild{left:50%;bottom:158px;transform:translate(-50%);width:67px;height:78px}#referenceBuild .game-icon{width:39px;height:39px}#referenceBuild small{font-size:11px;font-weight:700;line-height:15px}#referenceCore{left:14px;bottom:70px;width:58px;height:65px}#referenceCore .game-icon{width:40px;height:40px}#referenceQuest{position:absolute;left:calc(50% + 25px);bottom:217px;z-index:16;width:38px;height:41px;background:#fff9e5;border:2px solid #9adbd9;border-radius:7px;padding:2px;transform:rotate(6deg)}#referenceQuest[hidden]{display:none}.map-tools{right:14px;bottom:241px;gap:6px}.map-tools button{width:31px;height:32px;border-radius:7px;background:#8293cf;border:1px solid #acb3e2;box-shadow:0 3px #576fa8;color:#f7f4df;font-size:20px}.map-tools .game-icon{width:25px;height:25px}.coordinate-readout{right:14px;top:auto;bottom:151px;padding:4px 6px;background:#4279a54d;border:0;border-radius:4px;color:#d6e9f5;font-size:8px;box-shadow:none}.coordinate-readout span{color:#b9d8eb;font-size:7px}.coordinate-readout b{font-size:8px}.island-sprite{filter:none}.core-glow,.crystal-motes{display:none}.sea-hex{fill:#76a5ce0a;stroke:#92b8d326;stroke-width:.7}.distant-hex{fill:none;stroke:none}.cloud-tile{opacity:1}.rock-health{fill:#f1f1d5;font-size:7px;stroke:#6e7c8d;stroke-width:1.5}.rune-label rect{fill:#f4e2b2;stroke:#a88b5d;stroke-width:1}.rune-label text{fill:#75573a;font:700 9px Segoe UI,sans-serif!important}.rune-label path{opacity:.65}.site-label rect{fill:#f3e6c5;stroke:#b6a077}.site-label text{fill:#7c7150;font-size:8px}.site-label .site-health{fill:#8c815f;font-size:6px}.island-tile:hover .island-sprite,.island-tile:focus .island-sprite{filter:brightness(1.05)}.little-ship{animation:none}.attacker-ring,.target-ring{filter:none;stroke-width:2}.range-ring{stroke-width:1;opacity:.7}.shield-ring{filter:none;opacity:.5}#connectionStatus{position:fixed;left:50%;top:0;font-size:8px;transform:translate(-50%);max-width:70%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:0;background:none;color:#dbeafb;padding:3px 8px;border:0;opacity:.8}#connectionStatus.offline{white-space:normal;font-size:10px;background:#fff0c9!important}#toast{bottom:135px;z-index:50;background:#355b84;border-radius:8px;font-size:11px;max-width:85%;padding:10px 15px}#battleStatus,#moveStatus{left:50%;right:auto;bottom:267px;transform:translate(-50%);width:min(440px,calc(100% - 94px));font-size:9px;background:#f3e6c8;border:1px solid #d5c391;box-shadow:none}#moveStatus{bottom:310px}dialog{background:#faf5e5;border:2px solid #c8c0db;border-radius:12px;box-shadow:0 6px #536ca077,0 15px 55px #244d7670;padding:21px;color:#526076;width:min(430px,calc(100vw - 28px))}dialog::backdrop{background:#2f5b8040;backdrop-filter:none}dialog h2{font-size:21px;line-height:1.5;color:#556582;margin:16px 0 8px}dialog p{font-size:11px;color:#879180;line-height:1.8}dialog .primary{background:#8178bf;border-color:#a69bd5;box-shadow:0 3px #6562a1}.choice{box-shadow:0 2px #c5b68c}.atlas-dialog{width:min(850px,calc(100vw - 24px))}@media(min-width:900px){.voyage-dock{bottom:28px;width:300px;gap:3px 5px}.voyage-dock button{width:54px;height:60px}.voyage-dock button .game-icon{width:34px;height:34px}#referenceBuild{bottom:180px}#referenceQuest{bottom:239px}#referenceCore{bottom:86px}.coordinate-readout{bottom:173px}.resource-hud button{width:101px;height:28px}.resource-hud b{font-size:15px}.rail{top:174px}.map-tools{bottom:267px}#battleStatus{bottom:290px}}@media(max-height:650px){.rail{gap:5px;top:143px}.rail button{height:31px}header{top:12px}.resource-hud{gap:3px}.voyage-dock{bottom:12px;width:226px;gap:0 2px}.voyage-dock button{width:41px;height:46px}#referenceBuild{bottom:114px;width:55px;height:64px}#referenceQuest{bottom:161px;width:30px;height:34px}#referenceCore{bottom:48px;width:48px;height:56px}.coordinate-readout{bottom:113px}.map-tools{bottom:171px}.resource-hud #toggleSound{bottom:126px}#battleStatus{bottom:213px}dialog{max-height:calc(100dvh - 22px)}}#world{width:100%;height:100%;position:relative;overflow:hidden;touch-action:none;cursor:grab}#world canvas{display:block;touch-action:none}.map-access{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#world:has(canvas){background:#4d88bd}#startupScreen{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:linear-gradient(160deg,#5a97c7,#437bad);color:#fff4d4}#startupScreen[hidden]{display:none}.startup-card{width:min(340px,85vw);text-align:center;padding:30px 24px}.startup-mark{font-size:50px;color:#ffdf8b;text-shadow:0 4px #49759c}.startup-card h1{font-size:23px;letter-spacing:3px;margin:15px 0 28px}.startup-card h2{font-size:15px;font-weight:500}.startup-card p{font-size:11px;color:#d2e4ef;line-height:1.8}.startup-card progress{width:100%;height:9px;border:0;border-radius:8px;overflow:hidden;background:#356b96}.startup-card progress::-webkit-progress-bar{background:#356b96}.startup-card progress::-webkit-progress-value{background:#ead89a;border-radius:8px}.startup-card button{margin:14px auto 0;padding:10px 25px;border:1px solid #f4e6b5;border-radius:7px;color:#636d75;background:#efe3bd;cursor:pointer}#loginAssetStatus{font-size:10px;color:#849474;margin:8px 0}body:has(#startupScreen:not([hidden])){overflow:hidden}
