.map-gallery-shell{scrollbar-gutter:stable;background:#eee8d8;position:fixed;inset:0;overflow:auto}.map-gallery-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:20px clamp(20px,4vw,64px);display:flex}.map-gallery-wordmark,.map-gallery-home{color:var(--primary);align-items:center;gap:12px;text-decoration:none;display:flex}.map-gallery-wordmark strong{letter-spacing:.13em;font-size:12px}.map-gallery-wordmark>span{width:34px;height:34px;color:var(--primary-foreground);background:var(--primary);border-radius:5px;place-items:center;display:grid}.map-gallery-header svg{width:17px;height:17px}.map-gallery-home{font-size:12px;font-weight:600}.map-gallery-content{max-width:1680px;margin:0 auto;padding:48px clamp(20px,4vw,64px) 64px}.map-gallery-intro h1{color:var(--primary);letter-spacing:-.05em;margin:12px 0;font-size:clamp(30px,4vw,52px);font-weight:650;line-height:1.1}.map-gallery-intro>p:last-child{color:#676b5f;max-width:590px;font-size:14px;line-height:1.7}.map-gallery-toolbar{border:1px solid var(--border);background:#fffdf3;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-top:28px;padding:20px;display:flex}.map-gallery-seed-form{flex-wrap:wrap;align-items:center;gap:10px 16px;display:flex}.map-gallery-seed-form label{font-size:12px;font-weight:650}.map-gallery-seed-controls{align-items:center;gap:6px;display:flex}.map-gallery-seed-controls input{background:var(--card);width:140px;font-family:var(--font-geist-mono), monospace}.map-gallery-seed-form [role=alert]{color:var(--destructive);flex-basis:100%;font-size:12px}.map-gallery-legend{color:#676b5f;gap:18px;font-size:11px;display:flex}.map-gallery-legend span{align-items:center;gap:6px;display:flex}.map-gallery-legend i{background:#f6f0e2;border:1px solid #b7aa91;width:9px;height:9px}.map-gallery-legend .map-gallery-water{background:#bcd7d5;border-color:#89b4b4}.map-gallery-legend .map-gallery-forest{background:#c0d1b0;border-color:#7ba76e}.map-gallery-status{color:#676b5f;font:10px var(--font-geist-mono), monospace;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:24px 0 12px;display:flex}.map-gallery-status strong{color:var(--primary);margin-left:6px}.map-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;display:grid}.map-gallery-card{background:#fffaf0;border:1px solid #c7bca5;border-radius:10px;flex-direction:column;min-width:0;display:flex;overflow:hidden;box-shadow:0 3px 6px #544b3b08}.map-gallery-card>header{align-items:center;gap:10px;padding:17px 18px;display:flex}.map-gallery-card h2{letter-spacing:-.02em;font-size:14px;font-weight:650}.map-gallery-number,.map-gallery-north{color:#74766b;font:10px var(--font-geist-mono), monospace}.map-gallery-north{margin-left:auto}.map-gallery-preview{aspect-ratio:3/2;color:var(--primary);background:#eae3d3;border-block:1px solid #c7bca5;place-items:center;text-decoration:none;display:grid;position:relative}.map-gallery-preview canvas{object-fit:contain;width:100%;height:100%;display:block;position:absolute;inset:0}.map-gallery-placeholder{text-align:center;padding:20px;font-size:12px}.map-gallery-explore{background:#fffaf0ed;border:1px solid #c7bca5;border-radius:5px;align-items:center;gap:8px;padding:6px 8px;font-size:10px;font-weight:600;display:flex;position:absolute;bottom:10px;right:10px}.map-gallery-explore svg{width:13px;height:13px}:is(.map-gallery-preview:hover .map-gallery-explore,.map-gallery-preview:focus-visible .map-gallery-explore){background:var(--primary);color:var(--primary-foreground)}.map-gallery-preview:focus-visible{outline:3px solid var(--ring);outline-offset:-3px}.map-gallery-card-details{flex-direction:column;flex:1;gap:18px;padding:16px 18px;display:flex}.map-gallery-card-details>p{color:#676b5f;flex:1;font-size:12px;line-height:1.6}.map-gallery-card-details footer{color:#676b5f;font:10px var(--font-geist-mono), monospace;justify-content:space-between;gap:8px;display:flex}@media (max-width:1100px){.map-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.map-gallery-content{padding-top:32px}.map-gallery-grid{grid-template-columns:minmax(0,1fr);gap:18px}.map-gallery-toolbar{padding:16px}.map-gallery-seed-form,.map-gallery-seed-controls{width:100%}.map-gallery-seed-controls{flex-wrap:wrap}.map-gallery-seed-controls input{flex:1;width:100px}.map-gallery-random{width:100%;margin-top:4px}}
