/* The Postcards page (F-307, D-990; gitaway/pages/postcards.py, guides.py; the approved prototype is docs/design/creator-story/index.html, its Postcards tab).
   Always dark, in the new dark grey: the ground #161618, cards #222225 and #2D2D31, raised #3A3A3F. These are this page's own variables (.pcp), set here and not read from v2-tokens.css, so the page does not move
   when the site's dark tokens do (the way the cover's .cv3 stands alone). The page redefines the v2 names the shared pieces read (the top bar, the creator import stage in cv2.css), so they wear the grey too.
   Colour comes from content: every tile, number and card wears a place's own colour (--pc, --pc-on from gitaway/placecolor.py); green is good news (the "planned from it" count), orange is not used here.
   Contrast (words on #161618 / #222225): #F5F5F7 15.6 / 13.6, #A1A1A6 6.9 / 6.0, #8E8E93 5.6 / 4.9; the place colours carry their own passing ink (--pc-on).
   Every time is a v2 token (--v2-*, --cv-d*) or a loop; reduced motion stills the drift and the bobbing. */

html.pc-root { background: #161618; color-scheme: dark; }
.pc-root body { background: #161618; }
.pcp {
  --stage: #161618; --ground-ink: #F5F5F7; --ground-ink-2: #A1A1A6;
  --ink: #F5F5F7; --ink-2: #A1A1A6; --ink-3: #8E8E93; --on-ink: #1D1D1F; --on: #FFFFFF;
  --card-solid: #222225; --card-t: #222225; --card-2: #2D2D31; --card-3: #3A3A3F; --lead-bg: #222225; --glass: #222225; --glass-line: rgb(255 255 255 / .1);
  --line: rgb(255 255 255 / .1); --line-2: rgb(255 255 255 / .18); --word: #F5F5F7;
  --cta-bg: #F5F5F7; --cta-fg: #1D1D1F; --pick: #F5F5F7; --pick-on: #1D1D1F;
  --good: #34C3A9; --good-i: #34C3A9; --well: #1B1B1E;
  --sh1: 0 1px 0.125rem rgb(0 0 0 / .5); --sh2: 0 0.875rem 2rem -1rem rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .06); --sh3: 0 1.875rem 4.375rem -1.75rem rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .06);
  background: #161618; color: var(--ink); min-height: 100vh; font-family: var(--f-ui);
}
.pcp .v2-top, .pcp .v2-sections, .pcp .v2-menu { --glass: #222225; }
.pcp *, .pcp *::before, .pcp *::after { box-sizing: border-box; }
.pcp :where(h1, h2, h3, p, ul, ol) { margin: 0; }
.pcp :where(h1, h2, h3) { font-family: var(--f-display); text-wrap: balance; }
.pcp .pc-wrap { width: 100%; }
.pcp .pc-main { max-width: 76rem; margin: 0 auto; padding: 0.5rem max(1rem, env(safe-area-inset-right, 0px)) 0 max(1rem, env(safe-area-inset-left, 0px)); }
.pcp :focus-visible { outline: 0.1875rem solid #64D2FF; outline-offset: 0.1875rem; border-radius: 0.5rem; }
.pcp .smp { display: inline-flex; align-items: center; padding: 0.3125rem 0.625rem; border-radius: 99rem; background: rgb(0 0 0 / .62); color: var(--on); font: 700 max(var(--label-min), 0.75rem)/1 var(--f-ui); letter-spacing: .02em; box-shadow: none; }

/* kickers, section heads */
.pc-kick { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink-2); font: 700 max(var(--label-min), 0.8125rem)/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; }
.pc-dot { width: 0.5rem; height: 0.5rem; flex: none; border-radius: 50%; background: var(--pc, #A1A1A6); display: inline-block; }
.pc-sec { padding-top: 5.5rem; }
.pc-shead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.pc-shead h2 { margin-top: 0.75rem; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1; letter-spacing: -.04em; word-spacing: .08em; font-weight: 900; }
.pc-shead h2 em { font-style: normal; color: var(--ink-3); display: block; }
.pc-shead > p { max-width: 30rem; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; }
.pc-h4 { font: 700 1.0625rem/1.25 var(--f-ui); letter-spacing: -.01em; }

/* buttons */
.pc-go, .pc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: var(--target); padding: 0 1.375rem; border: 0; border-radius: 99rem; font: 700 1.0625rem/1 var(--f-ui); text-decoration: none; cursor: pointer; background: var(--card-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }
.pc-go, .pc-btn-1 { background: var(--cta-bg); color: var(--cta-fg); box-shadow: none; }
.pc-btn svg { width: 1.125rem; height: 1.125rem; }
.pc-go:active, .pc-btn:active, .pc-way:active { scale: var(--v2-press-scale); }

/* the invitation: the line over a slow drift of area photos, the paste box, the other way in */
.pc-inv { position: relative; margin-top: 0.5rem; border-radius: 2rem; overflow: hidden; background: #0a1520; box-shadow: 0 0 0 1px var(--line); isolation: isolate; }
.pc-bg { position: absolute; inset: 0; z-index: -2; }
.pc-bg span { position: absolute; inset: -6%; background: center / cover; opacity: 0; animation: pc-drift 24s ease-in-out infinite; }
.pc-bg span:nth-child(2) { animation-delay: -12s; }
.pc-inv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / .86) 0%, rgb(0 0 0 / .62) 45%, rgb(0 0 0 / .15) 100%), linear-gradient(0deg, rgb(0 0 0 / .5), rgb(0 0 0 / 0) 40%); }
@keyframes pc-drift { 0% { opacity: 0; scale: 1; translate: 0 0; } 12% { opacity: 1; } 50% { opacity: 1; } 62% { opacity: 0; } 100% { opacity: 0; scale: 1.12; translate: -2% -1%; } }
.pc-inv-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2rem; align-items: center; padding: clamp(1.75rem, 5vw, 4rem); min-height: 34rem; }
.pc-inv-in > * { min-width: 0; }
.pc-h1 { font-size: clamp(2.75rem, 7vw, 5.75rem); line-height: .95; letter-spacing: -.045em; word-spacing: .08em; font-weight: 900; margin-top: 0.875rem; }
.pc-h1 em { display: block; font-style: normal; background: linear-gradient(90deg, #F5C400, #FF8A3D 45%, #E64980); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-sub { margin-top: 1.25rem; max-width: 34rem; font: 500 clamp(1.0625rem, 1.8vw, 1.25rem)/1.45 var(--f-ui); color: #D9D9DE; }
.pc-paste { display: flex; gap: 0.5rem; align-items: center; margin-top: 1.75rem; max-width: 36rem; padding: 0.375rem 0.375rem 0.375rem 1.125rem; border-radius: 99rem; background: rgb(34 34 37 / .96); box-shadow: 0 0 0 1px var(--line-2), 0 0.875rem 2.25rem rgb(0 0 0 / .45); }
.pc-paste > svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--ink-2); }
.pc-paste textarea { flex: 1; min-width: 0; field-sizing: content; min-height: 3rem; max-height: 9rem; padding: 0.875rem 0; border: 0; background: transparent; color: var(--ink); font: 500 1rem/1.25 var(--f-ui); outline: none; resize: none; overflow: auto; }
.pc-paste textarea::placeholder { color: var(--ink-2); }
.pc-paste .pc-go { flex: none; }
.pc-paste.flash { animation: pc-flash var(--cv-d800) var(--v2-ease); }
@keyframes pc-flash { 0% { box-shadow: 0 0 0 1px var(--line-2), 0 0 0 0.375rem rgb(255 255 255 / .35); } 100% { box-shadow: 0 0 0 1px var(--line-2), 0 0 0 0 rgb(255 255 255 / 0); } }
.pcp .fc-off { margin-top: 0.875rem; max-width: 36rem; color: #D9D9DE; font-size: max(var(--text-min), 0.9375rem); }
.pcp .fc-off a { color: var(--on); }
.pcp .examples { margin-top: 0.875rem; }
.pcp .examples > span { color: #D9D9DE; }
.pcp .ex { background: rgb(34 34 37 / .94); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }
.pc-ways { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin-top: 1rem; color: #D9D9DE; font-size: max(var(--text-min), 0.9375rem); }
.pc-ways-c { justify-content: center; }
.pc-way { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0; border: 0; background: none; color: #F5F5F7; font: 600 max(var(--text-min), 0.9375rem)/1.3 var(--f-ui); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; min-height: 2.75rem; }
.pc-way svg { flex: none; }
.pc-free { display: inline-flex; align-items: center; gap: 0.375rem; }
.pc-free svg { width: 1rem; height: 1rem; color: var(--good); }
.pcp .v2-error { margin-top: 1rem; max-width: 36rem; padding: 0.75rem 1rem; border-radius: 1rem; background: var(--card-solid); color: var(--ink); box-shadow: 0 0 0 1px var(--sig); }

/* three sample postcards fanned beside it (the showcase only) */
.pc-fan { position: relative; height: 26rem; }
.pc-mini { position: absolute; width: 15rem; border-radius: 1.125rem; overflow: hidden; background: var(--card-solid); box-shadow: 0 1.5rem 3rem rgb(0 0 0 / .55), 0 0 0 1px var(--line-2); animation: pc-bob 7s ease-in-out infinite; }
.pc-mini:nth-child(1) { left: 0; top: 24%; rotate: -8deg; animation-delay: -1s; }
.pc-mini:nth-child(2) { left: 46%; top: 2%; rotate: 5deg; animation-delay: -4s; }
@keyframes pc-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -0.625rem; } }
.pc-mini .pc-ph { position: relative; height: 8.5rem; background: center / cover; }
.pc-mini .smp { position: absolute; left: 0.5rem; top: 0.5rem; }
.pc-mini .pc-bd { padding: 0.75rem 0.875rem 0.875rem; }
.pc-k { display: block; font: 700 max(var(--label-min), 0.75rem)/1.2 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pc-k::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: 0.4375rem; border-radius: 50%; background: var(--pc, #A1A1A6); }
.pc-mini em { display: block; margin-top: 0.375rem; font: 800 1rem/1.2 var(--f-ui); font-style: normal; letter-spacing: -.02em; }
.pc-by { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; color: var(--ink-2); font-size: max(var(--text-min), 0.875rem); }
.pc-av { display: inline-grid; place-items: center; width: 1.625rem; height: 1.625rem; flex: none; border-radius: 50%; background: var(--pc, #6E6E73); color: var(--pc-on, #fff); font: 800 max(var(--text-min), 0.75rem)/1 var(--f-ui); }

.pc-mine { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 1.375rem; background: var(--card-solid); box-shadow: 0 0 0 1px var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.pc-mine-l { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.pc-mine-l a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.875rem; border-radius: 99rem; background: var(--card-2); color: var(--ink); text-decoration: none; font-weight: 600; }
.pc-st { color: var(--ink-2); font-size: max(var(--text-min), 0.8125rem); }
.pc-more { color: var(--ink); font-weight: 600; text-underline-offset: 0.2em; }

/* how it works */
.pc-walk { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 2.5rem; margin-top: 2.5rem; align-items: start; }
.pc-stepper { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 5.5rem); display: grid; gap: 0.375rem; padding: 0; list-style: none; }
.pc-stepper a { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.75rem; align-items: center; padding: 0.75rem; border-radius: 1rem; text-decoration: none; color: var(--ink-2); font-weight: 700; line-height: 1.25; transition: background var(--v2-swap); }
.pc-stepper a em { display: block; font-style: normal; font-weight: 500; font-size: max(var(--label-min), 0.8125rem); color: var(--ink-3); margin-top: 0.125rem; }
.pc-n { display: inline-grid; color: var(--on); place-items: center; width: 2.25rem; height: 2.25rem; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 0.125rem var(--line-2); font: 800 1rem/1 var(--f-ui); font-variant-numeric: tabular-nums; }
.pc-stepper a[aria-current="step"] { background: var(--card-solid); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.pc-stepper a[aria-current="step"] .pc-n { background: var(--pc); color: var(--pc-on); box-shadow: none; }
.pc-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; min-width: 0; }
.pc-step { display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 1.625rem; background: var(--card-solid); box-shadow: 0 0 0 1px var(--line); scroll-margin-top: 6rem; }
.pc-step-h { display: flex; align-items: center; gap: 0.875rem; }
.pc-step-h .pc-n { width: 2.5rem; height: 2.5rem; background: var(--pc); color: var(--pc-on); box-shadow: none; }
.pc-step-h h3 { font: 800 clamp(1.5rem, 2.6vw, 2rem)/1.08 var(--f-ui); letter-spacing: -.03em; }
.pc-step > p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; max-width: 40rem; }
.pc-src { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.pc-src li { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0 0.875rem 0 0.375rem; border-radius: 99rem; background: var(--card-2); font-weight: 600; }
.pc-ti { display: inline-grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 0.75rem; background: var(--pc); color: var(--pc-on); }
.pc-src .pc-ti { width: 1.75rem; height: 1.75rem; border-radius: 50%; }
.pc-tabs { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.pc-tabs button { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.875rem; border: 0; border-radius: 99rem; background: var(--card-2); color: var(--ink-2); font: 600 max(var(--text-min), 0.9375rem)/1 var(--f-ui); cursor: pointer; }
.pc-tabs button[aria-selected="true"] { background: var(--ink); color: #1D1D1F; }
.pc-srcwrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.pc-srcview { position: relative; min-height: 20rem; border-radius: 1.125rem; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pc-sv { position: absolute; inset: 0; display: grid; place-items: center; padding: 1.25rem; opacity: 0; translate: 0 0.75rem; scale: .98; pointer-events: none; transition: opacity var(--v2-swap), translate var(--v2-swap) var(--spring), scale var(--v2-swap) var(--spring); }
.pc-sv.on { opacity: 1; translate: 0 0; scale: 1; pointer-events: auto; }
.pc-smp { justify-self: start; text-transform: none; letter-spacing: 0; }
.pc-step > div:not(.pc-note) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.pc-lw { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.pc-browser { width: min(26rem, 100%); border-radius: 0.875rem; overflow: hidden; background: var(--card-solid); box-shadow: 0 0 0 1px var(--line-2); }
.pc-chrome { display: flex; align-items: center; gap: 0.375rem; padding: 0.625rem 0.75rem; background: var(--card-3); font-size: max(var(--text-min), 0.8125rem); color: var(--ink); }
.pc-chrome span:not(:last-child) { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #6E6E73; }
.pc-chrome span:last-child { margin-left: 0.5rem; }
.pc-body { padding: 0.875rem; display: grid; gap: 0.625rem; }
.pc-body .pc-ph { height: 7rem; border-radius: 0.625rem; background: center / cover url(/assets/photos/santa-monica-beach-pier.jpg); }
.pc-bq { color: var(--ink-2); font-style: italic; line-height: 1.45; }
.pc-phone { width: 15rem; padding: 0.75rem; border-radius: 1.75rem; background: #000; box-shadow: 0 0 0 0.125rem var(--card-3); }
.pc-scr { display: grid; gap: 0.625rem; padding: 0.875rem; border-radius: 1.125rem; background: var(--card-solid); font-size: max(var(--text-min), 0.9375rem); line-height: 1.4; }
.pc-scr .pc-h { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.pc-scr .pc-h em { font-style: normal; }
.pc-player { width: min(24rem, 100%); display: grid; gap: 0.625rem; }
.pc-v { display: grid; align-items: end; justify-items: end; height: 9rem; padding: 0.625rem; border-radius: 0.875rem; background: linear-gradient(135deg, #1c3f5a, #0e2233); font-size: max(var(--text-min), 0.8125rem); }
.pc-chap { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.pc-chap span { padding: 0.375rem 0.625rem; border-radius: 99rem; background: var(--card-2); font-size: max(var(--text-min), 0.8125rem); color: var(--ink-2); }
.pc-cal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; width: 100%; }
.pc-cal > div { display: grid; align-content: start; gap: 0.375rem; font-weight: 700; font-size: max(var(--text-min), 0.875rem); color: var(--ink-2); }
.pc-cal span { display: block; padding: 0.5rem; border-radius: 0.5rem; background: var(--pc); color: var(--pc-on); font-size: max(var(--text-min), 0.8125rem); font-weight: 700; }
.pc-read { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1rem; align-items: center; }
.pc-quote { padding: 1.125rem; border-radius: 1.125rem; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); line-height: 1.6; color: var(--ink-2); font-style: italic; }
.pc-quote em { font-style: normal; color: var(--ink); background: linear-gradient(rgb(255 212 59 / .28), rgb(255 212 59 / .28)); border-radius: 0.25rem; padding: 0 0.125rem; }
.pc-arrow { color: var(--ink-3); display: grid; }
.pc-found { display: grid; gap: 0.5rem; padding: 0; list-style: none; }
.pc-found li { display: grid; grid-template-columns: 4.25rem 2.25rem 1fr; gap: 0.625rem; align-items: center; padding: 0.625rem 0.75rem; border-radius: 0.875rem; background: var(--card-2); }
.pc-js .pc-found li { opacity: 0; translate: 0.75rem 0; }
.pc-js .pc-step.on .pc-found li { animation: pc-land var(--cv-d600) var(--spring) both; animation-delay: calc(var(--i) * var(--v2-land-stagger) * 3 + var(--cv-d250)); }
@keyframes pc-land { to { opacity: 1; translate: 0 0; } }
.pc-t { color: var(--ink-2); font-size: max(var(--text-min), 0.875rem); font-variant-numeric: tabular-nums; }
.pc-found .pc-sm { display: block; margin-top: 0.125rem; font-weight: 500; font-style: italic; color: var(--ink-2); font-size: max(var(--text-min), 0.8125rem); }
.pc-found li { font-weight: 700; line-height: 1.25; }
.pc-found .unk .pc-ti { background: var(--card-3); color: var(--ink); }
.pc-note { display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.875rem 1rem; border-radius: 1rem; background: var(--card-2); color: var(--ink-2); font-size: max(var(--text-min), 0.9375rem); line-height: 1.45; }
.pc-note svg { flex: none; margin-top: 0.125rem; color: var(--good); }
.pc-screen { position: relative; border-radius: 1rem; overflow: hidden; background: var(--well); box-shadow: 0 0 0 1px var(--line-2), 0 1.125rem 2.5rem rgb(0 0 0 / .55); aspect-ratio: 16 / 10; }
.pc-screen video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pc-rec { position: absolute; left: 0.625rem; bottom: 0.625rem; display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.625rem; border-radius: 99rem; background: rgb(0 0 0 / .72); font: 600 max(var(--text-min), 0.75rem)/1 var(--f-ui); color: var(--ink); }
.pc-rec .pc-dot { background: var(--good); }
#pc-sample { align-self: flex-start; }
.pc-loop, .pc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.pc-lp { display: grid; align-content: start; gap: 0.5rem; padding: 1rem; border-radius: 1.125rem; background: var(--card-2); }
.pc-lp p { color: var(--ink-2); font-size: max(var(--text-min), 0.9375rem); line-height: 1.45; }
.pc-chip { display: inline-flex; align-items: center; gap: 0.375rem; justify-self: start; margin-top: 0.25rem; padding: 0.4375rem 0.75rem; border-radius: 99rem; background: var(--card-3); font: 600 max(var(--text-min), 0.8125rem)/1 var(--f-ui); }
.pc-stats > div { display: grid; gap: 0.25rem; padding: 1rem; border-radius: 1.125rem; background: var(--pc); color: var(--pc-on); }
.pc-stats em { font: 900 2rem/1 var(--f-ui); font-style: normal; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pc-stats span { font-weight: 600; font-size: max(var(--text-min), 0.9375rem); }
.pc-cap { color: var(--ink-3); font-size: max(var(--text-min), 0.875rem); }
.pc-walk-end { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }

/* the gallery: small filters on its own heading */
.pc-tools { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: center; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.1875rem; border-radius: 99rem; background: var(--card-solid); box-shadow: 0 0 0 1px var(--line); }
.pc-chip2 { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 0.75rem; border-radius: 99rem; color: var(--ink-2); font: 600 max(var(--text-min), 0.875rem)/1 var(--f-ui); text-decoration: none; }
.pc-chip2[aria-current="true"] { background: var(--card-3); color: var(--ink); }
.pc-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.pc-gc { display: flex; flex-direction: column; min-width: 0; border-radius: 1.375rem; overflow: hidden; background: var(--card-solid); color: var(--ink); box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: translate var(--v2-quick) var(--spring), box-shadow var(--v2-quick); }
a.pc-gc:hover { translate: 0 -0.25rem; box-shadow: 0 0 0 1px var(--line-2), 0 1.125rem 2.5rem rgb(0 0 0 / .5); }
.pc-art { position: relative; aspect-ratio: 16 / 10; background: var(--pc, #3A3A3F); }
.pc-art .pc-ph { position: absolute; inset: 0; }
.pc-art img, .pc-art .pc-ph svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.pc-art .smp { position: absolute; left: 0.75rem; top: 0.75rem; z-index: 1; }
.pc-dz, .pc-via { position: absolute; z-index: 1; display: inline-flex; align-items: center; padding: 0.375rem 0.625rem; border-radius: 99rem; background: rgb(0 0 0 / .66); color: var(--on); font: 700 max(var(--text-min), 0.8125rem)/1 var(--f-ui); }
.pc-dz { right: 0.75rem; top: 0.75rem; }
.pc-dz.pc-mine { right: auto; left: 0.75rem; top: 2.75rem; }
.pc-via { left: 0.75rem; bottom: 0.75rem; font-weight: 600; }
.pc-gc .pc-bd { display: flex; flex-direction: column; gap: 0.375rem; flex: 1; padding: 1rem 1.125rem 1.125rem; }
.pc-gc h3 { font: 800 1.25rem/1.15 var(--f-ui); letter-spacing: -.02em; }
.pc-gc .pc-by { margin-top: auto; padding-top: 0.5rem; }
.pc-by em { margin-left: auto; font-style: normal; color: var(--good); font-weight: 600; white-space: nowrap; }
.pc-yours { align-items: center; justify-content: center; gap: 0.875rem; padding: 2rem 1.5rem; text-align: center; background: repeating-linear-gradient(135deg, var(--card-solid) 0 0.875rem, #1E1E21 0.875rem 1.75rem); box-shadow: inset 0 0 0 0.125rem var(--line-2); }
.pc-yours:only-child { grid-column: 1 / -1; padding-block: 3rem; }
.pc-yours p:not(.pc-yh) { color: var(--ink-2); max-width: 22rem; }
.pc-plus { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--cta-bg); color: var(--cta-fg); }
.pc-yh { font: 800 1.5rem/1.15 var(--f-ui); letter-spacing: -.02em; }
.pc-empty { display: grid; justify-items: start; gap: 0.75rem; margin-top: 1.75rem; padding: 1.5rem; border-radius: 1.375rem; background: var(--card-solid); box-shadow: 0 0 0 1px var(--line); }
.pc-gal-note { margin-top: 1rem; text-align: center; color: var(--ink-3); font-size: max(var(--text-min), 0.875rem); }

/* the questions: a tile in a place's own colour, the open one tinted with it */
.pc-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 2rem; align-items: start; }
.pc-q { border-radius: 1.25rem; background: var(--card-solid); box-shadow: 0 0 0 1px var(--line); transition: background var(--v2-swap), box-shadow var(--v2-swap); }
.pc-q[open] { background: color-mix(in srgb, var(--pc) 16%, var(--card-solid)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--pc) 50%, transparent); }
.pc-q summary { display: grid; grid-template-columns: 2.75rem 1fr 1.5rem; gap: 0.875rem; align-items: center; min-height: 3rem; padding: 1rem 1.125rem; cursor: pointer; list-style: none; font: 700 1.0625rem/1.3 var(--f-ui); }
.pc-q summary::-webkit-details-marker { display: none; }
.pc-q summary .pc-ti { width: 2.75rem; height: 2.75rem; border-radius: 0.875rem; }
.pc-q summary::after { content: ""; width: 0.625rem; height: 0.625rem; border-right: 0.15625rem solid var(--ink-2); border-bottom: 0.15625rem solid var(--ink-2); rotate: 45deg; justify-self: center; margin-top: -0.25rem; transition: rotate var(--v2-quick); }
.pc-q[open] summary::after { rotate: 225deg; margin-top: 0.25rem; }
.pc-q p { padding: 0 1.25rem 1.25rem 4.875rem; color: #D1D1D6; line-height: 1.55; }

/* the terms, in plain words */
.pc-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 2rem; padding: 0; list-style: none; }
.pc-term { display: grid; align-content: start; gap: 0.5rem; padding: 1.25rem; border-radius: 1.25rem; background: var(--card-solid); box-shadow: 0 0 0 1px var(--line); }
.pc-term p { color: var(--ink-2); line-height: 1.5; }
.pc-fine { margin-top: 1rem; color: var(--ink-3); font-size: max(var(--text-min), 0.9375rem); }
.pc-fine a { color: var(--ink-2); }

/* the invitation again */
.pc-end { margin-top: 5.5rem; }
.pc-end .pc-inv-in { grid-template-columns: minmax(0, 1fr); min-height: 0; text-align: center; justify-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.pc-end .pc-inv::before { background: radial-gradient(80% 90% at 50% 50%, rgb(0 0 0 / .55), rgb(0 0 0 / .8)); }
.pc-end .pc-h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); margin-top: 0; }
.pc-end .pc-sub { margin-inline: auto; }
.pc-end .pc-paste { margin-inline: auto; width: 100%; }

.pcp .cb-foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; padding: 3rem 1rem 4rem; color: var(--ink-3); font-size: max(var(--text-min), 0.875rem); }
.pcp .cb-foot a { color: var(--ink-2); }

@media (max-width: 63.75rem) {
  .pc-inv-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pc-fan { height: 19rem; }
  .pc-mini { width: 12rem; }
  .pc-walk { grid-template-columns: minmax(0, 1fr); }
  .pc-stepper { display: none; }
  .pc-step { min-height: 0; }
  .pc-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-terms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 43.75rem) {
  .pc-sec { padding-top: 4rem; }
  .pc-faq, .pc-gal, .pc-loop, .pc-stats, .pc-read { grid-template-columns: minmax(0, 1fr); }
  .pc-arrow { rotate: 90deg; justify-self: center; }
  .pc-fan { display: none; }
  .pc-paste { flex-wrap: wrap; border-radius: 1.5rem; padding: 0.5rem; }
  .pc-paste > svg { margin-left: 0.5rem; }
  .pc-paste textarea { flex-basis: calc(100% - 3rem); }
  .pc-paste .pc-go { width: 100%; }
  .pc-q p { padding-left: 1.25rem; }
  .pc-srcview { min-height: 24rem; }
  .pc-inv { border-radius: 1.5rem; }
  .pc-chips { overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-bg span, .pc-mini { animation: none; }
  .pc-bg span:first-child { opacity: 1; }
  .pc-js .pc-found li { opacity: 1; translate: 0 0; animation: none; }
}

/* text is never under 1rem (--text-min) and a target never under --target on a phone (the audit in tests_browser/test_guides.py) */
.pcp :is(.pc-way, .pc-free, .pc-tabs button, .pc-src li, .pc-sm, .pc-chip, .pc-lp p, .pc-note, .pc-stats span, .pc-cap, .pc-chip2, .pc-gal-note, .pc-fine, .pc-rec, .pc-t, .pc-chap span, .pc-term p, .pc-by, .pc-more, .pc-st, .pc-chrome, .pc-scr, .pc-cal > div, .pc-cal span, .pc-v, .pc-dz, .pc-via, .pc-ways, .fc-off, .cb-foot) { font-size: max(var(--text-min), 1rem); }
.pcp .pc-av { font-size: max(var(--label-min), 0.8125rem); }
.pcp :is(.pc-way, .pc-tabs button, .pc-chip2, .pc-more, .pc-mine-l a, .pc-chip) { min-height: var(--target); }
.pcp .pc-stepper a em { font-size: max(var(--text-min), 0.875rem); }
@media (max-width: 43.75rem) { .pcp .pc-chips { flex-wrap: wrap; overflow: visible; } }
