@font-face{font-family:Pixelify;src:url('assets/fonts/pixelify-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Pixelify;src:url('assets/fonts/pixelify-bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{color-scheme:dark;--ink:#09233c;--deep:#113f65;--blue:#267aa9;--ice:#b4edf2;--paper:#fff8dc;--muted:#a9d4e5;--green:#a7cf73;--pixel:Pixelify,monospace}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#6d9c91;color:var(--paper);font:17px/1.25 var(--pixel)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ffe697;outline-offset:4px}button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:miter}a{color:#d0f2ee}button:hover:not(:disabled){filter:brightness(1.12)}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}kbd{font:12px var(--pixel);color:#d0edeb;border:1px solid #5c9dba;padding:1px 4px;background:#143d5d}
#game{position:relative;width:100%;height:100%;overflow:hidden}#game-canvas{display:block;width:100%;height:100%;touch-action:none;outline:none;image-rendering:pixelated}.glass{background:#163e59e8;border:3px solid var(--ink);box-shadow:inset 2px 2px #99d6e3,inset -2px -2px #1b577b,0 0 0 1px #b4dbe4,0 4px 0 #09233cbf}
/* A small map and a single row of slots are the default play interface. */
.minimap{position:absolute;right:22px;top:22px;width:132px;padding:7px 7px 5px;overflow:hidden}.minimap canvas{display:block;width:112px;height:112px;image-rendering:pixelated;border:1px solid #061e32}.minimap-caption{display:flex;align-items:center;justify-content:space-between;margin-top:5px;font-size:11px;letter-spacing:.6px}.minimap-caption kbd{font-size:10px}.map-north{position:absolute;right:13px;top:11px;font-size:12px;color:#fff4ba;text-shadow:1px 1px #09233c}.menu-shortcut{position:absolute;right:166px;top:22px;width:35px;height:35px;padding:5px;display:grid;place-items:center}.menu-shortcut svg{width:19px;height:19px}.has-toolbar .minimap,.has-toolbar .menu-shortcut{top:105px}
.bottom-hud{position:absolute;bottom:25px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none}.bottom-hud>*{pointer-events:auto}.hotbar-wrap{position:absolute;left:50%;bottom:0;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:8px}.hotbar{display:flex;gap:3px;padding:5px;background:#16334bd9;box-shadow:inset 2px 2px #b9dfdf,inset -2px -2px #19334e,0 0 0 1px #c5e5e4,0 4px 0 #081d30}.hotbar button{position:relative;display:grid;place-items:center;width:46px;height:47px;padding:3px;border:2px solid #0a253b;background:#285572;box-shadow:inset 2px 2px #457e94,inset -2px -2px #143b58}.hotbar button.active{border-color:#fff3b3;background:#5b8e88;box-shadow:inset 2px 2px #d5e7b0,inset -2px -2px #376e6e}.block-image{width:32px;height:32px;image-rendering:pixelated;object-fit:contain}.hotbar button>span{position:absolute;left:3px;top:0;font-size:10px;line-height:1;color:#c7e2e3}.hotbar button:last-child{font-size:14px;background:#244b6b}.hotbar .stack-count{position:absolute;right:2px;bottom:0;padding:0 2px;color:#fff4c3;background:#12324cd6;font:10px var(--pixel)}.hotbar-label{display:flex;width:100%;justify-content:space-between;font-size:12px;text-shadow:2px 2px #183c43}.build-info{width:100%;font-size:13px;text-align:center;text-shadow:2px 2px #153c44}.mining-track{height:3px;background:#102e4166;margin-top:5px}.mining-track i{display:block;height:100%;width:0;background:#ffe99c}.build-toggle{position:absolute;right:-88px;bottom:0;padding:10px;font-size:13px}.build-toggle[data-mode=place]{color:#ffe4a0}.exploration-note{font-size:12px;padding:3px 7px;background:#173e4bab;text-shadow:1px 1px #09233c}.controls-hint{display:flex;gap:9px;padding:10px;font-size:13px}.controls-hint>span{display:flex;gap:3px;align-items:center}.spawn-button{padding:10px;display:flex;align-items:center;gap:8px;font-size:14px}
/* Optional overlays are opt-in and stored in this browser. */
.top-hud{position:absolute;left:22px;right:22px;top:22px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;pointer-events:none}.top-hud>*{pointer-events:auto}.brand{display:flex;gap:9px;align-items:center;text-decoration:none;padding:10px 13px;font-size:19px;font-weight:700}.brand small{display:block;font-size:9px;letter-spacing:1px;color:var(--muted);margin-top:3px}.logo-cube{font-size:30px;color:#cef2d4}.build-tag{font-size:12px;margin-left:9px;color:#add7dc}.header-actions{display:flex;align-items:center;gap:7px}.text-button,.square-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:7px 12px;font-size:15px}.square-button{width:39px;padding:5px;font-size:22px}.connection-state{padding:9px;font-size:14px;color:#e4cea2}.connection-state[data-state=online]{color:#d7eeb4}.location{position:absolute;top:22px;left:22px;padding:13px 17px;min-width:225px;pointer-events:none}.has-toolbar .location{top:109px}.location h1{font-size:25px;line-height:1;margin:10px 0}.location-data{display:flex;gap:9px;font-size:13px}.location>p{font-size:11px;margin:9px 0 0;color:#afd4da}.location .eyebrow{font-size:10px}.location .eyebrow i{width:4px;height:4px;background:#bdde8d}.camera-controls{position:absolute;right:22px;top:188px;display:flex;align-items:center;padding:3px;font-size:14px}.has-toolbar .camera-controls{top:271px}.camera-controls button{width:28px;height:28px;background:none;box-shadow:none;border:0;padding:4px;font-size:22px}.camera-controls>span{padding:0 4px}.corner-credit{position:absolute;left:20px;bottom:6px;font-size:9px;color:#e6f1e1a6;text-shadow:1px 1px #163e44;pointer-events:none}.corner-credit span{margin-right:7px}.debug{position:absolute;top:250px;left:22px;white-space:pre;font:12px/1.5 var(--pixel);padding:12px;pointer-events:none}
/* Pale stepped trim and hard shadows replace the former glass cards. */
.modal-backdrop{position:fixed;inset:0;background:#051c3194;backdrop-filter:blur(3px);z-index:20}.panel{position:fixed;z-index:30;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100% - 40px));max-height:calc(100dvh - 56px);overflow:auto;padding:25px 28px 27px;border:4px solid #092940;background:linear-gradient(135deg,#215d88,#174769);box-shadow:inset 3px 3px #d5f4ed,inset -3px -3px #3b93b3,0 0 0 2px #83c9db,0 7px 0 2px #071b2e;scrollbar-color:#91cfda #163b5d;scrollbar-width:thin}.panel::before{content:'';position:absolute;width:32px;height:5px;left:15px;top:4px;background:#e2faf1;box-shadow:8px 5px #b8e6e7,24px 0 #97cc87}.panel::after{content:'';position:absolute;right:8px;bottom:4px;width:30px;height:4px;background:#79a765;box-shadow:-7px -4px #b1d17d}.panel.wide{width:min(700px,calc(100% - 40px))}.panel h2{font-size:32px;line-height:1.05;margin:7px 35px 18px 0;color:#f3ffeb;text-shadow:2px 3px #0d2c4d;font-weight:700}.eyebrow{display:flex;align-items:center;gap:7px;font-size:12px;letter-spacing:2px;color:#bcdfc0}.panel-intro{font-size:16px;line-height:1.4;color:#c9e5e9;margin:0 0 18px}.panel-footnote{font-size:14px;line-height:1.4;color:#acd0dd;margin:15px 0 0}.panel>label,.panel label[for]{display:block;margin:17px 0 7px;font-size:17px;color:#e5efce}.panel label small{font-size:12px;float:right;color:#a6cbd8}.panel input:not([type=checkbox]),.panel select{display:block;width:100%;min-height:43px;padding:9px 12px;color:#fff5d4;border:3px solid #09253d;background:#123b5d;box-shadow:inset 2px 2px #092940,0 1px #9ed3df;border-radius:0;font-size:17px}.panel input[readonly]{color:#bedbe0}.panel select{appearance:auto;color-scheme:dark}.panel button:not(.close-panel),.chat-box form button{min-height:39px;padding:8px 12px;background:linear-gradient(#328bb6 0 45%,#2778a6 45% 100%);border:3px solid #0a2944;box-shadow:inset 2px 2px #c0e9ed,inset -2px -2px #22537e,0 0 0 1px #7abace,0 3px 0 #082239;text-shadow:1px 2px #153b61;font-size:18px;border-radius:0}.panel button.primary-button{background:linear-gradient(#b6d987 0 45%,#8cbd6b 45%);color:#fff9d5;box-shadow:inset 2px 2px #e1efb1,inset -2px -2px #618c56,0 0 0 1px #c2dca1,0 3px 0 #082239;text-shadow:1px 2px #466941}.primary-button{width:100%;margin-top:18px}.close-panel{position:absolute;right:12px;top:12px;display:grid;place-items:center;width:28px;height:28px;border:2px solid #082942;background:#397fac;box-shadow:inset 1px 1px #bfe8e7,0 2px #08213a;color:#fff2cb;font-size:25px;line-height:1}.panel .quiet-button{width:100%;margin-top:12px}.lab-link{display:block;margin-top:22px;text-align:center;font-size:14px}.settings-panel{width:min(680px,calc(100% - 40px))}.settings-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:10px 0 23px}.panel .settings-tabs button[aria-pressed=true]{background:#8dba6e;box-shadow:inset 2px 2px #dbe8ab,inset -2px -2px #61834b,0 0 0 1px #a8ca8d,0 3px 0 #082239;text-shadow:1px 2px #43613e}.preset-row{display:flex;gap:12px;margin-bottom:18px}.preset-row button{flex:1}.hud-settings,.settings-switches{display:grid;grid-template-columns:1fr 1fr;gap:10px 22px;padding:4px 0 16px}.settings-switches{padding-top:18px;border-top:2px solid #8ac5d93d}.hud-settings label,.settings-switches label,.creative-switch{display:flex;gap:9px;align-items:center;font-size:16px;color:#d7e5dc;min-height:27px}.panel input[type=checkbox]{appearance:none;flex:none;width:19px;height:19px;margin:0;border:2px solid #0c2b43;background:#143858;box-shadow:inset 1px 1px #78a8bb,1px 1px #76aac1}.panel input[type=checkbox]:checked{background:#add27b;box-shadow:inset 3px 3px #cee6a1,inset -3px -3px #719b59}.panel input[type=checkbox]:checked::after{content:'✓';display:block;text-align:center;line-height:14px;color:#173c35;font:bold 16px var(--pixel)}.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:23px}.panel-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px;padding-top:18px;border-top:2px solid #84c0d54d}.panel-actions .primary-button{margin:0}
/* The launch menu uses the live game as its scenery. */
.on-launch .modal-backdrop{background:linear-gradient(#102f5140,#091d3799);backdrop-filter:blur(5px) brightness(.86)}.on-launch .top-hud,.on-launch .location,.on-launch .minimap,.on-launch .menu-shortcut,.on-launch .camera-controls,.on-launch .bottom-hud,.on-launch .chat-box,.on-launch #touch-controls,.on-launch .corner-credit,.on-launch .debug{visibility:hidden}.join-panel{width:min(850px,calc(100% - 30px));max-height:calc(100dvh - 24px);padding:12px 15px 15px;border:0;background:transparent;box-shadow:none;overflow:auto;text-align:center;scrollbar-width:none}.join-panel::before,.join-panel::after{display:none}.title-logo{display:block;width:min(100%,760px);height:auto;max-height:260px;object-fit:contain;margin:0 auto;image-rendering:pixelated;filter:drop-shadow(0 7px 0 #08213590)}.launch-tagline{margin:5px 0 27px;font-size:15px;letter-spacing:2px;color:#f1f8de;text-shadow:2px 2px #153755}.launch-menu{width:min(440px,100%);margin:auto}.launch-menu form{margin:0}.join-panel .play-button{margin:12px 0 0;min-height:51px;font-size:25px}.play-button span{font-size:19px;padding-right:6px}.guest-options{text-align:left;margin-bottom:15px;border:3px solid #0c2a46;background:#154b70;box-shadow:inset 2px 2px #a0d9e1,0 0 0 1px #82bbce,0 3px 0 #082139}.guest-options summary{cursor:pointer;padding:12px 15px;color:#def0dd;font-size:17px}.guest-fields{padding:0 14px 17px}.join-panel label[for]{font-size:15px;margin:10px 0 5px}.join-panel input:not([type=checkbox]),.join-panel select{font-size:17px;min-height:39px}.join-status{font-size:13px;color:#d0e4dc;line-height:1.3;margin:12px 0 0;min-height:17px;text-shadow:1px 1px #153953}.launch-actions{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:17px}.join-panel .quiet-button{width:auto;border:0;box-shadow:none;background:none;text-shadow:1px 1px #102f4e;font-size:15px;margin-top:15px;color:#cee0e0;min-height:24px;padding:4px 10px}.launch-version{font-size:11px;letter-spacing:1px;color:#a9c7d2;margin:18px 0 0}
/* Every other window shares the same palette and framing. */
.block-catalog{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.panel .block-catalog button{padding:10px 5px;font-size:14px;min-height:100px;display:flex;align-items:center;flex-direction:column;gap:4px}.block-catalog .block-image{width:42px;height:42px}.stack-count{color:#f7e8a9;font-size:12px}.block-detail{padding:14px;margin-top:17px;background:#0c3553;border:2px solid #79adc260}.block-detail strong,.block-detail small{display:block}.block-detail strong{font-weight:400;font-size:18px;color:#e6efc7}.block-detail small{font-size:14px;line-height:1.4;color:#accbdb;margin-top:5px}.inventory-summary{color:#e8d59e;font-size:17px}.creative-switch{margin-bottom:9px}.inventory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}.panel .inventory-slot{position:relative;display:flex;align-items:center;flex-direction:column;gap:5px;padding:13px 5px;font-size:14px;min-height:101px}.inventory-slot strong{font-size:16px;color:#fff2b5;font-weight:400}.inventory-slot.empty{opacity:.42}.inventory-slot .block-image{width:40px;height:40px}.map-panel{width:min(590px,calc(100% - 40px))}.map-panel>canvas{display:block;width:100%;height:auto;max-height:40dvh;object-fit:contain;background:#133f5b;border:3px solid #08263d;image-rendering:pixelated}.travel-heading{display:flex;justify-content:space-between;align-items:center;margin:18px 0 12px;font-size:14px;color:#e5e8bd}.travel-heading small{color:#a6ced7;font-size:12px}.biome-travel{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.panel .biome-travel button{font-size:14px;padding:8px 5px;text-align:left;display:flex;align-items:center;gap:7px}.biome-travel i{display:block;width:9px;height:9px;flex:none;box-shadow:1px 1px #08263d}.key-guide{display:grid;grid-template-columns:155px 1fr;gap:12px 16px;margin:20px 0;font-size:15px}.key-guide dt{color:#e4e9b3}.key-guide dd{margin:0;color:#b9d7e0}.roster-row{padding:13px 0;border-bottom:2px solid #8bbad43d;font-size:17px}.credits-copy{font-size:16px;color:#b5d3dd;line-height:1.45}.credits-copy strong{font-weight:400;color:#fff1bf}.credits-copy p{margin:18px 0}
.chat-box{position:absolute;left:22px;bottom:110px;width:290px;padding:10px;z-index:5}.chat-box>button{display:flex;justify-content:space-between;align-items:center;width:100%;border:0;background:none;color:#e4ebcc;padding:0 0 7px;font-size:15px}.chat-box #chat-messages{max-height:95px;overflow:auto;font-size:14px;line-height:1.4;color:#c0d9df;scrollbar-width:thin}.chat-box strong{color:#e9dda9;font-weight:400}.system-message{color:#8fb8c9;font-size:12px}.chat-box form{display:none;gap:6px;margin-top:9px}.chat-box.expanded{z-index:15}.chat-box.expanded form{display:flex}.chat-box.expanded #chat-messages{max-height:190px}.chat-box input{min-width:0;width:100%;padding:8px;border:2px solid #09243f;background:#123852;color:#f9f4d2;border-radius:0;font-size:16px}.chat-box form button{padding:2px 8px;min-height:35px}#touch-controls{position:absolute;bottom:125px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none}.dpad{display:grid;grid-template-columns:repeat(3,35px);grid-template-rows:repeat(3,35px);padding:5px;pointer-events:auto}.dpad button{border:0;box-shadow:none;background:transparent;font-size:25px;touch-action:none;user-select:none;color:#e1edcc}.dpad button:nth-child(1){grid-column:2}.dpad button:nth-child(2){grid-column:1;grid-row:2}.dpad span{grid-column:2;grid-row:2;display:grid;place-items:center;color:#91b3a8}.dpad button:nth-child(4){grid-column:3;grid-row:2}.dpad button:nth-child(5){grid-column:2;grid-row:3}#touch-jump{width:65px;height:65px;font-size:14px;pointer-events:auto;touch-action:none;user-select:none}.toast{position:absolute;bottom:115px;left:50%;transform:translateX(-50%);max-width:calc(100% - 40px);padding:11px 17px;z-index:40;text-align:center;font-size:16px}.loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#153d57;z-index:50;font-size:22px}.loading p{font-size:16px;color:#a6cbd4}.loading-cube{font-size:60px;color:#c7e6b3;margin-bottom:15px}
@media(max-width:900px){.brand small,.build-tag,.connection-state{display:none}.brand{font-size:16px;padding:10px}.header-actions{gap:5px}.text-button{padding:7px;font-size:13px}.text-button kbd{display:none}.controls-hint{display:none}.location{min-width:190px}.has-toolbar .location{top:92px}.has-toolbar .minimap,.has-toolbar .menu-shortcut{top:88px}}
@media(max-width:600px){.panel{width:calc(100% - 28px);max-height:calc(100dvh - 30px);padding:23px 18px}.panel h2{font-size:28px}.settings-panel{width:calc(100% - 28px)}.panel-intro{font-size:15px}.hud-settings,.settings-switches{gap:9px 12px}.hud-settings label,.settings-switches label{font-size:14px}.settings-tabs{gap:8px}.panel .settings-tabs button{font-size:16px}.panel button:not(.close-panel){font-size:16px}.minimap{top:16px;right:16px;width:112px;padding:6px}.minimap canvas{width:94px;height:94px}.minimap-caption{font-size:9px}.minimap-caption kbd{font-size:9px}.menu-shortcut{right:140px;top:16px;width:33px;height:33px}.bottom-hud{bottom:22px;left:12px;right:12px}.hotbar{gap:2px;padding:4px}.hotbar button{width:34px;height:39px;padding:2px}.hotbar .block-image{width:28px;height:28px}.hotbar button:last-child{font-size:12px}.hotbar .stack-count{font-size:9px}.hotbar button>span{font-size:9px}.build-toggle{position:static;order:-1;width:100%;padding:6px}.hotbar-label,.build-info{font-size:11px}.exploration-note{font-size:10px;white-space:nowrap}.spawn-button{position:absolute;bottom:150px;right:3px;font-size:12px}.top-hud{left:16px;right:16px;top:16px;gap:8px;flex-wrap:wrap}.brand{font-size:15px}.brand .logo-cube{display:none}.header-actions{gap:4px}.header-actions svg{width:15px;height:15px}.header-actions .text-button{padding:6px;font-size:11px;min-height:34px}.header-actions kbd,.header-actions #world-settings span,.header-actions #open-blocks span{display:none}.square-button{width:32px;min-height:34px}.location{top:16px;left:16px;min-width:0;max-width:215px;padding:10px}.location h1{font-size:20px}.location-data{font-size:11px}.location .eyebrow{font-size:8px}.location>p{font-size:9px}.has-toolbar .location{top:125px}.has-toolbar .minimap,.has-toolbar .menu-shortcut{top:125px}.camera-controls{right:16px;top:164px}.has-toolbar .camera-controls{top:273px}.corner-credit{font-size:7px;left:12px}.debug{left:16px;top:252px;font-size:10px}.chat-box{left:16px;bottom:130px;width:220px}.chat-box #chat-messages{max-height:65px;font-size:12px}.chat-box.expanded{width:calc(100% - 32px)}.chat-box.expanded #chat-messages{max-height:155px}.join-panel{width:calc(100% - 22px);padding:10px 9px;max-height:calc(100dvh - 20px)}.title-logo{max-height:180px}.launch-tagline{font-size:11px;letter-spacing:1px;margin:5px 0 21px}.launch-menu{width:min(390px,100%)}.join-panel .play-button{font-size:23px}.join-panel .quiet-button{font-size:14px}.launch-version{margin-top:12px}.block-catalog{grid-template-columns:repeat(4,1fr);gap:7px}.panel .block-catalog button{font-size:11px;min-height:87px;padding:9px 3px}.block-catalog .block-image{width:34px;height:34px}.inventory-grid{grid-template-columns:repeat(3,1fr);gap:8px}.panel .inventory-slot{font-size:12px;padding:11px 4px}.key-guide{grid-template-columns:125px 1fr;gap:12px;font-size:13px}.biome-travel{gap:7px}.panel .biome-travel button{font-size:12px}.travel-heading{display:block}.travel-heading small{display:block;margin-top:4px}.panel-actions{gap:10px}.panel .panel-actions button{font-size:16px}.toast{bottom:103px;font-size:14px}.on-launch .title-logo{max-height:185px}}
@media(max-height:650px) and (min-width:601px){.title-logo{max-height:165px}.launch-tagline{margin-bottom:17px}.join-panel{padding-top:5px}.guest-fields{display:grid;grid-template-columns:100px 1fr;gap:7px 10px}.join-panel label[for]{margin:8px 0}.join-panel .play-button{min-height:43px;font-size:23px}.launch-actions{margin-top:13px}.launch-version{margin:10px 0 0}.guest-options{margin-bottom:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.join-panel:has(.guest-options[open]) .title-logo{max-height:180px;width:min(100%,650px)}
@media(max-width:600px){.join-panel:has(.guest-options[open]) .title-logo{max-height:140px}.join-panel:has(.guest-options[open]) .launch-tagline{margin-bottom:13px}}
.panel-actions:has(#title-screen[hidden]){grid-template-columns:1fr}
.panel .inventory-slot{min-height:90px;padding:8px 4px;gap:3px}.inventory-slot .block-image{width:32px;height:32px}.inventory-slot strong{font-size:14px}.inventory-grid{margin-top:16px}
.panel.join-panel .play-button{font-size:25px}.panel.join-panel .quiet-button{border:0;box-shadow:none;background:none;font-size:15px;min-height:24px;padding:4px 10px}
/* The title is a window into the live world; the camera moves, the guest stays put. */
.on-launch .modal-backdrop{background:linear-gradient(#102f5118,#091d376e);backdrop-filter:blur(2px) brightness(.88)}
.join-panel{width:min(1000px,calc(100% - 30px));padding:20px 25px 18px;overflow-x:hidden}
.title-art{position:relative;width:min(800px,100%);margin:0 auto 32px;padding-bottom:13px}
.title-art .title-logo{width:100%;max-height:245px}
.title-splash{position:absolute;right:1%;bottom:4%;max-width:85%;font-size:clamp(18px,2.8vw,28px);font-weight:700;line-height:1.05;color:#fff23c;text-shadow:2px 2px #574217,3px 3px #102f4e;transform:rotate(-13deg);animation:splash-bounce .8s ease-in-out infinite alternate;pointer-events:none}
@keyframes splash-bounce{from{transform:rotate(-13deg) scale(1)}to{transform:rotate(-13deg) scale(1.05)}}
.launch-tagline{font-size:12px;letter-spacing:2px;margin:0 0 22px;color:#cde6e3}
.launch-menu{width:min(430px,100%)}
.join-panel .play-button{margin-top:0}.guest-options{margin-bottom:16px}.guest-options summary{text-align:center;padding:9px 15px}
.join-panel:has(.guest-options[open]) .title-art{width:min(650px,100%);margin-bottom:24px}.join-panel:has(.guest-options[open]) .title-logo{max-height:180px;width:100%}
@media(max-width:600px){.join-panel{padding:10px 12px}.title-art{margin-bottom:25px;padding-bottom:15px}.title-art .title-logo{max-height:180px}.title-splash{font-size:clamp(15px,4.2vw,23px);right:2%;bottom:0}.launch-tagline{font-size:10px;letter-spacing:1px;margin-bottom:18px}.join-panel:has(.guest-options[open]) .title-art{margin-bottom:20px}.join-panel:has(.guest-options[open]) .title-logo{max-height:140px}}
@media(max-height:650px) and (min-width:601px){.title-art{width:min(600px,100%);margin-bottom:18px}.title-art .title-logo{max-height:165px}.launch-tagline{margin-bottom:14px}.join-panel:has(.guest-options[open]) .title-art{margin-bottom:15px}}
.launch-menu .guest-options{margin:18px 0 0}
/* Native radio controls keep the portrait picker keyboard-accessible. */
.character-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0;border:0;padding:0;margin:14px 0 0;grid-column:1 / -1}
.character-picker legend{padding:0 0 8px;font-size:15px;color:#e5efce}.character-option{cursor:pointer;min-width:0;margin:0}
.panel .character-option input{position:absolute;width:1px;height:1px;min-height:0;padding:0;border:0}
.character-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-height:102px;padding:4px 2px 8px;border:3px solid #09253d;background:#123b5d;box-shadow:inset 2px 2px #5e9ab4,0 2px #082239;color:#d4e4df;font-size:13px}
.character-card canvas{display:block;width:64px;height:72px;max-width:100%;object-fit:contain;image-rendering:pixelated}.character-option:hover .character-card{background:#235d7d}
.character-option input:checked+.character-card{border-color:#e2edb3;background:#456f5b;box-shadow:inset 2px 2px #8fb984,0 2px #082239;color:#fff7ce}
.character-option input:checked+.character-card::after{content:'✓';position:absolute;right:4px;top:1px;color:#fff0a1;font-size:14px}
.character-option input:focus-visible+.character-card{outline:3px solid #ffe697;outline-offset:3px}
@media(max-width:600px){.character-picker{gap:5px}.character-card{font-size:12px;min-height:96px;padding-bottom:6px}.join-panel:has(.guest-options[open]) .title-logo{max-height:105px}}
/* A parchment inventory in a stone frame, with real sprite and item previews. */
.panel.inventory-panel{width:min(800px,calc(100% - 36px));max-height:calc(100dvh - 30px);padding:15px 26px 18px;border:10px solid #63829b;background:linear-gradient(115deg,#f4ead3,#e6d5b4);color:#283c4b;box-shadow:inset 4px 4px #fff8e5,inset -4px -4px #c1ab87,0 0 0 3px #11263c,0 0 0 6px #c8dce4,0 7px 0 6px #12253a;scrollbar-color:#7f96a5 #d9c6a4;overflow:auto}
.inventory-panel::before,.inventory-panel::after{display:none}.inventory-corner{position:absolute;width:40px;height:40px;image-rendering:pixelated;pointer-events:none;z-index:1;filter:drop-shadow(2px 3px #18363380)}.corner-nw{left:0;top:0}.corner-ne{right:0;top:0}.corner-sw{left:0;bottom:0}.corner-se{right:0;bottom:0}
.inventory-panel .close-panel{z-index:3;right:8px;top:8px;width:35px;height:35px;border:3px solid #4c2028;background:linear-gradient(#de5c54 45%,#af343d 45%);box-shadow:inset 2px 2px #ffd4b3,inset -2px -2px #7f2832,0 2px #253747;color:#fff9e9;font-size:29px}
.inventory-header{text-align:center;margin:-8px 0 16px}.inventory-header>img{display:block;width:240px;height:80px;object-fit:contain;margin:0 auto -4px;image-rendering:pixelated}.inventory-panel .inventory-header h2{display:inline-block;margin:0;padding:5px 34px 7px;background:linear-gradient(#f9dfae,#e9c98e);border:3px solid #9a744c;box-shadow:inset 2px 2px #fff1cc,inset -2px -2px #c49c67,0 3px #24384d;font-size:28px;line-height:1;text-shadow:1px 1px #fff4da;color:#253a4e}
.inventory-overview{display:grid;grid-template-columns:1fr 1.2fr;gap:24px;align-items:stretch;margin-bottom:16px}.inventory-portrait{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;margin:0;min-width:0;min-height:185px;background:radial-gradient(ellipse at 50% 30%,#3e4d60,#253243);border:4px solid #b9cbd5;outline:2px solid #3c5365;box-shadow:inset 3px 3px #1b2b40,inset -3px -3px #6e8498}
.inventory-portrait canvas{display:block;width:192px;height:176px;max-width:100%;object-fit:contain;image-rendering:pixelated;margin-top:-5px;margin-bottom:-12px}.inventory-portrait figcaption{display:flex;flex-direction:column;gap:2px;text-align:center;color:#ebeddf;padding:0 8px 10px;font-size:14px}.inventory-portrait figcaption strong{font-weight:400;color:#fff2c9}.inventory-portrait figcaption span{font-size:11px;color:#9eb8c9}
.inventory-row-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:15px;margin:10px 0 7px;color:#344853}.inventory-row-heading small{font-size:11px;color:#7b725f}
.inventory-panel .inventory-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px;margin:0;padding:4px;background:#8da2af;border:2px solid #3c5365;box-shadow:inset 1px 1px #e3e9de,0 2px #fdf4dc}
.inventory-panel .inventory-slot,.inventory-panel button.inventory-slot{position:relative;display:grid;place-items:center;aspect-ratio:1;min-width:0;min-height:0;margin:0;padding:4px;border:2px solid #b0c1cd;background:linear-gradient(125deg,#637282,#4d5d70);box-shadow:inset 2px 2px #273e54,inset -1px -1px #8498a9;opacity:1;border-radius:0;font-size:14px;text-shadow:1px 1px #11283c}
.inventory-panel .inventory-slot.active{border-color:#fff2be;box-shadow:inset 2px 2px #8dac9c,0 0 0 1px #243c50;background:#607d77}.inventory-panel .inventory-slot .block-image{width:40px;height:40px;max-width:100%;max-height:100%;filter:drop-shadow(2px 3px #122c453d)}.inventory-panel .inventory-slot strong{position:absolute;right:4px;bottom:1px;font-size:14px;font-weight:400;color:#fff8dd;text-shadow:1px 1px #112538,1px -1px #112538,-1px 1px #112538,-1px -1px #112538}.inventory-panel .slot-key{position:absolute;left:4px;top:2px;font-size:10px;color:#b9cfda}.inventory-panel .inventory-slot:disabled{opacity:.5}.inventory-tip{margin:13px 0 0;font-size:12px;text-align:center;color:#7a6a50}
@media(max-height:950px) and (min-width:601px){.panel.inventory-panel{width:min(740px,calc(100% - 36px));padding:10px 22px 14px}.inventory-header{margin-bottom:11px}.inventory-header>img{width:190px;height:63px;margin-bottom:-6px}.inventory-panel .inventory-header h2{font-size:25px;padding:4px 30px}.inventory-overview{margin-bottom:10px}.inventory-portrait{min-height:151px}.inventory-portrait canvas{width:150px;height:137px;margin-top:-4px;margin-bottom:-6px}.inventory-supplies h3{font-size:20px;margin-bottom:8px}.inventory-held>span{width:46px;height:46px}.inventory-held .block-image{width:34px;height:34px}.inventory-panel .inventory-summary{margin:8px 0}.inventory-panel .creative-switch{margin-bottom:8px;font-size:13px}.inventory-row-heading{margin:8px 0 5px}.inventory-tip{margin-top:10px}}
@media(max-width:600px){.panel.inventory-panel{padding:10px 12px 13px;border-width:7px;width:calc(100% - 28px)}.inventory-header{margin-bottom:13px}.inventory-header>img{width:185px;height:62px}.inventory-panel .inventory-header h2{font-size:24px;padding:5px 26px}.inventory-overview{grid-template-columns:.85fr 1.15fr;gap:12px;margin-bottom:12px}.inventory-portrait{min-height:145px}.inventory-portrait canvas{width:128px;height:118px;margin:0 0 -7px}.inventory-portrait figcaption{font-size:11px;padding-bottom:8px}.inventory-portrait figcaption span{font-size:10px}.inventory-supplies h3{font-size:17px;margin-bottom:8px}.inventory-held{gap:7px}.inventory-held>span{width:40px;height:40px;border-width:2px}.inventory-held .block-image{width:30px;height:30px}.inventory-held strong{font-size:14px}.inventory-held>div>span{font-size:11px}.inventory-panel .inventory-summary{font-size:11px;margin:8px 0}.inventory-panel .creative-switch{font-size:11px;gap:5px;margin-bottom:8px}.inventory-panel .creative-switch input{width:16px;height:16px}.inventory-panel button#inventory-palette{font-size:11px;padding:4px 7px;min-height:27px}.inventory-row-heading{font-size:13px}.inventory-row-heading small{font-size:9px}.inventory-panel .inventory-grid{gap:2px;padding:2px}.inventory-panel .inventory-slot,.inventory-panel button.inventory-slot{padding:2px;border-width:1px}.inventory-panel .inventory-slot .block-image{width:28px;height:28px}.inventory-panel .inventory-slot strong{font-size:10px;right:2px}.inventory-panel .slot-key{font-size:8px;left:2px;top:0}.inventory-tip{font-size:10px}.inventory-corner{width:30px;height:30px}.inventory-panel .close-panel{width:29px;height:29px;font-size:24px}}
.inventory-panel .creative-switch:has(input:disabled){opacity:.52;cursor:not-allowed}
/* The toolbox keeps the familiar horizontal bar at the bottom of the screen. */
.hotbar-wrap.toolbox{left:50%;right:auto;bottom:0;transform:translateX(-50%);position:absolute;width:min(424px,calc(100vw - 32px));display:block;padding:6px;background:#24445eea;border:3px solid #09253d;box-shadow:inset 2px 2px #b8ced4,inset -2px -2px #102c47,0 2px #082239;pointer-events:auto}
.toolbox-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;color:#fff2c8;font-size:16px}.toolbox-heading strong{font-weight:400}.toolbox-heading button{border:1px solid #a6c6ce;background:#315e78;color:#e9edd5;padding:4px 7px;font-size:12px;box-shadow:inset 1px 1px #6e9fae;min-height:26px}.toolbox-heading kbd{font-size:10px}
.toolbox #hotbar{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;padding:0;box-shadow:none;background:none}.toolbox #hotbar button{width:100%;height:47px;position:relative;display:grid;place-items:center;border:2px solid #90aaba;background:#405b70;box-shadow:inset 2px 2px #162e46;touch-action:none;user-select:none}.toolbox #hotbar button.active{border-color:#fff1b0;background:#54796f;box-shadow:inset 2px 2px #abc2a1}.toolbox #hotbar button .block-image{width:32px;height:32px;pointer-events:none}.toolbox #hotbar strong{position:absolute;right:2px;bottom:0;color:#fff5ce;font-size:11px;font-weight:400;text-shadow:1px 1px #10293e}.toolbox .slot-key{position:absolute;left:3px;top:0;font-size:9px;color:#bdd4dd}.toolbox .build-toggle{right:0;bottom:calc(100% + 8px)}
.inventory-open .toolbox{visibility:hidden}.inventory-panel .inventory-quickbar{grid-template-columns:repeat(8,minmax(0,1fr))}.inventory-panel button.inventory-slot{touch-action:none;user-select:none}.inventory-panel .inventory-slot.stack-focused{border-color:#fff1bb;background:#536f76}.inventory-panel .inventory-slot:focus-visible{outline:3px solid #ffe6a0;outline-offset:0}.slot-drop-target{outline:3px solid #e6f1ae!important;outline-offset:-3px!important;filter:brightness(1.18)}
.stack-drag{position:fixed;left:0;top:0;transform:translate(-50%,-50%);margin:0;z-index:100;pointer-events:none;width:48px;height:48px;filter:drop-shadow(2px 3px #071f38a0)}.stack-drag img{display:block;object-fit:contain;width:48px;height:48px;image-rendering:pixelated}.stack-drag strong{position:absolute;right:0;bottom:0;color:#fff6d9;font:15px Pixelify;text-shadow:1px 1px #10253b,-1px -1px #10253b}
@media(max-width:600px){.hotbar-wrap.toolbox{width:min(330px,calc(100vw - 24px));padding:4px}.toolbox #hotbar button{height:39px}.toolbox-heading{font-size:14px;margin-bottom:6px}.toolbox #hotbar button .block-image{width:28px;height:28px}.toolbox #hotbar strong{font-size:10px}.bottom-hud{bottom:18px}.on-launch .toolbox{visibility:hidden}}

@media(max-height:950px) and (min-width:601px){.panel.inventory-panel{width:min(700px,calc(100% - 36px))}.inventory-panel .inventory-slot,.inventory-panel button.inventory-slot{aspect-ratio:1.18}.inventory-panel .inventory-header{margin-bottom:8px}.inventory-header>img{width:175px;height:58px}.inventory-overview{gap:18px}.inventory-panel .inventory-tip{font-size:11px}}

.inventory-slot:not(.empty){cursor:grab}.inventory-slot:active:not(:disabled){transform:none}.inventory-dragging,.inventory-dragging *{cursor:grabbing!important}

.inventory-crafting{display:flex;flex-direction:column;justify-content:center;min-width:0}.inventory-crafting h3{font-size:24px;font-weight:400;color:#2d4050;margin:0 0 16px}.crafting-layout{display:grid;grid-template-columns:1fr 30px .55fr;gap:12px;align-items:center}.crafting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.crafting-arrow{font-size:32px;color:#647c89;text-align:center}.inventory-panel .crafting-output{width:100%;aspect-ratio:1;border-width:3px}.inventory-panel .crafting-output:disabled{opacity:1;cursor:default}.inventory-panel .crafting-grid .inventory-slot{aspect-ratio:1}.inventory-overview{min-height:205px}.inventory-portrait canvas{margin:0}.inventory-row-heading{margin-top:13px}
@media(max-height:950px) and (min-width:601px){.inventory-overview{min-height:180px}.inventory-crafting h3{font-size:22px;margin-bottom:12px}.crafting-layout{gap:10px}.inventory-header>img{width:200px;height:67px}}
@media(max-width:600px){.inventory-overview{min-height:150px;gap:12px;grid-template-columns:.85fr 1.15fr}.inventory-crafting h3{font-size:17px;margin-bottom:10px}.crafting-layout{grid-template-columns:1fr 16px .55fr;gap:6px}.crafting-grid{gap:3px}.crafting-arrow{font-size:19px}.inventory-panel .crafting-output{border-width:2px}.inventory-panel .crafting-output .block-image,.inventory-panel .crafting-grid .block-image{width:26px;height:26px}}
