: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 0 #284e81,0 6px 13px #16447133;text-shadow:0 1px 1px #365682}.rail button.active{background:linear-gradient(#aa9bde,#7b70b9);border-color:#d8d0f6;color:white}.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 0 #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 0 #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 0 #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 0 #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 0 #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 0 #61558e;border-radius:9px;padding:11px 13px;font-size:11px}.secondary{background:linear-gradient(#f7eac3,#e9d5a2);border:1px solid #f8edc7;box-shadow:0 3px 0 #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:translateX(-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 0 #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 0 #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 0 #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 0 #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:translateX(-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 0 #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 0 #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:translateX(-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 0 #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%,100%{opacity:.5}50%{opacity:1}}@keyframes bob-ship{0%,100%{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{display:none}.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 0 #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}
