:root {
  --bg: #0c170f;
  --bg-2: #19241c;
  --card: #202b23;
  --card-2: #2b362e;
  --ink: #e6f3e9;
  --ink-2: #bac7bd;
  --ink-3: #98a49b;
  --line: #3c473f;
  --line-2: #79857c;
  --brand: #37b45a;
  --brand-2: #e0a93b;
  --violet: #e0a93b;
  --blue: #e0a93b;
  --glass: #131e16;
  --on-brand: #000000;
  --grad: linear-gradient(#37b45a, #37b45a);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #e0a93b;
  --gold: #e0a93b;
  --danger: #e0a93b;
  --ok-bg: transparent;
  --ok-ink: #37b45a;
  --err-bg: transparent;
  --err-ink: #e0a93b;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "Roboto Flex", system-ui, sans-serif;
  --head: "Russo One", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: dark;
  --tex: linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  --tex-size: 34px 34px;
  --sp: 26px;
  --sec: 76px;
  --lh: 1.68;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 30px;
  --r-xl: 38px;
  --bw: 2px;
  --bs: solid;
}
:root { --acc: color-mix(in srgb, var(--brand) 42%, var(--ink)); --bub-in: var(--card-2); --scrim: linear-gradient(to top, rgba(0, 0, 0, .86), rgba(0, 0, 0, .52) 45%, rgba(0, 0, 0, 0)); }
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: -.005em; }
a { text-underline-offset: 3px; }
.badge-ai { background: transparent; color: inherit; border: 1px solid currentColor; border-radius: var(--r-sm); font-size: 10px; line-height: 1.35; font-weight: 700; padding: 0 4px; backdrop-filter: none; box-shadow: none; vertical-align: middle; }
.badge-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-size: 11.5px; font-weight: 700; line-height: 1; }

/* the frame: the list beside the open conversation */
.orty7fkh { display: flex; align-items: flex-start; min-height: 100dvh; }
.ortw2y3t { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; min-height: 100dvh; }
.main, .has-rail .main { margin: 0; margin-inline: auto; padding: var(--sp) calc(var(--sp) + 14px) var(--sec); min-height: 0; flex: 1; width: 100%; max-width: 1240px; }
.has-rail .rail, .side, .topbar, .rail { display: none; }
.ortu2xyj { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--on-brand); }
.orterkds { position: sticky; inset-block-start: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px calc(var(--sp) + 14px); background: var(--bg-2); border-block-end: 1px solid var(--line); }
.ortnxjwz { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ortxzs7n { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ortxzs7n b { font: 700 18px/1.2 var(--head); white-space: nowrap; }
.ortxzs7n small { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ortraqyv { flex: none; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; font-size: 14px; }
.ortraqyv > a:not(.btn) { min-height: 34px; display: inline-flex; align-items: center; gap: 5px; }
.ortraqyv > a:not(.btn):hover { color: var(--acc); }
.ort7muse { padding: var(--sp) calc(var(--sp) + 14px); border-block-start: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.ort7muse a { text-decoration: underline; }
.ort7muse nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-block-start: 8px; }
.ort7muse nav a { min-height: 30px; display: inline-flex; align-items: center; }
.tabbar.ort64hyj { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; border-block-start: 1px solid var(--line-2); }
.ort64hyj .tab { font-size: 11px; color: var(--ink-2); gap: 2px; text-align: center; line-height: 1.15; }
.ort64hyj .tab.active { color: var(--acc); }

/* the list */
.ortek2mc { flex: none; width: var(--panel-w); position: sticky; inset-block-start: 0; height: 100dvh; display: flex; background: var(--bg-2); }
.ort5pydn { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.ortleevi { display: none; }
.orthaaxj { display: flex; flex-direction: column; }
.ortic7rx { display: flex; align-items: center; gap: 12px; padding: 9px 14px; min-width: 0; color: var(--ink); }
.ortic7rx:hover { background: var(--card); }
.ortic7rx.ortmnonz { background: var(--brand); color: var(--on-brand); }
.ortic7rx.ortmnonz .ortgqg3y { color: inherit; }
.ortnse72 { width: 56px; height: 56px; }
.av .on { background: var(--brand-2); border-color: var(--bg-2); }
.ortuastc { flex: 1 1 0; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ortasbu4 { display: flex; align-items: center; gap: 6px; font: 700 15.5px/1.25 var(--head); }
.ortasbu4 b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ortgqg3y { font-size: 13.5px; line-height: 1.35; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; overflow: hidden; overflow-wrap: anywhere; }
.ort5xxob { flex: none; margin-block-start: auto; padding: 14px; font-size: 13.5px; font-weight: 700; color: var(--acc); text-decoration: underline; }
.ortzqvo7 a { position: relative; color: var(--ink); }
.orthkd26 { display: inline-grid; place-items: center; flex: none; }

/* messages: everything on this site is one */
.ortu4we7 { background: var(--bub-in); color: var(--ink); border: var(--bw) var(--bs) var(--line); border-radius: var(--r-lg); border-end-start-radius: var(--r-sm); padding: 10px 14px; overflow-wrap: anywhere; }
.orttdish { background: var(--brand); color: var(--on-brand); border-color: transparent; border-end-start-radius: var(--r-lg); border-end-end-radius: var(--r-sm); }
.orttdish a { color: inherit; text-decoration: underline; }
.ort7jpan { display: inline-block; align-self: center; padding: 3px 12px; border-radius: var(--r); background: var(--card-2); color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* 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); gap: 8px; }
.btn-sm { min-height: 36px; padding-block: 4px; }
.btn-lg { min-height: 50px; }
.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 1px var(--line-2); }
.btn-ghost { color: var(--ink); }
.chip { background: var(--card); box-shadow: none; font-weight: 500; border-radius: var(--r); color: var(--ink); }
.chip.on { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.input, .select, .textarea { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r); 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); border-radius: var(--r-lg); }
.section { margin-block-start: var(--sec); }
.ortuvues { color: var(--acc); text-decoration: underline; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.ort3y7n2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; margin-block-end: 8px; overflow-wrap: anywhere; }
.ort5ai4a { font-size: 24px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.orta5xj3 { font-size: 16.5px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }

/* the front page */
.ortt3seg > section, .ortt3seg > nav { margin-block-end: var(--sec); }
.ort5tbqm h1 { line-height: 1.08; overflow-wrap: anywhere; }
.ortzsjy3 { font-size: 16.5px; max-width: 64ch; }
.ort3gnhq { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* a portrait with her name on a scrim: the first screen and the wall */
.ortca367 { position: relative; display: block; min-width: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--card-2); color: #fff; isolation: isolate; }
.ortca367 img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform .25s ease; }
.ortca367:hover img { transform: scale(1.03); }
.ort73spn { display: none; }
.ortgxvne { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; flex-direction: column; padding: 36px 12px 10px; background: var(--scrim); color: #fff; line-height: 1.25; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.ortgxvne b { font: 700 17px/1.2 var(--head); overflow-wrap: anywhere; }
.ortgxvne span { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ortzqhok { display: grid; gap: 6px; text-align: start; }
/* the home banner is the engine's (section.hw); this is its dress. On a wide photo the engine's scrim and white text stand. */
.ort5tbqm .hw { border: 0; box-shadow: none; text-align: start; border-radius: var(--r-xl); border-end-start-radius: var(--r-sm); }
.ort5tbqm .hw-name { font-family: var(--head); font-weight: 700; }
.ort5tbqm .hw-text { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .4); }
.ort5tbqm .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-name .badge-ai { background: transparent; color: #fff; }
.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) { .ort5tbqm .hw { height: clamp(320px, 28vw, 400px); } }
.ortf3llg { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ortf3llg div { background: var(--card); border-radius: var(--r); padding: 10px 12px; min-width: 0; }
.ortf3llg dt { font: 700 24px/1.1 var(--head); color: var(--acc); overflow-wrap: anywhere; }
.ortf3llg dd { margin: 2px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
/* the wall: her shared media */
.ortkngme { background: var(--bg-2); border-radius: var(--r-xl); padding: 6px; }
.ortvfecw { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; padding-inline: 10px; }
.ortvfecw p { font: 700 17px/1.25 var(--head); }
.ortfyyy3 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.ortkngme .ortca367 { border-radius: var(--r); aspect-ratio: 640 / 784; }
/* sections */
.ort2ri5j { margin-block-end: var(--sp); }
.ortyuwt3 h2 { font-size: clamp(23px, 2.6vw, 30px); line-height: 1.16; overflow-wrap: anywhere; }
.orty6zdk { font-size: 13px; font-weight: 700; color: var(--acc); margin-block-end: 2px; }
.orte2w3a { display: flex; align-items: flex-start; gap: 10px; }
.orte2w3a > span { flex: none; display: inline-grid; place-items: center; min-width: 30px; height: 30px; margin-block-start: .1em; border-radius: 15px; padding-inline: 6px; background: var(--brand); color: var(--on-brand); font: 700 14px/1 var(--font); font-variant-numeric: tabular-nums; }
.ortdygir { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--sp) calc(var(--sp) * 2); margin-block-start: var(--sp); }
.ortdygir h3, .ortytv6y h3 { font-size: 18px; margin-block-end: 6px; }
.ortdygir p, .ortytv6y p { margin-block-end: 8px; }
.ortdygir a, .orta5xj3 a, .ortytv6y p a, .ortst3d7 a:not(.btn), .ortej6td a, .ort3ewca a, .ortu4we7:not(.orttdish) a { color: var(--acc); text-decoration: underline; }
/* a written opener: her lines stacked as messages, the button is the reply */
.ortvaipx { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: calc(var(--sp) * 1.2) var(--sp); align-items: start; }
.ortd36rk { display: flex; flex-direction: column; gap: 3px; color: var(--ink); min-width: 0; }
.ortd36rk[hidden] { display: none; }
.ortyrzy7 { font-size: 12px; color: var(--ink-2); margin-block-end: 3px; }
.ortr5cne { background: var(--bub-in); padding: 7px 12px; border-radius: var(--r); font-size: 15px; line-height: 1.34; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.ortd36rk:hover .ortr5cne { background: var(--line); }
.ortj3fkt { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px; padding-block-start: 6px; font-size: 13px; color: var(--ink-2); }
.ortj3fkt b { color: var(--acc); }
.ortytv6y { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--sp); }
.ortytv6y article { background: var(--card); padding: var(--sp); border-radius: var(--r-lg); min-width: 0; }
.ortytv6y ul { list-style: none; margin: 0; padding: 0; }
.ortytv6y li a { min-height: 30px; display: inline-flex; align-items: center; text-decoration: underline; }
.ortbhjuw { width: 100%; border-collapse: collapse; }
.ortbhjuw td { padding: 8px 10px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.ortbhjuw tr:first-child td { font-weight: 700; color: var(--ink); border-block-end: 2px solid var(--line-2); }
.ortbhjuw td:first-child { color: var(--ink-2); }
.ortst3d7 { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: calc(var(--sp) * 1.5); background: var(--bg-2); border-radius: var(--r-xl); border-end-start-radius: var(--r-sm); }
.ortst3d7 h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.14; overflow-wrap: anywhere; }
.ortst3d7 p:not(.orty6zdk) { max-width: 62ch; }
.ortzmxb2 h2 { font-size: 19px; margin-block-end: 6px; }
.ortzmxb2 ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.ortzmxb2 li { break-inside: avoid; }
.ortzmxb2 a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: underline; }

/* lists */
.ort7pxeo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-block-end: var(--sp); }
.ort7pxeo > div { flex: 1 1 320px; min-width: 0; }
.ort7pxeo p { color: var(--ink-2); max-width: 66ch; }
.ort7pxeo p a { color: var(--acc); text-decoration: underline; }
.search.ortua4hu { background: var(--card-2); box-shadow: none; border-radius: var(--r-xl); min-width: 260px; }
.orticzhi { display: grid; gap: 6px; padding-block-end: 10px; margin-block-end: var(--sp); border-block-end: 1px solid var(--line); }
.orticzhi .frow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.orticzhi .frow-label { flex: none; width: 76px; font-size: 13px; color: var(--ink-2); }
.orticzhi .chips-scroll, .ortg4zbg .chips-scroll { min-width: 0; }
.orttiby4 summary { cursor: pointer; font-size: 13.5px; color: var(--acc); min-height: 30px; display: list-item; }
.orttiby4 .frow { margin-block-start: 6px; }
.ort5orac a { font-size: 13.5px; text-decoration: underline; color: var(--acc); }
.ort6gulo { text-align: center; padding: 30px; background: var(--card); border-radius: var(--r-lg); }
.ort6gulo p { margin-block: 8px 14px; color: var(--ink-2); }
.ort4s7ii { margin-block-start: var(--sec); padding-block-start: var(--sec); border-block-start: 1px solid var(--line); scroll-margin-block-start: 70px; }
.ortg4zbg { display: grid; gap: 6px; margin-block-end: var(--sp); }

/* her page: the contact sheet */
.ortm4jjd { display: inline-flex; align-items: center; min-height: 34px; font-size: 14px; text-decoration: underline; color: var(--acc); }
.ortfpnrf { display: grid; grid-template-columns: minmax(min(50vw, 74%), 3fr) minmax(0, 2fr); gap: calc(var(--sp) * 1.5); align-items: start; margin-block: 8px var(--sec); }
@media (max-width: 1100px) { .ortfpnrf { grid-template-columns: minmax(0, 1fr); } }
.ortbdiqv { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-xl); border-end-start-radius: var(--r-sm); background: var(--card-2); color: #fff; }
.ortbdiqv img { display: block; width: 100%; height: auto; aspect-ratio: 828 / 1014; object-fit: cover; object-position: 50% 16%; }
.ortbdiqv figcaption { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 60px 18px 14px; background: var(--scrim); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.ortbdiqv h1 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; overflow-wrap: anywhere; }
.ortbdiqv h1 small { display: block; font-size: .5em; font-weight: 400; margin-block-start: 4px; }
.ortohhlr { font-size: 13.5px; margin-block-start: 6px; }
.ortwzkp6 { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.ortzrt53 { font: 400 19px/1.32 var(--head); }
.ortd4jpu { display: flex; flex-wrap: wrap; gap: 8px; margin-block: var(--sp) 6px; width: 100%; }
.ortd4jpu .btn-primary { flex: 1 1 100%; }
.ortd4jpu .btn-outline { flex: 1 1 140px; }
.ortdowjd { font-size: 12.5px; color: var(--ink-2); }
.ort7uh6n h2, .ortt5uub h2, .ortneznw h2 { font-size: 21px; margin-block-end: 10px; }
.pgrid { margin-block-start: var(--sec); }
.ortt5uub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp); margin-block-start: var(--sec); }
.ortt5uub section { background: var(--bg-2); padding: var(--sp); border-radius: var(--r-lg); min-width: 0; }
.ortt5uub section > h2 ~ h2 { margin-block-start: var(--sp); }
.ortt5uub ul { margin: 0; padding-inline-start: 18px; }
.ortt5uub li, .ortt5uub p { margin-block-end: 6px; }
.ortt5uub .kv { grid-template-columns: 92px minmax(0, 1fr); font-size: 14px; }
.ortt5uub .kv dd { overflow-wrap: anywhere; font-weight: 400; }
.ortneznw { margin-block-start: var(--sec); }
.ortneznw ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.ortneznw li { break-inside: avoid; margin-block-end: 8px; font-size: 14px; }
.ortneznw b { display: block; font-family: var(--head); }

/* static pages */
.ortxtur3 { max-width: 720px; margin-inline: auto; }
.ortjeews { font: 400 19px/1.38 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); }
.ortxtur3 h2 { font-size: 23px; margin-block: calc(var(--sp) * 1.5) 8px; }
.ortxtur3 p, .ortxtur3 li { margin-block-end: 8px; }
.ortxtur3 ul { padding-inline-start: 20px; margin: 0; }
.ortxtur3 a { text-decoration: underline; color: var(--acc); }
.ortseoxw { display: inline-block; padding: 2px 10px; border-radius: var(--r); background: var(--card-2); font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ortyw5ua { padding: var(--sp); margin-block-start: var(--sp); background: var(--bg-2); border-radius: var(--r-lg); border-end-start-radius: var(--r-sm); }
.ortyw5ua h2 { margin-block-start: 8px; }

/* chat: the engine's own list takes over; the frame's list folds to its navigation */
.chat-page .ort7muse, .chat-page .orterkds { 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(--bg); box-shadow: none; grid-template-columns: var(--panel-w) minmax(0, 1fr); }
.chat-page .ortek2mc { width: 76px; flex-direction: column; align-items: center; gap: 8px; padding-block: 10px; overflow-y: auto; }
.chat-page .ortleevi { display: block; }
.chat-page .orthaaxj, .chat-page .ort5xxob { display: none; }
.chat-page .ort5pydn { flex: none; width: 100%; overflow: visible; }
.chat-page .ortzqvo7 { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 0; border: 0; position: static; }
.chat-page .ortzqvo7 a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 6px 4px; border-radius: 0; background: transparent; color: var(--ink); text-align: center; font: 500 10.5px/1.15 var(--font); border: 0; overflow-wrap: anywhere; }
.chat-page .ortzqvo7 a.ortmnonz { background: var(--card-2); color: var(--acc); }
.chat-page .ortzqvo7 .orthkd26 { width: auto; height: auto; margin: 0; background: transparent; }
.chat-page .ortzqvo7 a .badge-n { position: absolute; inset-block-start: 3px; inset-inline-end: 8px; margin: 0; }
.chat-list { border-inline-end: 1px solid var(--line); background: var(--bg-2); }
.chat-list-head h2 { font-size: 22px; }
.chat-search { border-radius: var(--r-xl); background: var(--card-2); box-shadow: none; }
.conv { border-radius: var(--r); }
.conv-list { padding: 4px; }
.conv.active { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.conv.active .last, .conv.active .time, .conv.active .you { color: inherit; }
.conv:not(.active):hover { background: var(--card); }
.conv b { font-family: var(--head); }
.thread, .quick, .quota, .composer { background: var(--bg); background-color: var(--bg); }
.msgs { background-image: var(--tex); background-size: var(--tex-size); }
.thread-head { border-block-end: 1px solid var(--line); background: var(--bg-2); }
.thread-head .grow > div:first-child { font-family: var(--head); font-size: 17px; }
.thread-head .status { font-weight: 400; color: var(--ink-2); }
.thread-head .status.online { color: var(--acc); }
.bubble, .msg.her .bubble, .msg.me .bubble { border-radius: var(--r-lg); font-size: 15.5px; }
.msg.her .bubble { background: var(--card-2); color: var(--ink); border-end-start-radius: var(--r-sm); }
.msg.me .bubble { background: var(--brand); color: var(--on-brand); border-end-end-radius: var(--r-sm); }
.msg .t { color: var(--ink-3); font-weight: 400; }
.typing span, .typing i { background: var(--brand); }
.composer { border-block-start: 1px solid var(--line); }
.cfield { background: var(--card-2); box-shadow: none; border-radius: var(--r-xl); }
.composer textarea { background: transparent; color: var(--ink); }
.composer .send { border-radius: 50%; background: var(--brand); color: var(--on-brand); box-shadow: none; }
.mode-btn { border-radius: var(--r); }
.menu, .ctx-menu { border-radius: var(--r); background: var(--card-2); border: 1px solid var(--line-2); }
.chat-card { border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }

/* plans and forms */
.ortfjzwh { font-size: 17px; margin-block-end: 8px; }
.ortxy7rs { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.ortxy7rs a, .ortz5b7t a, .ort4laoh .check a { text-decoration: underline; color: var(--acc); }
.pack { border: var(--bw) var(--bs) var(--line); border-radius: var(--r-lg); border-end-start-radius: var(--r-sm); }
.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); background: var(--bg-2); }
.seg label { border-radius: var(--r); }
.seg input:checked + label { background: var(--brand); color: var(--on-brand); }
.ort4laoh { background: var(--bg); }
.ortggiml { position: relative; background: var(--card-2); overflow: hidden; display: flex; align-items: flex-end; }
.ortm7rt3 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.ort27l65 { position: relative; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 90px 32px 28px; background: var(--scrim); }
.ortziv4u { color: #fff; font: 700 20px/1.2 var(--head); text-shadow: 0 1px 3px rgba(0, 0, 0, .7); margin-block-end: 6px; }
.ort27l65 .ortu4we7 { max-width: 88%; font-size: 16px; }
.ortl2n4h { color: #fff; font-size: 13.5px; margin-block-start: 12px; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.ort4laoh .ortstfj6 { display: block; font: 700 24px/1.1 var(--head); margin-block-end: 16px; }
.ort4laoh h1 { font-size: 30px; }
.ort4laoh .muted { margin-block: 6px 18px; color: var(--ink-2); }
.ortz5b7t { text-align: center; font-size: 14px; margin-block-start: 16px; color: var(--ink-2); }
.alert { border-radius: var(--r); }

/* the gate: the first message, and the answer */
.modal-back.orteicck { background: color-mix(in srgb, var(--bg) 88%, #000); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ortfhcwn { width: min(440px, 100%); max-height: 94dvh; overflow-y: auto; background: var(--bg-2); border-radius: var(--r-xl); box-shadow: var(--sh-3); text-align: start; }
.ortatjln { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-block-end: 1px solid var(--line); font: 700 17px/1.2 var(--head); }
.ort4y6au { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 14px; }
.ort4y6au .ortu4we7 { margin-inline-end: 26px; }
.ort4y6au h2 { font-size: 30px; line-height: 1.1; margin-block-end: 6px; }
.ortutd63.btn { align-self: flex-end; max-width: 88%; border-radius: var(--r-lg); border-end-end-radius: var(--r-sm); }
.ortiqbta { font-size: 12.5px; color: var(--ink-2); }
.ortiqbta 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: the head, her faces in a row, the page; the tabs at the foot do the navigation */
@media (max-width: 900px) {
  .orty7fkh { flex-direction: column; align-items: stretch; }
  .ortw2y3t { display: contents; }
  .orterkds { order: -2; min-height: 52px; padding: 6px 16px; }
  .orterkds .ortu2xyj { width: 34px; height: 34px; }
  .ortxzs7n small { display: none; }
  .ortnxjwz { flex: none; }
  .ortraqyv { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; font-size: 13px; flex-wrap: nowrap; justify-content: flex-start; white-space: nowrap; }
  .ortraqyv .btn { flex: none; white-space: nowrap; }
  .ortraqyv .btn { min-height: 36px; padding-inline: 12px; font-size: 13px; }
  .ortek2mc { order: -1; position: static; width: 100%; height: auto; display: block; background: var(--bg-2); border-block-end: 1px solid var(--line); border-inline: 0; }
  .ort5pydn { overflow: visible; display: block; }
  .ortleevi, .ort5xxob, .ortek2mc .ortzqvo7 { display: none; }
  .orthaaxj { flex-direction: row; gap: 4px; overflow-x: auto; padding: 8px 12px; scrollbar-width: none; }
  .orthaaxj::-webkit-scrollbar { display: none; }
  .ortic7rx { flex: none; flex-direction: column; gap: 3px; width: 62px; padding: 0; }
  .ortic7rx:hover { background: transparent; }
  .ortic7rx.ortmnonz { background: transparent; color: var(--ink); }
  .ortnse72 { width: 52px; height: 52px; }
  .ortic7rx.ortmnonz .ortnse72 { box-shadow: 0 0 0 2px var(--brand); border-radius: 50%; }
  .ortuastc { flex: none; width: 100%; align-items: center; }
  .ortasbu4 { font: 500 11.5px/1.2 var(--font); justify-content: center; width: 100%; }
  .ortasbu4 .badge-ai, .ortgqg3y, .ortic7rx .badge-n { display: none; }
  .main, .has-rail .main { order: 0; flex: none; padding: var(--sp) 16px calc(var(--sp) + 8px); }
  .ort7muse { order: 1; padding: 16px 16px calc(var(--tab-h) + 18px + env(safe-area-inset-bottom)); }
  .ortf3llg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ortfyyy3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ortzqhok { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ortzqhok .ortca367 { aspect-ratio: 4 / 5; }
  .ortzqhok .ortca367:nth-child(n+3) { display: none; }
  .ortzmxb2 ul, .ortneznw ul { columns: 1; }
  .ortzmxb2 a { min-height: 44px; }
  .ortfpnrf { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ortt5uub { grid-template-columns: minmax(0, 1fr); }
  .search.ortua4hu { min-width: 0; width: 100%; }
  .orticzhi .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .orticzhi .frow-label { width: auto; }
  .chip { min-height: 38px; }
  .chat-page .ortek2mc { display: none; }
  .chat-page .orterkds { display: flex; }
  .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: 50; height: 100dvh; }
  .ortggiml { display: none; }
}

/* mood: a late-night thread, a lamp over the list, captions on a skin-toned veil (operator theme, 2026-11-02) */
:root { --veil: color-mix(in srgb, var(--brand) 9%, #1c0b08); --glow: color-mix(in srgb, var(--brand) 40%, transparent); --lamp: color-mix(in srgb, #ff9a5a 20%, transparent); --scrim: linear-gradient(0deg, color-mix(in srgb, var(--veil) 94%, transparent) 10%, transparent); }
body { background-image: radial-gradient(900px 520px at 50% -6%, var(--lamp), transparent 72%), var(--tex); background-size: 100% 100%, var(--tex-size); background-repeat: no-repeat, repeat; }
h1, h2, h3 { font-weight: 600; }
.ortek2mc { background: radial-gradient(140% 300px at 50% 0, var(--lamp), transparent 80%), linear-gradient(180deg, color-mix(in srgb, var(--brand) 7%, var(--bg-2)), var(--bg-2)); box-shadow: 0 0 70px -20px var(--glow); }
.orterkds { background: color-mix(in srgb, var(--bg-2) 82%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ortu2xyj { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--veil))); box-shadow: 0 6px 18px -8px var(--glow); }
.btn-primary, .btn-primary:hover { box-shadow: 0 10px 28px -10px var(--glow); }
.ortca367 img, .ort6gork img, .ort7cajt img, .ortbdiqv img { filter: saturate(1.06) contrast(1.03); }
.ortca367, .ortcd3ng, .ortcok2u { box-shadow: 0 22px 44px -26px #000; }
.ortu4we7 { background: color-mix(in srgb, var(--brand) 9%, var(--bub-in)); }
.orttdish, .msg.me .bubble { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--veil))); box-shadow: 0 8px 22px -12px var(--glow); }
.msg.her .bubble { background: color-mix(in srgb, var(--brand) 8%, var(--card-2)); }
.ortd36rk { background: color-mix(in srgb, var(--brand) 5%, var(--card-2)); box-shadow: 0 16px 36px -26px #000; }
.ort5tbqm .hw { box-shadow: 0 28px 60px -32px #000; }
.ortst3d7 { background: linear-gradient(155deg, var(--veil), color-mix(in srgb, var(--brand) 36%, var(--veil))); color: #fff; box-shadow: 0 30px 70px -36px var(--glow); }
.ortst3d7 .orty6zdk, .ortst3d7 h2, .ortst3d7 p { color: #fff; }
.ortfhcwn { box-shadow: 0 0 90px -10px var(--glow); background-image: radial-gradient(120% 300px at 50% 0, var(--lamp), transparent 80%); }

/* Photo rule (FRAME-BRIEF.md): the wall of portraits too: 220 px or more on a desktop, two to a row on a phone. */
.ortfyyy3 { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .ortfyyy3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* Her contact in the list is her photo, name on a scrim: no small avatars beside the large cards. */
body:not(.chat-page) { --panel-w: 280px; }
body:not(.chat-page) .orthaaxj { gap: 8px; padding: 8px; }
body:not(.chat-page) .ortic7rx { position: relative; display: block; padding: 0; overflow: hidden; border-radius: var(--r-lg); }
body:not(.chat-page) .ortnse72 { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 0; }
body:not(.chat-page) .ortnse72 img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; border-radius: 0; }
body:not(.chat-page) .ortuastc { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 34px 10px 10px; color: #fff; background: linear-gradient(0deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, 0)); text-shadow: 0 1px 3px rgba(0, 0, 0, .7); align-items: flex-start; width: auto; }
body:not(.chat-page) .ortgqg3y { color: rgba(255, 255, 255, .9); }
body:not(.chat-page) .ortic7rx.ortmnonz { outline: 3px solid var(--brand); outline-offset: -3px; background: transparent; color: var(--ink); }
@media (max-width: 900px) {
  body:not(.chat-page) .orthaaxj { gap: 8px; padding: 8px 16px; }
  body:not(.chat-page) .ortic7rx { flex: 0 0 46%; width: auto; }
  body:not(.chat-page) .ortnse72 { width: 100%; height: auto; }
  body:not(.chat-page) .ortasbu4 { font: 700 15px/1.2 var(--head); justify-content: flex-start; }
}
@media (min-width: 901px) { body:not(.chat-page) .ortek2mc { width: auto; } body:not(.chat-page) .ort5pydn { flex: 0 0 256px; } }
body:not(.chat-page) .ortnse72 .on { position: absolute; inset-block: 10px auto; inset-inline: auto 10px; width: 14px; height: 14px; }
/* 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; }
.ortlquo4 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px calc(var(--sp) * 1.4); align-items: end; }
.ortlquo4 > .hw { grid-column: 1 / -1; grid-row: 5; }
.ortewk53 { display: contents; }
.ortewk53 .ortsg4y3 { grid-column: 1; grid-row: 1; }
.ortewk53 h1 { grid-column: 1; grid-row: 2; }
.ortewk53 .ortzsjy3 { grid-column: 2; grid-row: 1; align-self: end; }
.ortewk53 .ort3gnhq { grid-column: 2; grid-row: 2; align-self: start; }
.ortewk53 .ortf6ods { grid-column: 1 / -1; grid-row: 4; }
.ortf6ods tbody { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--sp); }
.ortf6ods tr { display: block; }
.ortlquo4 > .ortzqhok { grid-column: 1 / -1; grid-row: 3; }
.ortsg4y3 { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 12px; font-size: 13px; color: var(--ink); background: var(--bg-2); border-inline-start: 3px solid var(--brand); border-radius: var(--r-sm); }
.ortsg4y3 svg { flex: none; color: var(--acc); }
.ortlquo4 h1 { font-size: clamp(26px, 2.9vw, 38px); }
.ortlquo4 .ortzsjy3 { font-size: 15.5px; color: var(--ink-2); }
.ortf6ods { width: 100%; border-collapse: collapse; }
.ortf6ods th { text-align: start; font: 700 19px/1.2 var(--head); color: var(--acc); padding-block: 5px; padding-inline-end: 12px; white-space: nowrap; vertical-align: top; }
.ortf6ods td { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); padding-block: 6px; }
.ortf6ods tr { border-block-start: 1px solid var(--line); }
.ortlquo4 .ortzqhok { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ortlquo4 .ortca367 { aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .ortlquo4 { display: flex; flex-direction: column; align-items: stretch; }
  .ortlquo4 .ortzqhok { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ortf6ods tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ortlquo4 .ortzsjy3, .ortlquo4 .ort3gnhq, .ortf6ods { order: 5; }
}
.grid { grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 8px; }
.row-scroll { grid-auto-columns: minmax(180px, 210px); }
.ortcok2u { position: relative; display: block; overflow: hidden; aspect-ratio: 9 / 16; border-radius: var(--r-lg); background: var(--card-2); color: #fff; min-width: 0; }
.ortcok2u img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.ortcok2u .ort73spn { display: flex; gap: 3px; margin-block-end: 7px; }
.ortcok2u .ort73spn i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .55); }
.ortcok2u .ort73spn i:first-child { background: #fff; }
.ortxscbe { position: absolute; inset-inline: 0; inset-block-start: 0; padding: 8px 10px 34px; background: linear-gradient(to bottom, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.ortgb4ra { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ortloemv { font: 700 16px/1.2 var(--head); overflow-wrap: anywhere; }
.ortqfrhs { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 50px 10px 12px; background: var(--scrim); color: #fff; font-size: 14px; line-height: 1.32; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
@media (max-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .ortqfrhs { 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. */
.ortcok2u { aspect-ratio: 4 / 5; }
.ortqfrhs { -webkit-line-clamp: 3; line-clamp: 3; }
.grid, .grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
.row-scroll { grid-auto-columns: minmax(224px, 264px) !important; }
@media (max-width: 900px) {
  .grid, .grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 10px !important; }
  .row-scroll { grid-auto-columns: minmax(46%, 48%) !important; }
  .ortqfrhs { -webkit-line-clamp: 2; line-clamp: 2; padding-block-start: 34px; }
}
.ortothxv { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp); }
.ortothxv li { display: flex; flex-direction: column; gap: 4px; }
.ortothxv .orttdish { align-self: flex-end; max-width: 85%; }
.ortothxv .ortu4we7:not(.orttdish) { align-self: flex-start; max-width: 85%; }
.ortothxv h3 { font-size: 16px; }
.ortktzvm { margin: 0; display: flex; flex-direction: column; gap: var(--sp); }
.ortktzvm div { display: flex; flex-direction: column; gap: 4px; }
.ortktzvm dt { align-self: flex-end; max-width: 80%; font-weight: 700; }
.ortktzvm dd { align-self: flex-start; max-width: 85%; margin: 0; }
.orttnel2 { display: flex; align-items: flex-end; gap: 10px; }
.orttnel2 > .ortu2xyj { width: 36px; height: 36px; }
.orttnel2 .ortk4ky7 { flex: 1 1 0; min-width: 0; background: var(--bg-2); padding: calc(var(--sp) + 2px); border-radius: var(--r-xl); border-end-start-radius: var(--r-sm); }
.orttnel2 .ortytv6y article { background: var(--card-2); }
@media (max-width: 900px) { .orttnel2 > .ortu2xyj { display: none; } .orttnel2 .ortk4ky7 { padding: 14px; } }
/* a dark column of folders beside the list */
.ortek2mc { width: calc(var(--panel-w) + 80px); }
.ortek2mc > .ortzqvo7 { flex: none; width: 80px; display: flex; flex-direction: column; background: var(--ink); color: var(--bg); padding-block: 10px; overflow-y: auto; }
.ortek2mc > .ortzqvo7 a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 4px; color: var(--bg); font-size: 11px; font-weight: 500; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.ortek2mc > .ortzqvo7 a:hover { background: color-mix(in srgb, var(--bg) 18%, var(--ink)); }
.ortek2mc > .ortzqvo7 a.ortmnonz { background: var(--brand); color: var(--on-brand); }
.ortek2mc > .ortzqvo7 .badge-n { position: absolute; inset-block-start: 4px; inset-inline-end: 10px; }
.chat-page .ortek2mc { width: 80px; padding: 0; background: var(--ink); gap: 0; }
.chat-page .ort5pydn { display: none; }
.chat-page .ortek2mc > .ortzqvo7 { padding: 0; flex: 1; width: 100%; }
.chat-page .ortek2mc > .ortzqvo7 a { color: var(--bg); }
.chat-page .ortek2mc > .ortzqvo7 a.ortmnonz { background: var(--brand); color: var(--on-brand); }
.chat-page .ortleevi { margin-block: 10px; }
@media (max-width: 900px) { .ortek2mc { width: 100%; } .ortek2mc > .ortzqvo7 { display: none; } }
.ortek2mc { border-inline-start: 1px solid var(--line-2); }
@media (min-width: 901px) { .chat-list { order: 2; border-inline-end: 0; border-inline-start: 1px solid var(--line); } .chat-page .chat-shell { grid-template-columns: minmax(0, 1fr) var(--panel-w); } }
