/* ============================================================================
   Mobile Parts Finder · seo.css
   ----------------------------------------------------------------------------
   Styles the pre-rendered content that a search engine reads and a visitor sees
   for the moment before the app mounts over it — and permanently, if scripts
   never run.

   It deliberately reuses the site's own tokens from styles.css rather than
   inventing a second palette, so the fallback looks like the product rather
   than like a plain document that happens to share a domain.
   ========================================================================== */

.seo{
  max-width:1080px; margin:0 auto; padding:20px 20px 64px;
  color:var(--ink-1); font-family:var(--f-ui, system-ui, sans-serif);
  line-height:1.6;
}

.seo__bar{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  padding:14px 0 20px; border-bottom:1px solid var(--line);
}
.seo__brand{
  display:inline-flex; align-items:center; gap:10px;
  font-weight:800; font-size:18px; color:var(--ink-1); text-decoration:none;
}
.seo__brand b{ color:var(--teal-600); }
.seo__nav{ display:flex; gap:16px; flex-wrap:wrap; margin-left:auto; }
.seo__nav a{ color:var(--ink-2); text-decoration:none; font-weight:600; font-size:14.5px; }
.seo__nav a:hover{ color:var(--teal-600); }

.seo__crumbs ol{ display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:16px 0 0; margin:0; }
.seo__crumbs li{ font-size:13.5px; color:var(--ink-3); }
.seo__crumbs li + li::before{ content:"/"; margin-right:8px; color:var(--ink-3); }
.seo__crumbs a{ color:var(--ink-2); text-decoration:none; }
.seo__crumbs a:hover{ color:var(--teal-600); }

.seo__main h1{
  font-family:var(--f-display, inherit);
  font-size:clamp(26px, 4.2vw, 40px); line-height:1.15;
  margin:22px 0 12px; color:var(--ink-1);
}
.seo__main h2{
  font-family:var(--f-display, inherit);
  font-size:clamp(19px, 2.4vw, 24px); margin:34px 0 10px; color:var(--ink-1);
}
.seo__main p{ margin:0 0 14px; max-width:72ch; color:var(--ink-2); }
.seo__lede{ font-size:17px; color:var(--ink-1) !important; }
.seo__main a{ color:var(--teal-600); }
.seo__also{ margin-top:26px; font-size:14px; }

/* The finder is what this page exists to send people to, so it gets a real
   button rather than a link buried in a sentence. The buttons themselves are
   the site's own .btn from styles.css — nothing new is invented here. These
   two rules exist only because `.seo__main a` sets a colour and would
   otherwise repaint the primary button's white text teal. */
.seo__cta{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:22px 0 6px; }
.seo__cta a{ text-decoration:none; }
.seo__cta .btn--primary{ color:#fff; }
.seo__cta .btn--outline{ color:var(--ink); }

/* Headline numbers. Real counts from the catalogue, not decoration. */
.seo__stats{
  display:flex; flex-wrap:wrap; gap:10px; list-style:none; padding:0; margin:20px 0 8px;
}
.seo__stats li{
  flex:1 1 150px; padding:14px 16px; border:1px solid var(--line);
  border-radius:var(--r-sm); background:var(--surface);
}
.seo__stats b{ display:block; font-size:24px; font-weight:800; color:var(--teal-600); }
.seo__stats span{ font-size:13px; color:var(--ink-3); }

.seo__grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr));
  gap:10px; list-style:none; padding:0; margin:14px 0 8px;
}
.seo__grid a{
  display:block; padding:12px 14px; border:1px solid var(--line);
  border-radius:var(--r-sm); background:var(--surface);
  text-decoration:none; color:var(--ink-1);
}
.seo__grid a:hover{ border-color:var(--teal-600); }
.seo__grid b{ display:block; font-weight:700; font-size:15px; }
.seo__grid span{ font-size:13px; color:var(--ink-3); }

.seo__foot{
  margin-top:48px; padding-top:22px; border-top:1px solid var(--line);
  font-size:14px; color:var(--ink-3);
}
.seo__foot nav{ display:flex; flex-wrap:wrap; gap:12px; margin-top:10px; }
.seo__foot a{ color:var(--ink-2); text-decoration:none; }
.seo__foot a:hover{ color:var(--teal-600); }

/* The identity line under the footer navs: who runs this and how to reach
   them. Small and quiet, but it is the line a payment provider and a search
   engine both look for. */
.seo__legal{ margin-top:14px; font-size:13px; color:var(--ink-3); }
.seo__legal a{ color:var(--ink-2); text-decoration:none; }
.seo__legal a:hover{ color:var(--teal-600); }

/* The spec table on a pre-rendered device page. Two columns, no chrome — it is
   a list of facts, and half of them are hyphens until the enrichment pass runs. */
.seo__spec{ border-collapse:collapse; width:100%; max-width:560px; margin:8px 0 18px; }
.seo__spec th,
.seo__spec td{ text-align:left; padding:9px 12px; border-bottom:1px solid var(--line-soft); font-size:14.5px; }
.seo__spec th{ font-weight:600; color:var(--ink-3); width:44%; }
.seo__spec td{ color:var(--ink-1); }
.seo__spec .c-none{ color:var(--ink-3); }

/* A compatibility group: the part code line, then every handset it fits.
   Bordered rather than plain so a page carrying eight of them still reads as
   eight separate answers instead of one long paragraph. */
.seo__group{
  border:1px solid var(--line); border-radius:var(--r-sm);
  background:var(--surface); padding:14px 16px; margin:0 0 12px;
}
.seo__group p{ margin:0 0 8px; }
.seo__group p:last-child{ margin-bottom:0; }
.seo__groupmeta{ font-size:13.5px; color:var(--ink-3); }
.seo__groupmeta b{ color:var(--ink-1); font-family:var(--f-mono, ui-monospace, monospace); }

/* Model name lists. Dense on purpose: these run to sixty names and they are
   the site's internal link graph, not decoration. */
.seo__models{
  display:flex; flex-wrap:wrap; gap:6px 8px;
  list-style:none; padding:0; margin:8px 0 4px;
}
.seo__models li{ margin:0; }
.seo__models a{
  display:inline-block; padding:5px 10px; font-size:13.5px;
  border:1px solid var(--line); border-radius:999px;
  background:var(--bg, transparent); color:var(--ink-1); text-decoration:none;
}
.seo__models a:hover{ border-color:var(--teal-600); color:var(--teal-600); }

.seo__more{ font-size:13.5px; color:var(--ink-3); margin-top:8px; }

.seo__main h3{
  font-family:var(--f-display, inherit);
  font-size:16.5px; margin:22px 0 6px; color:var(--ink-2);
}

/* ============================================================================
   Device detail view (.dv) — pre-rendered half
   ----------------------------------------------------------------------------
   What a crawler indexes for a migrated model, and what a visitor sees if the
   app never mounts. Plain tables on the site's own tokens. No nested scroll
   container anywhere: the page scrolls, nothing inside it does.
   ========================================================================== */

.dv{ margin:8px 0 10px; }
.dv__shot{ margin:0 0 16px !important; }
.dv__shot img{ border-radius:12px; height:auto; }
.dv__sum{ font-size:16px; color:var(--ink-1) !important; }

.dv__chips{
  display:flex; align-items:baseline; gap:8px; flex-wrap:wrap;
  margin:0 0 9px !important; max-width:none !important;
}
.dv__chips span{ flex:0 0 62px; font-size:12.5px; color:var(--ink-3); }
.dv__chip{
  display:inline-block; padding:4px 11px; border-radius:999px;
  border:1px solid var(--line); background:var(--surface);
  font-size:13px; font-weight:600; color:var(--ink-1);
}
.dv__note{ font-size:13px; color:var(--ink-3) !important; margin:10px 0 6px !important; }

.dv__table{ max-width:760px; }
.dv__table th{ vertical-align:top; }
.dv__mono{ font-family:var(--f-mono, ui-monospace, monospace); font-size:13.5px; }

.dv__src{
  display:inline-block; margin-left:8px; padding:1px 7px; border-radius:999px;
  font-size:10px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  white-space:nowrap; vertical-align:1.5px; border:1px solid transparent;
}
.dv__src--both{ background:rgba(13,148,136,.12); color:#0f766e; border-color:rgba(13,148,136,.26); }
.dv__src--manufacturer{ background:rgba(37,99,235,.11); color:#1d4ed8; border-color:rgba(37,99,235,.24); }
.dv__src--techspecs{ background:rgba(124,58,237,.11); color:#6d28d9; border-color:rgba(124,58,237,.24); }
.dv__src--crosschecked{ background:rgba(217,119,6,.12); color:#b45309; border-color:rgba(217,119,6,.26); }
.dv__src--gsmarena{ background:rgba(100,116,139,.13); color:#475569; border-color:rgba(100,116,139,.26); }

.dv__alt{ display:block; margin-top:3px; font-size:12px; color:var(--ink-3); }

.dv__notes{ margin-top:14px; font-size:13px; color:var(--ink-2); }
.dv__notes summary{ cursor:pointer; font-weight:600; }
.dv__notes ul{ margin:10px 0 0; padding-left:18px; }
.dv__notes li{ margin-bottom:7px; line-height:1.55; }

@media (max-width:600px){
  .dv__table th, .dv__table td{ display:block; width:auto; }
  .dv__table th{ padding-bottom:2px; border-bottom:0; }
}
