/* getnotified.info, in the app's own branding (November 2026 overhaul).
   Tokens come from the app's src/theme/tokens.ts: Graham's lime system.
   Lime is a FILL with dark ink on top (buttons, chips, the live badge), never
   light-mode text; lime-deep carries green text and icons on light. The app's
   rule is that lime stays under ~5% of a screen, so it is spent on the one
   primary action, the numbers and the glow, not on wallpaper. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk-italic.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}

:root {
  --lime-hi: #C6E85F;
  --lime: #A4D730;
  --lime-deep: #679400;
  --bg: #F3F4EE;
  --surface: #FFFFFF;
  --surface-2: #EDEFE7;
  --ink: #101208;
  --ink-2: #3C4033;
  --muted: #6B7060;
  --hair: rgba(16, 18, 8, 0.10);
  --block: #141709;
  --on-block: #F3F4EE;
  --on-lime: #12140A;
  --green-text: var(--lime-deep);
  --glow: rgba(164, 215, 48, 0.32);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --surface: #1E1E1C;
    --surface-2: #191C11;
    --ink: #F3F4EE;
    --ink-2: #C9CCC0;
    --muted: #9EA393;
    --hair: rgba(243, 244, 238, 0.12);
    --block: #000000;
    --on-block: #F3F4EE;
    --green-text: var(--lime);
    --glow: rgba(164, 215, 48, 0.16);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark img { width: 32px; height: 32px; border-radius: 8px; }
.mark span { font-weight: 800; font-size: 14px; letter-spacing: .16em; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.top nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }
.top .get {
  background: var(--ink); color: var(--bg); padding: 9px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
}
@media (max-width: 640px) { .top nav a:not(.get) { display: none; } }

/* ---------- buttons ---------- */
.store {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  background: var(--ink); color: var(--bg); padding: 12px 22px 12px 18px;
  border-radius: 14px; min-height: 56px; font-weight: 700; font-size: 18px;
  transition: transform .15s ease;
}
.store:hover { transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store span { line-height: 1.05; }
.store small { display: block; font-size: 11.5px; font-weight: 500; opacity: .78; }
.ghost-link {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 8px;
  font-weight: 600; text-decoration: none; color: var(--ink-2);
}
.ghost-link:hover { color: var(--ink); }
:is(a, button, summary, input):focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px;
  background: radial-gradient(closest-side, var(--glow), transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 24px;
}
.eyebrow {
  font-weight: 800; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  margin: 0; color: var(--ink);
}
.eyebrow .dot { color: var(--green-text); }
h1 {
  font-weight: 800; font-size: clamp(44px, 7.4vw, 88px); line-height: .96;
  letter-spacing: -.045em; margin: 18px 0 0; text-wrap: balance;
}
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); margin: 22px 0 0; max-width: 31em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 30px 0 0; }
.small-print { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.phone { position: relative; justify-self: center; max-width: 430px; }
.phone img { width: 100%; height: auto; border-radius: 28px; }
.star { position: absolute; color: var(--lime); }
.star svg { width: 100%; height: 100%; fill: currentColor; }
.star.a { width: 54px; height: 54px; top: 2%; left: -6%; }
.star.b { width: 28px; height: 28px; bottom: 18%; right: -4%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 28px; }
  .phone { max-width: 360px; }
}

/* ---------- numbers strip ---------- */
.strip { border-block: 1px solid var(--hair); margin-top: 40px; }
.strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip .wrap > div { padding: 26px 16px 26px 0; }
.strip b { display: block; font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.03em; line-height: 1; }
.strip span { color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .strip .wrap { grid-template-columns: 1fr; } .strip .wrap > div { padding: 16px 0; } }

/* ---------- sections ---------- */
section { padding: 88px 0 0; }
.kicker {
  font-weight: 800; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-text); margin: 0 0 14px;
}
h2 {
  font-weight: 800; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.02;
  letter-spacing: -.04em; margin: 0; text-wrap: balance; max-width: 15em;
}
.section-lede { color: var(--ink-2); font-size: 19px; margin: 18px 0 0; max-width: 36em; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.feature {
  background: var(--surface); border: 1px solid var(--hair); border-radius: 22px; padding: 28px;
}
.feature .n {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  background: var(--lime); color: var(--on-lime); font-weight: 800; font-size: 14px;
}
.feature h3 { font-weight: 700; font-size: 22px; letter-spacing: -.02em; margin: 18px 0 8px; line-height: 1.15; }
.feature p { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.feature.wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* price history */
.price {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
  background: var(--surface); border: 1px solid var(--hair); border-radius: 26px;
  padding: 36px; margin-top: 40px;
}
.price .label { font-weight: 600; color: var(--muted); font-size: 14px; margin: 0; }
.price .now { font-weight: 800; font-size: 44px; letter-spacing: -.03em; margin: 4px 0 0; line-height: 1; }
.price svg { width: 100%; height: 120px; display: block; overflow: visible; color: var(--ink); }
.price .cap { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 8px; }
.verdict {
  display: inline-block; background: var(--lime); color: var(--on-lime); font-weight: 800;
  padding: 6px 12px; border-radius: 999px; font-size: 15px;
}
.price p.say { color: var(--ink-2); margin: 14px 0 0; }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; padding: 26px; } }

/* screens */
.screens {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px;
  margin-top: 40px;
}
.screens figure { margin: 0; scroll-snap-align: start; }
.screens img { border-radius: 22px; width: 100%; height: auto; border: 1px solid var(--hair); }

/* the not-a-bot block */
.block {
  background: var(--block); color: var(--on-block); border-radius: 30px;
  padding: clamp(32px, 6vw, 64px); position: relative; overflow: hidden;
}
.block::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px;
  background: radial-gradient(closest-side, rgba(164, 215, 48, .35), transparent 70%);
}
.block .kicker { color: var(--lime); }
.block h2 { color: var(--on-block); }
.block p { color: rgba(243, 244, 238, .78); font-size: 18px; max-width: 38em; position: relative; z-index: 1; }
.block .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; margin-top: 26px; position: relative; z-index: 1; }
.block .cols p { margin: 0; font-size: 16.5px; }
.block .cols strong { color: var(--on-block); display: block; margin-bottom: 4px; }
@media (max-width: 760px) { .block .cols { grid-template-columns: 1fr; gap: 18px; } }

/* android */
.android {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
  border: 1px solid var(--hair); border-radius: 26px; padding: 36px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--lime) 16%, var(--surface)), var(--surface));
}
.android h2 { font-size: clamp(28px, 3.6vw, 40px); }
.android p { color: var(--ink-2); margin: 12px 0 0; }
form { display: flex; gap: 10px; flex-wrap: wrap; }
input[type="email"] {
  flex: 1 1 220px; font: inherit; font-size: 16px; padding: 14px 16px; min-height: 52px;
  border-radius: 14px; border: 1px solid var(--hair); background: var(--surface); color: var(--ink);
}
button {
  font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; min-height: 52px;
  padding: 0 24px; border-radius: 14px; border: 0; background: var(--lime); color: var(--on-lime);
}
button[disabled] { opacity: .6; cursor: default; }
.optin { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-size: 14.5px; color: var(--ink-2); min-height: 44px; cursor: pointer; }
.optin input { width: 19px; height: 19px; accent-color: var(--lime-deep); }
.said { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); min-height: 1.3em; }
@media (max-width: 760px) { .android { grid-template-columns: 1fr; padding: 26px; } }

/* FAQ */
.qa { margin-top: 30px; }
.qa details { border-top: 1px solid var(--hair); }
.qa details:last-child { border-bottom: 1px solid var(--hair); }
.qa summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px;
  align-items: center; padding: 22px 0; font-weight: 700; font-size: 19px; letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 999px; background: var(--surface-2); font-weight: 600; font-size: 20px;
}
.qa details[open] summary::after { content: "\2212"; background: var(--lime); color: var(--on-lime); }
.qa details p { margin: 0 0 22px; color: var(--ink-2); max-width: 44em; }

/* closing call */
.closer { text-align: center; padding: 96px 0 0; }
.closer h2 { margin: 0 auto; }
.closer .actions { justify-content: center; }

/* footer */
footer.site { margin-top: 96px; border-top: 1px solid var(--hair); }
footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 28px; padding-bottom: 40px; }
footer.site p { margin: 0; color: var(--muted); font-size: 14.5px; }
footer.site nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer.site nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; padding: 6px 0; }
footer.site nav a:hover { color: var(--ink); }

/* ---------- document pages (privacy, terms, support) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 32px 24px 0; }
.doc h1 { font-size: clamp(38px, 6vw, 60px); }
.doc h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -.02em; margin: 48px 0 12px; max-width: none; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .meta { color: var(--muted); font-size: 14.5px; margin: 14px 0 30px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15.5px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.doc ul { padding-left: 20px; }
.doc .box {
  background: var(--surface); border: 1px solid var(--hair); border-left: 4px solid var(--lime);
  border-radius: 16px; padding: 20px 22px; margin: 26px 0;
}
.doc .box p { margin: 0 0 8px; font-size: 16px; }
.doc .box p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .store { transition: none; } }

/* ======================================================================
   Round ten (10 November): the home page's first screen, /week and /b/<slug>.
   Filled live by the Pages functions in functions/; see _lib/site.js.
   ====================================================================== */

/* ---------- campaign hero ---------- */
.hero2 {
  position: relative; overflow: hidden; background: var(--block); color: #F3F4EE;
  min-height: clamp(420px, 72vh, 640px); display: flex; align-items: flex-end;
}
.hero2-photo { position: absolute; inset: 0; }
.hero2-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero2::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 11, 6, 0) 30%, rgba(10, 11, 6, .55) 62%, rgba(10, 11, 6, .86) 100%);
}
.hero2-text { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 32px; }
.pill {
  display: inline-block; margin: 0; background: var(--lime); color: var(--on-lime);
  font-weight: 800; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.hero2 h1 { color: #F3F4EE; margin-top: 14px; font-size: clamp(42px, 7vw, 84px); max-width: 12em; }
.hero2-sub { margin: 14px 0 0; font-size: clamp(17px, 1.9vw, 21px); color: rgba(243, 244, 238, .9); max-width: 34em; }

.first {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 56px;
  align-items: start; padding-top: 28px;
}
.getrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.getnote { margin: 0; color: var(--muted); font-size: 16px; max-width: 12em; line-height: 1.4; }
@media (max-width: 860px) { .first { grid-template-columns: 1fr; padding-top: 20px; } }

/* ---------- a row heading with a count on the right ---------- */
.rowhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rowhead > span { color: var(--muted); font-size: 15px; white-space: nowrap; }
.h2-row { font-weight: 800; font-size: clamp(23px, 2.6vw, 28px); letter-spacing: -.03em; line-height: 1.1; margin: 0; max-width: none; }

/* ---------- drop rows (home and /week) ---------- */
.drops { list-style: none; margin: 10px 0 0; padding: 0; }
.drop {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--hair);
}
.drop:last-child { border-bottom: 0; }
.drop-pic {
  width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--hair); display: block;
}
.drop-pic img { width: 100%; height: 100%; object-fit: cover; }
.drop-text { min-width: 0; }
.drop-text p { margin: 0; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-when { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.drop-brand { font-weight: 600; font-size: 16px; }
.drop-brand a { text-decoration: none; }
.drop-brand a:hover { text-decoration: underline; }
.drop-text p.drop-what { color: var(--muted); font-size: 14.5px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.remind {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--hair); background: var(--surface);
  font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap;
}
.remind svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.remind:hover { border-color: var(--ink); }
@media (max-width: 380px) { .remind span { display: none; } .remind { padding: 0 11px; } }
.seeall { margin: 8px 0 0; text-align: center; }
.seeall a { color: var(--green-text); font-weight: 800; text-decoration: none; font-size: 17px; display: inline-block; padding: 8px 0; }
.weekfallback { color: var(--muted); margin: 12px 0 0; }
.weekfallback a { color: var(--green-text); font-weight: 700; }

/* ---------- /week ---------- */
.pagehead { padding-top: 28px; }
.h1-page { font-size: clamp(38px, 6vw, 64px); margin-top: 0; }
.pagesub { color: var(--muted); font-size: 17px; margin: 10px 0 0; max-width: 38em; }
.weeklist { max-width: 760px; }
.day { padding: 0; margin-top: 22px; }
.dayhead {
  font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-text); margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--hair); max-width: none;
}
.tailcall { padding-top: 36px; }
.tailcall p { color: var(--ink-2); margin: 0; max-width: 34em; }
.tailcall .actions { margin-top: 18px; }

/* ---------- /b/<slug> ---------- */
.bhero {
  position: relative; overflow: hidden; background: var(--block); color: #F3F4EE;
  min-height: clamp(300px, 52vh, 520px); display: flex; align-items: flex-end;
}
.bhero.nophoto { min-height: 240px; }
.bhero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.bhero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 11, 6, 0) 35%, rgba(10, 11, 6, .7) 100%);
}
.bhero-text { position: relative; z-index: 1; width: 100%; padding-top: 80px; padding-bottom: 26px; }
.bhero .h1-page { color: #F3F4EE; font-size: clamp(36px, 5.6vw, 64px); max-width: 13em; }
.bwho { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 600; font-size: 17px; }
.bwho img { width: 40px; height: 40px; border-radius: 999px; background: #fff; object-fit: contain; border: 2px solid rgba(255, 255, 255, .9); }

.bbody { padding-top: 20px; max-width: 880px; }
.release { background: var(--block); color: var(--on-block); border-radius: 24px; padding: 24px; }
.release .kicker { color: var(--lime); margin-bottom: 6px; }
.release h2 { color: var(--on-block); font-size: clamp(25px, 3.2vw, 32px); letter-spacing: -.03em; max-width: none; }
.release > p { margin: 8px 0 0; color: rgba(243, 244, 238, .78); }
.nextdrop { margin: 12px 0 0; color: var(--on-block); font-weight: 600; }
.nd-k { display: inline-block; background: var(--lime); color: var(--on-lime); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-right: 6px; }
.caught { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.caught li { background: rgba(243, 244, 238, .08); border-radius: 14px; padding: 10px 14px; line-height: 1.3; min-width: 0; }
.caught b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caught span { color: rgba(243, 244, 238, .7); font-size: 14.5px; }

.newest { padding-top: 26px; }
.tiles { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 761px) { .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tiles li:nth-child(n+4) { display: none; } }
.tile { display: block; text-decoration: none; min-width: 0; }
.tile-pic { display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.tile-pic img { width: 100%; height: 100%; object-fit: cover; }
.tile-name { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.25; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-price { display: block; color: var(--muted); font-size: 14.5px; }

.cta {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 58px;
  margin-top: 28px; padding: 0 24px; border-radius: 999px; background: var(--lime); color: var(--on-lime);
  font-weight: 700; font-size: 19px; text-decoration: none;
}
.cta:hover { background: var(--lime-hi); }
.cta.inline { display: inline-flex; margin-top: 0; }
.cta-sub { text-align: center; color: var(--muted); font-size: 15px; margin: 10px auto 0; max-width: 30em; }
.forbrands { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 14.5px; }
.forbrands a { color: var(--green-text); font-weight: 700; }
.weekbox { padding: 0; }
@media (max-width: 640px) {
  .hero2 { min-height: 0; }
  .hero2-text { padding-top: 200px; padding-bottom: 22px; }
  .hero2 h1 { font-size: 40px; margin-top: 12px; }
  .pill { font-size: 11px; letter-spacing: .07em; padding: 5px 10px; }
  .hero2-sub { font-size: 16.5px; line-height: 1.45; }
  .getrow { flex-wrap: nowrap; }
  .getnote { font-size: 15px; }
  .first { padding-top: 16px; gap: 20px; }
}
.getrow .store { flex: none; white-space: nowrap; }

/* ======================================================================
   Round nine, item 3: /p/<id>, the page a shared piece lands on, and the
   site's own 404. Filled live by worker/p/[id].js.
   ====================================================================== */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.piece {
  max-width: 1120px; margin: 0 auto; padding: 24px 24px 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start;
}
.piece-pic {
  position: relative; overflow: hidden; border-radius: 24px; background: var(--surface-2);
  aspect-ratio: 4 / 5;
}
.piece-pic.nophoto { aspect-ratio: 16 / 9; }
.piece-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.piece-cut {
  position: absolute; top: 14px; left: 14px; text-transform: none; letter-spacing: -.01em;
  font-size: 16px; padding: 6px 14px;
}
.piece-info { padding-top: 6px; }
.piece-who { margin: 0; color: var(--green-text); font-size: 17px; font-weight: 500; }
.piece-who a { text-decoration: none; }
.piece-who a:hover { text-decoration: underline; }
.piece-title {
  font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.035em; margin: 4px 0 0;
}
.piece-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 14px 0 0; }
.piece-price .now { font-weight: 800; font-size: clamp(38px, 4.6vw, 48px); letter-spacing: -.04em; line-height: 1; }
.piece-price .was { color: var(--muted); font-size: 20px; font-weight: 500; }
.piece-price .verdict { font-size: 15px; padding: 5px 14px; }

.sizes {
  background: var(--surface); border: 1px solid var(--hair); border-radius: 22px;
  padding: 16px 18px 18px; margin-top: 18px;
}
.sizes-head { display: flex; justify-content: space-between; gap: 12px; margin: 0; color: var(--muted); font-size: 15px; }
.sz-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sz {
  min-width: 46px; min-height: 34px; padding: 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15.5px;
}
.sz.in { background: var(--lime); color: var(--on-lime); font-weight: 700; }
.sz.out { border: 1.5px dashed color-mix(in srgb, var(--ink) 24%, transparent); color: var(--muted); }
.sz.out s { text-decoration-thickness: 1.5px; }
.sizes-say { margin: 12px 0 0; color: var(--ink); font-size: 16.5px; line-height: 1.45; }
.sizes-say b { font-weight: 800; }
.piece .cta { margin-top: 18px; }
.piece-shop { text-align: center; margin: 14px 0 0; font-size: 14.5px; }
.piece-shop a { color: var(--muted); }
.piece-shop a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .piece { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .piece-pic { border-radius: 0; aspect-ratio: auto; height: min(86vw, 520px); }
  .piece-pic img { object-position: center 12%; }
  .piece-pic.nophoto { height: 160px; }
  .piece-info { padding: 14px 16px 0; }
  .piece-title { font-size: 30px; }
  .piece-price .now { font-size: 40px; }
  .sizes { padding: 14px 14px 16px; }
}

.notfound { padding-top: 56px; max-width: 760px; }
.notfound .actions { margin-top: 22px; }
