:root {
  --bg: #f4fafb;
  --bg-2: #e6edee;
  --card: #dfe7e8;
  --card-2: #d4dcde;
  --ink: #0f2729;
  --ink-2: #3d5153;
  --ink-3: #617375;
  --line: #c2cccd;
  --line-2: #829092;
  --brand: #0b7a84;
  --brand-2: #a5561d;
  --violet: #a5561d;
  --blue: #a5561d;
  --glass: #edf4f5;
  --on-brand: #ffffff;
  --grad: linear-gradient(#0b7a84, #0b7a84);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #a5561d;
  --gold: #a5561d;
  --danger: #a5561d;
  --ok-bg: transparent;
  --ok-ink: #0b7a84;
  --err-bg: transparent;
  --err-ink: #a5561d;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "Exo 2", system-ui, sans-serif;
  --head: "Chakra Petch", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: light;
  --tex: repeating-linear-gradient(0deg, color-mix(in srgb, var(--ink) 4%, transparent) 0 1px, transparent 1px 5px);
  --tex-size: auto;
  --sp: 12px;
  --sec: 30px;
  --lh: 1.45;
  --r-sm: 0px;
  --r: 0px;
  --r-lg: 0px;
  --r-xl: 0px;
  --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: -.005em; }
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 */
.btheyqot { display: flex; align-items: flex-start; min-height: 100dvh; }
.bth4p55g { 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(--sec) calc(var(--sp) * 2); min-height: 0; flex: 1; width: 100%; max-width: 1240px; }
.has-rail .rail, .side, .topbar, .rail { display: none; }
.bthrcdae { flex: none; width: var(--panel-w); position: sticky; inset-block-start: 0; height: 100dvh; overflow-y: auto; display: flex; flex-direction: column; gap: var(--sp); padding: var(--sp); background: var(--bg-2); border-inline: var(--bw) var(--bs) var(--line-2); }
.bthipbo5 { display: block; font: 700 26px/1.1 var(--head); color: var(--ink); }
.bthrey5w { font-size: 13px; color: var(--ink-2); margin-block-start: 4px; }
.bthrbsd3 { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-block-start: 8px; font-size: 13.5px; }
.bthrbsd3 a { min-height: 28px; display: inline-flex; align-items: center; text-decoration: underline; }
.bth3vxaj { color: var(--brand); font-weight: 700; }
.bthwjzya { background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding-block-end: 14px; flex: none; }
.bth46glw { height: 22px; background: repeating-linear-gradient(115deg, var(--ink) 0 18px, var(--bg) 18px 36px); }
.bthwjzya > *:not(.bth46glw) { margin-inline: 14px; }
.bthamvzi { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bthamvzi b { color: var(--brand); font-weight: 700; }
.bth7smq3 p { font: 400 17px/1.35 var(--head); margin-block-end: 6px; }
.bthvdkgf { font-size: 13px; color: var(--ink-2); }
.bthwjzya .bth7lovd { margin-block-start: 2px; width: auto; display: flex; }
.bthdgnne { font-size: 13px; text-decoration: underline; color: var(--ink-2); min-height: 28px; display: inline-flex; align-items: center; }
.bthaixnt { display: flex; flex-direction: column; flex: none; }
.bthaixnt a { min-height: 40px; display: flex; align-items: center; gap: 6px; padding-inline: 4px; border-block-end: 1px solid var(--line); font-family: var(--head); font-size: 16px; }
.bthaixnt a:hover, .bthaixnt a.bthyiiwv { color: var(--brand); }
.bthaixnt b, .bthhfhon b { font-size: 12px; color: var(--brand); }
.bthjyizk { margin-block-start: auto; font-size: 12px; color: var(--ink-3); }
.bthhfhon { position: sticky; inset-block-start: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; min-height: var(--bar-h); padding-inline: calc(var(--sp) * 2); background: var(--glass); border-block-end: var(--bw) var(--bs) var(--line-2); font-family: var(--head); font-size: 16px; }
.bthhfhon a { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; }
.bthhfhon a.bthyiiwv, .bthhfhon a:hover { color: var(--brand); text-decoration: underline; }
.bthbdtyc { flex: none; width: 78px; position: sticky; inset-block-start: 0; height: 100dvh; display: flex; flex-direction: column; align-items: stretch; background: var(--ink); color: var(--bg); padding-block: 12px; gap: 4px; }
.bthbdtyc a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px; font-size: 11px; text-align: center; line-height: 1.2; position: relative; }
.bthbdtyc a b { position: absolute; inset-block-start: 4px; inset-inline-end: 14px; font-size: 10px; color: var(--brand); }
.bthbdtyc a:hover, .bthbdtyc a.bthyiiwv { background: var(--brand); color: var(--on-brand); }
.bth5r22l { margin-block-end: 10px; }
.bthjbham { padding: var(--sp) calc(var(--sp) * 2); border-block-start: var(--bw) var(--bs) var(--line-2); font-size: 13px; color: var(--ink-2); }
.bthjbham a { text-decoration: underline; }
.bthjbham nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-block-start: 8px; }
.bthjbham nav a { min-height: 30px; display: inline-flex; align-items: center; }
.tabbar.bthebjiz { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; border-block-start: var(--bw) var(--bs) var(--line-2); }
.bthebjiz .tab { font-size: 11.5px; color: var(--ink-2); gap: 2px; }
.bthebjiz .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: 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: 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(--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-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); }
.section { margin-block-start: var(--sec); }
.bthwhdmm { color: var(--brand); text-decoration: underline; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.bthm7kzz { font-size: clamp(30px, 4vw, 44px); margin-block-end: 8px; }
.bthsyzmz { font-size: 25px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.bthbk5dr { font-size: 17px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }

/* the front page */
.bth2tz7h > section, .bth2tz7h > nav { margin-block-end: var(--sec); }
.bthmuhd4 h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; overflow-wrap: anywhere; }
.bthezqkv { font-size: 13px; color: var(--brand); font-variant-numeric: tabular-nums; margin-block-end: 8px; }
.bthf2fn5 { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.bthqwrla { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-block-start: var(--sp); }
.bth4wzuo { margin: 0; display: grid; gap: 1px; background: var(--line); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); overflow: hidden; }
.bth4wzuo div { background: var(--card); padding: 10px 14px; }
.bth4wzuo dt { font: 700 28px/1.1 var(--head); color: var(--brand); }
.bth4wzuo dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.bthcmfl5 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block-start: calc(var(--sp) * 1.5); }
/* 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
   (.hw-slide--wide); the rest keeps her portrait state readable too: the frame's .btn-outline would turn the ghost button dark. */
.bthmuhd4 .hw { margin-block: var(--sp); border: var(--bw) var(--bs) var(--line-2); box-shadow: none; text-align: start; }
.bth2n5nu .hw { margin-block: 0; }
.bthmuhd4 .hw-name { font-family: var(--head); font-weight: 700; }
.bthmuhd4 .hw-text { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .4); }
.bthmuhd4 .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) { .bthmuhd4 .hw { height: clamp(300px, 28vw, 380px); } }
/* every portrait, linked to her page: four in the first screen (two on a phone), then all of them */
.bth6akut { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: min(var(--sp), 12px); margin-block-start: var(--sp); text-align: start; }
.bth6akut .bthbide5 span { padding: 4px 8px; font-size: 14px; }
.bth4muqh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-block-end: 8px; }
.bth4muqh .bthdwsqo { margin: 0; }
.bthog3uo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: min(var(--sp), 14px); }
.bthbide5 { display: flex; flex-direction: column; min-width: 0; overflow: hidden; color: var(--ink); background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); }
.bthbide5:hover { border-color: var(--brand); }
.bthbide5 img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 784; object-fit: cover; object-position: 50% 20%; background: var(--bg-2); }
.bthbide5 span { padding: 6px 10px; font: 700 15px/1.25 var(--head); overflow-wrap: anywhere; }
.bthnumbi { margin-block-end: var(--sp); }
.bthxz2sn h2 { font-size: clamp(25px, 2.8vw, 32px); }
.bthdwsqo { font-size: 12.5px; color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: .04em; margin-block-end: 4px; }
.bth7bvub span { display: inline-block; color: var(--brand); font-size: .7em; margin-inline-end: 12px; font-variant-numeric: tabular-nums; }
.bthkwfb5 { 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); }
.bthkwfb5 h3, .bthejde6 h3 { font-size: 19px; margin-block-end: 6px; }
.bthkwfb5 p, .bthejde6 p { margin-block-end: 8px; }
.bthfqpkx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: calc(var(--sp) * 2); }
.bthfqpkx .bthnumbi { position: sticky; inset-block-start: calc(var(--bar-h) + 16px); align-self: start; }
.bthfqpkx h2 { font-size: 23px; }
.bthuh47y { background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.bthonh65 { display: flex; justify-content: space-between; gap: 12px; padding: 6px var(--sp); font-size: 12px; background: var(--bg-2); border-block-end: 1px solid var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bth5v3c5 { padding: var(--sp); }
.bthuh47y .bth67cez, .bthuh47y .bth2xe4i { background: var(--bg-2); }
.bth35q4b { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: var(--sp); }
.bth67cez { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--card); border: var(--bw) var(--bs) var(--line); border-radius: var(--r); color: var(--ink); min-width: 0; }
.bth67cez[hidden] { display: none; }
.bth67cez:hover { border-color: var(--brand); }
.bthgzd2t { font-size: 12px; color: var(--brand); margin-block-end: 2px; }
.bthev2cc { font: 400 16px/1.34 var(--head); }
.bthnqhmr { display: flex; justify-content: space-between; gap: 8px; margin-block-start: auto; padding-block-start: 8px; font-size: 13px; color: var(--ink-2); }
.bthnqhmr b { color: var(--brand); }
.bthejde6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--sp); }
.bthejde6 ul { list-style: none; margin: 0; padding: 0; }
.bthejde6 li a { min-height: 30px; display: inline-flex; align-items: center; text-decoration: underline; }
.bthprxek { width: 100%; border-collapse: collapse; }
.bthprxek td { padding: 8px 10px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.bthprxek tr:first-child td { font-weight: 700; color: var(--ink); border-block-end: var(--bw) var(--bs) var(--line-2); }
.bthprxek td:first-child { color: var(--ink-2); }
.bthpyp5s details { border-block-end: 1px solid var(--line); padding-block: 10px; }
.bthpyp5s summary { cursor: pointer; font: 700 18px var(--head); min-height: 28px; }
.bthpyp5s p { margin-block-start: 6px; max-width: 72ch; }
.bthh4a25 { padding: calc(var(--sp) * 1.5); background: var(--bg-2); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-lg); }
.bthh4a25 h2 { font-size: clamp(25px, 3vw, 34px); margin-block-end: 8px; }
.bthh4a25 p:not(.bthdwsqo) { margin-block-end: var(--sp); max-width: 62ch; }
.bth4v47u h2 { font-size: 20px; margin-block-end: 6px; }
.bth4v47u ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.bth4v47u li { break-inside: avoid; }
.bth4v47u a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: underline; }

/* lists */
.bthl7njh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-block-end: var(--sp); }
.bthl7njh > div { flex: 1 1 320px; min-width: 0; }
.bthl7njh p { color: var(--ink-2); max-width: 66ch; }
.search.bth5qmiv { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); min-width: 240px; }
.bthyab44 { display: grid; gap: 6px; padding-block-end: 8px; margin-block-end: var(--sp); border-block-end: 1px solid var(--line); }
.bthyab44 .frow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bthyab44 .frow-label { flex: none; width: 76px; font-size: 13px; color: var(--ink-2); }
.bthyab44 .chips-scroll, .bthyoce7 .chips-scroll { min-width: 0; }
.bthvjnne summary { cursor: pointer; font-size: 13.5px; color: var(--brand); min-height: 30px; display: list-item; }
.bthvjnne .frow { margin-block-start: 6px; }
.bthhnoyq a { font-size: 13.5px; text-decoration: underline; color: var(--brand); }
.bthewijs { text-align: center; padding: 30px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.bthewijs p { margin-block: 8px 14px; color: var(--ink-2); }
.bthm2me3 { margin-block-start: var(--sec); padding-block-start: var(--sec); border-block-start: var(--bw) var(--bs) var(--line-2); scroll-margin-block-start: var(--bar-h); }
.bthyoce7 { display: grid; gap: 6px; margin-block-end: var(--sp); }

/* her page */
.bthgqflf { display: inline-flex; align-items: center; min-height: 34px; font-size: 14px; text-decoration: underline; color: var(--brand); }
.bth6y7mo { display: grid; grid-template-columns: minmax(min(50vw, 74%), 3fr) minmax(0, 2fr); gap: calc(var(--sp) * 1.5); margin-block: 8px var(--sec); }
@media (max-width: 1100px) { .bth6y7mo { grid-template-columns: minmax(0, 1fr); } }
.bth6y7mo img { display: block; width: 100%; height: auto; aspect-ratio: 828 / 1014; object-fit: cover; border-radius: var(--r); border: var(--bw) var(--bs) var(--line-2); }
.bth6y7mo h1 { font-size: clamp(24px, 2.6vw, 33px); overflow-wrap: anywhere; }
.bth6y7mo h1 small { display: block; font-size: .5em; font-weight: 400; color: var(--ink-2); margin-block-start: 4px; }
.bth4iii2 { font-size: 13.5px; color: var(--ink-2); margin-block: 8px; }
.bth6oxpz { font: 400 20px/1.32 var(--head); margin-block-end: 8px; }
.bthkw44s { display: flex; flex-wrap: wrap; gap: 10px; margin-block: var(--sp) 10px; }
.bthnno6a { font-size: 12.5px; color: var(--ink-3); }
.bth7eryc h2, .bthhg5qt h2, .bthvpabr h2 { font-size: 22px; margin-block-end: 10px; }
.bthhg5qt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--sp) * 2); margin-block-start: var(--sec); }
.bthhg5qt section > h2 ~ h2 { margin-block-start: var(--sp); }
.bthhg5qt ul { margin: 0; padding-inline-start: 18px; }
.bthhg5qt li, .bthhg5qt p { margin-block-end: 6px; }
.bthhg5qt .kv { grid-template-columns: 92px minmax(0, 1fr); font-size: 14px; }
.bthhg5qt .kv dd { overflow-wrap: anywhere; font-weight: 400; }
.bthvpabr { margin-block-start: var(--sec); padding-block-start: var(--sp); border-block-start: var(--bw) var(--bs) var(--line-2); }
.bthvpabr ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.bthvpabr li { break-inside: avoid; margin-block-end: 8px; font-size: 14px; }
.bthvpabr b { display: block; font-family: var(--head); }

/* static pages */
.bth3omto { max-width: 760px; margin-inline: auto; }
.bthu55ti { font: 400 20px/1.36 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); }
.bth3omto h2 { font-size: 24px; margin-block: calc(var(--sp) * 1.5) 8px; }
.bth3omto p, .bth3omto li { margin-block-end: 8px; }
.bth3omto ul { padding-inline-start: 20px; margin: 0; }
.bth3omto a { text-decoration: underline; color: var(--brand); }
.bthbuvfk { font-size: 13px; color: var(--brand); font-variant-numeric: tabular-nums; }
.bth5bxde { padding-block-end: var(--sp); border-block-end: 1px solid var(--line); }

/* chat: the engine's page, under the frame */
.chat-page .bthjbham { display: none; }
.chat-page .main { height: calc(100dvh - var(--bar-h)); max-width: none; padding: 0; display: flex; flex-direction: column; min-height: 0; }
.chat-page .bthrcdae { width: 270px; }
.chat-page .bthjyizk, .chat-page .bthrey5w { display: none; }
.chat-page .chat-shell { flex: 1; min-height: 0; height: auto; border: 0; border-radius: 0; background: var(--card); grid-template-columns: 280px minmax(0, 1fr); }
.chat-list { border-inline-end: 1px solid 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: 0; border-block-end: 1px solid var(--line); }
.conv.active { background: var(--card); color: var(--ink); box-shadow: inset 3px 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: 1px solid 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(--brand); }
.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-inline-start: 3px solid var(--brand); font-family: var(--head); }
.msg.me .bubble { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); }
.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(--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 */
.bthtrivx { font-size: 17px; margin-block-end: 8px; }
.bthlcgql { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.bthlcgql a, .bthn5nqo a, .bthp7ada .check a { text-decoration: underline; color: var(--brand); }
.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(--brand); color: var(--on-brand); }
.bthp7ada { background: var(--bg); }
.bthpkhkj { background: var(--bg-2); color: var(--ink); padding: 42px; display: flex; flex-direction: column; justify-content: center; gap: 22px; border-inline-end: var(--bw) var(--bs) var(--line-2); }
.bthl6opc { font: 700 22px var(--head); }
.bthpkhkj blockquote { margin: 0; padding: 18px; background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); }
.bthpkhkj blockquote span { display: block; font: 400 18px/1.36 var(--head); margin-block-end: 6px; }
.bthpkhkj cite { font-style: normal; font-size: 13px; color: var(--ink-2); }
.bthorcop { font-size: 13.5px; color: var(--ink-2); }
.bthp7ada .bthipbo5 { margin-block-end: 16px; }
.bthp7ada h1 { font-size: 30px; }
.bthp7ada .muted { margin-block: 6px 18px; }
.bthn5nqo { text-align: center; font-size: 14px; margin-block-start: 16px; color: var(--ink-2); }
.alert { border-radius: var(--r-sm); }

/* the gate */
.modal-back.bthok6lb { background: color-mix(in srgb, var(--bg) 82%, #000); backdrop-filter: none; -webkit-backdrop-filter: none; }
.bthieaa3 { position: relative; width: min(460px, 100%); background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r); padding: 56px 26px 18px; box-shadow: var(--sh-3); text-align: center; overflow: hidden; }
.bthlpnof { position: absolute; inset-block-start: 0; inset-inline: 0; height: 34px; background: repeating-linear-gradient(115deg, var(--ink) 0 26px, var(--bg) 26px 52px); transform-origin: 0 100%; transform: rotate(-3.5deg) translateY(-3px); transition: transform .14s ease-in; }
[dir="rtl"] .bthlpnof { transform-origin: 100% 100%; transform: rotate(3.5deg) translateY(-3px); }
.bthieaa3:has(.bthxzclh:hover) .bthlpnof, .bthieaa3:has(.bthxzclh:active) .bthlpnof { transform: none; }
.bth57o6k { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bthieaa3 h2 { font-size: 38px; margin-block: 6px 10px; }
.bthxzclh { margin-block: 16px 12px; }
.bthf3kqb { font-size: 12.5px; color: var(--ink-2); }
.bthf3kqb 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 panel becomes a head, its cut a block under it, tabs at the foot */
@media (max-width: 900px) {
  .btheyqot { flex-direction: column; align-items: stretch; }
  .bthbdtyc, .bthhfhon, .bthaixnt, .bthjyizk { display: none; }
  .bthrcdae { order: -1; position: static; width: 100%; height: auto; overflow: visible; border-inline: 0; border-block-end: var(--bw) var(--bs) var(--line-2); padding: 12px 16px; }
  .chat-page .bthrcdae { width: 100%; }
  .bthrt5oy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
  .bthrey5w { display: none; }
  .bthrbsd3 { margin: 0; }
  .bth7smq3 p { font-size: 16px; }
  .bthwjzya { display: none; }
  .bth4p55g { flex: 1 0 auto; min-height: 0; }
  .main, .has-rail .main { padding: var(--sp) 16px calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); }
  .bthjbham { padding: 16px 16px calc(var(--tab-h) + 18px + env(safe-area-inset-bottom)); }
  .bthcmfl5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bthog3uo, .bth6akut { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bth6akut .bthbide5:nth-child(n+3) { display: none; }
  .grid, .grid-sm { grid-template-columns: minmax(0, 1fr) !important; }
  .bthfqpkx { display: block; }
  .bthfqpkx .bthnumbi { position: static; }
  .bth4v47u ul, .bthvpabr ul { columns: 1; }
  .bth4v47u a { min-height: 44px; }
  .bth6y7mo { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .bthhg5qt { grid-template-columns: minmax(0, 1fr); }
  .bthkw44s .btn { flex: 1 1 100%; }
  .search.bth5qmiv { min-width: 0; width: 100%; }
  .bthyab44 .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .bthyab44 .frow-label { width: 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: 50; height: 100dvh; }
  .bthpkhkj { display: none; }
  .bthieaa3 { padding-inline: 18px; }
}

/* mood: a dim room, warm lamp from above, skin-toned veils on every photo, captions laid over the picture (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); }
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; }
.bthrcdae { background: radial-gradient(130% 340px at 50% 0, var(--lamp), transparent 78%), linear-gradient(180deg, color-mix(in srgb, var(--brand) 7%, var(--bg-2)), var(--bg-2)); box-shadow: 0 0 80px -24px var(--glow); }
.btn-primary, .btn-primary:hover { box-shadow: 0 10px 28px -10px var(--glow); }
.bthbide5 { position: relative; display: block; isolation: isolate; box-shadow: 0 22px 44px -26px #000; }
.bthbide5::after { content: ""; position: absolute; inset: 40% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, color-mix(in srgb, var(--veil) 94%, transparent) 4%, transparent); }
.bthbide5 span { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 2; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); padding: 10px 12px; }
.bthbide5 img, .bth2xe4i img, .bthmuhd4 .hw img { filter: saturate(1.06) contrast(1.03); transition: transform .6s ease; }
.bthbide5:hover img { transform: scale(1.04); }
.btha7isu { background: linear-gradient(0deg, color-mix(in srgb, var(--veil) 92%, transparent) 14%, transparent); color: #fff; }
.bth2xe4i, .bthmuhd4 .hw { box-shadow: 0 26px 56px -30px #000; }
.bthwjzya, .bth67cez, .bth5v3c5 { box-shadow: 0 16px 36px -26px #000; }
.bthh4a25 { background: linear-gradient(155deg, var(--veil), color-mix(in srgb, var(--brand) 34%, var(--veil))); color: #fff; border-color: transparent; box-shadow: 0 30px 70px -36px var(--glow); }
.bthh4a25 .bthdwsqo, .bthh4a25 h2, .bthh4a25 p { color: #fff; }
.bthieaa3 { box-shadow: 0 0 90px -10px var(--glow); background-image: radial-gradient(120% 300px at 50% 0, var(--lamp), transparent 80%); }
.msg.me .bubble { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 62%, var(--veil))); box-shadow: 0 8px 22px -12px var(--glow); }
.msg.her .bubble { background: color-mix(in srgb, var(--brand) 8%, var(--card-2)); }
.bth46glw { opacity: .38; filter: sepia(.7) saturate(.8); }
.bth7smq3 p { text-shadow: 0 0 18px var(--lamp); }

/* Photo rule (FRAME-BRIEF.md): the wall of portraits too: 220 px or more on a desktop, two to a row on a phone. */
.bthog3uo { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .bthog3uo { 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; }
.bthevcwi h1 { max-width: 20ch; }
.bthkovee { display: flex; gap: 10px; overflow-x: auto; margin-block: var(--sp); padding-block: 12px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 22px) 0 0/100% 6px no-repeat, repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 22px) 0 100%/100% 6px no-repeat; }
.bthdbhb4 { flex: 0 0 min(250px, 74vw); display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--card); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-sm); }
.bthdbhb4 b { font-size: 12px; color: var(--brand); }
.bthdbhb4 span { font: 400 16px/1.3 var(--head); }
.grid { grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: var(--sp); }
.row-scroll { grid-auto-columns: minmax(200px, 240px); }
.bthoij3h { display: flex; flex-direction: column; background: var(--card); color: var(--ink); border: var(--bw) var(--bs) var(--line-2); border-radius: var(--r-lg); overflow: hidden; min-width: 0; }
.bthoij3h img { width: 100%; height: auto; aspect-ratio: 1; }
.btha7isu { display: flex; flex-direction: column; gap: 3px; padding: 12px; flex: 1; }
.bths6a3l { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.bths6a3l b { margin-inline-start: auto; color: var(--brand); font-family: var(--head); font-size: 16px; }
.bthtpcee { font: 700 20px/1.15 var(--head); }
.bthdmd6y { font-size: 12.5px; color: var(--ink-2); }
.bthkkqju { font-size: 14px; line-height: 1.32; }
/* 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. */
.bthoij3h img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.grid, .grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(226px, 100%), 1fr)) !important; }
.row-scroll { grid-auto-columns: minmax(226px, 266px) !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; }
  .bthkkqju { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; }
}
.bthywoox { margin: 0; padding-inline-start: 26px; }
.bthywoox li { margin-block-end: var(--sp); }
.bthywoox li::marker { color: var(--brand); font-family: var(--head); font-weight: 700; }
.bthywoox h3 { font-size: 19px; margin-block-end: 4px; }
