:root {
  --bg: #160f1a;
  --bg-2: #231c27;
  --card: #29222d;
  --card-2: #342d38;
  --ink: #ece6f0;
  --ink-2: #c1bbc5;
  --ink-3: #9f99a3;
  --line: #453e49;
  --line-2: #817a85;
  --brand: #aa42f0;
  --brand-2: #d1db70;
  --violet: #d1db70;
  --blue: #d1db70;
  --glass: #1c1520;
  --on-brand: #000000;
  --grad: linear-gradient(#aa42f0, #aa42f0);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #d1db70;
  --gold: #d1db70;
  --danger: #d1db70;
  --ok-bg: transparent;
  --ok-ink: #aa42f0;
  --err-bg: transparent;
  --err-ink: #d1db70;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "Manrope", system-ui, sans-serif;
  --head: "Syne", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: dark;
  --tex: radial-gradient(color-mix(in srgb, var(--ink) 11%, transparent) 1px, transparent 1.5px);
  --tex-size: 14px 14px;
  --sp: 12px;
  --sec: 34px;
  --lh: 1.45;
  --gut: 22px;
  --r-sm: 14px;
  --r: 24px;
  --r-lg: 32px;
  --r-xl: 40px;
  --bw: 1px;
  --bs: solid;
}
body { font-weight: 400; letter-spacing: 0; line-height: var(--lh); background-color: var(--bg); background-image: var(--tex); background-size: var(--tex-size); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: -.01em; line-height: 1.14; text-wrap: balance; }
a { text-underline-offset: 3px; }
.badge-ai { background: transparent; color: var(--brand); border: 1px solid var(--brand); border-radius: var(--r-sm); font-size: 10px; font-weight: 700; padding: 0 4px; backdrop-filter: none; box-shadow: none; }

/* the frame: a rail on one edge, the page beside it */
.woplexvv { display: flex; align-items: flex-start; min-height: 100dvh; }
.wopcpovf { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; min-height: 100dvh; overflow-x: clip; }
.main, .has-rail .main { margin: 0; margin-inline: auto; padding: var(--sec) var(--gut); min-height: 0; flex: 1; width: 100%; max-width: 1260px; }
.has-rail .rail, .side, .topbar, .rail { display: none; }
.wopl2ysj { flex: none; position: sticky; inset-block-start: 0; height: 100dvh; overflow-y: auto; overflow-x: hidden; z-index: 5; display: flex; flex-direction: column; scrollbar-width: none; border-inline-style: var(--bs); border-inline-color: var(--line-2); border-inline-width: var(--rb-s) var(--rb-e); }
.wopl2ysj a { color: inherit; text-decoration: none; }
.wopl2ysj b { font-weight: 700; }
.wophuodp { display: none; }
.wopt2wcz { padding: calc(var(--sp) * 1.5) var(--gut); border-block-start: var(--bw) var(--bs) var(--line-2); font-size: 13px; color: var(--ink-2); display: grid; gap: 6px; }
.wop5mcx7 { font: 700 20px/1.1 var(--head); color: var(--ink); }
.wopt2wcz p { max-width: 80ch; }
.wopt2wcz a { text-decoration: underline; }
.wopt2wcz nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-block-start: 6px; }
.wopt2wcz nav a { min-height: 30px; display: inline-flex; align-items: center; }
.tabbar.wopapngw { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-block-start: var(--bw) var(--bs) var(--line-2); }
.wopapngw .tab { font-size: 11px; color: var(--ink-2); gap: 2px; line-height: 1.15; text-align: center; }
.wopapngw .tab.active { color: var(--ink); box-shadow: inset 0 3px 0 var(--brand); }

/* the account block, in the rail and in the phone drawer */
.wopuqjxv { display: flex; flex-direction: column; }
.wopjuqoq { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.wopjuqoq b { font-size: 11px; min-width: 18px; padding: 0 5px; text-align: center; border-radius: 99px; background: var(--ink); color: var(--bg); }

/* 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: 52px; }
.btn-primary, .btn-primary:hover { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-outline, .btn-outline:hover { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 var(--bw) var(--line-2); }
.btn-ghost { color: var(--ink); }
.chip { background: transparent; 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(--ink); color: var(--bg); box-shadow: none; }
.input, .select, .textarea { background: var(--card-2); 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(--card); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); }
.wop3defl { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.wopezvhj { font-size: clamp(30px, 4vw, 48px); margin-block-end: 8px; }
.wop6jgq3 { font-size: 25px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.wopvcceb { font-size: 17px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }
.wopljk7o { font-size: 12.5px; color: var(--ink-2); font-weight: 700; margin-block-end: 6px; }
.wopljk7o::before { content: ""; display: inline-block; inline-size: 18px; block-size: 3px; background: var(--brand); margin-inline-end: 8px; vertical-align: middle; }

/* the front page */
.wop625dh > section, .wop625dh > nav { margin-block-end: var(--sec); }
.wopu2ayw h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; overflow-wrap: anywhere; }
.wopv6emr { font-size: 13px; color: var(--ink-2); font-weight: 700; margin-block-end: 8px; }
.wopv6emr::before { content: ""; display: inline-block; inline-size: 22px; block-size: 3px; background: var(--brand); margin-inline-end: 8px; vertical-align: middle; }
.wopxec3x { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.wopsaj4y { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; margin-block-start: var(--sp); }
.wop7q3nz { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp); margin-block-start: var(--sp); }
.wop7q3nz div { padding-inline-start: 12px; border-inline-start: 3px solid var(--brand); }
.wop7q3nz dt { font: 700 clamp(24px, 2.6vw, 34px)/1.1 var(--head); }
.wop7q3nz dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.wopu2ayw .hw { margin-block: var(--sp); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-lg); box-shadow: none; text-align: start; }
.wopu2ayw .hw-name { font-family: var(--head); font-weight: 700; }
.wopu2ayw .hw-text { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .4); }
.wopu2ayw .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) { .wopu2ayw .hw { height: clamp(300px, 27vw, 380px); } }

/* a portrait tile: her photo, her name on a scrim */
.wopqhnr3 { position: relative; display: block; min-width: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); color: #fff; }
.wopqhnr3 img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .5s ease; }
.wopqhnr3:hover img, .wopqhnr3:focus-visible img { transform: scale(1.05); }
.wopem4d2 { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 38px 12px 10px; background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0)); display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wopem4d2 b { font: 700 clamp(15px, 1.4vw, 18px)/1.2 var(--head); overflow-wrap: anywhere; }
.wopem4d2 span { font-size: 12px; opacity: .92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wopqhnr3 .badge-ai { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; background: rgba(0, 0, 0, .6); color: #fff; border-color: rgba(255, 255, 255, .75); }
.wopqhnr3 .on-dot { position: absolute; inset-block-start: 11px; inset-inline-end: 10px; }
.wopr5k3n { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 16px; background: var(--brand); color: var(--on-brand); font: 700 clamp(16px, 1.6vw, 20px)/1.2 var(--head); }
.wopr5k3n .ic { align-self: flex-end; inline-size: 34px; block-size: 34px; }
.wopr5k3n .ic { transform: scaleX(-1); }
[dir="rtl"] .wopr5k3n .ic { transform: none; }

/* every portrait, linked to her page */
.wopi6hi7 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-block-end: 8px; }
.wopi6hi7 .wopljk7o { margin: 0; }
.wopafddv { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: min(var(--sp), 10px); }
.wopdj4lt { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--ink); }
.wopdj4lt img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 18%; background: var(--bg-2); border-radius: var(--r-sm); border: var(--bw) var(--bs) var(--line); }
.wopdj4lt:hover img { border-color: var(--brand); }
.wopdj4lt span { font: 700 13.5px/1.25 var(--head); overflow-wrap: anywhere; }

/* sections of the front page */
.wop7uwsy { margin-block-end: var(--sp); }
.wopklv72 h2 { font-size: clamp(26px, 3vw, 36px); }
.wopsxg4w { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--sp) calc(var(--sp) * 2); margin-block-start: var(--sp); }
.wopnk4tx { padding-block-start: 10px; border-block-start: 2px solid var(--ink); }
.wopnk4tx h3 { font-size: 19px; margin-block-end: 8px; }
.wopnk4tx p { margin-block-end: 8px; }
.wopo4cpx { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--sp); }
.wopo4cpx article { padding: var(--sp); background: var(--card); border: var(--bw) var(--bs) var(--line); border-radius: var(--r); }
.wopo4cpx h3 { font-size: 19px; margin-block-end: 6px; }
.wopo4cpx p { margin-block-end: 8px; }
.wopo4cpx ul { list-style: none; margin: 0; padding: 0; }
.wopo4cpx li a { min-height: 32px; display: inline-flex; align-items: center; text-decoration: underline; }
.wopq34mh { width: 100%; border-collapse: collapse; }
.wopq34mh td { padding: 9px 10px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.wopq34mh tr:first-child td { font-weight: 700; border-block-end: 2px solid var(--ink); }
.wopq34mh td:first-child { font-weight: 700; }
.wopw35fk { padding: calc(var(--sp) * 1.8); background: var(--ink); color: var(--bg); border-radius: var(--r-lg); }
.wopw35fk .wopljk7o { color: var(--bg); opacity: .85; }
.wopw35fk h2 { font-size: clamp(26px, 3.2vw, 38px); margin-block-end: 10px; }
.wopw35fk p:not(.wopljk7o) { margin-block-end: var(--sp); max-width: 62ch; }
.wopw35fk a:not(.btn) { text-decoration: underline; color: inherit; }
.wopw35fk .btn-primary { box-shadow: 0 0 0 2px var(--bg); }
.wop7fdhx h2 { font-size: 20px; margin-block-end: 6px; }
.wop7fdhx ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.wop7fdhx li { break-inside: avoid; }
.wop7fdhx a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: underline; }

/* the written openers: margin notes */
.wopnw7qb { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--sp); }
.wopmwjdg { position: relative; display: flex; flex-direction: column; gap: 12px; padding: var(--sp); padding-inline-start: calc(var(--sp) + 10px); background: var(--card); border: var(--bw) var(--bs) var(--line); border-radius: var(--r); color: var(--ink); min-width: 0; }
.wopmwjdg::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 0; inline-size: 4px; background: var(--brand); border-start-end-radius: 3px; border-end-end-radius: 3px; }
.wopmwjdg[hidden] { display: none; }
.wopmwjdg:hover { border-color: var(--ink); }
.woppqrql span { display: block; font: 400 17px/1.36 var(--head); margin-block-end: 5px; }
.wopbtvn7 { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 12.5px; color: var(--ink-2); }
.wopbtvn7 b { color: var(--ink); }
.wop5jyy5 { margin-block-start: auto; font-weight: 700; font-size: 13.5px; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* lists */
.wopvs3qp { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 28px; margin-block-end: var(--sp); }
.wopvs3qp > div { flex: 1 1 340px; min-width: 0; }
.wopvs3qp p { color: var(--ink-2); max-width: 66ch; }
.search.wopwxqe7 { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); min-width: 260px; }
.wopkxr4w { display: grid; gap: 8px; padding: 12px 14px; margin-block-end: var(--sp); background: var(--bg-2); border-radius: var(--r); border-inline-start: 4px solid var(--brand); }
.wopkxr4w .frow { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wopkxr4w .frow-label { flex: none; width: 80px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.wopkxr4w .chips-scroll, .wop2cljo .chips-scroll { min-width: 0; }
.wop5istl summary { cursor: pointer; font-size: 13.5px; font-weight: 700; min-height: 30px; display: list-item; }
.wop5istl .frow { margin-block-start: 8px; }
.wopkgkmi a { font-size: 13.5px; text-decoration: underline; }
.wopgqmxr { text-align: center; padding: 30px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.wopgqmxr p { margin-block: 8px 14px; color: var(--ink-2); }
.wopfb46j { margin-block-start: var(--sec); padding-block-start: var(--sec); border-block-start: 4px solid var(--ink); scroll-margin-block-start: 16px; }
.wop2cljo { display: grid; gap: 6px; margin-block-end: var(--sp); }

/* her page: a header, then a spec sheet whose headings sit in the margin */
.wopuruhi { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; text-decoration: underline; }
.wopbdooq { display: grid; grid-template-columns: minmax(min(50vw, 68%), 3fr) minmax(0, 2fr); gap: calc(var(--sp) * 2); margin-block: 10px var(--sec); align-items: start; }
.wopf5u3j { position: relative; margin: 0; }
.wopf5u3j img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 828 / 1014; object-fit: cover; object-position: 50% 15%; border-radius: var(--r-lg); border: var(--bw) var(--bs) var(--line-2); background: var(--bg-2); }
.wopf5u3j .badge-ai { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; background: rgba(0, 0, 0, .6); color: #fff; border-color: rgba(255, 255, 255, .75); }
.wopuawiu h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; }
.wopuawiu h1 small { display: block; font: 400 .4em/1.3 var(--font); color: var(--ink-2); margin-block-start: 8px; }
.wopoiyyg { font-size: 13.5px; color: var(--ink-2); margin-block: 12px 6px; }
.wop5aqq6 { font: 400 22px/1.3 var(--head); margin-block-end: 10px; padding-inline-start: 14px; border-inline-start: 4px solid var(--brand); }
.wopw5slh { display: flex; flex-wrap: wrap; gap: 10px; margin-block: var(--sp) 10px; }
.wopgwymt { font-size: 12.5px; color: var(--ink-3); }
.wophbgit { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); gap: var(--sp) calc(var(--sp) * 2); padding-block: calc(var(--sp) * 1.2); border-block-start: var(--bw) var(--bs) var(--line-2); }
.wophbgit > h2 { font-size: 20px; }
.wophbgit h3 { font-size: 16px; margin-block: var(--sp) 6px; }
.wophbgit ul { margin: 0; padding-inline-start: 18px; }
.wophbgit li, .wophbgit p { margin-block-end: 6px; }
.wophbgit .kv { grid-template-columns: minmax(80px, 140px) minmax(0, 1fr); font-size: 14.5px; }
.wophbgit .kv dd { overflow-wrap: anywhere; font-weight: 400; }
.wopdxztt, .pgrid { margin-block-end: var(--sp); }
.wopxv7p6 ul { list-style: none; padding: 0; columns: 3; column-gap: var(--sp); }
.wopxv7p6 li { break-inside: avoid; margin-block-end: 8px; font-size: 14px; }
.wopxv7p6 b { display: block; font-family: var(--head); }

/* static pages */
.wopwsg7g { max-width: 960px; margin-inline: auto; }
.wopqfb5b { margin-block-end: var(--sp); }
.wop4ny4q { font: 400 21px/1.36 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); max-width: 62ch; }
.wop7pg76 { display: grid; grid-template-columns: minmax(120px, 240px) minmax(0, 1fr); gap: var(--sp) calc(var(--sp) * 2); padding-block: var(--sp); border-block-start: var(--bw) var(--bs) var(--line-2); }
.wop7pg76 h2 { font-size: 21px; }
.wop7pg76 p, .wop7pg76 li { margin-block-end: 8px; max-width: 70ch; }
.wop7pg76 ul { padding-inline-start: 20px; margin: 0; }
.wop7pg76 a { text-decoration: underline; }
.wopq3uh6 { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.wopq3uh6::before { content: ""; display: inline-block; inline-size: 12px; block-size: 12px; border-radius: 50%; background: var(--brand); margin-inline-end: 8px; }

/* chat: the engine's page, under the frame */
.chat-page .wopt2wcz { display: none; }
.chat-page .main { height: 100dvh; max-width: none; padding: 0; display: flex; flex-direction: column; min-height: 0; }
.chat-page .chat-shell { flex: 1; min-height: 0; height: auto; border: 0; border-radius: 0; background: var(--card); grid-template-columns: 300px minmax(0, 1fr); box-shadow: none; }
.chat-list { border-inline-end: var(--bw) var(--bs) var(--line-2); background: var(--bg); }
.chat-list-head h2 { font-size: 22px; }
.chat-search { border-radius: var(--r-sm); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.conv { border-radius: var(--r-sm); margin-block-end: 2px; }
.conv.active { background: var(--card-2); color: var(--ink); box-shadow: inset 4px 0 0 var(--brand); }
[dir="rtl"] .conv.active { 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(--bg-2); }
.conv b { font-family: var(--head); }
.av img { border-radius: var(--r-sm); }
.thread, .quick, .quota, .composer { background: var(--card); background-color: var(--card); }
.thread-head { border-block-end: var(--bw) var(--bs) var(--line-2); background: var(--card); }
.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(--card-2); color: var(--ink); border: 0; border-inline-start: 4px solid var(--brand); font-family: var(--head); }
.msg.me .bubble { background: var(--ink); color: var(--bg); border: 0; }
.msg .t { color: var(--ink-3); font-weight: 400; }
.typing span, .typing i { background: var(--brand); }
.composer { border-block-start: var(--bw) var(--bs) var(--line-2); }
.cfield { background: var(--card-2); 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(--card-2); border: 1px solid var(--line-2); }
.chat-card { border-radius: var(--r); background: var(--card); border: var(--bw) var(--bs) var(--line-2); }

/* plans and forms */
.wopktpb7 { font-size: 17px; margin-block-end: 8px; padding-inline-start: 12px; border-inline-start: 4px solid var(--brand); }
.wopvfz7h { margin-block-start: var(--sec); }
.wopxe4rc { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.wopxe4rc a, .wopccmj2 a, .wop2z7sq .check a { text-decoration: underline; }
.pack { border: var(--bw) var(--bs) var(--line-2); }
.pack b { font-family: var(--head); }
.pack .best { border-radius: var(--r-sm); background: var(--brand); color: var(--on-brand); }
.usdt-badge { background: transparent; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 12px; }
.usdt-card { background: var(--card-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(--ink); color: var(--bg); }
.wop2z7sq { background: var(--bg); grid-template-columns: minmax(0, 1fr) minmax(280px, 34%); }
.wopie3aw { background: var(--brand); color: var(--on-brand); padding: 44px 36px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.wopwpzf6 { font: 700 22px var(--head); }
.wopie3aw blockquote { margin: 0; padding-inline-start: 16px; border-inline-start: 4px solid var(--on-brand); }
.wopie3aw blockquote span { display: block; font: 400 20px/1.36 var(--head); margin-block-end: 8px; }
.wopie3aw cite { font-style: normal; font-size: 13.5px; font-weight: 700; }
.wopyrjzk { font-size: 13.5px; }
.wopyn5qx { display: inline-flex; align-items: center; gap: 8px; font: 700 22px/1.1 var(--head); margin-block-end: 18px; }
.wop2z7sq h1 { font-size: 32px; }
.wop2z7sq .muted { margin-block: 6px 18px; }
.wopccmj2 { text-align: center; font-size: 14px; margin-block-start: 16px; color: var(--ink-2); }
.alert { border-radius: var(--r-sm); }

/* the gate: a sheet that slides in from the rail's edge */
.modal-back.wopoxnuo { background: rgba(0, 0, 0, .66); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; place-items: stretch end; }
.wopva3rs { inline-size: min(480px, 100%); block-size: 100%; overflow-y: auto; background: var(--bg); color: var(--ink); border-inline-start: 8px solid var(--brand); padding: 48px 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; animation: rise .28s ease-out; }
.wopuuzvk { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.wopva3rs h2 { font-size: 44px; line-height: 1; }
.wopva3rs p { text-align: start; margin: 0; color: var(--ink); }
.wopt7nmk { margin-block: 12px 4px; }
.wop3tglv { font-size: 12.5px; color: var(--ink-2) !important; }
.wop3tglv 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); }

/* phones: no rail. A slim head with an edge drawer, tabs at the foot */
@media (max-width: 900px) {
  .woplexvv { flex-direction: column; align-items: stretch; }
  .wopl2ysj { display: none; }
  .wopcpovf { flex: 1 0 auto; min-height: 0; overflow-x: clip; }
  .wophuodp { display: flex; align-items: center; gap: 4px; position: sticky; inset-block-start: 0; z-index: 60; block-size: 54px; padding-inline: 14px 4px; background: var(--bg); border-block-start: 4px solid var(--brand); border-block-end: var(--bw) var(--bs) var(--line-2); }
  .wopqmmjc { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: auto; font: 700 19px/1.1 var(--head); min-width: 0; }
  .wopqmmjc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wophnco5 { position: relative; display: grid; place-items: center; inline-size: 44px; block-size: 44px; }
  .wophnco5 b { position: absolute; inset-block-start: 5px; inset-inline-end: 3px; font-size: 10px; min-width: 16px; text-align: center; border-radius: 99px; background: var(--brand); color: var(--on-brand); }
  .wopy3rng { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: var(--r-sm); background: var(--brand); color: var(--on-brand); min-height: 34px; display: inline-flex; align-items: center; }
  .wopfnxrb summary { list-style: none; display: grid; place-items: center; inline-size: 48px; block-size: 48px; cursor: pointer; }
  .wopfnxrb summary::-webkit-details-marker { display: none; }
  .woppl2hi { position: relative; z-index: 71; display: block; inline-size: 22px; block-size: 2px; background: currentColor; transition: background .15s; }
  .woppl2hi::before, .woppl2hi::after { content: ""; position: absolute; inset-inline-start: 0; inline-size: 100%; block-size: 2px; background: currentColor; transition: transform .2s, inset-block-start .2s; }
  .woppl2hi::before { inset-block-start: -7px; }
  .woppl2hi::after { inset-block-start: 7px; }
  .wopfnxrb[open] .woppl2hi { background: transparent; }
  .wopfnxrb[open] .woppl2hi::before { inset-block-start: 0; transform: rotate(45deg); }
  .wopfnxrb[open] .woppl2hi::after { inset-block-start: 0; transform: rotate(-45deg); }
  .wopfnxrb[open] summary::after { content: ""; position: fixed; inset: 0; z-index: 68; background: rgba(0, 0, 0, .6); }
  .wopshqwy { display: none; }
  .wopfnxrb[open] .wopshqwy { display: flex; flex-direction: column; gap: 14px; position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 70; inline-size: min(88vw, 340px); padding: 70px 20px 24px; overflow-y: auto; background: var(--bg); border-inline-start: 6px solid var(--brand); }
  .wopmf6ff { display: flex; flex-direction: column; }
  .wopmf6ff a { display: flex; align-items: center; gap: 12px; min-height: 52px; font: 700 20px/1.2 var(--head); border-block-end: var(--bw) var(--bs) var(--line); }
  .wopmf6ff a.wopna3na { box-shadow: inset 4px 0 0 var(--brand); padding-inline-start: 12px; }
  [dir="rtl"] .wopmf6ff a.wopna3na { box-shadow: inset -4px 0 0 var(--brand); }
  .wopmf6ff b { margin-inline-start: auto; font-size: 12px; min-width: 20px; text-align: center; border-radius: 99px; background: var(--brand); color: var(--on-brand); }
  .wopfnxrb .wopuqjxv .wopjuqoq { border-block-end: var(--bw) var(--bs) var(--line); font-size: 15px; }
  .wopfnxrb .wopuqjxv .wopwdx2i { background: var(--brand); color: var(--on-brand); justify-content: center; font-weight: 700; border-radius: var(--r-sm); border: 0; margin-block-start: 8px; }
  .wop4aued { font-size: 12.5px; color: var(--ink-2); }
  .wopmj4vg { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; }
  .wopmj4vg a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: underline; }
  .main, .has-rail .main { padding: var(--sp) 16px calc(var(--tab-h) + 28px + env(safe-area-inset-bottom)); }
  .wopt2wcz { padding: 18px 16px calc(var(--tab-h) + 22px + env(safe-area-inset-bottom)); }
  .wop7q3nz { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .wopafddv { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wopdj4lt span { font-size: 12.5px; }
  .wop7fdhx ul, .wopxv7p6 ul { columns: 1; }
  .wop7fdhx a { min-height: 44px; }
  .wopbdooq { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .wopw5slh .btn { flex: 1 1 100%; }
  .wophbgit, .wop7pg76 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .search.wopwxqe7 { min-width: 0; inline-size: 100%; }
  .wopkxr4w .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .wopkxr4w .frow-label { inline-size: auto; }
  .chip { min-height: 38px; }
  .chat-page .main { height: auto; padding: 0 0 calc(var(--tab-h) + 8px); }
  .chat-page .chat-shell { grid-template-columns: minmax(0, 1fr); }
  .chat-page .chat-shell.in-thread { position: fixed; inset: 0; z-index: 80; height: 100dvh; }
  .wop2z7sq { grid-template-columns: minmax(0, 1fr); }
  .wopie3aw { display: none; }
  .modal-back.wopoxnuo { place-items: end stretch; }
  .wopva3rs { inline-size: 100%; block-size: auto; max-block-size: 94dvh; border-inline-start: 0; border-block-start: 8px solid var(--brand); border-start-start-radius: var(--r-lg); border-start-end-radius: var(--r-lg); padding: 28px 22px calc(22px + env(safe-area-inset-bottom)); animation: none; }
  .wopva3rs h2 { font-size: 34px; }
}
@media (max-width: 600px) { .wopmwjdg { padding: 14px; padding-inline-start: 22px; } }

/* mood: warm low light, soft shadow, curves, photos first (operator theme, 2026-11-02) */
:root { --veil: color-mix(in srgb, var(--brand) 16%, #000); --glow: color-mix(in srgb, var(--brand) 38%, transparent); --arch: min(calc(var(--r-xl) * 3), 42%); }
body { background-image: radial-gradient(130% 520px at 50% 0, color-mix(in srgb, var(--brand) 13%, transparent), transparent 75%), var(--tex); background-size: 100% 100%, var(--tex-size); background-repeat: no-repeat, repeat; }
.wopu2ayw h1 { font-weight: 600; }
.btn-primary, .btn-primary:hover { box-shadow: 0 10px 30px -8px var(--glow); }
.btn { border-radius: var(--r-lg); }
.wopem4d2, .wopidwvi { background: linear-gradient(to top, color-mix(in srgb, var(--veil) 92%, transparent) 15%, transparent); }
.wopqhnr3 img, .wopeoxpr img, .wopk5mzp img, .wopdj4lt img, .wopf5u3j img { filter: saturate(1.06) contrast(1.03); }
.wopxwn35 .wopqhnr3, .wops47vw .wopqhnr3, .wopokzgc .wopqhnr3, .wopokzgc .wopr5k3n { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.wopeoxpr, .wopf5u3j img { box-shadow: 0 22px 46px -24px #000; }
.wopeoxpr { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.wopk5mzp, .wopf5u3j img { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.wopdj4lt img { border-start-start-radius: min(var(--r-xl), 30%); border-start-end-radius: min(var(--r-xl), 30%); }
.wopu2ayw .hw { box-shadow: 0 30px 70px -34px #000; }
.wopmwjdg, .wopo4cpx article, .wop73pph article, .wopjcgq7 li, .wopn7oap li { box-shadow: 0 16px 36px -26px #000; }
.wopl2ysj { box-shadow: 0 0 70px -10px var(--glow); }
.wopw35fk { background: linear-gradient(155deg, var(--veil), color-mix(in srgb, var(--brand) 34%, var(--veil))); color: #fff; box-shadow: 0 30px 70px -36px var(--glow); }
.wopw35fk .wopljk7o { color: #fff; }
.wopw35fk .btn-primary { box-shadow: 0 10px 30px -8px var(--glow); }
.wopva3rs { box-shadow: 0 0 90px -10px var(--glow); background-image: radial-gradient(120% 300px at 50% 0, color-mix(in srgb, var(--brand) 18%, transparent), transparent 80%); }
.wopkxr4w { box-shadow: 0 14px 34px -26px #000; }

/* Photo rule (FRAME-BRIEF.md): the wall of portraits too: 220 px or more on a desktop, two to a row on a phone. */
.wopafddv { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .wopafddv { 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; }
/* the text in a band, one row of four portraits under it, the banner under both */
.wopxwn35 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp); }
.wopxwn35 .wopstsq4 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px calc(var(--sp) * 2.2); align-items: end; }
.wopxwn35 .wopstsq4 .wopv6emr, .wopxwn35 .wopstsq4 h1 { grid-column: 1; }
.wopxwn35 .wopstsq4 .wopxec3x { grid-column: 2; grid-row: 1; }
.wopxwn35 .wopstsq4 .wopsaj4y { grid-column: 2; grid-row: 2; align-self: start; margin: 0; }
.wopxwn35 .wophlvn3 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wopxwn35 .wopqhnr3 { border-radius: var(--r); }
.wopxwn35 .wopafxd6 { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .wopxwn35 { display: flex; flex-direction: column; gap: 12px; }
  .wopxwn35 .wopstsq4 { display: contents; }
  .wopxwn35 .wopv6emr { order: 1; margin: 0; }
  .wopxwn35 h1 { order: 2; font-size: clamp(30px, 8.6vw, 40px); }
  .wopxwn35 .wophlvn3 { order: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wopxwn35 .wopqhnr3:nth-child(n+3) { display: none; }
  .wopxwn35 .wopxec3x { order: 4; }
  .wopxwn35 .wopsaj4y { order: 5; margin: 0; }
  .wopxwn35 .wopafxd6 { order: 6; }
}
/* a photo, then a caption block under it */
.grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--sp); }
.wopeoxpr { display: flex; flex-direction: column; background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); overflow: hidden; color: var(--ink); }
.wopeoxpr:hover { border-color: var(--ink); }
.wopk5mzp { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.wopk5mzp img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 18%; }
.wopk5mzp .badge-ai { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; background: rgba(0, 0, 0, .6); color: #fff; border-color: rgba(255, 255, 255, .75); }
.wopk5mzp .on-dot { position: absolute; inset-block-start: 13px; inset-inline-end: 12px; }
.woprmany { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 0; flex: 1; }
.wopyt4f6 { font: 700 20px/1.15 var(--head); }
.wopbej3y { font-size: 13px; color: var(--ink-2); }
.wope4ssx { font-size: 14px; margin-block-start: 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wop6teu4 { margin-block-start: 10px; padding-block: 10px; display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--ink-2); border-block-start: 1px solid var(--line); }
.wop6teu4 b { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .woprmany { padding: 10px 10px 0; } .wope4ssx { display: none; } .wop6teu4 { flex-direction: column; gap: 2px; } }
/* one line down the edge, a numbered stop for every step */
.wopkek4y { list-style: none; margin: var(--sp) 0 0; padding: 0; counter-reset: st; border-inline-start: 3px solid var(--line-2); margin-inline-start: 18px; }
.wopkek4y li { counter-increment: st; position: relative; padding: 0 0 var(--sp); padding-inline-start: 34px; }
.wopkek4y li::before { content: counter(st); position: absolute; inset-inline-start: -21px; inset-block-start: 0; inline-size: 38px; block-size: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--on-brand); font: 700 17px/1 var(--head); }
.wopkek4y h3 { font-size: 20px; margin-block: 4px 4px; }
.wop3eqxg details { border-block-end: 1px solid var(--line-2); padding-block: 12px; }
.wop3eqxg summary { cursor: pointer; font: 700 19px/1.3 var(--head); min-height: 30px; }
.wop3eqxg p { margin-block-start: 8px; max-inline-size: 72ch; }
/* a vertical folio tab on the start edge: number and kicker set sideways */
.wopklv72 { margin-block-end: var(--sec); }
.wopb55c7 { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--sp); }
.wopv6bio { writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); padding-inline-end: 12px; border-inline-end: 3px solid var(--brand); max-block-size: 360px; }
.wopv6bio span:first-child { font: 700 24px/1 var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .wopb55c7 { grid-template-columns: minmax(0, 1fr); gap: 8px; } .wopv6bio { writing-mode: horizontal-tb; padding: 0 0 8px; border-inline-end: 0; border-block-end: 3px solid var(--brand); max-block-size: none; } }
.wop7uwsy .wopljk7o { margin-block-end: 8px; }
/* a wide text rail: ink-coloured, the name big, numbered entries, the account as a list */
.wopl2ysj { inline-size: 258px; background: linear-gradient(185deg, var(--veil), color-mix(in srgb, var(--brand) 30%, var(--veil))); color: #fff; padding: 30px 24px 22px; gap: 14px; align-items: stretch; }
.wopvj3mr { font: 700 30px/1.05 var(--head); overflow-wrap: anywhere; }
.wopiilnb { font-size: 13.5px; opacity: .78; margin-block-start: -4px; }
.wopawavk { display: flex; flex-direction: column; margin-block-start: 12px; }
.wopawavk a { display: flex; align-items: center; gap: 12px; min-height: 50px; font: 700 18px/1.2 var(--head); border-block-end: 1px solid color-mix(in srgb, #fff 26%, transparent); }
.wopawavk a:first-child { border-block-start: 1px solid color-mix(in srgb, #fff 26%, transparent); }
.wopawavk i { font: 700 12px/1 var(--font); font-style: normal; opacity: .7; min-width: 20px; font-variant-numeric: tabular-nums; }
.wopawavk a:hover { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
.wopawavk a.wopna3na i { opacity: 1; background: var(--brand); color: var(--on-brand); border-radius: var(--r-sm); padding: 4px 5px; min-width: 26px; text-align: center; }
.wopawavk b { margin-inline-start: auto; font-size: 12px; min-width: 20px; padding: 1px 5px; text-align: center; border-radius: 99px; background: var(--brand); color: var(--on-brand); }
.wopuqjxv { margin-block-start: auto; gap: 0; }
.wopjuqoq { min-height: 42px; font-size: 14.5px; border-block-end: 1px solid color-mix(in srgb, #fff 18%, transparent); }
.wopjuqoq:hover span { text-decoration: underline; }
.wopjuqoq b { margin-inline-start: auto; background: var(--brand); color: var(--on-brand); }
.wopwdx2i { background: var(--brand); color: var(--on-brand); justify-content: center; font-weight: 700; border-radius: var(--r-sm); border: 0; margin-block-start: 8px; }
.wopj3rak { font-weight: 700; }
.woph2kyn { font-size: 12px; opacity: .72; margin-block-start: 8px; }
/* the rail on the end edge (right in LTR, left in RTL) */
:root { --rb-s: var(--bw); --rb-e: 0px; --cs: var(--r-lg); --ce: 0px; --ms: 8px; --me: 0px; --tab-edge: flex-end; }
