:root{color:#edf2e7;font-synthesis:none;--paper:#edf2e7;--muted:#aebeb6;--pine:#173e3c;--accent:#e2c58b;--line:#ffffff20;--panel:#132e2df5;--food:#d8bb78;--water:#82c8d9;--health:#d58e7f;font-family:Segoe UI,Tahoma,sans-serif;font-size:16px}*{box-sizing:border-box}body{background:#153d48;margin:0;overflow:hidden}button,input{font:inherit}button{color:inherit;cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{transition:background .15s,transform .15s,color .15s}button:active:not(:disabled){transform:translateY(1px)}button svg{pointer-events:none}[hidden]{display:none!important}svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}#world{touch-action:none;width:100%;height:100%;display:block;position:fixed;inset:0}#vignette{pointer-events:none;background:radial-gradient(at 50% 42%,#0000 35%,#05282840 100%);position:fixed;inset:0}#damage-flash{pointer-events:none;opacity:0;transition:opacity .15s;position:fixed;inset:0;box-shadow:inset 0 0 160px 35px #b94539}#damage-flash.active{opacity:.6}#loading{text-align:center;z-index:30;background:#163d3b;place-content:center;display:grid;position:fixed;inset:0}#loading p{color:var(--muted)}.loading-island{letter-spacing:-3px;font-family:Georgia,serif;font-size:64px;font-weight:400}.overlay{z-index:10;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#051e1c45;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.overlay.welcome-open{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0}.welcome{background:linear-gradient(90deg,#102e2dec 0%,#13312ac4 27%,#17372d3d 57%,#0000 79%);position:absolute;inset:0}.welcome-content{width:420px;position:absolute;top:50%;left:7.5vw;transform:translateY(-53%)}.island-mark svg{width:58px;height:58px;color:var(--accent)}.edition{color:#d0d9ca;margin:24px 0 4px;font-size:15px}.welcome h1{letter-spacing:-6px;margin:0 0 28px;font-family:Georgia,Times New Roman,serif;font-size:clamp(78px,8.2vw,126px);font-weight:400;line-height:1.02}.intro{color:#e1e6d5;margin:0 0 22px;font-family:Georgia,Times New Roman,serif;font-size:28px;line-height:1.32}.welcome-description{color:#bdcdc3;margin:0 0 32px;font-size:16px;line-height:1.65}.primary{background:var(--accent);color:#243e32;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;gap:12px;min-height:49px;padding:13px 22px;font-weight:600;display:inline-flex}.primary:hover:not(:disabled){background:#eddaa9}.primary.large{min-width:268px;padding:16px 24px;font-size:17px}.primary svg{fill:currentColor;stroke-width:1px;width:19px;height:19px}.welcome-actions{align-items:center;gap:17px;margin-top:18px;display:flex}.welcome-actions>span{background:#ffffff30;width:1px;height:14px}.text-button{color:#c7d5c9;background:0 0;padding:7px 0;font-size:14px}.text-button:hover{color:#fff}.save-status{color:#8fa69b;align-items:center;gap:8px;margin-top:26px;font-size:13px;display:flex}.save-status:before{content:"";border:1px solid;border-radius:2px;width:10px;height:12px;display:block}.welcome-footer{color:#cfdbd0a6;justify-content:space-between;font-size:13px;display:flex;position:absolute;bottom:25px;left:7.5vw;right:32px}.dialog{background:var(--panel);scrollbar-width:thin;scrollbar-color:#587166 transparent;border:1px solid #b2cbb733;border-radius:12px;max-height:90vh;overflow:auto;box-shadow:0 24px 120px #00181360}.compact{width:min(560px,100% - 40px);padding:34px}.compact>p{color:#b7c9bf;line-height:1.65}.compact>.primary{width:100%;margin-top:16px}.dialog-heading,.bag-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.dialog-heading{align-items:flex-start}.eyebrow{color:#99b6a6;margin:0 0 6px;font-size:14px}.dialog h2{letter-spacing:-.7px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:34px;font-weight:400;line-height:1.2}.icon-button{color:#c4d5c8;background:0 0;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.icon-button:hover{color:#fff;background:#ffffff12}.icon-button svg{width:21px;height:21px}.seed-field{color:#bfcec5;margin-top:24px;font-size:14px;display:block}.seed-field>div{background:#001d1b60;border:1px solid #ffffff30;border-radius:5px;margin-top:10px;padding:4px;display:flex}.seed-field input{color:var(--paper);background:0 0;border:0;outline:none;width:100%;min-width:0;padding:10px 12px}.notice{color:#d9ba93!important;font-size:14px!important}.help-steps{margin:24px 0}.help-steps p{color:#abc0b3;font-size:15px;line-height:1.55}.help-steps strong{color:#e4eadb;font-weight:600}.control-grid{border-top:1px solid var(--line);color:#afc3b4;grid-template-columns:1fr 1fr;gap:17px 20px;padding-top:20px;font-size:13px;display:grid}.control-grid span{align-items:center;gap:10px;display:flex}kbd{color:#dce8dc;white-space:nowrap;border:1px solid #d4e5d646;border-radius:3px;justify-content:center;align-items:center;min-width:23px;min-height:23px;padding:4px 6px;font-family:inherit;font-size:12px;line-height:1;display:inline-flex}#hud{pointer-events:none;text-shadow:0 2px 9px #00181680;position:fixed;inset:0}#hud button{pointer-events:auto}.vitals{flex-direction:column;gap:13px;width:198px;display:flex;position:absolute;top:29px;left:30px}.vital{grid-template-columns:26px 1fr;align-items:center;gap:12px;display:grid}.vital>span{filter:drop-shadow(0 1px 4px #001a1b60);align-items:center;display:flex}.vital svg{width:24px;height:24px}.vital-label{color:#e0eadd;justify-content:space-between;margin-bottom:5px;font-size:12px;display:flex}.vital-label b{font-weight:500}.meter{background:#06232173;border-radius:3px;height:4px;overflow:hidden}.meter i{background:currentColor;border-radius:3px;width:100%;height:100%;transition:width .15s;display:block}.health{color:var(--health)}.hunger{color:var(--food)}.thirst{color:var(--water)}.compass{text-align:center;width:190px;position:absolute;top:26px;left:50%;transform:translate(-50%)}.compass>div:first-child{letter-spacing:2px;height:26px;font-size:14px;font-weight:600}.compass-rule{border-top:1px solid #fff5;justify-content:space-around;align-items:center;height:15px;display:flex}.compass-rule span{background:#ffffff60;align-self:start;width:1px;height:5px}.compass-rule i{border-left:3px solid #0000;border-right:3px solid #0000;border-top:5px solid var(--accent);align-self:start;width:0;height:0}.world-clock{align-items:center;gap:13px;display:flex;position:absolute;top:25px;right:25px}.world-clock>span svg{width:30px;height:30px;color:var(--accent)}.world-clock>div{flex-direction:column;gap:2px;min-width:54px;display:flex}.world-clock strong{letter-spacing:.5px;font-size:18px;font-weight:500}.world-clock>div>span{color:#d3e1d4;font-size:12px}.world-clock .icon-button{background:#092b293b;margin-left:15px}.crosshair{filter:drop-shadow(0 0 2px #153832);width:14px;height:14px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.crosshair i{background:#edf2d9b0;border-radius:2px;position:absolute}.crosshair i:first-child{width:2px;height:10px;top:2px;left:6px}.crosshair i:last-child{width:10px;height:2px;top:6px;left:2px}.target{text-align:center;flex-direction:column;gap:7px;min-width:180px;display:flex;position:absolute;top:calc(50% + 30px);left:50%;transform:translate(-50%)}.target strong{font-size:16px;font-weight:500}.target>span{color:#eff1dc;font-size:13px}.target .meter{width:100px;color:var(--accent);margin:3px auto 0}.stamina{color:#e6d6a1;width:160px;position:absolute;bottom:166px;left:50%;transform:translate(-50%)}.stamina>span{text-align:center;margin-bottom:6px;font-size:11px;display:block}.experience{width:185px;position:absolute;bottom:34px;left:30px}.experience>div:first-child{justify-content:space-between;align-items:center;margin-bottom:7px;font-size:14px;display:flex}.experience>.meter{color:var(--accent);height:3px}.experience>span{color:#d0dacb;margin-top:7px;font-size:11px;display:block}.experience button{background:var(--accent);color:#243e32;text-shadow:none;border-radius:3px;padding:4px 7px;font-size:12px}.hotbar-wrap{position:absolute;bottom:29px;left:50%;transform:translate(-50%)}#selected-item{text-align:center;color:#e7ecde;margin-bottom:11px;font-size:13px}.hotbar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0e2f2b66;border:1px solid #e0e9d326;border-radius:7px;gap:5px;padding:5px;display:flex;box-shadow:0 6px 32px #082c2920}.hotbar button{color:#dce7d6;background:#173b354d;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;width:58px;height:58px;display:flex;position:relative}.hotbar button.active{background:#d9cf9a24;border-color:#e7cf96;box-shadow:inset 0 0 0 1px #e7cf9617}.hotbar button.unavailable{color:#c6d6c55c}.hotbar button:hover{background:#d9cf9a20}.hotbar svg{width:31px;height:31px}.slot-key{color:#e4ead3a6;font-size:10px;line-height:1;position:absolute;top:4px;left:5px}.slot-count{color:#f1edcf;font-size:11px;position:absolute;bottom:4px;right:5px}.quick-controls{flex-direction:column;gap:8px;display:flex;position:absolute;bottom:31px;right:28px}.quick-controls button{text-align:left;color:#d4e0d2;text-shadow:0 1px 7px #001c1b;background:0 0;align-items:center;gap:8px;padding:0;font-size:12px;display:flex}.quick-controls kbd{min-width:20px;min-height:20px;font-size:11px}.action-hint{color:#dce6d5b3;white-space:nowrap;gap:16px;font-size:10px;display:flex;position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.action-hint kbd{border:0;min-height:12px;padding:0 3px;font-size:10px}.toasts{z-index:25;pointer-events:none;flex-direction:column;align-items:center;gap:7px;display:flex;position:fixed;top:100px;left:50%;transform:translate(-50%)}.toast{color:#eef3e7;text-align:center;background:#133530ec;border:1px solid #b6cfb52e;border-radius:5px;max-width:90vw;padding:9px 17px;font-size:14px;animation:.18s ease-out toast-in;box-shadow:0 5px 20px #0023222e}.toast.bad{color:#f4b6a6;border-color:#d58e7f70}.toast.good{border-color:#c9d29c60}.toast.fade{opacity:0;transition:opacity .35s}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.backpack{width:min(1040px,100vw - 72px);max-height:min(790px,92vh);padding:29px 34px 0}.bag-header h2{font-size:36px}.tabs{border-bottom:1px solid var(--line);gap:28px;margin-top:27px;display:flex}.tabs button{color:#9eb8a8;background:0 0;border-bottom:2px solid #0000;align-items:center;gap:9px;padding:0 0 16px;font-size:15px;display:flex}.tabs button.active{border-bottom-color:var(--accent);color:var(--paper)}.tabs kbd{opacity:.7;min-width:18px;min-height:18px;padding:3px;font-size:10px}.bag-body{grid-template-columns:1.15fr 1fr;gap:40px;min-height:360px;padding:28px 0;display:grid}.section-title{color:#a8bfb0;justify-content:space-between;align-items:center;margin-bottom:17px;font-size:14px;display:flex}.section-title span:last-child{color:#92aa9d;font-size:12px}.inventory-grid{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.inventory-cell{aspect-ratio:1.14;color:#d4e0c7;background:#0b262250;border:1px solid #c4d4c522;border-radius:5px;justify-content:center;align-items:center;display:flex;position:relative}.inventory-cell svg{stroke-width:1.4px;width:39px;height:39px}.inventory-cell.empty{cursor:default;background:#08282230;border-color:#c4d4c510}.inventory-cell.active{border-color:var(--accent);background:#d6bf8320}.inventory-cell:hover:not(.empty){background:#d6bf8310}.inventory-cell>span{color:#d4ddc5;font-size:12px;position:absolute;bottom:6px;right:8px}.item-detail{background:#0b27223d;border:1px solid #b5cbb422;border-radius:7px;align-self:start;min-height:280px;padding:24px}.item-portrait{color:#d7dcb7;background:#a4be8b0d;border-radius:50%;justify-content:center;align-items:center;width:70px;height:70px;margin-bottom:20px;display:flex}.item-portrait svg{stroke-width:1.3px;width:48px;height:48px}.item-detail h3,.craft-detail h3{margin:0 0 13px;font-family:Georgia,serif;font-size:27px;font-weight:400}.item-detail p,.craft-detail p{color:#a8bfb0;margin:0 0 20px;font-size:14px;line-height:1.65}.item-detail .primary{width:100%;margin-top:10px;font-size:14px}.muted{color:#92aa9d;font-size:13px;line-height:1.65}.bag-footer{border-top:1px solid var(--line);color:#9bb3a3;justify-content:space-between;align-items:center;gap:15px;padding:17px 0;font-size:12px;display:flex}.bag-footer kbd{min-height:18px;margin-right:6px;font-size:10px}.recipe-list{flex-direction:column;gap:9px;display:flex}.recipe{text-align:left;background:#09272144;border:1px solid #c4d4c520;border-radius:5px;align-items:center;gap:16px;width:100%;padding:13px 16px;display:flex}.recipe.active{background:#d6bf8312;border-color:#e2c58b80}.recipe>svg{color:#ccd6b5;flex-shrink:0;width:34px;height:34px}.recipe>div{flex-direction:column;gap:5px;display:flex}.recipe strong{font-size:15px;font-weight:500}.recipe span{color:#9ab09f;font-size:12px}.recipe>i{border:1px solid #c9d5b56b;border-radius:50%;width:7px;height:7px;margin-left:auto}.recipe.ready>i{background:#bdd39b;border-color:#bdd39b}.craft-detail{padding:7px 0}.craft-detail>.item-portrait{margin-bottom:18px}.costs{border-top:1px solid var(--line);flex-direction:column;gap:14px;margin:20px 0;padding-top:18px;display:flex}.cost{color:#adc1ac;align-items:center;gap:10px;font-size:14px;display:flex}.cost svg{width:20px;height:20px}.cost b{color:#c9d8ae;margin-left:auto;font-weight:500}.cost.missing b{color:#e3a28b}.craft-detail .primary{width:100%;margin-top:6px;font-size:14px}.skill-head{color:#abc0ac;justify-content:space-between;align-items:center;padding:27px 0 24px;font-size:14px;display:flex}.skill-head strong{color:var(--accent);font-weight:500}.skills-list{flex-direction:column;gap:13px;padding-bottom:29px;display:flex}.skill-row{border:1px solid var(--line);background:#08241e40;border-radius:6px;grid-template-columns:45px 1fr auto;align-items:center;gap:18px;padding:23px;display:grid}.skill-row>svg{color:#c4d3ab;width:35px;height:35px}.skill-row h3{margin:0 0 7px;font-size:17px;font-weight:500}.skill-row p{color:#9db6a3;margin:0;font-size:13px;line-height:1.5}.skill-level{gap:5px;margin-top:12px;display:flex}.skill-level i{background:#cdd7b320;border-radius:2px;width:27px;height:4px}.skill-level i.filled{background:#dbc68e}.skill-row button{color:#decea0;white-space:nowrap;background:#d9cf9a15;border:1px solid #d9cf9a42;border-radius:4px;padding:10px 14px;font-size:13px}.death{text-align:center}.death-symbol{color:var(--accent);margin:0 auto 20px;display:block}.death-symbol svg{width:60px;height:60px}.death h2{margin:10px 0 20px}.death .text-button{margin-top:14px}.fatal{z-index:50;text-align:center;background:#153b39;flex-direction:column;justify-content:center;align-items:center;padding:40px;display:flex;position:fixed;inset:0}.fatal p{color:#b6c7b8;max-width:550px;line-height:1.6}.small-screen{display:none}@media (width>=1800px){.welcome-content,.welcome-footer{left:10vw}}@media (width<=1000px){.experience{width:145px;left:20px}.quick-controls{right:17px}.hotbar button{width:48px;height:51px}.hotbar svg{width:27px;height:27px}.vitals{width:165px;top:22px;left:20px}.world-clock{top:19px;right:16px}.bag-body{gap:25px}.backpack{padding:24px 26px 0}.welcome-content{left:6vw}.welcome h1{font-size:90px}}@media (height<=730px){.welcome-content{transform:translateY(-50%)}.island-mark svg{width:40px;height:40px}.edition{margin-top:12px}.welcome h1{margin-bottom:18px;font-size:88px}.intro{margin-bottom:15px;font-size:24px}.welcome-description{margin-bottom:23px}.save-status{margin-top:17px}.dialog{max-height:94vh}.bag-body{min-height:300px;padding:20px 0}.inventory-cell{aspect-ratio:1.4}.backpack{max-width:930px}.skill-row{padding:16px}.help-steps p{font-size:14px}}@media (width<=650px){.small-screen{z-index:35;background:#173c39ed;border:1px solid #bdcda84a;border-radius:6px;flex-direction:column;gap:5px;padding:14px;font-size:13px;display:flex;position:fixed;inset:auto 12px 12px}.small-screen>span{color:#afc5b4}.welcome-content{width:85vw;top:45%;left:8vw}.welcome-footer{display:none}.welcome h1{font-size:80px}.welcome{background:linear-gradient(90deg,#102e2dea,#13312a85)}.dialog{width:calc(100vw - 24px)}.compact{padding:24px}.backpack{padding:20px 16px 0}.bag-body{grid-template-columns:1fr;gap:18px}.inventory-grid{grid-template-columns:repeat(4,1fr)}.item-detail{min-height:0}.vitals{gap:8px;width:130px}.compass,.experience,.quick-controls{display:none}.hotbar button{width:38px;height:44px}.hotbar svg{width:24px;height:24px}.skill-row{grid-template-columns:30px 1fr;gap:12px}.skill-row>button{grid-column:2;justify-self:start}.tabs{gap:20px}.bag-footer>span:last-child{display:none}.world-clock .icon-button{margin-left:0}.control-grid{grid-template-columns:1fr}.toasts{top:150px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.welcome-content{width:min(560px,65vw)}.welcome h1{margin:10px 0 16px;font-size:clamp(72px,7.6vw,120px)}.welcome-description{color:#e4ebdd;max-width:330px}.sea-nav{color:#f3f1df;text-shadow:0 1px 5px #04221d,0 1px 10px #04221d;position:absolute;top:157px;left:30px}.sea-nav small{letter-spacing:.05em;font-size:12px}.sea-nav div{align-items:center;gap:7px;margin-top:2px;display:flex}.sea-nav strong{font-size:14px;font-weight:600}.sea-nav i{color:#ffdc96;font-size:22px;font-style:normal;line-height:1.1}.chart{width:min(700px,94vw)}#chart-map{width:100%;height:auto;display:block}#chart-ports{gap:6px;padding:14px;display:flex}#chart-ports button{text-align:left;color:#d7e4da;border:1px solid var(--line);background:#ffffff08;border-radius:5px;flex:1;padding:10px}#chart-ports button[aria-pressed=true]{border-color:var(--accent);background:#e2c58b15}#chart-ports small{color:#bbcec3;margin-top:5px;display:block}@media (width<=1150px){.hotbar button{width:42px;height:42px}.quick-controls{gap:4px}}.chart .bag-header,.chart .bag-footer{padding:14px 20px}
