:root {
  --bg: #0e170d;
  --bg-2: #1b241a;
  --card: #222b20;
  --card-2: #2d362b;
  --ink: #e8f3e5;
  --ink-2: #bcc7ba;
  --ink-3: #9aa497;
  --line: #3e473d;
  --line-2: #7b8579;
  --brand: #4fbf3f;
  --brand-2: #e6a73a;
  --violet: #e6a73a;
  --blue: #e6a73a;
  --glass: #151e13;
  --on-brand: #000000;
  --grad: linear-gradient(#4fbf3f, #4fbf3f);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #e6a73a;
  --gold: #e6a73a;
  --danger: #e6a73a;
  --ok-bg: transparent;
  --ok-ink: #4fbf3f;
  --err-bg: transparent;
  --err-ink: #e6a73a;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "Cabin", system-ui, sans-serif;
  --head: "Teko", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: dark;
  --tex: repeating-linear-gradient(104deg, color-mix(in srgb, var(--ink) 3.5%, transparent) 0 2px, transparent 2px 9px, color-mix(in srgb, var(--brand) 5%, transparent) 9px 11px, transparent 11px 26px);
  --tex-size: auto;
  --sp: 26px;
  --sec: 84px;
  --lh: 1.7;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --arch: 220px;
  --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); background-attachment: scroll; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; letter-spacing: -.01em; }
a { text-underline-offset: 3px; }
:root { --glowc: color-mix(in srgb, var(--brand) 38%, transparent); --veil: color-mix(in srgb, var(--bg) 78%, transparent); --dir: 1; --hd: 0px; }
[dir="rtl"] { --dir: -1; }
.badge-ai { background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); border: 1px solid color-mix(in srgb, var(--brand) 60%, transparent); border-radius: 99px; font-size: 10px; font-weight: 700; padding: 0 6px; backdrop-filter: none; box-shadow: none; line-height: 1.5; }

/* the story tick: the grammar of the frame. A row of short segments, the lit ones are "seen". */
.ldmkj2td { display: inline-flex; gap: 3px; vertical-align: middle; margin-inline-end: 8px; }
.ldmkj2td i { display: block; width: 14px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 28%, transparent); }
.ldmkj2td i.on { background: var(--brand); }
.ldm6fcsg { position: absolute; inset-block-start: 9px; inset-inline: 9px; z-index: 2; display: flex; gap: 3px; pointer-events: none; }
.ldm6fcsg b { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .38); }
.ldm6fcsg b:first-child { background: #fff; }

/* the frame */
.ldme7jnf { min-height: 100dvh; display: flex; flex-direction: column; }
.ldmlhl45 { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.main, .has-rail .main { margin: 0; margin-inline: auto; padding: calc(var(--sp) * 1.6) calc(var(--sp) * 2) var(--sec); min-height: 0; flex: 1; width: 100%; max-width: 1240px; }
.has-rail .rail, .side, .topbar, .rail { display: none; }
.ldm35qpq { display: inline-block; font: 700 clamp(22px, 2vw, 27px)/1.1 var(--head); font-style: italic; color: var(--ink); letter-spacing: -.01em; overflow-wrap: anywhere; }
.ldmgha5i { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; font-size: 13.5px; }
.ldmgha5i a { min-height: 36px; display: inline-flex; align-items: center; color: var(--ink-2); }
.ldmgha5i a:hover { color: var(--ink); }
.ldmgha5i .ldmd2aaz { color: var(--on-brand); background: var(--brand); border-radius: var(--r-lg); padding-inline: 14px; font-weight: 700; box-shadow: 0 6px 22px var(--glowc); }
.ldmq4lu7 { padding: calc(var(--sp) * 1.4) calc(var(--sp) * 2); border-block-start: 1px solid var(--line); font-size: 13px; color: var(--ink-2); text-align: center; }
.ldmq4lu7 a { text-decoration: underline; }
.ldmq4lu7 nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-block-start: 8px; }
.ldmq4lu7 nav a { min-height: 34px; display: inline-flex; align-items: center; }
.tabbar.ldm2aokp { background: var(--veil); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-block-start: 1px solid var(--line); }
.ldm2aokp .tab { font-size: 11.5px; color: var(--ink-2); gap: 2px; }
.ldm2aokp .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-lg); }
.btn-sm { min-height: 34px; padding-block: 4px; }
.btn-lg { min-height: 52px; padding-inline: 26px; }
.btn-primary, .btn-primary:hover { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 28px var(--glowc); }
.btn-primary:hover { filter: brightness(1.08); }
.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: color-mix(in srgb, var(--ink) 5%, transparent); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; border-radius: 99px; color: var(--ink); }
.chip.on { background: var(--brand); color: var(--on-brand); box-shadow: 0 4px 16px var(--glowc); }
.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); }
.ldme5zgu { color: var(--brand); text-decoration: none; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.ldme5zgu::after { content: "\2192"; }
[dir="rtl"] .ldme5zgu::after { content: "\2190"; }
.ldmuyqby { font-size: clamp(32px, 4.6vw, 52px); margin-block-end: 8px; line-height: 1.08; }
.ldmrz4ga { font-size: 26px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ldmby3gs { font-size: 17px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }

/* portrait tiles: tall, name on a scrim */
.ldmek3d5 { position: relative; display: block; min-width: 0; overflow: hidden; color: #fff; background: var(--card); border-radius: var(--r-lg); isolation: isolate; }
.ldmek3d5 img { display: block; width: 100%; height: 100%; aspect-ratio: 640 / 900; object-fit: cover; object-position: 50% 18%; background: var(--bg-2); transition: transform .5s ease; }
.ldmek3d5::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(8, 4, 8, .86) 0%, rgba(8, 4, 8, .35) 30%, rgba(8, 4, 8, 0) 52%); pointer-events: none; }
.ldmek3d5:hover img { transform: scale(1.04); }
.ldmp7sit { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 2; display: flex; align-items: baseline; gap: 8px; padding: 12px 14px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.ldmsxixq { font: 700 clamp(17px, 1.6vw, 21px)/1.15 var(--head); overflow-wrap: anywhere; }
.ldmgpafe { font-size: 13px; opacity: .85; }
.ldmxmqth { position: absolute; z-index: 2; inset-block-start: 20px; inset-inline-start: 12px; font: 700 12px var(--font); letter-spacing: .08em; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); font-variant-numeric: tabular-nums; }

/* hero: shared bits. 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. */
.ldmrgo2h > section, .ldmrgo2h > nav { margin-block-end: var(--sec); }
.ldmma3o3 h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.04; overflow-wrap: anywhere; font-style: italic; }
.ldmrw6pi { display: flex; align-items: center; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-block-end: 10px; font-weight: 700; }
.ldmtjn2l { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.ldmykxog { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-block-start: var(--sp); }
.ldmb74h4 { margin: calc(var(--sp) * 1.4) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp); }
.ldmb74h4 div { padding-inline-start: 14px; border-inline-start: 2px solid var(--brand); }
.ldmb74h4 dt { font: 700 28px/1.1 var(--head); font-style: italic; }
.ldmb74h4 dd { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.ldmma3o3 .hw { margin-block: calc(var(--sp) * 1.2) 0; border-radius: var(--r-xl); border: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); text-align: start; overflow: hidden; }
.ldmma3o3 .hw-name { font-family: var(--head); font-weight: 700; font-style: italic; }
.ldmma3o3 .hw-text { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .4); }
.ldmma3o3 .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) { .ldmma3o3 .hw { height: clamp(300px, 28vw, 400px); } }
.ldmeii4f { display: grid; gap: min(var(--sp), 14px); text-align: start; margin-block-start: calc(var(--sp) * 1.2); }

/* the wall of every portrait */
.ldmnk6pg { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-block-end: 10px; }
.ldmnk6pg .ldmyzyqk { margin: 0; }
.ldmncb2x { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(168px, 44%), 1fr)); gap: min(var(--sp), 12px); }
.ldmegd4l img { aspect-ratio: 640 / 820; }

/* sections */
.ldmxp3vx { position: relative; }
.ldmvuryc { margin-block-end: var(--sp); position: relative; z-index: 1; }
.ldmxp3vx h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.ldmyzyqk { font-size: 12px; color: var(--brand); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-block-end: 4px; }
.ldmmb2ex { display: flex; align-items: center; gap: 8px; margin-block-end: 8px; }
.ldmmb2ex b { font: 700 12px var(--font); color: var(--brand); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ldmmb2ex .ldmkj2td { margin: 0; }
.ldmdnhbf { position: relative; z-index: 1; }
.ldmtbred { 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); }
.ldmtbred h3, .ldmvdg2g h3 { font-size: 20px; margin-block-end: 6px; }
.ldmtbred p, .ldmvdg2g p { margin-block-end: 8px; }
.ldmtbred article { padding-block-start: 12px; border-block-start: 1px solid var(--line-2); }
.ldmvdg2g { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--sp); }
.ldmvdg2g article { padding: var(--sp); background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); }
.ldmvdg2g ul { list-style: none; margin: 0; padding: 0; }
.ldmvdg2g li a { min-height: 32px; display: inline-flex; align-items: center; text-decoration: underline; color: var(--brand); }
.ldm42alr { width: 100%; border-collapse: collapse; }
.ldm42alr td { padding: 10px 12px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.ldm42alr tr:first-child td { font-weight: 700; color: var(--ink); border-block-end: 2px solid var(--brand); }
.ldm42alr td:first-child { color: var(--ink-2); }
.ldmekv44 { position: relative; text-align: center; padding: calc(var(--sp) * 2.4) calc(var(--sp) * 1.4); background: radial-gradient(80% 120% at 50% 0%, color-mix(in srgb, var(--brand) 22%, var(--card)), var(--card) 70%); border-radius: var(--r-xl); }
.ldmekv44 .ldmkj2td { margin-block-end: 14px; }
.ldmekv44 h2 { font-size: clamp(28px, 3.4vw, 42px); margin-block-end: 10px; font-style: italic; }
.ldmekv44 p:not(.ldmyzyqk) { margin: 0 auto var(--sp); max-width: 58ch; color: var(--ink-2); }
.ldmzotji h2 { font-size: 20px; margin-block-end: 6px; }
.ldmzotji ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); }
.ldmzotji li { break-inside: avoid; }
.ldmzotji a { min-height: 36px; display: inline-flex; align-items: center; text-decoration: underline; }

/* the written openers, as story cards */
.ldm2jund { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: var(--sp); }
.ldmm5om6 { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 10px; scrollbar-width: thin; }
.ldmm5om6 > .ldmygxws { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; }
.ldmygxws { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; color: var(--ink); min-width: 0; background: linear-gradient(170deg, color-mix(in srgb, var(--brand) 13%, var(--card)), var(--card) 60%); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ldmygxws[hidden] { display: none; }
.ldmygxws:hover { border-color: var(--brand); box-shadow: 0 10px 34px var(--glowc); }
.ldmxppvx { display: flex; align-items: center; font-size: 12px; color: var(--brand); letter-spacing: .04em; font-weight: 700; }
.ldm6shbf { display: block; position: relative; padding-block-start: 18px; }
.ldm6shbf::before { content: "\201C"; position: absolute; inset-block-start: -10px; inset-inline-start: -2px; font: 700 54px/1 var(--head); color: color-mix(in srgb, var(--brand) 55%, transparent); }
.ldmjliim { display: block; font: 400 17px/1.36 var(--head); font-style: italic; margin-block-end: 4px; }
.ldmf4vst { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-block-start: auto; padding-block-start: 10px; border-block-start: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.ldmf4vst b { color: var(--brand); }
.ldmf4vst b::after { content: " \2192"; }
[dir="rtl"] .ldmf4vst b::after { content: " \2190"; }

/* lists */
.ldm36koi { display: grid; gap: 4px; margin-block-end: var(--sp); max-width: 760px; }
.ldm36koi p { color: var(--ink-2); max-width: 66ch; }
.search.ldmsuojm { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 99px; width: min(460px, 100%); margin-block-start: 10px; }
.ldmob3nh { display: grid; gap: 6px; padding-block-end: 12px; margin-block-end: var(--sp); border-block-end: 1px solid var(--line); }
.ldmob3nh .frow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ldmob3nh .frow-label { flex: none; width: 76px; font-size: 13px; color: var(--ink-2); }
.ldmob3nh .chips-scroll, .ldmbqmdu .chips-scroll { min-width: 0; }
.ldmi2frd summary { cursor: pointer; font-size: 13.5px; color: var(--brand); min-height: 32px; display: list-item; }
.ldmi2frd .frow { margin-block-start: 6px; }
.ldmrs45c a { font-size: 13.5px; text-decoration: underline; color: var(--brand); }
.ldmgn2ef { text-align: center; padding: 34px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.ldmgn2ef p { margin-block: 8px 14px; color: var(--ink-2); }
.ldm4k2y6 { margin-block-start: calc(var(--sec) * 1.3); padding-block-start: var(--sec); border-block-start: 2px solid var(--brand); scroll-margin-block-start: var(--hd); }
.ldmbqmdu { display: grid; gap: 6px; margin-block-end: var(--sp); }
.ldm6th6a { margin-block-end: var(--sec); }
.ldm6th6a .ldm2jund { margin-block-start: var(--sp); }

/* her page: a story, tall photo first */
.ldmgrvht { position: absolute; z-index: 3; inset-block-start: 22px; inset-inline-start: 14px; display: inline-flex; align-items: center; min-height: 36px; padding-inline: 14px; font-size: 13px; color: #fff; background: rgba(10, 5, 10, .5); backdrop-filter: blur(8px); border-radius: 99px; }
.ldmrucha { display: grid; grid-template-columns: minmax(min(50vw, 68%), 3fr) minmax(0, 2fr); gap: calc(var(--sp) * 2.4); align-items: start; margin-block-end: var(--sec); }
.ldmit5mk { position: sticky; inset-block-start: calc(var(--hd) + 16px); overflow: hidden; border-radius: var(--arch) var(--arch) var(--r-xl) var(--r-xl); isolation: isolate; background: var(--bg-2); }
.ldmit5mk img { display: block; width: 100%; height: auto; aspect-ratio: 828 / 1014; object-fit: cover; object-position: 50% 15%; }
.ldmit5mk::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(8, 4, 8, .85) 0%, rgba(8, 4, 8, 0) 46%); pointer-events: none; }
.ldmuwvyk { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 2; padding: 20px 22px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.ldmuwvyk h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; font-style: italic; }
.ldmuwvyk p { opacity: .9; margin-block-start: 4px; }
.ldmhaao6 { min-width: 0; }
.ldmknwav { font-size: 13.5px; color: var(--ink-2); margin-block-end: 12px; }
.ldm3qciu { font: 400 clamp(22px, 2.4vw, 30px)/1.28 var(--head); font-style: italic; margin-block-end: 12px; }
.ldmpjuqy { color: var(--ink-2); max-width: 62ch; }
.ldmb6kox { display: flex; flex-wrap: wrap; gap: 10px; margin-block: var(--sp) 10px; }
.ldm5vwge { font-size: 12.5px; color: var(--ink-3); }
.ldmqem6m { margin-block-start: var(--sp); padding: var(--sp); background: var(--card); border-radius: var(--r-lg); grid-template-columns: 100px minmax(0, 1fr); font-size: 14px; }
.ldmqem6m dd { overflow-wrap: anywhere; font-weight: 400; }
.ldmmpqcd { margin-block-end: var(--sec); }
.ldmmpqcd h2, .ldmsdixq h2, .ldmcvdiu h2 { font-size: 24px; margin-block-end: 10px; }
.pgrid { margin-block-end: var(--sec); }
.ldmsdixq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: calc(var(--sp) * 1.6); }
.ldmsdixq section { padding: var(--sp); background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); }
.ldmsdixq section > h2 ~ h2 { margin-block-start: var(--sp); }
.ldmsdixq ul { margin: 0; padding-inline-start: 18px; }
.ldmsdixq li, .ldmsdixq p { margin-block-end: 6px; }
.ldmcvdiu { margin-block-start: var(--sec); }
.ldmcvdiu ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.ldmcvdiu a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-lg); background: var(--card); font-size: 13.5px; color: var(--ink-2); }
.ldmcvdiu a:hover { box-shadow: inset 0 0 0 1px var(--brand); }
.ldmcvdiu img { flex: none; width: 56px; height: 56px; object-fit: cover; object-position: 50% 15%; border-radius: 99px; }
.ldmcvdiu b { display: block; font: 700 17px var(--head); color: var(--ink); }

/* static pages */
.ldmka656 { max-width: 760px; margin-inline: auto; }
.ldmtg45f { font: 400 21px/1.4 var(--head); font-style: italic; color: var(--ink-2); margin-block: 10px var(--sp); }
.ldmka656 h2 { font-size: 25px; margin-block: calc(var(--sp) * 1.6) 8px; }
.ldmka656 p, .ldmka656 li { margin-block-end: 8px; }
.ldmka656 ul { padding-inline-start: 20px; margin: 0; }
.ldmka656 a { text-decoration: underline; color: var(--brand); }
.ldmgkbvt { list-style: none; margin: 0; padding: 0; }
.ldmptilx { position: relative; padding-block-end: var(--sp); padding-inline-start: 24px; border-inline-start: 2px solid var(--line-2); margin-block-end: var(--sp); }
.ldmptilx::before { content: ""; position: absolute; inset-block-start: 4px; inset-inline-start: -7px; width: 12px; height: 12px; border-radius: 99px; background: var(--brand); box-shadow: 0 0 0 4px var(--bg), 0 0 14px var(--glowc); }
.ldmnf37a { font-size: 13px; color: var(--brand); font-variant-numeric: tabular-nums; font-weight: 700; }

/* chat: the engine's page, under the frame */
.chat-page .ldmq4lu7, .chat-page .ldmhcznt, .chat-page .ldmdwobd { display: none; }
.chat-page .main { height: calc(100dvh - var(--hd)); 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); grid-template-columns: 300px minmax(0, 1fr); }
.chat-list { border-inline-end: 1px solid var(--line); background: var(--bg-2); }
.chat-list-head h2 { font-size: 24px; font-style: italic; }
.chat-search { border-radius: 99px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--line); }
.conv { border-radius: var(--r); margin-inline: 6px; }
.conv.active { background: color-mix(in srgb, var(--brand) 16%, var(--card)); color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 50%, transparent); }
.conv.active .last, .conv.active .time, .conv.active .you { color: var(--ink-2); }
.conv:hover { background: var(--card); }
.conv b { font-family: var(--head); }
.av img { border-radius: 99px; object-fit: cover; object-position: 50% 15%; }
.thread { background: radial-gradient(70% 40% at 50% 0%, color-mix(in srgb, var(--brand) 11%, transparent), transparent 70%), var(--bg); }
.quick, .quota, .composer { background: var(--bg); background-color: var(--bg); }
.thread-head { border-block-end: 1px solid var(--line); background: var(--veil); backdrop-filter: blur(12px); }
.thread-head .grow > div:first-child { font-family: var(--head); font-size: 19px; font-style: italic; }
.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-lg); font-size: 16px; }
.msg.her .bubble { background: var(--card); color: var(--ink); border-end-start-radius: 4px; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.msg.me .bubble { background: color-mix(in srgb, var(--brand) 26%, var(--bg)); color: var(--ink); border-end-end-radius: 4px; }
.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: inset 0 0 0 1px var(--line-2); border-radius: 99px; }
.composer textarea { background: transparent; color: var(--ink); }
.composer .send { border-radius: 99px; background: var(--brand); color: var(--on-brand); box-shadow: 0 4px 18px var(--glowc); }
.mode-btn { border-radius: 99px; }
.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 */
.ldmnhioo { max-width: 820px; margin-inline: auto; }
.ldmy54tq { font-size: 17px; margin-block-end: 8px; }
.ldmtaxpf { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.ldmtaxpf a, .ldmm7oo6 a, .ldmtsd6z .check a { text-decoration: underline; color: var(--brand); }
.pack { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: linear-gradient(170deg, color-mix(in srgb, var(--brand) 12%, var(--card)), var(--card)); }
.pack b { font-family: var(--head); font-style: italic; }
.pack .best { border-radius: 99px; background: var(--brand); color: var(--on-brand); }
.usdt-badge { background: transparent; color: var(--ink); border: 1px solid var(--line-2); border-radius: 99px; font-size: 12px; }
.usdt-card { background: var(--card-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.table-wrap { overflow-x: auto; }
.table th, .table td { text-align: start; }
.table tr:first-child td { font-weight: 700; }
.seg { border-radius: 99px; background: var(--bg-2); }
.seg label { border-radius: 99px; }
.seg input:checked + label { background: var(--brand); color: var(--on-brand); }
.ldmtsd6z { background: var(--bg); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.ldmmz2tm { position: relative; overflow: hidden; background: var(--bg-2); color: #fff; min-height: 100dvh; }
.ldmrkpta { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-inline: 12px; }
.ldmqtsvr { display: flex; flex-direction: column; gap: 12px; animation: f43reel 50s ease-in-out infinite alternate; }
.ldmsvxlp { animation-direction: alternate-reverse; animation-duration: 64s; }
.ldmnihbk { animation-duration: 90s; }
.ldmqtsvr img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; border-radius: var(--r-lg); flex: none; }
@keyframes f43reel { from { transform: translateY(0); } to { transform: translateY(-28%); } }
@media (prefers-reduced-motion: reduce) { .ldmqtsvr { animation: none; } }
.ldmmz2tm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 4, 8, .92) 0%, rgba(8, 4, 8, .55) 42%, rgba(8, 4, 8, .1) 78%); }
.ldmgtppy { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 2; padding: 38px; display: flex; flex-direction: column; gap: 14px; }
.ldm7vusp { font: 700 24px var(--head); font-style: italic; }
.ldmmz2tm blockquote { margin: 0; }
.ldmmz2tm blockquote span { display: block; font: 400 21px/1.36 var(--head); font-style: italic; margin-block-end: 6px; }
.ldmmz2tm cite { font-style: normal; font-size: 13px; opacity: .8; }
.ldmgtahq { font-size: 13.5px; opacity: .8; }
.ldmtsd6z .ldm35qpq { margin-block-end: 6px; display: block; }
.ldmtsd6z .ldmkj2td { margin-block-end: 18px; }
.ldmtsd6z h1 { font-size: 32px; font-style: italic; }
.ldmtsd6z .muted { margin-block: 6px 18px; }
.ldmm7oo6 { text-align: center; font-size: 14px; margin-block-start: 16px; color: var(--ink-2); }
.alert { border-radius: var(--r); }

/* the gate: a drape that parts */
.modal-back.ldm2ecbj { background: color-mix(in srgb, var(--bg) 70%, #000); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ldm2siki { position: relative; width: min(450px, 100%); background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--brand) 20%, var(--card)), var(--card) 70%); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 92px 28px 20px; box-shadow: var(--sh-3), 0 0 80px var(--glowc); text-align: center; overflow: hidden; }
.ldmm2uvn { position: absolute; inset-block-start: 0; inset-inline: 0; height: 74px; overflow: hidden; pointer-events: none; }
.ldmm2uvn i { position: absolute; inset-block: 0; inset-inline-start: 0; width: 50%; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--brand) 78%, #000) 0 10px, var(--brand) 10px 20px); transition: transform .55s cubic-bezier(.6, 0, .3, 1); border-end-end-radius: 60% 100%; }
.ldmm2uvn i + i { inset-inline-start: 50%; border-end-end-radius: 0; border-end-start-radius: 60% 100%; }
.ldm2siki:has(.ldmtczkw:hover) .ldmm2uvn i:first-child, .ldm2siki:has(.ldmtczkw:focus-visible) .ldmm2uvn i:first-child { transform: translateX(calc(var(--dir) * -92%)); }
.ldm2siki:has(.ldmtczkw:hover) .ldmm2uvn i + i, .ldm2siki:has(.ldmtczkw:focus-visible) .ldmm2uvn i + i { transform: translateX(calc(var(--dir) * 92%)); }
.ldmm6ioj { font-size: 12.5px; color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; }
.ldm2siki h2 { font-size: 38px; margin-block: 6px 10px; font-style: italic; }
.ldmtczkw { margin-block: 16px 12px; }
.ldmuxgbh { font-size: 12.5px; color: var(--ink-2); }
.ldmuxgbh a { text-decoration: underline; }

/* the engine writes these radii as literals, not tokens */
.fchip span, .fchip-btn, .cbtn, .to-bottom, .wallet-hero { border-radius: var(--r-sm); }
.pgrid .tile { border-radius: var(--r); }

/* phones */
@media (max-width: 900px) {
  .main, .has-rail .main { padding: var(--sp) 16px calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); }
  .ldmq4lu7 { padding: 16px 16px calc(var(--tab-h) + 18px + env(safe-area-inset-bottom)); }
  .ldmb74h4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ldmzotji ul { columns: 1; }
  .ldmzotji a { min-height: 44px; }
  .ldmma3o3 h1 { font-size: clamp(32px, 9vw, 44px); }
  .ldmtjn2l { font-size: 16px; }
  .ldmrucha { grid-template-columns: minmax(0, 1fr); gap: var(--sp); }
  .ldmit5mk { position: relative; inset-block-start: 0; margin-inline: -16px; border-radius: 0 0 var(--r-xl) var(--r-xl); }
  .ldmb6kox .btn { flex: 1 1 100%; }
  .ldmqem6m { grid-template-columns: 88px minmax(0, 1fr); }
  .search.ldmsuojm { width: 100%; }
  .ldmob3nh .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .ldmob3nh .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; }
  .ldmtsd6z { grid-template-columns: minmax(0, 1fr); }
  .ldmmz2tm { min-height: 0; height: 168px; }
  .ldmrkpta { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding-inline: 6px; }
  .ldmqtsvr:nth-child(n+4) { display: none; }
  .ldmqtsvr img { aspect-ratio: 3 / 4; }
  .ldmgtppy { padding: 14px 16px; }
  .ldmgtppy blockquote, .ldmgtahq { display: none; }
  .ldm7vusp { font-size: 22px; }
  .ldm2siki { padding-inline: 18px; }
  .grid.ldmtzatp { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* Photo rule (FRAME-BRIEF.md): the wall of portraits too: 220 px or more on a desktop, two to a row on a phone. */
.ldmncb2x { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .ldmncb2x { 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; }

/* A profile's photo grid never touches the block above it (operator, 2026-11-05). */
.pgrid { margin-block-start: var(--sp); }
.ldmg4t5c { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto; column-gap: min(var(--sp), 14px); row-gap: min(var(--sp), 14px); align-items: stretch; }
.ldmg4t5c .ldmjk5ml { grid-column: 1 / 3; grid-row: 1; padding-inline-end: var(--sp); align-self: end; }
.ldmg4t5c .ldmohw7m { grid-column: 3 / 5; grid-row: 1; align-self: end; }
.ldmg4t5c > .ldmb74h4 { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ldmvljdz { display: contents; }
.ldmvljdz .ldmek3d5 img { aspect-ratio: 4 / 5; }
.ldmg4t5c .hw { grid-column: 1 / -1; }
.ldmg4t5c h1 { font-size: clamp(28px, 3vw, 44px); overflow-wrap: break-word; }
@media (max-width: 900px) {
  .ldmg4t5c { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .ldmg4t5c .ldmjk5ml, .ldmg4t5c .ldmohw7m { grid-column: 1 / -1; grid-row: auto; padding: 0; }
  .ldmg4t5c .ldmjk5ml { order: 1; }
  .ldmvljdz .ldmek3d5 { order: 2; }
  .ldmg4t5c .ldmohw7m { order: 3; margin-block-start: 8px; }
  .ldmg4t5c .hw { order: 4; }
  .ldmg4t5c .ldmtjn2l { display: none; }
  .ldmg4t5c > .ldmb74h4 { order: 5; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ldmvljdz .ldmek3d5:nth-child(n+3) { display: none; }
  .ldmg4t5c .ldmrw6pi { margin-block-end: 4px; }
  .ldmvljdz .ldmek3d5 img { aspect-ratio: 4 / 5; }
}
.grid.ldmtzatp { grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: var(--sp); }
.row-scroll { grid-auto-columns: minmax(300px, 360px); }
.ldm2jcvm { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 14fr); min-width: 0; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.ldm2jcvm:hover { border-color: var(--brand); box-shadow: 0 12px 38px var(--glowc); }
.ldm2jcvm img { display: block; width: 100%; height: 100%; min-height: 230px; object-fit: cover; object-position: 50% 15%; background: var(--bg-2); }
.ldmtpyql { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; min-width: 0; }
.ldmn2ywx { position: static; inset: auto; display: flex; align-items: center; gap: 8px; margin-block-end: 8px; }
.ldmn2ywx .ldmkj2td { margin: 0; }
.ldmo7axf { font: 700 clamp(22px, 2vw, 27px)/1.1 var(--head); font-style: italic; }
.ldmrsxe6 { font-size: 12.5px; color: var(--brand); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.ldm2y47n { font: italic 400 16px/1.36 var(--head); color: var(--ink-2); margin-block-start: 8px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ldmovhlh { margin-block-start: auto; padding-block-start: 10px; font-size: 13px; font-weight: 700; color: var(--brand); }
.ldmovhlh::after { content: " \2192"; }
[dir="rtl"] .ldmovhlh::after { content: " \2190"; }
@media (max-width: 900px) {
  .grid.ldmtzatp { grid-template-columns: minmax(0, 1fr); }
  .ldm2jcvm img { min-height: 190px; }
}
/* 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. */
.ldm2jcvm { grid-template-columns: minmax(240px, 46%) minmax(0, 1fr); align-items: start; min-block-size: 0; }
.ldm2jcvm img { position: static; inline-size: 100%; block-size: auto; min-block-size: 0; aspect-ratio: 4 / 5; }

.grid.ldmtzatp, .grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(540px, 100%), 1fr)) !important; }
.row-scroll { grid-auto-columns: minmax(480px, 520px) !important; }
@media (max-width: 900px) {
  .grid.ldmtzatp, .grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 10px !important; }
  .row-scroll { grid-auto-columns: minmax(46%, 48%) !important; }
  .ldm2jcvm { display: flex; flex-direction: column; justify-content: flex-end; } .ldmtpyql { padding: 8px 10px 10px; } .ldmo7axf { font-size: 18px; } .ldmovhlh { display: none; } .ldm2y47n { -webkit-line-clamp: 2; font-size: 13px; }
}
.ldmpterg { list-style: none; counter-reset: s; margin: var(--sp) 0 0; padding: 0 0 0 0; position: relative; max-width: 760px; }
.ldmpterg li { counter-increment: s; position: relative; padding-inline-start: 58px; padding-block-end: calc(var(--sp) * 1.5); }
.ldmpterg li::after { content: ""; position: absolute; inset-block: 40px 0; inset-inline-start: 19px; width: 0; border-inline-start: 2px dashed color-mix(in srgb, var(--brand) 60%, transparent); }
.ldmpterg li:last-child::after { display: none; }
.ldmpterg li::before { content: counter(s); position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 99px; background: var(--brand); color: var(--on-brand); font: 700 18px var(--head); box-shadow: 0 0 0 5px var(--bg), 0 0 22px var(--glowc); }
.ldmpterg h3 { font-size: 22px; margin-block: 6px 4px; }
.ldmpterg p { color: var(--ink-2); }
.ldmc26js { display: grid; gap: 10px; }
.ldmc26js details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 18px; }
.ldmc26js details[open] { border-color: color-mix(in srgb, var(--brand) 60%, transparent); box-shadow: 0 8px 30px color-mix(in srgb, var(--brand) 16%, transparent); }
.ldmc26js summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 52px; font: 700 18px var(--head); font-style: italic; }
.ldmc26js summary::-webkit-details-marker { display: none; }
.ldmc26js summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 99px; background: color-mix(in srgb, var(--brand) 20%, transparent); color: var(--brand); font: 700 20px/1 var(--font); }
.ldmc26js details[open] summary::after { content: "\2212"; background: var(--brand); color: var(--on-brand); }
.ldmc26js p { padding-block: 0 14px; max-width: 72ch; color: var(--ink-2); }
.ldmhykrs { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 9%, var(--card)), var(--card) 40%); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.ldmgbo4h { display: flex; justify-content: space-between; align-items: center; padding: 14px calc(var(--sp) * 1.6) 0; }
.ldmgbo4h .ldmkj2td { margin: 0; }
.ldmgbo4h .ldmkj2td i { width: 26px; }
.ldmgbo4h b { font: 700 12px var(--font); letter-spacing: .1em; color: var(--brand); font-variant-numeric: tabular-nums; }
.ldmbus6j { padding: calc(var(--sp) * 1.2) calc(var(--sp) * 1.6) calc(var(--sp) * 1.8); }
.ldmhykrs .ldmygxws, .ldmhykrs .ldmvdg2g article, .ldmhykrs .ldm2jcvm { background: var(--bg-2); }
@media (max-width: 900px) { .ldmhykrs { margin-inline: -16px; border-radius: var(--r-xl); } .ldmbus6j { padding-inline: 18px; } .ldmgbo4h { padding-inline: 18px; } }
.ldm5fo7h { --hd: 64px; }
.ldm2ov45 { position: sticky; inset-block-start: 0; z-index: 40; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 calc(var(--sp) * 2); min-height: var(--hd); padding-inline: calc(var(--sp) * 2); background: var(--veil); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block-end: 1px solid var(--line); }
.ldmhu3is { display: flex; gap: 6px; align-self: stretch; max-width: 640px; }
.ldms5r7j { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-align: center; position: relative; }
.ldms5r7j i { display: block; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 20%, transparent); }
.ldms5r7j.ldmtgfnw i { background: color-mix(in srgb, var(--brand) 55%, transparent); }
.ldms5r7j.ldmyz4rs i { background: var(--brand); box-shadow: 0 0 12px var(--glowc); }
.ldms5r7j.ldmyz4rs, .ldms5r7j:hover { color: var(--ink); }
.ldms5r7j span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ldms5r7j b { position: absolute; inset-block-start: 6px; inset-inline-end: 4px; font-size: 10px; color: var(--brand); }
.ldm2ov45 .ldmgha5i { justify-content: flex-end; }
@media (max-width: 900px) {
  .ldm5fo7h { --hd: 52px; }
  .ldm2ov45 { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; padding: 8px 16px 0; row-gap: 0; min-height: 0; }
  .ldm2ov45 .ldm35qpq { grid-column: 1; grid-row: 1; font-size: 22px; }
  .ldm2ov45 .ldmgha5i { grid-column: 2; grid-row: 1; font-size: 13px; gap: 0 10px; }
  .ldm2ov45 .ldmgha5i a:not(.ldmd2aaz):not([href="/me"]) { display: none; }
  .ldmhu3is { grid-column: 1 / -1; grid-row: 2; max-width: none; padding-block: 6px 7px; }
  .ldms5r7j { gap: 0; }
  .ldms5r7j span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ldms5r7j b { display: none; }
}
.ldmdwobd { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 35; }
.ldmdwobd > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 99px; background: var(--veil); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: 0 10px 34px rgba(0, 0, 0, .35); font-size: 13px; font-weight: 700; color: var(--ink); }
[dir="rtl"] .ldmdwobd > summary { padding: 5px 5px 5px 16px; }
.ldmdwobd > summary::-webkit-details-marker { display: none; }
.ldmpvg4a { display: block; padding: 2px; border-radius: 99px; background: conic-gradient(var(--brand), var(--brand-2), var(--brand)); }
.ldmpvg4a img { display: block; width: 44px; height: 44px; border-radius: 99px; object-fit: cover; object-position: 50% 15%; border: 2px solid var(--bg); }
.ldmnaj4w { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ldmbvsim { position: absolute; inset-block-end: calc(100% + 12px); inset-inline-end: 0; width: min(320px, 86vw); display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--card-2); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-3), 0 0 50px var(--glowc); }
.ldmq2fk3 { font-size: 12px; color: var(--brand); font-weight: 700; letter-spacing: .04em; }
.ldml6gwd p { font: italic 400 17px/1.35 var(--head); margin-block-end: 4px; }
.ldmpfw3y { font-size: 13px; color: var(--ink-2); }
.ldmyvtov { font-size: 13px; text-decoration: underline; color: var(--ink-2); min-height: 32px; display: inline-flex; align-items: center; }
@media (max-width: 900px) { .ldmdwobd { display: none; } }
