:root{color:#182018;background:#f7f8f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f7f8f5}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{min-height:100vh;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.app-header{padding:18px 16px 10px}.app-header h1{margin:0;font-size:1.35rem;line-height:1.1;letter-spacing:0}.app-header p{margin:4px 0 0;color:#5e685d;font-size:.9rem}.view{display:grid;gap:12px;padding:0 12px 18px}.sticky-search{position:sticky;top:0;z-index:2;padding:4px 0 6px;background:#f7f8f5}.search-shell{position:relative;display:grid;gap:6px}.search-label{color:#4e594c;font-size:.78rem;font-weight:700}.search-input{width:100%;min-height:50px;border:1px solid #d3d9cf;border-radius:8px;padding:0 44px 0 14px;background:#fff;color:#182018;outline:none;font-size:1rem}.search-input:focus{border-color:#2f6f46;box-shadow:0 0 0 3px #2f6f4624}.clear-button{position:absolute;right:6px;bottom:3px;width:44px;height:44px;border:0;border-radius:8px;background:transparent;color:#5c665b;font-size:1.4rem}.result-list{display:grid;gap:10px}.item-card{border:1px solid #dfe4db;border-radius:8px;background:#fff;overflow:hidden}.card-main{display:grid;grid-template-columns:1fr auto;gap:12px;width:100%;min-height:82px;padding:12px;color:inherit}.card-copy-button{min-width:0;display:grid;align-content:center;gap:5px;border:0;padding:0;background:transparent;color:inherit;text-align:left}.item-name{font-size:1.05rem;font-weight:800;line-height:1.25;overflow-wrap:anywhere}.item-id{color:#687266;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.74rem;overflow-wrap:anywhere}.category-line{color:#435142;font-size:.78rem;font-weight:750;line-height:1.25;overflow-wrap:anywhere}.destination{display:grid;min-width:112px;align-content:center;justify-items:end;gap:5px;border:1px solid #b9d7c2;border-radius:8px;padding:7px 8px;background:#f2faf4;color:inherit;text-align:right}.destination:after{content:"→";display:grid;place-items:center;width:22px;height:22px;border-radius:999px;background:#1d6b3d;color:#fff;font-size:.85rem;font-weight:900;line-height:1}.destination:active{transform:translateY(1px)}.destination:focus-visible,.card-copy-button:focus-visible{outline:3px solid rgba(47,111,70,.22);outline-offset:2px}.destination-action{color:#24613a;font-size:.68rem;font-weight:850;line-height:1;white-space:nowrap}.chest-id{color:#1d6b3d;font-size:1.65rem;font-weight:900;line-height:1}.coords{color:#334033;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.76rem;line-height:1.25;text-align:right;overflow-wrap:anywhere}.warning .chest-id,.warning .coords,.selected-chest.warning{color:#9a4a09}.item-details{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;margin:0;border-top:1px solid #edf0eb;background:#edf0eb}.item-details div{display:grid;gap:3px;padding:10px;background:#fbfcfa}.item-details dt{color:#667064;font-size:.7rem;font-weight:700}.item-details dd{margin:0;font-size:.88rem;font-weight:700}.empty-state{display:grid;gap:8px;padding:22px 14px;border:1px dashed #c7cec3;border-radius:8px;background:#fff;color:#5d685b}.empty-state strong{color:#202820}.chest-panel{display:grid;gap:10px}.selected-chest{display:grid;gap:4px;padding:12px;border:1px solid #dfe4db;border-radius:8px;background:#fff}.selected-topline{display:flex;align-items:center;gap:10px}.selected-id{color:#1d6b3d;font-size:2rem;font-weight:900;line-height:1}.selected-icon{width:34px;height:34px;image-rendering:pixelated}.selected-title{color:#1e271e;font-size:1rem;font-weight:850;line-height:1.25;overflow-wrap:anywhere}.selected-coords{color:#334033;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.95rem;overflow-wrap:anywhere}.selected-frame{color:#263025;font-size:.9rem;font-weight:850;overflow-wrap:anywhere}.selected-description{color:#596556;font-size:.82rem;line-height:1.35;overflow-wrap:anywhere}.selected-count{color:#657063;font-size:.82rem;font-weight:750}.coord-map{display:grid;grid-template-columns:34px repeat(var(--warehouse-columns, 8),minmax(0,1fr));gap:1px;border:1px solid #637061;border-radius:8px;background:#637061;overflow:hidden}.coord-corner,.coord-x,.coord-y{display:grid;place-items:center;min-height:24px;background:#eef2eb;color:#4b5549;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.65rem;font-weight:850}.world-cell{display:grid;place-items:center;min-width:0;min-height:53px;border:0;border-radius:0;color:#202820;font-weight:850;line-height:1}.world-cell.top{background:#f4dfd1}.world-cell.middle{background:#c5e5ef}.world-cell.bottom{background:#c8efce}.world-cell.frame{padding:2px}.world-cell.frame img{width:28px;height:28px;image-rendering:pixelated}.world-cell.active{background:#1d6b3d;color:#fff;box-shadow:inset 0 0 0 3px #fff}.world-cell:disabled{color:#6d7769}.frame-placeholder{color:#202820;font-size:clamp(.58rem,2vw,.78rem);font-weight:850}.world-cell.empty{background:#eef2eb}.mini-list{display:grid;gap:8px}.mini-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-height:48px;padding:10px 12px;border:1px solid #dfe4db;border-radius:8px;background:#fff}.mini-row span{min-width:0;font-weight:750;overflow-wrap:anywhere}.mini-row code{max-width:38vw;color:#687266;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.72rem;overflow-wrap:anywhere;text-align:right}.bottom-tabs{position:fixed;right:0;bottom:0;left:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #dce2d8;background:#f7f8f5f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.tab{min-height:50px;border:1px solid #cfd7ca;border-radius:8px;background:#fff;color:#3a4538;font-weight:850}.tab.active{border-color:#1d6b3d;background:#1d6b3d;color:#fff}@media(max-width:380px){.card-main{grid-template-columns:1fr}.destination{justify-items:start}.coords{text-align:left}.item-details{grid-template-columns:1fr}}
