*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #0f172a;
    color: #cbd5e1;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
}

.cl_wrap {
    margin: 0 auto;
    padding: 40px;
}














#OVERALL_STATISTICS {
    padding: 40px;
}
.Top_Title {
    display: flex;
    width: 100%;
    align-items: center;
    border-bottom: 1px solid #2a3458;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.Top_Title_Icon {
    border: 5px solid #2a3458;
    border-radius: 50%;
}
.Top_Title_Icon img {
    width: 100px;
    border-radius: 50%;
}
.Top_Title_Name {
    width: 100%;
    color: #c9c9c9;
    font-size: 50px;
    font-weight: 800;
    margin-left: 20px;
}
.Top_Title_Name_Desc {
    display: flex;
    font-size: 15px;
    padding-right: 10px;
}







/* ── 퀵카드 ── */
.cl_quick_cards {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.qcard {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #1a1f3a;
    border: 1px solid #2a3458;
    border-radius: 5px;
    padding: 14px 16px;
    text-decoration: none;
    color: #e2e8f0;
    transition: border-color 0.15s;
    min-width: 0;
}
.qcard:hover {
    border-color: #388eff;
}
.qcard_head {
    display: flex;
    align-items: center;
    gap: 8px;
}
.qcard_head img {
    flex-shrink: 0;
}
.qcard_head > div {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.qcard_symbol {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
}
.qcard_name {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.qminichart {
    display: block;
    width: 100%;
    height: 48px;
}
.qcard_info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2px 8px;
}
.qcard_price {
    grid-column: 1 / -1;
    font-size: 16px;
    font-weight: 700;
    color: aqua;
}
.qcard_chg {
    font-size: 12px;
}
.qcard_rate {
    font-size: 12px;
    text-align: right;
}
.qcard_vol {
    grid-column: 1 / -1;
    font-size: 11px;
    color: #64748b;
}
.qcard_vol::before {
    content: '24h 거래량 ';
}
.up { color: #ef4444; }
.dn { color: #3b82f6; }

.cl_count {
    margin: 10px 10px 0px 0px;
    text-align: right;
}

.cl_search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}
.cl_search input {
    background: #040b1b;
    border: 1px solid #2a3458;
    color: #cbd5e1;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}
.cl_search input::placeholder { color: #475569; }
.cl_search button {
    background: #040b1b;
    border: 1px solid #2a3458;
    color: #94a3b8;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.cl_search button:hover { background: #040b1b; }
.cl_search a {
    padding: 8px 12px;
    background: #040b1b;
    border: 1px solid #2a3458;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
}

.cl_count {
    color: #818d9c;
    font-size: 13px;
    margin-bottom: 10px;
    padding-left: 4px;
}

.cl_table {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #2a3458;
    background: #070b24;
    border-radius: 7px;
}

.cl_table thead tr {
    
}
.cl_table th {
    background: #040b1b;
    border-radius: 7px 7px 0 0;
    padding: 20px;
    text-align: right;
    color: #ddd;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid #2a3458;
}
.cl_table th:first-child { text-align: left; }
.cl_table th:nth-child(2),
.cl_table th:nth-child(3) { text-align: left; }

.cl_table tbody tr {
    border-bottom: 1px solid #30365a;
    cursor: pointer;
    transition: background 0.15s;
}
.cl_table tbody tr:last-child td { border-bottom: none; }
.cl_table tbody tr:hover { background: #162445; }

.cl_table td {
    padding: 10px 20px;
    text-align: right;
    white-space: nowrap;
    font-size: 13px;
    border-bottom: 1px solid #2a3458;
}
.cl_table td:first-child { text-align: left; }
.cl_table td:nth-child(2) { text-align: left; color: #94a3b8; }
.cl_table td:nth-child(3) { text-align: left; }

.cl_sym {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cl_sym img { border-radius: 50%; }
.cl_market { color: #64748b; font-size: 11px; display: block; }
.cl_symbol { color: #e2e8f0; font-weight: 600; font-size: 14px; }

/* 미니차트 셀 */
.cl_minichart {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cl_minichart_name {
    white-space: nowrap;
}
canvas.minichart {
    display: block;
}

.up { color: #00ff00; }
.dn { color: #ff0000; }

.cl_paging {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.cl_paging a {
    display: inline-block;
    padding: 6px 12px;
    background: #0e1521;
    border: 1px solid #2a3458;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}
.cl_paging a:hover { background: #162445; }
.cl_paging a.active {
    background: #162445;
    border-color: #388eff;
    color: #e2e8f0;
    font-weight: 700;
}