/* DF Mate web (dfmate.com) — DDC-WEB-SHELL-1: a Blitz-style app shell (top bar + tool sidebar on every
   page, dense cards, 8px radius) built on packages/design-tokens (tokens.css, generated, linked
   separately so it stays the single source of truth for every color here). The few variables below
   are NOT colors: build-css-vars.mjs only emits radius.sm/md/lg and shadow isn't emitted to CSS at
   all, so radius-xl/shadow-* are named locally, copied verbatim from packages/design-tokens/src/raw.ts. */

/* Barlow / Barlow Condensed, self-hosted (latin + vietnamese subsets, same files as the desktop app's
   @fontsource packages; SIL OFL 1.1, see fonts/OFL-*.txt). */
@font-face { font-family: 'Barlow'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/barlow-vietnamese-400-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow'; font-style: normal; font-display: swap; font-weight: 400; src: url(/fonts/barlow-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/barlow-vietnamese-500-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow'; font-style: normal; font-display: swap; font-weight: 500; src: url(/fonts/barlow-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/barlow-vietnamese-600-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/barlow-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/barlow-vietnamese-700-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/barlow-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/barlow-condensed-vietnamese-600-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-display: swap; font-weight: 600; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/barlow-condensed-vietnamese-700-normal.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-display: swap; font-weight: 700; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --radius-xl: 10px;
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.4);
  --card-r: 8px;
  --top-h: 56px;
  --nav-h: 44px;
  --head-h: calc(var(--top-h) + var(--nav-h));
  --content-max: 1300px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: 0.1px; }
p { margin: 0; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.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; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: var(--card-r); background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- app shell: top bar + horizontal tool nav (DDC-WEB-SHELL-2, Blitz-style) ---------- */
.app-top {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
}
.app-top-bar, .tool-nav-inner {
  /* Same column as .app-content (max width + 32px gutters), so the logo, the first tab, the page
     title and the right rail all line up — header and nav are not pinned to the window edges. */
  max-width: calc(var(--content-max) + 64px); margin: 0 auto;
}
.app-top-bar {
  height: var(--top-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 32px;
  padding: 0 32px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 26px; height: 26px; }
.brand .wordmark { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: 0.3px; }
.brand .wordmark .mate { color: var(--accent); }
.app-search { position: relative; width: 100%; max-width: 640px; justify-self: center; }
.app-search input {
  width: 100%; height: 38px; padding: 0 40px 0 38px;
  background: var(--bg-0); border: 1px solid var(--line-2); border-radius: var(--card-r);
  color: var(--text); font: inherit; font-size: 14px;
}
.app-search input::placeholder { color: var(--text-3); }
.app-search input:focus { outline: none; border-color: var(--accent); }
.app-search input::-webkit-search-cancel-button { display: none; }
.app-search-icon { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--text-3); stroke-width: 2; pointer-events: none; }
.app-search-key { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 600 11px var(--font); color: var(--text-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 6px; pointer-events: none; }
.app-search:focus-within .app-search-key { display: none; }
.search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--card-r);
  box-shadow: var(--shadow-lg); padding: 6px; max-height: 70vh; overflow-y: auto;
}
.search-results[hidden] { display: none; }
.search-hit { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 6px 10px; border-radius: 6px; }
.search-hit[aria-selected="true"] { background: var(--bg-2); }
.search-hit img, .search-hit-icon { width: 48px; height: 28px; object-fit: contain; }
.search-hit-map img { object-fit: cover; border-radius: 4px; }
.search-hit-icon { display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border-radius: 4px; font-size: 13px; }
.search-hit-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-hit-kind { font-size: 12px; color: var(--text-2); white-space: nowrap; }
.search-empty { padding: 10px 12px; color: var(--text-2); font-size: 13px; }
.app-top-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--text-3); background: var(--bg-0); border: 1px solid var(--line); border-radius: 6px; padding: 2px; }
.lang-switch button { padding: 4px 8px; border-radius: 4px; border: none; background: transparent; color: var(--text-3); font: inherit; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--bg-4); color: var(--text); }
.app-download[aria-current="page"] { box-shadow: 0 0 0 2px var(--bg-1), 0 0 0 4px var(--accent); }

/* Tool tabs: one row under the top bar, active tab underlined in the accent (like Blitz's
   Home | Champions | Tier List row). Scrolls sideways on narrow screens instead of a drawer. */
.tool-nav { height: var(--nav-h); border-top: 1px solid var(--line); }
.tool-nav-inner {
  height: 100%; display: flex; align-items: stretch; gap: 4px;
  /* 32px gutter minus the tabs' own 12px side padding, so the first label sits on the content edge. */
  padding: 0 20px; overflow-x: auto; scrollbar-width: none;
}
.tool-nav-inner::-webkit-scrollbar { display: none; }
.tool-nav a {
  position: relative; display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap;
}
.tool-nav a:hover { color: var(--text); }
.tool-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.tool-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.tool-nav a[aria-current="page"] svg { stroke: var(--accent); }
.tool-nav svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-nav-spacer { flex: 1; min-width: 12px; }
.tool-nav a.tool-nav-minor { font-size: 13px; color: var(--text-3); padding: 0 12px; }
.tool-nav a.tool-nav-minor:hover, .tool-nav a.tool-nav-minor[aria-current="page"] { color: var(--text); }
.mode-dot { width: 18px; display: flex; justify-content: center; }
.mode-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mode-campaign { color: var(--role-support); }
.mode-detonation { color: var(--atk); }
.mode-warfare { color: var(--def); }

/* ---------- app shell: content column ---------- */
.app-main { min-height: calc(100vh - var(--head-h)); display: flex; flex-direction: column; }
.app-content { width: 100%; max-width: calc(var(--content-max) + 64px); margin: 0 auto; padding: 20px 32px 56px; flex: 1; display: flex; flex-direction: column; gap: 20px; }
.page-head, .web-head { display: flex; flex-direction: column; gap: 6px; max-width: 900px; }
.page-head h1, .web-head h1, .weapon-hero h1, .page-hero h1 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: 0.2px; }
.page-head p, .web-head p { color: var(--text-2); font-size: 14px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current="page"] { color: var(--text-2); }
.crumbs-sep { color: var(--text-3); }
.with-rail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.rail { position: sticky; top: calc(var(--head-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.rail-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.rail-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--accent); }
.rail-card h2 { font-size: 16px; }
.rail-card p { font-size: 13px; color: var(--text-2); }
.rail-card small { font-size: 12px; color: var(--text-2); }
.app-card-shot { position: relative; }
.app-card-shot img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line-2); }
.app-card-keys { position: absolute; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 6px; background: rgba(10, 13, 17, 0.88); color: var(--text-2); font-size: 12px; }
.app-card-keys kbd, .guide-hotkeys kbd { background: var(--bg-3); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; padding: 1px 7px; font: 600 12px var(--font); color: var(--text); white-space: nowrap; }
.app-card-btn { width: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--card-r);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); }
.btn-secondary { background: var(--bg-3); color: var(--text); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--line-3); }
.btn-lg { padding: 12px 24px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }


/* ---------- footer (marketing/company pages live here, not in the tool nav) ----------
   Surface one step lighter than the page (--bg-1). Secondary copy uses --text-2: --text-3 only
   just clears 4.5:1 on these surfaces, and the selfcheck's floor is 4.5:1. */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: var(--bg-1); padding: 32px 32px 20px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; max-width: calc(var(--content-max)); margin: 0 auto; }
.footer-brand-col { display: flex; flex-direction: column; gap: 10px; max-width: 260px; flex-shrink: 0; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand svg { width: 22px; height: 22px; }
.footer-brand span { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.footer-tagline { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 24px 32px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h2 { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-2); }
.footer-col a { font-size: 13px; color: var(--text); }
.footer-col a:hover { color: var(--accent-2); }
.footer-col a[hidden] { display: none; }
.footer-bottom { max-width: var(--content-max); margin: 24px auto 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-2); }
.footer-bottom-right { display: flex; align-items: center; gap: 16px; }

/* ---------- FAQ (on /download) ---------- */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 14px 16px; }
.faq-item summary { cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--text-2); font-weight: 400; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item .answer { margin-top: 10px; font-size: 13px; color: var(--text-2); }

/* ---------- static pages (about/download/guides/…) inside the shell ---------- */
.static-page .wrap { max-width: 860px; }
.page-hero { display: flex; flex-direction: column; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 6px; }
.page-hero .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.page-hero p { color: var(--text-2); font-size: 14px; max-width: 760px; }
.page-content h2 { font-size: 16px; margin: 32px 0 10px; }
.page-content h2:first-of-type { margin-top: 0; }
.page-content p { color: var(--text-2); font-size: 14px; margin-bottom: 12px; }
.page-content ul { margin: 0 0 12px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.page-content li { font-size: 14px; color: var(--text-2); display: flex; gap: 10px; }
.page-content li::before { content: '✓'; color: var(--ok); font-weight: 700; flex-shrink: 0; }
.page-content .faq { margin-bottom: 8px; }
.download-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 20px; margin-bottom: 24px; }
.download-status { font-size: 14.5px; color: var(--text-2); margin: 0; }
.download-meta { display: flex; flex-direction: column; gap: 10px; margin: 0 0 20px; }
.download-meta > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.download-meta dt { color: var(--text-3); margin: 0; }
.download-meta dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.download-meta dd.sha { font-family: var(--font); font-size: 12px; font-weight: 400; color: var(--text-2); max-width: 60%; }
.download-info [data-download-zip-link] { display: block; margin-top: 12px; }
/* `.btn`'s own `display: inline-flex` has the same specificity as the UA `[hidden]` rule and
   comes later in source order, so it wins and the element stays visible when `hidden` is set —
   same gotcha as `.build-list` in app.js's renderCommunity(). This rule and the block rule above
   have equal specificity (two compound selectors each); listing this one second is what makes it
   win when `hidden` is actually present. */
[data-download-zip-link][hidden] { display: none; }

.contact-box { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 18px 20px; margin: 16px 0 24px; }
.contact-box h3 { font-size: 15px; margin-bottom: 10px; }
.contact-box p { font-size: 14px; color: var(--text-2); margin: 0 0 6px; }
.contact-box p:last-child { margin-bottom: 0; }
.contact-box .pending { color: var(--text-3); }

/* ---------- identity block (about/contact, DDC-LANDING-VERIFY-1) ---------- */
.identity-block { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 20px; margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.identity-block p { font-size: 14.5px; color: var(--text-2); margin: 0; }
.identity-block [hidden] { display: none; }
.identity-link { color: var(--accent-2); text-decoration: underline; }
.identity-support-link { align-self: flex-start; margin-top: 4px; }

/* ---------- guides (/guides, DDC-LANDING-VERIFY-1) ---------- */
.guide-article { margin: 40px 0; padding-top: 32px; border-top: 1px solid var(--line); }
.guide-article:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.app-frame { background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--card-r); box-shadow: var(--shadow-md); overflow: hidden; }
.app-frame .titlebar { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.app-frame .titlebar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-4); }
.app-frame .titlebar .label { margin-left: 8px; font-size: 11px; color: var(--text-2); }
.app-frame .shot { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; object-position: top; background: var(--bg-2); }
.guide-article .app-frame { max-width: 640px; margin: 20px 0; }
/* The hotkeys-card crop isn't 16:9 like the other app-frame shots — let it keep its own ratio
   instead of being cover-cropped by the shared `.app-frame .shot` rule above. */
.guide-article .app-frame.natural .shot { aspect-ratio: auto; object-fit: contain; background: var(--bg-2); }
.guide-hotkeys { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.guide-hotkeys li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; font-size: 14px; color: var(--text-2); }

/* ---------- changelog (/changelog, DDC-LANDING-VERIFY-1) ---------- */
.changelog-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.changelog-entry { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 16px 20px; }
.changelog-entry .changelog-meta { font-size: 12px; color: var(--text-2); }
.changelog-entry .changelog-version { font-family: var(--font-display); color: var(--accent-2); font-weight: 700; letter-spacing: 0.3px; }
.changelog-entry h3 { font-size: 16px; margin: 8px 0 8px; }
.changelog-entry p { font-size: 14px; color: var(--text-2); margin: 0; }


/* ---------- web companion (DDC-WEB-COMPANION-1): door codes, tier lists, builds, weapons, maps, news ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-2); }
.web-updated, .web-source, .web-count, .web-note { font-size: 12px; color: var(--text-2); }
.web-updated a, .web-source a, .tier-sources a, .weapon-tier-cell a, .weapon-changes a { color: var(--accent-2); }
.web-note { border-left: 2px solid var(--line-2); padding-left: 10px; }
.web-empty { color: var(--text-2); font-size: 13px; padding: 16px 0; }
.web-stale { font-size: 13px; color: var(--warn); background: rgba(255, 197, 61, 0.08); border: 1px solid rgba(255, 197, 61, 0.25); border-radius: var(--card-r); padding: 8px 12px; }
.muted { color: var(--text-3); font-weight: 400; }
.web-page section { padding: 0; }
.web-page [data-region] { display: flex; flex-direction: column; gap: 20px; }
.web-page [data-region="main"] > .web-tabs + * , .web-page [data-region="main"] > .web-tabs-links + .web-tabs { margin-top: -8px; }
.web-page [data-region]:empty { display: none; }

.web-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.web-tabs.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.web-tabs button, .web-tabs a { white-space: nowrap; }
.web-tabs button, .web-tabs a {
  font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 6px; cursor: pointer;
  background: var(--bg-1); color: var(--text-2); border: 1px solid var(--line);
}
.web-tabs button:hover, .web-tabs a:hover { color: var(--text); border-color: var(--line-2); }
.web-tabs button[aria-selected="true"], .web-tabs a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-2); border-color: rgba(31, 184, 146, 0.4); }
.web-tabs-links { gap: 0; border-bottom: 1px solid var(--line); }
.web-tabs-links a { font-size: 14px; padding: 8px 16px; background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; margin-bottom: -1px; }
.web-tabs-links a[aria-current="page"] { background: none; color: var(--text); border-bottom-color: var(--accent); }
.web-tabs.sm button { font-size: 12px; padding: 4px 10px; }
.web-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.web-toolbar [data-region="filters"] { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
.web-toolbar [data-region="search"] { flex: 0 1 320px; }
.web-search {
  width: 100%; max-width: 420px; padding: 8px 12px; border-radius: var(--card-r);
  background: var(--bg-1); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 14px;
}
.web-search:focus { outline: none; border-color: var(--accent); }

.chip { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; padding: 2px 8px; border-radius: 9999px; background: var(--bg-3); color: var(--text-2); white-space: nowrap; }
.chip-detonation { background: var(--atk-soft); color: var(--atk); }
.chip-campaign { background: rgba(125, 220, 90, 0.14); color: var(--role-support); }
.chip-warfare { background: var(--def-soft); color: var(--def); }
.chip-pin { background: var(--accent-soft); color: var(--accent-2); }

.copy-btn {
  flex-shrink: 0; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: var(--card-r); cursor: pointer;
  background: var(--accent); color: var(--accent-ink); border: none; white-space: nowrap;
}
.copy-btn:hover { background: var(--accent-2); }
.copy-btn.copied { background: var(--ok); }

/* door codes */
.code-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.code-grid.single { grid-template-columns: minmax(0, 360px); }
.code-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.code-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.code-grid.compact .code-card { padding: 12px; gap: 6px; }
.code-map { font-size: 13px; font-weight: 600; color: var(--text-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code-card-head { width: 100%; min-width: 0; }
.code-map:hover { color: var(--text); }
.code-value { font-family: var(--font-mono); font-size: 34px; font-weight: 700; letter-spacing: 6px; color: var(--accent-2); line-height: 1; }
.code-grid.compact .code-value { font-size: 24px; letter-spacing: 4px; }
.code-grid.compact .copy-btn { padding: 5px 10px; font-size: 11px; }
.code-guide { width: 100%; font-size: 13px; color: var(--text-2); }
.code-guide summary { cursor: pointer; color: var(--text-3); }
.code-guide ol { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; }
.code-guide img { width: 100%; border-radius: var(--r); margin-bottom: 4px; border: 1px solid var(--line); }

/* tier lists */
.tier-group { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; padding-top: 6px; }
.tier-group-letter { position: sticky; top: calc(var(--head-h) + 16px); }
.tier-group-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tier-badge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--card-r); font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.tier-badge.sm { width: 22px; height: 22px; font-size: 13px; border-radius: var(--r); }
.tier-S { background: rgba(255, 93, 79, 0.16); color: #ff7a6e; border: 1px solid rgba(255, 93, 79, 0.4); }
.tier-A { background: rgba(255, 197, 61, 0.14); color: var(--warn); border: 1px solid rgba(255, 197, 61, 0.35); }
.tier-B { background: var(--def-soft); color: var(--def); border: 1px solid rgba(78, 168, 255, 0.35); }
.tier-none { background: var(--bg-2); color: var(--text-3); border: 1px solid var(--line); }
.tier-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.tier-card-link { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
a.tier-card-link:hover .tier-card-name { color: var(--accent-2); }
.tier-card-link img, .tier-card-img { grid-row: span 2; width: 64px; height: 40px; object-fit: contain; }
.tier-card-name { font-weight: 600; font-size: 14px; line-height: 1.2; }
.tier-card-class { font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tier-card-flag { font-size: 11px; color: var(--warn); }
.tier-unrated h2, .tier-sources h2, .weapon-section h2, .weapon-group h2 { font-size: 16px; margin-bottom: 10px; }
.tier-unrated p { font-size: 13px; color: var(--text-2); line-height: 1.8; }
.tier-unrated a:hover { color: var(--text); }
.tier-sources ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-2); display: flex; flex-direction: column; gap: 4px; }

/* builds */
.build-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)); gap: 10px; }
.build-rows.compact { grid-template-columns: 1fr; }
.build-row { display: flex; align-items: center; gap: 14px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 12px 14px; min-width: 0; transition: border-color var(--motion-base); }
.build-row:hover { border-color: var(--line-2); }
.build-row-img { width: 96px; height: 40px; object-fit: contain; flex-shrink: 0; }
.build-row-img.placeholder { display: flex; align-items: center; justify-content: center; color: var(--text-3); background: var(--bg-2); border-radius: var(--r); }
.build-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.build-row-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.build-row-name { font-weight: 600; font-size: 14px; }
a.build-row-name:hover { color: var(--accent-2); }
.build-code { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.build-row-credit { font-size: 11.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.build-row-credit:hover { color: var(--text-2); }
.build-rows.compact .build-row { padding: 8px 10px; gap: 10px; }
.build-rows.compact .build-row-img { width: 64px; height: 28px; }
.build-rows.compact .build-code { display: none; }

/* weapons */
.weapon-group { display: flex; flex-direction: column; }
.weapon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.weapon-group h2 { display: flex; align-items: baseline; gap: 8px; }
.weapon-tile { position: relative; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 12px; display: flex; flex-direction: column; gap: 6px; transition: border-color var(--motion-base); }
.weapon-tile-tier { position: absolute; top: 8px; right: 8px; }
.weapon-tile:hover { border-color: var(--line-3); }
.weapon-tile img, .weapon-tile-img { width: 100%; height: 64px; object-fit: contain; }
.weapon-tile-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.weapon-tile-meta { font-size: 11.5px; color: var(--text-3); min-height: 16px; }
.weapon-hero { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 24px; }
.weapon-hero h1 { font-size: 28px; margin-top: 6px; }
.weapon-hero img { width: 100%; height: auto; }
.weapon-section { display: flex; flex-direction: column; }
.weapon-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.weapon-tier-cell { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.weapon-tier-mode { font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--text-3); }
.weapon-tier-cell ul { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--text-2); }
.weapon-tier-cell p { font-size: 12.5px; }
.weapon-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.weapon-stats div { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 10px 12px; }
.weapon-stats dt { font-size: 11.5px; color: var(--text-3); }
.weapon-stats dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; font-family: var(--font-display); }
.weapon-stats + .web-source { margin-top: 8px; }
.weapon-changes { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--text-2); display: flex; flex-direction: column; gap: 6px; }
.related-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.related-row a { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 8px; font-size: 12.5px; display: flex; flex-direction: column; gap: 4px; }
.related-row a:hover { border-color: var(--line-3); }
.related-row img { height: 36px; object-fit: contain; }

/* maps */
.map-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.map-tile { position: relative; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); overflow: hidden; display: flex; flex-direction: column; }
.map-tile:hover { border-color: var(--line-3); }
.map-tile img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.map-tile-name { padding: 12px 14px; font-weight: 600; font-size: 15px; }
.map-tile img { transition: transform var(--motion-slow); }
.map-tile:hover img { transform: scale(1.03); }
.map-tile-code { position: absolute; top: 8px; right: 8px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; background: rgba(10, 13, 17, 0.85); color: var(--accent-2); padding: 3px 8px; border-radius: var(--r); }
.layer-toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.layer-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 6px 12px; border-radius: 9999px; cursor: pointer; background: var(--bg-2); color: var(--text-2); border: 1px solid var(--line); }
.layer-toggle[aria-pressed="false"] { opacity: 0.45; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.map-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--head-h) + 16px); }
.map-aside .layer-toggles { flex-direction: column; align-items: stretch; }
.map-aside .layer-toggle { justify-content: flex-start; }
.map-aside .layer-toggle .muted { margin-left: auto; }
.map-aside .weapon-section { margin: 0; }
.map-aside .code-grid.single { grid-template-columns: minmax(0, 1fr); }
.map-canvas { position: relative; width: 100%; border-radius: var(--card-r); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-1); }
.map-canvas img { width: 100%; height: auto; }
.mk, .mk-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, 0.6); }
.mk { position: absolute; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4); }
.mk-label { position: absolute; transform: translate(-50%, -50%); font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px #000, 0 0 2px #000; white-space: nowrap; pointer-events: none; }
.mk-label.mk-site { font-size: 14px; color: var(--warn); }
.mk-extract .mk-dot, .mk.mk-extract { background: var(--ok); }
.mk-boss .mk-dot, .mk.mk-boss { background: var(--atk); width: 16px; height: 16px; }
.mk-key .mk-dot, .mk.mk-key { background: var(--warn); }
.mk-spawn .mk-dot, .mk.mk-spawn { background: var(--def); }
.mk-loot .mk-dot, .mk.mk-loot { background: var(--role-lurk); width: 8px; height: 8px; border-width: 1px; }
.mk-site .mk-dot { background: var(--warn); }
.mk-callout .mk-dot { background: #fff; }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.tips-area { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 14px; }
.tips-area h3 { font-size: 14px; margin-bottom: 6px; }
.tips-area ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-2); display: flex; flex-direction: column; gap: 4px; }
.tips-grid + .web-source { margin-top: 8px; }

/* news */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.news-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--motion-base); }
.news-card:hover { border-color: var(--line-3); }
.news-card img, .news-card-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; background: var(--bg-2); }
.news-card-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-3); }
.news-card-title { font-weight: 600; font-size: 14px; line-height: 1.3; }
.news-card-summary { font-size: 13px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list, .dash-card .build-rows.compact { display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 8px; }
.news-list .news-card { flex-direction: row; }
.news-list .news-card img, .news-list .news-card-img { width: 104px; height: 100%; aspect-ratio: auto; flex-shrink: 0; }
.news-list .news-card-body { justify-content: center; min-width: 0; }
.news-list .news-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list .news-card-body { padding: 8px 10px; }
.news-list .news-card-title { font-size: 13.5px; }
.news-list .news-card-summary { display: none; }

/* Gun renders are dark-on-transparent — a soft light pool keeps them readable on the dark cards. */
.tier-card-link img, .weapon-tile img, .build-row-img, .dash-top-item img, .related-row img, .weapon-hero img {
  background: radial-gradient(ellipse at center, rgba(233, 237, 242, 0.13) 0%, transparent 70%);
}

/* ---------- homepage dashboard (DDC-WEB-SHELL-1) ---------- */
.dash { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dash-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.dash-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--card-r); padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dash-card-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.dash-card-head h2 { font-size: 16px; }
.dash-meta { font-size: 12px; color: var(--text-2); }
.dash-more { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--accent-2); white-space: nowrap; }
.dash .code-grid.compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.dash .code-card, .dash .build-row { background: var(--bg-2); }
.dash .code-grid.compact .code-value { font-size: 22px; letter-spacing: 3px; }
.dash-top { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.dash-top-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--card-r); padding: 10px 6px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; text-align: center; min-width: 0; }
.dash-top-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-top-item:hover { border-color: var(--line-3); }
.dash-top-item img { width: 100%; height: 36px; object-fit: contain; }
.dash-maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.dash-map { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; min-width: 0; }
.dash-map:hover { border-color: var(--line-3); }
.dash-map img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.dash-map-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px 8px 8px; min-width: 0; }
.dash-map-name { max-width: 100%; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash .news-list { grid-auto-rows: auto; gap: 0; }
.dash .news-list .news-card { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.dash .news-list .news-card:last-child { border-bottom: 0; }
.dash .news-list .news-card img { width: 96px; height: 54px; border-radius: 4px; align-self: center; }
.dash .news-list .news-card-body { padding: 8px 0 8px 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  .with-rail { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; }
  .app-card { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); grid-template-areas: 'shot kicker' 'shot title' 'shot body' 'shot btn' 'shot note'; column-gap: 20px; row-gap: 6px; align-items: start; }
  .app-card .rail-kicker { grid-area: kicker; }
  .app-card h2 { grid-area: title; }
  .app-card p:not(.rail-kicker) { grid-area: body; }
  .app-card-shot { grid-area: shot; }
  .app-card-btn { grid-area: btn; width: auto; justify-self: start; }
  .app-card small { grid-area: note; }
}
@media (max-width: 1100px) {
  .dash-row { grid-template-columns: minmax(0, 1fr); }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-brand-col { max-width: none; }
}
@media (max-width: 900px) {
  .app-top-bar { height: auto; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'brand . actions' 'search search search'; padding: 8px 16px 10px; row-gap: 8px; column-gap: 8px; }
  .tool-nav-inner { padding: 0 4px; }
  .tool-nav a.tool-nav-minor { display: none; }
  .brand { grid-area: brand; }
  .app-search { grid-area: search; max-width: none; }
  .app-search-key { display: none; }
  .app-top-actions { grid-area: actions; padding-right: 0; gap: 8px; }
  .app-content { padding: 16px 16px 40px; gap: 16px; }
  .app-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'kicker' 'title' 'shot' 'body' 'btn' 'note'; }
  .app-card-btn { width: 100%; }
  .site-footer { padding: 24px 16px 16px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .map-layout { grid-template-columns: minmax(0, 1fr); }
  .map-aside { position: static; }
  .map-aside .layer-toggles { flex-direction: row; }
  .map-aside .layer-toggle .muted { margin-left: 0; }
  .weapon-tiers, .build-rows { grid-template-columns: minmax(0, 1fr); }
  .map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .web-toolbar [data-region="search"] { flex-basis: 100%; }
  .weapon-hero { grid-template-columns: minmax(0, 1fr); }
  .tier-group { grid-template-columns: minmax(0, 1fr); }
  .tier-group-letter { position: static; }
}
@media (max-width: 520px) {
  .app-top-actions .lang-switch { display: none; }
  .dash-card-head { flex-wrap: wrap; row-gap: 2px; }
  .dash-meta { order: 3; flex-basis: 100%; }
  .map-grid, .code-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-group-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build-row { flex-wrap: wrap; }
  .build-row-img { width: 64px; height: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .map-tile img { transition: none; }
}
