        /* ===== 完整样式 ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            background: #0a0d14;
            color: #e8edf5;
            font-family: 'Inter', sans-serif;
            padding: 6px 8px;
            min-height: 100vh;
        }
        .dashboard {
            display: flex;
            flex-direction: column;
            gap: 8px;
            max-width: 650px;
            margin: 0 auto;
            width: 100%;
        }
        /* K线图永远排第一 */
        .chart-card { order: -100; }
        /* 长线策略排第二（K线下方） */
        #swingCard { order: -99; }
        /* 短线策略排最后 */
        #scalpelCard { order: 100; }
        .card {
            background: #111620;
            border: 1px solid #2a3a4a;
            border-radius: 10px;
            padding: 8px 10px;
        }
        .card-header {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 6px;
            flex-wrap: wrap;
        }
        .card-header h3 {
            font-size: 0.6rem;
            font-weight: 600;
            color: #aabbcc;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .indicator {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            flex-shrink: 0;
        }
        .indicator.green {
            background: #4ade80;
        }
        .indicator.orange {
            background: #fb923c;
        }
        .indicator.purple {
            background: #a78bfa;
        }
        .indicator.cyan {
            background: #22d3ee;
        }
        .indicator.gold {
            background: #fbbf24;
        }
        .indicator.red {
            background: #f87171;
        }
        .indicator.fib {
            background: #f472b6;
        }
        .indicator.target {
            background: #e879f9;
        }
        .indicator.prediction {
            background: #34d399;
        }
        .top-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 6px 12px;
            background: #131828;
            border: 1px solid #2a3a4a;
            border-radius: 10px;
            gap: 8px;
            flex-wrap: wrap;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .logo-icon {
            width: 28px;
            height: 28px;
            border-radius: 7px;
            background: linear-gradient(135deg, #627eea, #8b5cf6);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 800;
            color: #fff;
            flex-shrink: 0;
        }
        .symbol {
            font-weight: 700;
            font-size: 0.75rem;
            color: #e8edf5;
        }
        .live-price {
            font-size: 1.3rem;
            font-weight: 700;
            font-family: monospace;
            color: #e8edf5;
            transition: color 0.2s;
        }
        .live-price.up {
            color: #4ade80;
        }
        .live-price.down {
            color: #f87171;
        }
        .change-badge {
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 0.55rem;
        }
        .change-badge.up {
            background: rgba(74, 222, 128, 0.2);
            color: #4ade80;
        }
        .change-badge.down {
            background: rgba(248, 113, 113, 0.2);
            color: #f87171;
        }
        .strategy-btn {
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.45rem;
            background: rgba(167, 139, 250, 0.2);
            color: #a78bfa;
            border: 1px solid #a78bfa;
            cursor: pointer;
            font-weight: 600;
        }
        .install-btn {
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.45rem;
            background: rgba(34, 211, 238, 0.18);
            color: #67e8f9;
            border: 1px solid rgba(103, 232, 249, 0.75);
            cursor: pointer;
            font-weight: 700;
        }
        body.locked {
            background: #070b13;
        }
        body.locked .dashboard {
            display: none;
        }
        .lock-screen {
            min-height: 100vh;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: radial-gradient(circle at 50% 0%, rgba(98, 126, 234, 0.22), transparent 36%), #070b13;
        }
        body.locked .lock-screen {
            display: flex;
        }
        .lock-card {
            width: min(360px, 100%);
            border: 1px solid rgba(98, 126, 234, 0.32);
            border-radius: 22px;
            padding: 24px;
            background: linear-gradient(145deg, rgba(19, 24, 40, 0.96), rgba(10, 15, 26, 0.96));
            box-shadow: 0 24px 70px rgba(0,0,0,0.45);
            text-align: center;
        }
        .lock-title {
            font-size: 1.1rem;
            font-weight: 900;
            color: #e5eefc;
            margin-bottom: 8px;
        }
        .lock-subtitle {
            font-size: 0.55rem;
            color: #8ea0b8;
            margin-bottom: 18px;
        }
        .lock-input {
            width: 100%;
            height: 44px;
            border-radius: 14px;
            border: 1px solid rgba(148,163,184,0.22);
            background: rgba(15,23,42,0.92);
            color: #e5eefc;
            padding: 0 14px;
            outline: none;
            font-size: 0.8rem;
            box-sizing: border-box;
        }
        .lock-button {
            width: 100%;
            height: 44px;
            margin-top: 12px;
            border: 0;
            border-radius: 14px;
            background: linear-gradient(135deg, #62a8ff, #35e89b);
            color: #041019;
            font-weight: 900;
            cursor: pointer;
        }
        .lock-error {
            min-height: 18px;
            margin-top: 10px;
            color: #f87171;
            font-size: 0.5rem;
        }
        .data-status {
            font-size: 0.4rem;
            padding: 2px 4px;
            border-radius: 5px;
            display: inline-block;
        }
        .data-status.live {
            background: rgba(74, 222, 128, 0.2);
            color: #4ade80;
        }
        .data-status.error {
            background: rgba(248, 113, 113, 0.2);
            color: #f87171;
        }
        .data-status.connecting {
            background: rgba(251, 191, 36, 0.2);
            color: #fbbf24;
        }
        .chart-card {
            position: relative;
        }
        .chart-main-wrap {
            width: 100%;
            height: 300px;
        }
        .chart-macd-wrap {
            width: 100%;
            height: 80px;
            border-top: 1px solid #2a3a4a;
        }
        .time-btns {
            position: absolute;
            top: 4px;
            right: 6px;
            display: flex;
            gap: 2px;
            z-index: 2;
            flex-wrap: wrap;
        }
        .tf-btn {
            padding: 1px 5px;
            border-radius: 3px;
            border: 1px solid #2a3a4a;
            background: #1a2230;
            color: #8899b4;
            font-size: 0.42rem;
            font-weight: 600;
            cursor: pointer;
        }
        .tf-btn.active {
            background: #4ade80;
            color: #000;
        }
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
        }
        .modal-overlay.show {
            display: flex;
        }
        .modal {
            background: #111620;
            border: 1px solid #2a3a4a;
            border-radius: 14px;
            padding: 18px;
            max-width: 420px;
            width: 94%;
            max-height: 85vh;
            overflow-y: auto;
        }
        .modal h3 {
            font-size: 0.7rem;
            color: #e8edf5;
            margin-bottom: 8px;
            text-align: center;
        }
        .modal .modal-subtitle {
            font-size: 0.4rem;
            color: #8899b4;
            text-align: center;
            margin-bottom: 10px;
            border-bottom: 1px solid #2a3a4a;
            padding-bottom: 8px;
        }
        .modal .modal-section-title {
            font-size: 0.38rem;
            color: #e8edf5;
            font-weight: 700;
            margin: 8px 0 6px;
            padding: 4px 0;
            border-bottom: 1px solid #2a3a4a;
        }
        .modal .modal-strategy-info {
            background: #1a2230;
            border-radius: 8px;
            padding: 8px 10px;
            margin-bottom: 8px;
        }
        .modal .modal-strategy-info .info-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.36rem;
            padding: 3px 0;
            color: #8899b4;
        }
        .modal .modal-strategy-info .info-row .hl {
            color: #fbbf24;
            font-weight: 700;
        }
        .modal .strategy-opt {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 10px;
            background: #1a2230;
            border-radius: 8px;
            margin-bottom: 4px;
            border: 1px solid transparent;
            cursor: pointer;
        }
        .modal .strategy-opt:hover {
            border-color: #a78bfa;
        }
        .modal .strategy-opt input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: #a78bfa;
            cursor: pointer;
            flex-shrink: 0;
        }
        .modal .strategy-opt .info {
            flex: 1;
        }
        .modal .strategy-opt .name {
            font-size: 0.5rem;
            color: #e8edf5;
            font-weight: 700;
        }
        .modal .strategy-opt .desc {
            font-size: 0.35rem;
            color: #8899b4;
            margin-top: 1px;
        }
        .modal .strategy-opt .line-toggle {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.32rem;
            color: #8899b4;
        }
        .modal .strategy-opt .line-toggle input[type="checkbox"] {
            width: 14px;
            height: 14px;
            accent-color: #fbbf24;
            cursor: pointer;
        }
        .modal .btn-row {
            display: flex;
            gap: 6px;
            margin-top: 12px;
            border-top: 1px solid #2a3a4a;
            padding-top: 12px;
        }
        .modal .btn-row button {
            flex: 1;
            padding: 10px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.5rem;
            cursor: pointer;
            border: none;
            transition: opacity 0.2s;
        }
        .modal .btn-row button:hover {
            opacity: 0.85;
        }
        .modal .btn-save {
            background: #fbbf24;
            color: #000;
        }
        .modal .btn-close {
            background: #1a2230;
            color: #e8edf5;
            border: 1px solid #2a3a4a;
        }
        .active-tags {
            display: flex;
            gap: 3px;
            flex-wrap: wrap;
        }
        .active-tag {
            padding: 1px 5px;
            border-radius: 3px;
            font-size: 0.35rem;
            background: rgba(167, 139, 250, 0.2);
            color: #a78bfa;
        }
        .active-tag.gold {
            background: rgba(251, 191, 36, 0.2);
            color: #fbbf24;
        }
        .active-tag.fib {
            background: rgba(244, 114, 182, 0.2);
            color: #f472b6;
        }
        .active-tag.target {
            background: rgba(232, 121, 249, 0.2);
            color: #e879f9;
        }
        .active-tag.prediction {
            background: rgba(52, 211, 153, 0.2);
            color: #34d399;
        }
        .save-toast {
            position: fixed;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(74, 222, 128, 0.9);
            color: #000;
            padding: 5px 12px;
            border-radius: 5px;
            font-size: 0.45rem;
            font-weight: 600;
            z-index: 9999;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }
        .save-toast.show {
            opacity: 1;
        }
        .signal-text {
            font-size: 0.38rem;
            color: #60a5fa;
            font-weight: 600;
            margin-top: 1px;
        }
        .td-signal-strong {
            color: #4ade80;
            font-weight: 700;
        }
        .td-signal-bear {
            color: #f87171;
            font-weight: 700;
        }
        .mini-box {
            background: #1a2230;
            border-radius: 3px;
            padding: 3px;
            margin: 2px 0;
        }
        .mini-box .lbl {
            font-size: 0.34rem;
            color: #8899b4;
        }
        .mini-box .val {
            font-size: 0.46rem;
            font-weight: 700;
            font-family: monospace;
            color: #e8edf5;
        }
        .pa-status {
            font-size: 0.38rem;
            padding: 1px 4px;
            border-radius: 3px;
            display: inline-block;
        }
        .pa-ranging {
            background: rgba(74, 222, 128, 0.15);
            color: #4ade80;
        }
        .pa-trending {
            background: rgba(248, 113, 113, 0.15);
            color: #f87171;
        }
        .td-status-box {
            background: #1a2230;
            border-radius: 5px;
            padding: 5px;
            margin: 3px 0;
        }
        .td-status-row {
            display: flex;
            justify-content: space-around;
            text-align: center;
            font-size: 0.4rem;
            flex-wrap: wrap;
            gap: 2px;
        }
        .td-status-item {
            flex: 1;
            min-width: 40px;
        }
        .td-status-item .num {
            font-size: 0.6rem;
            font-weight: 800;
            font-family: monospace;
        }
        .td-status-item .lbl {
            font-size: 0.32rem;
            color: #8899b4;
        }
        .td-dot-row {
            display: flex;
            gap: 1px;
            flex-wrap: wrap;
            margin-top: 1px;
            justify-content: center;
        }
        .td-dot {
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: #2a3a4a;
        }
        .td-dot.filled-bull {
            background: #4ade80;
        }
        .td-dot.filled-bear {
            background: #f87171;
        }
        .trend-row { display:flex; gap:4px; }
        .trend-level { flex:1; background:#1a2230; border-radius:5px; padding:5px; }
        .trend-lvl-title { font-size:0.4rem; font-weight:700; color:#aabbcc; margin-bottom:3px; }
        .trend-lvl-title span { color:#fbbf24; }
        .trend-dir { font-size:0.72rem; font-weight:800; font-family:monospace; margin:2px 0; }
        .trend-dir.bull { color:#4ade80; }
        .trend-dir.bear { color:#f87171; }
        .trend-dir.range { color:#8899b4; }
        .trend-meta { font-size:0.34rem; color:#8899b4; display:flex; justify-content:space-between; }
        .trend-meta .v { color:#e8edf5; font-family:monospace; }
        .trend-change { font-family:monospace; font-weight:700; }
        .trend-change.up { color:#4ade80; }
        .trend-change.down { color:#f87171; }
        .v.up { color:#4ade80; }
        .v.down { color:#f87171; }
        .pivot-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2px;
            margin: 3px 0;
        }
        .pivot-item {
            background: #1a2230;
            border-radius: 3px;
            padding: 3px 2px;
            text-align: center;
        }
        .pivot-item .lbl {
            font-size: 0.32rem;
            color: #8899b4;
        }
        .pivot-item .val {
            font-size: 0.44rem;
            font-weight: 700;
            font-family: monospace;
        }
        .pivot-item.pivot-p {
            border: 1px solid rgba(167, 139, 250, 0.3);
        }
        .pivot-item.pivot-p .val {
            color: #a78bfa;
        }
        .pivot-item.pivot-r .val {
            color: #f87171;
        }
        .pivot-item.pivot-s .val {
            color: #4ade80;
        }
        .ss-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4px;
            margin: 4px 0;
        }
        .ss-item {
            background: #1a2230;
            border-radius: 4px;
            padding: 4px 6px;
        }
        .ss-item .label {
            font-size: 0.32rem;
            color: #8899b4;
        }
        .ss-item .price {
            font-size: 0.55rem;
            font-weight: 700;
            font-family: monospace;
        }
        .ss-item .strength {
            font-size: 0.45rem;
            font-weight: 600;
            margin-left: 4px;
        }
        .ss-item .desc {
            font-size: 0.32rem;
            color: #8899b4;
            margin-top: 1px;
        }
        .ss-resistance .price {
            color: #f87171;
        }
        .ss-support .price {
            color: #4ade80;
        }
        .ss-strong {
            color: #4ade80;
        }
        .ss-medium {
            color: #fbbf24;
        }
        .ss-weak {
            color: #8899b4;
        }
        .ss-summary {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 4px 6px;
            background: #1a2230;
            border-radius: 4px;
            margin-top: 3px;
            flex-wrap: wrap;
        }
        .ss-summary .tag {
            font-size: 0.38rem;
            padding: 1px 5px;
            border-radius: 3px;
        }
        .ss-bull {
            background: rgba(74, 222, 128, 0.2);
            color: #4ade80;
        }
        .ss-bear {
            background: rgba(248, 113, 113, 0.2);
            color: #f87171;
        }
        .ss-neutral {
            background: rgba(251, 191, 36, 0.15);
            color: #fbbf24;
        }
        .fib-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 2px;
            margin: 4px 0;
            font-size: 0.38rem;
        }
        .fib-item {
            background: #1a2230;
            border-radius: 3px;
            padding: 2px 4px;
            text-align: center;
        }
        .fib-item .lbl {
            font-size: 0.32rem;
            color: #8899b4;
        }
        .fib-item .val {
            font-weight: 700;
            font-family: monospace;
        }
        .fib-item.val-0 {
            color: #f472b6;
        }
        .fib-item.val-236 {
            color: #fbbf24;
        }
        .fib-item.val-382 {
            color: #fb923c;
        }
        .fib-item.val-50 {
            color: #a78bfa;
        }
        .fib-item.val-618 {
            color: #22d3ee;
        }
        .fib-item.val-786 {
            color: #4ade80;
        }
        .fib-item.val-100 {
            color: #f87171;
        }
        .fib-item.val-127 {
            color: #f472b6;
        }
        .fib-item.val-1618 {
            color: #fbbf24;
        }
        .fib-item.val-2618 {
            color: #fb923c;
        }
        .level-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 3px 5px;
            background: #1a2230;
            border-radius: 3px;
            margin-bottom: 1px;
            font-size: 0.45rem;
        }
        .level-row.entry {
            border-left: 2px solid #fbbf24;
        }
        .level-row.tp1 {
            border-left: 2px solid #4ade80;
        }
        .level-row.stop {
            border-left: 2px solid #f87171;
        }
        .level-row.rr {
            border-left: 2px solid #22d3ee;
        }
        .level-row.target {
            border-left: 2px solid #e879f9;
        }
        .level-row.prediction {
            border-left: 2px solid #34d399;
        }
        .level-row.order {
            border-left: 2px solid #fbbf24;
            background: rgba(251, 191, 36, 0.05);
        }
        .level-val {
            font-weight: 700;
            font-family: monospace;
            font-size: 0.5rem;
            color: #e8edf5;
        }
        .level-val.cyan {
            color: #22d3ee;
        }
        .level-val.green {
            color: #4ade80;
        }
        .level-val.red {
            color: #f87171;
        }
        .level-val.pink {
            color: #e879f9;
        }
        .level-val.prediction {
            color: #34d399;
        }
        .level-val.order {
            color: #fbbf24;
        }
        .pct {
            font-size: 0.36rem;
            font-weight: 600;
            padding: 1px 2px;
            border-radius: 2px;
        }
        .pct-profit {
            background: rgba(74, 222, 128, 0.15);
            color: #4ade80;
        }
        .pct-loss {
            background: rgba(248, 113, 113, 0.15);
            color: #f87171;
        }
        .pct-target {
            background: rgba(232, 121, 249, 0.15);
            color: #e879f9;
        }
        .pct-prediction {
            background: rgba(52, 211, 153, 0.15);
            color: #34d399;
        }


        /* ===== V13 观察小卡片 ===== */
        #decisionCard {
            padding: 12px;
            border-color: rgba(98,168,255,0.28);
            background:
                radial-gradient(circle at 8% 0%, rgba(98,168,255,0.14), transparent 38%),
                linear-gradient(180deg, rgba(11,18,32,0.96), rgba(5,10,20,0.96));
        }

        .watch-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
            gap: 8px;
        }

        .watch-title {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .watch-title h3 {
            font-size: 0.72rem;
            color: #f3f8ff;
        }

        .watch-title .sub {
            font-size: 0.36rem;
            color: #8ea0b8;
        }

        .watch-state {
            padding: 5px 9px;
            border-radius: 999px;
            font-size: 0.38rem;
            font-weight: 900;
            color: #dbeafe;
            background: rgba(98,168,255,0.16);
            border: 1px solid rgba(98,168,255,0.34);
            white-space: nowrap;
        }

        .watch-state.strict {
            color: #04120b;
            background: linear-gradient(135deg, #35e89b, #a3ffcf);
            border: none;
        }

        .watch-state.candidate {
            color: #1b1200;
            background: linear-gradient(135deg, #ffd166, #fff0a8);
            border: none;
        }

        .watch-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-bottom: 8px;
        }

        .watch-box {
            position: relative;
            overflow: hidden;
            border-radius: 16px;
            padding: 12px 10px;
            background: rgba(15,23,42,0.68);
            border: 1px solid rgba(148,163,184,0.12);
            display: grid;
            grid-template-columns: 0.95fr 1.05fr;
            align-items: center;
            gap: 10px;
        }

        .watch-box.up {
            border-color: rgba(53,232,155,0.26);
            background: linear-gradient(135deg, rgba(53,232,155,0.12), rgba(15,23,42,0.72));
        }

        .watch-box.down {
            border-color: rgba(255,100,124,0.26);
            background: linear-gradient(135deg, rgba(255,100,124,0.12), rgba(15,23,42,0.72));
        }

        .watch-box .label {
            font-size: 0.44rem;
            color: #8ea0b8;
            margin-bottom: 5px;
        }

        .watch-box .price {
            font-size: 0.95rem;
            font-weight: 950;
            font-family: monospace;
            line-height: 1.15;
            letter-spacing: -0.4px;
        }

        .watch-box.up .price {
            color: #35e89b;
        }

        .watch-box.down .price {
            color: #ff647c;
        }

        .watch-box .hint {
            margin-top: 0;
            font-size: 0.48rem;
            color: #a9bdd6;
            line-height: 1.45;
        }


        .combined-ss-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-top: 8px;
        }

        .combined-ss-box {
            border-radius: 14px;
            padding: 10px;
            background: rgba(15,23,42,0.62);
            border: 1px solid rgba(148,163,184,0.10);
            display: grid;
            grid-template-columns: 0.95fr 1.05fr;
            align-items: center;
            gap: 10px;
        }

        .combined-ss-box.res {
            border-color: rgba(255,100,124,0.22);
        }

        .combined-ss-box.sup {
            border-color: rgba(53,232,155,0.20);
        }

        .combined-ss-box .k {
            font-size: 0.44rem;
            color: #8ea0b8;
            margin-bottom: 3px;
        }

        .combined-ss-box .v {
            font-size: 0.88rem;
            font-weight: 900;
            font-family: monospace;
        }

        .combined-ss-box.res .v {
            color: #ff647c;
        }

        .combined-ss-box.sup .v {
            color: #35e89b;
        }

        .combined-ss-box .d {
            margin-top: 0;
            font-size: 0.46rem;
            color: #a9bdd6;
            line-height: 1.45;
        }

        .ss-strength-main {
            display: inline-block;
            font-weight: 900;
            margin-bottom: 3px;
            color: #eaf2ff;
        }

        .ss-desc-line {
            display: block;
            color: #8ea0b8;
            font-size: 0.4rem;
        }

        .combined-judge {
            margin-top: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px;
            border-radius: 13px;
            background: rgba(3,7,18,0.40);
            border: 1px solid rgba(148,163,184,0.10);
            font-size: 0.5rem;
            color: #dce8f8;
        }

        .trend-read-box {
            margin-bottom: 8px;
            padding: 12px;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(98,168,255,0.14), rgba(15,23,42,0.72));
            border: 1px solid rgba(98,168,255,0.22);
            display: grid;
            grid-template-columns: 0.9fr 1.1fr;
            gap: 10px;
            align-items: center;
        }

        .trend-price-label {
            font-size: 0.42rem;
            color: #8ea0b8;
            margin-bottom: 3px;
        }

        .trend-current-price {
            font-size: 1.12rem;
            font-weight: 950;
            font-family: monospace;
            color: #eaf2ff;
            letter-spacing: -0.5px;
        }

        .trend-verdict {
            font-size: 0.62rem;
            font-weight: 900;
            line-height: 1.35;
            margin-bottom: 4px;
        }

        .trend-verdict.up {
            color: #35e89b;
        }

        .trend-verdict.down {
            color: #ff647c;
        }

        .trend-verdict.neutral {
            color: #ffd166;
        }

        .trend-explain {
            font-size: 0.48rem;
            color: #dce8f8;
            line-height: 1.45;
        }

        .fib-line-box {
            margin-top: 8px;
            padding: 9px;
            border-radius: 13px;
            background: rgba(15,23,42,0.58);
            border: 1px solid rgba(148,163,184,0.10);
        }

        .fib-line-title {
            font-size: 0.42rem;
            color: #8ea0b8;
            margin-bottom: 5px;
        }

        .fib-current-box {
            display: grid;
            grid-template-columns: 0.8fr 1.2fr;
            gap: 8px;
            align-items: center;
            margin-bottom: 8px;
            padding: 9px;
            border-radius: 13px;
            background: rgba(98,168,255,0.10);
            border: 1px solid rgba(98,168,255,0.20);
        }

        .fib-current-price {
            font-size: 0.86rem;
            color: #eaf2ff;
            font-weight: 950;
            font-family: monospace;
        }

        .fib-current-desc {
            font-size: 0.46rem;
            color: #dce8f8;
            line-height: 1.45;
        }

        .fib-line-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 6px;
        }

        .fib-level-row {
            display: grid;
            grid-template-columns: 0.7fr 1.3fr;
            gap: 8px;
            align-items: center;
            padding: 8px;
            border-radius: 12px;
            background: rgba(3,7,18,0.34);
            border: 1px solid rgba(148,163,184,0.10);
        }

        .fib-level-row.up {
            border-color: rgba(255,100,124,0.20);
        }

        .fib-level-row.down {
            border-color: rgba(53,232,155,0.18);
        }

        .fib-level-pct {
            font-size: 0.62rem;
            font-weight: 950;
            font-family: monospace;
            color: #eaf2ff;
        }

        .fib-level-price {
            font-size: 0.62rem;
            font-weight: 950;
            font-family: monospace;
        }

        .fib-level-row.up .fib-level-price {
            color: #ff647c;
        }

        .fib-level-row.down .fib-level-price {
            color: #35e89b;
        }

        .fib-level-desc {
            margin-top: 2px;
            font-size: 0.42rem;
            color: #a9bdd6;
            line-height: 1.35;
        }

        .fib-scenario-box {
            margin-top: 8px;
            padding: 9px;
            border-radius: 13px;
            background: rgba(3,7,18,0.38);
            border: 1px solid rgba(148,163,184,0.10);
            font-size: 0.48rem;
            color: #dce8f8;
            line-height: 1.55;
        }

        .fib-scenario-box .up-text {
            color: #35e89b;
            font-weight: 800;
        }

        .fib-scenario-box .down-text {
            color: #ff647c;
            font-weight: 800;
        }

        .power-card {
            order: 3;
            padding: 10px 12px;
            border-radius: 16px;
            background: linear-gradient(180deg, rgba(15,23,42,0.88), rgba(5,10,20,0.94));
            border: 1px solid rgba(148,163,184,0.16);
            box-shadow: 0 12px 28px rgba(0,0,0,0.24);
        }

        .power-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
            gap: 8px;
        }

        .power-title {
            font-size: 0.52rem;
            font-weight: 900;
            color: #eaf2ff;
        }

        .power-status {
            font-size: 0.42rem;
            color: #a9bdd6;
        }

        .power-bar {
            position: relative;
            height: 26px;
            border-radius: 999px;
            overflow: hidden;
            background: rgba(3,7,18,0.72);
            border: 1px solid rgba(148,163,184,0.14);
            display: flex;
        }

        .power-fill {
            height: 100%;
            transition: width 0.55s ease;
            position: relative;
            overflow: hidden;
        }

        .power-fill::after {
            content: "";
            position: absolute;
            inset: 0;
            background-image: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.18) 45%, rgba(255,255,255,0.0) 80%);
            transform: translateX(-100%);
            animation: powerSlide 1.7s linear infinite;
        }

        .power-fill.bull {
            background: linear-gradient(90deg, #0f5132, #35e89b);
            box-shadow: inset 0 0 18px rgba(53,232,155,0.30);
        }

        .power-fill.bear {
            background: linear-gradient(90deg, #ff647c, #6f1020);
            box-shadow: inset 0 0 18px rgba(255,100,124,0.28);
        }

        .power-mid {
            position: absolute;
            top: -4px;
            bottom: -4px;
            left: 50%;
            width: 2px;
            background: rgba(255,255,255,0.42);
            z-index: 2;
        }

        .power-needle {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 0 16px rgba(255,255,255,0.65);
            transform: translate(-50%, -50%);
            transition: left 0.55s ease;
            z-index: 3;
        }

        .power-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 6px;
            font-size: 0.44rem;
            font-weight: 900;
            font-family: monospace;
        }

        .power-labels .bull {
            color: #35e89b;
        }

        .power-labels .bear {
            color: #ff647c;
        }

        @keyframes powerSlide {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        @media (max-width: 520px) {
            .combined-ss-row {
                grid-template-columns: 1fr;
            }
            .watch-box,
            .combined-ss-box {
                grid-template-columns: 1fr 1.25fr;
            }
        }

        .watch-trigger {
            padding: 9px;
            border-radius: 14px;
            color: #dce8f8;
            background: rgba(3,7,18,0.42);
            border: 1px solid rgba(148,163,184,0.10);
            font-size: 0.44rem;
            line-height: 1.55;
        }

        .watch-mini-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
            margin-top: 8px;
        }

        .watch-mini {
            border-radius: 12px;
            padding: 7px;
            background: rgba(15,23,42,0.58);
            border: 1px solid rgba(148,163,184,0.08);
        }

        .watch-mini .k {
            font-size: 0.32rem;
            color: #8ea0b8;
            margin-bottom: 2px;
        }

        .watch-mini .v {
            font-size: 0.44rem;
            color: #eaf2ff;
            font-family: monospace;
            font-weight: 800;
        }

        .compat-hidden {
            display: none !important;
        }

        @media (max-width: 520px) {
            .watch-grid {
                grid-template-columns: 1fr;
            }
            .watch-mini-row {
                grid-template-columns: 1fr;
            }
        }

        /* ===== old hidden point styles ===== */
        #decisionCard {
            padding: 14px;
            border-color: rgba(53,232,155,0.30);
            background:
                radial-gradient(circle at 12% 0%, rgba(53,232,155,0.13), transparent 36%),
                radial-gradient(circle at 90% 8%, rgba(98,168,255,0.12), transparent 34%),
                linear-gradient(180deg, rgba(12,20,34,0.96), rgba(5,10,20,0.96));
        }

        #decisionCard::before {
            display: none !important;
        }

        .point-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 12px;
        }

        .point-title {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .point-title h3 {
            font-size: 0.82rem;
            letter-spacing: 0.3px;
            color: #f3f8ff;
        }

        .point-title .sub {
            font-size: 0.38rem;
            color: #8ea0b8;
        }

        .point-tier {
            border-radius: 999px;
            padding: 6px 10px;
            font-size: 0.42rem;
            font-weight: 900;
            white-space: nowrap;
            background: rgba(98,168,255,0.16);
            color: #dbeafe;
            border: 1px solid rgba(98,168,255,0.35);
        }

        .point-tier.strict {
            background: linear-gradient(135deg, #35e89b, #a3ffcf);
            color: #04120b;
            border: none;
        }

        .point-tier.candidate {
            background: linear-gradient(135deg, #ffd166, #fff0a8);
            color: #1b1200;
            border: none;
        }

        .point-hero {
            padding: 12px;
            border-radius: 18px;
            background: rgba(3,7,18,0.46);
            border: 1px solid rgba(148,163,184,0.12);
            margin-bottom: 10px;
        }

        .point-hero-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 8px;
        }

        .point-direction {
            font-size: 0.9rem !important;
            font-weight: 950 !important;
            letter-spacing: 0.3px;
        }

        .point-mode {
            font-size: 0.46rem;
            color: #a9bdd6;
            text-align: right;
        }

        .point-signal-bar {
            height: 8px;
            border-radius: 999px;
            background: rgba(30,41,59,0.96);
            overflow: hidden;
        }

        .point-signal-fill {
            height: 100%;
            border-radius: 999px;
            background: linear-gradient(90deg, #62a8ff, #35e89b);
            box-shadow: 0 0 22px rgba(53,232,155,0.35);
        }

        .point-entry-box {
            padding: 14px;
            border-radius: 18px;
            background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(15,23,42,0.78));
            border: 1px solid rgba(251,191,36,0.28);
            margin-bottom: 10px;
        }

        .point-label {
            font-size: 0.38rem;
            color: #a9bdd6;
            margin-bottom: 4px;
        }

        .point-entry-value {
            font-size: 1.08rem;
            line-height: 1.2;
            color: #ffd166;
            font-weight: 950;
            font-family: monospace;
            letter-spacing: -0.5px;
        }

        .point-grid-main {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            margin-bottom: 10px;
        }

        .point-metric {
            border-radius: 16px;
            padding: 10px;
            background: rgba(15,23,42,0.68);
            border: 1px solid rgba(148,163,184,0.10);
        }

        .point-metric.danger {
            border-color: rgba(255,100,124,0.22);
        }

        .point-metric.success {
            border-color: rgba(53,232,155,0.20);
        }

        .point-metric .name {
            font-size: 0.36rem;
            color: #8ea0b8;
            margin-bottom: 4px;
        }

        .point-metric .value {
            font-size: 0.66rem;
            color: #eef6ff;
            font-weight: 900;
            font-family: monospace;
        }

        .point-metric .value.red {
            color: #ff647c;
        }

        .point-metric .value.green {
            color: #35e89b;
        }

        .point-targets {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-bottom: 10px;
        }

        .point-target {
            padding: 10px 8px;
            border-radius: 16px;
            background: rgba(6, 78, 59, 0.18);
            border: 1px solid rgba(53,232,155,0.16);
            text-align: center;
        }

        .point-target .name {
            font-size: 0.34rem;
            color: #8ea0b8;
            margin-bottom: 4px;
        }

        .point-target .value {
            font-size: 0.58rem;
            color: #35e89b;
            font-family: monospace;
            font-weight: 900;
        }

        .point-rule-box {
            border-radius: 16px;
            padding: 10px;
            background: rgba(15,23,42,0.62);
            border: 1px solid rgba(148,163,184,0.10);
            color: #dce8f8;
            line-height: 1.6;
            font-size: 0.46rem;
        }

        .point-hidden-compat {
            display: none !important;
        }

        #simCard {
            display: none !important;
        }

        @media (max-width: 520px) {
            .point-grid-main,
            .point-targets {
                grid-template-columns: 1fr;
            }

            .point-entry-value {
                font-size: 0.88rem;
            }

            .point-title h3 {
                font-size: 0.72rem;
            }
        }

        .signal-row {
            display: flex;
            align-items: center;
            gap: 3px;
            background: #1a2230;
            border-radius: 3px;
            padding: 3px 5px;
            margin: 3px 0;
        }
        .signal-bar {
            flex: 1;
            height: 2px;
            background: #2a3a4a;
            border-radius: 2px;
        }
        .signal-fill {
            height: 100%;
            border-radius: 2px;
        }
        .trade-count {
            font-size: 0.36rem;
            color: #8899b4;
        }
        .dot-sm {
            width: 2px;
            height: 2px;
            border-radius: 50%;
            margin-right: 2px;
            display: inline-block;
        }
        .dot-gold {
            background: #fbbf24;
        }
        .dot-green {
            background: #4ade80;
        }
        .dot-red {
            background: #f87171;
        }
        .dot-cyan {
            background: #22d3ee;
        }
        .dot-pink {
            background: #e879f9;
        }
        .dot-prediction {
            background: #34d399;
        }
        .dot-order {
            background: #fbbf24;
        }
        .sim-row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 5px;
            margin-bottom: 5px;
        }
        .sim-row label {
            font-size: 0.45rem;
            color: #8899b4;
        }
        .sim-row input,
        .sim-row select {
            background: #1a2230;
            border: 1px solid #2a3a4a;
            border-radius: 3px;
            padding: 3px 5px;
            color: #e8edf5;
            font-family: monospace;
            font-size: 0.55rem;
            width: 55px;
        }
        .btn {
            padding: 4px 8px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 0.45rem;
            border: none;
            cursor: pointer;
            text-transform: uppercase;
        }
        .btn-primary {
            background: #a78bfa;
            color: #000;
        }
        .btn-outline {
            background: transparent;
            border: 1px solid #2a3a4a;
            color: #e8edf5;
        }
        .btn-danger {
            background: #f87171;
            color: #000;
        }
        .btn-small {
            padding: 2px 5px;
            font-size: 0.38rem;
        }
        .btn:disabled {
            opacity: 0.45;
            pointer-events: none;
        }
        .pos-box {
            background: #1a2230;
            border-radius: 6px;
            padding: 6px;
            display: none;
            margin-bottom: 5px;
            border: 1px solid #2a3a4a;
        }
        .pos-badge {
            display: inline-block;
            padding: 2px 5px;
            border-radius: 5px;
            font-size: 0.45rem;
            font-weight: 700;
        }
        .badge-long {
            background: rgba(74, 222, 128, 0.2);
            color: #4ade80;
            border: 1px solid #4ade80;
        }
        .badge-short {
            background: rgba(248, 113, 113, 0.2);
            color: #f87171;
            border: 1px solid #f87171;
        }
        .pos-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3px;
            font-family: monospace;
            font-size: 0.45rem;
            margin-top: 3px;
        }
        .pos-item {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 3px;
            padding: 4px;
        }
        .pos-item .label {
            font-size: 0.35rem;
            color: #8899b4;
            margin-bottom: 1px;
        }
        .pos-item .value {
            font-size: 0.5rem;
            font-weight: 600;
            color: #e8edf5;
        }
        .pos-item .value.profit {
            color: #4ade80;
        }
        .pos-item .value.loss {
            color: #f87171;
        }
        .account-summary {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 3px;
            margin-bottom: 5px;
        }
        .account-item {
            background: #1a2230;
            border-radius: 4px;
            padding: 4px 3px;
            text-align: center;
        }
        .account-item .label {
            font-size: 0.35rem;
            color: #8899b4;
            margin-bottom: 1px;
        }
        .account-item .value {
            font-size: 0.5rem;
            font-weight: 700;
            font-family: monospace;
            color: #e8edf5;
        }
        .history-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.4rem;
            margin-top: 2px;
        }
        .history-table th {
            text-align: left;
            padding: 1px 2px;
            color: #8899b4;
            border-bottom: 1px solid #2a3a4a;
            font-size: 0.36rem;
        }
        .history-table td {
            padding: 1px 2px;
            border-bottom: 1px solid rgba(42, 58, 74, 0.5);
            font-family: monospace;
            color: #e8edf5;
        }
        .win {
            color: #4ade80;
        }
        .lose {
            color: #f87171;
        }
        .legend-row {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            font-size: 0.3rem;
            color: #8899b4;
            margin-top: 2px;
            padding: 2px 4px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 3px;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 2px;
        }
        .legend-dot {
            width: 8px;
            height: 2px;
            border-radius: 1px;
            flex-shrink: 0;
        }
        .signal-source {
            font-size: 0.32rem;
            color: #8899b4;
            margin-left: 4px;
            background: rgba(0, 0, 0, 0.3);
            padding: 1px 4px;
            border-radius: 2px;
        }
        .entry-type {
            font-size: 0.32rem;
            color: #fbbf24;
            margin-left: 4px;
            background: rgba(251, 191, 36, 0.15);
            padding: 1px 4px;
            border-radius: 2px;
        }
        .eth-card {
            border-left: 2px solid #fbbf24;
        }
        .fib-card {
            border-left: 2px solid #f472b6;
        }
        .prediction-card {
            border-left: 2px solid #34d399;
        }
        .target-card {
            border-left: 2px solid #e879f9;
            padding: 4px 10px;
            margin-bottom: 8px;
            border-radius: 10px;
            background: rgba(17, 22, 32, 0.95);
        }
        .target-display {
            display: flex;
            flex-direction: column;
            gap: 1px;
            padding: 2px 0;
        }
        .target-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.38rem;
            padding: 1px 0;
            border-bottom: 1px solid rgba(42, 58, 74, 0.2);
        }
        .target-item:last-child {
            border-bottom: none;
        }
        .target-item .rank {
            font-size: 0.32rem;
            color: #4a5568;
            width: 18px;
            text-align: center;
        }
        .target-item .tprice {
            font-weight: 700;
            font-family: monospace;
            font-size: 0.45rem;
            min-width: 70px;
            color: #e8edf5;
        }
        .target-item .tpct {
            font-size: 0.36rem;
            font-weight: 600;
            min-width: 60px;
        }
        .target-item .tsource {
            font-size: 0.28rem;
            color: #4a5568;
            margin-left: auto;
        }
        .target-item .tbull {
            color: #4ade80;
        }
        .target-item .tbear {
            color: #f87171;
        }
        .prediction-display {
            display: flex;
            flex-direction: column;
            gap: 2px;
            padding: 4px 0;
            background: rgba(52, 211, 153, 0.05);
            border-radius: 4px;
            border-top: 1px solid rgba(52, 211, 153, 0.2);
            margin-top: 2px;
            padding-top: 4px;
        }
        .prediction-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1px 4px;
        }
        .prediction-row .plabel {
            font-size: 0.35rem;
            color: #8899b4;
        }
        .prediction-row .pvalue {
            font-weight: 700;
            font-family: monospace;
            font-size: 0.5rem;
        }
        .prediction-row .pvalue.bull {
            color: #4ade80;
        }
        .prediction-row .pvalue.bear {
            color: #f87171;
        }
        .prediction-row .pvalue.prediction {
            color: #34d399;
        }
        .prediction-row .pdetail {
            font-size: 0.28rem;
            color: #4a5568;
        }
        .prediction-row .psource {
            font-size: 0.26rem;
            color: #4a5568;
        }
        .prediction-divider {
            border: none;
            border-top: 1px dashed rgba(52, 211, 153, 0.2);
            margin: 2px 0;
        }
        .badge-gold {
            background: rgba(251, 191, 36, 0.2);
            color: #fbbf24;
            font-size: 0.32rem;
            padding: 1px 6px;
            border-radius: 3px;
            margin-left: 4px;
            font-weight: 600;
        }
        .badge-green {
            background: rgba(74, 222, 128, 0.2);
            color: #4ade80;
            font-size: 0.32rem;
            padding: 1px 6px;
            border-radius: 3px;
            margin-left: 4px;
            font-weight: 600;
        }
        .badge-red {
            background: rgba(248, 113, 113, 0.2);
            color: #f87171;
            font-size: 0.32rem;
            padding: 1px 6px;
            border-radius: 3px;
            margin-left: 4px;
            font-weight: 600;
        }
        .badge-purple {
            background: rgba(167, 139, 250, 0.2);
            color: #a78bfa;
            font-size: 0.32rem;
            padding: 1px 6px;
            border-radius: 3px;
            margin-left: 4px;
            font-weight: 600;
        }
        .badge-pink {
            background: rgba(244, 114, 182, 0.2);
            color: #f472b6;
            font-size: 0.32rem;
            padding: 1px 6px;
            border-radius: 3px;
            margin-left: 4px;
            font-weight: 600;
        }
        .badge-prediction {
            background: rgba(52, 211, 153, 0.2);
            color: #34d399;
            font-size: 0.32rem;
            padding: 1px 6px;
            border-radius: 3px;
            margin-left: 4px;
            font-weight: 600;
        }
        .data-source-tag {
            font-size: 0.3rem;
            color: #4ade80;
            background: rgba(74, 222, 128, 0.1);
            padding: 1px 4px;
            border-radius: 2px;
            margin-left: 4px;
        }
        .real-data-badge {
            display: inline-block;
            font-size: 0.3rem;
            color: #4ade80;
            background: rgba(74, 222, 128, 0.15);
            padding: 1px 6px;
            border-radius: 3px;
            margin-left: 4px;
            border: 1px solid rgba(74, 222, 128, 0.2);
        }
        .data-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3px;
            font-size: 0.38rem;
            margin-bottom: 3px;
        }
        .data-grid-item {
            background: #1a2230;
            border-radius: 3px;
            padding: 2px 4px;
        }
        .data-grid-item .lbl {
            color: #8899b4;
        }
        .data-grid-item .val {
            float: right;
            font-weight: 700;
            font-family: monospace;
        }
        .data-grid-item .val.real {
            color: #4ade80;
        }
        .eth-signal-bull {
            color: #4ade80;
        }
        .eth-signal-bear {
            color: #f87171;
        }
        .eth-signal-wait {
            color: #fbbf24;
        }
        .eth-signal-score {
            font-size: 0.5rem;
            font-weight: 800;
            padding: 2px 8px;
            border-radius: 4px;
            background: rgba(0, 0, 0, 0.3);
            margin-left: 4px;
        }
        .entry-detail {
            font-size: 0.32rem;
            color: #8899b4;
            text-align: center;
            margin-top: 2px;
            padding: 2px 4px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 3px;
            min-height: 18px;
        }
        .entry-detail.order-wait {
            color: #fbbf24;
            background: rgba(251, 191, 36, 0.08);
        }
        .entry-detail.order-filled {
            color: #4ade80;
            background: rgba(74, 222, 128, 0.08);
        }
        .entry-detail.order-expired {
            color: #f87171;
            background: rgba(248, 113, 113, 0.08);
        }
        .tp-detail {
            font-size: 0.32rem;
            color: #4ade80;
            text-align: center;
            margin-top: 2px;
            padding: 2px 4px;
            background: rgba(74, 222, 128, 0.05);
            border-radius: 3px;
        }
        .sl-detail {
            font-size: 0.32rem;
            color: #f87171;
            text-align: center;
            margin-top: 2px;
            padding: 2px 4px;
            background: rgba(248, 113, 113, 0.05);
            border-radius: 3px;
        }
        .data-source-info {
            font-size: 0.3rem;
            color: #4a5568;
            text-align: center;
            margin-top: 2px;
            border-top: 1px solid #2a3a4a;
            padding-top: 2px;
        }
        .collapse-content {
            overflow: hidden;
            max-height: 0;
            transition: max-height 0.3s ease;
        }
        .collapse-content.open {
            max-height: 2000px;
        }
        .collapse-content-inner {
            padding-top: 6px;
        }
        .collapsible {
            cursor: pointer;
            user-select: none;
        }
        .collapsible .arrow {
            transition: transform 0.2s;
            margin-left: auto;
            font-size: 0.5rem;
            color: #8899b4;
        }
        .collapsible .arrow.open {
            transform: rotate(90deg);
        }
        .prediction-confidence {
            font-size: 0.55rem;
            font-weight: 800;
            padding: 2px 8px;
            border-radius: 12px;
            background: rgba(52, 211, 153, 0.15);
            color: #34d399;
            margin-left: 4px;
        }
        .prediction-detail-box {
            background: #0d1117;
            border-radius: 4px;
            padding: 4px 6px;
            margin-top: 4px;
            font-size: 0.38rem;
            border-left: 2px solid #34d399;
            line-height: 1.5;
        }
        .prediction-detail-box .label {
            color: #8899b4;
        }
        .prediction-detail-box .value {
            font-weight: 700;
            color: #e8edf5;
        }
        .prediction-detail-box .bull {
            color: #4ade80;
        }
        .prediction-detail-box .bear {
            color: #f87171;
        }
        .prediction-detail-box .neutral {
            color: #fbbf24;
        }
        .prediction-detail-box .conf-high {
            color: #4ade80;
        }
        .prediction-detail-box .conf-mid {
            color: #fbbf24;
        }
        .prediction-detail-box .conf-low {
            color: #f87171;
        }

        /* ===== V10.0 点位决策 UI ===== */
        :root {
            --bg0: #070a12;
            --bg1: #0c1220;
            --card: rgba(17, 24, 39, 0.86);
            --card2: rgba(15, 23, 42, 0.78);
            --line: rgba(148, 163, 184, 0.18);
            --text: #eef6ff;
            --muted: #8ea0b8;
            --green: #35e89b;
            --red: #ff647c;
            --gold: #ffd166;
            --blue: #62a8ff;
            --purple: #c084fc;
        }

        body {
            background:
                radial-gradient(circle at 15% 0%, rgba(98,126,234,0.24), transparent 26%),
                radial-gradient(circle at 88% 8%, rgba(52,211,153,0.18), transparent 30%),
                linear-gradient(180deg, var(--bg0), #090f1c 45%, #060910);
            color: var(--text);
            padding: 10px;
        }

        .dashboard {
            max-width: 780px;
            gap: 10px;
        }

        .top-bar {
            position: sticky;
            top: 8px;
            z-index: 10;
            padding: 12px 14px;
            border: 1px solid rgba(98, 126, 234, 0.35);
            background: linear-gradient(135deg, rgba(20, 29, 48, 0.96), rgba(9, 13, 24, 0.94));
            box-shadow: 0 18px 45px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.06);
            backdrop-filter: blur(18px);
        }

        .logo-icon {
            width: 38px;
            height: 38px;
            border-radius: 14px;
            font-size: 20px;
            box-shadow: 0 0 28px rgba(98,126,234,0.35);
        }

        .symbol {
            font-size: 0.9rem;
            letter-spacing: 0.2px;
        }

        .live-price {
            font-size: 1.8rem;
            letter-spacing: -1px;
            text-shadow: 0 0 22px rgba(53,232,155,0.12);
            width: 150px;
            min-width: 150px;
            max-width: 150px;
            text-align: right;
            display: inline-block;
            flex: 0 0 150px;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        .change-badge, .data-status, .strategy-btn, .install-btn {
            border-radius: 999px;
            font-size: 0.55rem;
            padding: 5px 9px;
        }

        .active-tags {
            display: none;
        }

        .card-toggle {
            margin-left: auto;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.34rem;
            color: #8ea0b8;
            font-weight: 800;
            cursor: pointer;
        }

        .card-toggle input {
            accent-color: #62a8ff;
        }

        .card, .target-card {
            border: 1px solid var(--line);
            background: linear-gradient(180deg, var(--card), rgba(10, 16, 29, 0.9));
            box-shadow: 0 14px 36px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.05);
            border-radius: 18px;
            padding: 12px;
        }

        .card-header {
            margin-bottom: 10px;
        }

        .card-header h3 {
            font-size: 0.72rem;
            color: #d7e3f5;
            letter-spacing: 0.4px;
        }

        .chart-card {
            order: 1 !important;
            padding: 12px !important;
            border-radius: 18px !important;
            overflow: hidden;
        }

        #swingCard {
            order: 2 !important;
        }

        #fibStratCard {
            order: 3 !important;
        }

        #fibCard {
            order: 4;
        }

        #bbCard {
            order: 5;
        }

        #macdCard {
            order: 6;
        }

        #strategyCard {
            order: 7;
        }

        #scalpelCard {
            order: 8;
        }

        #trendCard {
            order: 9;
        }

        .chart-main-wrap {
            height: 390px;
            border-radius: 14px 14px 0 0;
            overflow: hidden;
            background: #0d1422;
        }

        .chart-macd-wrap {
            height: 92px;
            border-color: rgba(148,163,184,0.16);
            border-radius: 0 0 14px 14px;
            overflow: hidden;
        }

        .time-btns {
            top: 12px;
            right: 14px;
            gap: 5px;
        }

        .tf-btn {
            border-radius: 999px;
            padding: 4px 9px;
            font-size: 0.52rem;
            background: rgba(30,41,59,0.88);
            border-color: rgba(148,163,184,0.22);
        }

        .tf-btn.active {
            background: linear-gradient(135deg, #35e89b, #a3ffcf);
            color: #04120b;
        }

        #targetCard {
            order: 1;
            border-color: rgba(232,121,249,0.26);
        }

        #decisionCard {
            order: 3;
            border-color: rgba(53,232,155,0.28);
            background:
                radial-gradient(circle at 15% 0%, rgba(53,232,155,0.10), transparent 42%),
                linear-gradient(180deg, rgba(16, 27, 43, 0.94), rgba(8, 13, 24, 0.94));
        }

        .level-row {
            min-height: 32px;
            padding: 7px 9px;
            margin: 4px 0;
            border-radius: 12px;
            background: rgba(15, 23, 42, 0.72);
            border: 1px solid rgba(148,163,184,0.10);
        }

        .level-val {
            font-size: 0.66rem;
        }

        .signal-row {
            margin-top: 10px;
            padding: 10px;
            border-radius: 14px;
            background: rgba(3,7,18,0.46);
        }

        #signalText {
            font-size: 0.72rem !important;
        }

        .signal-bar {
            height: 10px;
            border-radius: 999px;
            background: rgba(30,41,59,0.95);
        }

        .signal-fill {
            border-radius: 999px;
            box-shadow: 0 0 18px rgba(53,232,155,0.32);
        }

        .prediction-detail-box, .entry-detail, .tp-detail, .sl-detail {
            border-radius: 12px;
            background: rgba(15, 23, 42, 0.58);
            border: 1px solid rgba(148,163,184,0.1);
            padding: 7px 9px;
            line-height: 1.55;
        }

        #ssCard, #ethStrategyCard, #simCard {
            order: 4;
        }

        #ethStrategyCard {
            border-color: rgba(251,191,36,0.28);
        }

        .data-grid, .ss-grid, .account-summary {
            gap: 8px;
        }

        .data-grid-item, .ss-item, .account-item, .mini-box, .target-item {
            border-radius: 14px;
            background: rgba(15, 23, 42, 0.66);
            border: 1px solid rgba(148,163,184,0.10);
            padding: 8px;
        }

        .data-grid-item .val, .account-item .value {
            font-size: 0.78rem;
        }

        .target-display {
            gap: 8px;
        }

        .prediction-display {
            border-radius: 14px;
            background: rgba(15,23,42,0.54);
            border: 1px solid rgba(148,163,184,0.10);
            padding: 8px;
        }

        .sim-row {
            display: none !important;
        }

        #autoStatus {
            color: #8ea0b8 !important;
        }

        #decisionCard::before {
            content: "输出严格点位、候选点位和观察点位，不连接钱包、不自动下单";
            display: block;
            margin-bottom: 8px;
            padding: 7px 9px;
            border-radius: 12px;
            color: #a9bdd6;
            background: rgba(15,23,42,0.58);
            border: 1px solid rgba(148,163,184,0.10);
            font-size: 0.42rem;
            line-height: 1.5;
        }

        .badge-pink, .badge-prediction, .badge-gold, .badge-green, .badge-purple, .badge-red {
            display: none;
        }

        .history-table th, .history-table td {
            padding: 5px;
        }

        .risk-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }

        .risk-field {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 8px;
            border-radius: 14px;
            background: rgba(15, 23, 42, 0.66);
            border: 1px solid rgba(148,163,184,0.10);
        }

        .risk-field label {
            font-size: 0.36rem;
            color: #8ea0b8;
        }

        .risk-field input, .risk-field select {
            width: 100%;
            background: rgba(2,6,23,0.72);
            color: #e5eefb;
            border: 1px solid rgba(148,163,184,0.22);
            border-radius: 10px;
            padding: 6px;
            font-size: 0.52rem;
        }

        .risk-plan-box {
            margin-top: 8px;
            padding: 9px;
            border-radius: 14px;
            background: rgba(3, 7, 18, 0.46);
            border: 1px solid rgba(148,163,184,0.10);
            color: #dce8f8;
            font-size: 0.46rem;
            line-height: 1.6;
        }

        .risk-plan-box .bad {
            color: #ff647c;
        }

        .risk-plan-box .good {
            color: #35e89b;
        }



        .tier-badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 999px;
            font-size: 0.38rem;
            font-weight: 800;
            margin-bottom: 6px;
        }

        .tier-strict {
            color: #04120b;
            background: linear-gradient(135deg, #35e89b, #a3ffcf);
        }

        .tier-candidate {
            color: #1b1200;
            background: linear-gradient(135deg, #ffd166, #fff0a8);
        }

        .tier-watch {
            color: #dbeafe;
            background: rgba(98,168,255,0.18);
            border: 1px solid rgba(98,168,255,0.35);
        }

        .point-plan-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            margin-top: 8px;
        }

        .point-plan-item {
            border-radius: 14px;
            padding: 9px;
            background: rgba(15,23,42,0.64);
            border: 1px solid rgba(148,163,184,0.10);
        }

        .point-plan-item .k {
            color: #8ea0b8;
            font-size: 0.36rem;
            margin-bottom: 4px;
        }

        .point-plan-item .v {
            color: #eaf2ff;
            font-size: 0.58rem;
            font-weight: 800;
            font-family: monospace;
        }

        .point-plan-item.full {
            grid-column: 1 / -1;
        }

        @media (max-width: 520px) {
            .point-plan-grid {
                grid-template-columns: 1fr;
            }
        }

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

        @media (max-width: 520px) {
            body {
                padding: 6px;
            }
            .dashboard {
                gap: 8px;
            }
            .top-bar {
                padding: 10px;
            }
            .live-price {
                font-size: 1.48rem;
                width: 132px;
                min-width: 132px;
                max-width: 132px;
                flex-basis: 132px;
            }
            .chart-main-wrap {
                height: 390px;
            }
            .chart-macd-wrap {
                height: 84px;
            }
            .card, .target-card {
                padding: 10px;
                border-radius: 16px;
            }
        }
