:root{font-family:Manrope,Arial,sans-serif;color:#fff;background:#a5d3dc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0}button:focus-visible,a:focus-visible{outline:3px solid #cff889;outline-offset:4px}#game{position:fixed;inset:0;width:100%;height:100%;display:block}header{position:fixed;top:0;left:0;width:100%;padding:27px 38px;display:flex;justify-content:space-between;align-items:center;z-index:4;background:linear-gradient(#102a263d,transparent);pointer-events:none}header>*{pointer-events:auto}.brand{display:flex;gap:12px;align-items:center;color:white;text-decoration:none;font-size:14px;font-weight:800;letter-spacing:2px}.logo{font-size:35px;color:#d0f39c;transform:rotate(-8deg)}.brand-small{display:block;font-size:8px;letter-spacing:3px;margin-top:4px;color:#e0e9df}.top-right{display:flex;align-items:center;gap:23px}.live{font-size:9px;letter-spacing:2px;font-weight:700}.live i{display:inline-block;width:6px;height:6px;background:#b6ec83;border-radius:50%;margin-right:8px}#menuButton{background:#1a302980;border:1px solid #ffffff35;border-radius:8px;padding:11px 16px;font-size:12px}#info{position:fixed;top:100px;right:38px;display:flex;flex-direction:column;text-align:right;gap:5px;font-size:11px;text-shadow:0 2px 6px #0009}#coords{opacity:.7;font-size:10px}#crosshair{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);font:25px monospace;text-shadow:0 1px 4px #0008;opacity:.8}#target{position:fixed;top:calc(50% + 25px);width:100%;text-align:center;font-size:11px;text-shadow:0 1px 4px #000}#overlay{position:fixed;inset:0;background:linear-gradient(90deg,#0d2524ec 0%,#15332ac9 35%,#18382f40 65%,transparent);display:flex;align-items:center;padding:100px 7vw 45px;z-index:3}.menu-shell{width:min(680px,100%)}.eyebrow{font-size:9px;font-weight:800;letter-spacing:2.3px;color:#c3e3ad}h1{font-size:clamp(50px,5.8vw,86px);line-height:1.08;letter-spacing:-4px;margin:24px 0;font-weight:800}h1 em{font-style:normal;color:#c2ed8c}.intro{font-size:14px;line-height:1.9;color:#d1dfd3}.badges{display:flex;gap:19px;font-size:10px;color:#cdddcf;margin:24px 0 32px}.primary{display:flex;justify-content:space-between;align-items:center;gap:60px;background:#c2ed8c;color:#1c3929;padding:20px 24px;border-radius:8px;font-size:14px;font-weight:800;box-shadow:0 7px 30px #142e2130;transition:.2s}.primary:hover{background:#d6ffa8;transform:translateY(-2px)}.primary span{font-size:22px}.menu-bottom{display:flex;gap:26px;color:#aac2af;font-size:7px;letter-spacing:1.3px;margin-top:17px}.quick{display:flex;gap:10px;margin-top:38px}.quick button{background:#ffffff09;border:1px solid #ffffff24;border-radius:7px;font-size:10px;padding:11px 14px;color:#d5e3d8}.quick button:hover{background:#ffffff20}.disclaimer{font-size:8px;color:#90a99b;margin-top:20px}#hud{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);text-align:center;z-index:2}.status{display:flex;justify-content:space-between;align-items:center;padding:0 5px 10px}.status>span{color:#fa8d7f;font-size:16px;letter-spacing:2px;text-shadow:0 2px 4px #263f29}.status small{font-size:8px;letter-spacing:1px}#hotbar{display:flex;gap:5px;background:#192e2bcc;border:1px solid #ffffff24;padding:7px;border-radius:11px;backdrop-filter:blur(12px)}.slot{position:relative;width:52px;height:52px;background:#ffffff0c;border:1px solid #ffffff12;border-radius:5px;display:grid;place-items:center}.slot.selected{border:2px solid #cbf397;background:#c2ed8c24}.slot small{position:absolute;top:3px;left:5px;font-size:8px;opacity:.6}.cube{width:25px;height:27px;display:block;box-shadow:inset -7px -5px #0003,inset 0 5px #ffffff30;transform:rotate(-8deg);border-radius:1px;image-rendering:pixelated}.help{font-size:8px;color:#fff;white-space:nowrap;margin-top:12px;text-shadow:0 1px 4px #000}.help b{margin:0 8px;opacity:.4}#toast{position:fixed;left:50%;top:110px;transform:translateX(-50%);padding:12px 20px;background:#183329e8;border:1px solid #c4e89566;border-radius:9px;font-size:12px;opacity:0;transition:opacity .2s;z-index:9;pointer-events:none}dialog{background:#172d27f5;color:white;border:1px solid #6e8b6b66;border-radius:18px;padding:30px;width:min(680px,94vw);box-shadow:0 20px 100px #0006;z-index:10}dialog::backdrop{background:#071c176b;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}h2{font-size:29px;letter-spacing:-1px;margin:8px 0 20px}.close{background:#ffffff12;border-radius:8px;width:35px;height:35px}nav{display:flex;border-bottom:1px solid #ffffff1c;gap:15px;margin-bottom:20px}.tab{background:none;padding:10px 15px;color:#a7bcae;font-size:12px}.tab.active{color:#c2ed8c;border-bottom:2px solid #c2ed8c}#items{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;max-height:48vh;overflow:auto}.item{background:#ffffff08;border:1px solid #ffffff12;border-radius:8px;padding:15px 7px;display:flex;align-items:center;flex-direction:column;gap:12px;font-size:10px}.item:hover{background:#c2ed8c20;border-color:#c2ed8c}.item .cube{width:31px;height:33px}.dialog-note{font-size:10px;color:#a3b9aa;margin:20px 0 0}.mod{grid-column:span 5;display:flex;justify-content:space-between;align-items:center;text-align:left;background:#ffffff08;border:1px solid #ffffff12;border-radius:8px;padding:15px}.mod strong{display:block;font-size:12px}.mod small{font-size:10px;color:#a3b9aa}.mod b{color:#c2ed8c;font-size:11px}#touch{display:none}#error{position:fixed;inset:25%;background:#172d27;padding:30px;z-index:99;border-radius:20px}body.menu #hud,body.menu #crosshair,body.menu #target{display:none}body.playing #overlay{display:none}@media(max-width:700px){header{padding:18px}.brand{font-size:11px}.live{display:none}#info{right:18px;top:80px}#overlay{padding:100px 25px 30px;align-items:center;background:linear-gradient(90deg,#102c27ed,#102c2760)}h1{font-size:54px;letter-spacing:-3px}.intro{font-size:12px}.badges{gap:10px;font-size:8px}.quick{gap:6px;margin-top:26px}.quick button{font-size:9px;padding:9px}.slot{width:35px;height:40px}#hud{bottom:18px}.cube{width:20px;height:23px}.help{display:none}.status>span{font-size:11px}.status small{font-size:7px}#items{grid-template-columns:repeat(4,1fr)}.mod{grid-column:span 4}dialog{padding:22px}.menu-bottom{font-size:6px}.eyebrow{font-size:8px}body.playing #touch{display:flex;position:fixed;bottom:100px;left:15px;right:15px;justify-content:space-between;pointer-events:none}.pad,.actions{pointer-events:auto}.pad{text-align:center}.pad button,.actions button{width:43px;height:43px;background:#16372c88;border:1px solid #ffffff55;border-radius:8px;margin:2px;touch-action:none}.actions{max-width:102px}#toast{top:85px;width:max-content;max-width:90vw;text-align:center}}

/* Local Cyrillic pixel font and the bevels of a classic voxel game UI. */
@font-face{font-family:VoxelPixel;src:url('./fonts/Tiny5-Regular.ttf') format('truetype');font-display:swap;font-weight:400 900}
:root{font-family:VoxelPixel,monospace;font-synthesis:none}
body{text-shadow:2px 2px #0008}button{font-weight:400!important;border-radius:0!important;text-shadow:2px 2px #0009;image-rendering:pixelated}header{padding:24px 30px}.brand{font-size:20px;letter-spacing:1px}.brand-small{font-size:12px;letter-spacing:2px}.logo{font-size:42px;transform:none}.live{font-size:14px;letter-spacing:1px}#menuButton{font-size:16px;border:2px solid #171717;background:#737373;box-shadow:inset 2px 2px #aaa,inset -2px -2px #444}#info{font-size:16px}#coords{font-size:14px}
#overlay{background:linear-gradient(90deg,#071014aa,#102c2940 70%,transparent);padding-left:7vw}.menu-shell{width:min(680px,100%)}h1{font-family:VoxelPixel,monospace;font-size:clamp(58px,7vw,96px);line-height:.95;letter-spacing:-2px;font-weight:400;text-transform:uppercase;color:#e5e5e5;-webkit-text-stroke:1px #333;text-shadow:3px 3px #222,5px 5px #222,7px 7px #222,9px 9px #111,10px 11px #050505;transform:perspective(900px) rotateX(5deg);margin:28px 0}h1 em{color:#c9d8bb}.eyebrow{font-size:13px;letter-spacing:1.3px}.intro{font-size:20px;line-height:1.4;color:#f2f2e8}.badges{font-size:14px;gap:20px;margin:25px 0}.primary{border:3px solid #10150d!important;background:#6a9047;color:#fff;box-shadow:inset 3px 3px #9ec56d,inset -3px -3px #39582b,0 4px #10150d;padding:17px 22px;font-size:22px;width:365px;max-width:100%}.primary:hover{background:#80a855;transform:none}.primary span{font-size:26px}.menu-bottom{font-size:10px;letter-spacing:1px;color:#e1e4d9}.quick{gap:10px;margin-top:30px}.quick button{background:#6b6b68;border:2px solid #171717;box-shadow:inset 2px 2px #a7a7a0,inset -2px -2px #3c3d38;padding:12px 15px;font-size:16px;color:white}.quick button:hover{background:#8b8d7c}.disclaimer{font-size:11px;color:#d0d4cc;max-width:490px}
#hotbar{gap:0;padding:4px;border:3px solid #191919;border-radius:0;background:#747474;box-shadow:inset 2px 2px #bcbcbc,inset -2px -2px #444;backdrop-filter:none}.slot{width:54px;height:54px;background:#8b8b8b;border:2px solid #373737!important;box-shadow:inset 2px 2px #555,inset -2px -2px #b0b0b0}.slot.selected{background:#aaa;border:3px solid #f6f6f6!important;box-shadow:inset 1px 1px #333,0 0 0 1px #191919;z-index:1}.slot small{font-size:12px;color:#fff;opacity:1;top:1px;left:3px}.cube{width:31px;height:31px;transform:none;border-radius:0;image-rendering:pixelated;box-shadow:inset -5px -5px #0003,inset 2px 2px #fff3;filter:drop-shadow(2px 3px 0 #0005)}.help{font-size:13px;margin-top:10px}.status{padding-bottom:8px}.status>span{font-family:monospace;font-size:20px;letter-spacing:0;color:#df3c35;text-shadow:2px 2px #3c0a09,-1px -1px #130705}.status small{font-size:12px}.mob-icon{width:40px;height:40px;image-rendering:pixelated;box-shadow:3px 3px #0004}
dialog{background:#c6c6c6;color:#292929;border:4px solid #171717;border-radius:0;box-shadow:inset 4px 4px #f3f3f3,inset -4px -4px #626262;text-shadow:none}dialog .eyebrow{color:#52643e}h2{font-size:35px;font-weight:400}.close{background:#888;border:2px solid #333;color:#fff;box-shadow:inset 2px 2px #ddd}nav{border-bottom:2px solid #888}.tab{color:#555;font-size:20px}.tab.active{color:#202a1a;border-bottom:3px solid #4c6532}.item{background:#8b8b8b;border:2px solid #373737;box-shadow:inset 2px 2px #555,inset -2px -2px #c5c5c5;color:#fff;font-size:16px;padding:16px 5px;gap:10px}.item:hover{background:#a6ad93;border-color:#eee}.dialog-note{font-size:16px;color:#3b3b3b;line-height:1.25}.mod{background:#999;border:2px solid #444;color:#fff;box-shadow:inset 2px 2px #ddd,inset -2px -2px #666}.mod strong{font-size:20px}.mod small{font-size:16px;color:#eee}.mod b{font-size:18px;color:#ecffba}#toast{font-size:18px;border-radius:0;background:#252b21ed;border:2px solid #b5c98d}#target{font-size:16px}#crosshair{font-size:28px;mix-blend-mode:difference}body.playing header .brand,body.playing .live{display:none}body.playing header{justify-content:flex-end;background:none;opacity:.8}
@media(max-width:700px){header{padding:16px}.brand{font-size:16px}.brand-small{font-size:10px}.eyebrow{font-size:11px}h1{font-size:64px}.intro{font-size:18px}.badges{font-size:11px;gap:10px}.quick button{font-size:13px;padding:10px}.primary{font-size:20px;width:330px}.menu-bottom{font-size:8px}.disclaimer{font-size:10px}.slot{width:35px;height:41px}.cube{width:24px;height:24px}.slot small{font-size:10px}.status>span{font-size:15px}.status small{font-size:10px}.help{display:none}.tab{font-size:18px}.item{font-size:14px}.mod strong{font-size:18px}.mod small{font-size:14px}.dialog-note{font-size:14px}#info{font-size:14px}#coords{font-size:12px}}
#hotbar{width:max-content;margin-inline:auto}.status{max-width:510px;margin-inline:auto}@media(max-width:700px){.status{max-width:345px}}
#crosshair,#target,#info,#toast,.help,.status{pointer-events:none}
/* Touch layout follows capability, including tablets wider than 700px. */
html,body{overscroll-behavior:none}#game{touch-action:none}#fullscreenButton{display:none;background:#737373;border:2px solid #171717;box-shadow:inset 2px 2px #aaa,inset -2px -2px #444;padding:9px 12px;font-size:22px}.orientation-tip{display:none}.touch-device #fullscreenButton{display:block}.touch-device header{padding:max(12px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) 12px max(14px,env(safe-area-inset-left))}.touch-device .top-right{gap:8px}.touch-device .live{display:none}.touch-device #overlay{padding-top:max(95px,calc(env(safe-area-inset-top) + 75px));padding-bottom:max(26px,env(safe-area-inset-bottom));overflow-y:auto;align-items:flex-start}.touch-device .orientation-tip{display:block;font-size:14px;color:#f2df99;margin:0 0 18px}.touch-device h1{font-size:clamp(45px,8.3vw,80px)}.touch-device .intro{font-size:18px}.touch-device .badges{flex-wrap:wrap;font-size:12px;gap:8px 15px}.touch-device .quick{flex-wrap:wrap}.touch-device .menu-bottom{flex-wrap:wrap;gap:10px}.touch-device body.playing #touch{display:block;position:fixed;inset:0;pointer-events:none;z-index:2}.touch-device #joystick{position:absolute;left:max(20px,env(safe-area-inset-left));bottom:calc(115px + env(safe-area-inset-bottom));width:124px;height:124px;border:2px solid #eef4dd77;background:#15271b55;border-radius:50%;pointer-events:auto;touch-action:none;box-shadow:inset 0 0 0 12px #10251b20;user-select:none}.joystick-arrows{position:absolute;inset:0;display:grid;place-items:center;font:88px monospace;line-height:1;color:#e0ecd233;text-shadow:none}#joystickKnob{position:absolute;left:50%;top:50%;width:47px;height:47px;background:#c4d1b899;border:2px solid #e4ecd2cc;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 3px 8px #0005;pointer-events:none}.touch-tools{position:absolute;top:max(76px,calc(env(safe-area-inset-top) + 65px));left:max(16px,env(safe-area-inset-left));display:flex;gap:6px;pointer-events:auto}.touch-actions{position:absolute;bottom:calc(111px + env(safe-area-inset-bottom));right:max(16px,env(safe-area-inset-right));display:grid;grid-template-columns:repeat(2,58px);gap:8px;pointer-events:auto}#touch button{background:#263e2bbf;border:2px solid #dbe3c58c;box-shadow:inset 2px 2px #d4e1bd30,inset -2px -2px #0d1c1666;color:#fff;touch-action:none;user-select:none;-webkit-user-select:none;min-width:48px;min-height:48px;font-size:27px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0;padding:4px}#touch button small{font-size:11px;line-height:1.1}#touch button.held{background:#8da65ac9;border-color:#efffd5}.touch-tools button{width:52px;height:49px}.touch-actions button{width:58px;height:58px}.look-hint{position:absolute;right:18px;bottom:calc(248px + env(safe-area-inset-bottom));font-size:11px;opacity:.7;pointer-events:none}.touch-device #hud{bottom:calc(12px + env(safe-area-inset-bottom));width:calc(100% - 20px);max-width:490px;z-index:3}.touch-device #hotbar{width:max-content;max-width:100%}.touch-device .slot{width:clamp(29px,8.2vw,48px);height:clamp(36px,9vw,48px);touch-action:manipulation;flex-shrink:0}.touch-device .cube{width:25px;height:25px}.touch-device .status{width:100%;max-width:460px}.touch-device .status>span{font-size:14px}.touch-device .status small{font-size:11px}.touch-device .help{display:none}.touch-device #info{top:max(80px,calc(env(safe-area-inset-top) + 70px));right:16px;font-size:13px}.touch-device #coords{font-size:11px}.touch-device #toast{top:max(132px,calc(env(safe-area-inset-top) + 112px));font-size:15px;max-width:90vw;width:max-content;pointer-events:none}.touch-device #target{font-size:14px}.touch-device dialog{max-height:calc(100dvh - 24px);padding:20px;overflow:auto}.touch-device #items{max-height:45dvh}.touch-device .item{min-height:80px;font-size:15px}.touch-device .tab{min-height:44px}.touch-device .close{min-width:44px;min-height:44px}.touch-device #menuButton{min-height:44px}
@media(pointer:coarse) and (orientation:portrait){.touch-device #overlay{padding-left:24px;padding-right:24px}.touch-device h1{font-size:clamp(40px,12.5vw,64px)}.touch-device .primary{width:100%}.touch-device .intro br{display:none}.touch-device .brand{font-size:15px}.touch-device .brand-small{font-size:9px}.touch-device .logo{font-size:30px}.touch-device .quick button{flex:1;font-size:13px;padding:10px 7px}}
@media(max-height:550px) and (orientation:landscape){.touch-device #overlay{padding:65px max(32px,env(safe-area-inset-right)) 20px max(32px,env(safe-area-inset-left))}.touch-device .menu-shell{display:grid;grid-template-columns:1fr 1fr;gap:8px 32px;width:100%;max-width:1000px;margin:auto}.touch-device .orientation-tip{display:none}.touch-device .eyebrow{grid-column:1;font-size:11px}.touch-device h1{grid-column:1;grid-row:2 / span 2;font-size:52px;line-height:.9;margin:6px 0 15px}.touch-device .intro{grid-column:1;grid-row:4;font-size:14px;line-height:1.2;margin:0}.touch-device .badges{grid-column:2;grid-row:1 / span 2;font-size:11px;margin:0;align-content:end}.touch-device .primary{grid-column:2;grid-row:3;font-size:19px;padding:11px 16px;width:100%;gap:15px}.touch-device .menu-bottom{grid-column:2;grid-row:4;font-size:8px;margin:0;align-content:start}.touch-device .quick{grid-column:2;grid-row:5;gap:5px;margin:3px 0}.touch-device .quick button{font-size:12px;padding:8px}.touch-device .disclaimer{grid-column:1 / span 2;font-size:9px;margin:8px 0 0}.touch-device #joystick{width:106px;height:106px;left:max(20px,env(safe-area-inset-left));bottom:calc(77px + env(safe-area-inset-bottom))}.touch-device #joystickKnob{width:43px;height:43px}.touch-device .touch-actions{bottom:calc(75px + env(safe-area-inset-bottom));grid-template-columns:repeat(2,52px);gap:6px}.touch-device .touch-actions button{width:52px;height:47px;min-height:44px;font-size:23px}.touch-device .touch-tools{top:max(14px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));gap:6px}.touch-device .touch-tools button{height:44px;min-height:44px}.touch-device .look-hint{bottom:calc(185px + env(safe-area-inset-bottom));right:16px;font-size:10px}.touch-device #info{top:max(68px,calc(env(safe-area-inset-top) + 60px))}.touch-device #hud{bottom:calc(8px + env(safe-area-inset-bottom));max-width:420px}.touch-device .slot{width:40px;height:39px}.touch-device .status{max-width:390px;padding-bottom:4px}.touch-device .status>span{font-size:12px}.touch-device .status small{font-size:10px}.touch-device #toast{top:65px;font-size:14px;max-width:60vw}.touch-device dialog{width:min(680px,95vw);max-height:calc(100dvh - 12px);padding:15px 22px}.touch-device h2{font-size:27px;margin:4px 0 8px}.touch-device dialog .eyebrow{font-size:10px}.touch-device nav{margin-bottom:10px}.touch-device .tab{padding:4px 13px;min-height:36px;font-size:17px}.touch-device #items{max-height:44dvh;grid-template-columns:repeat(8,1fr);gap:6px}.touch-device .item{min-height:72px;font-size:12px;padding:8px 4px}.touch-device .item .cube{width:24px;height:24px}.touch-device .mob-icon{width:30px;height:30px}.touch-device .mod{grid-column:span 8;padding:10px}.touch-device .mod strong{font-size:17px}.touch-device .mod small{font-size:13px}.touch-device .dialog-note{font-size:12px;margin-top:10px}.touch-device .brand{font-size:13px}.touch-device .brand-small{font-size:8px}.touch-device .logo{font-size:27px}}
#worldStatus{color:#dbefb9}#clockLabel{color:#fff2c7}#hurtFlash{position:fixed;inset:0;pointer-events:none;z-index:5;background:#bb29296b;opacity:0;transition:opacity .12s}#healthLabel.hurt{color:#fff}#worldDialog label{display:flex;flex-direction:column;gap:6px;font-size:18px;margin:12px 0}#worldDialog input,#worldDialog select{width:100%;min-height:45px;border:2px solid #333;background:#747474;color:#fff;box-shadow:inset 2px 2px #444;padding:9px 10px;font:18px VoxelPixel,monospace;border-radius:0}#worldDialog input::placeholder{color:#d7d7d7}#worldDialog .primary{width:100%;font-size:20px;margin:18px 0 14px}#worldDialog h3{font-size:24px;font-weight:400;margin:14px 0}.world-action{font:18px VoxelPixel,monospace;background:#777;color:#fff;border:2px solid #333;box-shadow:inset 2px 2px #bbb,inset -2px -2px #444;padding:10px 13px;min-height:44px}.world-action:disabled,#worldDialog button:disabled{opacity:.55;cursor:wait}.world-row{display:flex;flex-wrap:wrap;gap:8px}.world-row>*{flex:1}#worldMessage{line-height:1.35}#playerList,#hostHint{font-size:16px;line-height:1.3}#hostHint{color:#465638}#worldDialog{max-height:90dvh;overflow:auto}.quick{flex-wrap:wrap;max-width:600px}.quick #worldsButton{background:#617747;color:#fff;box-shadow:inset 2px 2px #9aaf78,inset -2px -2px #374527}.remote-name{font:14px VoxelPixel;image-rendering:pixelated}.touch-device #info{font-size:12px;max-width:45vw;pointer-events:none}.touch-device #worldStatus{max-width:45vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.touch-device #clockLabel{font-size:11px}.touch-device #worldDialog label{font-size:17px}.touch-device #worldDialog input,.touch-device #worldDialog select{font-size:17px}.touch-device .quick #worldsButton{flex-basis:100%}
@media(max-height:550px) and (orientation:landscape){.touch-device .menu-shell .quick{grid-column:2;grid-row:5;display:grid;grid-template-columns:repeat(2,1fr)}.touch-device .quick #worldsButton{grid-column:span 2}.touch-device #worldDialog{max-height:96dvh;padding:14px 20px}.touch-device #worldDialog h2{font-size:25px}.touch-device #worldDialog label{margin:7px 0}.touch-device #worldDialog input,.touch-device #worldDialog select{min-height:38px;padding:6px 10px;font-size:16px}.touch-device #worldDialog .primary{margin:10px 0}.touch-device #worldDialog .dialog-note{font-size:13px}.touch-device #info{top:65px;font-size:11px;gap:2px}}
@media(max-width:450px){#worldDialog{padding:18px}#worldDialog h2{font-size:28px}.quick #worldsButton{flex-basis:100%}.status small{max-width:46%;text-align:right}}
#soundButton{background:#737373;border:2px solid #171717;box-shadow:inset 2px 2px #aaa,inset -2px -2px #444;padding:9px 12px;font-size:22px;min-width:44px;min-height:44px}.touch-device .top-right{gap:5px}.touch-device header .brand{font-size:13px;letter-spacing:.5px}.touch-device header .brand-small{font-size:8px;letter-spacing:1px}.touch-device header .logo{font-size:25px}.touch-device #soundButton{padding:6px 9px}

[hidden]{display:none!important}

.stack-count{position:absolute;right:5px;bottom:3px;font-size:16px;text-shadow:2px 2px #000;z-index:2}.craft-summary,.tool-row{grid-column:1/-1}.craft-summary{padding:12px;background:#1c2924;line-height:1.7}.tool-row{display:flex;gap:8px;flex-wrap:wrap}.equipped{outline:2px solid #d5da85}.recipe{display:flex;flex-direction:column;gap:7px;text-align:left;background:#435044;padding:14px;color:#fff;border:2px solid #768470;cursor:pointer}.recipe small,.recipe span{font-size:13px;opacity:.85}.recipe:disabled{opacity:.45;cursor:default}#inventory nav{flex-wrap:wrap}

#healthLabel{white-space:nowrap;flex-shrink:0;letter-spacing:1px}.status{gap:12px}.status small{max-width:52%;text-align:right;font-size:11px}.touch-device .status{gap:5px}.touch-device #healthLabel{font-size:12px;letter-spacing:0}.touch-device .status small{font-size:9px;max-width:43%}

#tradeDialog{width:min(740px,95vw);max-height:92dvh;overflow:auto}#tradeDialog h2{font-size:30px}.trade-wallet{display:flex;align-items:center;gap:16px;padding:12px;background:#324c36;color:#fff;margin-bottom:14px}.trade-wallet img{width:50px;height:50px;image-rendering:pixelated}.trade-wallet span{display:flex;gap:12px;align-items:center;font-size:22px}.trade-wallet strong{font-size:30px}.emerald-icon{color:#6bee9a;text-shadow:1px 2px #184b2d;font-style:normal}#tradeOffers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:43dvh;overflow:auto;padding:3px}.trade-offer{display:flex;flex-direction:column;gap:8px;text-align:left;padding:13px;border:2px solid #3c453b;background:#68785f;box-shadow:inset 2px 2px #9aa88c,inset -2px -2px #424c3c;color:#fff;min-height:115px}.trade-offer:disabled{opacity:.47;cursor:default}.trade-product{display:flex;align-items:center;gap:10px}.trade-product .cube{width:28px;height:28px;flex-shrink:0}.trade-product strong{font-size:19px;font-weight:400}.trade-symbol{font:26px Arial,sans-serif}.trade-offer small{font-size:17px}.trade-owned{font-size:14px;opacity:.8}#tradeEquipment{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.touch-device #tradeDialog{max-height:96dvh;padding:15px}.touch-device #tradeOffers{max-height:42dvh}.touch-device .trade-offer{padding:10px;min-height:105px}.touch-device .trade-product strong{font-size:17px}@media(max-width:450px){#tradeOffers{gap:7px}.trade-product{align-items:flex-start;gap:6px}.trade-product strong{font-size:16px}.trade-offer small{font-size:15px}.trade-wallet span{font-size:18px}#tradeDialog h2{font-size:26px}}

.trade-offer:disabled{opacity:1;background:#a6ad9d;color:#364031;box-shadow:inset 2px 2px #c1c7b9,inset -2px -2px #7d8575}.trade-offer:disabled .trade-symbol{opacity:.6}
.trade-offer:disabled{text-shadow:none}
@media(orientation:landscape) and (max-height:520px){.touch-device #tradeDialog .eyebrow{display:none}.touch-device #tradeDialog .dialog-head{position:sticky;top:-15px;background:#c6c6c6;z-index:2}.touch-device #tradeDialog h2{font-size:24px;margin:0 0 8px}.touch-device #tradeDialog .trade-wallet{float:right;width:265px;min-height:45px;padding:6px 9px;margin:0 0 8px 10px}.touch-device #tradeDialog .trade-wallet img{width:32px;height:32px}.touch-device #tradeDialog .trade-wallet span{font-size:17px;gap:8px}.touch-device #tradeDialog .trade-wallet strong{font-size:23px}.touch-device #tradeDialog>nav{width:calc(100% - 280px);min-height:45px;margin:0 0 8px;align-items:center}.touch-device #tradeDialog .tab{font-size:16px;padding:5px 10px}.touch-device #tradeOffers{clear:both;grid-template-columns:repeat(3,minmax(0,1fr));max-height:42dvh;gap:7px}.touch-device #tradeDialog .trade-offer{min-height:86px;padding:8px;gap:4px}.touch-device #tradeDialog .trade-product strong{font-size:16px}.touch-device #tradeDialog .trade-offer small{font-size:15px}.touch-device #tradeDialog .trade-owned{font-size:12px}.touch-device #tradeEquipment{margin-top:7px}.touch-device #tradeMessage{font-size:12px;margin:8px 0 0;line-height:1.25}}
