        :root {
            --bg: #020611;
            --bg-2: #050a18;
            --panel: #070d1d;
            --panel-2: #0a1226;
            --line: rgba(148, 163, 184, .16);
            --text: #f3f6ff;
            --muted: #95a1ba;
            --soft: #c9d2e6;
            --red: #ff424d;
            --green: #22d070;
            --blue: #22a7ff;
            --cyan: #14c8ff;
            --purple: #a855f7;
            --yellow: #ffd400;
        }

        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
        body {
            margin: 0;
            color: var(--text);
            background:
                radial-gradient(circle at 82% 0%, rgba(121, 45, 216, .30), transparent 18%),
                radial-gradient(circle at 12% 18%, rgba(239, 68, 68, .08), transparent 22%),
                linear-gradient(180deg, #020611 0%, #030713 42%, #020611 100%);
            font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
            letter-spacing: 0;
            max-width: 100%;
            overflow-x: hidden;
        }

        a { color: inherit; text-decoration: none; }
        button, input { font: inherit; }

        .navbar {
            position: sticky;
            top: 0;
            z-index: 1000;
            display: flex;
            align-items: center;
            gap: 18px;
            min-height: 76px;
            padding: 10px 32px;
            border-bottom: 1px solid rgba(255,255,255,.08);
            background:
                radial-gradient(circle at 78% 18%, rgba(168,85,247,.24), transparent 25%),
                linear-gradient(180deg, rgba(8,13,30,.98), rgba(3,7,18,.98));
            box-shadow: 0 12px 42px rgba(0,0,0,.34);
            backdrop-filter: blur(18px);
        }

        .logo { display: flex; align-items: center; flex: 0 0 auto; }
        .logo img { height: 54px; width: auto; display: block; }
        .search { flex: 0 1 340px; min-width: 260px; }
        .search form { position: relative; margin: 0; }
        .search input {
            width: 100%;
            height: 44px;
            padding: 0 18px 0 44px;
            border-radius: 10px;
            border: 1px solid rgba(255,255,255,.14);
            background: rgba(2,6,23,.72);
            color: #fff;
            outline: none;
            font-size: 14px;
            font-weight: 800;
            text-transform: uppercase;
        }
        .search form::before {
            content: "";
            position: absolute;
            left: 16px;
            top: 50%;
            width: 15px;
            height: 15px;
            transform: translateY(-50%);
            border: 2px solid rgba(226,232,240,.62);
            border-radius: 50%;
            pointer-events: none;
        }
        .search form::after {
            content: "";
            position: absolute;
            left: 31px;
            top: 27px;
            width: 8px;
            height: 2px;
            transform: rotate(45deg);
            border-radius: 999px;
            background: rgba(226,232,240,.62);
            pointer-events: none;
        }

        .menu { display: flex; align-items: center; gap: 10px; color: #94a3b8; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
        .menu::-webkit-scrollbar { display: none; }
        .nav-item {
            position: relative;
            display: flex;
            align-items: center;
            gap: 8px;
            min-height: 44px;
            padding: 0 13px;
            border: 1px solid transparent;
            border-radius: 11px;
            color: rgba(226,232,240,.72);
            background: transparent;
            font-size: 14px;
            font-weight: 800;
            text-decoration: none;
            white-space: nowrap;
            cursor: pointer;
            transition: .22s;
        }
        .nav-item:hover { color: #fff; background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.08); }
        .nav-item.active {
            color: #fff;
            background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
            border-color: rgba(255,255,255,.12);
            box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 16px 36px rgba(239,68,68,.16);
        }
        .nav-item.active::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -12px;
            width: 5px;
            height: 5px;
            transform: translateX(-50%);
            border-radius: 999px;
            background: #ef4444;
            box-shadow: 0 0 14px rgba(239,68,68,.8);
        }
        .nav-icon { width: 20px; height: 20px; color: currentColor; opacity: .9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
        .right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
        .download-buttons { display: flex; gap: 12px; align-items: center; }
        .download-buttons::after {
            content: "";
            width: 1px;
            height: 34px;
            margin: 0 12px 0 6px;
            background: linear-gradient(180deg, transparent, rgba(148,163,184,.45), transparent);
        }
        .download-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            min-width: 48px;
            min-height: 48px;
            padding: 0;
            background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.08), rgba(2,6,23,.88) 58%), rgba(2,6,23,.76);
            border: 2px solid rgba(168,85,247,.75);
            border-radius: 50%;
            color: #fff;
            box-shadow: 0 0 18px rgba(168,85,247,.22), inset 0 1px 0 rgba(255,255,255,.08);
        }
        .download-btn svg { width: 25px; height: 25px; fill: currentColor; }
        .coming-soon-badge {
            position: absolute;
            left: 50%;
            bottom: -10px;
            transform: translateX(-50%);
            padding: 3px 7px;
            border-radius: 999px;
            background: linear-gradient(135deg, #ef4444, #7c3aed);
            color: #fff;
            font-size: 9px;
            font-weight: 900;
            line-height: 1;
            white-space: nowrap;
            box-shadow: 0 6px 16px rgba(124,58,237,.38);
        }
        .avatar-menu { position: relative; cursor: pointer; }
        .avatar {
            position: relative;
            width: 44px;
            height: 44px;
            border-radius: 13px;
            background: rgba(2,6,23,.58);
            border: 1px solid rgba(255,255,255,.14);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0;
            color: rgba(226,232,240,.86);
            box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
        }
        .avatar::before { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; transform: translateY(-6px); }
        .avatar::after { content: ""; position: absolute; width: 22px; height: 11px; margin-top: 20px; border: 2px solid currentColor; border-bottom: 0; border-radius: 16px 16px 0 0; }
        .avatar-menu::after { content: ""; position: absolute; top: 7px; right: 6px; width: 6px; height: 6px; border-radius: 999px; background: #ef4444; box-shadow: 0 0 10px rgba(239,68,68,.9); }
        .avatar-dropdown {
            position: absolute;
            top: 52px;
            right: 0;
            width: 210px;
            display: none;
            padding: 10px;
            border: 1px solid rgba(148,163,184,.18);
            border-radius: 12px;
            background: #020617;
            box-shadow: 0 18px 48px rgba(0,0,0,.55);
            z-index: 10000;
        }
        .avatar-dropdown.show { display: block; }
        .dropdown-email { padding: 8px; color: #94a3b8; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; }
        .dropdown-item { padding: 9px 8px; border-radius: 8px; color: #e2e8f0; font-size: 14px; }
        .dropdown-item:hover { background: #0f172a; }

        .movers-nav { position: relative; }
        .movers-dropdown { position: absolute; top: 52px; left: 0; width: min(760px, calc(100vw - 28px)); display: none; z-index: 60; }
        .movers-dropdown.active { display: block; }
        .movers-panel {
            padding: 16px;
            border: 1px solid rgba(168,85,247,.30);
            border-radius: 12px;
            background: #020617;
            box-shadow: 0 24px 70px rgba(0,0,0,.62);
        }
        .movers-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: #94a3b8; font-size: 13px; }
        .movers-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
        .movers-column h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #f8fafc; }
        .mover-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(148,163,184,.12); }
        .mover-symbol { font-weight: 900; }
        .mover-name { margin-top: 3px; color: #94a3b8; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
        .mover-values { text-align: right; font-size: 13px; }

        .app-shell {
            display: grid;
            grid-template-columns: 300px minmax(0, 1fr);
            gap: 22px;
            width: min(1960px, calc(100% - 46px));
            margin: 24px auto 0;
        }

        .glass-card {
            position: relative;
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(9,16,34,.94), rgba(3,7,18,.96));
            border: 1px solid rgba(148,163,184,.18);
            box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 18px 42px rgba(0,0,0,.28);
            overflow: hidden;
        }

        .ticker-sidebar {
            --ticker-accent: var(--red);
            --ticker-accent-soft: rgba(239,68,68,.32);
            --ticker-accent-glow: rgba(239,68,68,.30);
            --ticker-animal: url("/static/bear.png");
            --ticker-animal: image-set(url("/static/bear.avif") type("image/avif") 1x, url("/static/bear.webp") type("image/webp") 1x, url("/static/bear.png") type("image/png") 1x);
            position: sticky;
            top: 100px;
            align-self: start;
            min-height: 760px;
            padding: 26px;
            font-weight: 800;
            border: 1px solid var(--ticker-accent);
            box-shadow: inset 0 0 0 1px rgba(255,255,255,.045), 0 0 26px var(--ticker-accent-glow), 0 18px 42px rgba(0,0,0,.28);
            background:
                radial-gradient(circle at 76% 23%, var(--ticker-accent-soft), transparent 23%),
                radial-gradient(circle at 48% 48%, var(--ticker-accent-soft), transparent 24%),
                linear-gradient(180deg, rgba(4,11,24,.98), rgba(4,9,21,.97) 64%, rgba(2,6,18,.99));
        }
        .ticker-sidebar.ticker-up {
            --ticker-accent: #22c55e;
            --ticker-accent-soft: rgba(34,197,94,.32);
            --ticker-accent-glow: rgba(34,197,94,.30);
            --ticker-animal: url("/static/bull.png");
            --ticker-animal: image-set(url("/static/bull.avif") type("image/avif") 1x, url("/static/bull.webp") type("image/webp") 1x, url("/static/bull.png") type("image/png") 1x);
        }
        .ticker-sidebar.ticker-down {
            --ticker-accent: var(--red);
            --ticker-accent-soft: rgba(239,68,68,.32);
            --ticker-accent-glow: rgba(239,68,68,.30);
            --ticker-animal: url("/static/bear.png");
            --ticker-animal: image-set(url("/static/bear.avif") type("image/avif") 1x, url("/static/bear.webp") type("image/webp") 1x, url("/static/bear.png") type("image/png") 1x);
        }
        .ticker-sidebar::after {
            content: "";
            position: absolute;
            right: 18px;
            top: 144px;
            width: 178px;
            height: 150px;
            display: none;
            opacity: .64;
            background: var(--ticker-animal) center/contain no-repeat;
            filter: drop-shadow(0 0 20px var(--ticker-accent-glow));
            pointer-events: none;
        }
        .ticker-sidebar::before {
            content: "";
            position: absolute;
            inset: 1px;
            border-radius: inherit;
            background:
                linear-gradient(rgba(59,130,246,.030) 1px, transparent 1px),
                linear-gradient(90deg, rgba(59,130,246,.030) 1px, transparent 1px);
            background-size: 16px 16px;
            opacity: .42;
            pointer-events: none;
        }
        .ticker-top { position: relative; z-index: 1; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
        .ticker-logo {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: #fff;
            display: grid;
            place-items: center;
            overflow: hidden;
        }
        .ticker-logo img { width: 80%; height: 80%; object-fit: contain; }
        .ticker-name { font-size: 29px; line-height: .98; font-weight: 950; white-space: nowrap; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
        .ticker-company { margin-top: 6px; color: rgba(226,232,240,.68); font-size: 16px; line-height: 1.08; font-weight: 850; text-shadow: 0 2px 8px rgba(0,0,0,.48); }
        .ticker-actions { display: flex; align-items: center; gap: 6px; }
        .round-tool {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            border: 1px solid rgba(255,255,255,.22);
            background: rgba(15,23,42,.50);
            color: #94a3b8;
            cursor: pointer;
            transition: .22s;
        }
        .round-tool:hover { color: #fff; border-color: rgba(168,85,247,.58); background: rgba(255,255,255,.06); box-shadow: 0 0 18px rgba(168,85,247,.20), inset 0 1px 0 rgba(255,255,255,.08); }
        .round-tool.active { color: var(--yellow); border-color: rgba(250,204,21,.56); background: rgba(250,204,21,.10); box-shadow: 0 0 18px rgba(250,204,21,.18), inset 0 1px 0 rgba(255,255,255,.08); }
        .round-tool svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
        .side-price { position: relative; z-index: 1; margin-top: 34px; font-size: 48px; line-height: .98; font-weight: 950; letter-spacing: -.01em; text-shadow: 0 3px 12px rgba(0,0,0,.62); }
        .side-change { position: relative; z-index: 1; margin-top: 16px; font-size: 20px; line-height: 1.15; font-weight: 950; text-shadow: 0 2px 9px rgba(0,0,0,.52); }
        .side-section { position: relative; z-index: 1; margin-top: 26px; }
        .side-label { color: rgba(226,232,240,.72); font-size: 18px; line-height: 1.1; font-weight: 900; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
        .trend-title { margin-top: 10px; color: #facc15; font-size: 30px; line-height: 1; font-weight: 950; text-transform: uppercase; text-shadow: 0 2px 11px rgba(0,0,0,.58); }
        .trend-title.trend-up { color: #22c55e; }
        .trend-title.trend-down { color: #ff4444; }
        .trend-title.trend-neutral { color: #facc15; }
        .trend-sub { margin-top: 5px; color: rgba(226,232,240,.60); font-size: 18px; line-height: 1.08; font-weight: 850; text-shadow: 0 2px 8px rgba(0,0,0,.46); }
        .side-stack { display: grid; gap: 14px; margin-top: 20px; }
        .side-metric { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 18px; gap: 10px; align-items: center; min-height: 50px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 19px; line-height: 1.05; text-shadow: 0 2px 8px rgba(0,0,0,.50); }
        .side-metric span:first-child { color: rgba(226,232,240,.68); font-weight: 900; }
        .side-metric strong { font-size: 20px; font-weight: 950; }
        .side-metric .large { font-size: 32px; letter-spacing: -.01em; }
        .tag { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(148,163,184,.62); background: rgba(148,163,184,.14); color: #94a3b8; font-size: 14px; font-weight: 950; text-transform: uppercase; }
        .tag.green { color: var(--green); border-color: rgba(34,208,112,.56); background: rgba(34,208,112,.14); }
        .tag.red { color: var(--red); border-color: rgba(255,75,75,.54); background: rgba(255,75,75,.14); }
        .tag.flat { color: var(--yellow); border-color: rgba(250,204,21,.46); background: rgba(250,204,21,.12); }
        .mini-chart { position: relative; z-index: 1; height: 98px; margin: 20px 0 24px; border-radius: 8px; overflow: hidden; }
        .mini-chart svg { width: 100%; height: 100%; display: block; }
        .side-card {
            position: relative;
            z-index: 1;
            padding: 10px 12px;
            border: 1px solid rgba(148,163,184,.16);
            border-radius: 10px;
            background: rgba(2,8,20,.50);
            box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
        }
        .side-card .side-metric:last-child { border-bottom: 0; }
        .indicator-card { margin-top: 14px; }
        .summary-card + .indicator-card { margin-top: 0; }
        .indicator-card .mini-chart { height: 92px; margin: 8px 0 0; }
        .levels-card { padding-top: 5px; padding-bottom: 5px; }
        .levels-card .side-metric { min-height: 34px; font-size: 16px; }
        .up { color: var(--green); }
        .down { color: var(--red); }
        .flat { color: var(--yellow); }

        .main-content { min-width: 0; }
        .hero-grid {
            display: grid;
            grid-template-columns: minmax(520px, 1.05fr) minmax(420px, .95fr);
            gap: 22px;
            margin-bottom: 22px;
        }
        .trade-card {
            height: 405px;
            min-height: 405px;
            padding: 0;
            overflow: hidden;
            border-color: rgba(14,165,233,.36);
            background:
                radial-gradient(circle at 36% 54%, rgba(14,165,233,.22), transparent 24%),
                radial-gradient(circle at 93% 82%, rgba(239,68,68,.32), transparent 28%),
                linear-gradient(90deg, rgba(2,6,23,.98), rgba(2,23,46,.92) 46%, rgba(75,19,35,.78)),
                linear-gradient(135deg, rgba(14,165,233,.16), rgba(239,68,68,.10));
            border-radius: 20px;
            box-shadow: inset 0 0 0 1px rgba(14,165,233,.18), 0 18px 46px rgba(0,0,0,.30);
        }
        .trade-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(59,130,246,.08) 1px, transparent 1px),
                linear-gradient(90deg, rgba(59,130,246,.08) 1px, transparent 1px);
            background-size: 28px 28px;
            opacity: .45;
        }
        .trade-card::after {
            content: "";
            position: absolute;
            right: -10px;
            bottom: 26px;
            width: 145px;
            height: 54px;
            opacity: .34;
            background:
                linear-gradient(135deg, transparent 0 18%, rgba(239,68,68,.90) 18% 42%, transparent 42%),
                linear-gradient(45deg, transparent 0 26%, rgba(239,68,68,.75) 26% 46%, transparent 46%),
                linear-gradient(135deg, transparent 0 58%, rgba(239,68,68,.90) 58% 80%, transparent 80%);
            transform: skewX(-12deg);
        }
        .trade-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(210px, .56fr) minmax(0, 1fr); gap: 20px; align-items: center; height: 100%; padding: 34px 30px 20px 30px; min-width: 0; overflow: hidden; }
        .trade-title { align-self: center; min-width: 0; font-size: clamp(32px, 3.2vw, 52px); line-height: .94; font-weight: 950; font-style: italic; letter-spacing: .005em; text-shadow: 0 4px 22px rgba(0,0,0,.52); }
        .trade-title span { color: #18aeea; display: block; text-shadow: 0 0 24px rgba(14,165,233,.22); }
        .trade-side { display: grid; gap: 16px; align-content: center; min-width: 0; overflow: hidden; }
        .trade-info {
            position: relative;
            min-width: 0;
            border: 1px solid rgba(14,165,233,.62);
            border-radius: 16px;
            background: linear-gradient(110deg, rgba(8,24,47,.82), rgba(6,11,28,.78) 46%, rgba(91,24,43,.62));
            padding: 14px 18px;
            box-shadow: 0 0 38px rgba(14,165,233,.14), inset 0 1px 0 rgba(255,255,255,.06);
            overflow: hidden;
        }
        .trade-lock-content { position: relative; z-index: 1; }
        .registered-locked-trade .trade-lock-content { filter: blur(5px) saturate(.82); opacity: .24; pointer-events: none; user-select: none; }
        .trade-registered-lock {
            position: absolute;
            inset: 12px;
            z-index: 3;
            display: grid;
            place-items: center;
            text-align: center;
            border: 1px solid rgba(139,92,246,.46);
            border-radius: 15px;
            background:
                radial-gradient(circle at 50% -12%, rgba(124,58,237,.28), transparent 44%),
                linear-gradient(180deg, rgba(5,8,26,.90), rgba(2,5,18,.94));
            box-shadow: 0 20px 56px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.08);
            backdrop-filter: blur(16px) saturate(1.1);
            -webkit-backdrop-filter: blur(16px) saturate(1.1);
        }
        .trade-registered-lock .lock { font-size: 0; }
        .trade-registered-lock .lock::before {
            content: "LOCKED";
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 28px;
            padding: 0 12px;
            border-radius: 999px;
            color: #22d3ee;
            border: 1px solid rgba(34,211,238,.26);
            background: rgba(34,211,238,.08);
            font-size: 10px;
            font-weight: 950;
            letter-spacing: .16em;
        }
        .trade-registered-lock .unlock-title { margin-top: 10px; font-size: 18px; font-weight: 950; color: #f8fafc; }
        .trade-registered-lock .unlock-cost { color: #94a3b8; font-size: 13px; }
        .trade-registered-lock .remaining { color: var(--green); font-size: 15px; font-weight: 950; }
        .trade-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-width: 0; }
        .trade-logo { width: 46px; height: 46px; border-radius: 11px; background: #f8fafc; display: grid; place-items: center; color: #1d4ed8; font-size: 26px; font-weight: 950; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
        .trade-symbol { min-width: 0; font-size: 25px; line-height: .95; font-weight: 950; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .trade-desc { margin-top: 6px; color: #b8c4da; font-size: 12px; line-height: 1.25; font-weight: 800; }
        .trade-price { text-align: right; font-size: 21px; line-height: .95; color: var(--green); font-weight: 950; white-space: nowrap; }
        .trade-score { margin-top: 3px; color: var(--yellow); font-size: 13px; font-weight: 950; }
        .trade-direction { display: none; }
        .trade-direction.long { color: var(--green); border-color: rgba(34,208,112,.42); background: rgba(34,208,112,.12); }
        .trade-direction.short { color: var(--red); border-color: rgba(255,75,75,.42); background: rgba(255,75,75,.12); }
        .trade-meta { display: none; }
        .trade-stats { margin-top: 12px; color: #cbd5e1; font-size: 14px; line-height: 1.36; font-weight: 900; }
        .reason-list { display: grid; gap: 7px; margin: 10px 0 0; max-height: 140px; overflow: hidden; }
        .reason { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: center; min-height: 38px; padding: 5px 10px; border: 1px solid rgba(14,165,233,.34); border-radius: 9px; background: linear-gradient(90deg, rgba(5,45,78,.52), rgba(82,19,42,.56)); font-size: 13px; font-weight: 900; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
        .reason span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .reason-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(14,165,233,.14); color: var(--cyan); border: 1px solid rgba(14,165,233,.34); font-size: 0; }
        .reason-icon::before { content: ""; width: 11px; height: 11px; border: 2px solid currentColor; border-radius: 3px; opacity: .72; }
        .scanner-loader { min-height: 76px; display: grid; place-items: center; gap: 10px; padding: 14px 12px; border: 1px solid rgba(168,85,247,.34); border-radius: 12px; background: radial-gradient(circle at 50% 0%, rgba(168,85,247,.18), rgba(15,23,42,.46) 62%); color: #e9d5ff; text-align: center; font-size: 13px; font-weight: 950; }
        .scanner-loader-ring { width: 32px; height: 32px; border-radius: 999px; border: 3px solid rgba(168,85,247,.24); border-top-color: #a855f7; border-right-color: #c084fc; box-shadow: 0 0 22px rgba(168,85,247,.30); animation: scanner-loader-spin .78s linear infinite; }
        @keyframes scanner-loader-spin { to { transform: rotate(360deg); } }
        .trade-modal { width: min(920px, 100%); max-height: 88vh; overflow-y: auto; padding: 28px; }
        .trade-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
        .trade-modal h3 { margin: 0; font-size: 28px; line-height: 1.05; }
        .trade-modal-sub { margin-top: 7px; color: #94a3b8; font-size: 13px; font-weight: 800; }
        .trade-modal-close { width: 38px; height: 38px; border: 1px solid rgba(148,163,184,.24); border-radius: 10px; background: rgba(15,23,42,.78); color: #fff; font-size: 22px; cursor: pointer; }
        .trade-candidates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
        .trade-candidate-card {
            position: relative;
            min-height: 154px;
            padding: 18px;
            overflow: hidden;
            border: 1px solid rgba(14,165,233,.34);
            border-radius: 16px;
            background:
                linear-gradient(rgba(59,130,246,.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(59,130,246,.04) 1px, transparent 1px),
                radial-gradient(circle at 18% 20%, rgba(14,165,233,.16), transparent 32%),
                radial-gradient(circle at 94% 96%, rgba(239,68,68,.18), transparent 34%),
                linear-gradient(120deg, rgba(3,10,26,.94), rgba(5,18,39,.86) 48%, rgba(70,18,36,.70));
            background-size: 24px 24px, 24px 24px, auto, auto, auto;
            box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 38px rgba(0,0,0,.24);
        }
        .trade-candidate-content { position: relative; z-index: 1; }
        .trade-candidate-card.modal-trade-locked .trade-candidate-content { filter: blur(5px) saturate(.82); opacity: .24; pointer-events: none; user-select: none; }
        .trade-candidate-card.modal-trade-locked .trade-registered-lock { inset: 14px; }
        .trade-candidate-card.featured { grid-column: 1 / -1; min-height: 210px; padding: 24px; border-color: rgba(14,165,233,.58); }
        .trade-candidate-card.trade-candidate-buy,
        .trade-candidate-card.trade-candidate-buy.featured { border-color: rgba(34,208,112,.78); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 38px rgba(0,0,0,.24), 0 0 0 1px rgba(34,208,112,.20); }
        .trade-candidate-card.trade-candidate-sell,
        .trade-candidate-card.trade-candidate-sell.featured { border-color: rgba(255,66,77,.82); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 38px rgba(0,0,0,.24), 0 0 0 1px rgba(255,66,77,.22); }
        .trade-candidate-card::after {
            content: "";
            position: absolute;
            right: -20px;
            bottom: 8px;
            width: 120px;
            height: 46px;
            opacity: .18;
            background:
                linear-gradient(135deg, transparent 0 18%, rgba(239,68,68,.92) 18% 42%, transparent 42%),
                linear-gradient(45deg, transparent 0 26%, rgba(239,68,68,.80) 26% 46%, transparent 46%),
                linear-gradient(135deg, transparent 0 58%, rgba(239,68,68,.92) 58% 80%, transparent 80%);
            transform: skewX(-12deg);
        }
        .trade-candidate-top { position: relative; z-index: 1; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
        .trade-candidate-logo { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; background: #f8fafc; color: #1d4ed8; font-size: 28px; font-weight: 950; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
        .trade-candidate-rank { position: absolute; top: 12px; right: 12px; color: rgba(226,232,240,.18); font-size: 42px; line-height: 1; font-weight: 950; }
        .trade-candidate-symbol { display: flex; align-items: center; gap: 10px; min-width: 0; color: #f8fafc; font-size: 26px; line-height: 1; font-weight: 950; }
        .trade-candidate-symbol strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .trade-candidate-sub { margin-top: 6px; color: #b8c4da; font-size: 12px; font-weight: 800; }
        .trade-ticker-link,
        .trade-sub-link {
            display: inline-flex;
            max-width: 100%;
            color: inherit;
            text-decoration: none;
        }
        .trade-symbol.trade-ticker-link,
        .trade-desc.trade-sub-link,
        .trade-candidate-sub.trade-sub-link {
            display: flex;
            width: fit-content;
        }
        .trade-symbol.trade-ticker-link {
            width: 100%;
        }
        .trade-ticker-link:hover,
        .trade-sub-link:hover {
            color: #fff;
            text-decoration: underline;
            text-decoration-thickness: 2px;
            text-underline-offset: 4px;
        }
        .trade-logo-link,
        .trade-candidate-logo.trade-logo-link {
            text-decoration: none;
            cursor: pointer;
        }
        .trade-candidate-price { position: relative; z-index: 1; text-align: right; color: var(--green); font-size: 22px; line-height: 1; font-weight: 950; white-space: nowrap; }
        .trade-candidate-score { margin-top: 4px; color: var(--yellow); font-size: 14px; font-weight: 950; }
        .trade-candidate-stats { position: relative; z-index: 1; margin-top: 16px; display: flex; gap: 16px; flex-wrap: wrap; color: #cbd5e1; font-size: 13px; font-weight: 850; }
        .trade-candidate-reasons { position: relative; z-index: 1; display: grid; gap: 8px; margin-top: 14px; }
        .trade-candidate-reason { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 38px; padding: 6px 10px; border: 1px solid rgba(14,165,233,.30); border-radius: 10px; background: linear-gradient(90deg, rgba(5,45,78,.45), rgba(82,19,42,.48)); color: #e2e8f0; font-size: 13px; font-weight: 850; }
        .trade-candidate-reason span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .trade-candidate-empty { grid-column: 1 / -1; min-height: 120px; display: grid; place-items: center; text-align: center; color: #94a3b8; border: 1px solid rgba(139,92,246,.28); border-radius: 16px; background: rgba(3,7,23,.62); font-weight: 850; }
        .wide-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; border-radius: 12px; border: 1px solid rgba(14,165,233,.42); background: linear-gradient(90deg, rgba(14,165,233,.26), rgba(239,68,68,.36)); color: #fff; font-size: 18px; font-weight: 950; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
        .wide-btn:disabled { cursor: pointer; opacity: .96; }

        .premium-tools-section { margin-top: 28px; }
        .premium-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
        .premium-tool { position: relative; min-height: 280px; padding: 20px; overflow: hidden; }
        .tool-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
        .tool-kicker { color: var(--cyan); font-size: 11px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
        .tool-head h3 { margin: 5px 0 0; font-size: 22px; line-height: 1.05; }
        .tool-pill { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(168,85,247,.34); background: rgba(168,85,247,.12); color: #e9d5ff; font-size: 12px; font-weight: 950; }
        .tool-list { display: grid; gap: 9px; }
        .tool-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 48px; padding: 10px 11px; border: 1px solid rgba(148,163,184,.14); border-radius: 10px; background: rgba(15,23,42,.58); }
        .tool-row strong { display: block; color: #f8fafc; font-size: 14px; }
        .tool-row span { display: block; margin-top: 3px; color: #94a3b8; font-size: 12px; font-weight: 800; }
        .tool-value { text-align: right; }
        .tool-row-action { width: 28px; height: 28px; border: 1px solid rgba(248,113,113,.32); border-radius: 8px; background: rgba(127,29,29,.34); color: #fecaca; cursor: pointer; font-size: 18px; line-height: 1; }
        .tool-empty, .tool-note { color: #94a3b8; font-size: 13px; line-height: 1.48; font-weight: 800; }
        .portfolio-summary, .confidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
        .portfolio-summary { grid-template-columns: repeat(2, 1fr); }
        .portfolio-summary div, .confidence-grid div { min-height: 66px; padding: 11px; border-radius: 10px; border: 1px solid rgba(148,163,184,.14); background: rgba(2,6,23,.46); }
        .portfolio-summary span, .confidence-grid span { display: block; color: #94a3b8; font-size: 11px; font-weight: 950; text-transform: uppercase; }
        .portfolio-summary strong, .confidence-grid strong { display: block; margin-top: 8px; color: #f8fafc; font-size: 19px; line-height: 1; }
        .portfolio-form, .ticker-chat-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, .8fr) auto; gap: 8px; margin: 12px 0; }
        .ticker-chat-form { grid-template-columns: minmax(0, 1fr) auto; }
        .portfolio-form input, .ticker-chat-form input { min-width: 0; height: 40px; border: 1px solid rgba(148,163,184,.18); border-radius: 9px; background: rgba(2,6,23,.72); color: #fff; padding: 0 10px; font-weight: 850; }
        .portfolio-form button, .ticker-chat-form button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: linear-gradient(135deg, #7c3aed, #ef4444); color: #fff; font-weight: 950; cursor: pointer; }
        .ticker-chat-log { min-height: 112px; max-height: 180px; overflow-y: auto; padding: 12px; border: 1px solid rgba(148,163,184,.14); border-radius: 10px; background: rgba(2,6,23,.46); }
        .chat-answer { color: #dbeafe; font-size: 13px; line-height: 1.52; white-space: pre-wrap; }

        .premium-locked { position: relative; overflow: hidden; }
        .premium-locked .premium-content { filter: blur(4px); transform: scale(.998); opacity: .36; pointer-events: none; user-select: none; }
        .premium-locked::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 5;
            background:
                linear-gradient(rgba(59,130,246,.045) 1px, transparent 1px),
                linear-gradient(90deg, rgba(59,130,246,.045) 1px, transparent 1px),
                radial-gradient(circle at 50% 8%, rgba(14,165,233,.14), transparent 34%),
                radial-gradient(circle at 92% 86%, rgba(239,68,68,.18), transparent 34%),
                linear-gradient(180deg, rgba(2,6,23,.28), rgba(2,6,23,.86));
            background-size: 26px 26px, 26px 26px, auto, auto, auto;
            pointer-events: none;
        }
        .premium-overlay {
            position: absolute;
            inset: auto 18px 18px;
            z-index: 6;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: left;
            border: 1px solid rgba(14,165,233,.24);
            border-top-color: rgba(239,68,68,.62);
            border-radius: 12px;
            background:
                linear-gradient(90deg, rgba(239,68,68,.18), transparent 38%),
                linear-gradient(145deg, rgba(8,13,30,.88), rgba(2,6,23,.94));
            box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 52px rgba(0,0,0,.42), 0 0 34px rgba(239,68,68,.08);
            backdrop-filter: blur(14px);
        }
        .premium-overlay::before {
            content: "";
            position: absolute;
            left: 14px;
            right: 14px;
            top: 0;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--red), var(--cyan), transparent);
            opacity: .8;
        }
        .premium-overlay.compact { inset: auto 14px 14px; }
        .premium-box { width: min(100%, 410px); padding: 16px; display: grid; grid-template-columns: 46px 1fr; column-gap: 13px; align-items: center; }
        .premium-lock-icon {
            width: 44px;
            height: 44px;
            display: grid;
            place-items: center;
            margin: 0;
            border-radius: 11px;
            color: var(--cyan);
            background: radial-gradient(circle at 50% 35%, rgba(14,165,233,.20), rgba(2,6,23,.72));
            border: 1px solid rgba(14,165,233,.30);
            box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 22px rgba(14,165,233,.10);
        }
        .premium-lock-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
        .premium-kicker { grid-column: 2; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
        .premium-title { grid-column: 2; margin-top: 3px; font-size: 18px; line-height: 1.08; font-weight: 900; color: #f8fafc; }
        .premium-copy { grid-column: 2; margin: 7px 0 0; max-width: 360px; color: #a8b3c7; font-size: 12px; line-height: 1.38; font-weight: 650; }
        .premium-actions { grid-column: 1 / -1; display: flex; justify-content: flex-start; gap: 9px; flex-wrap: wrap; margin-top: 13px; }
        .premium-actions .btn {
            min-height: 36px;
            padding: 0 14px;
            border-radius: 9px;
            background: linear-gradient(135deg, rgba(153,27,27,.92), rgba(239,68,68,.76));
            box-shadow: 0 10px 26px rgba(239,68,68,.16), inset 0 1px 0 rgba(255,255,255,.10);
        }
        .premium-actions .btn.secondary { color: #e2e8f0; background: rgba(15,23,42,.72); border: 1px solid rgba(14,165,233,.24); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }

        @media (max-width: 680px) {
            .premium-overlay, .premium-overlay.compact { inset: auto 12px 12px; }
            .premium-box { grid-template-columns: 40px 1fr; padding: 13px; column-gap: 10px; }
            .premium-lock-icon { width: 38px; height: 38px; }
            .premium-title { font-size: 16px; }
            .premium-copy { font-size: 11px; }
            .premium-actions .btn { min-height: 34px; padding: 0 12px; }
        }

        .insight-card {
            height: 405px;
            min-height: 405px;
            padding: 26px 30px;
            overflow: hidden;
            border-color: rgba(250,204,21,.95);
            box-shadow: inset 0 0 0 1px rgba(239,68,68,.75), 0 20px 50px rgba(0,0,0,.25);
            background: linear-gradient(135deg, rgba(8,13,30,.98), rgba(10,13,43,.94));
        }
        .insight-title { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 950; }
        .ai-chip-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: currentColor; }
        .ai-chip-icon svg { width: 100%; height: 100%; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
        .insight-sub { margin-top: 24px; color: #94a3b8; font-size: 14px; font-weight: 850; }
        .insight-lead { margin: 14px 0 0; color: #e2e8f0; font-size: 15px; line-height: 1.5; font-weight: 750; }
        .insight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
        .insight-factor { min-height: 76px; padding: 12px; border-radius: 12px; border: 1px solid rgba(148,163,184,.16); background: rgba(2,6,23,.48); }
        .insight-factor strong { display: block; color: #f8fafc; font-size: 13px; font-weight: 950; }
        .insight-factor span { display: block; margin-top: 5px; color: #9ca3af; font-size: 12px; line-height: 1.35; font-weight: 700; }
        .insight-playbook { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
        .insight-chip { min-height: 54px; padding: 10px; border-radius: 11px; background: rgba(15,23,42,.74); border: 1px solid rgba(250,204,21,.16); }
        .insight-chip span { display: block; color: #94a3b8; font-size: 11px; font-weight: 850; }
        .insight-chip strong { display: block; margin-top: 4px; color: #f8fafc; font-size: 13px; font-weight: 950; }
        .insight-note { margin-top: 14px; color: #a8b3c7; font-size: 12px; line-height: 1.45; font-weight: 750; }
        .ai-summary-card { height: 405px; min-height: 405px; overflow: hidden; padding: 24px 28px; border-color: rgba(14,165,233,.52); box-shadow: inset 0 0 0 1px rgba(14,165,233,.20), 0 20px 50px rgba(0,0,0,.25); background: radial-gradient(circle at 10% 0%, rgba(14,165,233,.18), transparent 34%), linear-gradient(135deg, rgba(8,13,30,.98), rgba(10,13,43,.94)); }
        .ai-summary-card .insight-title { font-size: 22px; }
        .ai-summary-card .insight-sub { margin-top: 8px; font-size: 13px; }
        .ai-summary-card .ai-generation-status { margin-top: 10px; min-height: 25px; font-size: 10px; }
        .ai-summary-card .insight-lead { margin-top: 9px; font-size: 12px; line-height: 1.25; }
        .ai-summary-card .insight-grid { gap: 7px; margin-top: 9px; }
        .ai-summary-card .insight-factor { min-height: 58px; padding: 8px 9px; }
        .ai-summary-card .insight-factor strong { font-size: 12px; }
        .ai-summary-card .insight-factor span { margin-top: 3px; font-size: 10px; line-height: 1.18; }
        .ai-summary-card .insight-playbook { gap: 7px; margin-top: 8px; }
        .ai-summary-card .insight-chip { min-height: 38px; padding: 7px 9px; }
        .ai-summary-card .insight-chip span { font-size: 10px; }
        .ai-summary-card .insight-chip strong { margin-top: 3px; font-size: 12px; }
        .ai-summary-card .insight-note { display: none; }
        .ai-summary-card .insight-factor { border-color: rgba(14,165,233,.20); }
        .ai-summary-card .insight-factor.warn { border-color: rgba(239,68,68,.22); }
        .ai-generation-status {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 28px;
            margin-top: 12px;
            padding: 0 11px;
            border: 1px solid rgba(14,165,233,.30);
            border-radius: 999px;
            color: #67e8f9;
            background: rgba(14,165,233,.08);
            font-size: 11px;
            font-weight: 950;
            letter-spacing: .08em;
            text-transform: uppercase;
        }
        .ai-generation-status::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 999px;
            background: currentColor;
            box-shadow: 0 0 12px currentColor;
            animation: aiPulse 1s ease-in-out infinite;
        }
        .ai-summary-card.is-complete .ai-generation-status { color: #22d070; border-color: rgba(34,208,112,.30); background: rgba(34,208,112,.08); }
        .ai-generating-text::after {
            content: "";
            display: inline-block;
            width: 7px;
            height: 1em;
            margin-left: 3px;
            transform: translateY(2px);
            background: #67e8f9;
            box-shadow: 0 0 10px rgba(103,232,249,.55);
            animation: aiCaret .75s steps(1) infinite;
        }
        .ai-summary-card.is-generating .insight-factor,
        .ai-summary-card.is-generating .insight-chip,
        .ai-summary-card.is-generating .insight-note {
            animation: aiBlockReveal .44s ease both;
        }
        .ai-summary-card.is-generating .insight-factor:nth-child(2) { animation-delay: .18s; }
        .ai-summary-card.is-generating .insight-factor:nth-child(3) { animation-delay: .34s; }
        .ai-summary-card.is-generating .insight-factor:nth-child(4) { animation-delay: .50s; }
        .ai-summary-card.is-generating .insight-chip:nth-child(2) { animation-delay: .24s; }
        .ai-summary-card.is-generating .insight-chip:nth-child(3) { animation-delay: .40s; }
        @keyframes aiPulse { 0%, 100% { opacity: .38; transform: scale(.82); } 50% { opacity: 1; transform: scale(1.08); } }
        @keyframes aiCaret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
        @keyframes aiBlockReveal { from { opacity: .25; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
        .insight-action-form { margin-top: 16px; }
        .insight-unlock-btn { width: 100%; min-height: 44px; border: 0; border-radius: 11px; background: linear-gradient(135deg,#991b1b,#ef4444); color: #fff; font-weight: 950; cursor: pointer; }
        .insight-unlock-btn:disabled { cursor: not-allowed; opacity: .55; }
        .locked-box { margin-top: 12px; min-height: 168px; display: grid; place-items: center; text-align: center; border-radius: 12px; background: rgba(2,6,23,.78); box-shadow: inset 0 0 32px rgba(15,23,42,.86); }
        .lock { font-size: 31px; color: #facc15; }
        .unlock-title { margin-top: 8px; font-size: 18px; font-weight: 950; }
        .unlock-cost { color: #94a3b8; }
        .remaining { color: var(--green); font-size: 17px; font-weight: 950; }

        .chart-row { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 22px; align-items: start; }
        .chart-panel { min-height: 510px; padding: 18px; border-color: rgba(239,68,68,.72); box-shadow: inset 0 0 0 1px rgba(239,68,68,.55), 0 0 44px rgba(239,68,68,.07); }
        .chart-wrap { min-height: 490px; border-radius: 14px; overflow: hidden; }
        .chart-wrap .plotly-graph-div { width: 100% !important; }

        .ai-panel {
            min-height: 510px;
            padding: 22px;
            border-color: rgba(226,232,240,.62);
            background: linear-gradient(180deg, rgba(8,13,30,.94), rgba(2,6,23,.96));
        }
        .ai-panel {
            position: relative;
            overflow: hidden;
            border: 2px solid rgba(37, 99, 235, .78);
            border-radius: 18px;
            background:
                radial-gradient(circle at 12% 12%, rgba(56,189,248,.30), transparent 22%),
                radial-gradient(circle at 18% 78%, rgba(37,99,235,.24), transparent 34%),
                linear-gradient(180deg, rgba(5,18,44,.98), rgba(2,5,18,.99));
            box-shadow:
                0 22px 74px rgba(0,0,0,.44),
                inset 0 1px 0 rgba(255,255,255,.08),
                0 0 0 1px rgba(37,99,235,.16);
        }
        .ai-panel::after {
            content: "";
            position: absolute;
            left: 22px;
            right: 22px;
            bottom: 0;
            height: 120px;
            pointer-events: none;
            background:
                linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/58px 100%,
                linear-gradient(180deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/100% 34px;
            opacity: .48;
        }
        .ai-head { display: grid; grid-template-columns: 86px 1fr 34px; gap: 14px; align-items: start; }
        .ai-panel .premium-content { position: relative; z-index: 1; }
        .ai-panel .ai-head { grid-template-columns: 116px 1fr 42px; gap: 18px; align-items: center; }
        .donut {
            --pct: var(--trade-probability);
            position: relative;
            width: 78px;
            height: 78px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: conic-gradient(var(--blue) calc(var(--pct) * 1%), rgba(15,23,42,.86) 0);
            box-shadow: 0 0 0 10px rgba(37,99,235,.13), inset 0 0 16px rgba(0,0,0,.44);
        }
        .donut::before { content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; border-radius: 50%; background: #061124; transform: translate(-50%, -50%); }
        .ai-panel .donut {
            width: 110px;
            height: 110px;
            border: 0;
            background: conic-gradient(#ffffff calc(var(--pct) * 1%), rgba(15,23,42,.88) 0);
            box-shadow: inset 0 0 18px rgba(0,0,0,.62);
        }
        .ai-panel .donut::before {
            width: 68px;
            height: 68px;
            background: radial-gradient(circle, #08152c 0%, #050b19 72%);
            box-shadow: inset 0 0 18px rgba(0,0,0,.78);
        }
        .donut-text { position: relative; z-index: 1; text-align: center; font-weight: 950; line-height: .95; }
        .donut-text b { display: block; font-size: 19px; }
        .donut-text span { display: block; color: var(--blue); font-size: 9px; text-transform: uppercase; }
        .ai-panel .donut-text b { color: #fff; font-size: 30px; line-height: .9; }
        .ai-panel .donut-text span { margin-top: 5px; color: #fff; font-size: 10px; font-weight: 950; }
        .panel-kicker { color: var(--cyan); font-size: 13px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
        .ai-panel .panel-kicker { color: #38a8ff; font-size: 13px; letter-spacing: .12em; }
        .panel-title { margin-top: 3px; font-size: 23px; line-height: 1.05; font-weight: 950; }
        .ai-panel .panel-title { color: #f4f7ff; font-size: 32px; text-shadow: 0 2px 14px rgba(255,255,255,.12); }
        .panel-copy { margin-top: 9px; color: #94a3b8; font-weight: 800; line-height: 1.35; }
        .ai-panel .panel-copy { color: #aab4c8; font-size: 15px; }
        .share-btn { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(148,163,184,.20); border-radius: 9px; background: rgba(15,23,42,.62); color: #cbd5e1; cursor: pointer; }
        .ai-panel .share-btn { width: 42px; height: 42px; border-radius: 12px; border-color: rgba(148,163,184,.28); background: rgba(4,10,25,.72); color: #f8fafc; }
        .decision-label { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; color: #cbd5e1; font-size: 13px; font-weight: 950; }
        .ai-panel .decision-label { margin-top: 30px; color: #d8deeb; font-size: 14px; }
        .decision-pill { color: var(--cyan); border: 1px solid rgba(14,165,233,.42); background: rgba(14,165,233,.14); padding: 2px 9px; border-radius: 999px; }
        .ai-panel .decision-pill { color: #38a8ff; border-color: rgba(56,189,248,.50); background: rgba(2,8,24,.72); padding: 7px 14px; border-radius: 10px; font-size: 17px; }
        .decision-bar {
            height: 8px;
            margin-top: 9px;
            border-radius: 999px;
            background: linear-gradient(90deg, #ef4444 0%, #facc15 50%, #22c55e 100%);
            overflow: hidden;
        }
        .decision-bar::after {
            content: "";
            display: block;
            width: var(--trade-probability-width);
            height: 100%;
            background: linear-gradient(90deg, #ef4444 0%, #facc15 50%, #22c55e 100%);
            border-radius: 999px;
            box-shadow: 0 0 18px rgba(250,204,21,.22), 0 0 18px rgba(34,197,94,.20);
        }
        .ai-panel .decision-bar { height: 12px; margin-top: 12px; background: linear-gradient(90deg, #ef4444 0%, #facc15 50%, #22c55e 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
        .ai-panel .decision-bar::after { width: 100%; background: linear-gradient(90deg, #ef4444 0%, #facc15 50%, #22c55e 100%); }
        .trade-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-top: 1px solid rgba(148,163,184,.10); }
        .ai-panel .trade-metrics { margin-top: 24px; }
        .trade-metric { padding: 13px 12px; border-right: 1px solid rgba(148,163,184,.10); min-height: 78px; }
        .trade-metric:last-child { border-right: 0; }
        .trade-metric .label { color: #94a3b8; font-size: 11px; font-weight: 950; text-transform: uppercase; }
        .trade-metric .num { margin-top: 10px; font-size: 22px; font-weight: 950; overflow-wrap: anywhere; }

        .locked-price {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 34px;
            min-width: 44px;
            min-height: 34px;
            padding: 0;
            border: 1px solid rgba(250,204,21,.48);
            border-radius: 11px;
            color: #facc15;
            background:
                radial-gradient(circle at 50% 18%, rgba(250,204,21,.20), transparent 48%),
                linear-gradient(180deg, rgba(15,23,42,.92), rgba(2,6,23,.82));
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,.12),
                inset 0 -1px 0 rgba(250,204,21,.08),
                0 0 18px rgba(250,204,21,.12);
            cursor: pointer;
            font: inherit;
            line-height: 1;
            transition: transform .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, background .16s ease;
        }
        .locked-price:hover,
        .locked-price:focus-visible {
            transform: translateY(-1px);
            color: #fde68a;
            border-color: rgba(250,204,21,.78);
            background:
                radial-gradient(circle at 50% 18%, rgba(250,204,21,.30), transparent 50%),
                linear-gradient(180deg, rgba(30,41,59,.96), rgba(5,12,28,.90));
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,.16),
                0 0 0 3px rgba(250,204,21,.10),
                0 0 22px rgba(250,204,21,.20);
            outline: none;
        }
        .locked-price .lock-icon { position: relative; width: 20px; height: 20px; font-size: 0; line-height: 1; }
        .locked-price .lock-icon::before {
            content: "";
            position: absolute;
            left: 5px;
            top: 1px;
            width: 10px;
            height: 9px;
            border: 2px solid currentColor;
            border-bottom: 0;
            border-radius: 10px 10px 0 0;
            box-sizing: border-box;
            filter: drop-shadow(0 0 6px rgba(250,204,21,.26));
        }
        .locked-price .lock-icon::after {
            content: "";
            position: absolute;
            left: 3px;
            bottom: 2px;
            width: 14px;
            height: 12px;
            border: 2px solid currentColor;
            border-radius: 4px;
            background:
                radial-gradient(circle at 50% 55%, rgba(2,6,23,.92) 0 2px, transparent 2.5px),
                linear-gradient(180deg, rgba(250,204,21,.22), rgba(250,204,21,.06));
            box-shadow:
                inset 0 1px 0 rgba(255,255,255,.16),
                0 0 10px rgba(250,204,21,.18);
            box-sizing: border-box;
        }
        .locked-price .locked-value { display: none; color: inherit; }
        body.prices-confirmed .locked-price { min-width: 0; min-height: 0; padding: 0; border: 0; color: inherit; background: transparent; box-shadow: none; cursor: default; }
        body.prices-confirmed .locked-price .lock-icon { display: none; }
        body.prices-confirmed .locked-price .locked-value { display: inline; }
        .price-disclaimer-modal { position: fixed; inset: 0; z-index: 41000; display: none; align-items: center; justify-content: center; padding: 22px; }
        .price-disclaimer-modal.active { display: flex; }
        .price-disclaimer-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
        .price-disclaimer-dialog { position: relative; width: min(560px, calc(100vw - 28px)); border: 1px solid rgba(250,204,21,.34); border-radius: 16px; background: radial-gradient(circle at 50% 0%, rgba(250,204,21,.12), transparent 34%), linear-gradient(180deg, rgba(8,13,30,.98), rgba(2,6,23,.98)); box-shadow: 0 28px 82px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.08); padding: 24px; }
        .price-disclaimer-kicker { color: #facc15; font-size: 12px; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
        .price-disclaimer-title { margin-top: 8px; color: #f8fafc; font-size: 26px; line-height: 1.05; font-weight: 950; }
        .price-disclaimer-copy { margin-top: 14px; color: #dbeafe; font-size: 15px; line-height: 1.55; font-weight: 760; }
        .price-disclaimer-check { display:flex; align-items:flex-start; gap:10px; margin-top:14px; color:#cbd5e1; font-size:13px; line-height:1.45; }
        .price-disclaimer-check input { flex:0 0 auto; margin-top:2px; accent-color:#facc15; }
        .price-disclaimer-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
        .price-disclaimer-btn { min-height: 42px; padding: 0 15px; border: 1px solid rgba(148,163,184,.22); border-radius: 10px; background: rgba(15,23,42,.78); color: #e2e8f0; font-weight: 900; cursor: pointer; }
        .price-disclaimer-btn.primary { border-color: rgba(34,197,94,.40); background: linear-gradient(135deg, rgba(22,101,52,.94), rgba(34,197,94,.74)); color: #fff; }
        .ai-score-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
        .small-box { min-height: 90px; padding: 14px; border: 1px solid rgba(37,99,235,.22); border-radius: 9px; background: rgba(4,10,25,.76); }
        .small-box .label { color: #94a3b8; font-size: 12px; font-weight: 950; text-transform: uppercase; }
        .small-box .num { margin-top: 12px; font-size: 21px; font-weight: 950; }
        .stars { color: #facc15; letter-spacing: 1px; }
        .summary-bar { margin-top: 18px; min-height: 74px; display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid rgba(37,99,235,.18); border-radius: 12px; background: rgba(2,6,23,.60); }
        .summary-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); border: 1px solid rgba(37,99,235,.38); background: rgba(37,99,235,.12); }

        .model-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); gap: 24px; margin-top: 22px; padding: 20px; border-color: rgba(37,99,235,.46); }
        .sidebar-model-card { display: block; margin-top: 16px; padding: 18px; border-color: rgba(34,211,238,.28); border-radius: 12px; background: radial-gradient(circle at 18% 0%, rgba(14,165,233,.18), transparent 35%), linear-gradient(180deg, rgba(3,18,36,.92), rgba(2,6,23,.96)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 42px rgba(0,0,0,.22); }
        .sidebar-model-top { display: grid; grid-template-columns: minmax(0, .95fr) minmax(132px, 1fr); gap: 12px; align-items: start; }
        .model-kicker { color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 950; }
        .model-title { margin-top: 10px; font-size: 23px; font-weight: 950; }
        .model-copy { margin-top: 8px; color: #94a3b8; font-weight: 800; }
        .model-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
        .model-stat { min-height: 98px; padding: 16px; border: 1px solid rgba(37,99,235,.20); border-radius: 10px; background: rgba(4,10,25,.62); }
        .model-stat strong { display: block; margin-top: 14px; font-size: 24px; }
        .model-factors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .factor { min-height: 112px; padding: 16px; border-radius: 10px; background: rgba(2,6,23,.48); border: 1px solid rgba(34,197,94,.22); }
        .factor.warn { border-color: rgba(239,68,68,.22); }
        .factor h4 { margin: 0 0 8px; font-size: 15px; }
        .factor p { margin: 0; color: #94a3b8; font-size: 14px; line-height: 1.45; }
        .sidebar-model-card .model-title { margin-top: 8px; font-size: 34px; line-height: .96; }
        .sidebar-model-card .model-title span { display: block; }
        .sidebar-model-card .model-title small { display: block; margin-top: 6px; color: #dbeafe; font-size: 13px; line-height: 1.18; font-weight: 900; text-transform: lowercase; }
        .sidebar-model-card .model-copy { font-size: 12px; line-height: 1.45; font-weight: 760; }
        .sidebar-model-card .model-factors { grid-template-columns: 1fr; gap: 8px; }
        .sidebar-model-card .factor { min-height: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px; border-color: rgba(37,99,235,.13); background: rgba(4,16,33,.62); }
        .sidebar-model-card .factor h4 { margin: 0 0 3px; font-size: 11px; line-height: 1.1; }
        .sidebar-model-card .factor p { font-size: 10px; line-height: 1.22; }
        .sidebar-model-card .factor.warn { border-color: rgba(239,68,68,.16); }
        .model-factor-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: #22d070; background: rgba(34,208,112,.10); border: 1px solid rgba(34,208,112,.18); }
        .model-factor-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
        .factor.warn .model-factor-icon { color: #ef4444; background: rgba(239,68,68,.10); border-color: rgba(239,68,68,.18); }
        .factor.info .model-factor-icon { color: #22d3ee; background: rgba(34,211,238,.10); border-color: rgba(34,211,238,.18); }
        .factor.news .model-factor-icon { color: #60a5fa; background: rgba(96,165,250,.10); border-color: rgba(96,165,250,.18); }
        .sidebar-model-card .model-stats { gap: 8px; margin-top: 12px; }
        .sidebar-model-card .model-stat { min-height: 88px; padding: 10px; border-radius: 9px; background: rgba(8,24,43,.72); }
        .sidebar-model-card .model-stat .label { font-size: 10px; line-height: 1.12; }
        .sidebar-model-card .model-stat strong { margin-top: 8px; font-size: 22px; line-height: 1; }
        .model-footnote { margin: 12px 0 0; color: #8fa1bc; font-size: 10px; line-height: 1.25; font-weight: 720; }

        .section-title { margin: 72px 0 34px; text-align: center; }
        .section-title h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1; font-weight: 950; }
        .section-title p { margin: 14px 0 0; color: #94a3b8; font-size: 18px; font-weight: 800; }
        .section-title em { color: var(--red); font-style: normal; }

        .strategy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
        .strategy-card { min-height: 428px; height: 428px; padding: 24px 24px 0; border-radius: 14px; overflow: hidden; }
        .strategy-card.green { border-color: rgba(34,208,112,.34); background: radial-gradient(circle at 5% 5%, rgba(34,208,112,.25), transparent 24%), linear-gradient(180deg, rgba(5,18,22,.97), rgba(2,4,16,.99)); }
        .strategy-card.blue { border-color: rgba(37,99,235,.48); background: radial-gradient(circle at 5% 5%, rgba(37,99,235,.30), transparent 24%), linear-gradient(180deg, rgba(5,13,32,.97), rgba(2,4,16,.99)); }
        .strategy-card.purple { border-color: rgba(168,85,247,.50); background: radial-gradient(circle at 5% 5%, rgba(168,85,247,.30), transparent 24%), linear-gradient(180deg, rgba(15,8,34,.97), rgba(2,4,16,.99)); }
        .strategy-head { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) 142px; gap: 14px; align-items: start; }
        .strategy-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; font-size: 24px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 28px currentColor; }
        .strategy-card.green .strategy-icon { color: #86efac; background: rgba(34,197,94,.20); box-shadow: 0 0 30px rgba(34,197,94,.30); }
        .strategy-card.blue .strategy-icon { color: #93c5fd; background: rgba(37,99,235,.22); box-shadow: 0 0 30px rgba(37,99,235,.32); }
        .strategy-card.purple .strategy-icon { color: #d8b4fe; background: rgba(168,85,247,.22); box-shadow: 0 0 30px rgba(168,85,247,.32); }
        .strategy-title-wrap { min-width: 0; }
        .strategy-name { font-size: 23px; line-height: 1.04; font-weight: 950; white-space: nowrap; overflow: visible; text-overflow: clip; text-shadow: 0 2px 10px rgba(0,0,0,.60); }
        .strategy-sub { margin-top: 9px; color: #94a3b8; font-size: 14px; line-height: 1.18; font-weight: 850; max-width: 275px; }
        .strategy-actions { display: grid; justify-items: end; gap: 10px; }
        .strategy-pill { width: 100%; min-width: 0; padding: 8px 10px; border-radius: 9px; font-size: 17px; line-height: 1; font-weight: 950; text-align: center; border: 1px solid currentColor; background: rgba(255,255,255,.06); white-space: nowrap; }
        .strategy-share { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(148,163,184,.20); background: rgba(15,23,42,.62); color: #cbd5e1; font-size: 20px; font-weight: 900; cursor: pointer; }
        .share-btn:hover, .strategy-share:hover { color: #fff; border-color: rgba(34,211,238,.42); background: rgba(14,165,233,.14); }
        .share-capture-busy { opacity: .62; pointer-events: none; }
        .share-card-modal { position: fixed; inset: 0; z-index: 40000; display: none; align-items: center; justify-content: center; padding: 22px; }
        .share-card-modal.active { display: flex; }
        .share-card-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.72); backdrop-filter: blur(12px); }
        .share-card-dialog { position: relative; width: min(720px, calc(100vw - 28px)); max-height: 90vh; overflow: auto; border: 1px solid rgba(14,165,233,.32); border-radius: 16px; background: linear-gradient(180deg, rgba(8,13,30,.98), rgba(2,6,23,.98)); box-shadow: 0 28px 80px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.08); padding: 22px; }
        .share-card-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(148,163,184,.22); background: rgba(15,23,42,.78); color: #e2e8f0; font-size: 24px; line-height: 1; cursor: pointer; }
        .share-card-head { padding-right: 48px; }
        .share-card-kicker { color: var(--cyan); font-size: 11px; font-weight: 950; letter-spacing: .15em; text-transform: uppercase; }
        .share-card-title { margin-top: 7px; font-size: 24px; line-height: 1.08; font-weight: 950; }
        .share-card-copy { margin-top: 8px; color: #94a3b8; font-size: 13px; line-height: 1.45; font-weight: 750; }
        .share-card-preview { margin-top: 16px; min-height: 210px; display: grid; place-items: center; border: 1px solid rgba(148,163,184,.16); border-radius: 12px; background: rgba(2,6,23,.56); overflow: hidden; }
        .share-card-preview img { display: block; width: 100%; height: auto; }
        .share-card-loading { color: #94a3b8; font-weight: 850; }
        .share-card-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
        .share-card-action { min-height: 42px; border: 1px solid rgba(148,163,184,.20); border-radius: 10px; background: rgba(15,23,42,.76); color: #e2e8f0; font-weight: 900; cursor: pointer; }
        .share-card-action.primary { background: linear-gradient(135deg, rgba(153,27,27,.92), rgba(239,68,68,.76)); border-color: rgba(239,68,68,.42); color: #fff; }
        .share-card-action:disabled { opacity: .5; cursor: not-allowed; }
        .share-card-note { margin-top: 10px; color: #94a3b8; font-size: 12px; line-height: 1.4; }
        .strategy-main { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 18px; }
        .strategy-donut { width: 126px; height: 126px; margin-left: 2px; }
        .strategy-donut::before { width: 78px; height: 78px; }
        .strategy-donut .donut-text b { font-size: 28px; }
        .strategy-donut .donut-text span { font-size: 11px; font-weight: 950; }
        .strategy-card.green .strategy-donut { background: conic-gradient(#3edb79 calc(var(--pct) * 1%), rgba(15,23,42,.86) 0); box-shadow: inset 0 0 16px rgba(0,0,0,.48); }
        .strategy-card.blue .strategy-donut { background: conic-gradient(#38a8ff calc(var(--pct) * 1%), rgba(15,23,42,.86) 0); box-shadow: inset 0 0 16px rgba(0,0,0,.48); }
        .strategy-card.purple .strategy-donut { background: conic-gradient(#a855f7 calc(var(--pct) * 1%), rgba(15,23,42,.86) 0); box-shadow: inset 0 0 16px rgba(0,0,0,.48); }
        .strategy-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; transform: translateY(2px); }
        .strategy-values > div { min-height: 82px; padding: 12px 9px; border: 1px solid rgba(148,163,184,.16); border-radius: 10px; background: rgba(2,6,23,.42); overflow: hidden; }
        .strategy-values .label { color: #94a3b8; font-size: 10px; line-height: 1.05; font-weight: 950; text-transform: uppercase; white-space: nowrap; }
        .strategy-values .num { margin-top: 11px; font-size: 18px; line-height: 1; font-weight: 950; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
        .strategy-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; padding-top: 18px; border-top: 1px solid rgba(148,163,184,.12); }
        .kpi { min-height: 98px; padding: 14px 15px; border-radius: 10px; border: 1px solid rgba(37,99,235,.22); background: rgba(4,10,25,.66); }
        .strategy-card.green .kpi { border-color: rgba(34,208,112,.24); }
        .strategy-card.blue .kpi { border-color: rgba(37,99,235,.28); }
        .strategy-card.purple .kpi { border-color: rgba(168,85,247,.28); }
        .kpi .label { color: #94a3b8; font-size: 11px; line-height: 1.08; font-weight: 950; text-transform: uppercase; }
        .kpi .num { margin-top: 14px; font-size: 17px; line-height: 1.05; font-weight: 950; white-space: nowrap; overflow: hidden; text-overflow: clip; }
        .strategy-card.purple .kpi .num { font-size: 16px; }
        .sparkline { height: 90px; margin: 18px -1px 0; border-radius: 9px 9px 0 0; overflow: hidden; background: linear-gradient(180deg, rgba(2,6,23,.22), rgba(2,6,23,.74)); }
        .sparkline svg { width: 100%; height: 100%; display: block; }
        #strategies .strategy-card {
            position: relative;
            height: 540px;
            min-height: 540px;
            padding-bottom: 126px;
            overflow: hidden;
            isolation: isolate;
        }
        #strategies .strategy-card::after {
            content: "";
            position: absolute;
            left: 24px;
            right: 24px;
            bottom: 0;
            height: 122px;
            z-index: -1;
            background:
                linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/58px 100%,
                linear-gradient(180deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/100% 34px;
            opacity: .55;
        }
        #strategies .strategy-kpis { margin-bottom: 0; }
        #strategies .sparkline {
            position: absolute;
            left: 24px;
            right: 24px;
            bottom: -2px;
            height: 112px;
            margin: 0;
            opacity: .96;
            border-radius: 9px 9px 0 0;
            background: linear-gradient(180deg, rgba(2,6,23,.10), rgba(2,6,23,.68));
        }
        #strategies .sparkline svg {
            width: 100%;
            height: 100%;
            display: block;
            filter: drop-shadow(0 0 14px currentColor);
        }
        #strategies .strategy-card.green .sparkline { color: rgba(34,208,112,.55); }
        #strategies .strategy-card.blue .sparkline { color: rgba(56,189,248,.50); }
        #strategies .strategy-card.purple .sparkline { color: rgba(168,85,247,.50); }

        .news-section { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(460px, .88fr); gap: 22px; }
        .news-header { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; align-items: end; }
        .news-kicker { color: var(--cyan); text-transform: uppercase; letter-spacing: .18em; font-weight: 950; font-size: 13px; }
        .news-header h2 { margin: 8px 0 0; font-size: 32px; }
        .news-note { color: #94a3b8; font-weight: 850; }
        .feature-news { min-height: 620px; display: grid; grid-template-rows: 1fr auto; border-color: rgba(37,99,235,.28); }
        .feature-image { min-height: 420px; background-image: url("/static/images/hero-bg.png"); background-image: image-set(url("/static/images/hero-bg-640.avif") type("image/avif") 1x, url("/static/images/hero-bg-1024.avif") type("image/avif") 2x, url("/static/images/hero-bg-640.webp") type("image/webp") 1x, url("/static/images/hero-bg-1024.webp") type("image/webp") 2x); background-position: center; background-size: cover; background-repeat: no-repeat; position: relative; }
        .feature-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2,6,23,.82)); }
        .feature-body { padding: 22px; }
        .news-meta { color: var(--cyan); font-size: 12px; font-weight: 950; letter-spacing: .04em; text-transform: uppercase; }
        .feature-title { margin-top: 12px; font-size: 28px; line-height: 1.15; font-weight: 950; }
        .feature-summary { margin-top: 12px; color: #aab4c8; line-height: 1.55; font-weight: 700; }
        .news-list { display: grid; gap: 14px; }
        .news-card { display: grid; grid-template-columns: 190px 1fr; min-height: 138px; border-color: rgba(37,99,235,.22); }
        .news-thumb { background-image: url("/static/images/hero-bg.png"); background-image: image-set(url("/static/images/hero-bg-640.avif") type("image/avif") 1x, url("/static/images/hero-bg-1024.avif") type("image/avif") 2x, url("/static/images/hero-bg-640.webp") type("image/webp") 1x, url("/static/images/hero-bg-1024.webp") type("image/webp") 2x); background-position: center; background-size: cover; background-repeat: no-repeat; min-height: 138px; }
        .news-content { padding: 18px; }
        .news-title { margin-top: 9px; font-size: 20px; line-height: 1.18; font-weight: 950; }
        .news-summary { margin-top: 9px; color: #94a3b8; line-height: 1.45; font-size: 14px; font-weight: 700; }

        .strategies-footer {
            position: relative;
            background: radial-gradient(circle at 24% 0%, rgba(239,68,68,.22), transparent 22%), linear-gradient(180deg, #060b1a 0%, #020617 100%);
            padding: 42px clamp(24px,4vw,64px) 0;
            border-top: 1px solid rgba(239,68,68,.82);
            width: 100%;
            margin: 88px 0 0;
            box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 -12px 34px rgba(239,68,68,.28);
        }
        .footer-content { display: grid; grid-template-columns: minmax(250px,1.35fr) minmax(120px,.72fr) minmax(160px,.82fr) minmax(300px,1.3fr); gap: clamp(24px,3.4vw,64px); align-items: start; }
        .footer-logo img { height: 54px; width: auto; display: block; }
        .footer-description { max-width: 320px; color: #94a3b8; line-height: 1.65; margin: 20px 0 0; }
        .footer-social { display: flex; gap: 14px; margin-top: 26px; }
        .social-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(15,23,42,.72); border: 1px solid rgba(148,163,184,.18); display: flex; align-items: center; justify-content: center; color: #94a3b8; font-weight: 950; }
        .footer-column h4, .footer-payments h4 { font-size: 14px; font-weight: 900; color: #e2e8f0; margin: 0 0 20px; text-transform: uppercase; letter-spacing: .04em; }
        .footer-links { display: flex; flex-direction: column; gap: 15px; }
        .footer-link { color: #94a3b8; font-size: 15px; }
        .footer-payments { border-left: 1px solid rgba(239,68,68,.32); padding-left: clamp(28px,3.4vw,64px); }
        .footer-payments p { max-width: 330px; color: #94a3b8; margin: 0 0 18px; line-height: 1.65; }
        .payment-logos { display: grid; grid-template-columns: repeat(2,minmax(0,94px)); gap: 10px; }
        .payment-logo { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 14px; border: 1px solid rgba(148,163,184,.18); border-radius: 10px; background: linear-gradient(180deg, rgba(15,23,42,.86), rgba(2,6,23,.72)); color: #e2e8f0; font-size: 17px; font-weight: 950; }
        .mastercard-mark { position: relative; width: 60px; height: 26px; }
        .mastercard-mark::before, .mastercard-mark::after { content: ""; position: absolute; top: 2px; width: 26px; height: 26px; border-radius: 50%; opacity: .94; }
        .mastercard-mark::before { left: 8px; background: #eb001b; }
        .mastercard-mark::after { right: 8px; background: #f79e1b; mix-blend-mode: screen; }
        .google-g { font-weight: 1000; background: conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
        .paypal-mark { color: #7dd3fc; }
        .footer-bottom { margin: 42px 0 0; padding: 22px 0; border-top: 1px solid rgba(148,163,184,.14); display: grid; grid-template-columns: minmax(210px,.85fr) minmax(520px,1.5fr) minmax(140px,.65fr); align-items: center; gap: 20px; font-size: 14px; color: #94a3b8; }
        .footer-bottom-right { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
        .footer-badge, .footer-language { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
        .footer-badge svg, .footer-language svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
        .footer-language { justify-self: end; }

        .modal-backdrop, .donation-modal { position: fixed; inset: 0; z-index: 13000; display: none; align-items: center; justify-content: center; padding: 20px; }
        .modal-backdrop.active, .donation-modal.active { display: flex; }
        .modal-backdrop::before, .donation-backdrop { content: ""; position: absolute; inset: 0; background: rgba(2,6,23,.82); backdrop-filter: blur(16px); }
        .modal, .donation-card { position: relative; z-index: 1; border: 1px solid rgba(148,163,184,.22); border-radius: 18px; background: linear-gradient(145deg, rgba(8,13,30,.98), rgba(2,6,23,.98)); box-shadow: 0 28px 90px rgba(0,0,0,.64); }
        .modal { width: min(420px, 100%); padding: 26px; }
        .modal h3 { margin: 0 0 16px; font-size: 28px; }
        .modal input { width: 100%; height: 44px; margin: 8px 0; padding: 0 13px; border: 1px solid rgba(148,163,184,.18); border-radius: 8px; background: #0f172a; color: #fff; }
        .modal-actions { display: flex; gap: 10px; margin-top: 12px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; background: linear-gradient(135deg, #991b1b, #ef4444); color: #fff; font-weight: 950; cursor: pointer; }
        .btn.secondary { background: rgba(15,23,42,.82); border: 1px solid rgba(148,163,184,.22); }
        .auth-modal { width: min(520px, 100%); padding: 0; overflow: hidden; border-color: rgba(14,165,233,.30); }
        .auth-modal-head { padding: 28px 28px 18px; background: radial-gradient(circle at 15% 0%, rgba(239,68,68,.22), transparent 32%), linear-gradient(135deg, rgba(15,23,42,.94), rgba(2,6,23,.98)); border-bottom: 1px solid rgba(148,163,184,.12); }
        .auth-modal-kicker { color: var(--cyan); font-size: 12px; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
        .auth-modal h3 { margin: 8px 0 8px; font-size: 30px; line-height: 1.05; }
        .auth-modal-copy { margin: 0; color: #aab4c8; line-height: 1.5; font-weight: 750; }
        .auth-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 18px 28px 0; }
        .auth-tab { min-height: 42px; border-radius: 10px; border: 1px solid rgba(148,163,184,.18); background: rgba(15,23,42,.68); color: #cbd5e1; font-weight: 950; cursor: pointer; }
        .auth-tab.active { color: #fff; border-color: rgba(239,68,68,.54); background: linear-gradient(135deg, rgba(153,27,27,.72), rgba(239,68,68,.34)); }
        .auth-pane { display: none; padding: 18px 28px 28px; }
        .auth-pane.active { display: block; }
        .auth-form-label { display: block; margin: 10px 0 6px; color: #94a3b8; font-size: 12px; font-weight: 950; text-transform: uppercase; }
        .auth-legal-check { display:flex; align-items:flex-start; gap:10px; margin:14px 0 2px; color:#cbd5e1; font-size:12px; line-height:1.45; }
        .auth-legal-check input { flex:0 0 auto; width:16px; height:16px; margin-top:2px; accent-color:#facc15; }
        .auth-legal-check a { color:#fde68a; font-weight:900; text-decoration:none; }
        .auth-google { width: 100%; min-height: 44px; margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 10px; border: 1px solid rgba(226,232,240,.22); background: #f8fafc; color: #1f2937; font-weight: 950; }
        .auth-google svg { width: 20px; height: 20px; }
        .auth-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0 8px; color: #64748b; font-size: 12px; font-weight: 900; text-transform: uppercase; }
        .auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: rgba(148,163,184,.16); }
        .auth-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 11px; border: 1px solid rgba(148,163,184,.20); background: rgba(15,23,42,.76); color: #e2e8f0; font-size: 22px; cursor: pointer; }
        .donation-card { width: min(100%, 760px); display: grid; grid-template-columns: minmax(260px,.86fr) 1fr; overflow: hidden; border-color: rgba(250,204,21,.32); }
        .donation-copy { padding: 34px; border-right: 1px solid rgba(148,163,184,.14); }
        .donation-kicker { display: inline-flex; padding: 7px 12px; border-radius: 999px; color: #fde68a; border: 1px solid rgba(250,204,21,.28); background: rgba(250,204,21,.10); font-size: 12px; font-weight: 900; text-transform: uppercase; }
        .donation-copy h2 { margin: 18px 0 12px; font-size: 32px; }
        .donation-copy p { margin: 0 0 16px; color: #a7b2c7; line-height: 1.62; }
        .donation-points { display: grid; gap: 10px; margin-top: 18px; color: #dbeafe; font-size: 14px; font-weight: 750; }
        .donation-qr-panel { padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
        .donation-qr-wrap { width: min(100%, 270px); padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
        .donation-qr-wrap img { display: block; width: 100%; height: auto; border-radius: 10px; }
        .donation-network { margin-top: 16px; display: inline-flex; gap: 8px; padding: 8px 12px; border-radius: 999px; color: #f8fafc; background: rgba(15,23,42,.72); border: 1px solid rgba(148,163,184,.18); font-size: 13px; font-weight: 900; }
        .donation-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 1px solid rgba(148,163,184,.22); border-radius: 11px; background: rgba(15,23,42,.78); color: #fff; cursor: pointer; font-size: 22px; z-index: 2; }

        @media (max-width: 1500px) {
            .hero-grid {
                grid-template-columns: minmax(0, 840px);
                justify-content: start;
            }
            .hero-grid .trade-card,
            .hero-grid .insight-card {
                width: min(100%, 840px);
            }
            .hero-grid .trade-inner {
                grid-template-columns: minmax(220px, .62fr) minmax(0, 1fr);
                padding-inline: 30px;
            }
            .chart-row, .model-card, .news-section { grid-template-columns: 1fr; }
            .strategy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }

        @media (max-width: 1180px) {
            .strategy-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 1320px) {
            .download-buttons { display: none; }
            .navbar { gap: 10px; padding-inline: 18px; }
            .logo img { height: 48px; }
            .search { flex-basis: 220px; min-width: 170px; }
            .menu { gap: 6px; }
            .nav-item { padding: 0 8px; font-size: 13px; }
            .nav-icon { width: 18px; height: 18px; }
        }

        @media (max-width: 1120px) {
            .app-shell { grid-template-columns: 1fr; }
            .ticker-sidebar { position: relative; top: auto; min-height: auto; }
            .side-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
            .ticker-sidebar::after { display: none; }
        }

        @media (max-width: 980px) {
            .navbar { flex-wrap: wrap; padding: 10px 16px; }
            .logo img { height: 46px; }
            .search { flex: 1 1 220px; }
            .menu { order: 3; width: 100%; overflow-x: auto; }
            .trade-inner, .footer-content, .footer-bottom, .side-stack { grid-template-columns: 1fr; }
            .trade-title { font-size: 34px; }
            .news-card { grid-template-columns: 1fr; }
            .footer-payments { border-left: 0; padding-left: 0; }
            .footer-bottom { display: flex; flex-direction: column; text-align: center; }
            .footer-language { justify-self: center; }
        }
        @media (max-width: 680px) {
            .app-shell { width: calc(100% - 22px); margin-top: 14px; }
            .ticker-sidebar, .trade-inner, .insight-card, .ai-panel, .model-card, .strategy-card { padding: 18px; }
            .chart-panel { padding: 10px; }
            .trade-metrics, .ai-score-row, .model-stats, .model-factors, .strategy-main, .strategy-values, .strategy-kpis, .movers-grid { grid-template-columns: 1fr; }
            .trade-candidates { grid-template-columns: 1fr; }
            .search { flex-basis: 100%; }
            .right { width: 100%; justify-content: space-between; }
            .donation-card { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
            .donation-copy { border-right: 0; border-bottom: 1px solid rgba(148,163,184,.14); }
        }

        /* Profile navbar/footer copied styles */
        :root {
            --bg-main: #020617;
            --bg-card: #0b1220;
            --bg-soft: #0f172a;
            --border: #1e293b;
            --text-main: #e2e8f0;
            --text-muted: #94a3b8;
        }
        /* AVATAR MENU */
        .avatar-menu{
            position:relative;
            cursor:pointer;
        }

        .avatar{
            width:36px;
            height:36px;
            border-radius:50%;
            background:linear-gradient(135deg,#ef4444,#f97316);
            display:flex;
            align-items:center;
            justify-content:center;
            font-weight:bold;
            color:white;
            font-size:14px;
            transition:0.2s;
        }

        .avatar:hover{
            transform:scale(1.05);
        }

        /* DROPDOWN */
        .avatar-dropdown{
            position:absolute;
            top:45px;
            right:0;
            width:200px;
            background:var(--bg-main);
            border:1px solid var(--border);
            border-radius:12px;
            display:none;
            padding:10px;
            box-shadow:0 10px 30px rgba(0,0,0,0.6);
            z-index:9999;
        }

        .avatar-dropdown.show{
            display:block;
        }

        /* EMAIL */
        .dropdown-email{
            font-size:12px;
            color:var(--text-muted);
            padding:8px;
            border-bottom:1px solid rgba(255,255,255,0.05);
            margin-bottom:5px;
        }

        /* ITEMS */
        .dropdown-item{
            padding:8px;
            border-radius:8px;
            font-size:14px;
            transition:0.2s;
            cursor:pointer;
        }

        .dropdown-item:hover{
            background:var(--bg-soft);
        }

        /* CREDITS COUNTER */
        .navbar{display:flex;align-items:center;gap:18px;min-height:76px;padding:10px 32px;border-bottom:1px solid rgba(255,255,255,.08);background:radial-gradient(circle at 78% 18%,rgba(168,85,247,.26),transparent 26%),linear-gradient(180deg,rgba(8,13,30,.96),rgba(3,7,18,.98));box-shadow:0 12px 42px rgba(0,0,0,.34);position:sticky;top:0;z-index:1000}.logo{display:flex;align-items:center;flex:0 0 auto;font-size:0}.logo img{height:54px;width:auto;display:block}.search{flex:0 1 330px;min-width:260px;padding:0}.search form{position:relative;margin:0}.search input{width:100%;height:44px;box-sizing:border-box;padding:0 18px 0 44px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:rgba(2,6,23,.72);color:white;outline:none;font-size:14px;font-weight:700}.search input::placeholder{color:rgba(148,163,184,.72)}.search form::before{content:"";position:absolute;left:16px;top:50%;width:15px;height:15px;transform:translateY(-50%);border:2px solid rgba(226,232,240,.62);border-radius:50%;pointer-events:none}.search form::after{content:"";position:absolute;left:31px;top:27px;width:8px;height:2px;transform:rotate(45deg);border-radius:999px;background:rgba(226,232,240,.62);pointer-events:none}.menu{display:flex;align-items:center;gap:10px;color:#94a3b8;flex:1 1 auto;min-width:0}.nav-item{position:relative;display:flex;align-items:center;gap:8px;min-height:44px;padding:0 13px!important;margin-left:0!important;border:1px solid transparent;border-radius:11px;color:rgba(226,232,240,.72)!important;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap;transition:.22s}.nav-item:hover{color:#fff!important;background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.08)}.nav-item.active{color:#fff!important;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.055));border-color:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 16px 36px rgba(239,68,68,.16)}.nav-item.active::after{content:"";position:absolute;left:50%;bottom:-12px;width:5px;height:5px;transform:translateX(-50%);border-radius:999px;background:#ef4444;box-shadow:0 0 14px rgba(239,68,68,.8)}.nav-icon{width:20px;height:20px;color:currentColor;opacity:.9;stroke-width:1.8}.right{display:flex;align-items:center;gap:12px;flex:0 0 auto}.download-buttons{display:flex;gap:12px;align-items:center}.download-buttons::after{content:"";width:1px;height:34px;margin:0 12px 0 6px;background:linear-gradient(180deg,transparent,rgba(148,163,184,.45),transparent)}.download-btn{display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;min-height:48px;padding:0!important;margin-left:0!important;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.08),rgba(2,6,23,.88) 58%),rgba(2,6,23,.76);border:2px solid rgba(168,85,247,.75);border-radius:50%;color:white!important;text-decoration:none;box-shadow:0 0 18px rgba(168,85,247,.22),inset 0 1px 0 rgba(255,255,255,.08)}.download-btn svg{width:25px;height:25px;fill:white}.download-btn .btn-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
        .avatar{position:relative;width:44px;height:44px;border-radius:13px;background:rgba(2,6,23,.58);border:1px solid rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;font-size:0;color:rgba(226,232,240,.86);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.avatar::before{content:"";width:16px;height:16px;border:2px solid currentColor;border-radius:50%;transform:translateY(-6px)}.avatar::after{content:"";position:absolute;width:22px;height:11px;margin-top:20px;border:2px solid currentColor;border-bottom:none;border-radius:16px 16px 0 0}.avatar-menu::after{content:"";position:absolute;top:7px;right:6px;width:6px;height:6px;border-radius:999px;background:#ef4444;box-shadow:0 0 10px rgba(239,68,68,.9)}
        .strategies-footer{position:relative;background:radial-gradient(circle at 24% 0%,rgba(239,68,68,.22),transparent 22%),linear-gradient(180deg,#060b1a 0%,#020617 100%);padding:42px clamp(24px,4vw,64px) 0;border-top:1px solid rgba(239,68,68,.82);width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);box-sizing:border-box;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 -12px 34px rgba(239,68,68,.28)}.footer-content{display:grid;grid-template-columns:minmax(250px,1.35fr) minmax(120px,.72fr) minmax(160px,.82fr) minmax(160px,.82fr) minmax(300px,1.3fr);gap:clamp(24px,3.4vw,64px);align-items:start}.footer-brand{display:flex;flex-direction:column;gap:20px}.footer-logo img{height:54px;width:auto;display:block}.footer-description{max-width:320px;font-size:15px;color:#94a3b8;line-height:1.65;margin:0}.footer-social{display:flex;gap:14px;margin-top:12px}.social-icon{width:44px;height:44px;border-radius:50%;background:rgba(15,23,42,.72);border:1px solid rgba(148,163,184,.18);display:flex;align-items:center;justify-content:center;color:#94a3b8;text-decoration:none!important;margin-left:0!important}.social-icon svg{width:22px;height:22px;fill:currentColor;stroke:currentColor}.footer-column h4,.footer-newsletter h4{font-size:14px;font-weight:800;color:#e2e8f0;margin:0 0 20px;text-transform:uppercase;letter-spacing:.04em}.footer-links{display:flex;flex-direction:column;gap:15px}.footer-link{color:#94a3b8!important;text-decoration:none!important;font-size:15px;margin-left:0!important}.footer-newsletter{display:flex;flex-direction:column;gap:18px;min-height:200px;border-left:1px solid rgba(239,68,68,.32);padding-left:clamp(28px,3.4vw,64px)}.footer-newsletter p{max-width:330px;font-size:15px;color:#94a3b8;margin:0;line-height:1.65}.newsletter-form{display:flex;width:min(100%,430px)}.newsletter-input{flex:1;height:50px;padding:0 18px;background:rgba(2,6,23,.65);border:1px solid rgba(148,163,184,.18);border-right:0;border-radius:8px 0 0 8px;color:#e2e8f0;outline:none}.newsletter-button{width:62px;height:52px;border:0;border-radius:0 8px 8px 0;background:linear-gradient(135deg,#991b1b,#ef4444);color:white;font-size:30px;cursor:pointer}.footer-bottom{margin:42px 0 0;padding:22px 0;border-top:1px solid rgba(148,163,184,.14);display:grid;grid-template-columns:minmax(210px,.85fr) minmax(520px,1.5fr) minmax(140px,.65fr);align-items:center;gap:20px;font-size:14px;color:#94a3b8}.footer-bottom-left,.footer-bottom-right,.footer-badge,.footer-language{display:flex;align-items:center}.footer-bottom-right{justify-content:center;gap:28px;flex-wrap:wrap}.footer-badge{gap:10px;white-space:nowrap}.footer-badge svg,.footer-language svg{width:20px;height:20px;stroke:currentColor;fill:none}.footer-language{gap:8px;justify-self:end;white-space:nowrap}@media(max-width:1200px){.download-buttons{display:none}.footer-content{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-newsletter{border-left:0;padding-left:0}.footer-bottom{display:flex;flex-direction:column;text-align:center}.menu{order:3;width:100%;overflow-x:auto}.navbar{flex-wrap:wrap}}@media(max-width:768px){.navbar{padding:10px 16px}.logo img{height:46px}.search{flex:1 1 220px}.footer-content{grid-template-columns:1fr}.newsletter-form{flex-direction:column}.newsletter-input{border-right:1px solid rgba(148,163,184,.18);border-radius:8px 8px 0 0}.newsletter-button{width:100%;border-radius:0 0 8px 8px}}
        .footer-payments p{max-width:360px}.footer-payments .payment-logos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(100%,430px)}.footer-payments .payment-logo{display:flex;align-items:center;justify-content:center;min-height:46px;padding:0 14px;border:1px solid rgba(148,163,184,.18);border-radius:10px;background:linear-gradient(180deg,rgba(15,23,42,.86),rgba(2,6,23,.72));color:#e2e8f0;font-size:13px;font-weight:900;letter-spacing:.02em;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}.footer-payments .paymark{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1;white-space:nowrap}.footer-payments .visa-mark{color:#f8fafc;font-size:18px;font-weight:1000;font-style:italic;letter-spacing:.08em;text-shadow:0 0 16px rgba(37,99,235,.5)}.footer-payments .mastercard-mark{position:relative;width:68px;height:24px}.footer-payments .mastercard-mark:before,.footer-payments .mastercard-mark:after{content:"";position:absolute;top:2px;width:28px;height:28px;border-radius:50%;opacity:.94}.footer-payments .mastercard-mark:before{left:8px;background:#eb001b}.footer-payments .mastercard-mark:after{right:8px;background:#f79e1b;mix-blend-mode:screen}.footer-payments .apple-mark{color:#f8fafc;font-size:17px;font-weight:900}.footer-payments .apple-icon{font-size:20px;margin-right:1px}.footer-payments .google-mark{color:#f8fafc;font-size:17px;font-weight:900}.footer-payments .google-g{font-size:20px;font-weight:1000;background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0);-webkit-background-clip:text;background-clip:text;color:transparent}.footer-payments .paypal-mark{color:#7dd3fc;font-size:18px;font-weight:1000;letter-spacing:-.03em}.footer-payments .paypal-mark .pay{color:#dbeafe}
.download-btn{position:relative;overflow:visible}.coming-soon-badge{position:absolute;left:50%;bottom:-10px;transform:translateX(-50%);padding:3px 7px;border-radius:999px;background:linear-gradient(135deg,#ef4444,#7c3aed);color:#fff;font-size:9px;font-weight:900;line-height:1;white-space:nowrap;box-shadow:0 6px 16px rgba(124,58,237,.38);pointer-events:none;z-index:2}
.download-buttons .download-btn { width: 72px; min-width: 72px; border-radius: 14px; flex-direction: column; gap: 2px; overflow: hidden; }
.download-buttons .download-btn .btn-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 11px; line-height: 1; }
.download-buttons .download-btn .coming-soon-badge { position: static; transform: none; padding: 0; background: transparent; box-shadow: none; color: #c4b5fd; font-size: 8px; letter-spacing: .03em; }

.free-access-copy { display: grid; gap: 2px; flex: 1 1 420px; }
.dashboard-cta-group { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.dashboard-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: 13px; font-weight: 900; text-decoration: none; cursor: pointer; }
.dashboard-cta.primary { border: 1px solid rgba(34,211,238,.72); background: linear-gradient(135deg,#0284c7,#0891b2); color: #fff; box-shadow: 0 10px 24px rgba(8,145,178,.22); }
.dashboard-cta.secondary { border: 1px solid rgba(148,163,184,.26); background: rgba(15,23,42,.66); color: #cbd5e1; }
@media (max-width: 760px) {
    .free-access-banner { align-items: stretch; }
    .dashboard-cta-group { width: 100%; margin-left: 0; }
    .dashboard-cta { flex: 1 1 0; padding-inline: 10px; }
}

.data-section-freshness { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border: 1px solid rgba(148,163,184,.18); border-radius: 999px; background: rgba(2,6,23,.58); color: #94a3b8; font-size: 11px; font-weight: 750; line-height: 1.3; }
.chart-section-anchor { height: 0; scroll-margin-top: 180px; }
.tool-state { display: grid; justify-items: start; gap: 7px; padding: 14px; border: 1px solid rgba(148,163,184,.16); border-radius: 10px; background: rgba(2,6,23,.5); color: #94a3b8; }
.tool-state strong { color: #e2e8f0; }
.tool-retry { min-height: 44px; padding: 0 16px; border: 1px solid rgba(239,68,68,.52); border-radius: 9px; background: rgba(127,29,29,.28); color: #fff; font-weight: 850; cursor: pointer; }
.tool-skeleton { display: grid; gap: 10px; padding: 10px 0; }
.tool-skeleton span { display: block; height: 12px; border-radius: 999px; background: linear-gradient(90deg,rgba(51,65,85,.35),rgba(148,163,184,.24),rgba(51,65,85,.35)); background-size: 220% 100%; animation: tool-skeleton-pulse 1.4s ease-in-out infinite; }
.tool-skeleton span:nth-child(2) { width: 82%; }
.tool-skeleton span:nth-child(3) { width: 64%; }
@keyframes tool-skeleton-pulse { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .tool-skeleton span { animation: none; } }

.model-level-explainer { margin: 0 0 22px; border: 1px solid rgba(56,189,248,.2); border-radius: 14px; background: rgba(2,8,23,.62); color: #cbd5e1; }
.model-level-explainer summary { min-height: 48px; padding: 14px 18px; color: #e2e8f0; font-weight: 900; cursor: pointer; }
.model-data-timing { margin: 0 18px 12px; color: #94a3b8; font-size: 11px; }
.model-level-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0 18px 18px; }
.model-level-grid p { display: grid; gap: 5px; margin: 0; padding: 12px; border-radius: 10px; background: rgba(15,23,42,.58); }
.model-level-grid strong { color: #7dd3fc; }
.model-level-grid span { color: #94a3b8; line-height: 1.45; }
@media (max-width: 760px) { .model-level-grid { grid-template-columns: 1fr; } }

/* Plotly normally injects these positioning rules at runtime. Keep them in the
   allowlisted local stylesheet so strict CSP cannot separate the SVG layers. */
.js-plotly-plot .plotly .svg-container { position: relative; width: 100%; height: 100%; }
.js-plotly-plot .plotly svg.main-svg { position: absolute; inset: 0; display: block; }
.js-plotly-plot .plotly .modebar-container { position: absolute; inset: 0; pointer-events: none; }
.js-plotly-plot .plotly .modebar { position: absolute; top: 2px; right: 2px; display: flex; }
.js-plotly-plot .plotly .modebar-btn { display: inline-block; width: auto; min-width: 0; min-height: 0; padding: 3px 4px; background: transparent; border: 0; box-shadow: none; pointer-events: auto; }
.js-plotly-plot .plotly .modebar-btn svg { position: relative; top: 2px; width: 1em; height: 1em; }

    
        /* Shared Movers dropdown */
        .movers-nav { position: relative; display: flex; align-items: center; }
        .movers-trigger { border: 1px solid transparent; background: transparent; cursor: pointer; font: inherit; }
        .movers-trigger, .nav-dropdown-trigger { font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1; color: rgba(226,232,240,.72)!important; }
        .movers-dropdown { position: fixed; top: 74px; left: 50%; transform: translateX(-50%); width: min(760px, calc(100vw - 28px)); display: none; z-index: 12000; }
        .movers-dropdown.active { display: block; }
        .movers-panel { padding: 16px; border: 1px solid rgba(168,85,247,.30); border-radius: 12px; background: #020617; box-shadow: 0 24px 70px rgba(0,0,0,.62); color: #e2e8f0; }
        .movers-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: #94a3b8; font-size: 13px; }
        .movers-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
        .movers-column h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #f8fafc; }
        .mover-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(148,163,184,.12); color: inherit; text-decoration: none; }
        .mover-symbol { font-weight: 900; }
        .mover-name { margin-top: 3px; color: #94a3b8; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
        .mover-values { text-align: right; font-size: 13px; }
        .mover-values .up, .up { color: #22c55e; }
        .mover-values .down, .down { color: #ef4444; }
        .mover-values .extended-hours-up { color: #22c55e !important; font-weight: 900; }
        .mover-values .extended-hours-down { color: #ef4444 !important; font-weight: 900; }
        .nav-dropdown-wrap { position: relative; display: flex; align-items: center; }
        .nav-dropdown-trigger { border: 1px solid transparent; background: transparent; cursor: pointer; font: inherit; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1; color: rgba(226,232,240,.72)!important; }
        .nav-dropdown { position: fixed; top: 74px; left: 50%; transform: translateX(-50%); width: min(440px, calc(100vw - 28px)); display: none; z-index: 12000; }
        .nav-dropdown.active { display: block; }
        .nav-panel { padding: 16px; border: 1px solid rgba(168,85,247,.30); border-radius: 12px; background: #020617; box-shadow: 0 24px 70px rgba(0,0,0,.62); color: #e2e8f0; }
        .nav-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: #94a3b8; font-size: 13px; }
        .nav-panel-head strong { color: #f8fafc; font-size: 14px; }
        .nav-panel-list { display: grid; gap: 8px; }
        .nav-panel-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(148,163,184,.12); color: inherit; text-decoration: none; }
        .nav-panel-row-button { width: 100%; border-right: 0; border-bottom: 0; border-left: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
        .nav-panel-row-button:hover .nav-panel-symbol { color: #fff; }
        .nav-panel-symbol { font-weight: 950; }
        .nav-panel-meta { margin-top: 3px; color: #94a3b8; font-size: 12px; }
        .nav-panel-value { text-align: right; font-size: 13px; font-weight: 850; }
        .nav-panel-empty { color: #94a3b8; font-size: 13px; line-height: 1.5; }
        .nav-panel-action { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; margin-top: 12px; padding: 0 12px; border: 1px solid rgba(14,165,233,.34); border-radius: 8px; color: #f8fafc; background: rgba(14,165,233,.14); text-decoration: none; font-size: 13px; font-weight: 900; }
        .trade-archive-modal { width: min(720px, 100%); padding: 0; overflow: hidden; }
        .trade-archive-modal-body { padding: 24px; }
        .trade-archive-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
        .trade-archive-block { min-height: 130px; padding: 18px; border: 1px solid rgba(148,163,184,.16); border-radius: 12px; background: rgba(2,6,23,.46); }
        .trade-archive-block.live { border-color: rgba(14,165,233,.28); background: rgba(14,165,233,.08); }
        .trade-archive-block span, .trade-archive-details span { display: block; color: #94a3b8; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
        .trade-archive-block strong { display: block; margin-top: 12px; color: #f8fafc; font-size: 24px; line-height: 1.08; }
        .trade-archive-block small { display: block; margin-top: 10px; color: #94a3b8; line-height: 1.4; }
        .trade-archive-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
        .trade-archive-details div { padding: 12px; border: 1px solid rgba(148,163,184,.12); border-radius: 10px; background: rgba(15,23,42,.48); }
        .trade-archive-details strong { display: block; margin-top: 7px; color: #e2e8f0; font-size: 13px; }
        .trade-archive-open-link { width: fit-content; }
        @media (max-width: 680px) { .trade-archive-compare, .trade-archive-details { grid-template-columns: 1fr; } }
        .navbar { align-items: flex-start; flex-wrap: wrap; row-gap: 6px; }
        .navbar .logo, .navbar .search, .navbar .menu, .navbar .right { align-self: center; }
        .navbar .menu { flex: 1 1 0; order: 2; overflow-x: auto; scrollbar-width: none; }
        .navbar .menu::-webkit-scrollbar { display: none; }
        .navbar .right { flex: 0 0 auto; margin-left: auto; order: 3; }
        .navbar .download-buttons { flex: 0 0 auto; }
        .navbar .avatar { border-radius: 50%; }
        .secondary-menu { order: 4; flex: 1 0 100%; display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 0; padding: 7px 0 2px clamp(96px, 12vw, 190px); border-top: 1px solid rgba(148,163,184,.10); color: #94a3b8; }
        .secondary-nav-dropdown { position: relative; display: flex; align-items: center; }
        .secondary-nav-item { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 10px; border: 1px solid rgba(148,163,184,.14); border-radius: 8px; background: rgba(2,6,23,.34); color: rgba(226,232,240,.68)!important; font-family: inherit; font-size: 11px; font-weight: 850; line-height: 1; text-decoration: none!important; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; white-space: nowrap; }
        .secondary-nav-item:hover { color: #fff!important; background: rgba(255,255,255,.055); border-color: rgba(168,85,247,.28); }
        .secondary-nav-icon { width: 15px; height: 15px; stroke-width: 1.9; }
        .orientation-nav-item .nav-icon { color: #facc15; filter: drop-shadow(0 0 8px rgba(250,204,21,.38)); }
        .compliance-banner { position:relative; display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:14px; padding:12px 48px 12px 14px; border:1px solid rgba(250,204,21,.26); border-radius:10px; background:rgba(250,204,21,.08); color:#dbeafe; font-size:12px; line-height:1.45; }
        .compliance-banner strong { color:#facc15; }
        .compliance-banner a { color:#fde68a; font-weight:900; text-decoration:none; }
        .compliance-banner-close { position:absolute; top:50%; right:10px; width:30px; height:30px; padding:0; transform:translateY(-50%); border:0; border-radius:6px; background:transparent; color:#fde68a; font:700 24px/1 Arial,sans-serif; cursor:pointer; }
        .compliance-banner-close:hover { background:rgba(250,204,21,.12); color:#fff; }
        .compliance-banner-close:focus-visible { outline:2px solid #fde68a; outline-offset:2px; }
        .free-access-banner { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0 0 16px; padding:13px 15px; border:1px solid rgba(34,211,238,.28); border-radius:10px; background:linear-gradient(135deg, rgba(14,165,233,.13), rgba(34,197,94,.08)); color:#dbeafe; font-size:13px; line-height:1.5; font-weight:750; }
        .free-access-banner strong { color:#67e8f9; font-weight:950; }
        .secondary-dropdown { position: absolute; top: calc(100% + 8px); left: 0; transform: none; width: min(440px, calc(100vw - 28px)); }
        .secondary-movers-dropdown { position: absolute; top: calc(100% + 8px); left: 0; transform: none; width: min(760px, calc(100vw - 28px)); }
        .calendar-dropdown { width: min(620px, calc(100vw - 28px)); }
        .calendar-section + .calendar-section { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(148,163,184,.14); }
        .calendar-section-title { display:flex; justify-content:space-between; gap:10px; margin-bottom:7px; color:#f8fafc; font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.04em; }
        .calendar-event { display:grid; grid-template-columns:92px minmax(0,1fr) auto; gap:10px; align-items:center; padding:9px 0; border-top:1px solid rgba(148,163,184,.10); }
        .calendar-event:first-child { border-top:0; }
        .calendar-date { color:#fde68a; font-size:11px; font-weight:850; }
        .calendar-event strong { display:block; color:#e2e8f0; font-size:12px; }
        .calendar-event small { display:block; margin-top:2px; color:#94a3b8; font-size:10px; }
        .calendar-value { color:#c4b5fd; font-size:11px; font-weight:850; text-align:right; }
        .calendar-note { margin-top:10px; color:#94a3b8; font-size:10px; line-height:1.45; }
        .orientation-overlay {
            position: fixed;
            inset: 0;
            z-index: 24000;
            display: none;
            background: rgba(2, 6, 23, .54);
            backdrop-filter: blur(12px) saturate(.78);
            -webkit-backdrop-filter: blur(12px) saturate(.78);
        }
        .orientation-tooltip {
            position: fixed;
            z-index: 24004;
            display: none;
            width: min(390px, calc(100vw - 28px));
            padding: 18px;
            border: 1px solid rgba(56,189,248,.44);
            border-radius: 14px;
            background: radial-gradient(circle at 8% 0%, rgba(56,189,248,.16), transparent 34%), linear-gradient(180deg, rgba(8,13,30,.98), rgba(2,6,23,.98));
            box-shadow: 0 28px 90px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.08);
        }
        .orientation-kicker { color: var(--cyan); font-size: 11px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
        .orientation-title { margin-top: 8px; color: #f8fafc; font-size: 22px; line-height: 1.05; font-weight: 950; }
        .orientation-copy { margin-top: 10px; color: #a8b3c7; font-size: 14px; line-height: 1.5; font-weight: 750; }
        .orientation-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
        .orientation-count { color: #94a3b8; font-size: 12px; font-weight: 850; white-space: nowrap; }
        .orientation-buttons { display: flex; gap: 8px; align-items: center; }
        .orientation-btn {
            min-height: 38px;
            padding: 0 13px;
            border: 1px solid rgba(148,163,184,.20);
            border-radius: 9px;
            background: rgba(15,23,42,.78);
            color: #e2e8f0;
            font-size: 13px;
            font-weight: 900;
            cursor: pointer;
        }
        .orientation-btn.primary { border-color: rgba(34,211,238,.42); background: linear-gradient(135deg, rgba(14,165,233,.36), rgba(239,68,68,.32)); color: #fff; }
        .orientation-btn:disabled { opacity: .45; cursor: not-allowed; }
        body.orientation-active { overflow-x: hidden; }
        body.orientation-active .orientation-overlay,
        body.orientation-active .orientation-tooltip { display: block; }
        body.orientation-active .orientation-focus {
            position: relative !important;
            z-index: 24002 !important;
            outline: 2px solid rgba(34,211,238,.74);
            outline-offset: 8px;
            box-shadow: 0 24px 80px rgba(34,211,238,.18), 0 0 0 1px rgba(255,255,255,.10) !important;
            filter: none !important;
        }
        body.orientation-active .orientation-focus,
        body.orientation-active .orientation-focus * { pointer-events: none; }
        @media (max-width: 760px) {
            .orientation-tooltip {
                left: 14px !important;
                right: 14px !important;
                bottom: 14px !important;
                top: auto !important;
                width: auto;
            }
            body.orientation-active .orientation-focus { outline-offset: 5px; }
        }

        .navbar > .movers-nav { margin-left: auto; }
        .navbar > .movers-nav .nav-item { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 10px; color: rgba(226,232,240,.78); text-decoration: none; }
        .navbar > .movers-nav .nav-item:hover { color: #fff; background: rgba(255,255,255,.055); }
        @media (max-width: 680px) { .movers-dropdown, .nav-dropdown { top: 82px; left: 14px; right: 14px; transform: none; width: auto; } .movers-grid { grid-template-columns: 1fr; } }
        @media (max-width: 680px) { .secondary-menu { padding-left: 0; overflow-x: auto; } .secondary-dropdown { top: calc(100% + 8px); } }

        .mobile-menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid rgba(148,163,184,.24); border-radius: 10px; background: rgba(2,6,23,.78); color: #fff; }
        .mobile-menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
        .mobile-ticker-summary,
        .mobile-section-toggle { display: none; }
        body.mobile-nav-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        body.mobile-nav-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
        body.mobile-nav-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        @media (max-width: 760px) {
            .mobile-menu-toggle { display: inline-flex; order: 1; flex: 0 0 44px; }
            .navbar .right { order: 1; }
            .navbar .menu {
                display: none;
                position: fixed;
                z-index: 11900;
                top: 70px;
                left: 12px;
                right: 12px;
                width: auto;
                max-height: calc(100vh - 84px);
                padding: 10px;
                overflow-y: auto;
                flex-direction: column;
                align-items: stretch;
                border: 1px solid rgba(168,85,247,.30);
                border-radius: 12px;
                background: #020617;
                box-shadow: 0 24px 70px rgba(0,0,0,.62);
            }
            body.mobile-nav-open .navbar .menu { display: flex; }
            .navbar .menu .nav-item { width: 100%; min-height: 44px; justify-content: flex-start; }
            .secondary-menu::after {
                content: attr(data-scroll-cue);
                position: sticky;
                right: 0;
                flex: 0 0 auto;
                min-height: 44px;
                display: inline-flex;
                align-items: center;
                padding: 0 10px 0 22px;
                color: #cbd5e1;
                font-size: 10px;
                font-weight: 850;
                white-space: nowrap;
                background: linear-gradient(90deg, transparent, #050a18 28%);
                pointer-events: none;
            }
            .nav-item,
            .secondary-nav-item,
            .dropdown-item,
            .nav-panel-action,
            .modal-close,
            button,
            input,
            select { min-height: 44px; }
            .mobile-ticker-summary {
                position: sticky;
                top: 118px;
                z-index: 950;
                display: grid;
                grid-template-columns: auto auto auto 1fr;
                align-items: center;
                gap: 10px;
                min-height: 46px;
                padding: 0 14px;
                border-bottom: 1px solid rgba(148,163,184,.18);
                background: rgba(2,6,23,.94);
                box-shadow: 0 10px 28px rgba(0,0,0,.30);
                backdrop-filter: blur(12px);
            }
            .mobile-ticker-summary strong { font-size: 15px; }
            .mobile-ticker-summary span { font-size: 13px; font-weight: 850; }
            .mobile-ticker-summary a { justify-self: end; color: #7dd3fc; font-size: 12px; font-weight: 850; }
            .mobile-section-toggle {
                width: 100%;
                min-height: 48px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin: 0 0 10px;
                padding: 0 14px;
                border: 1px solid rgba(148,163,184,.20);
                border-radius: 10px;
                background: rgba(15,23,42,.78);
                color: #f8fafc;
                font: inherit;
                font-weight: 900;
            }
            .mobile-section-toggle::after { content: "−"; font-size: 20px; }
            .mobile-collapsed > .mobile-section-toggle::after { content: "+"; }
            .mobile-collapsed > :not(.mobile-section-toggle) { display: none !important; }
        }

        /* Main content typography scale. Navbar and footer keep their original sizing. */
        .app-shell { font-size: 13.5px; }
        .app-shell .ticker-sidebar { min-height: 760px; padding: 22px; border-color: var(--ticker-accent); }
        .app-shell .ticker-sidebar::after { top: 136px; right: 16px; width: 175px; height: 145px; }
        .app-shell .ticker-top { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; }
        .app-shell .ticker-logo { width: 56px; height: 56px; }
        .app-shell .ticker-name { font-size: 25px; font-weight: 950; }
        .app-shell .ticker-company { font-size: 13px; font-weight: 800; color: rgba(226,232,240,.76); }
        .app-shell .side-price { margin-top: 22px; font-size: 38px; }
        .app-shell .side-change { margin-top: 10px; font-size: 15px; }
        .app-shell .side-section { margin-top: 16px; }
        .app-shell .side-label { font-size: 15px; }
        .app-shell .trend-title { margin-top: 8px; font-size: 25px; }
        .app-shell .trend-sub { font-size: 15px; }
        .app-shell .side-stack { gap: 12px; margin-top: 18px; }
        .app-shell .side-card { padding: 9px 10px; border-color: rgba(37,99,235,.20); background: rgba(2,8,20,.58); }
        .app-shell .side-metric { grid-template-columns: minmax(0,1fr) auto 16px; gap: 8px; min-height: 32px; font-size: 14px; }
        .app-shell .side-metric strong { font-size: 16px; }
        .app-shell .side-metric .large { font-size: 16px; }
        .app-shell .indicator-card .side-metric { grid-template-columns: minmax(0,1fr) auto auto; min-height: 28px; }
        .app-shell .indicator-card .side-metric .large { font-size: 16px; }
        .app-shell .indicator-card .mini-chart { height: 76px; margin-top: 8px; }
        .app-shell .levels-card { padding-top: 4px; padding-bottom: 4px; }
        .app-shell .levels-card .side-metric { min-height: 29px; font-size: 14px; }
        .app-shell .tag { min-height: 24px; padding: 0 9px; font-size: 11px; border-radius: 7px; }
        .app-shell .trade-title { font-size: clamp(34px, 3.35vw, 56px); }
        .app-shell .trade-symbol { font-size: 30px; }
        .app-shell .trade-price { font-size: 24px; }
        .app-shell .trade-stats { font-size: 17px; }
        .app-shell .reason { font-size: 15px; }
        .app-shell .insight-title { font-size: 19px; }
        .app-shell .unlock-title { font-size: 15px; }
        .app-shell .panel-title { font-size: 20px; }
        .app-shell .panel-copy { font-size: 12px; }
        .app-shell .trade-metric .num { font-size: 19px; }
        .app-shell .small-box .num { font-size: 18px; }
        .app-shell .model-title { font-size: 20px; }
        .app-shell .model-stat strong { font-size: 21px; }
        .app-shell .section-title h2 { font-size: clamp(28px, 3.35vw, 46px); }
        .app-shell .section-title p { font-size: 15px; }
        .app-shell .strategy-card { height: 428px; min-height: 428px; padding: 24px 24px 0; }
        .app-shell .strategy-head { grid-template-columns: 58px minmax(0, 1fr) 142px; }
        .app-shell .strategy-name { font-size: 23px; }
        .app-shell .strategy-sub { font-size: 14px; }
        .app-shell .strategy-pill { font-size: 17px; }
        .app-shell .strategy-values .num { font-size: 18px; }
        .app-shell .kpi .label { font-size: 11px; }
        .app-shell .kpi .num { font-size: 17px; }
        .app-shell .strategy-card.purple .kpi .num { font-size: 16px; }
        .app-shell .feature-title { font-size: 23px; }
        .app-shell .news-header h2 { font-size: 26px; }
        .app-shell .news-title { font-size: 17px; }

        /* Launch polish: keep dense dashboard controls readable on small screens. */
        .trade-score,
        .trade-candidate-score,
        .decision-pill,
        .strategy-pill,
        .locked-value,
        .nav-panel-value,
        .mover-values,
        .calendar-value {
            overflow-wrap: anywhere;
        }

        .locked-price {
            max-width: 100%;
            min-width: 0;
        }

        .trade-modal,
        .price-alert-modal,
        .auth-modal,
        .price-disclaimer-dialog,
        .share-card-dialog,
        .donation-card {
            max-width: calc(100vw - 28px);
        }

        .pricing-modal-card,
        .legal-modal-card {
            max-width: calc(100vw - 28px);
        }

        @media (max-width: 980px) {
            .app-shell {
                grid-template-columns: 1fr;
                width: min(100% - 24px, 760px);
                gap: 16px;
            }

            .ticker-sidebar {
                position: relative;
                top: auto;
                min-height: 0;
            }

            .chart-row,
            .hero-grid,
            .strategy-grid,
            .news-list {
                grid-template-columns: 1fr !important;
            }

            .chart-wrap {
                min-height: 360px;
            }
        }

        @media (max-width: 760px) {
            .navbar {
                padding: 10px 12px;
                gap: 10px;
            }

            .navbar .logo img {
                height: 42px;
            }

            .navbar .search {
                flex: 1 1 calc(100% - 64px);
                min-width: 0;
                order: 2;
            }

            .navbar .right {
                order: 1;
            }

            .navbar .menu {
                order: 3;
                flex: 1 0 100%;
                padding-bottom: 4px;
            }

            .secondary-menu {
                order: 4;
                flex: 1 0 100%;
                padding-left: 0;
                overflow-x: auto;
                scrollbar-width: none;
            }

            .secondary-menu::-webkit-scrollbar,
            .navbar .menu::-webkit-scrollbar {
                display: none;
            }

            .nav-item,
            .secondary-nav-item {
                flex: 0 0 auto;
            }

            .movers-dropdown,
            .nav-dropdown,
            .secondary-dropdown,
            .secondary-movers-dropdown,
            .calendar-dropdown {
                position: fixed;
                top: 118px;
                left: 12px;
                right: 12px;
                width: auto;
                max-height: calc(100vh - 136px);
                overflow: auto;
                transform: none;
            }

            .movers-grid,
            .trade-metrics,
            .ai-score-row,
            .strategy-kpis,
            .trade-candidate-stats,
            .calendar-event {
                grid-template-columns: 1fr !important;
            }

            .calendar-value,
            .nav-panel-value,
            .mover-values {
                text-align: left;
            }

            .trade-head,
            .trade-candidate-top,
            .strategy-head {
                grid-template-columns: auto minmax(0, 1fr);
            }

            .trade-head > div:last-child,
            .strategy-actions {
                grid-column: 1 / -1;
                justify-self: stretch;
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 10px;
            }

            .app-shell .strategy-card {
                height: auto;
                min-height: 0;
                padding-bottom: 24px;
            }

            .pricing-modal,
            .modal-backdrop,
            .share-card-modal,
            .price-disclaimer-modal,
            .donation-modal {
                padding: 10px;
            }

            .pricing-modal-card,
            .legal-modal-card,
            .modal,
            .price-disclaimer-dialog,
            .share-card-dialog,
            .donation-card {
                width: 100%;
                max-height: calc(100vh - 20px);
                overflow: auto;
                border-radius: 12px;
            }

            .pricing-modal-grid,
            .donation-card,
            .trade-archive-compare,
            .trade-archive-details {
                grid-template-columns: 1fr !important;
            }

            .auth-actions,
            .price-disclaimer-actions,
            .share-card-actions {
                display: grid;
                grid-template-columns: 1fr;
            }

            .locked-price {
                width: 100%;
                justify-content: center;
                white-space: normal;
            }

            .footer-bottom-right {
                gap: 12px;
            }
        }

        @media (max-width: 420px) {
            .app-shell {
                width: calc(100% - 16px);
                margin-top: 12px;
            }

            .app-shell .trade-title {
                font-size: 32px;
            }

            .app-shell .trade-symbol,
            .app-shell .ticker-name {
                font-size: 24px;
            }

            .pricing-modal-head h2,
            .auth-modal-head h3,
            .price-disclaimer-title,
            .share-card-title {
                font-size: 24px;
                line-height: 1.08;
            }

            .nav-panel,
            .movers-panel {
                padding: 12px;
            }
        }
