:root {
  --bg: #09314e;
  --bg-2: #173d58;
  --card: #1e435d;
  --card-2: #2a4d66;
  --ink: #f5f8fa;
  --ink-2: #c6d0d8;
  --ink-3: #a0b0bc;
  --line: #3d5d74;
  --line-2: #7f94a4;
  --brand: #fbb1b8;
  --brand-2: #fbf0d0;
  --violet: #fbf0d0;
  --blue: #fbf0d0;
  --glass: #103753;
  --on-brand: #000000;
  --grad: linear-gradient(#fbb1b8, #fbb1b8);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #fbf0d0;
  --gold: #fbf0d0;
  --danger: #fbf0d0;
  --ok-bg: transparent;
  --ok-ink: #fbb1b8;
  --err-bg: transparent;
  --err-ink: #fbf0d0;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "Cairo (replaces Cabin for Arabic)", system-ui, sans-serif;
  --head: "Lalezar (replaces Teko for Arabic)", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: dark;
  --tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --tex-size: 160px;
  --sp: 12px;
  --sec: 34px;
  --lh: 1.45;
  --gut: 22px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --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 */
.ptn3hbp6 { display: flex; align-items: flex-start; min-height: 100dvh; }
.ptnhh42n { 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; }
.ptnnp4cw { 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); }
.ptnnp4cw a { color: inherit; text-decoration: none; }
.ptnnp4cw b { font-weight: 700; }
.ptnmnimv { display: none; }
.ptnatmqe { 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; }
.ptnyjqqe { font: 700 20px/1.1 var(--head); color: var(--ink); }
.ptnatmqe p { max-width: 80ch; }
.ptnatmqe a { text-decoration: underline; }
.ptnatmqe nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-block-start: 6px; }
.ptnatmqe nav a { min-height: 30px; display: inline-flex; align-items: center; }
.tabbar.ptn6gwsv { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-block-start: var(--bw) var(--bs) var(--line-2); }
.ptn6gwsv .tab { font-size: 11px; color: var(--ink-2); gap: 2px; line-height: 1.15; text-align: center; }
.ptn6gwsv .tab.active { color: var(--ink); box-shadow: inset 0 3px 0 var(--brand); }

/* the account block, in the rail and in the phone drawer */
.ptndexn2 { display: flex; flex-direction: column; }
.ptnjlzge { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.ptnjlzge 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); }
.ptnthzch { 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; }
.ptnpgbnz { font-size: clamp(30px, 4vw, 48px); margin-block-end: 8px; }
.ptnn6gzw { font-size: 25px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ptntjcxx { font-size: 17px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }
.ptnfhyzx { font-size: 12.5px; color: var(--ink-2); font-weight: 700; margin-block-end: 6px; }
.ptnfhyzx::before { content: ""; display: inline-block; inline-size: 18px; block-size: 3px; background: var(--brand); margin-inline-end: 8px; vertical-align: middle; }

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

/* a portrait tile: her photo, her name on a scrim */
.ptn7voue { position: relative; display: block; min-width: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); color: #fff; }
.ptn7voue img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .5s ease; }
.ptn7voue:hover img, .ptn7voue:focus-visible img { transform: scale(1.05); }
.ptnhumax { 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; }
.ptnhumax b { font: 700 clamp(15px, 1.4vw, 18px)/1.2 var(--head); overflow-wrap: anywhere; }
.ptnhumax span { font-size: 12px; opacity: .92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptn7voue .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); }
.ptn7voue .on-dot { position: absolute; inset-block-start: 11px; inset-inline-end: 10px; }
.ptnpsben { 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); }
.ptnpsben .ic { align-self: flex-end; inline-size: 34px; block-size: 34px; }
.ptnpsben .ic { transform: scaleX(-1); }
[dir="rtl"] .ptnpsben .ic { transform: none; }

/* every portrait, linked to her page */
.ptnolyn6 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-block-end: 8px; }
.ptnolyn6 .ptnfhyzx { margin: 0; }
.ptnbsz7p { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: min(var(--sp), 10px); }
.ptn24j6q { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--ink); }
.ptn24j6q 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); }
.ptn24j6q:hover img { border-color: var(--brand); }
.ptn24j6q span { font: 700 13.5px/1.25 var(--head); overflow-wrap: anywhere; }

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

/* the written openers: margin notes */
.ptngcci4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: var(--sp); }
.ptnsluc5 { 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; }
.ptnsluc5::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; }
.ptnsluc5[hidden] { display: none; }
.ptnsluc5:hover { border-color: var(--ink); }
.ptn6ccby span { display: block; font: 400 17px/1.36 var(--head); margin-block-end: 5px; }
.ptnikdhx { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 12.5px; color: var(--ink-2); }
.ptnikdhx b { color: var(--ink); }
.ptn3eyis { 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 */
.ptnvcnbe { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 28px; margin-block-end: var(--sp); }
.ptnvcnbe > div { flex: 1 1 340px; min-width: 0; }
.ptnvcnbe p { color: var(--ink-2); max-width: 66ch; }
.search.ptniocy7 { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-sm); min-width: 260px; }
.ptnpd4p7 { 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); }
.ptnpd4p7 .frow { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ptnpd4p7 .frow-label { flex: none; width: 80px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ptnpd4p7 .chips-scroll, .ptngqg5j .chips-scroll { min-width: 0; }
.ptnczmx3 summary { cursor: pointer; font-size: 13.5px; font-weight: 700; min-height: 30px; display: list-item; }
.ptnczmx3 .frow { margin-block-start: 8px; }
.ptnemmpe a { font-size: 13.5px; text-decoration: underline; }
.ptnqyhgs { text-align: center; padding: 30px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.ptnqyhgs p { margin-block: 8px 14px; color: var(--ink-2); }
.ptn2gekc { margin-block-start: var(--sec); padding-block-start: var(--sec); border-block-start: 4px solid var(--ink); scroll-margin-block-start: 16px; }
.ptngqg5j { display: grid; gap: 6px; margin-block-end: var(--sp); }

/* her page: a header, then a spec sheet whose headings sit in the margin */
.ptngkt37 { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; text-decoration: underline; }
.ptnllspr { 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; }
.ptnhb7vb { position: relative; margin: 0; }
.ptnhb7vb 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); }
.ptnhb7vb .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); }
.ptn3ncc3 h1 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; }
.ptn3ncc3 h1 small { display: block; font: 400 .4em/1.3 var(--font); color: var(--ink-2); margin-block-start: 8px; }
.ptnciq3d { font-size: 13.5px; color: var(--ink-2); margin-block: 12px 6px; }
.ptnjhg3y { font: 400 22px/1.3 var(--head); margin-block-end: 10px; padding-inline-start: 14px; border-inline-start: 4px solid var(--brand); }
.ptn5clli { display: flex; flex-wrap: wrap; gap: 10px; margin-block: var(--sp) 10px; }
.ptnuvqib { font-size: 12.5px; color: var(--ink-3); }
.ptnm4uiq { 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); }
.ptnm4uiq > h2 { font-size: 20px; }
.ptnm4uiq h3 { font-size: 16px; margin-block: var(--sp) 6px; }
.ptnm4uiq ul { margin: 0; padding-inline-start: 18px; }
.ptnm4uiq li, .ptnm4uiq p { margin-block-end: 6px; }
.ptnm4uiq .kv { grid-template-columns: minmax(80px, 140px) minmax(0, 1fr); font-size: 14.5px; }
.ptnm4uiq .kv dd { overflow-wrap: anywhere; font-weight: 400; }
.ptnzwo2t, .pgrid { margin-block-end: var(--sp); }
.ptnqnvka ul { list-style: none; padding: 0; columns: 3; column-gap: var(--sp); }
.ptnqnvka li { break-inside: avoid; margin-block-end: 8px; font-size: 14px; }
.ptnqnvka b { display: block; font-family: var(--head); }

/* static pages */
.ptnzxtfz { max-width: 960px; margin-inline: auto; }
.ptnuxcvy { margin-block-end: var(--sp); }
.ptnefggf { font: 400 21px/1.36 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); max-width: 62ch; }
.ptn3lfy7 { 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); }
.ptn3lfy7 h2 { font-size: 21px; }
.ptn3lfy7 p, .ptn3lfy7 li { margin-block-end: 8px; max-width: 70ch; }
.ptn3lfy7 ul { padding-inline-start: 20px; margin: 0; }
.ptn3lfy7 a { text-decoration: underline; }
.ptni2yrz { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ptni2yrz::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 .ptnatmqe { 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 */
.ptny2gtx { font-size: 17px; margin-block-end: 8px; padding-inline-start: 12px; border-inline-start: 4px solid var(--brand); }
.ptnk7avz { margin-block-start: var(--sec); }
.ptna5wwv { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.ptna5wwv a, .ptnykfoe a, .ptnrls4z .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); }
.ptnrls4z { background: var(--bg); grid-template-columns: minmax(0, 1fr) minmax(280px, 34%); }
.ptng7z5e { background: var(--brand); color: var(--on-brand); padding: 44px 36px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.ptnbgkeq { font: 700 22px var(--head); }
.ptng7z5e blockquote { margin: 0; padding-inline-start: 16px; border-inline-start: 4px solid var(--on-brand); }
.ptng7z5e blockquote span { display: block; font: 400 20px/1.36 var(--head); margin-block-end: 8px; }
.ptng7z5e cite { font-style: normal; font-size: 13.5px; font-weight: 700; }
.ptncht7w { font-size: 13.5px; }
.ptnwbqsa { display: inline-flex; align-items: center; gap: 8px; font: 700 22px/1.1 var(--head); margin-block-end: 18px; }
.ptnrls4z h1 { font-size: 32px; }
.ptnrls4z .muted { margin-block: 6px 18px; }
.ptnykfoe { 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.ptnhzitc { background: rgba(0, 0, 0, .66); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; place-items: stretch end; }
.ptnkaauo { 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; }
.ptnlex3z { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ptnkaauo h2 { font-size: 44px; line-height: 1; }
.ptnkaauo p { text-align: start; margin: 0; color: var(--ink); }
.ptnrr576 { margin-block: 12px 4px; }
.ptn4tzat { font-size: 12.5px; color: var(--ink-2) !important; }
.ptn4tzat 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) {
  .ptn3hbp6 { flex-direction: column; align-items: stretch; }
  .ptnnp4cw { display: none; }
  .ptnhh42n { flex: 1 0 auto; min-height: 0; overflow-x: clip; }
  .ptnmnimv { 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); }
  .ptn44dht { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: auto; font: 700 19px/1.1 var(--head); min-width: 0; }
  .ptn44dht span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ptnoioxr { position: relative; display: grid; place-items: center; inline-size: 44px; block-size: 44px; }
  .ptnoioxr 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); }
  .ptndsvtf { 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; }
  .ptnrs4le summary { list-style: none; display: grid; place-items: center; inline-size: 48px; block-size: 48px; cursor: pointer; }
  .ptnrs4le summary::-webkit-details-marker { display: none; }
  .ptnkyglh { position: relative; z-index: 71; display: block; inline-size: 22px; block-size: 2px; background: currentColor; transition: background .15s; }
  .ptnkyglh::before, .ptnkyglh::after { content: ""; position: absolute; inset-inline-start: 0; inline-size: 100%; block-size: 2px; background: currentColor; transition: transform .2s, inset-block-start .2s; }
  .ptnkyglh::before { inset-block-start: -7px; }
  .ptnkyglh::after { inset-block-start: 7px; }
  .ptnrs4le[open] .ptnkyglh { background: transparent; }
  .ptnrs4le[open] .ptnkyglh::before { inset-block-start: 0; transform: rotate(45deg); }
  .ptnrs4le[open] .ptnkyglh::after { inset-block-start: 0; transform: rotate(-45deg); }
  .ptnrs4le[open] summary::after { content: ""; position: fixed; inset: 0; z-index: 68; background: rgba(0, 0, 0, .6); }
  .ptn7etr6 { display: none; }
  .ptnrs4le[open] .ptn7etr6 { 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); }
  .ptn7l7gq { display: flex; flex-direction: column; }
  .ptn7l7gq 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); }
  .ptn7l7gq a.ptnlojx7 { box-shadow: inset 4px 0 0 var(--brand); padding-inline-start: 12px; }
  [dir="rtl"] .ptn7l7gq a.ptnlojx7 { box-shadow: inset -4px 0 0 var(--brand); }
  .ptn7l7gq b { margin-inline-start: auto; font-size: 12px; min-width: 20px; text-align: center; border-radius: 99px; background: var(--brand); color: var(--on-brand); }
  .ptnrs4le .ptndexn2 .ptnjlzge { border-block-end: var(--bw) var(--bs) var(--line); font-size: 15px; }
  .ptnrs4le .ptndexn2 .ptnig5no { background: var(--brand); color: var(--on-brand); justify-content: center; font-weight: 700; border-radius: var(--r-sm); border: 0; margin-block-start: 8px; }
  .ptnnlk6h { font-size: 12.5px; color: var(--ink-2); }
  .ptnxh2kk { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; }
  .ptnxh2kk 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)); }
  .ptnatmqe { padding: 18px 16px calc(var(--tab-h) + 22px + env(safe-area-inset-bottom)); }
  .ptn2kdji { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ptnbsz7p { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ptn24j6q span { font-size: 12.5px; }
  .ptnqlwa5 ul, .ptnqnvka ul { columns: 1; }
  .ptnqlwa5 a { min-height: 44px; }
  .ptnllspr { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ptn5clli .btn { flex: 1 1 100%; }
  .ptnm4uiq, .ptn3lfy7 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .search.ptniocy7 { min-width: 0; inline-size: 100%; }
  .ptnpd4p7 .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .ptnpd4p7 .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; }
  .ptnrls4z { grid-template-columns: minmax(0, 1fr); }
  .ptng7z5e { display: none; }
  .modal-back.ptnhzitc { place-items: end stretch; }
  .ptnkaauo { 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; }
  .ptnkaauo h2 { font-size: 34px; }
}
@media (max-width: 600px) { .ptnsluc5 { 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; }
.ptnhqylt h1 { font-weight: 600; }
.btn-primary, .btn-primary:hover { box-shadow: 0 10px 30px -8px var(--glow); }
.btn { border-radius: var(--r-lg); }
.ptnhumax, .ptnublww { background: linear-gradient(to top, color-mix(in srgb, var(--veil) 92%, transparent) 15%, transparent); }
.ptn7voue img, .ptnnpivi img, .ptnc22fg img, .ptn24j6q img, .ptnhb7vb img { filter: saturate(1.06) contrast(1.03); }
.ptn47zxl .ptn7voue, .ptnveucr .ptn7voue, .ptnl32qi .ptn7voue, .ptnl32qi .ptnpsben { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.ptnnpivi, .ptnhb7vb img { box-shadow: 0 22px 46px -24px #000; }
.ptnnpivi { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.ptnc22fg, .ptnhb7vb img { border-start-start-radius: var(--arch); border-start-end-radius: var(--arch); }
.ptn24j6q img { border-start-start-radius: min(var(--r-xl), 30%); border-start-end-radius: min(var(--r-xl), 30%); }
.ptnhqylt .hw { box-shadow: 0 30px 70px -34px #000; }
.ptnsluc5, .ptnv27pg article, .ptn7efmc article, .ptnlzxza li, .ptnurmpe li { box-shadow: 0 16px 36px -26px #000; }
.ptnnp4cw { box-shadow: 0 0 70px -10px var(--glow); }
.ptnnxom6 { 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); }
.ptnnxom6 .ptnfhyzx { color: #fff; }
.ptnnxom6 .btn-primary { box-shadow: 0 10px 30px -8px var(--glow); }
.ptnkaauo { 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%); }
.ptnpd4p7 { 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. */
.ptnbsz7p { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .ptnbsz7p { 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; }
/* H1, then four large portraits flush edge to edge, then the line and the buttons, then the banner */
.ptn6me4r .ptnv74gi { margin-block-end: var(--sp); }
.ptn6me4r h1 { max-inline-size: 20em; }
.ptn6me4r .ptn3gtsb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-inline: calc(var(--gut) * -1); }
.ptn6me4r .ptnwcd67 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 32px; padding-block-start: var(--sp); }
.ptn6me4r .ptnwq5cw { margin-block-start: 0; }
@media (max-width: 900px) {
  .ptn6me4r .ptn3gtsb { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: -16px; }
  .ptn6me4r .ptn7voue:nth-child(n+3) { display: none; }
  .ptnhqylt h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .ptnikdcu { margin-block-end: 6px; }
  .ptnv74gi { margin-block-end: 12px; }
}
/* a full portrait, name and line on a scrim */
.grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--sp); }
.ptnnpivi { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--bg-2); color: #fff; border: var(--bw) var(--bs) var(--line-2); }
.ptnnpivi img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .5s; }
.ptnnpivi:hover img { transform: scale(1.05); }
.ptnsk4rp { position: absolute; inset-block-start: 10px; inset-inline: 10px; display: flex; justify-content: space-between; align-items: center; }
.ptnsk4rp .badge-ai { background: rgba(0, 0, 0, .6); color: #fff; border-color: rgba(255, 255, 255, .75); }
.ptnublww { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 60px 14px 14px; display: flex; flex-direction: column; gap: 2px; background: linear-gradient(to top, rgba(0, 0, 0, .86) 25%, rgba(0, 0, 0, 0)); }
.ptnureun { font: 700 22px/1.15 var(--head); overflow-wrap: anywhere; }
.ptnr6gk5 { font-size: 13px; opacity: .92; }
.ptnoisr7 { font-size: 13.5px; opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-block-start: 3px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .ptnoisr7 { display: none; } .ptnureun { font-size: 18px; } .ptnublww { padding: 44px 10px 10px; } }
/* 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. */
.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; }
}
/* each step sits a little further along than the one before */
.ptnlzxza { list-style: none; margin: var(--sp) 0 0; padding: 0; display: grid; gap: 12px; counter-reset: st; }
.ptnlzxza li { counter-increment: st; position: relative; padding: var(--sp); padding-inline-start: calc(var(--sp) * 4); background: var(--card); border: var(--bw) var(--bs) var(--line); border-radius: var(--r); }
.ptnlzxza li::before { content: counter(st); position: absolute; inset-block-start: 10px; inset-inline-start: calc(var(--sp) * .9); font: 700 38px/1 var(--head); color: var(--brand); }
.ptnlzxza li:nth-child(2) { margin-inline-start: 3%; }
.ptnlzxza li:nth-child(3) { margin-inline-start: 6%; }
.ptnlzxza li:nth-child(4) { margin-inline-start: 9%; }
.ptnlzxza li:nth-child(5) { margin-inline-start: 12%; }
.ptnlzxza li:nth-child(n+6) { margin-inline-start: 15%; }
.ptnlzxza h3 { font-size: 19px; margin-block-end: 4px; }
@media (max-width: 900px) { .ptnlzxza li:nth-child(n) { margin-inline-start: 0; } }
/* a ruled two-column list: the question in the margin column */
.ptn7uqfr { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 calc(var(--sp) * 2); }
.ptn7uqfr dt, .ptn7uqfr dd { padding-block: 14px; border-block-start: 1px solid var(--line-2); margin: 0; }
.ptn7uqfr dt { font: 700 18px/1.3 var(--head); }
@media (max-width: 900px) { .ptn7uqfr { grid-template-columns: minmax(0, 1fr); } .ptn7uqfr dd { border-block-start: 0; padding-block-start: 0; } }
/* a heavy rule over each section, the heading above its body */
.ptnzbepz { margin-block-end: var(--sec); padding-block-start: var(--sp); border-block-start: 3px solid var(--ink); }
.ptn6grbk { display: flex; align-items: center; gap: 12px; font: 700 14px/1 var(--font); color: var(--ink-2); margin-block-end: 10px; font-variant-numeric: tabular-nums; }
.ptn6grbk i { flex: 1; block-size: 3px; background: linear-gradient(90deg, var(--brand) 0 40px, var(--line-2) 40px); }
[dir="rtl"] .ptn6grbk i { background: linear-gradient(270deg, var(--brand) 0 40px, var(--line-2) 40px); }
/* an icon rail: brand-coloured, the vertical name, icons over small labels; the open page takes the page colour */
.ptnnp4cw { inline-size: 92px; background: var(--brand); color: var(--on-brand); padding-block: 12px 10px; gap: 8px; align-items: stretch; }
.ptn5wkhl { display: grid; place-items: center; block-size: 52px; }
.ptnwxbwo { writing-mode: vertical-rl; align-self: center; font: 700 21px/1.1 var(--head); padding-block: 8px; max-block-size: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .01em; }
.ptnfpg6u { display: flex; flex-direction: column; margin-block: auto; gap: 2px; }
.ptnfpg6u a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 6px; font-size: 11px; line-height: 1.2; text-align: center; overflow-wrap: anywhere; hyphens: auto; margin-inline: var(--ms) var(--me); border-start-start-radius: var(--cs); border-end-start-radius: var(--cs); border-start-end-radius: var(--ce); border-end-end-radius: var(--ce); }
.ptnfpg6u a:hover { background: color-mix(in srgb, var(--on-brand) 16%, transparent); }
.ptnfpg6u a.ptnlojx7 { background: var(--bg); color: var(--ink); }
.ptnfpg6u b { position: absolute; inset-block-start: 5px; inset-inline-end: 14px; font-size: 10px; min-width: 16px; padding: 0 4px; text-align: center; border-radius: 99px; background: var(--ink); color: var(--bg); }
.ptndexn2 { gap: 2px; }
.ptnjlzge { flex-direction: column; justify-content: center; gap: 3px; padding: 8px 6px; font-size: 10.5px; line-height: 1.2; text-align: center; overflow-wrap: anywhere; min-height: 52px; }
.ptnjlzge:hover { background: color-mix(in srgb, var(--on-brand) 16%, transparent); }
.ptnjlzge b { position: absolute; inset-block-start: 3px; inset-inline-end: 14px; font-size: 10px; }
.ptnig5no { background: var(--ink); color: var(--bg); margin-inline: 8px; border-radius: var(--r-sm); }
.ptnig5no:hover { background: var(--ink); filter: brightness(1.15); }
.ptnrtvbq { font-weight: 700; }
/* 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; }
