/* v9-shared.css — chrome shared by EVERY page (docs/sitemap.md): font,
 * reset, palette, the one nav (rendered by nav.js), container, phase
 * headers, gem-module rows, footer. ONE canonical copy — the pages keep
 * only page-specific styles inline. Extracted from
 * ui/fanwine-relaunch-v9.html (design anchor). */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,400&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --pink:#e65671; --pink-soft:rgba(230,86,113,0.07);   /* the ORIGINAL 2017 brand pink (logofw); the site had drifted to #e06080 */
  --indigo:#2e1f9b;
  --text:#1a1a1a; --text-mid:#555; --text-light:#999;
  --bg:#fafafa; --white:#fff; --border:#eee; --green:#2d8659;
  --radius:14px; --radius-pill:60px;
}
body { font-family:'Source Sans 3',-apple-system,sans-serif; background:var(--bg);
  color:var(--text); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a { color:inherit; text-decoration:none; }
/* Phone pass (Martin 2026-09-16, iPhone on test001): a <button> inherits text colour and font — iOS otherwise
   paints its text system-blue (the step pills and the menu read as links); a field is never smaller than 16px
   on a phone, or iOS zooms the page in on focus and never zooms back (the "cut off at the right edge" family). */
button { color:inherit; font:inherit; }
@media (max-width:640px) { input, textarea, select { font-size:16px !important; } }

nav { position:fixed; top:0; left:0; right:0; z-index:100; padding:14px 20px;
  display:flex; justify-content:space-between; align-items:center;
  background:rgba(250,250,250,0.85); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border); }
.logo { display:flex; align-items:center; gap:9px; font-size:17px; font-weight:600; color:var(--pink); }
.logo-disc { width:32px; height:32px; display:block; } svg.logo-word { height:32px; width:auto; display:block; }
.logo-mark { width:30px; height:30px; border-radius:50%; border:1.5px solid var(--text);
  display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; }
.nav-right { display:flex; gap:14px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.nav-right a { font-size:13px; color:var(--text-mid); white-space:nowrap; }
.nav-right a.on { color:var(--pink); font-weight:600; }   /* the page you are on */
/* Phone: the FW mark alone, so the five items stay on one row (the nav's height
   is what every page's top padding assumes). */
@media (max-width:640px) {
  .logo-word { display:none; }
  /* ONE row, always: the items scroll sideways under the finger instead of wrapping into a second row that
     pushes the page down (logged in, "hello hello · logga ut" made the nav 75px tall). */
  .nav-right { flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; gap:12px;
    max-width:calc(100vw - 70px); justify-content:flex-start; padding-bottom:2px; }
  .nav-right::-webkit-scrollbar { display:none; }
  .nav-right a { font-size:13.5px; }
}

.container { max-width:880px; margin:0 auto; padding:92px 20px 80px; }

.phase { display:flex; align-items:center; gap:14px; margin:52px 0 16px; }
.phase-text { font-size:12px; letter-spacing:2.5px; font-weight:700;
  text-transform:uppercase; color:var(--text-mid); white-space:nowrap; }
.phase-line { flex:1; height:1px; background:var(--border); }
.phase-meta { font-size:12.5px; color:var(--text-light); white-space:nowrap; }

/* ── Gem modules (v8: fynd + nytt) ── */
.gem-module { background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius); padding:8px 22px 16px; }
.gem-row { display:flex; align-items:baseline; justify-content:space-between; gap:16px;
  padding:14px 0; border-bottom:1px solid var(--border); }
.gem-row:last-of-type { border-bottom:none; }
.gem-row.mark { background: var(--pink-soft, #fbe9ed); box-shadow: -12px 0 0 var(--pink-soft, #fbe9ed), 12px 0 0 var(--pink-soft, #fbe9ed); border-radius: 6px; }
.gem-wine { font-size:15.5px; font-weight:600; }
.gem-wine a:hover { color:var(--pink); }
.gem-meta { font-size:12.5px; color:var(--text-light); margin-top:3px; }
.gem-src { display:inline-block; font-size:10px; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; border-radius:5px; padding:2px 7px; margin-right:6px;
  background:var(--bg); color:var(--text-mid); border:1px solid var(--border); }
/* Chain links in the meta line (same treatment as .result-channels a on the
   landing): retailer chip · via importer · producer, each a real link. */
a.gem-src:hover { color:var(--pink); border-color:var(--pink); }
.gem-meta a:not(.gem-src) { color:inherit; font-weight:600;
  border-bottom:1px solid var(--border); }
.gem-meta a:not(.gem-src):hover { color:var(--pink); border-color:var(--pink); }
.gem-price { text-align:right; white-space:nowrap; }
.gem-old { font-size:12.5px; color:var(--text-light); text-decoration:line-through;
  display:block; }
.gem-new { font-size:16px; font-weight:700; }
.gem-pct { font-size:12px; font-weight:600; color:var(--green);
  background:rgba(45,134,89,0.08); border-radius:6px; padding:2px 7px; margin-left:8px; }
.gem-new-badge { font-size:10px; font-weight:700; letter-spacing:1px; color:var(--pink);
  background:var(--pink-soft); border-radius:var(--radius-pill); padding:2px 8px;
  vertical-align:2px; margin-left:4px; }
.gem-more { display:inline-block; font-size:14px; font-weight:600; color:var(--pink);
  margin-top:14px; cursor:pointer; }
.gem-note { font-size:12.5px; color:var(--text-light); margin-top:10px; line-height:1.5; }

footer { margin-top:64px; padding-top:24px; border-top:1px solid var(--border);
  font-size:12.5px; color:var(--text-light); line-height:1.6; }

/* The vendor card under every landing route (trust-layer.md §2.1) — the v6 target's footer: centred, light, small. */
footer.fw-vendor { max-width:880px; margin:28px auto 0; padding:28px 20px 32px; text-align:center; border-top:1px solid var(--border);
  font-size:13px; font-weight:300; color:var(--text-light); line-height:1.6; }
footer.fw-vendor p + p { margin-top:10px; }
footer.fw-vendor a { color:inherit; text-decoration:underline; text-underline-offset:3px; }

/* Red-pen 2026-07-25: gem prices link to the shop. */
a.gem-price:hover .gem-new { text-decoration: underline; }
.gem-arrow { color: var(--text-light); font-size: 13px; }
