@font-face{font-family:Minecraftia;src:url('/fonts/Minecraftia.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
:root{color-scheme:dark;--ink:#fff;--muted:#a5a5a5;--accent:#54ff54;--gold:#ffe14a;--mono:Minecraftia,"Courier New",monospace;font-family:var(--mono);font-size:13px;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%}body{background:#171717;background-image:linear-gradient(45deg,#191919 25%,transparent 25%,transparent 75%,#191919 75%),linear-gradient(45deg,#191919 25%,transparent 25%,transparent 75%,#191919 75%);background-size:32px 32px;background-position:0 0,16px 16px;color:var(--ink);font-family:var(--mono);-webkit-font-smoothing:none;overflow:hidden}h1,h2,h3,p{margin:0;font-weight:400}[hidden]{display:none!important}button,input,select{font:inherit;color:inherit;min-width:0}button{display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;min-height:42px;border:9px solid transparent;border-image:url('/ui/button.png') 3 fill / 9px round;border-radius:0;background:transparent;padding:0 8px;font-size:12px;line-height:1.6;color:#fff;text-shadow:2px 2px 0 #3f3f3f;image-rendering:pixelated;transition:filter 60ms steps(2,end),transform 60ms steps(2,end)}button:hover{filter:brightness(1.22)}button:active{filter:brightness(.88);transform:translateY(2px)}button:disabled{border:3px solid transparent;border-image:url('/ui/button-disabled.png') 1 fill / 3px round;color:#888;cursor:not-allowed;filter:none;text-shadow:1px 1px #222;transform:none}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid #ffe14a;outline-offset:3px}button svg,summary svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:miter;stroke-linecap:square;shape-rendering:crispEdges}svg{display:block}input,select{width:100%;border:6px solid transparent;border-image:url('/ui/field.png') 2 fill / 6px stretch;border-radius:0;image-rendering:pixelated;background:transparent;padding:5px 7px 1px;font-size:12px;line-height:1.7;min-height:40px;outline:none}input::placeholder{color:#8f8f8f}input:focus,select:focus{filter:brightness(1.12)}select{cursor:pointer}select option{background:#171717;color:#fff}label{display:block;font-size:11px;line-height:1.8;color:#b0b0b0;margin:11px 0 5px}h2{font-size:13px;line-height:1.7;color:#fff;text-shadow:2px 2px #303030}input[type=checkbox]{appearance:none;width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0;border:3px solid transparent;border-image:url('/ui/field.png') 2 fill / 3px stretch;background:#151515;position:relative;cursor:pointer}input[type=checkbox]:checked:after{content:'';position:absolute;left:3px;top:0;width:5px;height:9px;border:solid #54ff54;border-width:0 3px 3px 0;transform:rotate(45deg);filter:drop-shadow(1px 1px #163a10)}input[type=checkbox]:disabled{cursor:not-allowed}.game-panel{width:calc(100% - 32px);max-width:1800px;height:calc(100dvh - 32px);margin:16px auto;padding:8px 9px 0;border:24px solid transparent;border-image:url('/ui/panel.png') 8 fill / 24px stretch;image-rendering:pixelated;display:flex;flex-direction:column;min-height:0}.topbar{display:flex;align-items:center;gap:24px;min-height:54px;padding:0 12px 11px;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;white-space:nowrap}.brand-mark{color:#a6e872;width:26px;height:26px;filter:drop-shadow(2px 2px #202020)}.brand h1{font-size:19px;line-height:1.6;text-shadow:2px 2px #3f3f3f;padding-top:5px}.edition-note{font-size:11px;color:#a5a5a5;padding-top:5px}.edition-note span{color:#54ff54;margin:0 4px}.top-actions{display:flex;gap:8px;margin-left:auto}.top-actions button{min-height:41px;font-size:11px;padding-left:10px;padding-right:10px}.top-actions .share-button{color:#54ff54;text-shadow:2px 2px #163a10}.top-actions svg{width:14px;height:14px}.page{display:flex;flex-direction:column;flex:1;min-height:0}.app-shell{display:grid;grid-template-columns:310px minmax(0,1fr);gap:11px;flex:1;min-height:0}.sidebar{min-height:0;overflow:auto;overscroll-behavior:contain;border:12px solid transparent;border-image:url('/ui/dark.png') 6 fill / 12px stretch;image-rendering:pixelated;padding:12px 10px 15px;scrollbar-width:thin;scrollbar-color:#a0a0a0 #252525}.sidebar::-webkit-scrollbar{width:13px;background:url('/ui/scrollbar.png');background-size:100% 100%}.sidebar::-webkit-scrollbar-thumb{border:3px solid #5c5c5c;background:#9b9b9b;box-shadow:inset 2px 2px #cecece,inset -2px -2px #454545}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.tiny-label{font-size:9px;color:#919191;line-height:1.7;white-space:nowrap}.seed-row{display:flex;align-items:stretch;gap:6px}.seed-row input{font-size:11px}.seed-row button{flex:0 0 40px;width:40px;min-height:40px;padding:0}.seed-row button svg{width:16px;height:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.check-row{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.7;margin-top:11px;min-height:22px}.primary{width:100%;justify-content:space-between;margin-top:14px;min-height:44px;color:#54ff54;text-shadow:2px 2px #163a10;font-size:12px}.primary svg{width:17px;height:17px}.import-panel{margin-top:12px}.import-panel summary{display:flex;align-items:center;gap:8px;list-style:none;font-size:10px;line-height:1.8;color:#a5a5a5;cursor:pointer}.import-panel summary:hover{color:#ffe14a}.import-panel summary>span{margin-left:auto;color:#c8c8c8;font-size:15px}.import-panel summary svg{width:14px;height:14px}.import-panel[open] summary>span{transform:rotate(45deg)}summary::-webkit-details-marker{display:none}#save-file{font-size:9px;padding:5px;line-height:1.8;max-width:100%}#save-file::file-selector-button{font:inherit;color:#fff;border:0;background:#555;padding:5px;margin-right:5px;cursor:pointer;box-shadow:inset 2px 2px #999,inset -2px -2px #333}.display-panel,.layers,.progress-panel{margin-top:19px;padding-top:16px;border-top:2px solid #151515;box-shadow:0 -1px #555}.section-icon{width:16px;height:16px;fill:none;stroke:#b0b0b0;stroke-width:1.5;shape-rendering:crispEdges}.display-grid{grid-template-columns:1.55fr 1fr}.display-grid input,.display-grid select{font-size:11px}.grid-check>span{margin-left:auto;font-size:9px;color:#8f8f8f}.layers>summary{list-style:none;cursor:pointer}.layers>summary:hover h2{color:#ffe14a}.layers .tiny-label{margin-left:auto;font-size:8px}.chevron{width:12px;height:12px;transition:transform 60ms steps(2,end);color:#aaa}.layers[open] .chevron{transform:rotate(180deg)}.help{font-size:10px;line-height:1.9;color:#a0a0a0;margin-top:8px}.layer-help{font-size:9px;margin-top:7px}.layer-search{position:relative;margin-top:11px}.layer-search svg{position:absolute;top:12px;left:11px;width:13px;height:13px;fill:none;stroke:#a0a0a0;stroke-width:1.6;shape-rendering:crispEdges;z-index:1}.layer-search input{padding-left:27px;font-size:10px}#layers{margin-top:10px}.layer-item{display:flex;align-items:center;gap:7px;min-height:36px;padding:4px 3px;margin:0 -3px;cursor:pointer}.layer-item:hover{background:#ffffff10}.layer-item>span{font-size:11px;line-height:1.8;color:#e3e3e3;min-width:0}.layer-item small{margin-left:auto;font-size:8px;line-height:1.8;color:#a1a1a1;white-space:nowrap}.layer-item.disabled{opacity:.42;cursor:default}.layer-item:has(input:checked)>span{color:#fff}.layer-icon,.place-icon{image-rendering:pixelated;object-fit:contain;flex-shrink:0}.layer-icon{width:24px;height:24px;background:url('/ui/slot.png');background-size:100% 100%;padding:3px}.place-icon{display:block;width:52px;height:52px;margin-bottom:8px;background:url('/ui/slot.png');background-size:100% 100%;padding:6px}.count{display:flex;align-items:center;justify-content:center;font-size:10px;line-height:1.7;color:#ffe14a;min-width:24px;min-height:24px;padding:3px 5px 0;background:url('/ui/slot.png');background-size:100% 100%;image-rendering:pixelated}#progress:empty::before{content:'Select a place on the map to start your exploration list.';display:block;font-size:10px;line-height:1.9;color:#999;padding:14px 5px 4px}.checked-place{display:block;text-align:left;width:100%;margin-top:7px;min-height:48px;font-size:10px;color:#54ff54;text-shadow:1px 1px #163a10}.checked-place small{display:block;font-size:9px;color:#c8c8c8;line-height:1.8;margin-top:3px;text-shadow:1px 1px #303030}.progress-help,.sidebar-foot{font-size:9px;line-height:1.9;color:#888}.sidebar-foot{margin-top:17px}.workspace{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative;border:12px solid transparent;border-image:url('/ui/dark.png') 6 fill / 12px stretch;image-rendering:pixelated;padding:0;outline:none}.map-toolbar{min-height:55px;display:flex;align-items:center;gap:15px;padding:3px 12px 10px;flex-shrink:0}.dimensions{display:flex;gap:6px;flex-shrink:0}.dimensions button{min-height:40px;padding:0 8px;font-size:10px;border-width:3px;border-image:url('/ui/button-disabled.png') 1 fill / 3px round;color:#bcbcbc}.dimensions button.active{border-width:9px;border-image:url('/ui/button.png') 3 fill / 9px round;color:#ffe14a;text-shadow:2px 2px #554810;padding:0 5px}.dimension-icon{display:inline-block;width:14px;height:14px;flex-shrink:0;image-rendering:pixelated}.overworld-icon{background:linear-gradient(#83aa4a 0 40%,#734d30 40% 80%,#523620 80%);box-shadow:inset 3px 0 #ffffff20,inset -3px 0 #0003}.nether-icon{background:linear-gradient(90deg,#a8372d 0 30%,#72231f 30% 70%,#a8372d 70%);box-shadow:inset 0 3px #d04b33,inset 0 -3px #481817}.end-icon{background:#a995c9;box-shadow:inset 3px 3px #d5c5e5,inset -3px -3px #6e558a}#map-summary{margin-left:auto;font-size:9px;color:#aaa;line-height:1.8;text-align:right;max-width:260px;padding-top:3px}#map-area{position:relative;flex:1;min-height:250px;overflow:hidden;background:#111;border:3px solid #151515;box-shadow:0 1px #5b5b5b,inset 0 0 0 2px #333}canvas{position:absolute;width:100%;height:100%;image-rendering:pixelated;cursor:grab;touch-action:none}canvas.dragging{cursor:grabbing}.map-grid{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 2px #0003}.zoom-controls{position:absolute;right:13px;top:13px;display:flex;flex-direction:column;gap:5px}.zoom-controls button{width:39px;height:39px;min-height:39px;font-size:20px;line-height:1;padding:0;text-shadow:2px 2px #333}.zoom-controls #origin{font-size:12px}.zoom-controls #origin svg{width:17px;height:17px}.map-corner{position:absolute;left:13px;bottom:13px;display:flex;align-items:center;gap:13px;font-size:9px;color:#fff;line-height:1.8;text-shadow:2px 2px #222}.north{display:flex;gap:6px;align-items:center;border:6px solid transparent;border-image:url('/ui/field.png') 2 fill / 6px stretch;background:transparent;padding:5px 7px 2px}.north svg{width:10px;height:15px;fill:#ff5555;stroke:#401010;stroke-width:1;shape-rendering:crispEdges}#scale{border:2px solid #fff;border-top:0;padding:3px 5px 4px;background:#0005;font-size:9px;line-height:1.6;box-shadow:1px 1px #222}.map-hint{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);font-size:9px;line-height:1.8;color:#fff;text-shadow:2px 2px #222;white-space:nowrap;pointer-events:none}.map-hint>span{margin:0 6px;color:#b0b0b0}#loading{position:absolute;top:13px;left:13px;display:flex;align-items:center;gap:9px;border:12px solid transparent;border-image:url('/ui/dark.png') 6 fill / 12px stretch;image-rendering:pixelated;padding:7px 9px 3px;font-size:11px;line-height:1.8;text-shadow:1px 1px #222;color:#ffe14a}#loading:before{content:'';width:7px;height:7px;background:#54ff54;box-shadow:7px 0 #54ff5450,0 7px #54ff5450,-7px 0 #54ff5450,0 -7px #54ff5450;margin:5px;animation:loading-pixel 1.2s steps(4) infinite}@keyframes loading-pixel{to{transform:rotate(360deg)}}#map-legend{position:absolute;left:13px;bottom:64px;display:flex;gap:5px;flex-wrap:wrap;max-width:calc(100% - 85px);pointer-events:none}#map-legend:empty{display:none}#map-legend .legend-item{display:inline-flex;align-items:center;gap:6px;padding:6px 8px 3px;background:#111e;border:2px solid #4a4a4a;box-shadow:2px 2px #0008;color:#ddd;font-size:9px;line-height:1.7;text-shadow:1px 1px #111}.swatch{display:inline-block;width:9px;height:9px;background:var(--swatch);border:1px solid #ffffff40;flex-shrink:0}.map-footer{display:flex;align-items:center;gap:14px;min-height:61px;padding:10px 12px 0;flex-shrink:0}.map-footer form{display:flex;align-items:center;gap:6px;flex-shrink:0}.coordinate-input{display:flex;align-items:center;min-width:0;border:6px solid transparent;border-image:url('/ui/field.png') 2 fill / 6px stretch;background:transparent;image-rendering:pixelated;min-height:38px}.coordinate-input label{padding:2px 0 0 5px;margin:0;font-size:10px;color:#aaa;line-height:1.8}.coordinate-input input{border:0;border-image:none;min-height:26px;padding:3px 5px 0;width:83px;font-size:11px;line-height:1.8;appearance:textfield}.coordinate-input input:focus-visible{outline:none}.coordinate-input:focus-within{outline:2px solid #ffe14a;outline-offset:1px}.coordinate-input input::-webkit-outer-spin-button,.coordinate-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.map-footer button{min-height:38px;padding:0 5px;font-size:10px;white-space:nowrap;gap:5px}.map-footer button svg{width:14px;height:14px}#cursor{font-size:9px;color:#c0c0c0;line-height:1.8;text-align:right;margin-left:auto;max-width:390px}#notice{position:absolute;left:50%;bottom:90px;transform:translateX(-50%);display:none;width:max-content;max-width:90%;background:#111f;border:3px solid #65328a;box-shadow:0 0 0 3px #160b22;padding:12px 15px 7px;font-size:11px;line-height:1.8;color:#54ff54;text-shadow:1px 1px #111;z-index:5}#notice.visible{display:block}#place{position:absolute;right:13px;bottom:13px;width:280px;border:18px solid transparent;border-image:url('/ui/panel.png') 8 fill / 18px stretch;image-rendering:pixelated;padding:10px 9px 9px;box-shadow:4px 6px 0 #0006;z-index:3}#place h3{font-size:13px;line-height:1.8;text-shadow:2px 2px #303030;padding-right:18px;margin-bottom:8px;color:#5fd3e6}#place p{font-size:10px;line-height:1.9;color:#b5b5b5;margin:8px 0}#place p:first-of-type{color:#ffe14a}#place button{width:100%;font-size:10px;color:#54ff54;text-shadow:1px 1px #163a10;margin-top:8px;line-height:1.8;min-height:42px;padding:0 3px}#place .close{position:absolute;right:1px;top:1px;width:28px;height:28px;min-height:28px;padding:0;margin:0;border-width:6px;border-image-width:6px;font-size:16px;line-height:1;color:#ff5555;text-shadow:1px 1px #3a1010}.page-footer{display:flex;justify-content:space-between;gap:15px;flex-shrink:0;font-size:9px;line-height:1.8;color:#9b9b9b;padding:10px 4px 0;min-height:28px}.mobile-world-bar{display:none}.skip-link{position:fixed;top:-80px;left:25px;z-index:10;color:#ffe14a;background:#151515;border:2px solid #ffe14a;padding:14px;font-size:12px;text-decoration:none}.skip-link:focus{top:20px}
@media(min-width:1600px){.app-shell{grid-template-columns:336px minmax(0,1fr)}.sidebar{padding:14px}.brand h1{font-size:21px}.map-toolbar{min-height:60px}.dimensions button{font-size:12px}.map-footer button{font-size:11px}.layer-item>span{font-size:12px}}
@media(max-width:1200px){.game-panel{width:calc(100% - 20px);height:calc(100dvh - 20px);margin:10px auto;border-width:18px;border-image-width:18px;padding:6px 5px 0}.app-shell{grid-template-columns:280px minmax(0,1fr);gap:9px}.sidebar{padding:10px 7px}.map-toolbar{gap:8px;flex-wrap:wrap;padding-bottom:8px}.dimensions{gap:4px}.dimensions button{font-size:9px;padding-left:5px;padding-right:5px}.dimension-icon{width:12px;height:12px}#map-summary{font-size:8px;line-height:1.7;max-width:220px}.map-hint{display:none}#cursor{font-size:8px;max-width:240px}.coordinate-input input{width:65px;font-size:10px}.map-footer{gap:7px}.map-footer button{font-size:9px;gap:4px}.topbar{gap:15px}.edition-note{font-size:10px}.layer-item>span{font-size:10px}.layer-item small{font-size:7px}.layer-icon{width:23px;height:23px}.layer-item{gap:6px}.layer-item input{width:16px;height:16px;min-height:16px;flex-basis:16px}}
@media(max-width:1000px){.edition-note{display:none}.app-shell{grid-template-columns:270px minmax(0,1fr)}.workspace{border-width:9px;border-image-width:9px}.map-toolbar{gap:7px;padding:3px 8px 9px}.dimensions{width:100%}.dimensions button{flex:1;gap:5px;min-height:38px}.dimensions button.active{padding-left:2px;padding-right:2px}#map-summary{max-width:none;width:100%;text-align:left;margin-left:0;padding-left:3px;line-height:1.6}#cursor{display:none}.map-footer form{width:100%}.coordinate-input{flex:1}.coordinate-input input{width:100%;min-width:0}.map-footer #spawn{flex-shrink:0}.layer-item>span{font-size:10px}.map-footer{min-height:58px}#map-legend .legend-item{font-size:8px}.top-actions button{font-size:10px}.topbar{min-height:54px}}
@media(max-width:720px){html,body{height:auto;min-height:100%}body{overflow:auto}.game-panel{width:calc(100% - 12px);height:auto;min-height:calc(100dvh - 12px);margin:6px auto;border:12px solid transparent;border-image:url('/ui/panel.png') 8 fill / 12px stretch;padding:4px 1px 1px;filter:none}.topbar{padding:0 7px 12px;gap:10px;min-height:54px;flex-wrap:wrap}.brand{gap:7px}.brand-mark{width:22px;height:22px}.brand h1{font-size:15px;line-height:1.7;padding-top:4px}.top-actions{gap:6px;width:100%;margin-left:0}.top-actions button{flex:1;min-height:38px;padding:0 4px;font-size:9px;gap:4px;border-width:6px;border-image-width:6px}.top-actions svg{width:13px;height:13px}.top-actions .quiet-button{width:38px;min-width:38px;flex:0 0 38px;padding:0}.top-actions .quiet-button span{display:none}.page{min-height:0}.mobile-world-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 3px 10px;color:#b0b0b0;font-size:10px;line-height:1.8}.mobile-world-bar>span{padding-top:3px}.mobile-world-bar button{font-size:10px;min-height:37px;padding:0 4px;gap:5px}.mobile-world-bar button svg{width:12px;height:12px}.mobile-world-bar button[aria-expanded=true]{color:#ffe14a;text-shadow:1px 1px #554810}.app-shell{display:flex;flex-direction:column;gap:9px;flex:none}.sidebar{display:none;overflow:visible;border-width:12px;border-image-width:12px;padding:13px 10px}.sidebar.is-open{display:block}.sidebar h2{font-size:13px}.sidebar label{font-size:11px}.sidebar input,.sidebar select{font-size:12px}.sidebar .tiny-label{font-size:9px}.sidebar .seed-row input{font-size:11px}.sidebar .layer-search input{font-size:10px}.sidebar .layer-item{min-height:37px;gap:8px}.sidebar .layer-item>span{font-size:11px}.sidebar .layer-item small{font-size:8px}.sidebar .layer-item input{width:18px;height:18px;min-height:18px;flex-basis:18px}.sidebar .layer-icon{width:26px;height:26px}.sidebar .progress-panel,.sidebar .sidebar-foot{display:none}.sidebar .display-grid input,.sidebar .display-grid select{font-size:11px}.sidebar #layers{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.workspace{height:74dvh;min-height:460px;max-height:1100px;border-width:9px;border-image-width:9px;flex:none}.map-toolbar{padding:2px 7px 10px;gap:7px;min-height:69px}.dimensions{gap:4px}.dimensions button{font-size:9px;min-height:37px;padding:0 4px;gap:6px}.dimensions button.active{padding-left:3px;padding-right:3px}.dimension-icon{width:11px;height:11px}#map-summary{font-size:8px;line-height:1.7;padding:0 2px}#map-area{min-height:270px;border-width:2px}.zoom-controls{right:8px;top:8px;gap:4px}.zoom-controls button{width:35px;height:35px;min-height:35px;font-size:18px;border-width:6px;border-image-width:6px}.zoom-controls #origin svg{width:15px;height:15px}.map-corner{left:8px;bottom:9px;gap:9px;font-size:8px}.north{padding:3px 5px 0;gap:4px}.north svg{width:8px;height:12px}#scale{font-size:8px;padding:3px 3px 2px}#map-legend{left:8px;bottom:56px;max-width:calc(100% - 55px);gap:4px}#map-legend .legend-item{font-size:8px;padding:4px 5px 1px;gap:5px;line-height:1.8}.swatch{width:7px;height:7px}#loading{top:8px;left:8px;border-width:9px;border-image-width:9px;padding:5px 5px 2px;font-size:9px;gap:6px}.map-footer{min-height:53px;padding:8px 7px 0;gap:5px}.map-footer form{gap:4px}.coordinate-input{min-height:34px;border-width:4px;border-image-width:4px}.coordinate-input label{padding-left:3px;font-size:9px}.coordinate-input input{font-size:10px;min-height:24px;padding:3px 4px 0}.map-footer button{border-width:6px;border-image-width:6px;min-height:34px;padding:0 3px;font-size:9px;gap:3px}.map-footer #spawn svg{display:none}.map-footer #jump-form>button:first-of-type>span[aria-hidden]{display:none}#place{right:7px;bottom:7px;width:min(270px,calc(100% - 14px));border-width:15px;border-image-width:15px;padding:9px 6px 6px}#place h3{font-size:12px}#place p{font-size:10px}#place button{font-size:10px}#notice{bottom:76px;max-width:95%;font-size:10px;padding:10px 10px 6px;line-height:1.9}.page-footer{font-size:8px;padding:10px 3px 0;line-height:1.8;gap:10px;min-height:24px}.page-footer span:last-child{text-align:right}}
@media(max-width:480px){.sidebar #layers{grid-template-columns:1fr}.mobile-world-bar>span{font-size:9px}.mobile-world-bar button{font-size:9px}.page-footer span:first-child{display:none}.page-footer{justify-content:center}.page-footer span:last-child{text-align:center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Minecraftia's supplied glyphs sit above the line-box center. Offset text only. */
.button-label{position:relative;top:2px;min-width:0}
.top-actions button{align-items:center;padding-top:0;padding-bottom:0;line-height:1.6;white-space:nowrap}
.top-actions button>svg,.dimensions .dimension-icon,.map-footer button>svg{align-self:center;margin:0;position:static;transform:none}
.top-actions button>span:not(.button-label){position:relative;top:2px}
#map-summary{padding-right:0;padding-left:8px;overflow-wrap:anywhere}
#cursor{padding-right:0;min-width:0;overflow-wrap:anywhere}
.dimensions button{box-sizing:border-box;flex-shrink:0}
.form-grid>div{min-width:0}
@media(max-width:1000px){#map-summary{padding:3px 0 0}.map-footer{padding-right:8px;padding-left:8px}}
@media(max-width:720px){#map-summary{padding:2px 0 0}.map-footer{padding-right:7px;padding-left:7px}.top-actions .finder-launch{color:#ffe14a;text-shadow:2px 2px #554810}}

/* Seed finder uses the same supplied nine-slice game menu pieces. */
.finder-launch{color:#ffe14a;text-shadow:2px 2px #554810}
.seed-finder-dialog{width:min(1100px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:13px 14px 11px;border:24px solid transparent;border-image:url('/ui/panel.png') 8 fill / 24px stretch;border-radius:0;background:transparent;color:#fff;font:12px/1.8 var(--mono);image-rendering:pixelated;overflow:hidden;box-shadow:8px 10px 0 #0005}
.seed-finder-dialog[open]{display:flex;flex-direction:column}
.seed-finder-dialog::backdrop{background:#000b}
.finder-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 4px 14px;flex-shrink:0}
.finder-header h2{font-size:17px;line-height:1.7;color:#fff;text-shadow:2px 2px #303030}
.finder-header p{font-size:10px;line-height:1.9;color:#aaa;margin-top:6px}
#closeSeedFinder{width:38px;height:38px;min-height:38px;flex:0 0 38px;padding:0;font-size:20px;color:#ff7777;text-shadow:1px 1px #3a1010}
.finder-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 8px 2px 2px;margin-right:-8px;scrollbar-width:thin;scrollbar-color:#999 #252525}
.finder-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px 14px;border:12px solid transparent;border-image:url('/ui/dark.png') 6 fill / 12px stretch;padding:10px 10px 13px;margin:0 0 16px}
.finder-settings>*{min-width:0}
.finder-settings label{margin:0;font-size:10px;line-height:1.9;color:#bfbfbf}
.finder-settings input,.finder-settings select{margin-top:5px;font-size:11px;min-height:41px}
.finder-criteria{display:flex;flex-direction:column;gap:10px;margin:12px 0 16px}
.finder-criterion{border:12px solid transparent;border-image:url('/ui/dark.png') 6 fill / 12px stretch;padding:10px;min-width:0}
.finder-criterion input,.finder-criterion select{font-size:11px}
.finder-criterion label{font-size:10px;margin:5px 0;min-width:0}
.finder-criterion button{font-size:10px;min-height:38px}
.finder-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:13px 2px 3px;flex-shrink:0}
.finder-actions button{min-height:43px;font-size:11px;padding:0 13px}
.finder-actions .primary-button{color:#54ff54;text-shadow:2px 2px #163a10}
.finder-progress{border:9px solid transparent;border-image:url('/ui/dark.png') 6 fill / 9px stretch;padding:9px 10px 6px;margin:13px 0;color:#ffe14a;font-size:11px;line-height:1.9;min-width:0;overflow-wrap:anywhere}
.finder-progress:empty{display:none}
.finder-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:13px}
.finder-results:empty{display:none}
.finder-result{min-width:0;border:12px solid transparent;border-image:url('/ui/dark.png') 6 fill / 12px stretch;padding:11px}
.finder-result-seed{font-size:12px;line-height:1.9;color:#54ff54;overflow-wrap:anywhere;user-select:all}
.finder-result-meta{font-size:10px;line-height:2;color:#b3b3b3;margin-top:7px;overflow-wrap:anywhere}
.finder-result-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.finder-result-actions button{flex:1;min-height:39px;font-size:10px;padding:0 6px;white-space:nowrap}
.finder-status-pill{display:inline-block;font-size:9px;line-height:1.8;color:#ffe14a;background:#171717;border:2px solid #595959;padding:4px 8px 1px;white-space:nowrap}
.finder-empty-state{grid-column:1/-1;border:12px solid transparent;border-image:url('/ui/dark.png') 6 fill / 12px stretch;padding:22px 16px;color:#aaa;font-size:11px;line-height:2;text-align:center}
.finder-help{font-size:10px;line-height:1.9;color:#a0a0a0;margin-top:7px;overflow-wrap:anywhere}
@media(max-width:800px){.seed-finder-dialog{width:calc(100vw - 24px);border-width:18px;border-image-width:18px;padding:10px}.finder-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.finder-results{grid-template-columns:1fr}.finder-header{gap:12px}.finder-header h2{font-size:15px}}
@media(max-width:520px){.seed-finder-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-width:12px;border-image-width:12px;padding:9px 6px 7px;box-shadow:none}.finder-header{padding:0 3px 12px;gap:10px;align-items:flex-start}.finder-header h2{font-size:14px}.finder-header p{font-size:9px;line-height:1.9}#closeSeedFinder{width:33px;height:33px;min-height:33px;flex-basis:33px;border-width:6px;border-image-width:6px;font-size:18px}.finder-settings{grid-template-columns:1fr;border-width:9px;border-image-width:9px;padding:9px;gap:11px}.finder-settings input,.finder-settings select{font-size:11px}.finder-body{padding-right:5px;margin-right:-5px}.finder-criterion{border-width:9px;border-image-width:9px;padding:8px}.finder-actions{gap:6px;padding-top:10px}.finder-actions button{flex:1;min-height:41px;font-size:10px;padding:0 6px}.finder-actions .finder-help{flex-basis:100%}.finder-progress{font-size:10px;padding:8px 7px 5px}.finder-result{padding:8px}.finder-result-seed{font-size:11px}.finder-result-meta{font-size:9px}.finder-result-actions{gap:5px}.finder-result-actions button{font-size:9px}.finder-empty-state{font-size:10px;padding:15px 10px}.finder-help{font-size:9px}}
/* Text-only controls use the same optical baseline without disturbing icons. */
button:not(:has(svg)):not(:has(.dimension-icon)):not(:has(.button-label)){padding-top:4px}
#map-detail{font-size:11px;max-width:100%}
.display-panel label[for=map-detail]{margin-top:12px}

#finderControls{border:0;margin:0;padding:0;min-width:0}
.finder-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.finder-eyebrow{display:block;font-size:9px;line-height:1.8;color:#ffe14a;margin-bottom:5px}
.finder-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 3px}
.finder-section-heading h3{font-size:12px;line-height:1.9;font-weight:400;color:#eee;text-shadow:1px 1px #222}
.finder-section-heading button{font-size:10px;min-height:39px;padding:0 8px;flex-shrink:0}
.finder-criterion{display:grid;grid-template-columns:138px minmax(0,1fr) 88px 36px;align-items:end;gap:11px}
.finder-criterion:has(.finder-minimum[hidden]){grid-template-columns:138px minmax(0,1fr) 36px}
.finder-field{min-width:0}
.finder-criterion .finder-field>label{margin:0 0 5px;line-height:1.9}
.finder-criterion .finder-field>select,.finder-criterion .finder-field>input{min-height:42px;width:100%}
.finder-criterion .finder-remove{width:36px;height:42px;min-height:42px;padding:0;border-width:6px;border-image-width:6px;font-size:18px;line-height:1;color:#ff7777;text-shadow:1px 1px #3a1010}
.finder-advanced{margin-top:15px;padding:12px 3px 0;border-top:2px solid #222;box-shadow:0 -1px #555}
.finder-advanced summary{cursor:pointer;font-size:11px;line-height:1.9;color:#bcbcbc;padding:3px 0}
.finder-advanced summary:hover{color:#ffe14a}
.finder-advanced .finder-settings{margin:11px 0 0}
.finder-optional{font-size:9px;color:#939393}
.finder-actions .finder-primary{color:#54ff54;text-shadow:2px 2px #163a10}
.finder-actions .finder-secondary{color:#c8c8c8}
.finder-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:10px}
#finderCounts{font-size:10px;color:#bfbfbf}
#finderProgress{display:block;width:100%;height:10px;border:2px solid #101010;border-radius:0;background:#171717;accent-color:#54cc36;appearance:none;overflow:hidden}
#finderProgress::-webkit-progress-bar{background:#171717;box-shadow:inset 0 2px #080808}
#finderProgress::-webkit-progress-value{background:#54cc36;box-shadow:inset 0 2px #a8ef68,inset 0 -2px #236619}
#finderProgress::-moz-progress-bar{background:#54cc36;box-shadow:inset 0 2px #a8ef68,inset 0 -2px #236619}
.finder-results-section{margin-top:18px}
.finder-result-count{font-size:10px;line-height:1.9;color:#a0a0a0;white-space:nowrap}
.finder-result header>span,.finder-result header>label{font-size:9px;color:#999;line-height:1.9;margin:0 0 4px;display:block}
.finder-result-conditions{list-style:none;margin:11px 0 0;padding:0;font-size:10px;line-height:2;color:#c8c8c8}
.finder-result-conditions li{padding-left:13px;position:relative;overflow-wrap:anywhere}
.finder-result-conditions li:before{content:'';width:4px;height:4px;background:#54cc36;position:absolute;left:0;top:7px}
.finder-empty-state>span{font-size:25px;line-height:1.5;color:#ffe14a;display:block;margin-bottom:8px}
.finder-empty-state h4{font:12px/1.9 var(--mono);font-weight:400;color:#ccc;margin:0 0 8px}
.finder-empty-state p{font-size:10px;line-height:1.9;margin:0}
.finder-disclaimer{font-size:9px;line-height:2;color:#aaa;margin:15px 4px 3px}
@media(max-width:680px){.finder-criterion,.finder-criterion:has(.finder-minimum[hidden]){grid-template-columns:minmax(0,1fr) 36px;gap:11px}.finder-criterion .finder-kind{grid-column:1;grid-row:1}.finder-criterion .finder-target,.finder-criterion .finder-minimum{grid-column:1/-1}.finder-criterion .finder-minimum input{max-width:160px}.finder-criterion .finder-remove{grid-column:2;grid-row:1}.finder-section-heading{gap:9px}.finder-section-heading h3{font-size:11px}.finder-section-heading button{font-size:9px;padding:0 5px}.finder-result-count{font-size:9px}}
@media(max-width:520px){.finder-eyebrow{font-size:8px}.finder-section-heading{align-items:center}.finder-criterion .finder-field>select,.finder-criterion .finder-field>input{font-size:10px}.finder-advanced summary{font-size:10px}.finder-result-conditions{font-size:9px}.finder-disclaimer{font-size:8px}.finder-progress-heading{gap:8px}#finderCounts{font-size:9px}.finder-status-pill{font-size:8px}.finder-empty-state h4{font-size:11px}.finder-empty-state p{font-size:9px}}
@media(max-width:380px){.dimensions button{font-size:8px;gap:4px;padding-left:3px;padding-right:3px}.dimensions button.active{border-width:6px;border-image-width:6px;padding-left:3px;padding-right:3px}.dimension-icon{width:10px;height:10px}}
