:root {
  --bg: #0d1220;
  --bg-2: #1a1f2d;
  --card: #212633;
  --card-2: #2c313e;
  --ink: #e9edf8;
  --ink-2: #bdc1cd;
  --ink-3: #9a9eaa;
  --line: #3d4250;
  --line-2: #7b808c;
  --brand: #4f78e0;
  --brand-2: #d9b48f;
  --violet: #d9b48f;
  --blue: #d9b48f;
  --glass: #141926;
  --on-brand: #000000;
  --grad: linear-gradient(#4f78e0, #4f78e0);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #d9b48f;
  --gold: #d9b48f;
  --danger: #d9b48f;
  --ok-bg: transparent;
  --ok-ink: #4f78e0;
  --err-bg: transparent;
  --err-ink: #d9b48f;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "Mulish", system-ui, sans-serif;
  --head: "Cormorant Garamond", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: dark;
  --tex: none;
  --tex-size: auto;
  --sp: 10px;
  --sec: 34px;
  --lh: 1.45;
  --r-sm: 2px;
  --r: 3px;
  --r-lg: 5px;
  --r-xl: 6px;
  --bw: 3px;
  --bs: double;
}
/* f12: a board of pinned prints. Paper is the card tokens, so contrast is the palette's own; tilt is a unitless --t times --lean (the side axis flips it). */
:root { --paper: var(--card); --paper-2: var(--card-2); --lift: 0 1px 1px rgba(0, 0, 0, .3), 0 18px 30px -14px rgba(0, 0, 0, .7), 0 0 30px -12px color-mix(in srgb, var(--brand) 40%, transparent); --sheen: linear-gradient(160deg, color-mix(in srgb, var(--brand) 10%, transparent), transparent 55%, color-mix(in srgb, var(--brand) 5%, transparent)); --lean: .6; --tapec: color-mix(in srgb, var(--brand-2) 34%, var(--bg)); --maxw: 1240px; --gut: calc(var(--sp) * 2); }
body { font-weight: 400; letter-spacing: 0; line-height: var(--lh); background-color: var(--bg); background-image: radial-gradient(ellipse 70% 100% at 50% 0, color-mix(in srgb, var(--brand) 18%, transparent), transparent 75%), var(--tex); background-size: 100% 85vh, var(--tex-size); background-repeat: no-repeat, repeat; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: 0; }
a { text-underline-offset: 3px; }
.badge-ai { background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 10px; font-weight: 700; padding: 0 5px; backdrop-filter: none; box-shadow: none; }

/* pieces every part shares: pin, tape, peg */
.stieq75q { position: absolute; z-index: 3; inset-block-start: -7px; inset-inline-start: 50%; width: 14px; height: 14px; margin-inline-start: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 2px, color-mix(in srgb, var(--brand) 40%, #fff) 3px, var(--brand) 100%); box-shadow: 0 2px 4px rgba(0, 0, 0, .5), 0 0 12px color-mix(in srgb, var(--brand) 70%, transparent); pointer-events: none; }
.stittunw { position: absolute; z-index: 3; inset-block-start: -9px; inset-inline-start: 50%; width: 92px; height: 18px; margin-inline-start: -46px; background: linear-gradient(100deg, color-mix(in srgb, var(--brand) 62%, #000), color-mix(in srgb, var(--brand) 88%, #fff) 42%, color-mix(in srgb, var(--brand) 58%, #000) 70%, color-mix(in srgb, var(--brand) 80%, #fff)); clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); transform: rotate(-3deg); box-shadow: 0 2px 4px rgba(0, 0, 0, .4); pointer-events: none; }
.sti5w5ya { position: absolute; z-index: 3; inset-block-start: -15px; inset-inline-start: 50%; width: 10px; height: 26px; margin-inline-start: -5px; background: linear-gradient(90deg, color-mix(in srgb, var(--brand-2) 60%, #000), color-mix(in srgb, var(--brand-2) 85%, #fff), color-mix(in srgb, var(--brand-2) 60%, #000)); border-radius: 2px; box-shadow: 0 2px 3px rgba(0, 0, 0, .4); pointer-events: none; }
.sti5w5ya::after { content: ""; position: absolute; inset-inline: 3px; inset-block: 9px 0; background: color-mix(in srgb, var(--bg) 60%, transparent); }

/* the board */
.stiqqhzz { position: relative; min-height: 100dvh; display: flex; flex-direction: column; }
.has-rail .rail, .side, .topbar, .rail { display: none; }
.stig7g46 { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: calc(var(--sp) * 1.3) var(--gut) 4px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--sp); }
.stil5iql { position: relative; background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); padding: 12px 22px 10px; transform: rotate(calc(-1.4deg * var(--lean))); max-width: 100%; }
.stidl6zw { display: block; font: 700 clamp(22px, 2.6vw, 30px)/1.1 var(--head); color: var(--ink); overflow-wrap: anywhere; }
.sti3t6cq { font-size: 13px; color: var(--ink-2); margin-block-start: 3px; }
.stiuzlop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; padding-block-start: 6px; }
.stiuzlop a { min-height: 40px; display: inline-flex; align-items: center; padding-inline: 14px; background: var(--paper-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); transform: rotate(calc(1deg * var(--lean))); transition: transform .15s; }
.stiuzlop a:nth-child(even) { transform: rotate(calc(-1.2deg * var(--lean))); }
.stiuzlop a:hover { transform: rotate(0) translateY(-2px); }
.stiuzlop .stihi3gn { background: var(--brand); color: var(--on-brand); border-color: var(--brand); font-weight: 700; }
.stil3hjj { width: 100%; max-width: var(--maxw); margin: auto auto 0; padding: var(--sec) var(--gut) var(--sec); }
.stiehdeu { position: relative; padding: var(--sp) calc(var(--sp) * 1.5); background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); box-shadow: var(--lift); font-size: 13px; color: var(--ink-2); transform: rotate(calc(.3deg * var(--lean))); }
.stil3hjj a { text-decoration: underline; }
.stil3hjj nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-block-start: 8px; }
.stil3hjj nav a { min-height: 32px; display: inline-flex; align-items: center; }
.main, .has-rail .main { margin: 0; margin-inline: auto; padding: calc(var(--sec) * .7) var(--gut) 0; min-height: 0; flex: 1 0 auto; width: 100%; max-width: var(--maxw); }
.tabbar.stircvgs { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; border-block-start: var(--bw) solid var(--line-2); }
.stircvgs .tab { font-size: 11.5px; color: var(--ink-2); gap: 2px; font-weight: 600; }
.stircvgs .tab.active { color: var(--brand); }

/* controls over the engine's */
.btn { font-weight: 700; white-space: normal; height: auto; min-height: 44px; padding-block: 8px; text-align: center; border-radius: var(--r-sm); }
.btn-sm { min-height: 34px; padding-block: 4px; }
.btn-lg { min-height: 50px; }
.btn-primary, .btn-primary:hover { background: var(--brand); color: var(--on-brand); box-shadow: 0 3px 0 color-mix(in srgb, var(--ink) 30%, transparent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline, .btn-outline:hover { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost { color: var(--ink); }
.chip { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 500; border-radius: var(--r-sm); color: var(--ink); }
.chip.on { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.input, .select, .textarea { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); color: var(--ink); }
.input:focus, .select:focus, .textarea:focus { box-shadow: inset 0 0 0 2px var(--brand); }
.card { background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); }
.section { margin-block-start: var(--sec); }
.stibcdjm { color: var(--brand); text-decoration: underline; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.stitd4sg { font-size: clamp(30px, 4vw, 44px); margin-block-end: 8px; }
.stiygzbd { font-size: 25px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.sti7fhbj { font-size: 17px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }
.stie2pxc { font-size: 13px; color: var(--ink-2); font-weight: 700; margin-block-end: 4px; }

/* prints: a pinned photo with its caption. The tilt follows the child's place */
.stiwchaj, .stiujbvc { --t: 0; position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); padding: 9px 9px 0; color: var(--ink); transform: rotate(calc(var(--t) * var(--lean) * 1deg)); transition: transform .18s ease, box-shadow .18s; }
.stiwchaj:hover, .stiwchaj:focus-visible, .stiujbvc:hover, .stiujbvc:focus-visible { transform: rotate(0) translateY(-5px) scale(1.02); z-index: 4; }
.stiwchaj img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 784; object-fit: cover; object-position: 50% 20%; background: var(--bg-2); border-radius: calc(var(--r-sm) / 2); }
.sti4ks4p { padding: 9px 4px 11px; font: 700 clamp(15px, 1.5vw, 18px)/1.25 var(--head); text-align: center; overflow-wrap: anywhere; }
.stiwchaj:nth-child(6n+1) { --t: -2.4; }
.stiwchaj:nth-child(6n+2) { --t: 1.8; }
.stiwchaj:nth-child(6n+3) { --t: -1; }
.stiwchaj:nth-child(6n+4) { --t: 2.6; }
.stiwchaj:nth-child(6n+5) { --t: -1.8; }
.stiwchaj:nth-child(6n) { --t: 1.2; }

/* the front page */
.stis2hj4 > section, .stis2hj4 > nav { margin-block-end: var(--sec); }
.sti3x4lt h1 { font-size: clamp(28px, 4.2vw, 50px); line-height: 1.1; overflow-wrap: anywhere; }
.stibkncr { font-size: 13px; color: var(--ink-2); font-weight: 700; margin-block-end: 6px; }
.stidxyim { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.stie72ex { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-block-start: var(--sp); }
.stigiio5 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp); padding-block: 14px; }
.stigiio5 .sti4ks4p { font-size: clamp(14px, 1.4vw, 17px); }
.sti7zo2c { position: relative; background: var(--paper-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); padding: calc(var(--sp) * 1.1) calc(var(--sp) * 1.2); }
.sti3rtqa { margin: 0; display: grid; gap: 10px; }
.sti3rtqa div { background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); padding: 8px 12px; }
.sti3rtqa dt { font: 700 26px/1.1 var(--head); }
.sti3rtqa dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
/* the home banner is the engine's (section.hw): a large print taped on. On a wide photo the engine's scrim and white text stand */
.stiiqg3r { position: relative; margin-block: calc(var(--sp) * 1.4); padding: 9px; background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); transform: rotate(calc(.35deg * var(--lean))); }
.sti4ue4h { inset-inline-start: 14px; margin-inline-start: 0; inset-block-start: -10px; transform: rotate(-8deg); }
.stixq2ts { inset-inline-start: auto; inset-inline-end: 14px; margin-inline-start: 0; inset-block-start: auto; inset-block-end: -10px; transform: rotate(-8deg); }
.stiiqg3r .hw { margin: 0; border: 0; border-radius: calc(var(--r-sm) / 2); box-shadow: none; text-align: start; height: clamp(300px, 52vw, 380px); }
.stiiqg3r .hw-name { font-family: var(--head); font-weight: 700; }
.stiiqg3r .hw-text { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .4); }
.stiiqg3r .hw-text .btn { text-shadow: none; }
.hw .hw-ghost, .hw .hw-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.hw .hw-ghost:hover { background: rgba(255, 255, 255, .12); }
.hw-nav .stage-arrow, .hw-nav .stage-arrow:hover { color: #fff; }
.hw-nav .stage-dots button { background: rgba(255, 255, 255, .55); }
.hw-nav .stage-dots button.on { background: #fff; }
@media (min-width: 901px) { .stiiqg3r .hw { height: clamp(300px, 28vw, 380px); } }

/* all of them */
.stijlmwk { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-block-end: 8px; }
.stijlmwk .stie2pxc { margin: 0; font-size: 14px; }
.sti3ql2x { display: grid; gap: calc(var(--sp) * 1.3) var(--sp); padding-block: 14px; }
.stiwbklf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stioula4 { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; }
.stioula4 .stiwchaj:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.stioula4 .stiwchaj:nth-child(7n+1) .sti4ks4p { font-size: 22px; }
.stioula4 .stiwchaj:nth-child(7n+4) { margin-block-start: 22px; }
.stivc4sa { display: grid; gap: calc(var(--sp) * 2.2); padding-block: 26px 10px; }
.stizn7k7 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp); padding-block-start: 20px; }
.stizn7k7::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 6px; height: 10px; border-block-end: 1px solid var(--line-2); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.stizn7k7 .stiwchaj:nth-child(odd) { margin-block-start: 8px; }

/* sections */
.sti2a64w { position: relative; }
.sti3odcb { margin-block-end: var(--sp); }
.sti2a64w h2, .stipz5gi h2 { font-size: clamp(25px, 2.8vw, 34px); line-height: 1.15; }
.stijhbmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--sp) calc(var(--sp) * 1.6); margin-block-start: var(--sp); }
.stijhbmp h3, .stihofti h3 { font-size: 19px; margin-block-end: 6px; }
.stijhbmp p, .stihofti p { margin-block-end: 8px; }
.sti4xzon { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: calc(var(--sp) * 1.2) var(--sp); }
.stig3erq { --t: 0; position: relative; display: flex; flex-direction: column; gap: 4px; padding: calc(var(--sp) * 1.1) var(--sp) var(--sp); background: var(--paper-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); color: var(--ink); min-width: 0; transform: rotate(calc(var(--t) * var(--lean) * 1deg)); transition: transform .18s; }
.stig3erq:nth-child(4n+1) { --t: -1.2; }
.stig3erq:nth-child(4n+2) { --t: .9; }
.stig3erq:nth-child(4n+3) { --t: -.5; }
.stig3erq:nth-child(4n) { --t: 1.4; }
.stig3erq[hidden] { display: none; }
.stig3erq:hover { transform: rotate(0) translateY(-4px); }
.stiu6azv { font-size: 12px; color: var(--ink-2); margin-block-end: 2px; }
.sti6vtfp { font: 400 16px/1.34 var(--head); }
.stivq7ds { display: flex; justify-content: space-between; gap: 8px; margin-block-start: auto; padding-block-start: 8px; font-size: 13px; color: var(--ink-2); }
.stivq7ds b { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
.stihofti { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--sp); }
.stihofti ul { list-style: none; margin: 0; padding: 0; }
.stihofti li a { min-height: 32px; display: inline-flex; align-items: center; text-decoration: underline; }
.sti4ajwu { width: 100%; border-collapse: collapse; }
.sti4ajwu td { padding: 8px 10px; border-block-end: 1px solid var(--line-2); text-align: start; vertical-align: top; }
.sti4ajwu tr:first-child td { font-weight: 700; color: var(--ink); border-block-end: var(--bw) var(--bs) var(--line-2); }
.sti4ajwu td:first-child { color: var(--ink-2); }
.stizozz4, .stiu74vp, .stiucafi { list-style: none; margin: var(--sp) 0 0; padding: 0; counter-reset: st; }
.stizozz4 h3, .stiu74vp h3, .stiucafi h3 { font-size: 19px; margin-block-end: 6px; }
.stizozz4 li, .stiu74vp li, .stiucafi li { counter-increment: st; }
.stipz5gi { position: relative; padding: calc(var(--sp) * 1.8); background: var(--paper-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); box-shadow: var(--lift); text-align: center; }
.stipz5gi h2 { margin-block-end: 8px; }
.stipz5gi p:not(.stie2pxc) { margin: 0 auto var(--sp); max-width: 62ch; }
.sti3evvy h2 { font-size: 20px; margin-block-end: 6px; }
.sti3evvy ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.sti3evvy li { break-inside: avoid; }
.sti3evvy a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: underline; }

/* lists */
.stirwcdk { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-block-end: var(--sp); }
.stiqrjjh { position: relative; flex: 1 1 320px; min-width: 0; padding: var(--sp) calc(var(--sp) * 1.4); background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); transform: rotate(calc(-.4deg * var(--lean))); }
.stiqrjjh p { color: var(--ink-2); max-width: 66ch; }
.search.stidmbgg { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); min-width: 240px; }
.stilpkxu { display: grid; gap: 6px; padding: 10px var(--sp); margin-block-end: calc(var(--sp) * 1.4); background: var(--paper); border: var(--bw) solid var(--line-2); border-radius: var(--r-sm); }
.stilpkxu .frow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stilpkxu .frow-label { flex: none; width: 76px; font-size: 13px; color: var(--ink-2); }
.stilpkxu .chips-scroll, .stirfo3m .chips-scroll { min-width: 0; }
.stiajqlr summary { cursor: pointer; font-size: 13.5px; font-weight: 700; min-height: 30px; display: list-item; }
.stiajqlr .frow { margin-block-start: 6px; }
.sti5ccqz a { font-size: 13.5px; text-decoration: underline; }
.stikaznw { text-align: center; padding: 30px; border: 1px solid var(--line-2); border-radius: var(--r); }
.stikaznw p { margin-block: 8px 14px; color: var(--ink-2); }
.stijg55a { margin-block-start: var(--sec); padding-block-start: var(--sec); border-block-start: 1px solid var(--line-2); scroll-margin-block-start: 20px; }
.stirfo3m { display: grid; gap: 6px; margin-block-end: var(--sp); }

/* her page */
.stixdfuv { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; text-decoration: underline; font-weight: 700; }
.stiliza3 { display: grid; grid-template-columns: minmax(min(calc(50vw + 26px), 74%), 3fr) minmax(0, 2fr); gap: calc(var(--sp) * 2); margin-block: 14px var(--sec); align-items: start; }
.stirx5wm { position: relative; margin: 0; padding: 12px 12px 0; background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); transform: rotate(calc(-2deg * var(--lean))); }
.stirx5wm img { display: block; width: 100%; height: auto; aspect-ratio: 828 / 1014; object-fit: cover; object-position: 50% 20%; background: var(--bg-2); }
.stirx5wm figcaption { padding: 12px 4px 14px; text-align: center; font: 700 20px/1.2 var(--head); }
.stiliza3 h1 { font-size: clamp(28px, 3.6vw, 42px); }
.stiliza3 h1 small { display: block; font-size: .5em; font-weight: 400; color: var(--ink-2); margin-block-start: 4px; }
.stia7mdt { font-size: 13.5px; color: var(--ink-2); margin-block: 8px; }
.stidylt3 { font: 400 20px/1.32 var(--head); margin-block-end: 8px; }
.stid5ssp { display: flex; flex-wrap: wrap; gap: 10px; margin-block: var(--sp) 10px; }
.stiuqhrx { font-size: 12.5px; color: var(--ink-2); }
.stiphpxv h2, .sticfslq h2 { font-size: 22px; margin-block-end: 12px; }
.stiya5wt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--sp) * 1.4); margin-block-start: var(--sec); }
.stiya5wt > section { position: relative; padding: var(--sp) calc(var(--sp) * 1.3) calc(var(--sp) * 1.2); background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift);  }
.stiya5wt > section:nth-child(odd) { transform: rotate(calc(-.3deg * var(--lean))); }
.stiya5wt > section:nth-child(even) { transform: rotate(calc(.3deg * var(--lean))); }
.stiya5wt h2 { font-size: 21px; margin-block-end: 8px; }
.stiya5wt section > h2 ~ h2 { margin-block-start: var(--sp); }
.stiya5wt ul { margin: 0; padding-inline-start: 18px; }
.stiya5wt li, .stiya5wt p { margin-block-end: 6px; }
.stiya5wt .kv { grid-template-columns: 92px minmax(0, 1fr); font-size: 14px; }
.stiya5wt .kv dd { overflow-wrap: anywhere; font-weight: 400; }
.sticfslq { margin-block-start: var(--sec); padding-block-start: var(--sp); border-block-start: 1px solid var(--line-2); }
.sticfslq ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.sticfslq li { break-inside: avoid; margin-block-end: 8px; font-size: 14px; }
.sticfslq b { display: block; font-family: var(--head); }

/* static pages */
.stiweicr { position: relative; max-width: 780px; margin-inline: auto; padding: calc(var(--sp) * 2) calc(var(--sp) * 2.2); background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); }
.stinf7zz { font: 400 20px/1.4 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); }
.stiweicr h2 { font-size: 24px; margin-block: calc(var(--sp) * 1.5) 8px; }
.stiweicr p, .stiweicr li { margin-block-end: 8px; }
.stiweicr ul { padding-inline-start: 20px; margin: 0; }
.stiweicr a { text-decoration: underline; color: var(--brand); }
.stibkjci { font-size: 13px; color: var(--ink-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.stigpcpf { padding-block-end: var(--sp); border-block-end: 1px solid var(--line-2); }

/* chat: the engine's page, under the frame */
.chat-page .stiqqhzz { height: 100dvh; }
.chat-page .stil3hjj, .chat-page .sti3t6cq { display: none; }
.chat-page .stig7g46 { padding-block-start: 10px; }
.chat-page .stil5iql { padding-block: 6px; }
.chat-page .main { flex: 1; min-height: 0; max-width: var(--maxw); padding: 14px var(--gut) var(--sp); display: flex; flex-direction: column; height: auto; }
.chat-page .chat-shell { flex: 1; min-height: 0; height: auto; border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); box-shadow: var(--lift); background: var(--paper); overflow: hidden; grid-template-columns: 290px minmax(0, 1fr); }
.chat-list { border-inline-end: 1px solid var(--line-2); background: var(--bg-2); }
.chat-list-head h2 { font-size: 22px; }
.chat-search { border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.conv { border-radius: 0; border-block-end: 1px solid var(--line); }
.conv.active { background: var(--paper); color: var(--ink); box-shadow: inset 4px 0 0 var(--brand); }
.conv.active .last, .conv.active .time, .conv.active .you { color: var(--ink-2); }
.conv:hover { background: var(--paper-2); }
.conv b { font-family: var(--head); }
.av img { border-radius: var(--r-sm); }
.thread, .quick, .quota, .composer { background: var(--paper); background-color: var(--paper); }
.thread-head { border-block-end: 1px solid var(--line-2); background: var(--paper); }
.thread-head .grow > div:first-child { font-family: var(--head); font-size: 18px; }
.thread-head .status { font-weight: 400; color: var(--ink-2); }
.thread-head .status.online { color: var(--ink); }
.bubble, .msg.her .bubble, .msg.me .bubble { border-radius: var(--r); font-size: 16px; }
.msg.her .bubble { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--lift); }
.msg.me .bubble { background: var(--brand); color: var(--on-brand); border: 0; box-shadow: var(--lift); }
.msg .t { color: var(--ink-3); font-weight: 400; }
.typing span, .typing i { background: var(--brand); }
.composer { border-block-start: 1px solid var(--line-2); }
.cfield { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); }
.composer textarea { background: transparent; color: var(--ink); }
.composer .send { border-radius: var(--r-sm); background: var(--brand); color: var(--on-brand); box-shadow: none; }
.mode-btn { border-radius: var(--r-sm); }
.menu, .ctx-menu { border-radius: var(--r-sm); background: var(--paper-2); border: 1px solid var(--line-2); }
.chat-card { border-radius: var(--r); background: var(--paper); border: var(--bw) var(--bs) var(--line-2); }

/* plans and forms */
.stiqzzw3 { font-size: 17px; margin-block-end: 8px; }
.stimnwwl { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.stimnwwl a, .sti2ozwk a, .sti52j24 .check a { text-decoration: underline; color: var(--brand); }
.pack { border: var(--bw) var(--bs) var(--line-2); box-shadow: var(--lift); }
.pack b { font-family: var(--head); }
.pack .best { border-radius: var(--r-sm); background: var(--brand); color: var(--on-brand); }
.usdt-badge { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 12px; }
.usdt-card { background: var(--paper-2); border: var(--bw) var(--bs) var(--line-2); }
.table-wrap { overflow-x: auto; }
.table th, .table td { text-align: start; }
.table tr:first-child td { font-weight: 700; }
.seg { border-radius: var(--r-sm); background: var(--bg-2); }
.seg label { border-radius: var(--r-sm); }
.seg input:checked + label { background: var(--brand); color: var(--on-brand); }
.sti52j24 { background: transparent; }
.stieooo2 { color: var(--ink); padding: 42px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; }
.stiylrio { position: relative; margin: 0; width: min(100%, 340px); padding: 26px 22px 0; background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); transform: rotate(calc(-2.2deg * var(--lean))); }
.stieooo2 blockquote { margin: 0; padding: 0 0 14px; }
.stieooo2 blockquote span { display: block; font: 400 19px/1.38 var(--head); margin-block-end: 6px; }
.stiylrio figcaption { padding: 10px 0 14px; border-block-start: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.stiitq5y { font: 700 22px var(--head); }
.sti3ze7f { font-size: 13.5px; color: var(--ink-2); text-align: center; max-width: 34ch; }
.sti6wwdj { position: relative; padding: calc(var(--sp) * 2); background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); }
.sti52j24 .stidl6zw { margin-block-end: 14px; }
.sti52j24 h1 { font-size: 30px; }
.sti52j24 .muted { margin-block: 6px 18px; }
.sti2ozwk { text-align: center; font-size: 14px; margin-block-start: 16px; color: var(--ink-2); }
.alert { border-radius: var(--r-sm); }

/* the gate */
.modal-back.stis4dli { background: color-mix(in srgb, var(--bg) 84%, #000); backdrop-filter: none; -webkit-backdrop-filter: none; }
.stioqsxk { position: relative; width: min(460px, 100%); background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); padding: 40px 26px 20px; box-shadow: var(--sh-3); text-align: center; transform: rotate(calc(-2.4deg * var(--lean))); transition: transform .2s ease; }
.stioqsxk:has(.stixw4ue:hover), .stioqsxk:has(.stixw4ue:focus-visible) { transform: none; }
.stioqsxk .stieq75q { inset-block-start: -8px; width: 18px; height: 18px; margin-inline-start: -9px; }
.stimt6s2 { font-size: 13px; color: var(--ink-2); font-weight: 700; }
.stioqsxk h2 { font-size: 36px; margin-block: 6px 10px; }
.stixw4ue { margin-block: 16px 12px; }
.stimzbgg { font-size: 12.5px; color: var(--ink-2); }
.stimzbgg a { text-decoration: underline; }

/* the engine writes these radii as literals, not tokens */
.fchip span, .fchip-btn, .cbtn, .tile, .to-bottom, .wallet-hero { border-radius: var(--r-sm); }
@media (prefers-reduced-motion: reduce) { .stiwchaj, .stiujbvc, .stig3erq, .stiuzlop a, .stioqsxk { transition: none; } }

/* phones: the masthead is a strip, tabs at the foot, prints two across */
@media (max-width: 900px) {
  .stig7g46 { padding: 14px 16px 0; gap: 10px; }
  .stil5iql { padding: 8px 16px 7px; }
  .sti3t6cq { display: none; }
  .stiuzlop { padding-block-start: 0; font-size: 13px; }
  .stiuzlop a { min-height: 40px; padding-inline: 11px; }
  .main, .has-rail .main { padding: calc(var(--sp) * 1.2) 16px calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); }
  .stil3hjj { padding: 6px 16px calc(var(--tab-h) + 22px + env(safe-area-inset-bottom)); }
  .stigiio5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stigiio5 .stiwchaj:nth-child(n+3) { display: none; }
  .stiwbklf, .stioula4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .stioula4 .stiwchaj:nth-child(7n+1) { grid-column: span 2; grid-row: auto; }
  .stioula4 .stiwchaj:nth-child(7n+4) { margin-block-start: 0; }
  .stizn7k7 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .sti3evvy ul, .sticfslq ul { columns: 1; }
  .sti3evvy a { min-height: 44px; }
  .stiliza3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .stirx5wm { padding: 8px 8px 0; }
  .stiya5wt { grid-template-columns: minmax(0, 1fr); }
  .stid5ssp .btn { flex: 1 1 100%; }
  .search.stidmbgg { min-width: 0; width: 100%; }
  .stilpkxu .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .stilpkxu .frow-label { width: auto; }
  .chip { min-height: 38px; }
  .stiweicr { padding: var(--sp) calc(var(--sp) * 1.2); }
  .chat-page .stiqqhzz { height: 100dvh; }
  .chat-page .main { padding: 8px 0 var(--tab-h); }
  .chat-page .chat-shell { grid-template-columns: minmax(0, 1fr); border-radius: 0; border-inline: 0; }
  .chat-page .chat-shell.in-thread { position: fixed; inset: 0; z-index: 50; height: 100dvh; border: 0; }
  .stieooo2 { display: none; }
  .sti6wwdj { padding: calc(var(--sp) * 1.4); }
  .stioqsxk { padding-inline: 18px; }
}

.stil5iql, .stitx45s, .sti7zo2c, .stiehdeu, .stiiqg3r, .stiweicr, .sti6wwdj, .stipz5gi, .stiya5wt > section, .stiwchaj, .stiujbvc, .sti3crsu, .sti4mto6, .stig3erq, .stiqrjjh, .stiylrio, .stioqsxk, .stikfvxl { background-image: var(--sheen); }
.sti4ks4p, .stinlbdx, .stirx5wm figcaption { text-shadow: 0 0 14px color-mix(in srgb, var(--brand) 35%, transparent); }

/* Photo rule (FRAME-BRIEF.md): the wall of portraits too: 220 px or more on a desktop, two to a row on a phone. */
.sti3ql2x { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .sti3ql2x { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.sti3ql2x { grid-template-columns: repeat(auto-fill, minmax(min(244px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .sti3ql2x { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* main is as tall as its content, never the screen: the footer stays below it */
.main, .has-rail .main { min-height: auto; }
.chat-page .main { min-height: 0; }
.stibwlag { position: relative; width: fit-content; max-width: 100%; margin: 0 auto calc(var(--sp) * 1.4); padding: 16px 34px 15px; text-align: center; background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); transform: rotate(calc(-.7deg * var(--lean))); }
.sti6xbaa .stigiio5 .stiwchaj { padding-block-start: 11px; }
.stic3lli { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr)); gap: var(--sp); align-items: stretch; margin-block-start: calc(var(--sp) * 1.4); }
.sticeqgi .stidxyim { font-size: 17px; }
.sti6iquv { display: flex; flex-direction: column; justify-content: center; gap: 4px; background: color-mix(in srgb, var(--brand) 13%, var(--paper)); }
.sti6iquv b { font: 700 28px/1.1 var(--head); }
.sti6iquv span { font-size: 13px; color: var(--ink-2); }
.stic3lli > :nth-child(2) { transform: rotate(calc(-1.2deg * var(--lean))); }
.stic3lli > :nth-child(3) { transform: rotate(calc(.9deg * var(--lean))); }
.stic3lli > :nth-child(4) { transform: rotate(calc(-.6deg * var(--lean))); }
.stic3lli > :nth-child(5) { transform: rotate(calc(1.3deg * var(--lean))); }
@media (max-width: 900px) {
  .stic3lli { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stic3lli > :first-child { grid-column: 1 / -1; }
  .stibwlag { padding: 12px 18px; }
}
.stiyff7s { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: calc(var(--sp) * 1.5) var(--sp); }
.stiujbvc { padding-block-end: 10px; }
.stiyff7s > .stiujbvc:nth-child(5n+1) { --t: -2; }
.stiyff7s > .stiujbvc:nth-child(5n+2) { --t: 1.5; }
.stiyff7s > .stiujbvc:nth-child(5n+3) { --t: -.8; }
.stiyff7s > .stiujbvc:nth-child(5n+4) { --t: 2.2; }
.stiyff7s > .stiujbvc:nth-child(5n) { --t: -1.4; }
.stiujbvc .sti7k2cd { position: relative; display: block; }
.stiujbvc .sti7k2cd img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 784; object-fit: cover; object-position: 50% 20%; background: var(--bg-2); border-radius: calc(var(--r-sm) / 2); }
.sti7k2cd .badge-ai { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; }
.stiujbvc .stinlbdx { padding: 10px 4px 0; font: 700 19px/1.2 var(--head); overflow-wrap: anywhere; }
.stiujbvc .stilk7ju { padding-inline: 4px; font-size: 13px; color: var(--ink-2); }
.stiujbvc .sti2n2ms { padding: 4px 4px 2px; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) { .stiyff7s { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 12px; } .stiujbvc .stinlbdx { font-size: 16px; } .stiujbvc .sti2n2ms { font-size: 13px; } }
/* Photo rule (FRAME-BRIEF.md): her portrait is the main element: 220 px or more on a desktop, 4:5, two cards per row on a phone. */
.stiyff7s, .grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(244px, 100%), 1fr)) !important; }
.row-scroll { grid-auto-columns: minmax(244px, 284px) !important; }
@media (max-width: 900px) {
  .stiyff7s, .grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 10px !important; }
  .row-scroll { grid-auto-columns: minmax(46%, 48%) !important; }
  .stiujbvc { padding: 4px 4px 8px !important; } .stiujbvc .sti2n2ms { display: none; }
}
.stizozz4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: calc(var(--sp) * 1.3) var(--sp); }
.stizozz4 li { --t: 0; position: relative; padding: calc(var(--sp) * 1.7) calc(var(--sp) * 1.2) var(--sp); background: var(--paper-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); transform: rotate(calc(var(--t) * var(--lean) * 1deg)); }
.stizozz4 li:nth-child(4n+1) { --t: -1.3; }
.stizozz4 li:nth-child(4n+2) { --t: .9; }
.stizozz4 li:nth-child(4n+3) { --t: -.6; }
.stizozz4 li:nth-child(4n) { --t: 1.4; }
.stizozz4 li::after { content: counter(st); position: absolute; inset-block-start: 8px; inset-inline-end: 12px; font: 700 34px/1 var(--head); color: var(--brand); font-variant-numeric: tabular-nums; opacity: .9; }
.stigda6b details { background: var(--paper-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); padding: 4px var(--sp); margin-block-end: 10px; box-shadow: var(--lift); }
.stigda6b summary { cursor: pointer; font: 700 18px/1.3 var(--head); min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.stigda6b summary::-webkit-details-marker { display: none; }
.stigda6b summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; font: 700 18px/1 var(--font); }
.stigda6b details[open] summary::after { content: "\2212"; background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.stigda6b p { margin-block: 2px 12px; max-width: 72ch; }
.stitx45s { position: relative; background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); box-shadow: var(--lift); padding: calc(var(--sp) * 1.6) calc(var(--sp) * 1.8) calc(var(--sp) * 1.8); }
.stif3y3z:nth-of-type(odd) .stitx45s { transform: rotate(calc(.28deg * var(--lean))); }
.stif3y3z:nth-of-type(even) .stitx45s { transform: rotate(calc(-.28deg * var(--lean))); }
@media (max-width: 900px) {
  .stitx45s { padding: calc(var(--sp) * 1.2); }
}
.stibz434 { position: relative; width: 100%; max-width: var(--maxw); margin: calc(var(--sp) * 1.3) auto 0; padding: 22px var(--gut) 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(14px, 3vw, 40px); }
.stibz434::before { content: ""; position: absolute; inset-inline: var(--sp); inset-block-start: 14px; height: 9px; border-block-end: 1px solid var(--line-2); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.stidf7hz { --t: 0; position: relative; margin-block-start: 8px; padding: 18px 16px 9px; min-height: 48px; display: inline-flex; align-items: center; background: var(--paper); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); box-shadow: var(--lift); font: 700 15px/1.2 var(--head); color: var(--ink); transform-origin: 50% 0; transform: rotate(calc(var(--t) * var(--lean) * 1deg)); transition: transform .2s; }
.stidf7hz:nth-child(5n+1) { --t: -2.5; }
.stidf7hz:nth-child(5n+2) { --t: 1.8; }
.stidf7hz:nth-child(5n+3) { --t: -1; }
.stidf7hz:nth-child(5n+4) { --t: 2.6; }
.stidf7hz:nth-child(5n) { --t: -1.8; }
.stidf7hz:hover { transform: rotate(0); }
.stidf7hz.sti2k37z { background: var(--brand); color: var(--on-brand); border-color: var(--brand); transform: rotate(0); }
.stidf7hz b { font-size: 12px; background: var(--bg); color: var(--ink); border-radius: 99px; padding: 0 6px; }
@media (max-width: 900px) { .stibz434 { display: none; } }
:root { --lean: .6; }
