:root {
  --bg: #101e19;
  --bg-2: #1a2823;
  --card: #1f2e28;
  --card-2: #283631;
  --ink: #b9cbc4;
  --ink-2: #97a8a2;
  --ink-3: #7c8d86;
  --line: #35443f;
  --line-2: #64746e;
  --brand: #51ecb3;
  --brand-2: #e7b155;
  --violet: #e7b155;
  --blue: #e7b155;
  --glass: #15231e;
  --on-brand: #000000;
  --grad: linear-gradient(#51ecb3, #51ecb3);
  --grad-soft: transparent;
  --violet-soft: transparent;
  --green: #e7b155;
  --gold: #e7b155;
  --danger: #e7b155;
  --ok-bg: transparent;
  --ok-ink: #51ecb3;
  --err-bg: transparent;
  --err-ink: #e7b155;
  --sh-1: none;
  --sh-2: none;
  --sh-3: 0 18px 50px rgba(0, 0, 0, .4);
  --sh-brand: none;
  --font: "Instrument Sans", system-ui, sans-serif;
  --head: "Bricolage Grotesque", Georgia, serif;
  --side-w: 0px;
  --rail-w: 0px;
  --tab-h: 58px;
  --panel-w: 330px;
  --bar-h: 0px;
  color-scheme: dark;
  --tex: none;
  --tex-size: auto;
  --sp: 26px;
  --sec: 76px;
  --lh: 1.68;
  --r-sm: 0px;
  --r: 0px;
  --r-lg: 0px;
  --r-xl: 0px;
  --bw: 1px;
  --bs: solid;
}
:root { --mono: var(--head), Georgia, serif; --stick: 0px; --vl: color-mix(in srgb, var(--brand) 30%, var(--line)); --glow: color-mix(in srgb, var(--brand) 52%, transparent); }
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: 0; }
a { text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.badge-ai { background: transparent; color: var(--brand); border: 1px solid var(--brand); border-radius: var(--r-sm); font: 700 10px/1.4 var(--mono); padding: 0 4px; backdrop-filter: none; box-shadow: none; }

/* the frame: a head, a body, a foot */
.mtcl2exk { display: flex; flex-direction: column; min-height: 100dvh; }
.mtcuct35 { flex: 1 1 auto; display: flex; align-items: flex-start; width: 100%; max-width: 1480px; margin-inline: auto; min-width: 0; }
.main, .has-rail .main { margin: 0; padding: var(--sec) calc(var(--sp) * 1.6); min-height: 0; flex: 1 1 0; min-width: 0; width: auto; max-width: none; }
.has-rail .rail, .side, .topbar, .rail { display: none; }
.mtca2i4f { position: sticky; inset-block-start: 0; z-index: 30; background: var(--bg); border-block-end: var(--bw) var(--bs) var(--vl); font: 13.5px/1.3 var(--mono); }
.mtch4ldj { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font: 700 18px/1.1 var(--mono); color: var(--ink); min-width: 0; }
.mtch4ldj svg { flex: none; color: var(--brand); }
.mtch4ldj span { overflow-wrap: anywhere; }
.mtcxb555 { display: flex; align-items: center; gap: .6ch; min-width: 0; color: var(--ink-2); }
.mtcxxlsk { color: var(--brand); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; direction: ltr; unicode-bidi: plaintext; }
.mtcwcomd { color: var(--ink); font-weight: 700; }
.mtcdoqup { display: inline-block; flex: none; width: .5em; height: .5em; margin-inline-start: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px 2px var(--glow); vertical-align: middle; animation: ember 2.8s ease-in-out infinite; }
.mtcogw6u { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; font: 13px/1.3 var(--mono); }
.mtcogw6u a { min-height: 36px; display: inline-flex; align-items: center; color: var(--ink-2); text-decoration: underline; }
.mtcogw6u b { color: var(--brand); }
.mtcogw6u .mtcyzbtg { color: var(--on-brand); background: var(--brand); text-decoration: none; padding-inline: 12px; font-weight: 700; border-radius: var(--r-sm); }
.mtcwq2in { padding: var(--sp) calc(var(--sp) * 1.6); border-block-start: var(--bw) solid var(--vl); font: 12.5px/1.5 var(--mono); color: var(--ink-2); }
.mtcwq2in a { text-decoration: underline; }
.mtcwq2in nav { display: flex; flex-wrap: wrap; gap: 2px 18px; margin-block-start: 6px; }
.mtcwq2in nav a { min-height: 32px; display: inline-flex; align-items: center; }
.tabbar.mtcuxfhh { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; border-block-start: var(--bw) var(--bs) var(--vl); font-family: var(--mono); }
.mtcuxfhh .tab { font: 11px/1.2 var(--mono); color: var(--ink-2); gap: 3px; }
.mtcuxfhh .tab .dot { border-color: var(--bg-2); }

/* windows: the frame's one container */
.mtcjfktx { border: var(--bw) var(--bs) var(--vl); border-radius: var(--r); background: var(--card); overflow: hidden; min-width: 0; }
.mtc2sq5x { display: flex; align-items: center; gap: 12px; padding: 7px 12px; background: var(--bg-2); border-block-end: 1px solid var(--vl); font: 12.5px/1.3 var(--mono); color: var(--ink-2); min-width: 0; }
.mtc2sq5x > span:not(.badge-ai):not(.on-dot) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mtc2sq5x > :last-child:not(.mtc73v7j):not(:first-child) { margin-inline-start: auto; }
.mtc73v7j { flex: none; display: inline-block; width: 42px; height: 8px; background: radial-gradient(circle at 4px 4px, var(--vl) 3.4px, transparent 4px) 0 0 / 14px 8px repeat-x; }
.mtce7ive { padding: var(--sp); }
.mtcn3slu { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; }

/* controls over the engine's */
.btn { font-family: var(--font); 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(--vl); }
.btn-ghost { color: var(--ink); }
.chip { background: transparent; box-shadow: inset 0 0 0 1px var(--vl); font: 500 13px var(--mono); 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(--vl); 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(--vl); border-radius: var(--r); }
.section { margin-block-start: var(--sec); }
.mtcbgx7c { color: var(--brand); text-decoration: underline; font: 700 14px var(--mono); min-height: 44px; display: inline-flex; align-items: center; }
.mtcwbrf4 { font-size: clamp(28px, 3.6vw, 42px); margin-block-end: 8px; overflow-wrap: anywhere; }
.mtcwjeem { font: 700 .7em var(--mono); color: var(--brand); margin-inline-end: .5em; }
.mtc3fpwe { font-size: 24px; margin-block-end: var(--sp); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.mtc6wjdw { font-size: 17px; max-width: 70ch; margin-block-end: var(--sp); color: var(--ink-2); }

/* the front page */
.mtcr35eq > section, .mtcr35eq > nav { margin-block-end: var(--sec); }
.mtcaj2lf h1 { font-size: clamp(27px, 4.4vw, 52px); line-height: 1.08; overflow-wrap: anywhere; }
.mtcchc4s { font: 13px/1.4 var(--mono); color: var(--brand); margin-block-end: 8px; }
.mtc2yjtm { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.mtc7jffg { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin-block-start: var(--sp); }
.mtcaj2lf .mtchloev { margin-block: var(--sp); }
.mtcaj2lf .hw { border: var(--bw) var(--bs) var(--vl); box-shadow: none; text-align: start; }
.mtcaj2lf .hw-name { font-family: var(--head); font-weight: 700; }
.mtcaj2lf .hw-text { text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .4); }
.mtcaj2lf .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) { .mtcaj2lf .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 */
.mtcu2qrr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: min(var(--sp), 12px); margin-block-start: var(--sp); text-align: start; }
.mtckvkq7 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; margin-block-end: 8px; }
.mtckvkq7 .mtcf6sre { margin: 0; }
.mtczsgef { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: min(var(--sp), 14px); }
.mtct6i4h { display: flex; flex-direction: column; min-width: 0; overflow: hidden; color: var(--ink); background: var(--card); border: var(--bw) var(--bs) var(--vl); border-radius: var(--r); }
.mtct6i4h:hover { border-color: var(--brand); }
.mtct6i4h img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 784; object-fit: cover; object-position: 50% 20%; background: var(--bg-2); }
.mtct6i4h span { display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; font: 700 14px/1.3 var(--mono); border-block-start: 1px solid var(--vl); overflow-wrap: anywhere; }
.mtct6i4h span i { font-style: normal; font-weight: 400; color: var(--brand); }
.mtc5vwum { margin-block-end: var(--sp); }
.mtctvj3a h2 { font-size: clamp(24px, 2.6vw, 32px); }
.mtcf6sre { font: 12.5px/1.4 var(--mono); color: var(--brand); margin-block-end: 4px; }
.mtcuxkfm span { display: inline-block; color: var(--brand); font: 700 .55em var(--mono); margin-inline-end: 12px; vertical-align: .25em; }
.mtc6pdzk { display: flex; align-items: center; gap: 14px; }
.mtc6pdzk span { flex: 0 1 auto; }
.mtc6pdzk i { flex: 1 1 24px; min-width: 24px; border-block-end: 1px solid var(--vl); }
.mtc6pdzk b { font: 400 12px var(--mono); color: var(--ink-2); }
.mtczse2y { 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); }
.mtczse2y h3, .mtcfbjqn h3 { font-size: 19px; margin-block-end: 6px; }
.mtczse2y p, .mtcfbjqn p { margin-block-end: 8px; }
.mtcnavdl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: var(--sp); }
.mtc6cuz3 { 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; }
.mtc6cuz3[hidden] { display: none; }
.mtc6cuz3:hover { border-color: var(--brand); }
.mtcqguy2 { font: 12px/1.4 var(--mono); color: var(--brand); margin-block-end: 2px; }
.mtca63eh { font: 400 16px/1.34 var(--head); }
.mtca63eh::before { content: "\201C"; font-family: var(--head); font-size: 1.4em; line-height: 0; color: var(--brand); margin-inline-end: 3px; }
.mtc4npja { display: flex; justify-content: space-between; gap: 8px; margin-block-start: auto; padding-block-start: 8px; font: 12.5px var(--mono); color: var(--ink-2); }
.mtc4npja b { color: var(--brand); }
.mtcfbjqn { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--sp); }
.mtcfbjqn article { padding: 12px 14px; border: 1px solid var(--vl); border-radius: var(--r); }
.mtcfbjqn ul { list-style: none; margin: 0; padding: 0; }
.mtcfbjqn li a { min-height: 30px; display: inline-flex; align-items: center; text-decoration: underline; }
.mtcxsbwa { width: 100%; border-collapse: collapse; font-size: 15px; }
.mtcxsbwa td { padding: 8px 10px; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.mtcxsbwa tr:first-child td { font: 700 13px var(--mono); color: var(--ink); border-block-end: var(--bw) var(--bs) var(--vl); background: var(--bg-2); }
.mtcxsbwa td:first-child { color: var(--ink-2); }
.mtcxe3ay { padding: calc(var(--sp) * 1.5); background: var(--bg-2); border: var(--bw) var(--bs) var(--vl); border-radius: var(--r); position: relative; }
.mtcxe3ay::before { content: "\2665"; position: absolute; inset-block-start: 10px; inset-inline-end: 16px; font: 700 28px var(--mono); color: var(--brand); }
.mtcxe3ay h2 { font-size: clamp(25px, 3vw, 34px); margin-block-end: 8px; }
.mtcxe3ay p:not(.mtcf6sre) { margin-block-end: var(--sp); max-width: 62ch; }
.mtc72gfg h2 { font-size: 20px; margin-block-end: 6px; }
.mtc72gfg ul { list-style: none; padding: 0; margin: 0; columns: 3; column-gap: var(--sp); font-family: var(--mono); font-size: 14px; }
.mtc72gfg li { break-inside: avoid; }
.mtc72gfg a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: underline; }

/* lists */
.mtc37354 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-block-end: var(--sp); }
.mtc37354 > div { flex: 1 1 320px; min-width: 0; }
.mtc37354 p { color: var(--ink-2); max-width: 66ch; }
.search.mtce7oyl { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--vl); border-radius: var(--r-sm); min-width: 240px; }
.mtcl2wv5 { display: grid; gap: 6px; padding: 10px 12px; margin-block-end: var(--sp); border: 1px solid var(--vl); border-radius: var(--r); }
.mtcl2wv5 .frow { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mtcl2wv5 .frow-label { flex: none; width: 76px; font: 12.5px var(--mono); color: var(--ink-2); }
.mtcl2wv5 .chips-scroll, .mtco3sjq .chips-scroll { min-width: 0; }
.mtckzti7 summary { cursor: pointer; font: 13px var(--mono); color: var(--brand); min-height: 30px; display: list-item; }
.mtckzti7 .frow { margin-block-start: 6px; }
.mtcwqp5g a { font: 13px var(--mono); text-decoration: underline; color: var(--brand); }
.mtch7g3d { text-align: center; padding: 30px; border: 1px solid var(--vl); border-radius: var(--r); }
.mtch7g3d p { margin-block: 8px 14px; color: var(--ink-2); }
.mtc4uok5 { margin-block-start: var(--sec); padding-block-start: var(--sec); border-block-start: var(--bw) solid var(--vl); scroll-margin-block-start: calc(var(--stick) + 8px); }
.mtco3sjq { display: grid; gap: 6px; margin-block-end: var(--sp); }

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

/* static pages */
.mtcwz2kc { max-width: 760px; margin-inline: auto; }
.mtcsiubk { font: 400 20px/1.36 var(--head); color: var(--ink-2); margin-block: 10px var(--sp); padding-inline-start: 14px; border-inline-start: 3px solid var(--brand); }
.mtcwz2kc h2 { font-size: 24px; margin-block: calc(var(--sp) * 1.5) 8px; }
.mtcwz2kc p, .mtcwz2kc li { margin-block-end: 8px; }
.mtcwz2kc ul { padding-inline-start: 20px; margin: 0; }
.mtcwz2kc a { text-decoration: underline; color: var(--brand); }
.mtcsupzk { font: 13px var(--mono); color: var(--brand); }
.mtcwzpta { padding-block-end: var(--sp); border-block-end: 1px solid var(--vl); }

/* chat: the engine's page, under the frame */
.chat-page .mtcwq2in, .chat-page .mtchqz2e { display: none; }
.chat-page .mtcl2exk { height: 100dvh; }
.chat-page .mtcuct35 { min-height: 0; max-width: none; align-items: stretch; }
.chat-page .mtcuct35 .main { height: auto; 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); }
.chat-list { border-inline-end: 1px solid var(--vl); background: var(--bg); }
.chat-list-head h2 { font-size: 21px; }
.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(--vl); background: var(--card); }
.thread-head .grow > div:first-child { font-family: var(--head); font-size: 18px; }
.thread-head .status { font: 400 12.5px var(--mono); 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); }
.msg.me .bubble { background: var(--bg-2); color: var(--ink); }
.msg .t { color: var(--ink-3); font: 400 11px var(--mono); }
.typing span, .typing i { background: var(--brand); }
.composer { border-block-start: 1px solid var(--vl); }
.cfield { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--vl); 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(--vl); }
.chat-card { border-radius: var(--r); background: var(--card); border: var(--bw) var(--bs) var(--vl); }

/* plans and forms */
.mtcdkrfj { font: 15px var(--mono); margin-block-end: 8px; }
.mtci42sy { font-size: 13px; color: var(--ink-2); margin-block-start: 10px; }
.mtci42sy a, .mtc6i4t4 a, .mtc5jgia .check a { text-decoration: underline; color: var(--brand); }
.pack { border: var(--bw) var(--bs) var(--vl); }
.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(--vl); border-radius: var(--r-sm); font: 12px var(--mono); }
.usdt-card { background: var(--card-2); border: var(--bw) var(--bs) var(--vl); }
.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); }
.mtc5jgia { background: var(--bg); }
.mtcifcyd { padding: 42px; display: flex; flex-direction: column; justify-content: center; gap: 18px; background: var(--bg-2); border-inline-end: var(--bw) var(--bs) var(--vl); }
.mtcifcyd blockquote { margin: 0; padding: 18px; }
.mtcifcyd blockquote span { display: block; font: 400 18px/1.36 var(--head); margin-block-end: 6px; }
.mtcifcyd blockquote span::before { content: "\201C"; font-family: var(--head); font-size: 1.4em; line-height: 0; color: var(--brand); margin-inline-end: 3px; }
.mtcifcyd cite { font: normal 12.5px var(--mono); color: var(--ink-2); }
.mtchy73t { font-size: 13.5px; color: var(--ink-2); }
.mtc7jm66 { max-width: 460px; margin-inline: auto; }
.mtc5jgia h1 { font-size: 30px; }
.mtc5jgia .muted { margin-block: 6px 18px; }
.mtc6i4t4 { text-align: center; font-size: 14px; margin-block-start: 16px; color: var(--ink-2); }
.alert { border-radius: var(--r-sm); }

/* the gate: a prompt that waits */
.modal-back.mtcnp523 { background: color-mix(in srgb, var(--bg) 84%, #000); backdrop-filter: none; -webkit-backdrop-filter: none; }
.mtcx5jwj { width: min(480px, 100%); background: var(--card); border: var(--bw) var(--bs) var(--vl); border-radius: var(--r); box-shadow: var(--sh-3); overflow: hidden; }
.mtcpv5lv { padding: 22px 26px 18px; }
.mtct657o { font: 13px var(--mono); color: var(--brand); }
.mtcx5jwj h2 { font-size: 36px; margin-block: 8px 10px; }
.mtcenq5a { margin-block: 16px 12px; }
.mtchovrh { font-size: 12.5px; color: var(--ink-2); }
.mtchovrh 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: a one-line head, tabs at the foot */
@media (max-width: 900px) {
  .mtcl2exk { display: block; }
  .mtcuct35 { display: block; }
  .mtca2i4f { position: static; }
  .mtca2i4f .mtcogw6u { justify-content: flex-end; gap: 0 10px; font-size: 12.5px; }
  .mtca2i4f .mtch4ldj { font-size: 16px; flex: 0 1 auto; }
  .mtchqz2e { display: none; }
  .main, .has-rail .main { padding: var(--sp) 16px calc(var(--tab-h) + 24px + env(safe-area-inset-bottom)); }
  .mtcwq2in { padding: 16px 16px calc(var(--tab-h) + 18px + env(safe-area-inset-bottom)); }
  .mtczsgef, .mtcu2qrr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mtcu2qrr .mtct6i4h:nth-child(n+3) { display: none; }
  .mtc72gfg ul, .mtcc4a22 ul { columns: 1; }
  .mtc72gfg a { min-height: 44px; }
  .mtcf6r6x { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 12px; }
  .mtcf6r6x img { width: calc(100% + 24px); max-width: none; margin-inline: -12px; }
  .mtc7nqug { grid-template-columns: minmax(0, 1fr); }
  .mtcgmkht .btn { flex: 1 1 100%; }
  .search.mtce7oyl { min-width: 0; width: 100%; }
  .mtcl2wv5 .frow { flex-direction: column; align-items: stretch; gap: 3px; }
  .mtcl2wv5 .frow-label { width: auto; }
  .chip { min-height: 38px; }
  .chat-page .mtcl2exk { height: auto; display: block; }
  .chat-page .mtcuct35 .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; }
  .mtcifcyd { display: none; }
  .mtcpv5lv { padding-inline: 18px; }
}

/* ===== the night layer: warm low light, silk, an ember that breathes. Everything above is structure; this is the mood. ===== */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(90% 55% at 50% -10%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 70%), radial-gradient(110% 70% at 50% 118%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 62%); }
.mtcgzjsu { display: inline-block; flex: none; width: 8px; height: 8px; margin-inline-end: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px 2px var(--glow); vertical-align: middle; animation: ember 2.8s ease-in-out infinite; }
@keyframes ember { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.78); } }
@media (prefers-reduced-motion: reduce) { .mtcgzjsu, .mtcdoqup { animation: none; } }
.mtcchc4s, .mtcf6sre, .mtcxb555, .mtc2sq5x, .mtcg5tnc, .mtcqguy2, .mtc4npja, .mtcfx2hq, .mtck6mrr, .mtcuigbx, .mtct657o, .mtc5a5f4, .mtcsupzk, .mtcwq2in p, .mtcifcyd cite, .mtcsvsrc, .mtczjf6x, .mtcu5usc, .mtcohhlz, .mtcni3pj dd, .mtcplyjl dd, .mtcxsbwa tr:first-child td, .mtcdkrfj, .mtcl2wv5 .frow-label, .mtcuxkfm span, .mtc4qxft span { font-style: italic; font-synthesis: none; }
h1, h2 { text-shadow: 0 0 34px color-mix(in srgb, var(--brand) 30%, transparent); }
.mtch4ldj { font: 700 21px/1.1 var(--head); font-style: italic; font-synthesis: none; }
.mtch4ldj svg { filter: drop-shadow(0 0 7px var(--glow)); }
.mtca2i4f { background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 28px -10px var(--glow); }
.mtcwcomd { color: var(--brand); font-size: .9em; text-shadow: 0 0 10px var(--glow); }
.mtcogw6u .mtcyzbtg, .btn-primary, .btn-primary:hover, .pack .best, .composer .send, .seg input:checked + label, .chip.on { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 84%, #fff), var(--brand) 52%, color-mix(in srgb, var(--brand) 84%, #000)); }
.btn-primary, .mtcogw6u .mtcyzbtg, .composer .send { box-shadow: 0 8px 24px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn { font-family: var(--font); }
.btn-outline, .btn-outline:hover { box-shadow: inset 0 0 0 1px var(--vl); }
.btn-outline:hover { box-shadow: inset 0 0 0 1px var(--brand), 0 0 22px -6px var(--glow); }
.chip { font: 500 13px var(--font); }
.mtcwq2in p::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px var(--glow); vertical-align: middle; }
.tabbar.mtcuxfhh { background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.mtcuxfhh .tab { font: 11px/1.2 var(--font); }
.mtcuxfhh .tab.active { color: var(--brand); background: radial-gradient(60% 80% at 50% 0, color-mix(in srgb, var(--brand) 28%, transparent), transparent); box-shadow: inset 0 2px 0 var(--brand); text-shadow: 0 0 12px var(--glow); }

/* silk windows */
.mtcjfktx, .mtcx5jwj { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 7%, var(--card)), var(--card) 60%); box-shadow: 0 24px 54px -30px rgba(0, 0, 0, .75), inset 0 1px 0 color-mix(in srgb, var(--brand) 14%, transparent); }
.mtc2sq5x { background: transparent; border-block-end: 1px solid var(--vl); }
.mtc2sq5x::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 9px var(--glow); }
.mtc73v7j { order: 5; margin-inline-start: 10px; width: 34px; background: radial-gradient(circle at 5px 4px, var(--brand) 2.6px, transparent 3.2px) 0 0 / 12px 8px repeat-x; opacity: .75; }
.mtc2sq5x > .mtc73v7j:first-child { margin-inline-start: auto; }

/* the portraits: photos first, names on a scrim */
.mtct6i4h { position: relative; border: 0; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--vl), 0 20px 38px -24px rgba(0, 0, 0, .85); transition: box-shadow .25s; }
.mtct6i4h:hover { border: 0; box-shadow: 0 0 0 1px var(--brand), 0 22px 44px -16px var(--glow); }
.mtct6i4h span { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 38px 12px 10px; border: 0; color: #fff; background: linear-gradient(0deg, rgba(14, 4, 9, .9), rgba(14, 4, 9, .52) 55%, transparent); font: italic 700 16px/1.2 var(--head); font-synthesis: none; text-shadow: 0 1px 4px rgba(0, 0, 0, .65); }
.mtct6i4h span i { color: #fff; opacity: .72; }
.mtcu2qrr { gap: min(var(--sp), 14px); }
.mtcaj2lf .hw { border: 1px solid var(--vl); border-radius: var(--r-lg); box-shadow: 0 30px 64px -34px var(--glow); }
.mtcaj2lf h1 { text-shadow: 0 0 44px color-mix(in srgb, var(--brand) 38%, transparent); }

/* sections */
.mtcf6sre::before, .mtcnfniq h2::before, .mtc7nqug h2::before, .mtcc4a22 h2::before, .mtcwz2kc h2::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 9px var(--glow); vertical-align: middle; font: inherit; }
.mtcnfniq h2::before, .mtc7nqug h2::before, .mtcc4a22 h2::before, .mtcwz2kc h2::before { width: 8px; height: 8px; vertical-align: .12em; }
.mtcuxkfm span { font: italic 700 .55em var(--head); }
.mtc6cuz3 { background: linear-gradient(170deg, color-mix(in srgb, var(--brand) 9%, var(--card)), var(--card)); border-color: var(--vl); border-radius: var(--r-lg); box-shadow: 0 16px 34px -24px rgba(0, 0, 0, .8); }
.mtc6cuz3:hover { border-color: var(--brand); box-shadow: 0 16px 38px -16px var(--glow); }
.mtca63eh { font: 400 17px/1.36 var(--head); }
.mtcfbjqn article, .mtcbdiog, .mtcl2wv5, .mtcc5tva div, .mtch7g3d { border: 1px solid var(--vl); background: color-mix(in srgb, var(--brand) 4%, var(--card)); }
.mtcxe3ay { background: radial-gradient(70% 130% at 100% 0, color-mix(in srgb, var(--brand) 24%, transparent), transparent 70%), var(--bg-2); border-radius: var(--r-lg); box-shadow: 0 30px 70px -40px var(--glow); }
.mtcxe3ay::before { content: "\2665"; font: 400 34px var(--head); text-shadow: 0 0 22px var(--glow); }
.mtcsiubk { font-style: italic; font-synthesis: none; }

/* her page */
.mtcf6r6x img { border: 0; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--vl), 0 26px 50px -26px var(--glow); }
.mtcaa2nu { font-style: italic; font-synthesis: none; }

/* the chat: a candle-lit room */
.thread { background: radial-gradient(90% 45% at 50% 0, color-mix(in srgb, var(--brand) 18%, transparent), transparent 72%), var(--card); }
.chat-list { background: color-mix(in srgb, var(--bg) 90%, var(--brand)); }
.conv.active { background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 16%, var(--card)), var(--card)); }
.msg.her .bubble { background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 14%, var(--card-2)), var(--card-2)); border: 1px solid var(--vl); border-radius: var(--r-lg); box-shadow: 0 8px 22px -16px var(--glow); }
.msg.me .bubble { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 84%, #fff), var(--brand) 55%, color-mix(in srgb, var(--brand) 84%, #000)); color: var(--on-brand); border: 0; border-radius: var(--r-lg); }
.msg .t { font: italic 400 11px var(--font); }
.thread-head .status { font: italic 400 12.5px var(--font); }
.cfield { box-shadow: inset 0 0 0 1px var(--vl); border-radius: var(--r-xl); }
.cfield:focus-within { box-shadow: inset 0 0 0 1px var(--brand), 0 0 24px -8px var(--glow); }

/* the gate: the door of a lit room */
.modal-back.mtcnp523 { background: radial-gradient(60% 50% at 50% 40%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 80%), color-mix(in srgb, var(--bg) 90%, #000); }
.mtcx5jwj { box-shadow: 0 40px 90px -30px var(--glow); border-radius: var(--r-lg); }
.mtcx5jwj h2 { font-size: 40px; }
.mtct657o { display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .mtcx5jwj h2 { font-size: 32px; } .mtct6i4h span { font-size: 14.5px; padding: 30px 9px 8px; } }
.av img { border-radius: 50%; box-shadow: 0 0 0 1px var(--brand), 0 0 14px -3px var(--glow); }

/* Photo rule (FRAME-BRIEF.md): the wall of portraits too: 220 px or more on a desktop, two to a row on a phone. */
.mtczsgef { grid-template-columns: repeat(auto-fill, minmax(min(224px, 100%), 1fr)) !important; }
@media (max-width: 900px) { .mtczsgef { 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; }
.mtcbqk4s .mtce7ive { padding: calc(var(--sp) * 1.4); }
.mtcohhlz { margin: 0; display: flex; flex-wrap: wrap; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 22%, var(--card)), color-mix(in srgb, var(--brand) 8%, var(--card))); border-block-start: 1px solid var(--vl); color: var(--ink); font: 13.5px/1.3 var(--mono); }
.mtcohhlz div { display: flex; align-items: baseline; gap: 8px; padding: 9px 18px; }
.mtcohhlz dt { font: italic 700 18px/1.2 var(--head); color: var(--brand); text-shadow: 0 0 14px var(--glow); }
.mtcohhlz dd { margin: 0; }
@media (max-width: 900px) { .mtcbqk4s .mtce7ive { padding: 12px; } .mtcohhlz div { flex: 1 1 50%; padding-inline: 12px; } }
.grid { grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: var(--sp); }
.row-scroll { grid-auto-columns: minmax(320px, 380px); }
.mtcounhe { display: grid; grid-template-columns: 150px minmax(0, 1fr); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 9%, var(--card)), var(--card)); color: var(--ink); border: var(--bw) var(--bs) var(--vl); border-radius: var(--r-lg); overflow: hidden; min-width: 0; box-shadow: 0 20px 40px -28px rgba(0, 0, 0, .8); }
.mtcounhe:hover { border-color: var(--brand); box-shadow: 0 20px 44px -18px var(--glow); }
.mtcounhe img { width: 150px; height: 100%; min-height: 200px; object-fit: cover; object-position: 50% 15%; border-inline-end: 1px solid var(--vl); }
.mtctjk62 { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; min-width: 0; }
.mtcmigmt { display: flex; align-items: center; gap: 8px; padding-block-end: 6px; border-block-end: 1px solid var(--vl); font: 700 15px var(--mono); }
.mtcmigmt b { overflow-wrap: anywhere; }
.mtcmigmt i { margin-inline-start: auto; font-style: normal; font-weight: 400; color: var(--ink-3); }
.mtcg5tnc { font: 12.5px var(--mono); color: var(--brand); }
.mtcufspi { font: italic 400 16px/1.34 var(--head); font-synthesis: none; flex: 1; }
.mtccwfwa { font: 700 13px var(--mono); color: var(--brand); text-decoration: underline; }
@media (max-width: 600px) { .grid { grid-template-columns: minmax(0, 1fr) !important; } .mtcounhe { grid-template-columns: 104px minmax(0, 1fr); } .mtcounhe img { width: 104px; min-height: 140px; } }
/* 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. */
.mtcounhe { grid-template-columns: minmax(240px, 46%) minmax(0, 1fr); align-items: start; min-block-size: 0; }
.mtcounhe img { position: static; inline-size: 100%; block-size: auto; min-block-size: 0; aspect-ratio: 4 / 5; }

.grid, .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, .grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px 10px !important; }
  .row-scroll { grid-auto-columns: minmax(46%, 48%) !important; }
  .mtcounhe { display: flex; flex-direction: column; justify-content: flex-end; } .mtcounhe img { border-inline-end: 0; } .mtctjk62 { padding: 8px 10px 10px; } .mtcufspi { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; } .mtccwfwa { display: none; }
}
.mtcagkzy { position: relative; display: grid; gap: var(--sp); margin-block-start: var(--sp); padding-inline-start: 34px; }
.mtcagkzy::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 8px; border-inline-start: 2px solid var(--vl); }
.mtcagkzy article { position: relative; }
.mtc354ud { position: absolute; inset-block-start: 5px; inset-inline-start: -34px; width: 18px; height: 18px; background: var(--bg); border: 3px solid var(--brand); border-radius: 50%; box-shadow: 0 0 14px var(--glow); }
.mtcagkzy article:first-child .mtc354ud { background: var(--brand); }
.mtcagkzy h3 { font-size: 19px; margin-block-end: 4px; }
@media (min-width: 1100px) { .mtcagkzy { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding-inline-start: 0; padding-block-start: 34px; gap: calc(var(--sp) * 1.5); } .mtcagkzy::before { inset-block: 8px auto; inset-inline: 8px; border-inline-start: 0; border-block-start: 2px solid var(--vl); } .mtc354ud { inset-block-start: -34px; inset-inline-start: 0; } }
.mtcc5tva { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp); margin: 0; }
.mtcc5tva div { padding: 12px 14px; border: 1px solid var(--vl); border-radius: var(--r); background: var(--card); }
.mtcc5tva dt { display: flex; gap: 10px; font: 700 17px/1.3 var(--head); margin-block-end: 6px; }
.mtcc5tva dt span { flex: none; font-family: var(--mono); color: var(--brand); }
.mtcc5tva dd { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .mtcc5tva { grid-template-columns: minmax(0, 1fr); } }
.mtc27gia { border-radius: var(--r-lg); overflow: hidden; }
.mtc27gia .mtce7ive { padding: calc(var(--sp) * 1.2); }
.mtc27gia .mtc6cuz3, .mtc27gia .mtcqodxl, .mtc27gia .mtcounhe, .mtc27gia .mtcfbjqn article { background: var(--bg-2); }
@media (max-width: 900px) { .mtc27gia .mtce7ive { padding: var(--sp); } }
.mtc27gia .mtc6pdzk b, .mtc27gia .mtcf6sre, .mtc27gia .mtcuxkfm span { display: none; }
.mtcl2exk { --stick: 88px; }
.mtc6mqil .mtch46tz { display: flex; align-items: center; gap: 4px 24px; padding: 4px calc(var(--sp) * 1.6); min-height: 48px; }
.mtc6mqil .mtcxb555 { flex: 1 1 auto; }
.mtcvibrv { display: flex; flex-wrap: wrap; gap: 0 4px; padding-inline: calc(var(--sp) * 1.6 - 10px); background: transparent; border-block-start: 1px solid var(--vl); }
.mtcsvsrc { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding-inline: 12px; color: var(--ink-2); }
.mtcb5gj5 { color: var(--brand); font-size: .78em; opacity: .75; }
.mtcsvsrc b { color: var(--brand); }
.mtcsvsrc:hover { color: var(--ink); background: radial-gradient(70% 90% at 50% 100%, color-mix(in srgb, var(--brand) 18%, transparent), transparent); }
.mtcsvsrc.mtczvshk { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--brand); background: radial-gradient(70% 100% at 50% 100%, color-mix(in srgb, var(--brand) 28%, transparent), transparent); text-shadow: 0 0 14px var(--glow); }
@media (max-width: 900px) { .mtcvibrv { display: none; } .mtc6mqil .mtch46tz { padding: 4px 16px; flex-wrap: nowrap; justify-content: space-between; } .mtc6mqil .mtcxb555 { display: none; } .mtc6mqil .mtcogw6u { margin-inline-start: auto; } }
.mtchqz2e { flex: none; width: 272px; position: sticky; inset-block-start: calc(var(--stick) + var(--sp)); margin-block: var(--sp); margin-inline: var(--sp) 0; display: flex; flex-direction: column; gap: 10px; }
.mtcfx2hq { font: 12.5px var(--mono); color: var(--brand); }
.mtcevofz p { font: italic 400 18px/1.38 var(--head); font-synthesis: none; margin-block-end: 6px; }
.mtcevofz p::before { content: "\201C"; font-family: var(--head); font-size: 1.4em; line-height: 0; color: var(--brand); margin-inline-end: 3px; }
.mtck6mrr { font: 13px var(--mono); color: var(--ink-2); }
.mtc2smdv { font: 13px var(--mono); text-decoration: underline; color: var(--ink-2); min-height: 32px; display: inline-flex; align-items: center; }
.mtcegeyj { font: 12px/1.5 var(--mono); color: var(--ink-2); }
@media (max-width: 1180px) { .mtchqz2e { display: none; } }
