/* Generated by tools/dark-theme/build.py from map/map.css. Don't edit: change the source and run the script.
   Hand-made dark fixes go in /theme.css. */
:root:where([data-theme="dark"]) { --brand: #2f3fc6; --brand-hover: #6672d6; --brand-tint: #1b1b1e; --brand-ring: rgba(47, 63, 198, 0.22); --ink: #e4e3e6; --ink-2: #b6b6bb; --muted: #88878f; --line: #242428; --line-2: #323239; --chip: #1b1b1e; --hover: #18181b; --canvas: #19191d; --region: rgba(38, 38, 43, 0.62); --shadow-sm: 0 1px 2px rgba(255, 255, 255, 0.05); --shadow: 0 1px 2px rgba(255, 255, 255, 0.04), 0 8px 24px rgba(255, 255, 255, 0.08); --shadow-lg: 0 2px 6px rgba(255, 255, 255, 0.06), 0 18px 44px rgba(255, 255, 255, 0.16); }
:where([data-theme="dark"]) body { color: var(--ink); background: var(--canvas); -webkit-tap-highlight-color: transparent; }
:where([data-theme="dark"]) button { color: inherit; }
:where([data-theme="dark"]) :focus-visible { outline: none; box-shadow: 0 0 0 3px var(--brand-ring); }
:where([data-theme="dark"]) .mm-stage { background-color: var(--canvas); background-image: radial-gradient(circle, #3a3a41 1.05px, transparent 1.25px); }
:where([data-theme="dark"]) .mm-fail { color: var(--ink-2); }
:where([data-theme="dark"]) .mm-cluster { background: var(--region); box-shadow: inset 0 0 0 1px rgba(22, 21, 26, .05); }
:where([data-theme="dark"]) .mm-c-head > span { color: var(--muted); }
:where([data-theme="dark"]) .mm-bar { background: transparent; }
:where([data-theme="dark"]) .mm-bar.is-none { background: repeating-linear-gradient(90deg, #2c2c31 0 4px, transparent 4px 7px); }
:where([data-theme="dark"]) .mm-card { background: #0f0f0f; box-shadow: 0 0 0 1px rgba(22, 21, 26, .06), 0 1px 2px rgba(22, 21, 26, .05), 0 4px 12px rgba(22, 21, 26, .04); outline: none; }
:where([data-theme="dark"]) .mm-card:hover { box-shadow: 0 0 0 1px rgba(22, 21, 26, .08), 0 4px 10px rgba(22, 21, 26, .07), 0 14px 30px rgba(22, 21, 26, .10); }
:where([data-theme="dark"]) .mm-card:focus-visible { box-shadow: 0 0 0 3px var(--brand-ring), 0 0 0 1px var(--brand); }
:where([data-theme="dark"]) .mm-card.is-sel { box-shadow: 0 0 0 2.5px var(--brand), 0 14px 32px rgba(47, 63, 198, 0.18); }
:where([data-theme="dark"]) .mm-card.is-lifted { box-shadow: 0 0 0 1.5px var(--line-2); }
:where([data-theme="dark"]) .mm-card.is-lifted::after { border: 2px dashed var(--line-2); }
:where([data-theme="dark"]) .mm-kinds li { color: var(--ink-2); }
:where([data-theme="dark"]) .mm-kinds li b { color: var(--ink); }
:where([data-theme="dark"]) .mm-kinds li.is-none span { color: var(--muted); }
:where([data-theme="dark"]) .mm-card h3 { color: var(--ink); }
:where([data-theme="dark"]) .mm-price { color: var(--muted); }
:where([data-theme="dark"]) .mm-price.is-on b { color: var(--ink); }
:where([data-theme="dark"]) .mm-price.is-on small { color: var(--muted); }
:where([data-theme="dark"]) .mm-price.is-lock { color: var(--ink-2); background: var(--chip); }
:where([data-theme="dark"]) .mm-price.is-lock[data-signin]:hover { color: var(--brand); background: var(--brand-tint); }
:where([data-theme="dark"]) .mm-price svg { fill: none; stroke: currentColor; }
:where([data-theme="dark"]) .mm-add { border: 1px solid var(--line-2); background: #0f0f0f; }
:where([data-theme="dark"]) .mm-add:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
:where([data-theme="dark"]) .mm-add svg { fill: none; stroke: currentColor; }
:where([data-theme="dark"]) .mm-card.is-in .mm-add { background: var(--brand); border-color: var(--brand); color: #fff; }
:where([data-theme="dark"]) .mm-card.is-in::before { box-shadow: inset 0 0 0 1.5px rgba(47, 63, 198, 0.45); }
:where([data-theme="dark"]) .mm-stage.is-far .mm-card { box-shadow: none; }
:where([data-theme="dark"]) .mm-stage.is-far .mm-card.is-in .mm-fill { box-shadow: inset 0 0 0 10px rgba(15, 15, 15, 0.85); }
:where([data-theme="dark"]) .mm-stage.is-far .mm-card.is-in::before { box-shadow: 0 0 0 10px var(--brand); }
:where([data-theme="dark"]) .mm-stage.is-far .mm-cluster { background: rgba(45, 45, 50, 0.7); }
:where([data-theme="dark"]) .mm-badge { border: 0; background: rgba(15, 15, 15, 0.94); box-shadow: var(--shadow); }
:where([data-theme="dark"]) .mm-badge small { color: var(--muted); }
:where([data-theme="dark"]) .mm-badge:hover { box-shadow: var(--shadow-lg); }
:where([data-theme="dark"]) .mm-stage.is-filtering.is-far .mm-card.is-hit .mm-fill { box-shadow: 0 0 0 8px #0f0f0f, 0 0 0 16px var(--ink); }
:where([data-theme="dark"]) .mm-top { background: rgba(15, 15, 15, 0.86); box-shadow: 0 0 0 1px rgba(22, 21, 26, .06), var(--shadow); }
:where([data-theme="dark"]) .mm-title { border-left: 1px solid var(--line-2); }
:where([data-theme="dark"]) .mm-search { background: var(--chip); }
:where([data-theme="dark"]) .mm-search:focus-within { background: #0f0f0f; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 4px var(--brand-ring); }
:where([data-theme="dark"]) .mm-search svg { fill: none; stroke: var(--muted); }
:where([data-theme="dark"]) .mm-search input { border: 0; background: none; outline: none; color: var(--ink); }
:where([data-theme="dark"]) .mm-search-n { color: var(--muted); }
:where([data-theme="dark"]) .mm-chip { border: 1px solid var(--line-2); background: #0f0f0f; box-shadow: var(--shadow-sm); }
:where([data-theme="dark"]) .mm-chip:hover { background: var(--hover); }
:where([data-theme="dark"]) .mm-chip svg { fill: none; stroke: currentColor; }
:where([data-theme="dark"]) .mm-link { color: var(--ink-2); text-decoration: none; }
:where([data-theme="dark"]) .mm-link:hover { color: var(--ink); }
:where([data-theme="dark"]) .mm-acct { border: 0; background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(22, 21, 26, .12), inset 0 1px 0 rgba(0, 0, 0, 0.12); }
:where([data-theme="dark"]) .mm-acct:hover { background: var(--brand-hover); }
:where([data-theme="dark"]) .mm-pop { background: #0f0f0f; box-shadow: 0 0 0 1px rgba(22, 21, 26, .06), var(--shadow-lg); }
:where([data-theme="dark"]) .mm-pop-h { color: var(--muted); }
:where([data-theme="dark"]) .mm-pop li button { border: 0; background: none; }
:where([data-theme="dark"]) .mm-pop li button:hover { background: var(--hover); }
:where([data-theme="dark"]) .mm-pop li small { color: var(--muted); }
:where([data-theme="dark"]) .mm-pop-all { border: 0; border-top: 1px solid var(--line); background: none; color: var(--brand); }
:where([data-theme="dark"]) .mm-zoom { background: #0f0f0f; box-shadow: 0 0 0 1px rgba(22, 21, 26, .06), var(--shadow); }
:where([data-theme="dark"]) .mm-zoom button { border: 0; background: none; color: var(--ink-2); }
:where([data-theme="dark"]) .mm-zoom button + button { border-top: 1px solid var(--line); }
:where([data-theme="dark"]) .mm-zoom button:hover { background: var(--hover); color: var(--ink); }
:where([data-theme="dark"]) .mm-zoom svg { fill: none; stroke: currentColor; }
:where([data-theme="dark"]) .mm-mini { background: rgba(15, 15, 15, 0.9); box-shadow: 0 0 0 1px rgba(22, 21, 26, .06), var(--shadow); }
:where([data-theme="dark"]) .mm-legend { background: rgba(15, 15, 15, 0.9); box-shadow: 0 0 0 1px rgba(22, 21, 26, .06), var(--shadow-sm); color: var(--ink-2); }
:where([data-theme="dark"]) .mm-hint { background: rgba(22, 21, 26, .86); color: #0f0f0f; }
:where([data-theme="dark"]) .mm-bucket { border: 0; background: #0f0f0f; box-shadow: 0 0 0 1px rgba(22, 21, 26, .07), var(--shadow-lg); }
:where([data-theme="dark"]) .mm-bucket-ico { background: var(--brand-tint); }
:where([data-theme="dark"]) .mm-bucket-ico svg { fill: none; stroke: var(--brand); }
:where([data-theme="dark"]) .mm-bucket-ico i { background: var(--ink); color: #0f0f0f; box-shadow: 0 0 0 2px #0f0f0f; }
:where([data-theme="dark"]) .mm-bucket:not(.has-items) .mm-bucket-ico i { background: #5b5b64; }
:where([data-theme="dark"]) .mm-bucket-t small { color: var(--ink-2); }
:where([data-theme="dark"]) .mm-bucket-dots i { box-shadow: 0 0 0 2px #0f0f0f; }
:where([data-theme="dark"]) body.is-dragging .mm-bucket { box-shadow: 0 0 0 2px var(--brand), 0 0 0 8px rgba(47, 63, 198, 0.12), var(--shadow-lg); }
:where([data-theme="dark"]) .mm-bucket.is-over { background: var(--brand); color: #fff; }
:where([data-theme="dark"]) body.is-dragging .mm-bucket-drop { color: var(--brand); }
:where([data-theme="dark"]) .mm-bucket.is-over .mm-bucket-drop { color: #0f0f0f; }
:where([data-theme="dark"]) .mm-bucket.is-over .mm-bucket-ico { background: rgba(0, 0, 0, 0.16); }
:where([data-theme="dark"]) .mm-bucket.is-over .mm-bucket-ico svg { stroke: #0f0f0f; }
:where([data-theme="dark"]) .mm-ghost.is-up { box-shadow: 0 0 0 1px rgba(22, 21, 26, .06), 0 24px 50px rgba(22, 21, 26, .26), 0 6px 14px rgba(22, 21, 26, .10); }
:where([data-theme="dark"]) .mm-ghost.is-over { box-shadow: 0 0 0 2.5px var(--brand), 0 20px 40px rgba(47, 63, 198, 0.3); }
:where([data-theme="dark"]) .mm-ghost.is-back { box-shadow: var(--shadow-sm); }
:where([data-theme="dark"]) .mm-ghost.is-fly { box-shadow: var(--shadow-lg); }
:where([data-theme="dark"]) .mm-detail { background: #0f0f0f; box-shadow: 0 0 0 1px rgba(22, 21, 26, .06), var(--shadow-lg); }
:where([data-theme="dark"]) .mm-d-close { background: rgba(15, 15, 15, 0.9) !important; box-shadow: var(--shadow-sm); }
:where([data-theme="dark"]) .mm-d-cover { background: #1f1f1b; }
:where([data-theme="dark"]) .mm-d-cat { color: var(--muted); }
:where([data-theme="dark"]) .mm-d-price span { color: var(--muted); }
:where([data-theme="dark"]) .mm-d-price.is-ask span { color: var(--ink-2); }
:where([data-theme="dark"]) .mm-d-head { color: var(--ink-2); }
:where([data-theme="dark"]) .mm-d-mix { background: var(--hover); }
:where([data-theme="dark"]) .mm-d-mix li { color: var(--ink-2); }
:where([data-theme="dark"]) .mm-d-mix li b { color: var(--ink); }
:where([data-theme="dark"]) .mm-d-facts li { background: var(--chip); color: var(--ink-2); }
:where([data-theme="dark"]) .mm-d-acts { border-top: 1px solid var(--line); }
:where([data-theme="dark"]) .mm-cta { border: 0; background: var(--brand); color: #fff; text-decoration: none; box-shadow: 0 1px 2px rgba(22, 21, 26, .12), inset 0 1px 0 rgba(0, 0, 0, 0.12); }
:where([data-theme="dark"]) .mm-cta:hover { background: var(--brand-hover); }
:where([data-theme="dark"]) .mm-cta:disabled { background: var(--line-2); box-shadow: none; }
:where([data-theme="dark"]) .mm-cta.is-line { background: #0f0f0f; color: var(--ink); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-sm); }
:where([data-theme="dark"]) .mm-cta.is-line:hover { background: var(--hover); }
:where([data-theme="dark"]) .mm-cta.is-on { background: var(--brand-tint); color: var(--brand); box-shadow: inset 0 0 0 1px rgba(47, 63, 198, 0.3); }
:where([data-theme="dark"]) .mm-cta.is-on::before { border-left: 2.2px solid currentColor; border-bottom: 2.2px solid currentColor; }
:where([data-theme="dark"]) .mm-linkbtn { border: 0; background: none; color: var(--brand); text-decoration: none; }
:where([data-theme="dark"]) .mm-linkbtn:hover { text-decoration: underline; }
:where([data-theme="dark"]) .mm-x { border: 0; background: var(--chip); color: var(--ink-2); }
:where([data-theme="dark"]) .mm-x:hover { background: var(--line); color: var(--ink); }
:where([data-theme="dark"]) .mm-ghostbtn { border: 0; background: none; color: var(--ink-2); }
:where([data-theme="dark"]) .mm-ghostbtn:hover { background: var(--hover); }
:where([data-theme="dark"]) .mm-ghostbtn.is-strong { color: var(--brand); }
:where([data-theme="dark"]) .mm-overlay { background: rgba(22, 21, 26, .32); }
:where([data-theme="dark"]) .mm-sheet { background: #0f0f0f; box-shadow: var(--shadow-lg); }
:where([data-theme="dark"]) .mm-kicker { color: var(--muted); }
:where([data-theme="dark"]) .mm-sheet-s { color: var(--ink-2); }
:where([data-theme="dark"]) .mm-note { color: var(--muted); }
:where([data-theme="dark"]) .mm-form input { border: 1px solid var(--line-2); outline: none; }
:where([data-theme="dark"]) .mm-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
:where([data-theme="dark"]) .mm-status li { background: var(--hover); color: var(--ink-2); }
:where([data-theme="dark"]) .mm-status li::before { background: #4a4a52; }
:where([data-theme="dark"]) .mm-status li.ok { color: var(--ink); }
:where([data-theme="dark"]) .mm-status li.ok::before { background: #70dcaa; }
:where([data-theme="dark"]) .mm-done-cover { background: #1f1f1b; }
:where([data-theme="dark"]) .mm-b-ico { background: var(--brand-tint); }
:where([data-theme="dark"]) .mm-b-ico svg { fill: none; stroke: var(--brand); }
:where([data-theme="dark"]) .mm-b-list li:hover { background: var(--hover); }
:where([data-theme="dark"]) .mm-b-t { border: 0; background: none; }
:where([data-theme="dark"]) .mm-b-t:hover { color: var(--brand); }
:where([data-theme="dark"]) .mm-b-list small { color: var(--muted); }
:where([data-theme="dark"]) .mm-b-list .mm-x { background: none; }
:where([data-theme="dark"]) .mm-b-list .mm-x:hover { background: var(--line); }
:where([data-theme="dark"]) .mm-b-empty { color: var(--ink-2); border: 1.5px dashed var(--line-2); }
:where([data-theme="dark"]) .mm-b-total { border-top: 1px solid var(--line); color: var(--ink-2); }
:where([data-theme="dark"]) .mm-b-total b { color: var(--ink); }
:where([data-theme="dark"]) .mm-toast { background: var(--ink); color: #0f0f0f; box-shadow: var(--shadow-lg); }
:where([data-theme="dark"]) .mm-price.is-on .mm-exprice, :where([data-theme="dark"]) .mm-exprice { color: var(--muted); }
:where([data-theme="dark"]) .mm-price.is-on .mm-exprice b, :where([data-theme="dark"]) .mm-exprice b { color: var(--muted); }
