/*
 * Fermentation Lab — il sito, fuori dalla home: il blog, le pagine condivise
 * dall'app (un fermento, un laboratorio, una ricetta), la 404.
 *
 * Lo stile è quello della home (assets/landing/landing.css): fondo quasi nero,
 * verde bioluminescente e ambra, Fraunces per i titoli, Inter per il testo,
 * JetBrains Mono per le etichette, schede di vetro scuro. Qui sono pagine da
 * leggere: stessi segni, meno movimento.
 * I caratteri arrivano da assets/fonts.css, che ogni pagina carica prima di questo.
 */

:root {
  color-scheme: dark;
  --ink: #07090a;
  --ink-2: #0d1113;
  --ink-3: #141a1d;
  --ink-4: #1f272b;
  --parchment: #f2ead6;
  --cream: #e8ddc4;
  --body: #c5bca6;
  --muted: #8a7f6b;
  --amber: #e8a43c;
  --amber-glow: #f6be48;
  --amber-deep: #b5801d;
  --bio: #6cf7a7;
  --bio-deep: #2a8a55;
  --bio-glow: #b9ffd2;
  --cyan: #6ce0f7;
  --violet: #b06ff7;
  --rust: #ff7757;
  --line: rgba(108, 247, 167, .1);
  --glass: linear-gradient(180deg, rgba(20, 26, 29, .8), rgba(13, 17, 19, .65));
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wide: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* la griglia tenue e i due bagliori della home, fermi dietro al testo */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(108, 247, 167, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 247, 167, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 30%, transparent 80%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(700px 520px at 0% 8%, rgba(42, 138, 85, .2), transparent 65%),
    radial-gradient(760px 560px at 100% 38%, rgba(181, 128, 29, .11), transparent 65%);
}
#bg-microbes { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; opacity: .32; }
@media (prefers-reduced-motion: reduce) { #bg-microbes { display: none; } }
main, header, footer, section { position: relative; z-index: 1; }
::selection { background: rgba(108, 247, 167, .35); color: var(--parchment); }

img, svg { max-width: 100%; }
a { color: var(--bio); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--bio-glow); }
:focus-visible { outline: 2px solid var(--bio); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); color: var(--parchment); font-weight: 400; }
h1 { font-weight: 300; font-variation-settings: "SOFT" 80; font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.02; letter-spacing: -.028em; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); line-height: 1.14; letter-spacing: -.015em; }
h3 { font-size: 1.18rem; line-height: 1.3; letter-spacing: -.01em; }
strong, b { font-weight: 600; color: var(--parchment); }

.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: var(--cream); opacity: .78; max-width: 58ch; }
.small { font-size: .82rem; line-height: 1.5; color: var(--muted); }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 10px; z-index: 80; background: var(--ink-3); color: var(--parchment); padding: 8px 12px; border-radius: 8px; }
.tone-ok { color: var(--bio); }
.tone-warn { color: var(--amber-glow); }
.tone-bad { color: var(--rust); }

/* ── testata: come quella della home ─────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 60; padding: 14px 0;
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  background: linear-gradient(180deg, rgba(7, 9, 10, .82), rgba(7, 9, 10, .5));
  border-bottom: 1px solid rgba(108, 247, 167, .08);
}
.site-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .08em; color: var(--parchment); white-space: nowrap; }
.brand:hover { color: var(--parchment); }
.brand b { color: var(--bio); font-weight: 700; }
.brand .sep { color: #5b6166; }
.logo-mark { width: 34px; height: 34px; flex: none; border-radius: 10px; background: url('landing/logo-mark.png') center / contain no-repeat; filter: drop-shadow(0 4px 10px rgba(232, 164, 60, .45)); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 12px; color: var(--muted); text-decoration: none; border-radius: 8px; transition: color .2s, background .2s; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--bio); background: rgba(108, 247, 167, .06); }
@media (max-width: 720px) { .site-nav .opt { display: none; } }
@media (max-width: 420px) { .brand .name { display: none; } }

/* ── pulsanti ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(108, 247, 167, .35);
  background: linear-gradient(180deg, #1a2226 0%, #0c1214 100%); color: var(--parchment);
  box-shadow: inset 0 1px 0 rgba(108, 247, 167, .18), 0 8px 22px -10px rgba(108, 247, 167, .45);
  font-family: var(--sans); font-weight: 600; font-size: 14px; line-height: 1.2; text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); color: var(--parchment); border-color: rgba(108, 247, 167, .6); }
.btn.alt { border-color: rgba(232, 164, 60, .35); box-shadow: inset 0 1px 0 rgba(232, 164, 60, .18), 0 8px 22px -10px rgba(232, 164, 60, .45); }
.btn.alt:hover { border-color: rgba(232, 164, 60, .6); }
/* il pulsante pieno: il verde della home ("Scarica") */
.btn-fill {
  background: linear-gradient(180deg, var(--bio), var(--bio-deep)); color: #02140a; border-color: var(--bio-deep);
  box-shadow: 0 4px 14px -4px rgba(108, 247, 167, .4), inset 0 1px 0 rgba(255, 255, 255, .3);
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
}
.btn-fill:hover { color: #02140a; border-color: var(--bio); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store { justify-content: flex-start; min-width: 190px; }
.store small { display: block; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1; margin-bottom: 4px; opacity: .7; }
.store b { display: block; font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: -.01em; color: var(--parchment); }

/* ── etichetta di sezione ("// blog · problemi") e percorso ──────────────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: clamp(28px, 5vw, 56px); font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.crumbs::before { content: "//"; color: var(--muted); }
.crumbs a { color: var(--bio); text-decoration: none; padding: 8px 0; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: #5b6166; }

/* ── blog: indice e pagine di sezione ────────────────────────────────────── */
.blog-head { padding-bottom: 8px; }
.blog-head h1 { margin: 14px 0 20px; }
.blog-head > h1:first-child { margin-top: clamp(40px, 7vw, 84px); }
.blog-head h1 em, .post-head h1 em { font-style: italic; font-weight: 400; background: linear-gradient(90deg, var(--bio-glow), var(--bio)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sec-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sec-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(108, 224, 247, .25); background: rgba(108, 224, 247, .08); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); text-decoration: none; transition: border-color .2s, color .2s; }
.sec-nav a:hover { border-color: var(--bio); color: var(--bio); }

.sec-block { padding-top: clamp(44px, 6vw, 76px); }
.sec-block > h2 { display: flex; align-items: baseline; gap: 12px; font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.025em; }
.sec-block > h2 a { color: inherit; text-decoration: none; }
.sec-block > h2 a:hover { color: var(--bio); }
.sec-intro { margin-top: 12px; max-width: 58ch; color: var(--cream); opacity: .7; }
.post-list { margin-top: 22px; display: grid; gap: 12px; }
@media (min-width: 720px) { .post-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .post-list { grid-template-columns: 1fr 1fr 1fr; } }
.post-list a { display: block; height: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--ink-4); background: var(--glass); text-decoration: none; transition: border-color .25s, transform .25s; }
.post-list a:hover { border-color: rgba(108, 247, 167, .4); transform: translateY(-3px); }
.post-list b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.14rem; line-height: 1.25; letter-spacing: -.01em; color: var(--parchment); }
.post-list span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--cream); opacity: .68; }
.all { margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.all a { text-decoration: none; }
.all a:hover { text-decoration: underline; }

/* ── blog: un articolo ───────────────────────────────────────────────────── */
.post-head { max-width: 860px; padding: 14px 0 clamp(26px, 4vw, 44px); }
.post-head h1 { overflow-wrap: anywhere; }
.post-head .alias { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.post-head .lead { margin-top: 18px; }
.post-cols { display: grid; gap: 30px; }
@media (min-width: 980px) {
  .post-cols { grid-template-columns: minmax(0, 700px) minmax(260px, 340px); column-gap: 64px; align-items: start; }
  .post-cols > .post-side { grid-column: 2; grid-row: 1; position: sticky; top: 96px; }
  .post-cols > .post-body { grid-column: 1; grid-row: 1; }
  .post-cols.single { grid-template-columns: minmax(0, 740px); }
}
/* la scheda dei fatti: una tavola di vetro, come quella che galleggia sul barattolo della home */
.facts { padding: 6px 18px; border-radius: 16px; border: 1px solid rgba(108, 247, 167, .18); background: var(--glass); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(108, 247, 167, .08); }
.facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(242, 234, 214, .07); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { flex: none; max-width: 46%; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: var(--serif); font-size: 1.05rem; line-height: 1.3; color: var(--parchment); text-align: right; overflow-wrap: anywhere; }
.facts dd.tone-ok { color: var(--bio); }
.facts dd.tone-warn { color: var(--amber-glow); }
.facts dd.tone-bad { color: var(--rust); }

.post-body > :first-child { margin-top: 0; }
.post-body h2 { position: relative; margin: 46px 0 14px; padding-top: 18px; border-top: 1px solid rgba(108, 247, 167, .12); }
.post-body h2::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--bio); }
.post-body p { margin-bottom: 14px; max-width: 66ch; }
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(242, 234, 214, .07); }
.rows li:last-child { border-bottom: 0; }
.rows span { color: var(--cream); }
.rows small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.rows b { font-family: var(--serif); font-weight: 400; font-size: 1.08rem; }
.tag { flex: none; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(242, 234, 214, .07); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(step, decimal-leading-zero); min-width: 2em; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; line-height: 2.1; color: var(--bio); }
.steps b { display: block; margin-bottom: 3px; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; line-height: 1.3; }
.steps span { display: block; color: var(--cream); }
.steps small { display: block; margin-top: 7px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.steps small i { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-right: 4px; }
.steps small.tone-warn { color: var(--amber-glow); }
.steps small.tone-warn i { color: var(--amber); }
.defs > div { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid rgba(242, 234, 214, .07); }
.defs > div:last-child { border-bottom: 0; }
@media (min-width: 620px) { .defs > div { grid-template-columns: 11.5em minmax(0, 1fr); gap: 16px; } }
.defs dt { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; line-height: 2.4; color: var(--muted); }
.defs dd { color: var(--cream); }
.note { margin: 24px 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--ink-4); background: var(--glass); }
.note b { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--bio); }
.note p { color: var(--cream); }
.note p:last-child { margin-bottom: 0; }
.note-warn { border-color: rgba(232, 164, 60, .3); }
.note-warn b { color: var(--amber); }
.bignum { display: grid; gap: 4px; margin: 26px 0; }
.bignum b { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 7vw, 3.8rem); line-height: 1; letter-spacing: -.02em; background: linear-gradient(180deg, var(--bio-glow), var(--bio)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bignum span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.entries { display: grid; gap: 12px; }
.entry { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--ink-4); background: var(--glass); }
.entry h3 { margin-bottom: 6px; }
.entry p { margin-bottom: 8px; color: var(--cream); opacity: .85; font-size: 15px; line-height: 1.6; }
.entry .defs { font-size: 14px; }
.entry .defs > div { padding: 4px 0; border-bottom: 0; }
.entry .defs dt { line-height: 2.1; }
.editorial { margin-top: 44px; padding-top: 16px; border-top: 1px solid rgba(242, 234, 214, .07); font-size: 13px; color: var(--muted); }

.more { padding-top: clamp(36px, 5vw, 60px); }
.more section + section { margin-top: 34px; }
.more h2 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--bio); }
.more h2::before { content: "// "; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.pager a { display: block; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--ink-4); background: var(--glass); text-decoration: none; transition: border-color .25s; }
.pager a:hover { border-color: rgba(108, 247, 167, .4); }
.pager .next { text-align: right; }
.pager small { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager b { font-family: var(--serif); font-weight: 400; font-size: 1.08rem; line-height: 1.3; }

/* ── l'invito all'app in fondo a ogni pagina ─────────────────────────────── */
.download { margin-top: clamp(56px, 8vw, 110px); padding: clamp(44px, 7vw, 84px) 0; border-top: 1px solid rgba(108, 247, 167, .08); background: radial-gradient(ellipse at 20% 0%, rgba(42, 138, 85, .2), transparent 60%), linear-gradient(180deg, rgba(13, 17, 19, .6), rgba(7, 9, 10, .2)); }
.download h2 { font-weight: 300; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.028em; margin-bottom: 14px; }
.download h2 em { font-style: italic; font-weight: 400; background: linear-gradient(90deg, var(--bio-glow), var(--bio)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.download p { max-width: 52ch; margin-bottom: 26px; color: var(--cream); opacity: .74; }

/* ── piede ───────────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid rgba(108, 247, 167, .08); padding: 30px 0 38px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.site-foot a:hover { color: var(--bio); }

/* ── la sigla di un tipo di fermento, lo scaffale, la cantina ────────────── */
.mark { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--c, #8a8172); color: #0b0d0c; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .02em; line-height: 1; }
.f-lacto { --c: #57903F; } .f-koji { --c: #BF8517; } .f-scoby { --c: #CF7424; }
.f-alcohol { --c: #B06C92; } .f-acetic { --c: #D0503F; } .f-dairy { --c: #4789AD; }
.f-cured { --c: #C65A33; } .f-dough { --c: #8C7458; } .f-legume { --c: #7C8C36; } .f-other { --c: #8A8172; }
.shelf { display: flex; align-items: flex-end; gap: clamp(10px, 2.4vw, 20px); padding: 0 12px; border-bottom: 3px solid rgba(242, 234, 214, .55); }
.jar { flex: 1 1 0; min-width: 0; max-width: 60px; display: block; }
.jar-legend { display: flex; gap: clamp(10px, 2.4vw, 20px); padding: 12px 12px 0; }
.jar-legend span { flex: 1 1 0; min-width: 0; max-width: 60px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; line-height: 1.35; color: var(--muted); text-align: center; overflow-wrap: anywhere; }
.bottles { display: flex; align-items: flex-end; gap: 14px; padding: 0 12px; border-bottom: 3px solid rgba(242, 234, 214, .55); }
.bottle { width: 26px; flex: none; display: block; }
.meter { height: 3px; margin: 12px 0; border-radius: 2px; background: rgba(242, 234, 214, .1); overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--bio-deep), var(--bio)); }
.stats { display: flex; margin: 18px 0; border-top: 1px solid rgba(242, 234, 214, .08); border-bottom: 1px solid rgba(242, 234, 214, .08); }
.stats > div { flex: 1; min-width: 0; padding: 12px 6px; }
.stats > div + div { border-left: 1px solid rgba(242, 234, 214, .08); padding-left: 14px; }
.stats .v { font-family: var(--serif); font-weight: 300; font-size: 1.6rem; line-height: 1.15; color: var(--parchment); }
.stats .l { margin-top: 2px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ledger li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(242, 234, 214, .07); color: var(--cream); }
.ledger li:last-child { border-bottom: 0; }
.ledger .v { font-family: var(--mono); font-size: 13px; color: var(--parchment); text-align: right; white-space: nowrap; }

/* ── pagine condivise dall'app (un fermento, un laboratorio, una ricetta) ── */
.share { max-width: 540px; padding-top: clamp(22px, 4vw, 44px); padding-bottom: 12px; }
.share .card { border-radius: 20px; border: 1px solid rgba(108, 247, 167, .18); background: var(--glass); overflow: hidden; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(108, 247, 167, .08); }
.share .photo { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 50% 60%, rgba(42, 138, 85, .28), transparent 62%), var(--ink-2); }
.share .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.share .photo .mark { width: 88px; height: 88px; border-radius: 20px; font-size: 30px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .8); }
.share .body { padding: 22px 22px 24px; }
.share h1 { font-size: clamp(1.8rem, 6.4vw, 2.5rem); line-height: 1.08; margin-bottom: 8px; overflow-wrap: anywhere; }
.share .by { margin-bottom: 14px; color: var(--cream); opacity: .75; }
.share .by b { color: var(--parchment); font-weight: 600; }
.share .state { margin-bottom: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.share .state.tone-ok { color: var(--bio); }
.share .sp-sub { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); opacity: .8; }
.share .loading, .share .gone { padding: 54px 24px; text-align: center; color: var(--muted); }
.share .loading { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.share .gone h1 { margin: 16px 0 10px; }
.share .gone svg { width: 54px; height: 54px; color: var(--bio); }
.share .pitch { margin: 24px 0 16px; color: var(--cream); opacity: .74; }
.share .btn { width: 100%; }
.share .stores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.share .store { min-width: 0; padding: 12px 14px; }
.share .sec { margin: 26px 0 6px; padding-top: 16px; border-top: 1px solid rgba(108, 247, 167, .12); font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--bio); }
.share .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.share .chip { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(108, 224, 247, .25); background: rgba(108, 224, 247, .08); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.share .story { margin-top: 6px; color: var(--cream); }
.share .avatar { width: 84px; height: 84px; flex: none; border-radius: 50%; object-fit: cover; display: block; background: var(--ink-3); border: 1px solid rgba(108, 247, 167, .3); }
.share .avatar-letter { width: 84px; height: 84px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--bio), var(--bio-deep)); color: #02140a; font-family: var(--serif); font-size: 2.1rem; }
.share .plate { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.share .plate h1 { margin-bottom: 0; }
.share .plate .state { margin: 6px 0 0; color: var(--amber); }
.share .room { margin-top: 6px; padding: 16px 12px 22px; border-radius: 14px; border: 1px solid var(--ink-4); background: rgba(7, 9, 10, .55); }
.share .room h2 { display: flex; justify-content: space-between; margin: 0 4px 16px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--bio); }
.share .room .gap { height: 24px; }

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.lost { max-width: 720px; margin: 0 auto; padding: clamp(60px, 12vw, 140px) var(--gutter); }
.lost svg { width: 64px; height: 64px; margin-bottom: 26px; color: var(--bio); }
.lost h1 { margin-bottom: 18px; }
.lost h1 em { font-style: italic; font-weight: 400; background: linear-gradient(90deg, var(--bio-glow), var(--bio)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lost p { margin-bottom: 30px; color: var(--cream); opacity: .74; }
