/* Memecoin OS: Terminal-Look nach dem Claude-Design "Memecoin OS.dc.html" */
:root {
  --bg: #0b0d10; --pane: #0e1115; --line: #1f242c; --sub: #161a20; --row: #12151a; --hover: #141920; --selbg: #131a1f;
  --text: #e6e8eb; --soft: #c4c9d2; --mut: #8a919e; --dim: #5a616c; --off: #2a3038;
  --g: #4fe39a; --r: #ff6b5e; --a: #f2b84b; --gs: #13261c; --rs: #2a1513; --as: #2a2310;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --cond: 'IBM Plex Sans Condensed', 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
body { font: 12px/1.4 var(--mono); }
a { color: var(--g); } a:hover { color: #9af0c4; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.g { color: var(--g); } .red { color: var(--r); } .amb { color: var(--a); } .dim { color: var(--dim); } .mut { color: var(--mut); } .soft { color: var(--soft); }
.r { text-align: right; }
.os { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Topbar ---------- */
.bar { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--pane); font-size: 11px; letter-spacing: .04em; }
.bar > * { padding: 10px 14px; display: flex; align-items: center; gap: 6px; color: var(--mut); border-right: 1px solid var(--line); white-space: nowrap; }
.bar b { color: var(--text); font-weight: 400; }
.bar b.g { color: var(--g); }
.bar .logo { padding: 10px 16px; background: var(--g); color: var(--bg); font-weight: 600; gap: 8px; border-right: 0; }
.bar .logo span { font-weight: 400; opacity: .7; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 8px var(--g); }
.live.busy i { background: var(--a); box-shadow: 0 0 8px var(--a); animation: blink .8s steps(2) infinite; }
.live.err i { background: var(--r); box-shadow: 0 0 8px var(--r); }
@keyframes blink { 50% { opacity: .3; } }
.bar .cd { flex-direction: column; justify-content: center; align-items: stretch; gap: 4px; min-width: 170px; }
.cd-top { display: flex; justify-content: space-between; gap: 10px; }
.cd-bar { height: 2px; background: var(--line); }
.cd-bar i { display: block; height: 100%; width: 0; background: var(--g); transition: width 1s linear; }
.bar form { padding: 0; }
.bar input { background: transparent; border: 0; outline: 0; color: var(--text); font: inherit; letter-spacing: .04em; padding: 10px 14px; width: 210px; }
.bar input::placeholder { color: var(--dim); }
.bar form:focus-within { background: var(--selbg); box-shadow: inset 0 -2px 0 var(--g); }
.bar .sp { flex: 1; padding: 0; border: 0; }
.bar .right { border-right: 0; border-left: 1px solid var(--line); }
.bar .play { background: var(--a); color: var(--bg); font-weight: 600; }

/* ---------- Spalten ---------- */
.grid { flex: 1; display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); }
.col { background: var(--bg); display: flex; flex-direction: column; gap: 1px; max-width: 100%; min-width: 0; }
.c-left { flex: 1 1 280px; }
.c-center { flex: 3 1 560px; }
.c-right { flex: 1.4 1 320px; }
.pane { background: var(--pane); display: flex; flex-direction: column; min-width: 0; }
.grow { flex: 1; }
.ph { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .1em; color: var(--mut); }
.ph-l, .ph-r { display: flex; gap: 10px; align-items: center; }
.lnk { color: var(--mut); font-size: 10px; letter-spacing: .1em; padding: 3px 8px; }
.lnk:hover { color: var(--text); }
.lnk.on { background: var(--text); color: var(--bg); }
.empty-row { padding: 14px; color: var(--dim); font-size: 11px; letter-spacing: .04em; }
.empty-pane { padding: 40px 18px; color: var(--dim); font-size: 11px; letter-spacing: .08em; text-align: center; }
.skel { display: block; height: 12px; background: var(--sub); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- Pipeline + Feed ---------- */
.pipe { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.fn-top { display: flex; justify-content: space-between; gap: 8px; }
.fn-bar { height: 4px; background: var(--sub); margin-top: 5px; }
.fn-bar i { display: block; height: 100%; min-width: 2px; }
.fn.base .fn-top span { color: var(--text); } .fn.base i { background: var(--mut); }
.fn.neg .fn-top span:first-child { color: var(--mut); } .fn.neg .fn-top span:last-child { color: var(--r); } .fn.neg i { background: var(--r); }
.fn.warn .fn-top span:first-child { color: var(--mut); } .fn.warn .fn-top span:last-child { color: var(--a); } .fn.warn i { background: var(--a); }
.fn.go .fn-top span { color: var(--g); } .fn.go i { background: var(--g); }
.feedpane { min-height: 280px; }
.fd { display: grid; grid-template-columns: 58px minmax(0, 1fr) 34px 76px; gap: 8px; padding: 5px 14px; font-size: 11px; border-bottom: 1px solid var(--row); }
.fd-h { padding: 6px 14px; font-size: 10px; color: var(--dim); letter-spacing: .06em; border-bottom: 1px solid var(--sub); }
#feed { overflow: hidden; }
#feed .fd { cursor: pointer; animation: fdin .6s ease-out; }
#feed .fd:hover { background: var(--hover); }
#feed .tk { color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes fdin { from { background: #15211b; } }

/* ---------- Radar ---------- */
.scroll-x { overflow-x: auto; }
.rt-wrap { min-width: 640px; }
.rt { display: grid; grid-template-columns: 28px minmax(140px, 1.6fr) 60px 80px 80px 80px 84px 70px; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--sub); }
.rt-h { padding: 8px 14px; font-size: 10px; letter-spacing: .06em; color: var(--dim); }
.rt-row { cursor: pointer; }
.rt-row:hover { background: var(--hover); }
.rt-row.on { background: var(--selbg); box-shadow: inset 2px 0 0 var(--g); }
.coin { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.coin .tk { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin .nm { font-size: 10px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new { font-style: normal; font-size: 9px; font-weight: 500; letter-spacing: .08em; color: var(--a); margin-left: 4px; }
.kol { font-style: normal; font-size: 9px; font-weight: 500; letter-spacing: .08em; color: var(--a); background: var(--as); padding: 1px 4px; margin-left: 6px; vertical-align: 1px; }
.sc { display: inline-block; min-width: 44px; text-align: center; padding: 4px 6px; font-weight: 600; }
.sc-krass { background: var(--g); color: var(--bg); }
.sc-stark { background: var(--gs); color: var(--g); }
.sc-watch { background: var(--as); color: var(--a); }
.sc-pend { background: transparent; color: var(--mut); box-shadow: inset 0 0 0 1px var(--line); }
.sc-nein, .sc-fail { background: var(--rs); color: var(--r); }
.sub-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 14px; font-size: 10px; letter-spacing: .1em; color: var(--dim); background: #0c0f12; border-bottom: 1px solid var(--sub); }

/* ---------- Detail ---------- */
.dh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.cap { font-size: 10px; letter-spacing: .1em; color: var(--dim); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cap .lnk { padding: 1px 6px; border: 1px solid var(--line); }
.ttl { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 6px; min-width: 0; }
.big { font-family: var(--cond); font-size: 34px; font-weight: 700; letter-spacing: -.01em; line-height: 1.05; overflow-wrap: anywhere; }
.ttl .sub { font-family: var(--cond); font-size: 18px; color: var(--mut); }
.dh-r { display: flex; gap: 28px; align-items: flex-end; }
.kv { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.kv > span { font-size: 10px; color: var(--dim); letter-spacing: .08em; white-space: nowrap; }
.kv b { font-size: 18px; font-weight: 400; white-space: nowrap; }
.kv b.score { font-size: 34px; line-height: 1; font-weight: 500; }
.kv b.score small { font-size: 13px; color: var(--dim); font-weight: 400; }
.acts { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.acts a { flex: 1 0 auto; background: var(--pane); color: var(--mut); text-decoration: none; padding: 8px 12px; font-size: 10px; letter-spacing: .1em; text-align: center; }
.acts a:hover { color: var(--text); background: var(--hover); }
.acts a.pri { background: var(--g); color: var(--bg); font-weight: 600; }
.raus { padding: 9px 18px; background: var(--rs); color: var(--r); font-size: 11px; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.chart { padding: 14px 18px 6px; display: flex; flex-direction: column; gap: 6px; }
.chart-cap { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: var(--dim); letter-spacing: .08em; }
.plot { position: relative; height: 150px; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--sub) 1px, transparent 1px); background-size: 100% 37.5px; }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot .lab { position: absolute; font-size: 10px; color: var(--mut); background: rgba(14, 17, 21, .85); padding: 0 4px; letter-spacing: .04em; white-space: nowrap; }
.plot .lab.mark { color: var(--a); }
.vols { display: flex; gap: 2px; height: 28px; align-items: flex-end; }
.vols span { flex: 1; }
.chart-empty { height: 184px; display: grid; place-items: center; color: var(--dim); font-size: 11px; letter-spacing: .06em; border-bottom: 1px solid var(--line); text-align: center; padding: 0 20px; }
.duo { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border-top: 1px solid var(--line); margin-top: 10px; }
.duo > div { background: var(--pane); padding: 16px 18px; display: flex; flex-direction: column; }
.duo .sb { flex: 1 1 300px; gap: 14px; }
.duo .fc { flex: 1 1 260px; }
.k2 { font-size: 10px; letter-spacing: .1em; color: var(--mut); }
.duo .fc .k2 { margin-bottom: 4px; }
.pt { display: flex; flex-direction: column; gap: 6px; }
.pt-top { display: flex; justify-content: space-between; gap: 8px; }
.pt-bar { height: 6px; background: var(--sub); }
.pt-bar i { display: block; height: 100%; }
.pt-note { font-size: 10px; color: var(--dim); }
.ck { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--sub); }
.ck > span:first-child { color: var(--soft); }
.bd { text-align: center; font-size: 10px; padding: 2px 0; }
.bd.ok { background: var(--gs); color: var(--g); }
.bd.warn { background: var(--as); color: var(--a); }
.bd.fail { background: var(--rs); color: var(--r); }
.bd.na { color: var(--dim); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-top: 10px; }
.tiles > div { background: var(--pane); padding: 8px 0; display: flex; flex-direction: column; gap: 3px; }
.tiles > div + div { padding-left: 12px; }
.tiles span { font-size: 10px; color: var(--dim); }
.blockh { padding: 10px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--sub); font-size: 10px; letter-spacing: .1em; color: var(--mut); display: flex; justify-content: space-between; gap: 10px; }
.ft-row { display: grid; grid-template-columns: minmax(120px, 1.4fr) repeat(4, minmax(60px, 1fr)); gap: 10px; padding: 6px 18px; border-bottom: 1px solid var(--row); font-size: 11px; }
.ft-row > span:first-child { color: var(--soft); }
.ft-row > span:not(:first-child) { text-align: right; }
.ft-h { font-size: 10px; letter-spacing: .06em; }
.ft-h > span, .ft-h > span:first-child { color: var(--dim); }
.cl { display: grid; grid-template-columns: minmax(0, 1fr) 80px 70px; gap: 10px; padding: 6px 18px; border-bottom: 1px solid var(--row); font-size: 11px; cursor: pointer; }
.cl:hover { background: var(--hover); }
.cl.me { box-shadow: inset 2px 0 0 var(--g); }
.cl > span:not(:first-child) { text-align: right; }
.mix { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 8px 18px; border-top: 1px solid var(--sub); font-size: 10px; letter-spacing: .08em; color: var(--dim); }
.mix b { color: var(--text); font-weight: 500; }
.kl { display: grid; grid-template-columns: minmax(0, 1fr) 70px 58px 46px; gap: 10px; align-items: center; padding: 6px 18px; border-bottom: 1px solid var(--row); font-size: 11px; }
.kl > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kl > span:not(:first-child) { text-align: right; }
.kl a { color: inherit; text-decoration: none; }
.kl a:hover { text-decoration: underline; }
.xa { padding: 7px 18px; border-bottom: 1px solid var(--row); font-size: 11px; line-height: 1.7; color: var(--soft); }
.xa a { color: var(--soft); text-decoration: none; margin-right: 8px; }
.xa a:hover { color: var(--text); text-decoration: underline; }
.kt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.kt > div { background: var(--pane); padding: 8px 18px; display: flex; flex-direction: column; gap: 3px; font-size: 11px; }
.kt span { font-size: 10px; color: var(--dim); letter-spacing: .06em; }

/* ---------- KI-Briefing ---------- */
.brief { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.blk { display: flex; flex-direction: column; gap: 6px; }
.blk > .k { font-size: 10px; letter-spacing: .1em; color: var(--dim); }
.what { margin: 0; font-family: var(--cond); font-size: 16px; line-height: 1.45; color: var(--text); text-wrap: pretty; }
.li { display: flex; gap: 8px; font-family: var(--cond); font-size: 14px; line-height: 1.4; color: var(--soft); }
.li b { font-family: var(--mono); font-weight: 400; }
.fazit { font-family: var(--cond); font-size: 14px; line-height: 1.4; color: var(--text); border-left: 2px solid var(--a); padding-left: 10px; }
.trag { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.segs { display: flex; gap: 3px; }
.segs i { width: 16px; height: 8px; background: var(--off); }
.segs i.on { background: var(--a); }
.crit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; font-size: 10px; color: var(--dim); letter-spacing: .04em; }
.crit b { display: block; color: var(--text); font-size: 13px; font-weight: 400; }
.quote { font-family: var(--cond); font-size: 13px; color: var(--mut); line-height: 1.4; border-left: 2px solid var(--line); padding-left: 10px; max-height: 5.8em; overflow: hidden; white-space: pre-line; }
.meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10px; color: var(--dim); letter-spacing: .06em; flex-wrap: wrap; }
.vg { display: flex; flex-direction: column; margin-top: 4px; font-size: 11px; }
.vg > span { font-size: 10px; letter-spacing: .1em; padding-bottom: 4px; }
.vg a { display: grid; grid-template-columns: minmax(0, 1fr) auto 70px; gap: 10px; padding: 5px 0; border-top: 1px solid var(--row); color: inherit; text-decoration: none; }
.vg a:hover { background: var(--hover); }
.vg a > span:last-child { text-align: right; }

/* ---------- Track Record ---------- */
.tabs-s { display: flex; gap: 2px; }
.tabs-s button { padding: 3px 8px; color: var(--mut); font-size: 10px; letter-spacing: .1em; }
.tabs-s button.on { background: var(--text); color: var(--bg); }
.tr-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tr-stats > div { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.tr-stats > div + div { border-left: 1px solid var(--line); }
.tr-stats span { font-size: 10px; color: var(--dim); }
.tr-stats b { font-size: 18px; font-weight: 400; }
.outs { padding: 12px 14px 4px; display: flex; gap: 3px; height: 84px; }
.outs > div { flex: 1; display: flex; flex-direction: column; }
.outs .u { flex: 1; display: flex; align-items: flex-end; }
.outs .d { flex: 1; display: flex; align-items: flex-start; }
.outs .z { height: 1px; background: var(--off); }
.outs .u i { width: 100%; background: var(--g); }
.outs .d i { width: 100%; background: var(--r); }
.tr-cap { padding: 0 14px 8px; font-size: 10px; color: var(--dim); }
.hr { display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px 70px; gap: 8px; padding: 7px 14px; border-bottom: 1px solid var(--row); font-size: 11px; }
.hr > span:nth-child(2) { color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr > span:nth-child(n+3) { text-align: right; }
.hr-h { padding: 6px 14px; font-size: 10px; color: var(--dim); letter-spacing: .06em; border-top: 1px solid var(--line); border-bottom: 1px solid var(--sub); }
.hr-h > span:nth-child(2) { color: var(--dim); }
.hr[data-open] { cursor: pointer; }
.hr[data-open]:hover { background: var(--hover); }

/* ---------- Footer, Regeln, Toast ---------- */
.foot { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; padding: 8px 16px; border-top: 1px solid var(--line); background: var(--pane); font-size: 10px; letter-spacing: .06em; color: var(--dim); }
.foot .lnk { border: 1px solid var(--line); }
.modal { position: fixed; inset: 0; z-index: 30; background: rgba(5, 6, 8, .78); display: grid; place-items: center; padding: 16px; }
.modal .pane { width: 100%; max-width: 660px; max-height: 86vh; overflow: auto; border: 1px solid var(--line); }
.rules { padding: 4px 18px 18px; font-family: var(--cond); font-size: 14px; line-height: 1.45; color: var(--soft); }
.rules h4 { font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--g); margin: 16px 0 8px; }
.rules ul { margin: 0; padding-left: 16px; display: grid; gap: 3px; }
.rules p { margin: 0; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); background: var(--g); color: var(--bg); padding: 8px 14px; font-size: 11px; font-weight: 600; letter-spacing: .06em; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; z-index: 40; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
/* ---------- KI-Gehirn ---------- */
.brain { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.45fr) minmax(0, 1.1fr) minmax(270px, .95fr); border-bottom: 1px solid var(--line); background: var(--pane); }
.brain.closed { display: flex; }
.bc { padding: 12px 16px 14px; border-right: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.bc:last-child { border-right: 0; }
.bh { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .1em; color: var(--mut); white-space: nowrap; }
.bh .t { color: var(--text); display: flex; align-items: center; gap: 8px; }
.bh .dim { overflow: hidden; text-overflow: ellipsis; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--g); flex: none; animation: pulse 2.4s infinite; }
.pulse.busy { background: var(--a); animation-duration: .9s; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 227, 154, .45); } 70% { box-shadow: 0 0 0 7px rgba(79, 227, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 227, 154, 0); } }
.b-big { display: flex; align-items: baseline; gap: 10px; font-size: 30px; font-weight: 500; line-height: 1; }
.b-big small { font-size: 10px; color: var(--dim); letter-spacing: .1em; font-weight: 400; }
.b-kv { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; font-size: 11px; color: var(--mut); }
.b-kv b { color: var(--text); font-weight: 400; text-align: right; }
.b-models { display: flex; height: 4px; background: var(--off); gap: 1px; }
.b-models i { display: block; height: 100%; }
.b-leg { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 10px; color: var(--dim); }
.b-leg i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; vertical-align: 1px; }
.b-act { margin-top: auto; font-size: 10px; letter-spacing: .06em; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-act b { color: var(--soft); font-weight: 400; }
.b-text { margin: 0; font-family: var(--cond); font-size: 15px; line-height: 1.45; color: var(--text); text-wrap: pretty; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 10px; letter-spacing: .06em; padding: 3px 8px; border: 1px solid var(--line); color: var(--soft); white-space: nowrap; }
.chip b { font-weight: 500; margin-right: 6px; }
.chip.hot b { color: var(--g); } .chip.cool b { color: var(--r); } .chip.new b { color: var(--a); } .chip.run b { color: var(--mut); }
.b-warn { font-family: var(--cond); font-size: 13px; color: var(--a); border-left: 2px solid var(--a); padding-left: 8px; }
.b-learn { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.b-learn li { display: grid; grid-template-columns: 22px 1fr; font-family: var(--cond); font-size: 13.5px; line-height: 1.4; color: var(--soft); }
.b-learn li > span:first-child { font-family: var(--mono); font-size: 10px; color: var(--dim); padding-top: 2px; }
.b-fokus { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 10px; letter-spacing: .08em; color: var(--dim); }
.b-fokus [data-open] { color: var(--g); cursor: pointer; letter-spacing: .02em; font-size: 11px; }
.b-fokus [data-open]:hover { text-decoration: underline; }
.b-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.b-stats div { display: flex; flex-direction: column; gap: 3px; }
.b-stats span { font-size: 10px; letter-spacing: .08em; color: var(--dim); }
.b-stats b { font-size: 18px; font-weight: 400; }
.curve { display: flex; align-items: flex-end; gap: 4px; height: 46px; }
.curve > div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 3px; height: 100%; min-width: 0; }
.curve i { display: block; background: var(--g); min-height: 2px; }
.curve span { font-size: 9px; color: var(--dim); text-align: center; }
.b-cmp { display: grid; grid-template-columns: 1fr auto auto; gap: 3px 10px; font-size: 10px; letter-spacing: .04em; color: var(--mut); }
.b-cmp b { font-weight: 400; color: var(--text); text-align: right; }
.b-cmp .dim { text-align: right; }
.b-log { display: flex; flex-direction: column; gap: 3px; font-size: 10.5px; }
.b-log > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 6px; }
.b-log > div > span:last-child { color: var(--soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.b-log .who { color: var(--mut); letter-spacing: .06em; font-size: 9.5px; font-weight: 500; margin-right: 4px; }
.b-lessons { display: flex; flex-direction: column; gap: 9px; }
.b-lessons .lh { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 10px; letter-spacing: .06em; color: var(--mut); }
.b-lessons .lh b { font-weight: 500; }
.b-lessons p { margin: 3px 0 0; font-family: var(--cond); font-size: 13.5px; line-height: 1.38; color: var(--soft); }
.b-note { margin: 0; font-family: var(--cond); font-size: 12.5px; line-height: 1.4; color: var(--dim); }
.b-muster { margin-top: auto; display: flex; flex-direction: column; gap: 3px; font-family: var(--cond); font-size: 12.5px; color: var(--soft); padding-top: 8px; border-top: 1px solid var(--sub); }
.b-muster .dim { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.b-mix { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 10px; letter-spacing: .06em; color: var(--dim); padding-top: 8px; border-top: 1px solid var(--sub); }
.b-mix b { color: var(--text); font-weight: 400; }
.b-line { flex: 1; display: flex; align-items: center; gap: 14px; padding: 9px 16px; font-size: 10px; letter-spacing: .08em; color: var(--mut); white-space: nowrap; overflow: hidden; }
.b-line .txt { overflow: hidden; text-overflow: ellipsis; color: var(--soft); letter-spacing: .02em; }
/* ---------- AI Trader ---------- */
.bot { display: grid; grid-template-columns: minmax(250px, .85fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(270px, 1.15fr); border-bottom: 1px solid var(--line); background: var(--bg); }
.bot .b-big { font-size: 32px; flex-wrap: wrap; }
.bot .b-big small { font-size: 11px; letter-spacing: .04em; }
.pulse.off { background: var(--r); animation: none; }
svg.eq { width: 100%; height: 52px; display: block; }
.bp { display: grid; grid-template-columns: minmax(0, 1.2fr) 62px 56px 66px minmax(0, 1.3fr) 48px; gap: 8px; align-items: center; font-size: 11px; padding: 4px 0; border-bottom: 1px solid var(--sub); cursor: pointer; }
.bp:hover { background: var(--hover); }
.bp-h { font-size: 9.5px; letter-spacing: .08em; color: var(--dim); cursor: default; padding-top: 0; }
.bp-h:hover { background: none; }
.bp .tk { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; }
.bp .st { font-size: 10px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw { display: flex; gap: 10px; font-size: 10.5px; color: var(--soft); cursor: pointer; }
.b-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px 10px; }
.b-grid div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b-grid span { font-size: 9.5px; letter-spacing: .08em; color: var(--dim); }
.b-grid b { font-size: 13px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bot .b-log [data-open] { cursor: pointer; }
em.bot { font-style: normal; font-size: 9px; letter-spacing: .06em; padding: 1px 5px; margin-left: 6px; background: #1a2440; color: #6aa8ff; }
.tl { padding: 10px 0; border-bottom: 1px solid var(--sub); cursor: pointer; }
.tl:hover { background: var(--hover); }
.tl-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 11px; }
.tl p { margin: 5px 0 0; font-family: var(--cond); font-size: 13.5px; line-height: 1.4; color: var(--soft); }
.tl p.dim { color: var(--dim); font-family: var(--mono); font-size: 10.5px; }
.tl-m { font-size: 9.5px; letter-spacing: .06em; }
@media (max-width: 1200px) {
  .brain { grid-template-columns: 1fr 1fr; }
  .bot { grid-template-columns: 1fr 1fr; }
  .bot .bc:nth-child(2) { border-right: 0; }
  .bot .bc:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bc:nth-child(2) { border-right: 0; }
  .bc:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .c-center { order: 1; } .c-right { order: 2; } .c-left { order: 3; }
  .bar form { order: 20; flex: 1 1 100%; border-right: 0; border-top: 1px solid var(--line); }
  .bar input { width: 100%; }
  .bar .sp { display: none; }
}
@media (max-width: 600px) {
  .bar { position: static; }
  .bar .hide-s, .bar .logo span { display: none; }
  .bar > * { padding: 9px 11px; }
  .bar .cd { order: 19; flex: 1 1 100%; min-width: 0; border-right: 0; border-top: 1px solid var(--line); }
  .bar .play { margin-left: auto; border-left: 1px solid var(--line); }
  .rt-wrap { min-width: 0; }
  .rt { grid-template-columns: 22px minmax(0, 1fr) 62px 62px 50px; gap: 8px; padding: 10px 12px; }
  .rt > :nth-child(3), .rt > :nth-child(5), .rt > :nth-child(6) { display: none; }
  .sc { min-width: 40px; }
  .dh { padding: 14px 14px 12px; }
  .dh-r { gap: 10px 18px; width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .kv { text-align: left; }
  .big { font-size: 28px; }
  .chart, .duo > div { padding-left: 14px; padding-right: 14px; }
  .ft-row { grid-template-columns: minmax(92px, 1.2fr) repeat(4, minmax(48px, 1fr)); gap: 6px; padding: 6px 14px; }
  .blockh, .cl, .kl, .mix { padding-left: 14px; padding-right: 14px; }
  .kl { grid-template-columns: minmax(0, 1fr) 62px 46px; }
  .kl > :nth-child(3) { display: none; }
  .kt { grid-template-columns: 1fr 1fr; }
  .kt > div, .xa { padding-left: 14px; padding-right: 14px; }
  .crit { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .brain { grid-template-columns: 1fr; }
  .bot { grid-template-columns: 1fr; }
  .bot .bc { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; }
  .bp { grid-template-columns: minmax(0, 1fr) 52px 60px 44px; }
  .bp > :nth-child(2), .bp > :nth-child(5) { display: none; }
  .bc { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; }
  .b-line { padding: 9px 14px; }
  .b-line { flex-wrap: wrap; white-space: normal; gap: 6px 14px; }
  .b-line .txt { flex-basis: 100%; order: 9; white-space: nowrap; }
}

/* Lernen: Trefferquote pro Merkmal */
.lr { display: grid; grid-template-columns: 130px 1fr 40px 52px 60px 80px; gap: 8px; align-items: center; font-size: 11px; padding: 3px 0; border-top: 1px solid var(--line); }
.lr.lr-h { color: var(--dim); font-size: 10px; letter-spacing: .1em; border-top: 0; }
.lr .r { text-align: right; }
.lr i { display: block; height: 4px; background: var(--off); }
.lr i b { display: block; height: 100%; }
@media (max-width: 640px) { .lr { grid-template-columns: 1fr 34px 42px 52px; } .lr > span:first-child, .lr i { display: none; } }

/* Team-Tisch: Rollen im Uhrzeigersinn um den Tisch, Zahlen schweben darueber */
.bot .tbl { grid-column: 1 / -1; border-right: 0; border-top: 1px solid var(--line); }
.tt { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 1.25fr)) minmax(0, 1fr); grid-template-areas: ". chef rug risk ." "ana desk desk desk hae" ". strat coach lern ."; gap: 12px 16px; align-items: center; padding: 4px 0 6px; }
.seat { display: flex; flex-direction: column; gap: 6px; min-width: 0; opacity: .55; transition: opacity .3s; }
.seat.on { opacity: 1; }
.seat.off .av { --c: var(--r) !important; }
.seat.off { opacity: 1; }
.seat.off .say { outline-color: color-mix(in srgb, var(--r) 45%, var(--line)); }
.seat.plan { opacity: .8; }
.seat.plan .who-row em { color: var(--a); }
.seat[data-open] { cursor: pointer; }
.seat:is([style*="chef"], [style*="rug"], [style*="risk"]) { align-self: end; }
.seat:is([style*="strat"], [style*="coach"], [style*="lern"]) { align-self: start; flex-direction: column-reverse; }
.say { margin: 0; position: relative; font-family: var(--cond); font-size: 12px; line-height: 1.35; color: var(--soft); background: var(--sub); border: 0; border-bottom: 6px solid transparent; outline: 1px solid var(--line); outline-offset: -1px; padding: 6px 8px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.seat.on .say { outline-color: color-mix(in srgb, var(--g) 35%, var(--line)); }
.say.old { color: var(--dim); background: transparent; }
.who-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.who-row span { display: flex; flex-direction: column; min-width: 0; }
.who-row b { font-size: 11px; letter-spacing: .08em; font-weight: 500; color: var(--text); }
.who-row em { font-style: normal; font-size: 9.5px; letter-spacing: .06em; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seat.on .who-row em { color: var(--g); }
.seat.off .who-row em { color: var(--r); }
.av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 500; letter-spacing: .04em; color: var(--c); border: 1px solid var(--c); background: var(--bg); }
.seat.on .av { box-shadow: 0 0 0 0 var(--c); animation: seat 2.2s infinite; }
@keyframes seat { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 55%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.sst { font-size: 10px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desk { position: relative; min-height: 150px; border-radius: 50%; border: 1px solid var(--line); background: radial-gradient(ellipse at center, #121821 0%, var(--pane) 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 28px; }
.chips { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 10px; justify-content: center; }
.fl { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 12px; background: rgba(11, 13, 16, .85); border: 1px solid var(--line); box-shadow: 0 8px 18px -10px #000; animation: float 6s ease-in-out infinite; }
.fl span { font-size: 9px; letter-spacing: .1em; color: var(--dim); white-space: nowrap; }
.fl b { font-size: 14px; font-weight: 400; color: var(--text); white-space: nowrap; }
@keyframes float { 50% { transform: translateY(-5px); box-shadow: 0 14px 20px -12px #000; } }
.desk-l { font-size: 9px; letter-spacing: .1em; color: var(--off); text-align: center; }
@media (prefers-reduced-motion: reduce) { .fl, .seat.on .av { animation: none; } }
@media (max-width: 900px) {
  .tt { grid-template-columns: 1fr 1fr; grid-template-areas: "desk desk" "ana chef" "rug risk" "hae lern" "coach strat"; }
  .seat, .seat:is([style*="strat"], [style*="coach"], [style*="lern"]) { align-self: start; flex-direction: column-reverse; }
  .desk { border-radius: 40px; padding: 14px; }
}
@media (max-width: 600px) {
  .chips { grid-template-columns: 1fr 1fr; width: 100%; }
  .tt { gap: 12px 10px; }
}

/* Bubble Map im Dossier */
.bm { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 14px; padding: 10px 18px 14px; align-items: center; }
.bmap { width: 100%; height: auto; display: block; }
.bmap .ln line { stroke: var(--mut); stroke-width: .6; opacity: .55; }
.bmap circle.cl { fill: #8b6cf0; fill-opacity: .55; stroke: #b9a6ff; stroke-width: .6; }
.bmap circle.cl.big { fill: var(--r); fill-opacity: .5; stroke: var(--r); }
.bmap circle.lo { fill: var(--off); stroke: var(--line); stroke-width: .6; }
.bmap circle.hub { fill: var(--soft); }
.bmv { display: flex; flex-direction: column; gap: 6px; font-size: 11px; line-height: 1.45; }
.bmv b { font-weight: 500; letter-spacing: .08em; }
@media (max-width: 600px) { .bm { grid-template-columns: 1fr; } }

/* ---------- Sniper OS ---------- */
.bar a.other { color: var(--soft); text-decoration: none; letter-spacing: .06em; }
.bar a.other:hover { color: var(--g); background: var(--selbg); }
.duel { display: grid; grid-template-columns: minmax(200px, .8fr) 1fr 1fr; border-bottom: 1px solid var(--line); background: var(--pane); }
.duel > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 16px; border-right: 1px solid var(--line); min-width: 0; font-size: 10px; letter-spacing: .06em; color: var(--mut); }
.duel > div:last-child { border-right: 0; }
.du-mid b { font-size: 13px; font-weight: 500; color: var(--text); letter-spacing: .08em; }
.du-side b { font-size: 20px; font-weight: 400; letter-spacing: 0; }
.du-n { color: var(--soft); letter-spacing: .1em; display: flex; gap: 8px; align-items: center; }
.du-n em { font-style: normal; font-size: 9px; padding: 1px 6px; background: var(--g); color: var(--bg); font-weight: 600; }
.du-side.lead { background: linear-gradient(90deg, var(--gs), transparent 70%); }
.lf { display: grid; grid-template-columns: 38px minmax(0, 1fr) 44px 52px 62px 82px; gap: 8px; padding: 5px 14px; font-size: 11px; border-bottom: 1px solid var(--row); }
.lf-h { font-size: 10px; color: var(--dim); letter-spacing: .06em; border-bottom: 1px solid var(--sub); }
.lf .tk { color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf .r:last-child { font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
#trades .tl { padding: 10px 14px; }
.sr { padding: 9px 14px; border-bottom: 1px solid var(--sub); }
.sr.on { background: var(--selbg); box-shadow: inset 2px 0 0 var(--g); }
.sr-h { display: grid; grid-template-columns: 16px 64px 64px minmax(0, 1fr); gap: 8px; font-size: 11px; align-items: baseline; }
.sr-h b { font-weight: 400; }
.sr-h .dim { font-size: 10px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr p { margin: 4px 0 0; font-family: var(--cond); font-size: 12.5px; line-height: 1.35; color: var(--soft); }
.b-log.lg { padding: 10px 14px; gap: 5px; max-height: 520px; overflow: auto; }
.b-log.lg > div > span:last-child { -webkit-line-clamp: 3; }
@media (max-width: 900px) { .duel { grid-template-columns: 1fr 1fr; } .du-mid { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .lf { grid-template-columns: 34px minmax(0, 1fr) 40px 50px 70px; padding: 5px 12px; } .lf > :nth-child(5) { display: none; } .du-side b { font-size: 17px; } }
.c-left { flex: 1.3 1 380px; }
.c-center { flex: 2 1 460px; }
.lf { grid-template-columns: 32px minmax(64px, 1fr) 40px 48px 58px 78px; }
.os { overflow-x: clip; }
.bh .dim { min-width: 0; }
@media (max-width: 600px) {
  .bot { grid-template-columns: minmax(0, 1fr); }
  .lf { grid-template-columns: 32px minmax(0, 1fr) 40px 50px 78px; }
}
