/* OptiDevinho landing: HTML recreations of GitHub, the worker terminal, the queue and chat, animated by main.js. */
.app {
  --a-bg: #0a0e0f;
  --a-side: #0c1112;
  --a-panel: #101617;
  --a-line: rgba(255,255,255,.07);
  --a-line-2: rgba(255,255,255,.12);
  --a-text: #e3ebea;
  --a-mut: #7d8e92;
  --a-faint: #56666a;
  --a-accent: #14b8a6;
  position: relative;
  background: var(--a-bg);
  border: 1px solid var(--a-line-2);
  border-radius: 12px;
  color: var(--a-text);
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 0 0 1px rgba(0,0,0,.7), 0 50px 120px -30px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  isolation: isolate;
  text-align: left;
}
svg.ic { width: 14px; height: 14px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app .mut { color: var(--a-mut); }
.app code { font-family: var(--mono); font-size: 11.5px; padding: 0; background: none; border: 0; color: var(--a-mut); }
.app b { color: var(--a-text); font-weight: 560; }
.c-gr { color: #22c55e; } .c-am { color: #f5a524; } .c-rd { color: #ef4444; } .c-te { color: #2dd4bf; }
.spin { font-family: var(--mono); color: #5eead4; display: inline-block; width: 1ch; }
svg.bot-av { width: 18px; height: 18px; flex: none; border-radius: 5px; }
.lnk { color: var(--text-2); border-bottom: 1px solid rgba(94,234,212,.4); }
.lnk:hover { color: var(--text); border-bottom-color: #5eead4; }

.av { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--c); color: #fff; font-size: 8px; font-weight: 700; font-family: Inter, sans-serif; }
.av.lg { width: 30px; height: 30px; font-size: 11px; }
.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--a-faint); }
.dot.pending, .dot.amber { background: #f5a524; }
.dot.red { background: #ef4444; }
.dot.green, .dot.running { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.6); }
.dot.idle { background: var(--a-faint); }
.badge { font-family: var(--mono); font-size: 10.5px; color: var(--a-mut); border: 1px solid var(--a-line-2); border-radius: 5px; padding: 1px 6px; white-space: nowrap; }
.bot-tag { font-size: 10px; border: 1px solid var(--a-line-2); color: var(--a-mut); border-radius: 999px; padding: 0 6px; margin-left: 6px; }
.bump { animation: bump .6s ease-out; }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.2); color: #5eead4; } 100% { transform: scale(1); } }
.enter { animation: cardin .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tcaret { display: inline-block; width: 7px; height: 14px; margin-left: 1px; vertical-align: -2px; background: #5eead4; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* labels */
.lbl { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 560; white-space: nowrap; border: 1px solid transparent; }
.lbl.sm { height: 18px; font-size: 10.5px; margin-left: auto; }
.l-bug { color: #fca5a5; background: rgba(239,68,68,.13); border-color: rgba(239,68,68,.35); }
.l-ai { color: #5eead4; background: rgba(20,184,166,.14); border-color: rgba(45,212,191,.4); }
.labels { display: flex; flex-wrap: wrap; gap: 5px; }
.none { color: var(--a-faint); font-size: 12px; }

/* ---------- GitHub chrome ---------- */
.gh-top { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--a-line); background: #080b0c; }
.gh-logo .ic { width: 20px; height: 20px; }
.gh-crumbs { font-size: 14px; color: var(--a-text); white-space: nowrap; }
.gh-nav { display: flex; gap: 4px; margin-left: 18px; height: 100%; }
.gh-nav span { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; color: var(--a-mut); position: relative; white-space: nowrap; }
.gh-nav span.on { color: var(--a-text); }
.gh-nav span.on::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -1px; height: 2px; border-radius: 2px; background: #f78166; }
.gh-nav em { font-style: normal; font-size: 10.5px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.08); }
.gh-head { padding: 16px 20px 14px; border-bottom: 1px solid var(--a-line); }
.gh-head h4 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; color: var(--a-text); }
.gh-head h4 .mut { font-weight: 300; }
.gh-head.slim { padding: 14px 18px 12px; }
.gh-head.slim h4 { font-size: 16px; transition: color .3s; }
.gh-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13px; min-width: 0; }
.gh-meta-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.gh-meta code { color: #93c5fd; background: rgba(59,130,246,.1); border-radius: 5px; padding: 1px 6px; font-size: 11.5px; }
.state { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 560; color: #fff; background: #238636; flex: none; transition: background .4s; }
.state .ic { width: 13px; height: 13px; }
.state.draft { background: #4b5563; }

/* ---------- hero ---------- */
.hx-body { display: grid; grid-template-columns: minmax(0, 1fr) 230px minmax(0, 420px); height: 486px; }
.hx-issue { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.gh-main { flex: 1; padding: 16px 20px 22px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; }
.gh-side { border-left: 1px solid var(--a-line); padding: 6px 16px; overflow: hidden; min-width: 0; }
.gs { padding: 12px 0; border-bottom: 1px solid var(--a-line); }
.gs:last-child { border-bottom: 0; }
.gs-h { font-size: 11.5px; font-weight: 600; color: var(--a-mut); margin-bottom: 8px; }
.gs-row { display: flex; align-items: center; gap: 8px; min-height: 24px; font-size: 12.5px; min-width: 0; }
.gs-row.add { display: none; }
.gs-row.add.on { display: flex; animation: cardin .45s both; }
.gs-row.dev { flex-direction: column; align-items: flex-start; gap: 4px; }
.dev-pr { display: flex; align-items: center; gap: 6px; width: 100%; min-width: 0; animation: cardin .45s both; }
.dev-pr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-pr .ic { width: 13px; height: 13px; }
.dev-pr .ic.draft { color: #9ca3af; } .dev-pr .ic.open { color: #3fb950; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 560; color: #cbd5e1; background: rgba(148,163,184,.1); border: 1px solid rgba(148,163,184,.3); transition: color .4s, background .4s, border-color .4s; }
.status-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-chip.doing { color: #fcd34d; background: rgba(245,165,36,.12); border-color: rgba(245,165,36,.3); }
.status-chip.review { color: #5eead4; background: rgba(20,184,166,.13); border-color: rgba(45,212,191,.4); }

.tli { display: flex; gap: 12px; align-items: flex-start; flex: none; }
.cbox { flex: 1; min-width: 0; border: 1px solid var(--a-line-2); border-radius: 8px; overflow: hidden; background: var(--a-bg); }
.cbox-h { display: flex; align-items: center; gap: 7px; padding: 8px 12px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--a-line); font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.cbox-b { padding: 10px 12px; font-size: 13px; color: #c9d4d3; }
.cbox.dev { border-color: rgba(45,212,191,.38); }
.cbox.dev .cbox-h { background: rgba(20,184,166,.07); }
.ac { display: flex; flex-direction: column; gap: 3px; margin-top: 9px; font-size: 12.5px; }
.ac b { font-size: 12px; color: var(--a-mut); font-weight: 600; margin-bottom: 2px; }
.ac span { display: flex; align-items: center; gap: 7px; }
.ac .box { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--a-line-2); flex: none; }
.ev { display: flex; align-items: center; gap: 10px; padding-left: 6px; font-size: 12.5px; color: var(--a-mut); flex: none; min-width: 0; animation: cardin .45s cubic-bezier(.2,.8,.2,1) both; }
.ev > .ev-i { width: 26px; height: 26px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #161d1e; border: 1px solid var(--a-line-2); color: var(--a-mut); }
.ev > .ev-i .ic { width: 13px; height: 13px; }
.ev > .ev-i.gr { background: #238636; color: #fff; border-color: transparent; }
.ev > .ev-i.te { background: #0f766e; color: #fff; border-color: transparent; }
.ev .ev-t { min-width: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ev .lbl { height: 18px; font-size: 10.5px; }

/* terminal */
.hx-term { border-left: 1px solid var(--a-line); background: #070a0b; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.term-head { display: flex; align-items: center; gap: 8px; height: 42px; flex: none; padding: 0 14px; border-bottom: 1px solid var(--a-line); background: #080b0c; white-space: nowrap; overflow: hidden; }
.term-head .ic { color: var(--a-mut); }
.th-r { margin-left: auto; font-family: var(--mono); font-size: 11px; }
.term-body { flex: 1; min-height: 0; padding: 12px 14px; font-family: var(--mono); font-size: 11.5px; line-height: 1.65; overflow: hidden; display: flex; flex-direction: column; }
.term-body.tall { height: 400px; }
.tl { display: flex; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #c9d4d3; animation: cardin .3s both; flex: none; }
.tl > span:last-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tl .p { color: #5eead4; flex: none; }
.tl .k { color: var(--a-mut); flex: none; }
.tl.mut { color: var(--a-mut); }
.tl.ok { color: #4ade80; }
.tl.bad { color: #f87171; }
.tl.hd { color: var(--a-faint); margin-top: 6px; }
.tl .hl { color: #67e8f9; }
.tl .add { color: #4ade80; } .tl .del { color: #f87171; }
.tl.json { color: #a5f3fc; }

/* ---------- problem backlog ---------- */
.backlog { position: relative; border: 1px solid var(--line-2); border-radius: 12px; background: #0a0e0f; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); font-size: 13px; }
.bl-head { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.bl-head .ic { color: #22c55e; }
.bl-n { margin-left: auto; font-size: 11px; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); }
.bl-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.bl-row > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bl-row b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-row small { font-family: var(--mono); font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-row .dot { width: 8px; height: 8px; }
.age { font-family: var(--mono); font-size: 11px; color: var(--muted); flex: none; }
.age.hot { color: #f87171; }
.bl-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #0a0e0f); pointer-events: none; }

/* ---------- shared fragment pieces ---------- */
.frag { font-size: 13px; }
.frag-grid { display: grid; min-height: 380px; }
.cli { font-family: var(--mono); font-size: 10.5px; padding: 1px 6px; border-radius: 4px; flex: none; }
.cli.claude { color: #fdba74; background: rgba(217,119,87,.16); }
.cli.codex { color: #a5f3fc; background: rgba(34,211,238,.12); }

/* ---------- flow ---------- */
.flow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 430px; }
.fl-col { display: flex; flex-direction: column; min-width: 0; }
.fl-col + .fl-col { border-left: 1px solid var(--a-line); }
.fl-list { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: hidden; }
.hcard { border: 1px solid var(--a-line-2); border-radius: 8px; padding: 8px 10px; background: rgba(255,255,255,.02); display: flex; flex-direction: column; gap: 4px; animation: cardin .45s both; transition: opacity .4s, transform .4s, border-color .3s, background .3s; min-width: 0; }
.hcard.out { opacity: 0; transform: translateX(14px); }
.hcard.live { border-color: rgba(45,212,191,.45); background: rgba(20,184,166,.06); }
.hc-t { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--a-mut); min-width: 0; }
.hc-t .ic { width: 12px; height: 12px; }
.hc-t code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hc-b { font-size: 12.5px; color: var(--a-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-r { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11px; }
.src { font-family: var(--mono); font-size: 10px; padding: 0 6px; border-radius: 4px; height: 17px; display: inline-flex; align-items: center; flex: none; }
.src.sweep { color: #93c5fd; background: rgba(59,130,246,.14); }
.src.mention { color: #fcd34d; background: rgba(245,165,36,.14); }
.src.talk { color: #5eead4; background: rgba(20,184,166,.14); }
.prio { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--a-text); background: rgba(255,255,255,.07); border-radius: 4px; padding: 0 6px; flex: none; }
.intent { font-family: var(--mono); font-size: 10.5px; color: #5eead4; }
.fl-worker { margin: 0 12px 12px; border: 1px dashed var(--a-line-2); border-radius: 9px; padding: 10px 12px; transition: border-color .3s, background .3s; }
.fl-worker.on { border-style: solid; border-color: rgba(45,212,191,.5); background: rgba(20,184,166,.06); }
.fw-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.fw-h .mut { margin-left: auto; font-family: var(--mono); font-size: 11px; }
.fw-t { margin-top: 6px; font-family: var(--mono); font-size: 11px; color: var(--a-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fw-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: 8px; }
.fw-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #14b8a6, #22d3ee); transition: width 1.6s linear; }

/* ---------- pull request ---------- */
.pr-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; height: 476px; overflow: hidden; }
.md p { margin: 0; }
.md .md-h { font-weight: 600; color: var(--a-text); margin-top: 8px; font-size: 12.5px; }
.md .md-h:first-child { margin-top: 0; }
.md .md-l { color: #c9d4d3; font-size: 12.5px; padding-left: 12px; position: relative; }
.md .md-l::before { content: "•"; position: absolute; left: 0; color: var(--a-faint); }
.md .md-fix { margin-top: 8px; font-family: var(--mono); font-size: 11.5px; color: #5eead4; }
.md > * { animation: cardin .4s both; }
.pr-commits { border: 1px solid var(--a-line-2); border-radius: 8px; overflow: hidden; }
.pc { display: flex; align-items: center; gap: 9px; padding: 7px 12px; font-size: 12.5px; border-top: 1px solid var(--a-line); min-width: 0; animation: cardin .4s both; }
.pc:first-child { border-top: 0; }
.pc .ic { color: var(--a-mut); }
.pc-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.pc code { color: var(--a-mut); }
.pc-e { font-size: 11px; }
.ck { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--a-line-2); border-radius: 8px; font-size: 12.5px; flex: none; min-width: 0; }
.ck b { white-space: nowrap; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.ck-t { margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.ck-st { display: inline-flex; width: 14px; justify-content: center; }
.ck-st .ic { width: 14px; height: 14px; }

/* ---------- test gate ---------- */
.gate-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.gt-prof { border-right: 1px solid var(--a-line); background: var(--a-side); min-width: 0; display: flex; flex-direction: column; }
.json { font-family: var(--mono); font-size: 11.5px; line-height: 1.7; color: var(--a-mut); padding: 14px 16px; white-space: pre; overflow: hidden; }
.json .k { color: #93c5fd; }
.json .s { color: #a5f3fc; border-radius: 3px; transition: background .3s, color .3s, box-shadow .3s; }
.json .s.hit { background: rgba(20,184,166,.2); color: #ccfbf1; box-shadow: 0 0 0 2px rgba(20,184,166,.2); }
.json .s.ok { color: #4ade80; }
.gt-steps { margin-top: auto; padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--a-line); }
.gs-step { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--a-mut); transition: color .3s; }
.gs-i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--a-line-2); flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; transition: background .3s, border-color .3s; }
.gs-step.run { color: var(--a-text); }
.gs-step.run .gs-i { border-color: #2dd4bf; box-shadow: 0 0 0 3px rgba(45,212,191,.15); }
.gs-step.done { color: var(--a-text); }
.gs-step.done .gs-i { background: #0f766e; border-color: transparent; color: #fff; }
.gs-step.done .gs-i::before { content: "✓"; }
.gt-term { background: #070a0b; display: flex; flex-direction: column; min-width: 0; }

/* ---------- review ---------- */
.rv-head { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--a-line); background: #080b0c; white-space: nowrap; overflow: hidden; }
.rv-head .ic { color: var(--a-mut); }
.rv-list { padding: 14px; display: flex; flex-direction: column; gap: 12px; height: 456px; overflow: hidden; }
.thread { border: 1px solid var(--a-line-2); border-radius: 9px; overflow: hidden; flex: none; transition: border-color .4s, opacity .4s; }
.thread.res { border-color: rgba(34,197,94,.35); }
.th-file { display: flex; align-items: center; gap: 7px; padding: 7px 12px; font-family: var(--mono); font-size: 11.5px; color: var(--a-mut); background: rgba(255,255,255,.03); border-bottom: 1px solid var(--a-line); white-space: nowrap; overflow: hidden; }
.th-file .ic { width: 12px; height: 12px; }
.th-st { margin-left: auto; font-family: Inter, sans-serif; font-size: 11px; }
.th-st .rs { color: #4ade80; border: 1px solid rgba(34,197,94,.35); border-radius: 999px; padding: 0 7px; animation: cardin .4s both; }
.th-c { display: flex; gap: 10px; padding: 10px 12px; font-size: 12.5px; animation: cardin .4s both; }
.th-c + .th-c { border-top: 1px solid var(--a-line); }
.th-c > div { min-width: 0; }
.th-c p { color: #c9d4d3; margin-top: 2px; }
.th-c p code { color: #5eead4; }
.th-c svg.bot-av { width: 18px; height: 18px; }
.rv-ev { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--a-mut); padding-left: 4px; flex: none; animation: cardin .4s both; min-width: 0; }
.rv-ev .ev-i { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #161d1e; border: 1px solid var(--a-line-2); flex: none; }
.rv-ev .ev-i .ic { width: 12px; height: 12px; }
.rv-ev .ev-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-ev code { color: #5eead4; }

/* ---------- chat ---------- */
.chat-grid { grid-template-columns: 190px minmax(0, 1fr); min-height: 470px; }
.ch-side { background: var(--a-side); border-right: 1px solid var(--a-line); padding: 8px; }
.ch-h { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 6px; font-size: 13px; color: #5eead4; }
.ch-h b { color: #5eead4; }
.ch-conv { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 7px; min-width: 0; }
.ch-conv.on { background: rgba(255,255,255,.06); }
.ch-conv > div { display: flex; flex-direction: column; min-width: 0; font-size: 12.5px; }
.ch-conv small { color: var(--a-mut); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-conv svg.bot-av { width: 26px; height: 26px; border-radius: 7px; }
.hash { width: 26px; height: 26px; flex: none; border-radius: 7px; background: rgba(255,255,255,.07); display: inline-flex; align-items: center; justify-content: center; color: var(--a-mut); font-weight: 600; }
.ch-main { display: flex; flex-direction: column; min-width: 0; }
.ch-title { height: 46px; flex: none; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--a-line); font-weight: 600; }
.ch-msgs { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; height: 372px; overflow: hidden; }
.msg { display: flex; gap: 10px; animation: cardin .45s both; flex: none; }
.msg svg.bot-av { width: 30px; height: 30px; border-radius: 8px; }
.msg-b { min-width: 0; }
.msg-h { font-size: 12px; display: flex; gap: 8px; align-items: baseline; }
.msg-t { margin-top: 3px; padding: 8px 12px; border-radius: 4px 10px 10px 10px; background: rgba(255,255,255,.05); border: 1px solid var(--a-line); font-size: 12.5px; color: #c9d4d3; }
.msg.dev .msg-t { border-color: rgba(45,212,191,.28); background: rgba(20,184,166,.06); }
.msg-t code { color: #5eead4; }
.msg-t .mention { color: #93c5fd; font-weight: 560; }
.typing { display: inline-flex; gap: 3px; padding: 4px 0; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--a-mut); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ch-comp { margin: 0 14px 14px; height: 38px; flex: none; display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--a-line-2); border-radius: 8px; font-size: 12.5px; color: var(--a-text); white-space: nowrap; overflow: hidden; }
.ch-comp .tcaret { flex: none; }

/* ---------- details card art ---------- */
.card-art { padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.card-art code { font-size: 11px; background: none; border: 0; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.card-art .mut { color: var(--muted); }
.card-art svg.ic { width: 13px; height: 13px; }
.card-art svg.bot-av { width: 18px; height: 18px; flex: none; border-radius: 5px; }
.tag-s { margin-left: auto; flex: none; font-size: 10px; color: #fcd34d; border: 1px solid rgba(245,165,36,.35); border-radius: 999px; padding: 0 7px; }
.tag-s.ok { color: #86efac; border-color: rgba(34,197,94,.35); }
.tag-s.wr { color: #5eead4; border-color: rgba(45,212,191,.4); }
.tag-s.no { color: #fca5a5; border-color: rgba(239,68,68,.4); }
.ru, .gw-row, .bx-l, .id-row, .ce-row, .rt-row, .me-c { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 7px; background: rgba(255,255,255,.03); border: 1px solid var(--line); min-width: 0; }
.ru .mut { margin-left: auto; font-size: 11px; flex: none; }
.gw-row.bad { border-color: rgba(239,68,68,.3); background: rgba(239,68,68,.05); }
.gw-note { font-size: 11px; text-align: right; }
.bx-l .mut { font-family: var(--mono); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bx-l code { margin-left: auto; }
.id-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; color: var(--text-2); }
.id-row .mut { margin-left: auto; font-size: 11px; }
.ce-row .mut { width: 104px; flex: none; font-size: 11px; }
.ce-b { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; min-width: 30px; }
.ce-b i { display: block; height: 100%; background: linear-gradient(90deg, #14b8a6, #22d3ee); }
.ce-row b { font-family: var(--mono); font-size: 10.5px; font-weight: 500; flex: none; width: 74px; text-align: right; }
.notice { gap: 10px; }
.nt-m { display: flex; gap: 9px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; background: rgba(245,165,36,.06); border: 1px solid rgba(245,165,36,.25); font-size: 11.5px; line-height: 1.45; }
.nt-m.ok { background: rgba(20,184,166,.06); border-color: rgba(45,212,191,.28); }
.me-c b { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: #5eead4; width: 82px; flex: none; }
.me-c .mut { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-row b { font-family: var(--mono); font-size: 11px; font-weight: 500; width: 58px; flex: none; }
.rt-row code { color: var(--muted); }
.bars { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 22px 20px 0; }
.bars span { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, rgba(94,234,212,.9), rgba(20,184,166,.12)); }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .hx-body { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
  .gh-side { display: none; }
}
@media (max-width: 980px) {
  .split > .app.frag:first-child { order: 2; }
}
@media (max-width: 1100px) {
  .gh-nav span:nth-child(n+3) { display: none; }
}
@media (max-width: 760px) {
  .gh-nav { display: none; }
  .gh-head h4 { font-size: 16px; }
  .hx-body { grid-template-columns: minmax(0, 1fr); height: auto; }
  .hx-issue { height: 330px; }
  .hx-term { border-left: 0; border-top: 1px solid var(--a-line); height: 300px; }
  .gh-main { padding: 12px 14px 16px; }
  .flow-grid { grid-template-columns: minmax(0, 1fr); }
  .fl-col + .fl-col { border-left: 0; border-top: 1px solid var(--a-line); }
  .fl-list { height: 168px; flex: none; }
  .fl-col:last-child .fl-list { height: 156px; }
  .fl-col:first-child .fl-list { height: 226px; }
  .gate-grid, .chat-grid { grid-template-columns: minmax(0, 1fr); }
  .gt-prof { border-right: 0; border-bottom: 1px solid var(--a-line); }
  .term-body.tall { height: 330px; flex: none; }
  .ch-side { display: flex; gap: 6px; border-right: 0; border-bottom: 1px solid var(--a-line); padding: 6px; }
  .ch-h, .ch-title { display: none; }
  .ch-conv { flex: 1 1 0; }
  .ch-msgs { height: 400px; flex: none; }
  .chat-grid { min-height: 0; grid-template-rows: auto 1fr; }
  .ch-side { align-items: stretch; }
  .msg-t { overflow-wrap: anywhere; }
  .pr-body { height: 640px; }
  .rv-list { height: 520px; }
}
@media (max-width: 560px) {
  .gh-meta-t { white-space: normal; font-size: 12px; }
  .gh-meta { align-items: flex-start; }
  .json { font-size: 10.5px; padding: 12px; }
  .term-body { font-size: 10.5px; padding: 10px; }
  .ce-row .mut { width: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .tcaret, .bump, .enter, .ev, .tl, .hcard, .msg, .pc, .md > *, .th-c, .rv-ev, .dev-pr, .th-st .rs, .gs-row.add.on, .typing i { animation: none; }
  .fw-bar i { transition: none; }
}
