  * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            background: #080d16;
            color: #d7dee9;
            font-family: "Segoe UI", Arial, sans-serif;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        /* HEADER */

        header {
            height: 72px;
            border-bottom: 1px solid #1c2635;
            background: #0b111c;
            display: flex;
            align-items: center;
            padding: 0 32px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 21px;
            font-weight: 700;
            color: #ffffff;
        }

        .logo-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            background: #ff7900;
            color: #111;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
        }

        .logo span {
            color: #ff861c;
        }

        nav {
            margin-left: 45px;
            display: flex;
            gap: 28px;
        }

        nav a {
            color: #8995a7;
            font-size: 14px;
        }

        nav a:hover,
        nav a.active {
            color: #ff8a1c;
        }

        .header-right {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .status {
            font-size: 12px;
            color: #7f8b9c;
        }

        .status-dot {
            display: inline-block;
            width: 7px;
            height: 7px;
            background: #19c37d;
            border-radius: 50%;
            margin-right: 6px;
        }

        /* MAIN */

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 32px;
        }

        .page-title {
            margin-bottom: 28px;
        }

        .page-title h1 {
            margin: 0;
            color: #fff;
            font-size: 28px;
        }

        .page-title p {
            margin: 8px 0 0;
            color: #758195;
            font-size: 14px;
        }

        /* STATS */

        .stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 28px;
        }

        .stat-card {
            background: #0d141f;
            border: 1px solid #1b2635;
            border-radius: 8px;
            padding: 20px;
        }

        .stat-label {
            color: #748196;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: .5px;
        }

        .stat-value {
            margin-top: 8px;
            color: #fff;
            font-size: 24px;
            font-weight: 700;
        }

        .stat-sub {
            margin-top: 5px;
            font-size: 12px;
            color: #697588;
        }

        /* TABLE */

        .panel {
            background: #0d141f;
            border: 1px solid #1b2635;
            border-radius: 8px;
            overflow: hidden;
        }

        .panel-header {
            padding: 18px 20px;
            border-bottom: 1px solid #1b2635;
            display: flex;
            align-items: center;
        }

        .panel-title {
            color: #fff;
            font-size: 16px;
            font-weight: 600;
        }

        .panel-header-right {
            margin-left: auto;
            color: #667386;
            font-size: 12px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        th {
            text-align: left;
            padding: 13px 18px;
            color: #69778b;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: .4px;
            font-weight: 600;
            border-bottom: 1px solid #182332;
        }

        td {
            padding: 16px 18px;
            border-bottom: 1px solid #151f2d;
            font-size: 13px;
        }

        tr:last-child td {
            border-bottom: none;
        }

        tr:hover {
            background: #101a27;
        }

        .coin {
            display: flex;
            align-items: center;
            gap: 11px;
        }

.coin-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #151f2d;
    border: 1px solid #29374a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff861c;
    font-weight: 700;
    font-size: 11px;
    overflow: hidden;
}

.coin-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

        .coin-name {
            color: #fff;
            font-weight: 600;
        }

        .coin-symbol {
            color: #69778b;
            font-size: 11px;
            margin-top: 2px;
        }

        .number {
            color: #dce3ec;
            font-family: Consolas, monospace;
        }

        .muted {
            color: #69778b;
        }

        .positive {
            color: #19c37d;
        }

        .algorithm {
            color: #b5c0cf;
        }

        .badge {
            display: inline-block;
            padding: 4px 7px;
            border-radius: 4px;
            background: #172130;
            color: #98a6b8;
            font-size: 10px;
        }

        .online {
            color: #19c37d;
            font-size: 11px;
        }

        .online::before {
            content: "";
            display: inline-block;
            width: 6px;
            height: 6px;
            background: #19c37d;
            border-radius: 50%;
            margin-right: 5px;
        }

        /* COIN DETAIL */

        .detail {
            margin-top: 30px;
        }

        .coin-header {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 22px;
            border-bottom: 1px solid #1b2635;
        }

.coin-header-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: #151f2d;
    border: 1px solid #314055;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.coin-header-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

        .coin-header h2 {
            margin: 0;
            color: #fff;
            font-size: 22px;
        }

        .coin-header p {
            margin: 5px 0 0;
            color: #68768a;
            font-size: 12px;
        }

        .coin-status {
            margin-left: auto;
            border: 1px solid #164c3b;
            background: #0d211b;
            color: #19c37d;
            padding: 7px 10px;
            border-radius: 5px;
            font-size: 11px;
        }

        .tabs {
            display: flex;
            gap: 0;
            border-bottom: 1px solid #1b2635;
            padding: 0 20px;
        }

        .tab {
            padding: 14px 18px;
            color: #718095;
            font-size: 12px;
            border-bottom: 2px solid transparent;
        }

        .tab.active {
            color: #ff861c;
            border-bottom-color: #ff861c;
        }

        .detail-grid {
            padding: 22px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
        }

        .metric {
            background: #0a1019;
            border: 1px solid #182333;
            border-radius: 6px;
            padding: 16px;
        }

        .metric-label {
            color: #68768a;
            font-size: 11px;
        }

        .metric-value {
            margin-top: 7px;
            color: #fff;
            font-family: Consolas, monospace;
            font-size: 15px;
        }

        /* CHART */

        .chart {
            height: 220px;
            margin: 0 22px 22px;
            border: 1px solid #182333;
            border-radius: 6px;
            background:
                linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
            background-size: 50px 40px;
            position: relative;
            overflow: hidden;
        }

        .chart svg {
            width: 100%;
            height: 100%;
        }

        /* FOOTER */

        footer {
            margin-top: 45px;
            border-top: 1px solid #1b2635;
            padding: 25px 32px;
            color: #596679;
            font-size: 11px;
            text-align: center;
        }

        /* RESPONSIVE */

        @media (max-width: 1000px) {
            .stats {
                grid-template-columns: repeat(2, 1fr);
            }

            .detail-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            table {
                min-width: 1000px;
            }

            .panel {
                overflow-x: auto;
            }
        }

        @media (max-width: 600px) {
            header {
                padding: 0 15px;
            }

            nav {
                display: none;
            }

            .container {
                padding: 18px;
            }

            .stats {
                grid-template-columns: 1fr;
            }

            .detail-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .stale{color:#e5a21a;font-size:11px}
.stale::before{content:"";display:inline-block;width:6px;height:6px;background:#e5a21a;border-radius:50%;margin-right:5px}
.offline{color:#ef5350;font-size:11px}
.offline::before{content:"";display:inline-block;width:6px;height:6px;background:#ef5350;border-radius:50%;margin-right:5px}
.unknown{color:#69778b;font-size:11px}
.unknown::before{content:"";display:inline-block;width:6px;height:6px;background:#69778b;border-radius:50%;margin-right:5px}

.trend-header{display:flex;align-items:center;gap:5px;white-space:nowrap}
.trend-header span{margin-right:2px}
.trend-switch{border:1px solid #29374a;background:#151f2d;color:#69778b;border-radius:4px;padding:3px 6px;font-size:9px;cursor:pointer}
.trend-switch:hover{color:#d7dee9}
.trend-switch.active{border-color:#ff861c;color:#ff861c;background:#1b2028}
.sparkline{width:110px;height:32px;display:block;overflow:visible}
.sparkline-area{fill:rgba(255,134,28,.10)}
.sparkline-line{stroke:#ff861c;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.spark-point{fill:transparent;pointer-events:none}
.spark-point.hovered{fill:#ff861c}
.chart-na{color:#69778b;font-size:11px}
.trend-tooltip{display:none;position:fixed;z-index:9999;pointer-events:none;background:#111a27;border:1px solid #29374a;border-radius:5px;padding:7px 9px;box-shadow:0 5px 18px rgba(0,0,0,.35);white-space:nowrap}
.trend-tooltip strong{display:block;color:#fff;font-size:12px;font-family:Consolas,monospace}
.trend-tooltip span{display:block;margin-top:3px;color:#718095;font-size:10px}