/*
 * The public marketplace preview's one stylesheet (slice M3).
 *
 * Values are copied from the marketplace mockups (carteblanche-private,
 * design/marketplace-preview: Main, Skill, HowItWorks, Creators). Ink on paper; machine blue for
 * machine-generated results and focus; amber and red only for what needs attention.
 *
 * Rules kept from FRONTEND.md: no text-transform (8.7), visible focus, every status carries a word
 * as well as a colour (8.7), and nothing scrolls sideways at 390px (8.8). No inline styles: the
 * Content-Security-Policy allows this file and nothing else.
 */

/* --- fonts: self-hosted from @fontsource 5.3.0, SIL Open Font License (fonts/OFL-*.txt) ---- */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/geist-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: 'Geist'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/geist-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/geist-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: 'Geist'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/geist-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/geist-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: 'Geist'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/geist-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/jetbrains-mono-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: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/jetbrains-mono-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: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/jetbrains-mono-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/unbounded-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: 'Unbounded'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/unbounded-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; }

/* --- tokens: the mockups' values -------------------------------------------------------------- */
:root {
  --ink: #0B0D14;
  --text: #2E3340;
  --faint: #5B6272;
  --paper: #FFFFFF;
  --grid: #F4F6FA;
  --sunk: #F2F3F7;
  --line: #D9DDE6;
  --machine: #2B2BFF;
  --machine-hover: #1A1AB8;
  --machine-soft: #EEF0FF;
  --machine-line: rgba(43, 43, 255, .4);
  --violet: #6A4CF0;
  --violet-soft: #F4F1FF;
  --ok: #087A52;
  --ok-soft: #EAF7F0;
  --ok-line: rgba(8, 122, 82, .35);
  --attention: #9A5B00;
  --attention-soft: #FFF6E8;
  --attention-line: rgba(154, 91, 0, .35);
  --stop: #C81E3A;
  --stop-soft: #FFF0F2;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --display: 'Unbounded', 'Geist', sans-serif;
  --gutter: 40px;
}

/* --- base ------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--machine); }
a:hover { color: var(--machine-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
summary:focus-visible, select:focus-visible {
  outline: 2px solid var(--machine);
  outline-offset: 3px;
}
input::placeholder, textarea::placeholder { color: var(--faint); }
code, pre, .mono { font-family: var(--mono); }
h1, h2, h3, p { margin: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- header and footer ------------------------------------------------------------------------ */
.site-header {
  position: relative; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px;
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--ink);
  background: rgba(255, 255, 255, .94);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink);
  text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--display); font-size: 15px; font-weight: 500; }
.preview-tag { font-family: var(--mono); font-size: 11px; color: var(--faint);
  border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 14px; }
.main-nav a { color: var(--faint); text-decoration: none; padding: 12px 0;
  border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; min-width: 240px;
  min-height: 32px; background: var(--paper); }
.search:focus-within { border-color: var(--machine); }
.search-slash { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.search input { border: none; outline: none; font: inherit; font-size: 14px;
  background: transparent; flex: 1; min-width: 0; color: var(--ink); }

.site-footer { margin-top: 56px; border-top: 1px solid var(--ink); background: var(--paper); }
.site-footer-inner { padding: 22px var(--gutter); display: flex; flex-wrap: wrap;
  align-items: center; gap: 8px 28px; font-size: 14px; color: var(--faint); }
.footer-name { font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 20px; margin-left: auto; }
.footer-nav a, .footer-nav span { color: var(--faint); padding: 12px 0; }

/* --- shared pieces ---------------------------------------------------------------------------- */
.kicker { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.kicker a { color: var(--faint); }
.lede { max-width: 680px; font-size: 18px; line-height: 1.55; color: var(--text); }
.page-title { font-family: var(--display); font-size: clamp(30px, 5vw, 44px); line-height: 1.1;
  font-weight: 600; letter-spacing: -0.02em; overflow-wrap: anywhere; }

/* A framed window: ink border, a black title bar in mono, machine-blue corner marks. */
.frame { position: relative; border: 1px solid var(--ink); background: var(--paper); min-width: 0; }
.corner { position: absolute; width: 12px; height: 12px; pointer-events: none; }
.corner.tl { top: -7px; left: -7px; border-top: 1.5px solid var(--machine);
  border-left: 1.5px solid var(--machine); }
.corner.tr { top: -7px; right: -7px; border-top: 1.5px solid var(--machine);
  border-right: 1.5px solid var(--machine); }
.corner.bl { bottom: -7px; left: -7px; border-bottom: 1.5px solid var(--machine);
  border-left: 1.5px solid var(--machine); }
.corner.br { bottom: -7px; right: -7px; border-bottom: 1.5px solid var(--machine);
  border-right: 1.5px solid var(--machine); }
.frame-bar { background: var(--ink); color: var(--paper); padding: 11px 16px; display: flex;
  flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-family: var(--mono);
  font-size: 13px; }
.frame-bar h2 { font: inherit; }
.frame-note { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px;
  line-height: 1.55; color: var(--faint); }

.badge { display: inline-block; font-family: var(--mono); font-size: 13px; padding: 4px 9px;
  border-radius: 3px; border: 1px solid var(--line); background: var(--sunk); color: var(--text); }
.badge-machine { color: var(--machine); border-color: var(--machine-line);
  background: var(--machine-soft); }
.badge-ok { color: var(--ok); border-color: var(--ok-line); background: var(--ok-soft); }
.badge-attention { color: var(--attention); border-color: var(--attention-line);
  background: var(--attention-soft); }
.badge-small { font-size: 12px; padding: 3px 8px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 18px; border-radius: 4px; border: 1px solid var(--ink); background: var(--ink);
  color: var(--paper); text-decoration: none; font-family: inherit; font-size: 15px;
  font-weight: 500; cursor: pointer; }
.button:hover { color: var(--paper); background: #1F2330; }
.button-quiet { background: var(--paper); color: var(--ink); }
.button-quiet:hover { color: var(--ink); background: var(--sunk); }
.button-round { border-radius: 999px; font-size: 14px; font-weight: 600; }

.notice { border: 1px solid var(--line); background: var(--sunk); padding: 12px 14px;
  font-size: 14px; line-height: 1.55; color: var(--text); }
.notice-ok { border-color: var(--ok-line); background: var(--ok-soft); color: var(--ok); }
.notice-attention { border-color: var(--attention-line); background: var(--attention-soft);
  color: var(--attention); }
.notice-stop { border-color: var(--stop); background: var(--stop-soft); color: var(--stop); }

/* --- forms ------------------------------------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field-label { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.field input, .field textarea { min-height: 44px; width: 100%; padding: 10px 12px;
  border: 1px solid var(--ink); border-radius: 4px; font-family: inherit; font-size: 15px;
  color: var(--ink); background: var(--paper); }
.field textarea { resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--stop); }
.field-error { font-size: 13px; color: var(--stop); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--machine);
  flex: none; }
.check label { font-size: 14px; line-height: 1.5; color: var(--text); }
.form-fine { font-size: 13px; line-height: 1.5; color: var(--faint); }
/* The honeypot: a field people never see or reach, which only a script fills in. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* --- home: heading and filters ---------------------------------------------------------------- */
.home-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 16px; padding: 34px var(--gutter) 22px; }
.home-title { font-family: var(--display); font-size: clamp(30px, 5vw, 44px); font-weight: 500;
  letter-spacing: -0.035em; line-height: 1.1; }
.home-promise { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--faint);
  max-width: 62ch; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills a { font-family: var(--mono); font-size: 12px; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
.pills a:hover { border-color: var(--ink); color: var(--ink); }
.pills a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --- home: the expanding hero panels (plain CSS hover; they stack on narrow screens) ---------- */
.acc { display: flex; gap: 14px; height: 520px; margin: 0 var(--gutter); }
.acc .panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: 20px; overflow: hidden;
  transition: flex .6s cubic-bezier(.2, .7, .2, 1), box-shadow .4s;
  box-shadow: 0 0 0 1px rgba(11, 13, 20, .14); text-decoration: none; color: #FFFFFF; }
.acc .panel:hover { color: #FFFFFF; }
.acc .panel.open { flex: 5 1 0; }
.acc:hover .panel, .acc:focus-within .panel { flex: 1 1 0; }
.acc:hover .panel:hover, .acc .panel:focus-visible, .acc:focus-within .panel:focus-visible {
  flex: 5 1 0; box-shadow: 0 0 0 1px rgba(43, 43, 255, .5), 0 24px 60px rgba(43, 43, 255, .25); }
.acc .panel .full { opacity: 0; transition: opacity .35s .1s; }
.acc .panel .vt { opacity: 1; transition: opacity .25s; }
.acc .panel.open .full { opacity: 1; }
.acc .panel.open .vt { opacity: 0; }
.acc:hover .panel .full, .acc:focus-within .panel .full { opacity: 0; }
.acc:hover .panel .vt, .acc:focus-within .panel .vt { opacity: 1; }
.acc:hover .panel:hover .full, .acc .panel:focus-visible .full { opacity: 1; }
.acc:hover .panel:hover .vt, .acc .panel:focus-visible .vt { opacity: 0; }
.panel-shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 12, 0) 30%, rgba(5, 6, 12, .85) 100%); }
.panel .vt { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-family: var(--display); font-size: 22px; font-weight: 500;
  letter-spacing: .04em; white-space: nowrap; color: rgba(255, 255, 255, .92); }
.panel .full { position: absolute; left: 36px; right: 36px; bottom: 36px; display: flex;
  flex-direction: column; gap: 14px; max-width: 560px; }
.panel-kind { align-self: flex-start; font-family: var(--mono); font-size: 11px; color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, .55); background: rgba(5, 6, 12, .35); padding: 3px 8px;
  border-radius: 999px; white-space: nowrap; }
.panel-title { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); line-height: 1.02;
  font-weight: 500; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.panel-desc { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .9);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.panel-meta { font-family: var(--mono); font-size: 12px; line-height: 1.6;
  color: rgba(255, 255, 255, .8); white-space: pre-line; }
.panel-cta { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 999px;
  background: #FFFFFF; color: var(--ink); }

/* --- covers: decorative, chosen from the listing's slug --------------------------------------- */
.cover { position: absolute; inset: 0; overflow: hidden; }
.cover-crystal { display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px),
              radial-gradient(120% 90% at 50% 35%, var(--c1) 0%, var(--c2) 45%, #0B0620 100%); }
.cover-crystal pre { margin: 0; font-family: var(--mono); line-height: 1.12; color: #E1D8FF;
  white-space: pre; opacity: .95; }
.cover-violet { --c1: #7A5CFF; --c2: #34208F; }
.cover-blue { --c1: #4F6BFF; --c2: #1B2490; }
.cover-dusk { --c1: #9B5CFF; --c2: #4A1E8F; }
.cover-land svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel .cover-crystal { justify-content: flex-end; padding: 0 9% 12% 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px),
              radial-gradient(110% 90% at 72% 38%, var(--c1) 0%, var(--c2) 45%, #0B0620 100%); }
.panel .cover-crystal pre { font-size: 15px; text-shadow: 0 0 14px rgba(225, 216, 255, .4); }
.poster .cover-crystal { padding-bottom: 42%; }
.poster .cover-crystal pre { font-size: 6px; text-shadow: 0 0 10px rgba(225, 216, 255, .35); }

/* --- home: shelves of posters ----------------------------------------------------------------- */
.shelf-section { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.shelf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 0 var(--gutter); }
.shelf-title { font-family: var(--display); font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; }
.shelf-sub { margin-top: 4px; font-size: 14px; color: var(--faint); }
.shelf-all { font-family: var(--mono); font-size: 12px; color: var(--ink); padding: 12px 0;
  white-space: nowrap; }
/* Each card snaps its start to the snapport, which is the rail's padding box less its scroll
   padding. Without scroll padding a rail that can scroll rests with its first card at the window's
   edge, its padding scrolled away; a rail that fits never snaps, so only overflowing rails lost the
   inset. With the gutter as scroll padding, the start rests on the gutter and the end keeps it. */
.shelf { display: flex; gap: 16px; overflow-x: auto; padding: 14px var(--gutter) 22px;
  scroll-padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
.shelf.grid { flex-wrap: wrap; overflow-x: visible; }
.shelf::-webkit-scrollbar { height: 6px; }
.shelf::-webkit-scrollbar-thumb { background: var(--line); border-radius: 9px; }
.poster { position: relative; flex: 0 0 200px; width: 200px; aspect-ratio: 2 / 3; border-radius: 14px;
  overflow: hidden; text-decoration: none; color: #FFFFFF; scroll-snap-align: start;
  box-shadow: 0 0 0 1px rgba(11, 13, 20, .14), 0 14px 30px rgba(11, 13, 20, .14);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.poster:hover { color: #FFFFFF; }
.poster:hover, .poster:focus-visible { transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 0 1px rgba(43, 43, 255, .6), 0 0 0 6px rgba(43, 43, 255, .10),
              0 24px 50px rgba(43, 43, 255, .28), 0 0 60px rgba(120, 170, 255, .35); }
.poster-shade { position: absolute; inset: 0; background: linear-gradient(180deg,
  rgba(5, 6, 12, 0) 36%, rgba(5, 6, 12, .6) 66%, rgba(5, 6, 12, .94) 100%); }
.poster-body { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex;
  flex-direction: column; gap: 6px; }
.poster-kind { font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, .75); }
.poster-name { font-family: var(--display); font-size: 17px; line-height: 1.15; font-weight: 500;
  letter-spacing: -0.01em; overflow-wrap: anywhere; }
.poster-by { font-size: 12px; color: rgba(255, 255, 255, .82); }
.poster-meta { font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, .92); }
.poster-perms { font-family: var(--mono); font-size: 11px; color: #C7CDFF; }
.poster .asks { font-size: 11px; line-height: 1.45; color: rgba(255, 255, 255, .9);
  border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 6px; white-space: pre-line;
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.poster:hover .asks, .poster:focus-visible .asks { opacity: 1; transform: none; }
.poster-add { flex: 0 0 200px; width: 200px; aspect-ratio: 2 / 3; border-radius: 14px;
  border: 1.5px dashed var(--ink); background: rgba(255, 255, 255, .9); display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px;
  color: var(--ink); text-decoration: none; text-align: center; scroll-snap-align: start; }
.poster-add:hover { color: var(--ink); border-color: var(--machine); }
.poster-add-plus { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink);
  display: grid; place-items: center; font-size: 22px; line-height: 1; }
.poster-add-title { font-size: 15px; font-weight: 500; }
.poster-add-fine { font-size: 12px; line-height: 1.5; color: var(--faint); }
.empty { margin: 0 var(--gutter); padding: 28px; border: 1px dashed var(--line);
  background: var(--paper); color: var(--text); font-size: 15px; line-height: 1.55; }

/* --- Verified: the label, plain text, and what it means (A25.14 item 6) ---------------------- */
.poster-verified { position: absolute; top: 10px; left: 10px; right: 10px; }
.poster-verified .verified { display: inline-block; font-family: var(--mono); font-size: 11px;
  color: var(--ok); background: var(--ok-soft); border: 1px solid var(--ok-line);
  padding: 2px 7px; border-radius: 999px; }
.verified-about { margin: 36px var(--gutter) 0; padding-top: 20px; border-top: 1px solid var(--ink);
  display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.verified-about-title { font-family: var(--display); font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; }
.verified-about p { font-size: 15px; line-height: 1.55; color: var(--text); }
.verified-about a { align-self: flex-start; font-family: var(--mono); font-size: 13px;
  padding: 12px 0; }

/* --- home: the notify form -------------------------------------------------------------------- */
.notify { margin: 40px var(--gutter) 0; padding: 28px; display: flex; flex-wrap: wrap;
  align-items: center; gap: 18px 40px; }
.notify-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.notify-title { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.notify-text p { font-size: 15px; line-height: 1.55; color: var(--text); }
.notify form { flex: 1 1 380px; min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: 8px; }
.notify .field { flex: 1 1 220px; gap: 4px; }
.notify .form-fine, .notify .notice, .notify .field-error { flex-basis: 100%; }

/* --- a listing's page ------------------------------------------------------------------------- */
.page-main { max-width: 1200px; margin: 0 auto; padding: 32px 24px 72px; display: flex;
  flex-direction: column; gap: 32px; }
.page-main.narrow { max-width: 1000px; padding-top: 56px; gap: 40px; }
.skill-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 28px;
  padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.skill-art { flex: none; margin: 0; font-family: var(--mono); font-size: 8px; line-height: 1.12;
  color: var(--violet); white-space: pre; }
.skill-head-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.skill-summary { max-width: 640px; font-size: 17px; line-height: 1.55; color: var(--text);
  white-space: pre-line; overflow-wrap: anywhere; }
.skill-byline { font-size: 14px; line-height: 1.5; color: var(--faint); overflow-wrap: anywhere; }
.skill-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.skill-actions .spacer { flex: 1; }
.columns { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.column-main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.column-side { flex: 1 1 300px; max-width: 380px; min-width: 0; display: flex; flex-direction: column;
  gap: 32px; }

.models { display: flex; flex-wrap: wrap; }
.model { flex: 1 1 280px; min-width: 0; padding: 20px 16px; display: flex; flex-direction: column;
  gap: 12px; border-right: 1px solid var(--line); }
.model:last-child { border-right: none; }
.model-name { font-size: 16px; font-weight: 600; }
.model-id { margin-top: 2px; font-family: var(--mono); font-size: 12px; color: var(--faint);
  overflow-wrap: anywhere; }
.model-maker { margin-top: 2px; font-size: 13px; color: var(--ink); }
.count-label { font-family: var(--mono); font-size: 12px; color: var(--faint); }

.case-group { padding: 14px 16px 6px; font-family: var(--mono); font-size: 12px;
  color: var(--faint); border-bottom: 1px solid var(--line); }

.case { border-bottom: 1px solid var(--line); }
.case:last-child { border-bottom: none; }
.case summary { cursor: pointer; padding: 14px 16px; font-family: var(--mono); font-size: 14px;
  overflow-wrap: anywhere; }
.case-body { padding: 0 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.case-ask { font-size: 15px; line-height: 1.55; color: var(--text); border-left: 2px solid var(--machine);
  padding-left: 12px; white-space: pre-line; overflow-wrap: anywhere; }

.install-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.install-body p { font-size: 14px; line-height: 1.55; color: var(--text); }
.install-tool { padding: 12px 0; border-bottom: 1px dashed var(--line); display: flex;
  flex-direction: column; gap: 4px; }
.install-tool-name { font-size: 14px; font-weight: 600; }
.install-path { font-family: var(--mono); font-size: 12.5px; background: var(--sunk);
  border: 1px solid var(--line); border-radius: 3px; padding: 4px 7px; overflow-wrap: anywhere; }
.install-fine { font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.install-body p.install-fine { font-size: 13px; color: var(--faint); margin-top: 6px; }
.install-body code { font-family: var(--mono); font-size: 13px; }

.about { margin: 0; padding: 6px 16px 10px; }
.about div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0;
  border-bottom: 1px dashed var(--line); font-family: var(--mono); font-size: 13px; }
.about div:last-child { border-bottom: none; }
.about dt { color: var(--faint); }
.about dd { margin: 0; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.about-claim { border-top: 1px solid var(--line); padding: 14px 16px 16px; display: flex;
  flex-direction: column; gap: 6px; }
.about-claim .title { font-size: 14px; font-weight: 600; }
.about-claim p { font-size: 13px; line-height: 1.55; color: var(--text); }
.about-claim a { font-size: 13px; }

/* --- compare the answers (M3.1; layout from the Skill mockup) ------------------------------- */
.compare-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.compare-intro { font-size: 14px; line-height: 1.55; color: var(--text); }
.compare-pickers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.compare-cases { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.compare-group-label { flex-basis: 100%; font-family: var(--mono); font-size: 12px;
  color: var(--faint); }
.compare-cases a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: 12px; text-decoration: none; overflow-wrap: anywhere; }
.compare-cases a:hover { border-color: var(--ink); color: var(--ink); }
.compare-cases a[aria-current="true"] { background: var(--ink); color: var(--paper);
  border-color: var(--ink); }
/* The model choice is one joined control, at the end of the row. */
.compare-models { margin-left: auto; display: inline-flex; flex-wrap: wrap;
  border: 1px solid var(--ink); border-radius: 999px; overflow: hidden; }
.compare-models a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 12px;
  text-decoration: none; }
.compare-models a:hover { background: var(--sunk); color: var(--ink); }
.compare-models a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.compare-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px; }
.compare-column { min-width: 0; border-radius: 6px; display: flex; flex-direction: column; }
.compare-column.with { border: 1.5px solid var(--violet); background: #FBFAFF; }
.compare-column.without { border: 1px dashed var(--faint); background: var(--paper); }
.compare-column-head { padding: 10px 14px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--line); }
.compare-column.with .compare-column-head { border-bottom-color: #E4DCFF; }
.compare-column-label { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.compare-column.with .compare-column-label { color: var(--violet); }
.compare-answer { flex: 1; padding: 14px; }
.answer { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.6;
  color: var(--ink); }
.answer-more summary { cursor: pointer; font-family: var(--mono); font-size: 12px;
  color: var(--machine); padding: 8px 0 0; }
.answer-more .answer { margin-top: 6px; }
/* The source material the model was given beside the request (A25.15). */
.compare-source { min-width: 0; padding: 12px 14px; border-radius: 6px; background: var(--sunk);
  border: 1px solid var(--line); }
.compare-source-label { margin-bottom: 6px; font-family: var(--mono); font-size: 12px;
  color: var(--faint); }
.compare-source .answer { font-size: 13.5px; color: var(--text); }
.compare-message { font-size: 14px; line-height: 1.55; color: var(--text); }
.compare-note { font-size: 14px; line-height: 1.55; color: var(--faint); }
.compare-foot { font-size: 12.5px; line-height: 1.5; color: var(--faint); }

/* --- how we test, and the 404 page ------------------------------------------------------------ */
.intro { display: flex; flex-direction: column; gap: 14px; }

/* --- for creators ----------------------------------------------------------------------------- */
.step-n { font-family: var(--mono); font-size: 13px; color: var(--machine); min-width: 26px; }
.creators-hero { position: relative; overflow: hidden; border-radius: 24px; padding: 44px 40px;
  color: #FFFFFF; background: linear-gradient(100deg, #07080E 0%, #120D4A 50%, #3A2BD8 100%);
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.creators-hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.creators-hero .kicker { color: rgba(255, 255, 255, .75); }
.creators-hero .lede { color: rgba(255, 255, 255, .88); max-width: 560px; }
.creators-hero pre { flex: 0 1 auto; margin: 0 auto; font-family: var(--mono); font-size: 13px;
  line-height: 1.12; color: #B9ACFF; text-shadow: 0 0 14px rgba(150, 130, 255, .55); white-space: pre; }
.creators-hero .button { align-self: flex-start; margin-top: 6px; background: #FFFFFF; color: var(--ink);
  border-color: #FFFFFF; border-radius: 999px; min-height: 48px; padding: 0 22px; }
.terms { width: 100%; border-collapse: collapse; font-size: 15px; }
.terms th, .terms td { padding: 12px 16px; text-align: left; vertical-align: top; }
.terms tr { border-bottom: 1px dashed var(--line); }
.terms tr:last-child { border-bottom: none; }
.terms th { font-weight: 500; }
.sendlist { margin: 0; padding: 0; list-style: none; }
.sendlist li { display: flex; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.55; }
.sendlist li:last-child { border-bottom: none; }
.apply { flex: 1 1 360px; max-width: 440px; }
.page-main .notify { margin: 0; }
.apply form { padding: 20px 16px; display: flex; flex-direction: column; gap: 16px; }
.apply .button { min-height: 48px; }

/* --- privacy and terms ------------------------------------------------------------------------ */
.legal { max-width: 680px; display: flex; flex-direction: column; gap: 32px;
  overflow-wrap: break-word; }
.legal section { display: flex; flex-direction: column; gap: 12px; }
.legal h2 { font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.25; }
.legal section p, .legal li { font-size: 16px; line-height: 1.6; color: var(--text); }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }

/* --- narrow screens --------------------------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .acc { flex-direction: column; height: auto; }
  .acc .panel { flex: none !important; height: 120px; }
  .acc .panel.open { height: 420px; }
  .acc .panel .full { left: 20px; right: 20px; bottom: 20px; }
  .panel .vt { writing-mode: horizontal-tb; transform: none; left: 20px; bottom: 16px; }
  .search { min-width: 0; flex: 1 1 100%; margin-left: 0; }
  .page-main { padding-left: 16px; padding-right: 16px; }
  .creators-hero { padding: 32px 20px; }
  .creators-hero pre { display: none; }
  .column-side { max-width: none; }
  .apply { max-width: none; }
}
@media (max-width: 640px) {
  /* Shelves wrap instead of scrolling sideways. */
  .shelf { flex-wrap: wrap; overflow-x: visible; scroll-snap-type: none; }
  .poster, .poster-add { flex: 0 0 calc(50% - 8px); width: calc(50% - 8px); }
  .poster .asks { display: none; }
  .poster-name { font-size: 15px; }
  .skill-art { display: none; }
  .model { border-right: none; border-bottom: 1px solid var(--line); }
  .model:last-child { border-bottom: none; }
  .compare-models { margin-left: 0; }
  .terms th, .terms td { display: block; padding: 6px 16px; }
  .terms tr { display: block; padding: 6px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .poster:hover, .poster:focus-visible { transform: none; }
}
