/* =====================================================================
   F5 Markets · Design-System
   Dunkles Trading-Interface: Lime/Cyan-Akzente, Manrope + DM Mono.
   ===================================================================== */

/* Schriften liegen auf dem eigenen Server: beim Seitenaufruf keine Verbindung zu Google */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/dmmono-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/dmmono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/dmmono-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/dmmono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #05070a;
  --bg-2: #090d11;
  --surface: rgba(16, 22, 27, .78);
  --surface-solid: #0e1418;
  --surface-2: #131b20;
  --surface-3: #1a242a;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --line-3: rgba(255, 255, 255, .2);
  --text: #eef4f3;
  --text-2: #b9c5ca;
  --muted: #7d8c95;
  --muted-2: #5b6a73;
  --lime: #c9f36d;
  --lime-2: #d9ff86;
  --cyan: #69e2d1;
  --red: #ff7b74;
  --gold: #e8b960;
  --blue: #7aa7ff;
  --grad: linear-gradient(120deg, #d9ff86 0%, #c9f36d 38%, #69e2d1 100%);
  --grad-soft: linear-gradient(140deg, rgba(201, 243, 109, .14), rgba(105, 226, 209, .07));
  --up: var(--cyan);
  --down: var(--red);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 60px -24px rgba(0, 0, 0, .85);
  --shadow-lg: 0 40px 120px -30px rgba(0, 0, 0, .95);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --sidebar: 268px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--text);
  font: 500 14px/1.5 var(--font); letter-spacing: -.005em;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(201, 243, 109, .85); color: #0a0d10; }
:focus-visible { outline: 2px solid rgba(201, 243, 109, .7); outline-offset: 2px; border-radius: 8px; }

* { scrollbar-width: thin; scrollbar-color: #26323a transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #222d34; border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #33424b; }

.i { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.up { color: var(--up) !important; }
.down { color: var(--down) !important; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.noscript { position: fixed; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; background: var(--bg); z-index: 999; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: var(--lime);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: pulse 2.2s ease-in-out infinite; }

/* ---------------------------------------------------------------------
   Hintergrund
   --------------------------------------------------------------------- */
.bg-layer { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-aurora {
  position: absolute; inset: -25vmax;
  background:
    radial-gradient(36vmax 28vmax at 20% 14%, rgba(201, 243, 109, .10), transparent 70%),
    radial-gradient(40vmax 32vmax at 84% 6%, rgba(105, 226, 209, .11), transparent 70%),
    radial-gradient(38vmax 34vmax at 62% 96%, rgba(80, 120, 255, .06), transparent 70%);
  animation: aurora 30s ease-in-out infinite alternate;
}
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 85% 60% at 50% 0%, #000 25%, transparent 80%);
}
.bg-noise {
  position: absolute; inset: 0; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------
   Animationen
   --------------------------------------------------------------------- */
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) rotate(0) scale(1); } 50% { transform: translate3d(3vmax, -2vmax, 0) rotate(7deg) scale(1.07); } 100% { transform: translate3d(-3vmax, 2vmax, 0) rotate(-5deg) scale(1.03); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes skeleton { to { background-position: -200% 0; } }
@keyframes spinAngle { to { --angle: 360deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); } 30%, 50%, 70% { transform: translateX(-4px); } 40%, 60% { transform: translateX(4px); } }
@keyframes flashUp { 0% { color: var(--lime); text-shadow: 0 0 16px rgba(201, 243, 109, .8); } 100% { text-shadow: none; } }
@keyframes flashDown { 0% { color: var(--red); text-shadow: 0 0 16px rgba(255, 123, 116, .8); } 100% { text-shadow: none; } }
@keyframes newGlow { 0% { box-shadow: 0 0 0 0 rgba(201, 243, 109, .55); } 70% { box-shadow: 0 0 0 14px rgba(201, 243, 109, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 243, 109, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes mailFly { 0% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-6px) rotate(-6deg); } 60% { transform: translateY(0) rotate(4deg); } 100% { transform: translateY(0) rotate(0); } }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.flash-up { animation: flashUp 1.1s ease-out; }
.flash-down { animation: flashDown 1.1s ease-out; }

/* gestaffeltes Einblenden – Verzoegerung setzt app.js ueber --d */
.page.active .reveal { animation: rise .7s var(--ease) both; animation-delay: var(--d, 0ms); }

/* ---------------------------------------------------------------------
   Ladebildschirm
   --------------------------------------------------------------------- */
.boot { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 16px; background: var(--bg); transition: opacity .5s ease, visibility .5s; }
.boot.done { opacity: 0; visibility: hidden; }
.boot-mark { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #0a0d10; box-shadow: 0 0 60px rgba(201, 243, 109, .35); animation: float 2.4s ease-in-out infinite; }
.boot-mark .i { width: 34px; height: 34px; stroke-width: 2.4; }
.boot-name { font-weight: 800; letter-spacing: .02em; font-size: 15px; }
.boot-bar { width: 140px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 40%; border-radius: 3px; background: var(--grad); animation: bootBar 1.1s var(--ease) infinite; }
@keyframes bootBar { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }

/* ---------------------------------------------------------------------
   Marke
   --------------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; font-size: 16px; }
.brand-mark {
  position: relative; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  color: var(--lime); background: #0b0f12; isolation: isolate; box-shadow: 0 0 26px rgba(201, 243, 109, .25);
}
.brand-mark::before { content: ''; position: absolute; inset: -1.5px; border-radius: 12px; z-index: -2; background: conic-gradient(from var(--angle), #c9f36d, #69e2d1, #24323a, #c9f36d); animation: spinAngle 5s linear infinite; }
.brand-mark::after { content: ''; position: absolute; inset: 0; border-radius: 11px; z-index: -1; background: #0b0f12; }
.brand-mark .i { width: 20px; height: 20px; stroke-width: 2.4; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 11px; white-space: nowrap; overflow: hidden; isolation: isolate;
  font-weight: 700; font-size: 13px; color: var(--text);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .3s, color .2s, opacity .2s;
}
.btn:hover { background: rgba(255, 255, 255, .07); border-color: var(--line-3); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn .i { width: 16px; height: 16px; }
.btn-primary {
  color: #0a0d10; border-color: transparent; background: var(--grad); background-size: 160% auto;
  box-shadow: 0 10px 30px -12px rgba(201, 243, 109, .65), inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.btn-primary:hover { background: var(--grad); background-size: 160% auto; background-position: 100% 0; color: #0a0d10; box-shadow: 0 16px 40px -12px rgba(105, 226, 209, .7), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .05); border-color: transparent; color: var(--text); }
.btn-danger { color: var(--red); }
.btn-danger:hover { background: rgba(255, 123, 116, .08); border-color: rgba(255, 123, 116, .35); }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 12px; border-radius: 9px; }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 14px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; padding: 0; }
.btn-icon[aria-pressed="true"] { color: var(--gold); border-color: rgba(232, 185, 96, .45); background: rgba(232, 185, 96, .08); }
.btn-icon[aria-pressed="true"] .i { fill: currentColor; }
.btn .spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.loading .spinner { display: block; }
.btn.loading .btn-label { opacity: .7; }
.btn.loading { pointer-events: none; }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0); background: rgba(255, 255, 255, .32); animation: rippleAnim .6s ease-out forwards; z-index: -1; }
@keyframes rippleAnim { to { transform: scale(1); opacity: 0; } }

.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--text-2);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025); transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { color: var(--text); background: rgba(255, 255, 255, .06); border-color: var(--line-2); }
.icon-btn.sm { width: 32px; height: 32px; border-radius: 9px; }
.icon-btn.sm .i { width: 15px; height: 15px; }
.icon-btn.on { color: var(--gold); }
.icon-btn.on .i { fill: currentColor; }
.icon-btn.danger:hover { color: var(--red); border-color: rgba(255, 123, 116, .35); background: rgba(255, 123, 116, .07); }

.link { color: var(--lime); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: opacity .2s, gap .2s; }
.link:hover { opacity: .85; gap: 9px; }
.link .i { width: 15px; height: 15px; }

/* ---------------------------------------------------------------------
   Formulare
   --------------------------------------------------------------------- */
.input { position: relative; display: block; margin-bottom: 12px; }
.input input {
  width: 100%; height: 54px; padding: 20px 46px 6px 44px; border-radius: 13px; outline: 0;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); color: var(--text); font-size: 15px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.input input:hover { border-color: var(--line-3); }
.input input:focus { border-color: rgba(201, 243, 109, .65); background: rgba(201, 243, 109, .035); box-shadow: 0 0 0 4px rgba(201, 243, 109, .12); }
.input.invalid input { border-color: rgba(255, 123, 116, .7); box-shadow: 0 0 0 4px rgba(255, 123, 116, .1); }
.input-label { position: absolute; left: 44px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14.5px; pointer-events: none; transition: all .2s var(--ease); }
.input input:focus + .input-label,
.input input:not(:placeholder-shown) + .input-label { top: 16px; font-size: 11px; color: var(--lime); letter-spacing: .02em; }
.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; transition: color .2s; }
.input:focus-within .input-icon { color: var(--lime); }
.input-action { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: var(--muted); }
.input-action:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

.fld { display: flex; flex-direction: column; gap: 7px; }
.fld > span { font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.fld > span em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--muted-2); }
.fld input, .fld select, .fld textarea, select.select {
  width: 100%; height: 44px; padding: 0 13px; border-radius: 11px; outline: 0;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); color: var(--text); font-size: 14px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.fld textarea { height: auto; min-height: 110px; padding: 12px 13px; resize: vertical; line-height: 1.6; }
.fld select, select.select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a98a2' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.fld select option, select.select option { background: #0e1418; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--line-3); }
.fld input:focus, .fld select:focus, .fld textarea:focus, select.select:focus { border-color: rgba(201, 243, 109, .6); background-color: rgba(201, 243, 109, .03); box-shadow: 0 0 0 4px rgba(201, 243, 109, .11); }
.fld.invalid input, .fld.invalid select { border-color: rgba(255, 123, 116, .7); }
select.select { height: 36px; font-size: 12.5px; border-radius: 9px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px 22px 22px; }
.form-grid .full { grid-column: 1 / -1; }

.check { position: relative; display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-2); cursor: pointer; line-height: 1.5; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; display: grid; place-items: center; border: 1.5px solid var(--line-3); background: rgba(255, 255, 255, .03); transition: all .2s var(--ease); }
.check-box .i { width: 13px; height: 13px; stroke-width: 3; color: #0a0d10; transform: scale(0); transition: transform .25s var(--spring); }
.check input:checked + .check-box { background: var(--grad); border-color: transparent; }
.check input:checked + .check-box .i { transform: scale(1); }
.check input:focus-visible + .check-box { box-shadow: 0 0 0 3px rgba(201, 243, 109, .35); }

.switch { position: relative; width: 46px; height: 26px; border-radius: 26px; background: rgba(255, 255, 255, .1); border: 1px solid var(--line-2); transition: background .25s; flex: 0 0 auto; }
.switch i { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #dfe7ea; transition: transform .3s var(--spring); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.switch[aria-checked="true"] { background: var(--grad); border-color: transparent; }
.switch[aria-checked="true"] i { transform: translateX(20px); background: #0a0d10; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.toggle-row b { font-size: 13.5px; }

.form-error { display: flex; gap: 9px; align-items: flex-start; padding: 11px 13px; margin: 4px 0 14px; border-radius: 11px; font-size: 13px; color: #ffd2cf; background: rgba(255, 123, 116, .09); border: 1px solid rgba(255, 123, 116, .3); animation: shake .45s ease both; }
.form-error::before { content: '!'; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #0a0d10; background: var(--red); margin-top: 1px; }
.form-success { padding: 11px 13px; margin: 4px 0 14px; border-radius: 11px; font-size: 13px; color: #dcffd0; background: rgba(201, 243, 109, .08); border: 1px solid rgba(201, 243, 109, .3); animation: rise .4s var(--ease) both; }

/* Segment-Schalter mit gleitender Pille */
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 13px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); isolation: isolate; }
.seg button { position: relative; z-index: 1; height: 36px; padding: 0 16px; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--muted); transition: color .25s; white-space: nowrap; }
.seg button:hover { color: var(--text); }
.seg button.active { color: #0a0d10; }
.seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 9px; background: var(--grad); box-shadow: 0 6px 18px -6px rgba(201, 243, 109, .6); transition: transform .4s var(--ease), width .4s var(--ease); }
.seg-sm button { height: 30px; padding: 0 12px; font-size: 12px; }
.seg-sm { border-radius: 11px; }

.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip { height: 34px; padding: 0 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--text-2); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); transition: all .22s var(--ease); white-space: nowrap; }
.chip:hover { color: var(--text); border-color: var(--line-3); }
.chip.active { color: #0a0d10; background: var(--grad); border-color: transparent; box-shadow: 0 6px 18px -8px rgba(201, 243, 109, .7); }

.search-field { position: relative; display: flex; align-items: center; }
.search-field .i { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search-field input { height: 40px; width: 260px; padding: 0 12px 0 36px; border-radius: 11px; outline: 0; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: border-color .25s, box-shadow .25s, width .3s var(--ease); }
.search-field input:focus { border-color: rgba(201, 243, 109, .55); box-shadow: 0 0 0 4px rgba(201, 243, 109, .1); }

/* ---------------------------------------------------------------------
   Anmeldung
   --------------------------------------------------------------------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr); }
.auth-visual { position: relative; overflow: hidden; border-right: 1px solid var(--line); background: radial-gradient(90% 70% at 15% 10%, rgba(201, 243, 109, .09), transparent 60%), radial-gradient(80% 70% at 90% 90%, rgba(105, 226, 209, .09), transparent 60%), linear-gradient(160deg, #0a1013, #06090b); }
#authCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-visual-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 44px 56px; }
.auth-copy { max-width: 560px; animation: rise .9s .1s var(--ease) both; }
.auth-copy h1 { margin: 20px 0 18px; font-size: clamp(44px, 5.4vw, 78px); line-height: .98; letter-spacing: -.055em; font-weight: 800; }
.auth-copy h1 em, .h-xl em, .grad-text { font-style: normal; background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: shimmer 6s linear infinite; }
.auth-copy > p { font-size: 16.5px; line-height: 1.7; color: var(--text-2); max-width: 500px; }
.auth-features { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.auth-features li { display: flex; gap: 14px; align-items: center; animation: rise .8s var(--ease) both; }
.auth-features li:nth-child(1) { animation-delay: .3s; } .auth-features li:nth-child(2) { animation-delay: .4s; } .auth-features li:nth-child(3) { animation-delay: .5s; }
.auth-features li > span { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; color: var(--lime); background: var(--grad-soft); border: 1px solid rgba(201, 243, 109, .2); }
.auth-features b { display: block; font-size: 14.5px; }
.auth-features small { color: var(--muted); font-size: 13px; }
.auth-ticker { display: flex; gap: 10px; flex-wrap: wrap; animation: rise .8s .6s var(--ease) both; }
.tick-chip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 12px; background: rgba(10, 15, 18, .7); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: 12.5px; }
.tick-chip b { font-weight: 800; }
.tick-chip .num { color: var(--text); }

.auth-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 40px 32px; }
.auth-card {
  position: relative; width: min(440px, 100%); padding: 36px 34px 30px; border-radius: 24px; isolation: isolate;
  background: linear-gradient(170deg, rgba(20, 27, 32, .92), rgba(11, 15, 18, .95)); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg), 0 0 90px -40px rgba(201, 243, 109, .3);
  animation: popIn .8s .15s var(--ease) both;
}
.auth-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2; background: conic-gradient(from var(--angle), transparent 0deg, rgba(201, 243, 109, .65) 60deg, transparent 130deg, transparent 210deg, rgba(105, 226, 209, .55) 270deg, transparent 330deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinAngle 8s linear infinite; }
.auth-brand-mobile { display: none; margin-bottom: 26px; }
.auth-view { animation: rise .5s var(--ease) both; }
.auth-view h2 { font-size: 28px; letter-spacing: -.04em; font-weight: 800; margin-bottom: 6px; }
.auth-view > p.muted { font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
.auth-view .seg { width: 100%; margin-bottom: 20px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 16px; }
.auth-row .link { font-size: 13px; }
.auth-view .check.register-only { margin: 2px 0 16px; }
.auth-foot { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 18px; font-size: 12px; color: var(--muted); }
.auth-foot .i { width: 14px; height: 14px; color: var(--lime); }
.auth-legal { max-width: 440px; text-align: center; font-size: 11.5px; line-height: 1.6; color: var(--muted-2); }
.auth-legal .link { font-size: 11.5px; }
.auth[data-mode="login"] .register-only { display: none !important; }
.auth[data-mode="register"] .login-only { display: none !important; }
.auth-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; color: var(--lime); background: var(--grad-soft); border: 1px solid rgba(201, 243, 109, .22); }
.auth-icon .i { width: 26px; height: 26px; }
.mail-anim .i { animation: mailFly 2.4s ease-in-out infinite; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; font-size: 13px; font-weight: 700; color: var(--muted); }
.back-link .i { transform: rotate(180deg); width: 15px; height: 15px; }
.back-link:hover { color: var(--text); }
.auth-view .btn-ghost { margin-top: 8px; }
.auth-split { display: flex; justify-content: space-between; margin-top: 18px; }
.auth-split .link { font-size: 13px; }
.auth-split .link:last-child { color: var(--muted); }

.strength { display: flex; align-items: center; gap: 10px; margin: -4px 0 12px; font-size: 11.5px; color: var(--muted); }
.strength-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; width: 120px; }
.strength-bar i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); transition: background .3s; }
.strength[data-score="1"] .strength-bar i:nth-child(-n+1) { background: var(--red); }
.strength[data-score="2"] .strength-bar i:nth-child(-n+2) { background: var(--gold); }
.strength[data-score="3"] .strength-bar i:nth-child(-n+3) { background: var(--cyan); }
.strength[data-score="4"] .strength-bar i { background: var(--lime); }

/* ---------------------------------------------------------------------
   App-Rahmen
   --------------------------------------------------------------------- */
.app { min-height: 100vh; min-height: 100dvh; }
.sidebar {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 40; width: var(--sidebar);
  display: flex; flex-direction: column; gap: 14px; padding: 18px 14px 14px;
  background: linear-gradient(180deg, rgba(10, 14, 17, .92), rgba(7, 10, 12, .96)); border-right: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 6px; }
.sidebar-close { display: none; }
.side-nav { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; margin: 0 -4px; padding: 6px 4px; }
.side-group { display: flex; flex-direction: column; gap: 2px; }
.side-label { padding: 0 12px 6px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.side-nav a {
  position: relative; display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 11px;
  color: var(--text-2); font-weight: 600; font-size: 13.5px; transition: color .2s, background .2s;
}
.side-nav a .i { width: 18px; height: 18px; color: var(--muted); transition: color .2s, transform .3s var(--spring); }
.side-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.side-nav a:hover .i { color: var(--text); transform: scale(1.08); }
.side-nav a.active { color: var(--text); background: linear-gradient(90deg, rgba(201, 243, 109, .12), rgba(201, 243, 109, .02)); box-shadow: inset 0 0 0 1px rgba(201, 243, 109, .14); }
.side-nav a.active .i { color: var(--lime); }
.side-nav a.active::before { content: ''; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); box-shadow: 0 0 12px rgba(201, 243, 109, .7); }
.side-nav a span { flex: 1; }
.side-count { font: 500 11px/1 var(--mono); font-style: normal; padding: 4px 7px; border-radius: 999px; color: #0a0d10; background: var(--grad); }
.side-count.warn { background: var(--gold); }
.side-lock { display: none; width: 14px !important; height: 14px !important; color: var(--muted-2) !important; }
.app.is-locked .side-nav a[data-route="signals"] .side-lock, .app.is-locked .side-nav a[data-route="journal"] .side-lock { display: block; }
.side-upgrade { position: relative; overflow: hidden; padding: 16px; border-radius: 16px; border: 1px solid rgba(201, 243, 109, .22); background: linear-gradient(160deg, rgba(201, 243, 109, .1), rgba(105, 226, 209, .04)); }
.side-upgrade-glow { position: absolute; width: 140px; height: 140px; right: -50px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 243, 109, .35), transparent 70%); animation: float 5s ease-in-out infinite; }
.side-upgrade > .i { color: var(--lime); margin-bottom: 10px; }
.side-upgrade b { display: block; font-size: 14px; margin-bottom: 5px; }
.side-upgrade p { font-size: 12px; color: var(--text-2); line-height: 1.55; margin-bottom: 12px; }
.side-user { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); text-align: left; transition: background .2s, border-color .2s; }
.side-user:hover { background: rgba(255, 255, 255, .05); border-color: var(--line-2); }
.side-user-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.side-user-meta b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user-meta small { font-size: 11.5px; color: var(--muted); }
.side-user > .i { width: 15px; height: 15px; color: var(--muted); }

.avatar { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #0a0d10; background: var(--grad); box-shadow: 0 0 0 2px rgba(201, 243, 109, .18), 0 0 18px rgba(201, 243, 109, .25); text-transform: uppercase; }
.avatar-lg { width: 44px; height: 44px; font-size: 16px; }
.avatar-xl { width: 72px; height: 72px; font-size: 26px; }

.scrim { position: fixed; inset: 0; z-index: 39; background: rgba(3, 5, 7, .7); backdrop-filter: blur(3px); animation: fadeIn .25s ease both; }

.main { margin-left: var(--sidebar); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

/* Kursleiste */
.tape { position: relative; height: 34px; overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(6, 9, 11, .8); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tape-track { display: flex; width: max-content; height: 100%; align-items: center; animation: marquee 48s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape-item { display: inline-flex; align-items: center; gap: 9px; padding: 0 22px; font-size: 12px; white-space: nowrap; border-right: 1px solid var(--line); }
.tape-item b { font-weight: 800; color: var(--text-2); }
.tape-item .num { color: var(--text); }
.tape-item .chg { font: 500 11.5px var(--mono); }
.tape-item .sess-dot { width: 6px; height: 6px; }

/* Kopfzeile */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; height: 72px; padding: 0 32px; background: rgba(5, 7, 10, .72); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid var(--line); }
.menu-btn { display: none; }
.topbar-title { flex: 1; min-width: 0; }
.crumb { display: block; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.topbar-title h1 { font-size: 21px; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.search-btn { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 10px 0 13px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); color: var(--muted); font-size: 13px; transition: border-color .2s, color .2s; }
.search-btn:hover { color: var(--text); border-color: var(--line-2); }
.search-btn .i { width: 16px; height: 16px; }
.search-btn span { min-width: 90px; text-align: left; }
kbd { font: 500 10.5px var(--mono); padding: 3px 6px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--muted); }
.market-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); font-size: 12.5px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.market-pill i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.market-pill.open i { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.market-pill.open i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--lime); animation: ping 1.8s ease-out infinite; }
.market-pill.closed i { background: var(--gold); }
.dot-count { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; font: 500 10px/1 var(--mono); color: #0a0d10; background: var(--grad); box-shadow: 0 0 0 3px var(--bg); animation: popIn .4s var(--spring) both; }
.avatar-btn { border-radius: 50%; transition: transform .25s var(--spring); }
.avatar-btn:hover { transform: scale(1.06); }

.pop-wrap { position: relative; }
.popover { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; width: 320px; padding: 8px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(13, 18, 22, .97); backdrop-filter: blur(20px); box-shadow: var(--shadow-lg); transform-origin: top right; animation: popIn .28s var(--ease) both; }
.popover-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.popover-head .link { font-size: 12px; }
.notif-panel { width: 360px; }
.notif-list { max-height: 380px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.notif { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 10px; border-radius: 11px; text-align: left; transition: background .2s; }
.notif:hover { background: rgba(255, 255, 255, .045); }
.notif-icon { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); }
.notif-icon .i { width: 16px; height: 16px; }
.notif-icon.long { color: var(--cyan); background: rgba(105, 226, 209, .1); }
.notif-icon.short { color: var(--red); background: rgba(255, 123, 116, .1); }
.notif-icon.tp { color: var(--lime); background: rgba(201, 243, 109, .1); }
.notif-icon.sl { color: var(--red); background: rgba(255, 123, 116, .1); }
.notif b { display: block; font-size: 13px; }
.notif small { font-size: 11.5px; color: var(--muted); }
.notif.unread b::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--lime); vertical-align: middle; box-shadow: 0 0 8px var(--lime); }
.notif-empty { padding: 28px 16px; text-align: center; color: var(--muted); font-size: 13px; }
.user-panel { width: 280px; }
.user-panel-head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 12px; }
.user-panel-head b { display: block; font-size: 14px; }
.user-panel-head small { display: block; font-size: 12px; color: var(--muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-panel-plan { padding: 0 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-item { display: flex; align-items: center; gap: 11px; width: 100%; height: 40px; padding: 0 10px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--text-2); transition: background .2s, color .2s; text-align: left; }
.menu-item:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.menu-item .i { width: 16px; height: 16px; color: var(--muted); }
.menu-item.danger:hover { color: var(--red); }
.menu-item.danger:hover .i { color: var(--red); }

.plan-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--muted); }
.plan-badge.lifetime, .plan-badge.admin { color: #0a0d10; border-color: transparent; background: var(--grad); box-shadow: 0 0 18px rgba(201, 243, 109, .25); }
.plan-badge.monthly { color: var(--lime); border-color: rgba(201, 243, 109, .35); background: rgba(201, 243, 109, .08); }
.plan-badge.broker { color: var(--cyan); border-color: rgba(105, 226, 209, .35); background: rgba(105, 226, 209, .08); }
.plan-badge.none { color: var(--gold); border-color: rgba(232, 185, 96, .35); background: rgba(232, 185, 96, .07); }

.banner { display: flex; align-items: center; gap: 12px; margin: 16px 32px 0; padding: 12px 16px; border-radius: 14px; font-size: 13px; color: #ffe7bd; background: linear-gradient(90deg, rgba(232, 185, 96, .12), rgba(232, 185, 96, .03)); border: 1px solid rgba(232, 185, 96, .3); animation: rise .5s var(--ease) both; }
.banner .i { color: var(--gold); }
.banner span { flex: 1; }

.view { flex: 1; width: 100%; max-width: 1480px; margin: 0 auto; padding: 26px 32px 40px; }
.page { display: none; }
.page.active { display: block; animation: fadeIn .35s ease both; }
.page > * + * { margin-top: 20px; }

.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1480px; width: 100%; margin: 0 auto; padding: 22px 32px 30px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted-2); }
.foot b { color: var(--muted); margin-right: 10px; font-weight: 700; }
.foot .link { font-size: 12px; }

.tabbar { display: none; }

/* ---------------------------------------------------------------------
   Karten & Bausteine
   --------------------------------------------------------------------- */
.card {
  position: relative; border-radius: var(--radius); background: linear-gradient(170deg, rgba(19, 26, 31, .88), rgba(10, 14, 17, .88));
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .3s;
}
.card:hover { border-color: var(--line-2); }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 20px 14px; }
.card-head h3 { font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; }
.card-head p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.card-head .eyebrow + h3 { margin-top: 10px; }
.h-lg { font-size: 26px !important; letter-spacing: -.045em !important; }
.h-xl { font-size: clamp(32px, 4vw, 46px); line-height: 1.02; letter-spacing: -.05em; font-weight: 800; margin: 14px 0 16px; }
.section-title { font-size: 22px; font-weight: 800; letter-spacing: -.035em; }

.spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 243, 109, .07), transparent 45%); }
.spot:hover::before { opacity: 1; }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.tag-lime { color: var(--lime); border-color: rgba(201, 243, 109, .3); background: rgba(201, 243, 109, .07); }
.tag-cyan { color: var(--cyan); border-color: rgba(105, 226, 209, .3); background: rgba(105, 226, 209, .07); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }

.state-badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); white-space: nowrap; }
.state-badge.open { color: var(--lime); border-color: rgba(201, 243, 109, .35); background: rgba(201, 243, 109, .07); }
.state-badge.open::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-in-out infinite; }
.state-badge.closed { color: var(--gold); border-color: rgba(232, 185, 96, .35); background: rgba(232, 185, 96, .07); }
.state-badge.ok { color: var(--lime); border-color: rgba(201, 243, 109, .35); background: rgba(201, 243, 109, .07); }
.state-badge.pending { color: var(--gold); border-color: rgba(232, 185, 96, .35); background: rgba(232, 185, 96, .07); }
.state-badge.bad { color: var(--red); border-color: rgba(255, 123, 116, .35); background: rgba(255, 123, 116, .07); }

.live-dot { display: inline-flex; align-items: center; gap: 7px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: pulse 1.6s ease-in-out infinite; }

.note { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.note .i { width: 16px; height: 16px; margin-top: 2px; color: var(--gold); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: rgba(201, 243, 109, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9f36d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center no-repeat; }
.prose { padding: 0 20px 20px; color: var(--text-2); font-size: 13.5px; line-height: 1.7; }
.prose p + .ticks { margin-top: 14px; }

.sym-icon { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; font: 500 12px/1 var(--mono); color: var(--lime); background: var(--grad-soft); border: 1px solid rgba(201, 243, 109, .2); }
.sym-icon.sm { width: 30px; height: 30px; border-radius: 9px; font-size: 10.5px; }
.sym-icon.gold { color: var(--gold); background: linear-gradient(140deg, rgba(232, 185, 96, .18), rgba(232, 185, 96, .05)); border-color: rgba(232, 185, 96, .28); }
.sym-icon.fx { color: var(--cyan); background: linear-gradient(140deg, rgba(105, 226, 209, .16), rgba(105, 226, 209, .04)); border-color: rgba(105, 226, 209, .26); }
.sym-icon.idx { color: var(--blue); background: linear-gradient(140deg, rgba(122, 167, 255, .16), rgba(122, 167, 255, .04)); border-color: rgba(122, 167, 255, .26); }

.chg { font: 500 12px var(--mono); font-variant-numeric: tabular-nums; }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }

.skeleton { color: transparent !important; border-radius: 7px; background: linear-gradient(90deg, rgba(255, 255, 255, .045) 25%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, .045) 75%); background-size: 200% 100%; animation: skeleton 1.4s linear infinite; }

.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px 20px; text-align: center; color: var(--muted); font-size: 13.5px; }
.empty .empty-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--muted); background: rgba(255, 255, 255, .035); border: 1px solid var(--line); margin-bottom: 4px; }
.empty b { color: var(--text); font-size: 15px; }

/* ---------------------------------------------------------------------
   Dashboard
   --------------------------------------------------------------------- */
.hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hello h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.045em; margin: 10px 0 6px; }
.hello p { font-size: 14px; }
.hello-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hello-actions .btn.on { color: var(--lime); border-color: rgba(201, 243, 109, .35); background: rgba(201, 243, 109, .06); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { position: relative; overflow: hidden; padding: 18px 18px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(165deg, rgba(20, 27, 32, .9), rgba(11, 15, 18, .9)); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.kpi:hover { transform: translateY(-3px); border-color: rgba(201, 243, 109, .22); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .95); }
.kpi::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, var(--kpi-glow, rgba(201, 243, 109, .14)), transparent 70%); pointer-events: none; }
.kpi-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.kpi-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--kpi-color, var(--lime)); background: rgba(255, 255, 255, .045); border: 1px solid var(--line); }
.kpi-icon .i { width: 16px; height: 16px; }
.kpi-label { font: 500 10.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kpi-value { display: block; font: 500 28px/1.05 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi-sub { display: block; margin-top: 7px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi.lime { --kpi-color: var(--lime); }
.kpi.cyan { --kpi-color: var(--cyan); --kpi-glow: rgba(105, 226, 209, .14); }
.kpi.gold { --kpi-color: var(--gold); --kpi-glow: rgba(232, 185, 96, .14); }
.kpi.red { --kpi-color: var(--red); --kpi-glow: rgba(255, 123, 116, .12); }
.kpi.blue { --kpi-color: var(--blue); --kpi-glow: rgba(122, 167, 255, .14); }

.unlock { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 28px; border-radius: var(--radius-lg); border: 1px solid rgba(201, 243, 109, .25); background: linear-gradient(120deg, rgba(201, 243, 109, .1), rgba(105, 226, 209, .05) 60%, rgba(10, 14, 17, .9)); }
.unlock-glow { position: absolute; right: 10%; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 243, 109, .22), transparent 70%); animation: float 6s ease-in-out infinite; pointer-events: none; }
.unlock-copy { position: relative; max-width: 560px; }
.unlock h3 { font-size: 24px; font-weight: 800; letter-spacing: -.04em; margin: 10px 0 6px; }
.unlock p { color: var(--text-2); font-size: 13.5px; line-height: 1.65; }
.unlock-actions { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }

.market-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mcard { position: relative; overflow: hidden; text-align: left; padding: 16px 16px 0; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(165deg, rgba(20, 27, 32, .9), rgba(11, 15, 18, .9)); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.mcard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .95); }
.mcard.active { border-color: rgba(201, 243, 109, .4); box-shadow: 0 0 0 1px rgba(201, 243, 109, .12), 0 22px 44px -26px rgba(201, 243, 109, .35); }
.mcard.active::after { content: ''; position: absolute; left: 16px; right: 16px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: var(--grad); box-shadow: 0 0 12px rgba(201, 243, 109, .7); }
.mcard-top { display: flex; align-items: center; gap: 10px; }
.mcard-top > div { flex: 1; min-width: 0; }
.mcard-top b { display: block; font-size: 14px; }
.mcard-top small { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard-price { display: block; margin: 14px 0 2px; font: 500 22px/1.1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mcard-sub { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.mcard canvas.spark { width: calc(100% + 32px); height: 56px; margin: 6px -16px 0; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.dash-side { display: flex; flex-direction: column; gap: 20px; }

.chart-card { overflow: hidden; }
.chart-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 20px 6px; flex-wrap: wrap; }
.chart-id { display: flex; gap: 14px; align-items: center; }
.chart-id .sym-icon { width: 46px; height: 46px; border-radius: 14px; font-size: 13px; }
.chart-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chart-name b { font-size: 16px; font-weight: 800; }
.chart-name > span:not(.state-badge) { color: var(--muted); font-size: 12.5px; }
.chart-quote { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.chart-quote strong { font: 500 30px/1.1 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chart-quote .chg { font-size: 13.5px; padding: 3px 8px; border-radius: 7px; background: rgba(255, 255, 255, .04); }
.chart-quote .chg.up { background: rgba(105, 226, 209, .1); }
.chart-quote .chg.down { background: rgba(255, 123, 116, .1); }
.chart-stats { display: flex; gap: 26px; flex-wrap: wrap; padding: 6px 20px 4px; }
.chart-stats div { display: flex; flex-direction: column; gap: 3px; }
.chart-stats span { font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.chart-stats b { font: 500 13px/1.2 var(--mono); font-variant-numeric: tabular-nums; color: var(--text-2); }
.chart-wrap { position: relative; height: 380px; margin: 4px 0 0; }
#marketCanvas { width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.chart-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 13px; background: linear-gradient(180deg, rgba(10, 14, 17, .2), rgba(10, 14, 17, .55)); transition: opacity .4s; }
.chart-overlay.hide { opacity: 0; pointer-events: none; }
.loader-dots { display: inline-flex; gap: 6px; }
.loader-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 1s ease-in-out infinite; }
.loader-dots i:nth-child(2) { animation-delay: .15s; } .loader-dots i:nth-child(3) { animation-delay: .3s; }
.chart-overlay.error .loader-dots { display: none; }
.chart-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 10px 20px 16px; border-top: 1px solid var(--line); }
.chart-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend i { width: 14px; height: 0; border-top: 2px dashed currentColor; }

.sessions { padding: 4px 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.sess-row { display: flex; flex-direction: column; gap: 7px; }
.sess-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sess-line b { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.sess-line small { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.sess-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-2); flex: 0 0 auto; }
.sess-row.open .sess-dot { background: var(--lime); box-shadow: 0 0 9px var(--lime); animation: pulse 1.8s ease-in-out infinite; }
.sess-row.open .sess-line small { color: var(--lime); }
.sess-track { position: relative; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); overflow: hidden; }
.sess-block { position: absolute; top: 2px; bottom: 2px; border-radius: 4px; background: rgba(255, 255, 255, .08); transition: background .3s; }
.sess-row.open .sess-block { background: linear-gradient(90deg, rgba(201, 243, 109, .5), rgba(105, 226, 209, .45)); box-shadow: 0 0 14px rgba(201, 243, 109, .25); }
.sess-now { position: absolute; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px #fff; border-radius: 2px; z-index: 2; }
.sess-axis { display: flex; justify-content: space-between; margin-top: -4px; font: 500 9.5px/1 var(--mono); color: var(--muted-2); }
.sess-overlap { margin-top: 2px; padding: 10px 12px; border-radius: 11px; font-size: 12px; color: var(--text-2); background: rgba(201, 243, 109, .06); border: 1px solid rgba(201, 243, 109, .18); }
.sess-overlap b { color: var(--lime); }
.sess-overlap.off { background: rgba(255, 255, 255, .025); border-color: var(--line); color: var(--muted); }
.sess-overlap.off b { color: var(--text-2); }

.mini-results { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.mres { display: flex; align-items: center; gap: 11px; padding: 9px 8px; border-radius: 11px; transition: background .2s; }
.mres:hover { background: rgba(255, 255, 255, .03); }
.mres > div { flex: 1; min-width: 0; }
.mres b { display: block; font-size: 13px; }
.mres small { font-size: 11.5px; color: var(--muted); }
.res { font: 500 13px var(--mono); font-variant-numeric: tabular-nums; padding: 4px 8px; border-radius: 8px; white-space: nowrap; }
.res.win { color: var(--lime); background: rgba(201, 243, 109, .09); }
.res.loss { color: var(--red); background: rgba(255, 123, 116, .09); }
.res.be { color: var(--muted); background: rgba(255, 255, 255, .05); }

/* kompakte Signalzeile (Dashboard) */
.signal-list { display: flex; flex-direction: column; padding: 0 12px 12px; }
.srow { display: grid; grid-template-columns: auto minmax(110px, 1.2fr) auto minmax(0, 2.4fr) auto auto; align-items: center; gap: 16px; width: 100%; padding: 12px 10px; border-radius: 13px; text-align: left; transition: background .2s, transform .3s var(--ease); animation: rise .55s var(--ease) both; }
.srow + .srow { border-top: 1px solid var(--line); }
.srow:hover { background: rgba(255, 255, 255, .035); transform: translateX(3px); }
.srow-main b { display: block; font-size: 14px; }
.srow-main small { font-size: 11.5px; color: var(--muted); }
.srow-lvls { display: flex; gap: 18px; font: 500 12.5px var(--mono); font-variant-numeric: tabular-nums; color: var(--text-2); flex-wrap: wrap; }
.srow-lvls span em { font-style: normal; color: var(--muted-2); margin-right: 6px; font-size: 10.5px; letter-spacing: .08em; }
.srow > .i { width: 16px; height: 16px; color: var(--muted); }
.rr { font: 500 12px var(--mono); color: var(--text-2); padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); white-space: nowrap; }

.dir { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 8px; font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.dir .i { width: 13px; height: 13px; stroke-width: 2.4; }
.dir-long { color: var(--cyan); background: rgba(105, 226, 209, .1); border: 1px solid rgba(105, 226, 209, .25); }
.dir-short { color: var(--red); background: rgba(255, 123, 116, .1); border: 1px solid rgba(255, 123, 116, .25); }

.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-open { color: var(--lime); background: rgba(201, 243, 109, .08); border: 1px solid rgba(201, 243, 109, .25); }
.status-open::before { box-shadow: 0 0 8px currentColor; animation: pulse 1.6s ease-in-out infinite; }
.status-tp { color: #0a0d10; background: var(--grad); }
.status-sl { color: var(--red); background: rgba(255, 123, 116, .1); border: 1px solid rgba(255, 123, 116, .28); }
.status-cancelled { color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.status-pending { color: var(--gold); background: rgba(232, 185, 96, .08); border: 1px solid rgba(232, 185, 96, .28); }
.status-verified { color: var(--lime); background: rgba(201, 243, 109, .08); border: 1px solid rgba(201, 243, 109, .28); }
.status-rejected { color: var(--red); background: rgba(255, 123, 116, .08); border: 1px solid rgba(255, 123, 116, .28); }

/* ---------------------------------------------------------------------
   Signale
   --------------------------------------------------------------------- */
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.toolbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sig-summary { display: flex; gap: 10px; flex-wrap: wrap; }
.sum-chip { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); font-size: 12.5px; color: var(--text-2); }
.sum-chip b { font: 500 13.5px var(--mono); color: var(--text); }
.sum-chip i { width: 8px; height: 8px; border-radius: 50%; }

.signal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
.sig {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 18px;
  border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(165deg, rgba(20, 27, 32, .92), rgba(10, 14, 17, .92));
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; animation: rise .6s var(--ease) both;
}
.sig::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cyan); opacity: .9; }
.sig.short::before { background: var(--red); }
.sig.closed { opacity: .82; }
.sig.closed:hover { opacity: 1; }
.sig:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95), 0 0 40px -20px rgba(105, 226, 209, .25); }
.sig.short:hover { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95), 0 0 40px -20px rgba(255, 123, 116, .22); }
.sig.is-new { animation: rise .6s var(--ease) both, newGlow 1.6s .4s ease-out 2; border-color: rgba(201, 243, 109, .45); }
.sig-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sig-asset { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sig-asset b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.sig-asset small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sig-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sig-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lvl { padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); min-width: 0; }
.lvl span { display: block; font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.lvl b { display: block; font: 500 15px/1.1 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lvl small { display: block; margin-top: 4px; font: 500 11px var(--mono); color: var(--muted); }
.lvl-sl { border-color: rgba(255, 123, 116, .18); background: rgba(255, 123, 116, .04); }
.lvl-sl b { color: #ffb0ab; }
.lvl-tp { border-color: rgba(201, 243, 109, .2); background: rgba(201, 243, 109, .04); }
.lvl-tp b { color: var(--lime); }
.sig-progress { display: flex; flex-direction: column; gap: 8px; }
.track { position: relative; height: 8px; border-radius: 8px; background: linear-gradient(90deg, rgba(255, 123, 116, .5) 0%, rgba(255, 123, 116, .14) var(--entry, 40%), rgba(201, 243, 109, .14) var(--entry, 40%), rgba(201, 243, 109, .55) 100%); }
.track::before { content: ''; position: absolute; top: -4px; bottom: -4px; left: var(--entry, 40%); width: 2px; margin-left: -1px; border-radius: 2px; background: rgba(255, 255, 255, .55); }
.track .marker { position: absolute; top: 50%; left: var(--pos, 50%); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--marker, var(--lime)), 0 0 14px var(--marker, var(--lime)); transition: left 1s var(--ease); }
.track-legend { display: flex; justify-content: space-between; font: 500 11px var(--mono); color: var(--muted); }
.track-legend b { color: var(--text); font-weight: 500; }
.sig-note { font-size: 13px; line-height: 1.6; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sig-foot { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.quality { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.quality i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; }
.quality.q-high i { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.quality.q-mid i { background: var(--gold); }
.quality.q-low i { background: var(--red); }
.sig-actions { margin-left: auto; display: flex; gap: 6px; }
.sig-result { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }

/* Detail-Modal */
.detail-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 26px 28px 18px; border-bottom: 1px solid var(--line); background: radial-gradient(120% 100% at 0% 0%, rgba(201, 243, 109, .07), transparent 55%); }
.detail-head .sig-asset b { font-size: 22px; }
.detail-body { padding: 20px 28px 26px; display: flex; flex-direction: column; gap: 18px; }
.detail-chart { position: relative; height: 230px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); overflow: hidden; }
.detail-chart canvas { width: 100%; height: 100%; }
.detail-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.detail-meta div { padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.detail-meta span { display: block; font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.detail-meta b { font-size: 13.5px; }
.analysis { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.analysis h4 { font-size: 13px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.analysis h4 .i { width: 15px; height: 15px; color: var(--lime); }
.analysis p { font-size: 13.5px; line-height: 1.75; color: var(--text-2); white-space: pre-wrap; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   Performance
   --------------------------------------------------------------------- */
.perf-top { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ring-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; }
.ring { position: relative; width: 170px; height: 170px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: rgba(255, 255, 255, .06); }
.ring-fg { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.6s var(--ease); filter: drop-shadow(0 0 8px rgba(201, 243, 109, .45)); }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-label strong { font: 500 36px/1 var(--mono); letter-spacing: -.04em; }
.ring-label span { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.ring-meta { display: flex; gap: 26px; }
.ring-meta div { text-align: center; }
.ring-meta b { display: block; font: 500 20px/1 var(--mono); }
.ring-meta div:first-child b { color: var(--lime); }
.ring-meta div:last-child b { color: var(--red); }
.ring-meta span { font-size: 11.5px; color: var(--muted); }
.perf-top .kpis-3 { grid-template-rows: 1fr 1fr; }
.equity-wrap { position: relative; height: 300px; padding: 0 8px 10px; }
#equityCanvas { width: 100%; height: 100%; }
.empty-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 13px; }
.empty-overlay .i { width: 28px; height: 28px; opacity: .6; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding: 10px 20px 20px; }
.bar-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; }
.bar-stack { position: relative; width: 100%; max-width: 44px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.bar-stack::before { content: ''; position: absolute; left: -4px; right: -4px; top: 50%; height: 1px; background: var(--line-2); }
.bar-fill { position: absolute; left: 0; right: 0; border-radius: 6px; transform-origin: bottom; animation: barGrow 1s var(--ease) both; }
.bar-fill.pos { bottom: 50%; background: linear-gradient(0deg, rgba(201, 243, 109, .35), var(--lime)); box-shadow: 0 0 16px rgba(201, 243, 109, .3); }
.bar-fill.neg { top: 50%; background: linear-gradient(180deg, rgba(255, 123, 116, .35), var(--red)); transform-origin: top; }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.bar-col span { font: 500 10px var(--mono); color: var(--muted); white-space: nowrap; }
.bar-col b { font: 500 11px var(--mono); }
.breakdown { padding: 0 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.bd-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.bd-row b { display: block; font-size: 13px; }
.bd-row small { font-size: 11.5px; color: var(--muted); }
.bd-bar { height: 5px; margin-top: 6px; border-radius: 5px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bd-bar i { display: block; height: 100%; border-radius: 5px; background: var(--grad); transform-origin: left; animation: barGrowX 1s var(--ease) both; }
@keyframes barGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.table-wrap { overflow-x: auto; padding: 0 8px 8px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; padding: 10px 12px; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--text-2); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.table td.num, .table td .num { font-family: var(--mono); }
.table .cell-asset { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.table-empty td { text-align: center; color: var(--muted); padding: 34px 12px; white-space: normal; }
.table-admin td:last-child { text-align: right; }
.table-admin .admin-actions { display: inline-flex; gap: 6px; align-items: center; }

/* ---------------------------------------------------------------------
   Journal
   --------------------------------------------------------------------- */
.journal-list { display: flex; flex-direction: column; padding: 8px 12px; }
.jrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 10px; border-radius: 13px; transition: background .2s; animation: rise .5s var(--ease) both; }
.jrow + .jrow { border-top: 1px solid var(--line); }
.jrow:hover { background: rgba(255, 255, 255, .025); }
.jrow-main b { font-size: 14px; }
.jrow-main small { margin-left: 8px; font-size: 12px; color: var(--muted); }
.jrow-main p { margin-top: 4px; font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* ---------------------------------------------------------------------
   TradingView
   --------------------------------------------------------------------- */
.markets-grid, .calendar-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.markets-side { display: flex; flex-direction: column; gap: 20px; }
.tv-card { overflow: hidden; padding: 6px; }
.tv-box { height: 640px; border-radius: 12px; overflow: hidden; background: rgba(0, 0, 0, .2); }
.tv-calendar { height: 720px; }
.tv-gauge { height: 420px; padding: 0 8px 8px; }
.tv-box .tradingview-widget-container, .tv-gauge .tradingview-widget-container { height: 100%; }
.tv-loading { height: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------------
   Rechner
   --------------------------------------------------------------------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: start; }
.risk-presets { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.calc-result { padding: 24px; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.calc-result::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 243, 109, .14), transparent 70%); pointer-events: none; }
.calc-hero strong { display: inline-block; margin-top: 14px; font: 500 64px/1 var(--mono); letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.calc-unit { margin-left: 10px; font-size: 16px; color: var(--muted); font-weight: 700; }
.calc-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-rows div { padding: 13px 14px; border-radius: 13px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.calc-rows span { display: block; font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.calc-rows b { font: 500 17px/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.rr-bar { display: flex; height: 12px; border-radius: 12px; overflow: hidden; gap: 3px; }
.rr-loss { background: linear-gradient(90deg, rgba(255, 123, 116, .4), var(--red)); border-radius: 12px 3px 3px 12px; transition: flex-grow .6s var(--ease); }
.rr-win { background: linear-gradient(90deg, var(--lime), var(--cyan)); border-radius: 3px 12px 12px 3px; transition: flex-grow .6s var(--ease); }
.rr-legend { display: flex; justify-content: space-between; margin-top: 9px; font: 500 12px var(--mono); }

/* ---------------------------------------------------------------------
   Mitgliedschaft
   --------------------------------------------------------------------- */
.status-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(120deg, rgba(201, 243, 109, .07), rgba(10, 14, 17, .9) 60%); }
.status-strip .ss-main { display: flex; align-items: center; gap: 14px; }
.status-strip .ss-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--lime); background: var(--grad-soft); border: 1px solid rgba(201, 243, 109, .22); }
.status-strip b { display: block; font-size: 15px; }
.status-strip small { color: var(--muted); font-size: 12.5px; }
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 26px 24px 24px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(20, 27, 32, .92), rgba(10, 14, 17, .92)); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; overflow: hidden; }
.price-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .95); }
.price-card.featured { border-color: rgba(201, 243, 109, .45); background: linear-gradient(170deg, rgba(30, 42, 30, .95), rgba(11, 16, 15, .95)); box-shadow: 0 0 0 1px rgba(201, 243, 109, .12), 0 30px 80px -30px rgba(201, 243, 109, .35); }
.price-card.featured::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: conic-gradient(from var(--angle), transparent 0deg, rgba(201, 243, 109, .8) 70deg, transparent 140deg, transparent 220deg, rgba(105, 226, 209, .7) 290deg, transparent 350deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinAngle 7s linear infinite; }
.ribbon { position: absolute; top: 18px; right: 18px; height: 26px; padding: 0 11px; border-radius: 999px; display: grid; place-items: center; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #0a0d10; background: var(--grad); box-shadow: 0 0 20px rgba(201, 243, 109, .4); }
.price-head h3 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 4px; }
.price-head p { font-size: 13px; }
.price strong { font: 500 46px/1 var(--mono); letter-spacing: -.05em; }
.price span { margin-left: 8px; color: var(--muted); font-size: 13.5px; }
.price-card .ticks { flex: 1; }
.price-card.owned .btn { pointer-events: none; }
.trust-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.trust-row div { display: inline-flex; align-items: center; gap: 9px; }
.trust-row .i { color: var(--lime); width: 17px; height: 17px; }
.faq { padding: 0 20px 14px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 2px; font-weight: 700; font-size: 14px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 26px; height: 26px; flex: 0 0 auto; border-radius: 8px; display: grid; place-items: center; font-weight: 500; color: var(--lime); background: rgba(201, 243, 109, .08); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 16px; color: var(--text-2); font-size: 13.5px; line-height: 1.7; animation: rise .4s var(--ease) both; }

/* ---------------------------------------------------------------------
   Broker
   --------------------------------------------------------------------- */
.broker-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.steps { list-style: none; padding: 6px 22px 22px; margin: 0; display: flex; flex-direction: column; }
.steps li { position: relative; display: flex; gap: 16px; padding-bottom: 22px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--line-2); border-radius: 2px; }
.steps li.done:not(:last-child)::before { background: var(--grad); }
.step-dot { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--mono); color: var(--muted); border: 1.5px solid var(--line-3); background: var(--bg-2); transition: all .4s var(--ease); }
.steps li.done .step-dot { color: #0a0d10; background: var(--grad); border-color: transparent; }
.steps li.current .step-dot { color: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 5px rgba(201, 243, 109, .12); animation: newGlow 2s ease-out infinite; }
.steps b { display: block; font-size: 14.5px; margin: 6px 0 4px; }
.steps p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.broker-done { padding: 30px 24px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.broker-done .done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #0a0d10; background: var(--grad); box-shadow: 0 0 40px rgba(201, 243, 109, .4); animation: popIn .6s var(--spring) both; }
.broker-done .done-icon.wait { color: var(--gold); background: rgba(232, 185, 96, .1); border: 1px solid rgba(232, 185, 96, .35); box-shadow: none; }
.broker-done .done-icon .i { width: 28px; height: 28px; stroke-width: 2.4; }
.broker-done h4 { font-size: 18px; margin-top: 6px; }
.broker-done p { color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 360px; }

/* ---------------------------------------------------------------------
   Profil & Ueber
   --------------------------------------------------------------------- */
.profile-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.profile-card { padding: 26px; }
.profile-head { display: flex; gap: 18px; align-items: center; }
.profile-head h3 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.profile-head p { font-size: 13px; margin: 2px 0 10px; }
.facts { margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.facts dt { font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.facts dd { margin: 0; font-size: 13.5px; font-weight: 700; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.about-card { grid-row: span 2; padding: 30px; }
.about-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.8; }
.about-card p + p { margin-top: 14px; }
.framework { list-style: none; padding: 0 20px 20px; margin: 0; display: grid; gap: 10px; }
.framework li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: transform .3s var(--ease), border-color .3s; }
.framework li:hover { transform: translateX(4px); border-color: rgba(201, 243, 109, .25); }
.framework span { font: 500 12px var(--mono); color: #0a0d10; background: var(--grad); border-radius: 8px; padding: 5px 7px; }
.framework b { display: block; font-size: 14px; }
.framework p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.principles { list-style: none; margin: 0; padding: 0 20px 20px; display: grid; gap: 8px; }
.principles li { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.principles b { font: 500 12px var(--mono); color: var(--lime); }

/* ---------------------------------------------------------------------
   Admin
   --------------------------------------------------------------------- */
.request-list { display: flex; flex-direction: column; padding: 8px 12px; }
.rrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 10px; border-radius: 13px; animation: rise .5s var(--ease) both; }
.rrow + .rrow { border-top: 1px solid var(--line); }
.rrow-main b { font-size: 14px; }
.rrow-main small { display: block; font-size: 12px; color: var(--muted); }
.rrow-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.preview-box { padding: 14px; border-radius: 16px; border: 1px dashed var(--line-3); background: rgba(0, 0, 0, .15); }
.preview-box .sig { animation: none; }
.preview-box .sig:hover { transform: none; }
.form-calc { display: flex; gap: 10px; flex-wrap: wrap; }
.form-calc span { font: 500 12px var(--mono); padding: 6px 10px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text-2); }

/* ---------------------------------------------------------------------
   Gesperrt
   --------------------------------------------------------------------- */
.locked { position: relative; max-width: 720px; margin: 30px auto 0; padding: 40px 34px; text-align: center; border-radius: 24px; border: 1px solid var(--line-2); background: radial-gradient(90% 70% at 50% 0%, rgba(201, 243, 109, .09), transparent 60%), linear-gradient(170deg, rgba(19, 26, 31, .92), rgba(10, 14, 17, .94)); overflow: hidden; }
.locked-icon { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 22px; display: grid; place-items: center; color: #0a0d10; background: var(--grad); box-shadow: 0 0 50px rgba(201, 243, 109, .4); animation: float 3s ease-in-out infinite; }
.locked-icon .i { width: 30px; height: 30px; stroke-width: 2.2; }
.locked h2 { font-size: 28px; font-weight: 800; letter-spacing: -.04em; margin: 14px 0 8px; }
.locked p { max-width: 460px; margin: 0 auto; line-height: 1.7; }
.locked-preview { margin: 26px auto; max-width: 520px; display: flex; flex-direction: column; gap: 8px; filter: blur(3px); opacity: .55; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.ghost-row { display: grid; grid-template-columns: 40px 1fr 1fr 1fr; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.ghost-row i { height: 14px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.ghost-row i:first-child { height: 30px; border-radius: 9px; background: rgba(201, 243, 109, .2); }
.locked-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.locked-inline { padding: 26px 20px 30px; text-align: center; }
.locked-inline .locked-preview { margin: 0 auto 20px; }
.locked-inline p { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; }

/* ---------------------------------------------------------------------
   Modal, Toast, Befehlspalette
   --------------------------------------------------------------------- */
.modal-bg { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(3, 5, 7, .66); backdrop-filter: blur(12px) saturate(120%); animation: fadeIn .3s ease both; overflow-y: auto; }
.modal-bg.closing { animation: fadeIn .25s ease reverse both; }
.modal { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(19, 26, 31, .98), rgba(10, 14, 17, .99)); box-shadow: var(--shadow-lg), 0 0 80px -40px rgba(201, 243, 109, .3); animation: popIn .5s var(--ease) both; }
.modal-bg.closing .modal { animation: popIn .25s ease reverse both; }
.modal-lg { width: min(760px, 100%); }
.modal-xl { width: min(980px, 100%); }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 3; }
.modal-head { padding: 26px 28px 18px; border-bottom: 1px solid var(--line); background: radial-gradient(120% 100% at 0% 0%, rgba(201, 243, 109, .07), transparent 55%); }
.modal-head h3 { font-size: 22px; font-weight: 800; letter-spacing: -.035em; margin-top: 10px; }
.modal-head p { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.modal-body { padding: 22px 28px; }
.modal-body .form-grid { padding: 0; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 0 28px 24px; flex-wrap: wrap; }
.modal-center { padding: 34px 30px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.modal-center h3 { font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
.modal-center p { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 420px; }
.modal-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #0a0d10; background: var(--grad); box-shadow: 0 0 40px rgba(201, 243, 109, .4); animation: popIn .6s var(--spring) both; margin-bottom: 6px; }
.modal-icon.warn { color: var(--gold); background: rgba(232, 185, 96, .1); border: 1px solid rgba(232, 185, 96, .35); box-shadow: none; }
.modal-icon.danger { color: var(--red); background: rgba(255, 123, 116, .1); border: 1px solid rgba(255, 123, 116, .35); box-shadow: none; }
.modal-icon .i { width: 28px; height: 28px; stroke-width: 2.2; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: 8px; text-align: left; }
.choice { position: relative; padding: 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); transition: transform .3s var(--ease), border-color .3s, background .3s; display: flex; flex-direction: column; gap: 6px; }
.choice:hover { transform: translateY(-3px); border-color: rgba(201, 243, 109, .4); background: rgba(201, 243, 109, .04); }
.choice b { font-size: 15px; }
.choice small { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.choice strong { font: 500 20px var(--mono); margin-top: 4px; }
.choice.featured { border-color: rgba(201, 243, 109, .45); background: rgba(201, 243, 109, .05); }
.choice-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
.risk-text { padding: 22px 28px 26px; color: var(--text-2); font-size: 13.5px; line-height: 1.75; }
.risk-text p + p { margin-top: 12px; }

.toasts { position: fixed; right: 22px; bottom: 22px; z-index: 150; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast { position: relative; overflow: hidden; pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; width: min(380px, calc(100vw - 32px)); padding: 14px 16px; border-radius: 15px; border: 1px solid var(--line-2); background: rgba(14, 20, 24, .96); backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); animation: toastIn .5s var(--spring) both; }
.toast.out { animation: toastOut .35s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }
.toast-icon { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; color: #0a0d10; background: var(--grad); }
.toast-icon .i { width: 16px; height: 16px; stroke-width: 2.4; }
.toast.error .toast-icon { background: var(--red); }
.toast.info .toast-icon { background: var(--cyan); }
.toast b { display: block; font-size: 13.5px; }
.toast p { font-size: 12.5px; color: var(--text-2); margin-top: 2px; line-height: 1.5; }
.toast-timer { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform-origin: left; animation: toastTimer linear both; }
.toast.error .toast-timer { background: var(--red); }
@keyframes toastTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.cmdk-bg { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 20px 20px; background: rgba(3, 5, 7, .6); backdrop-filter: blur(10px); animation: fadeIn .2s ease both; }
.cmdk { width: min(620px, 100%); border-radius: 18px; border: 1px solid var(--line-2); background: rgba(13, 18, 22, .98); box-shadow: var(--shadow-lg); overflow: hidden; animation: popIn .3s var(--ease) both; }
.cmdk-input { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.cmdk-input .i { color: var(--muted); }
.cmdk-input input { flex: 1; height: 58px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.cmdk-list { max-height: 420px; overflow-y: auto; padding: 8px; }
.cmdk-group { padding: 10px 10px 6px; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.cmdk-item { display: flex; align-items: center; gap: 12px; width: 100%; height: 46px; padding: 0 12px; border-radius: 11px; text-align: left; font-size: 14px; font-weight: 600; color: var(--text-2); }
.cmdk-item .i { width: 17px; height: 17px; color: var(--muted); }
.cmdk-item small { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 500; }
.cmdk-item.active { background: rgba(201, 243, 109, .09); color: var(--text); box-shadow: inset 0 0 0 1px rgba(201, 243, 109, .2); }
.cmdk-item.active .i { color: var(--lime); }
.cmdk-empty { padding: 30px; text-align: center; color: var(--muted); font-size: 13.5px; }
.cmdk-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }

.confetti { position: fixed; inset: 0; z-index: 160; pointer-events: none; }

/* ---------------------------------------------------------------------
   Responsiv
   --------------------------------------------------------------------- */
@media (max-width: 1360px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .signal-grid { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
}
@media (max-width: 1200px) {
  .dash-grid, .markets-grid, .calendar-grid { grid-template-columns: 1fr; }
  .dash-side, .markets-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing { grid-template-columns: 1fr 1fr; }
  .pricing .price-card:last-child { grid-column: 1 / -1; }
  .search-btn span, .search-btn kbd { display: none; }
  .search-btn { width: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 1024px) {
  :root { --sidebar: 0px; }
  .sidebar { width: 288px; transform: translateX(-104%); transition: transform .4s var(--ease); box-shadow: 30px 0 80px rgba(0, 0, 0, .6); }
  .sidebar.open { transform: none; }
  .sidebar-close { display: grid; }
  .menu-btn { display: grid; }
  .topbar { padding: 0 20px; }
  .view { padding: 22px 20px 34px; }
  .banner { margin: 14px 20px 0; }
  .foot { padding: 20px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perf-top { grid-template-columns: 1fr; }
  .calc-grid, .broker-grid, .profile-grid, .about-grid, .grid-2 { grid-template-columns: 1fr; }
  .about-card { grid-row: auto; }
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-brand-mobile { display: inline-flex; }
}
@media (max-width: 720px) {
  .app { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tape { height: 30px; }
  .topbar { height: 62px; gap: 10px; padding: 0 14px; }
  .topbar-title h1 { font-size: 18px; }
  .crumb { display: none; }
  .market-pill span { display: none; }
  .market-pill { width: 40px; padding: 0; justify-content: center; }
  .view { padding: 18px 14px 26px; }
  .banner { margin: 12px 14px 0; flex-wrap: wrap; }
  .page > * + * { margin-top: 16px; }
  .kpis, .kpis-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 14px; }
  .kpi-value { font-size: 22px; }
  .market-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -14px; padding: 2px 14px 6px; scrollbar-width: none; }
  .market-cards::-webkit-scrollbar { display: none; }
  .mcard { flex: 0 0 72%; scroll-snap-align: start; }
  .dash-side, .markets-side { grid-template-columns: 1fr; }
  .chart-wrap { height: 280px; }
  .chart-quote strong { font-size: 24px; }
  .chart-stats { gap: 16px; }
  .srow { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .srow-lvls { grid-column: 1 / -1; order: 5; gap: 14px; }
  .srow .rr, .srow > .i { display: none; }
  .signal-grid { grid-template-columns: 1fr; }
  .toolbar { gap: 10px; }
  .toolbar-right { margin-left: 0; width: 100%; }
  .search-field { flex: 1; }
  .search-field input { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; width: calc(100% + 28px); }
  .chips::-webkit-scrollbar { display: none; }
  .toolbar > .seg { width: 100%; }
  .pricing { grid-template-columns: 1fr; }
  .tv-box { height: 480px; }
  .tv-calendar { height: 620px; }
  .form-grid { grid-template-columns: 1fr; padding: 16px; }
  .calc-rows { grid-template-columns: 1fr 1fr; }
  .calc-hero strong { font-size: 52px; }
  .detail-meta { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .jrow, .rrow { grid-template-columns: auto minmax(0, 1fr) auto; }
  .rrow-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .choice-grid { grid-template-columns: 1fr; }
  .foot { flex-direction: column; align-items: flex-start; }
  .hello-actions { width: 100%; }
  .hello-actions .btn { flex: 1; }
  .unlock { padding: 22px 20px; }
  .unlock-actions, .unlock-actions .btn { width: 100%; }
  .modal-bg { padding: 0; align-items: end; }
  .modal { width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; animation: sheetIn .45s var(--ease) both; }
  .modal-bg.closing .modal { animation: sheetIn .25s ease reverse both; }
  .modal-head, .modal-body, .detail-head, .detail-body { padding-left: 20px; padding-right: 20px; }
  .modal-foot { padding: 0 20px calc(20px + env(safe-area-inset-bottom)); }
  .modal-foot .btn { flex: 1; }
  .toasts { left: 14px; right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); align-items: stretch; }
  .toast { width: 100%; }
  .popover { position: fixed; left: 12px; right: 12px; top: 70px; width: auto !important; }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(7, 10, 12, .92); backdrop-filter: blur(18px) saturate(140%); border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 54px; border-radius: 12px; font-size: 10.5px; font-weight: 700; color: var(--muted); transition: color .2s; }
  .tabbar .i { width: 21px; height: 21px; transition: transform .3s var(--spring); }
  .tabbar a.active { color: var(--lime); }
  .tabbar a.active .i { transform: translateY(-2px) scale(1.08); }
  .tabbar a.active::before { content: ''; position: absolute; top: -6px; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); box-shadow: 0 0 10px rgba(201, 243, 109, .7); }
  .tab-dot { position: absolute; top: 8px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--bg), 0 0 8px var(--lime); }
  .auth-panel { padding: 22px 14px; justify-content: flex-start; }
  .auth-card { padding: 28px 22px 24px; }
}
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Listen nach Live-Updates nicht erneut einfliegen lassen */
.no-anim > :not(.is-new) { animation: none !important; }

/* Feinschliff */
.detail-head { padding-right: 76px; }
.calc-hero .eyebrow { display: flex; }
.toolbar-right .search-field input { width: 230px; }

/* Niedrige Bildschirme: Upgrade-Box kompakter, Navigation bleibt sichtbar */
@media (max-height: 860px) and (min-width: 1025px) {
  .side-upgrade p, .side-upgrade > .i { display: none; }
  .side-upgrade { padding: 12px 14px; }
  .side-upgrade b { margin-bottom: 10px; }
  .side-nav { gap: 12px; }
  .side-nav a { height: 37px; }
}

/* Modal-Aktionen bleiben beim Scrollen sichtbar */
.modal-foot { position: sticky; bottom: 0; z-index: 2; padding-top: 16px; background: linear-gradient(180deg, rgba(12,17,20,0), rgba(12,17,20,.96) 28%); }

/* Auswahlkarten im Willkommens-Fenster */
.choice { text-align: left; align-items: flex-start; }
.choice b, .choice small { display: block; }
.choice-wide { align-items: center; }
.choice-wide > div { display: flex; flex-direction: column; gap: 4px; }

/* TradingView-Widgets: gleiches Farbschema wie das iframe, sonst legt der Browser eine weisse Flaeche dahinter */
.tv-box, .tv-gauge, .tv-box iframe, .tv-gauge iframe { color-scheme: normal; }

/* ---------------------------------------------------------------------
   Zustimmung fuer externe Inhalte (TradingView)
   --------------------------------------------------------------------- */
.consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px 24px; text-align: center; }
.consent-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--lime); background: var(--grad-soft); border: 1px solid rgba(201, 243, 109, .22); }
.consent-icon .i { width: 24px; height: 24px; }
.consent b { font-size: 17px; color: var(--text); }
.consent p { max-width: 480px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.consent small { font-size: 12px; color: var(--muted-2); }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.consent-sm { font-size: 13px; color: var(--muted); }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   Rechtliche Seiten (Impressum, Datenschutz)
   --------------------------------------------------------------------- */
.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(20px, calc((100% - 880px) / 2)); background: rgba(5, 7, 10, .78); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.legal-top .btn .i { transform: rotate(180deg); }
.legal { flex: 1; width: min(880px, 100%); margin: 0 auto; padding: 46px 20px 64px; animation: rise .7s var(--ease) both; }
.legal h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; margin: 14px 0 10px; }
.legal-lead { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 28px; max-width: 640px; }
.legal-card { padding: 26px 28px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(19, 26, 31, .9), rgba(10, 14, 17, .9)); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.legal-card + .legal-card { margin-top: 14px; }
.legal h2 { display: flex; align-items: baseline; gap: 10px; font-size: 18.5px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.legal h2 span { font: 500 12px var(--mono); color: var(--lime); }
.legal h3 { font-size: 14.5px; margin: 18px 0 6px; }
.legal p, .legal li, .legal dd { color: var(--text-2); font-size: 14.5px; line-height: 1.8; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 8px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 4px; }
.legal a:not(.btn) { color: var(--lime); text-decoration: underline; text-decoration-color: rgba(201, 243, 109, .35); text-underline-offset: 3px; }
.legal a:not(.btn):hover { text-decoration-color: var(--lime); }
.legal address { font-style: normal; color: var(--text); font-size: 15px; line-height: 1.85; }
.legal dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 18px; margin: 0; }
.legal dt { font: 500 11px/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.legal dd { margin: 0; color: var(--text); }
.legal mark.todo { background: rgba(232, 185, 96, .14); color: var(--gold); border: 1px dashed rgba(232, 185, 96, .6); border-radius: 6px; padding: 1px 7px; }
.legal-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; margin: 0 0 18px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); list-style: none; counter-reset: toc; }
.legal-toc li { counter-increment: toc; font-size: 13.5px; }
.legal-toc li::before { content: counter(toc, decimal-leading-zero); font: 500 11px var(--mono); color: var(--lime); margin-right: 9px; }
.legal-toc a { text-decoration: none !important; color: var(--text-2) !important; }
.legal-toc a:hover { color: var(--text) !important; }
.legal-meta { margin-top: 24px; font-size: 12.5px; color: var(--muted-2); }
.legal-foot { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; padding: 22px 20px 30px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted-2); }
.legal-foot a { color: var(--muted); transition: color .2s; }
.legal-foot a:hover, .legal-foot a[aria-current] { color: var(--lime); }
@media (max-width: 640px) {
  .legal-card { padding: 20px 18px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
  .legal-toc { grid-template-columns: 1fr; }
}

/* Bestell-Schritt vor Stripe */
.order-sum { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; margin-bottom: 18px; border-radius: 14px; border: 1px solid rgba(201, 243, 109, .3); background: linear-gradient(140deg, rgba(201, 243, 109, .08), rgba(105, 226, 209, .03)); }
.order-sum b { display: block; font-size: 16px; }
.order-sum small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.order-sum strong { font: 500 24px/1 var(--mono); white-space: nowrap; }
.order-sum strong span { margin-left: 6px; font: 600 12.5px var(--font); color: var(--muted); }
.modal-body .check + .check { margin-top: 14px; }
.modal-body .form-error { margin-top: 16px; }
.order-note { justify-content: center; text-align: center; }
.order-note .link { display: inline; }

/* ---------------------------------------------------------------------
   Admin: Schnell-Signal
   --------------------------------------------------------------------- */
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 20px; align-items: start; }
.qs-card { padding: 22px; border-color: rgba(201, 243, 109, .26); background: radial-gradient(120% 80% at 0% 0%, rgba(201, 243, 109, .09), transparent 55%), linear-gradient(165deg, rgba(20, 28, 26, .94), rgba(10, 14, 17, .94)); }
.qs { display: flex; flex-direction: column; gap: 14px; }
.qs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.qs-head h3 { font-size: 19px; font-weight: 800; letter-spacing: -.03em; margin-top: 8px; }
.qs-assets { align-items: center; }
.qs-custom { height: 34px; width: 118px; padding: 0 12px; border-radius: 999px; border: 1px dashed var(--line-3); background: transparent; color: var(--text); font-size: 12.5px; font-weight: 700; outline: 0; text-transform: uppercase; }
.qs-custom::placeholder { text-transform: none; color: var(--muted); font-weight: 600; }
.qs-custom:focus { border-style: solid; border-color: rgba(201, 243, 109, .6); }
.qs-dir { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qs-dir button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 14px; font: 600 15px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1.5px solid var(--line-2); background: rgba(255, 255, 255, .02); transition: all .25s var(--ease); }
.qs-dir button:hover { color: var(--text); border-color: var(--line-3); }
.qs-dir button .i { width: 18px; height: 18px; stroke-width: 2.4; }
.qs-dir .qs-long.active { color: #052620; border-color: transparent; background: linear-gradient(120deg, #8af3e3, #69e2d1); box-shadow: 0 12px 30px -12px rgba(105, 226, 209, .8); }
.qs-dir .qs-short.active { color: #3b0c09; border-color: transparent; background: linear-gradient(120deg, #ffa49e, #ff7b74); box-shadow: 0 12px 30px -12px rgba(255, 123, 116, .8); }
.qs-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.qs-levels .fld > span { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 20px; }
.qs-levels input { height: 50px !important; font-family: var(--mono) !important; font-size: 17px !important; }
.qs-levels .qs-sl input { border-color: rgba(255, 123, 116, .32); }
.qs-levels .qs-tp input { border-color: rgba(201, 243, 109, .32); }
.qs-live { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font: 700 10.5px var(--font); letter-spacing: 0; text-transform: none; color: var(--lime); background: rgba(201, 243, 109, .08); border: 1px solid rgba(201, 243, 109, .28); transition: background .2s; }
.qs-live:hover { background: rgba(201, 243, 109, .16); }
.qs-live .i { width: 11px; height: 11px; }
.qs-live.spin .i { animation: spin .8s linear infinite; }
.qs-preset { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qs-preset > span { width: 104px; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qs-preset > div { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; align-items: center; }
.qs-preset .chip { height: 30px; padding: 0 11px; font-size: 12px; }
.qs-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.qs-note { width: 100%; min-height: 62px; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .035); color: var(--text); font-size: 13.5px; line-height: 1.55; resize: vertical; outline: 0; transition: border-color .25s, box-shadow .25s; }
.qs-note:focus { border-color: rgba(201, 243, 109, .6); box-shadow: 0 0 0 4px rgba(201, 243, 109, .11); }
.qs-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-height: 46px; padding: 11px 14px; border-radius: 12px; font: 500 12.5px var(--mono); color: var(--text-2); border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.qs-summary .muted { font-family: var(--font); }
.qs-summary.ok { border-color: rgba(201, 243, 109, .28); background: rgba(201, 243, 109, .05); }
.qs-summary.bad { font-family: var(--font); color: #ffd2cf; border-color: rgba(255, 123, 116, .38); background: rgba(255, 123, 116, .07); }
.qs-summary .i { width: 16px; height: 16px; color: var(--red); }
.qs-summary.shake { animation: shake .45s ease both; }
.qs-send { height: 56px !important; font-size: 15px !important; }
.qc-list { display: flex; flex-direction: column; padding: 0 12px 12px; }
.qc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 8px; animation: rise .5s var(--ease) both; }
.qc-row + .qc-row { border-top: 1px solid var(--line); }
.qc-main b { font-size: 14px; margin-right: 8px; }
.qc-main .dir { height: 22px; vertical-align: 1px; }
.qc-main small { display: block; margin-top: 4px; font: 500 11.5px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-actions { display: flex; gap: 6px; }
.qc-actions .btn { padding: 0 10px; }
.qc-actions .btn .i { width: 14px; height: 14px; stroke-width: 2.4; }
.qc-tp:hover { color: #0a0d10 !important; background: var(--grad) !important; border-color: transparent !important; }
.qc-sl:hover { color: var(--red) !important; border-color: rgba(255, 123, 116, .45) !important; background: rgba(255, 123, 116, .08) !important; }

/* Schnell-Knopf + Seitenleiste */
.qs-fab { position: fixed; right: 24px; bottom: 24px; z-index: 34; display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 22px 0 18px; border-radius: 999px; font-weight: 800; font-size: 14px; color: #0a0d10; background: var(--grad); box-shadow: 0 18px 44px -12px rgba(201, 243, 109, .75), inset 0 0 0 1px rgba(255, 255, 255, .22); transition: transform .3s var(--spring), box-shadow .3s; animation: popIn .5s var(--spring) both; }
.qs-fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 50px -12px rgba(105, 226, 209, .8), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.qs-fab .i { width: 20px; height: 20px; stroke-width: 2.4; }
.qs-fab.on-admin { display: none; }
body.has-fab .toasts { bottom: 92px; }
.modal.modal-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(500px, 100%); max-height: none; border-radius: 22px 0 0 22px; animation: drawerIn .45s var(--ease) both; }
.modal-bg.closing .modal.modal-drawer { animation: drawerIn .25s ease reverse both; }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: none; } }
.drawer-body { padding: 26px 24px 28px; }

.toast-action { display: inline-flex; align-items: center; margin-top: 9px; height: 30px; padding: 0 13px; border-radius: 8px; font-size: 12px; font-weight: 800; color: #0a0d10; background: var(--grad); }
.toast-action:hover { filter: brightness(1.08); }

/* ---------------------------------------------------------------------
   Kuendigungsseite
   --------------------------------------------------------------------- */
.cancel-form .legal-card + .legal-card { margin-top: 14px; }
.cancel-form > .form-error { margin-top: 16px; }
.cancel-form > .btn { margin-top: 18px; height: 56px; font-size: 15px; }
.opt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opt-grid.opt-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); transition: border-color .2s, background .2s, box-shadow .2s; }
.opt b { font-size: 14px; color: var(--text); }
.opt small { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.opt:hover > span { border-color: var(--line-3); }
.opt input:checked + span { border-color: rgba(201, 243, 109, .6); background: linear-gradient(140deg, rgba(201, 243, 109, .1), rgba(105, 226, 209, .04)); box-shadow: 0 0 0 3px rgba(201, 243, 109, .08); }
.opt input:focus-visible + span { outline: 2px solid rgba(201, 243, 109, .7); outline-offset: 2px; }
.cancel-reason, .cancel-date { margin-top: 14px; }
.cancel-fields { padding: 0 !important; }
.cancel-hint { margin-top: 12px; font-size: 12.5px !important; color: var(--muted) !important; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.cancel-signed { display: flex; gap: 10px; align-items: flex-start; margin: -8px 0 18px; padding: 12px 14px; border-radius: 13px; font-size: 13.5px; line-height: 1.6; color: var(--text-2); background: rgba(105, 226, 209, .07); border: 1px solid rgba(105, 226, 209, .25); }
.cancel-signed .i { flex: 0 0 auto; color: var(--cyan); margin-top: 2px; }
.done-badge { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; color: #0a0d10; background: var(--grad); box-shadow: 0 0 40px rgba(201, 243, 109, .4); animation: popIn .6s var(--spring) both; }
.done-badge .i { width: 28px; height: 28px; stroke-width: 2.6; }
.legal .done-title { font-size: clamp(26px, 4vw, 36px); margin: 12px 0 10px; }
.done-mail { margin-bottom: 18px; }
.done-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

@media (max-width: 1200px) { .admin-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .qs-fab { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); height: 52px; width: 52px; padding: 0; justify-content: center; }
  .qs-fab span { display: none; }
  body.has-fab .toasts { bottom: calc(146px + env(safe-area-inset-bottom)); }
  .qs-levels { grid-template-columns: 1fr; }
  .qs-preset > span { width: 100%; }
  .qc-row { grid-template-columns: auto minmax(0, 1fr); }
  .qc-actions { grid-column: 1 / -1; }
  .qc-actions .btn { flex: 1; }
  .modal.modal-drawer { top: auto; left: 0; height: 94dvh; width: 100%; border-radius: 22px 22px 0 0; animation: sheetIn .45s var(--ease) both; }
  .modal-bg.closing .modal.modal-drawer { animation: sheetIn .25s ease reverse both; }
  .drawer-body { padding: 22px 16px calc(24px + env(safe-area-inset-bottom)); }
  .opt-grid, .opt-grid.opt-2 { grid-template-columns: 1fr; }
}
@media print {
  body { background: #fff !important; color: #000 !important; }
  .bg-layer, .no-print { display: none !important; }
  .legal { padding: 0 !important; animation: none !important; }
  .legal-card { background: #fff !important; border: 1px solid #999 !important; box-shadow: none !important; }
  .legal p, .legal dd, .legal dt, .legal h1, .legal h2, .eyebrow { color: #000 !important; }
  .eyebrow::before { display: none; }
}

/* Feinschliff Schnell-Signal */
.btn .btn-label { display: inline-flex; align-items: center; gap: 8px; }
.drawer-body .qs-head { padding-right: 54px; }
.qc-main small { white-space: normal; }
body.has-fab .foot { padding-bottom: 96px; }
