@font-face { font-family: "FML Marks"; src: url(../fonts/Marks.woff2) format("woff2"); font-display: swap;
  unicode-range: U+2190-21FF, U+22EF, U+2300-23FF, U+2500-25FF, U+2600-26FF, U+2700-27BF; }
.sess { --bg: #171717; --fg: #E4E2DE; --dim: #8D8A84; --acc: #D97757; --ok: #5FBF7F; --err: #E26D6D; --tool: #E4E2DE; --usr: #A8A49C;
  --add: rgba(74, 160, 96, .24); --del: rgba(208, 80, 80, .24); --band: rgba(255, 255, 255, .055); --code: #C9A26D; --rule: rgba(255, 255, 255, .13);
  background: var(--bg); color: var(--fg); box-shadow: var(--shadow), 0 14px 34px rgba(40, 26, 12, .22); margin: 26px 0 34px;
  font: 400 13.5px/1.5 ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, "DejaVu Sans Mono", "FML Marks", monospace;
  font-variant-ligatures: none; -webkit-font-smoothing: antialiased; }
.sess[data-skin="codex"] { --bg: #101214; --fg: #E6E8EA; --dim: #7E8791; --acc: #6CC3D5; --ok: #7BD88F; --err: #F47067; --usr: #E6E8EA; --code: #6CC3D5; }
.sess[data-skin="agy"] { --bg: #0B0C0F; --fg: #DADDE3; --dim: #7A808C; --acc: #7AA7F7; --ok: #7BD88F; --err: #F47067; --tool: #E3B55E; --task: #C58AF9; --usr: #DADDE3; --code: #7AA7F7;
  --add: rgba(46, 125, 60, .42); --del: rgba(150, 30, 34, .5); }
.sess[data-skin="kimi"] { --bg: #151515; --fg: #E0E0E0; --dim: #888888; --acc: #4FA8FF; --ok: #4EC87E; --err: #E85454; --usr: #FFCB6B; --code: #5BC0BE; --rule: #5A5A5A;
  --add: rgba(78, 200, 126, .2); --del: rgba(232, 84, 84, .2); }
.sess[data-skin="muse"] { --bg: #0C0F14; --fg: #E2E6EC; --dim: #7C8594; --acc: #4C9BFF; --ok: #6FCF97; --err: #F0706A; --usr: #E2E6EC; --code: #8AB8FF; }
.tty-bar { position: sticky; top: var(--top, 0px); z-index: 3; display: flex; align-items: center; gap: 14px; padding: 7px 14px 11px; background: color-mix(in srgb, var(--bg) 86%, #fff);
  border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--dim); }
.tty-title { color: var(--fg); margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tty-pos { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tty-all { font: inherit; color: var(--fg); background: none; border: 1px solid var(--rule); padding: 1px 9px 2px; cursor: pointer; }
.tty-all:hover, .tty-all[aria-pressed="true"] { border-color: var(--acc); color: var(--acc); }
.tty-rail { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: color-mix(in srgb, var(--bg) 74%, #fff); cursor: pointer; }
.tty-rail:hover { height: 7px; }
.tty-rail i { display: block; height: 100%; width: 0; background: var(--acc); }
.tty { padding: 16px clamp(12px, 2.4vw, 26px) 22px; min-height: 180px; overflow-wrap: anywhere; }
.tty pre { margin: 0; font: inherit; white-space: pre-wrap; }
.tty b { font-weight: 700; }
.tty .y-dim { color: var(--dim); }
.tty code { font: inherit; color: var(--code); }
.tty button.y-more { font: inherit; color: var(--dim); background: none; border: 0; padding: 0; cursor: pointer; display: block; text-align: left; }
.tty button.y-more:hover { color: var(--acc); }
.tty :focus-visible { outline: 1px solid var(--acc); outline-offset: 1px; }
.y-ban { margin: 0 0 18px; white-space: pre-wrap; }
.y-ban .y-bx { display: inline-grid; gap: 1px; border: 1px solid var(--acc); border-radius: 5px; padding: 9px 46px 10px 14px; position: relative; }
.y-ban .y-b1 { font-weight: 700; color: var(--acc); }
.y-ban .y-bt { position: absolute; top: -.8em; left: 12px; background: var(--bg); padding: 0 6px; color: var(--acc); }
.sess[data-skin="codex"] .y-ban .y-bx { border-color: var(--dim); } .sess[data-skin="codex"] .y-ban .y-b1 { color: var(--fg); margin-bottom: .8em; }
.sess[data-skin="kimi"] .y-ban .y-b1 { margin-bottom: .8em; }
.sess[data-skin="claude"] .y-ban .y-b1 { color: var(--fg); }
.y-st { margin: 0 0 13px; scroll-margin-top: 120px; }
.y-st > * + * { margin-top: 13px; }
.y-row { display: grid; grid-template-columns: 2ch minmax(0, 1fr); }
.y-row .y-gut { user-select: none; }
.y-row.y-res { grid-template-columns: 2ch 3ch minmax(0, 1fr); color: var(--dim); }
.y-row.y-res::before { content: ""; }
.y-row.y-res .y-fold.y-cmd pre, .y-row.y-res .y-sum { color: var(--fg); }
.y-md { white-space: pre-wrap; }
.y-md .y-h { color: var(--fg); }
.y-md .y-cb { display: block; color: var(--code); padding-left: 2ch; }
.y-hd { white-space: pre-wrap; }
.y-say > .y-gut { color: var(--fg); }
.y-tool > .y-gut { color: var(--ok); }
.y-tk > .y-gut { color: var(--dim); }
.y-think, .y-think > .y-gut { color: var(--dim); }
.y-think .y-hd, .y-think pre { font-style: italic; }
.y-usr { color: var(--usr); background: var(--band); margin: 0 -6px; padding: 4px 6px 5px; }
.y-usr > .y-gut { color: var(--dim); }
.y-kgap { margin: 0 0 13px; }
.y-st-gap, .y-st-cmp { color: var(--dim); text-align: center; display: flex; align-items: center; gap: 12px; }
.y-st-gap::before, .y-st-gap::after, .y-st-cmp::before, .y-st-cmp::after { content: ""; flex: 1; border-top: 1px dashed var(--rule); }
.y-grp { margin: -7px 0 13px; }
.tty button.y-grp-h { padding-left: 2ch; white-space: pre; }
.y-grp-b { margin-top: 9px; }
.y-st-s { margin-left: 4ch; padding-left: 2ch; border-left: 1px solid var(--rule); opacity: .86; }
.y-grp-b > .y-st-s:last-child { margin-bottom: 0; }
.y-tail { color: var(--dim); }
.y-diff { white-space: pre-wrap; }
.y-diff > div { padding-left: 3ch; text-indent: -3ch; }
.y-diff i { font-style: normal; display: inline-block; width: 3ch; text-indent: 0; text-align: center; color: var(--dim); }
.y-diff .y-add { background: var(--add); color: var(--fg); } .y-diff .y-del { background: var(--del); color: var(--fg); }
.y-diff .y-ctx { color: var(--dim); }
.sess[data-skin="claude"] .y-tool .y-hd b { color: var(--fg); }
.sess[data-skin="codex"] .y-say > .y-gut, .sess[data-skin="codex"] .y-tool > .y-gut { color: var(--dim); }
.sess[data-skin="codex"] .y-cmd { color: var(--acc); }
.sess[data-skin="codex"] .y-usr > .y-gut { color: var(--fg); font-weight: 700; }
.sess[data-skin="agy"] .y-tool > .y-gut, .sess[data-skin="agy"] .y-k1 { color: var(--tool); }
.sess[data-skin="agy"] .y-tk > .y-gut, .sess[data-skin="agy"] .y-k2 { color: var(--task); }
.sess[data-skin="agy"] .y-usr { background: none; } .sess[data-skin="agy"] .y-usr > .y-gut, .sess[data-skin="agy"] .y-you { color: var(--acc); font-weight: 700; }
.sess[data-skin="agy"] .y-md b { color: #fff; }
.sess[data-skin="kimi"] .y-p { color: var(--acc); }
.sess[data-skin="kimi"] .y-usr { background: none; } .sess[data-skin="kimi"] .y-usr > .y-gut { color: var(--usr); font-weight: 700; }
.sess[data-skin="muse"] .y-tool > .y-gut, .sess[data-skin="muse"] .y-tk > .y-gut { color: var(--acc); }
.sess[data-skin="muse"] .y-usr > .y-gut { color: var(--acc); }
.sess[data-skin="muse"] .y-say { border-left: 2px solid color-mix(in srgb, var(--acc) 55%, transparent); padding-left: 1.5ch; grid-template-columns: 0 minmax(0, 1fr); }
.sess[data-skin="agy"] .y-say { grid-template-columns: 0 minmax(0, 1fr); }
.sess.teaser { margin-top: 14px; }
.sess.teaser .tty { max-height: 420px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.sess-open { display: inline-block; margin: -18px 0 30px; font: 600 1rem var(--sans); }
@media (max-width: 640px) { .sess { font-size: 12px; margin-inline: -12px; } .tty-all { display: none; } .y-st-s { margin-left: 1ch; padding-left: 1ch; } }
