/* Dood Atlas showcase (view-only). Builds on pixel-map.css tokens, fonts and buttons. */
body.sc { height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
.sc-top { display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: #0b0614f0; border-bottom: 1px solid #ffffff14; position: relative; z-index: 5; }
.sc-brand { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; color: inherit; }
.sc-brand b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--gold-2); }
.sc-brand small { color: var(--dim); font-size: 12px; }
.sc-search { position: relative; margin-left: auto; width: min(320px, 36vw); }
.sc-search input { width: 100%; min-height: 40px; border-radius: 999px; border: 1px solid #ffffff26; background: #ffffff0d; color: var(--ivory); padding: 0 14px; font: inherit; }
.sc-results { position: absolute; top: 44px; left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: var(--plum); border: 1px solid var(--line); border-radius: 14px; max-height: 50vh; overflow: auto; z-index: 20; }
.sc-results button { all: unset; display: block; width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.sc-results button:hover, .sc-results button:focus-visible { background: #ffffff14; }
.sc-results small { color: var(--dim); margin-left: 6px; }
.sc-count { font-weight: 700; font-size: 13px; color: var(--gold-2); white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: #e2b9551a; border: 1px solid #e2b95544; }
.sc-wallet { white-space: nowrap; font-family: inherit; }
.sc-wmenu { position: absolute; right: 12px; top: 56px; z-index: 30; width: min(300px, calc(100vw - 24px)); display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--plum); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px #000; }
.sc-waddr { margin: 0; font: 600 12.5px ui-monospace, Menlo, Consolas, monospace; word-break: break-all; color: var(--ivory); }
.sc-wnote { margin: 0; font-size: 13px; color: var(--muted); }
.sc-wmenu .btn { justify-content: center; text-align: center; }
.sc-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr minmax(300px, 360px); }
.sc-stage { position: relative; overflow: hidden; background: #0d1c33; min-height: 0; }
#map { position: absolute; inset: 0; }
#overlay { position: absolute; inset: 0; pointer-events: none; z-index: 2; image-rendering: pixelated; }
.sc-card { position: absolute; left: 12px; bottom: 34px; z-index: 4; display: flex; gap: 12px; align-items: center; max-width: min(420px, calc(100% - 24px)); padding: 12px 40px 12px 12px; background: #1c1033f2; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px -18px #000; }
.sc-card canvas { width: 84px; height: 84px; image-rendering: pixelated; border-radius: 10px; flex: none; background: repeating-conic-gradient(#ffffff10 0 25%, #00000022 0 50%) 0 0 / 12px 12px; }
.sc-card h2 { margin: 0 0 4px; font-size: 17px; } .sc-card p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.sc-x { position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #ffffff12; color: var(--ivory); font-size: 20px; cursor: pointer; }
.sc-fail { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 6; width: min(420px, calc(100% - 24px)); background: var(--plum); border: 1px solid #ff7a7a88; border-radius: 14px; padding: 12px 14px; }
.sc-fail p { margin: 0 0 10px; font-size: 14px; } .sc-row { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-side { overflow: auto; padding: 14px; border-left: 1px solid #ffffff14; background: #0f081c; display: flex; flex-direction: column; gap: 14px; }
.sc-hero img { display: block; width: 100%; height: auto; border-radius: 14px; }
.sc-hero h1 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--gold-2); margin: 12px 0 6px; }
.sc-hero p { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.sc-soon { padding: 10px 12px; border-radius: 12px; background: #e2b95514; border: 1px solid #e2b95540; color: var(--ivory) !important; }
.sc-soon a { color: var(--gold-2); }
.sc-h { font-size: 15px; margin: 0 0 8px; color: var(--ivory); }
.sc-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.sc-tile { all: unset; box-sizing: border-box; width: 100%; display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 12px; background: #ffffff08; border: 1px solid #ffffff14; cursor: pointer; }
.sc-tile:hover, .sc-tile:focus-visible { border-color: var(--gold); }
.sc-tile canvas { width: 100%; aspect-ratio: 1; height: auto; image-rendering: pixelated; border-radius: 8px; background: repeating-conic-gradient(#ffffff10 0 25%, #00000022 0 50%) 0 0 / 10px 10px; }
.sc-tile span { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-foot { font-size: 11.5px; color: var(--dim); margin: auto 0 0; }
.maplibregl-ctrl-group { background: #1a1230; } .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1); }
.maplibregl-ctrl-scale { background: #0b0614c0; color: #fff; border-color: #fff; }
@media (max-width: 760px) {
  .sc-main { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .sc-side { border-left: 0; border-top: 1px solid #ffffff1f; max-height: 40dvh; padding: 10px 12px; gap: 10px; }
  .sc-hero img, .sc-hero h1 { display: none; } .sc-hero p { font-size: 13.5px; margin-bottom: 8px; }
  .sc-top { flex-wrap: wrap; } .sc-brand small { display: none; } .sc-search { order: 5; width: 100%; margin-left: 0; }
  .sc-count { margin-left: auto; padding: 5px 10px; font-size: 12px; } .sc-wallet { min-height: 38px; padding: 0 12px; } .sc-wmenu { top: 108px; }
  .sc-gallery { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84px; overflow-x: auto; padding-bottom: 4px; }
  .sc-card { bottom: 10px; left: 8px; right: 8px; max-width: none; padding: 8px 40px 8px 8px; gap: 10px; }
  .sc-card canvas { width: 56px; height: 56px; } .sc-card h2 { font-size: 15px; } .sc-card p { font-size: 12px; margin-bottom: 6px; }
}
