/* ================================================================
   okx_style.css — OKX 전용 스타일시트 (v1.0)
   PC 컴포넌트, 다크모드, 모바일 OKX 전용 반응형 포함
   style.css는 공통 글로벌 + Bybit 전용만 남음
   ================================================================ */

/* ── OKX 헤더 유틸리티 ── */
.header-stats-wrap { display: flex; gap: 30px; align-items: center; margin-left: auto; }
.okx-liq-val-wrap  { display: flex; align-items: baseline; gap: 6px; }

#okxLiqStatItem { position: relative; }
#okxLiqStatItem .stat-lbl { color: var(--danger); font-weight: 800; }
#okxFundingStatItem .stat-lbl { color: var(--gray); font-weight: 800; }
#okxHeaderFunding { font-variant-numeric: tabular-nums; }

/* ── 청산 방향·거리 (순숏 ▲+23.2%) ── */
.okx-liq-side {
    font-size: 11px; font-weight: 800;
    white-space: nowrap; display: none;
    font-variant-numeric: tabular-nums;
}

/* ── 안전 배수 뱃지 ── */
.okx-mgn-badge {
    font-size: 11px; font-weight: 800;
    padding: 1px 6px; border-radius: 4px;
    background: rgba(0,203,129,0.12); color: #00cb81;
    white-space: nowrap; display: inline-block;
}

/* ── i 정보 버튼 ── */
.okx-info-btn {
    background: rgba(128,128,128,0.2); color: inherit; border: none;
    width: 14px; height: 14px; border-radius: 50%;
    font-size: 9.5px; font-weight: 800; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    opacity: 0.85; flex-shrink: 0;
}

/* ── LIQ 팝업 가이드 카드 ── */
.okx-liq-popover {
    display: none; position: absolute;
    top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
    width: 290px; background: var(--card-bg, #ffffff);
    border: 1px solid var(--border, #e0e3eb); border-radius: 8px;
    padding: 12px 14px; box-shadow: 0 10px 28px rgba(0,0,0,0.22);
    z-index: 99999; text-align: left; font-size: 11px; line-height: 1.5;
}
.okx-liq-popover.open { display: block; }

.okx-liq-popover-header {
    font-weight: 800; font-size: 12px; margin-bottom: 8px;
    color: var(--text, #131722);
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border, #eee); padding-bottom: 6px;
}
.okx-liq-popover-close {
    cursor: pointer; font-size: 15px; opacity: 0.6; line-height: 1;
    background: none; border: none; color: inherit; padding: 0;
}
.okx-liq-popover-row         { margin-bottom: 7px; }
.okx-liq-popover-row strong  { display: block; }
.okx-liq-popover-row .desc   { color: var(--gray, #787b86); font-size: 10.5px; }
.okx-liq-popover-safe        { color: #00cb81; }
.okx-liq-popover-caution     { color: #ff9800; }
.okx-liq-popover-danger      { color: #ff1744; }
.okx-liq-popover-shield {
    background: rgba(255,23,68,0.08); border-left: 3px solid #ff1744;
    padding: 6px 8px; border-radius: 4px; font-size: 10px;
    color: var(--text, #131722); margin-top: 8px;
}

/* ── 청산 경고 배너 ── */
.okx-liq-banner {
    display: none; background: #ff1744; color: #fff;
    padding: 10px 16px; border-radius: 6px; margin-bottom: 16px;
    font-weight: 800; text-align: center; font-size: 13px;
    box-shadow: 0 0 15px rgba(255,23,68,0.6); animation: blink 1s infinite;
}

/* ── 차트 카드 ── */
.okx-chart-card { padding: 0; overflow: hidden; margin-bottom: 20px; }
.okx-chart-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 15px; border-bottom: 1px solid var(--border); background: var(--card-bg);
}
.okx-chart-title { font-weight: 800; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.okx-chart-price { color: var(--primary); }
.okx-tf-group    { width: auto; padding: 2px; display: flex; gap: 2px; }
.okx-chart-toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.okx-tf-btn      { padding: 4px 8px; font-size: 10px; height: auto; min-height: 0; }
.okx-kc-btn.active { background: rgba(30, 136, 229, 0.18); color: #1e88e5; border-color: rgba(30, 136, 229, 0.45); font-weight: 800; }
body.okx-dark .okx-kc-btn.active { background: rgba(66, 165, 245, 0.2); color: #42a5f5; border-color: rgba(66, 165, 245, 0.5); }
.okx-kc-btn:not(.active) { opacity: 0.55; }
.okx-chart-container {
    width: 100%; height: 320px; background: #ffffff;
    display: flex; align-items: center; justify-content: center; color: #999;
}

/* ── 상태 메시지 ── */
.okx-status-msg { text-align: center; font-size: 10px; color: var(--gray); margin-top: -16px; margin-bottom: 16px; }

/* ── 그리드 영역 헤더 행 ── */
.okx-grids-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.okx-grids-title-row .card-title { margin-bottom: 0; }

/* ── LONG/SHORT 사이드 레이블/정보 ── */
.okx-side-lbl-long  { color: var(--green); font-weight: 800; font-size: 12px; }
.okx-side-lbl-short { color: var(--red);   font-weight: 800; font-size: 12px; }
.okx-grid-side-summary { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 2px; font-size: 11px; font-weight: 700; line-height: 1.3; }
.grid-pnl-cell { line-height: 1.35; }
.grid-pnl-val { display: block; font-weight: 700; }
.grid-pnl-roi { display: block; font-size: 9px; opacity: 0.95; }
.okx-grid-table { table-layout: fixed; }
.okx-grid-table tbody tr { contain: layout style; }
.okx-side-info { font-size: 11px; font-weight: 700; color: #8c93a3; }
.okx-side-pnl  { font-size: 11px; font-weight: 800; }
.okx-side-liq  { font-size: 11px; font-weight: 800; color: #ff1744; }
.okx-grid-col  { flex: 1; }

/* ── + 버튼 ── */
.btn-add-manual {
    background: var(--primary); color: white; border: none;
    border-radius: 3px; width: 18px; height: 18px;
    font-weight: 800; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}
.okx-th-add { width: 80px; text-align: center; padding: 8px 4px; border-bottom: 1px solid var(--border); }

/* ── 모달 ── */
.okx-modal-content { max-width: 340px; padding: 24px; border-radius: 12px; background: #161618; }
.okx-modal-title   { margin-bottom: 18px; font-size: 16px; font-weight: bold; color: #ffffff; }
.okx-order-type-wrap { display: flex; gap: 5px; margin-bottom: 18px; background: #242731; padding: 4px; border-radius: 8px; }
.okx-type-btn { flex: 1; padding: 8px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; }
.okx-type-btn.market { background: #2196F3; color: white; }
.okx-type-btn.limit  { background: transparent; color: #888; }
.okx-type-btn.stop   { background: transparent; color: #888; }
.okx-order-type-wrap .okx-type-btn { font-size: 11px; padding: 8px 4px; }
.okx-type-btn.ref-active { background: #2196F3; color: white; }
.okx-type-btn.ref-inactive { background: transparent; color: #888; }
.okx-type-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.okx-input-hint-row  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.okx-price-hint { font-size: 10px; color: #00cb81; font-weight: 600; }
.okx-lev-hint   { font-size: 10px; color: #8c93a3; font-weight: 600; }
.okx-roe-wrapper { display: flex; align-items: center; background: #0a0a10; border: 1px solid #2e2e3e; border-radius: 6px; padding: 0 10px; }
.okx-roe-wrapper input {
    background: transparent !important;
    border: none;
    color: #00cb81 !important;
    -webkit-text-fill-color: #00cb81;
    font-weight: bold;
    width: 100%;
}
.okx-roe-unit  { color: #8c93a3; font-weight: bold; font-size: 12px; margin-left: 4px; }
.okx-calc-info { font-size: 10px; color: #788294; margin-top: 4px; line-height: 1.3; }
/* 매뉴얼 모달은 테마와 무관하게 항상 다크. body.okx-dark 에만 묶으면 라이트 기본값에서 흰 칸이 된다. */
.okx-modal-input,
.okx-input-dark {
    background: #0a0a10 !important;
    border-color: #2e2e3e;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    font-weight: bold;
    caret-color: #ffffff;
}
.okx-modal-input::placeholder,
.okx-input-dark::placeholder {
    color: #5c6478;
    -webkit-text-fill-color: #5c6478;
    opacity: 1;
}
.okx-modal-footer { display: flex; justify-content: space-between; gap: 10px; }
.okx-modal-footer .okx-modal-btn { flex: 1; height: 40px; }
.okx-btn-save { background: var(--primary); }
.okx-label { color: #a0aab8; font-weight: 700; font-size: 11px; }

/* ── Grid Table & Container (원래 <style> 블록에 있던 것) ── */
.okx-grid-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.okx-grid-table th { text-align: left; color: var(--gray); padding: 8px 4px; border-bottom: 1px solid var(--border); }
.okx-grid-table td { padding: 8px 4px; border-bottom: 1px dotted #eee; }
.okx-grid-table .long-row  { background: rgba(0,255,100,0.02); }
.okx-grid-table .short-row { background: rgba(255,0,0,0.02); }
.okx-grid-table .active-row { background: rgba(0,161,156,0.1); font-weight: bold; }
.okx-grids-container { display: flex; gap: 20px; }
.okx-grid-tabs { display: none; }

/* ── Grid Header ── */
.okx-grid-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; border-bottom: 1px solid var(--border); padding-bottom: 5px; }
.okx-grid-header-info    { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.okx-grid-header-actions { display: flex; align-items: center; gap: 6px; }
.okx-grid-btn { color: white; border: none; border-radius: 4px; padding: 4px 10px; font-size: 10px; font-weight: 800; cursor: pointer; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: transform 0.1s, opacity 0.2s; }
.okx-grid-btn:active { transform: scale(0.95); }
.okx-grid-btn.primary { background: var(--primary); }
.okx-grid-btn.danger  { background: var(--danger); }

/* ================================================================
   OKX DARK MODE (v2.0) — body.okx-dark only
   ================================================================ */

.darkModeBtn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1.5px solid #d8dce4; border-radius: 20px; background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; color: #6b778c; letter-spacing: 0.4px; transition: border-color 0.2s, color 0.2s, background 0.2s; white-space: nowrap; flex-shrink: 0; }
.darkModeBtn:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,161,156,0.06); }
body.okx-dark .darkModeBtn { border-color: #2e2e3e; color: #5c6478; background: rgba(28,200,194,0.05); }
body.okx-dark .darkModeBtn:hover { border-color: #1cc8c2; color: #1cc8c2; background: rgba(28,200,194,0.1); }

body.okx-dark { background: #111117; color: #c4cdd8; --border: #383848; --card-bg: #1b1b24; --text: #c4cdd8; --gray: #5c6478; }
body.okx-dark .top-nav { background: #0d0d13; border-bottom: 1px solid #242430; box-shadow: none; }
body.okx-dark .logo { color: #c4cdd8; }
body.okx-dark .hamburger span { background: #5c6478; }
body.okx-dark .nav-links span { color: #5c6478; }
body.okx-dark .nav-links span:hover { color: #c4cdd8; }
body.okx-dark .nav-links .active { color: #1cc8c2; border-bottom-color: #1cc8c2; }
body.okx-dark .status-indicator { color: #1dba8a; }
body.okx-dark .btn-quit { background: #d95060; }
body.okx-dark .sidebar { background: #0d0d13; border-right: 1px solid #242430; }
body.okx-dark .sidebar-section-title { border-bottom: 1px solid #242430; }
body.okx-dark .sidebar-overlay { background: rgba(0,0,0,0.72); }
body.okx-dark .form-label { color: #5c6478; }
body.okx-dark .menu-expander { background: #181820; border-color: #242430; color: #5c6478; }
body.okx-dark .menu-expander:active { background: #1e1e28; }
body.okx-dark .menu-list { border-color: #242430; background: #111117; }
body.okx-dark .m-nav-item { color: #5c6478; border-bottom-color: #1e1e28; }
body.okx-dark .m-nav-item:hover, body.okx-dark .m-nav-item.active { background: #1b1b24; color: #1cc8c2; }
body.okx-dark .status-dot { color: #1dba8a; }
body.okx-dark .price-blue { color: #1cc8c2; }
body.okx-dark .sidebar input, body.okx-dark .sidebar select { background: #0a0a10 !important; border-color: #2e2e3e; color: #c4cdd8 !important; -webkit-text-fill-color: #c4cdd8; }
body.okx-dark .sidebar input::placeholder { color: #3a3f50; }
body.okx-dark .sidebar input:focus, body.okx-dark .sidebar select:focus { border-color: #1cc8c2; box-shadow: 0 0 0 3px rgba(28,200,194,0.1); background: #0d0d13; }
body.okx-dark #symbolSearch { background: #181820; border-color: #2e2e3e; color: #c4cdd8; }
body.okx-dark #symbolSearch:focus { border-color: #1cc8c2; background: #1b1b24; }
body.okx-dark #symbolSearch::placeholder { color: #3a3f50; }
body.okx-dark .lev-track { background: #242430; }
body.okx-dark .lev-fill  { background: #1cc8c2; }
body.okx-dark .lev-thumb { background: #1cc8c2; box-shadow: 0 0 0 3px rgba(28,200,194,0.18); }
body.okx-dark .slider-val { color: #1cc8c2; }
body.okx-dark .toggle-group { background: #0a0a10; border-radius: 6px; }
body.okx-dark .toggle-btn { color: #5c6478; }
body.okx-dark .toggle-btn.active { background: #1b1b24; color: #c4cdd8; box-shadow: 0 1px 6px rgba(0,0,0,0.5); }
body.okx-dark .main-view { background: #111117; }
body.okx-dark .symbol-name  { color: #c4cdd8; }
body.okx-dark .stat-lbl     { color: #5c6478; letter-spacing: 0.6px; }
body.okx-dark .stat-val     { color: #c4cdd8; }
body.okx-dark .stat-val.blue  { color: #1cc8c2; }
body.okx-dark .stat-val.green { color: #1dba8a; }
body.okx-dark .stat-val.red   { color: #d95060; }
body.okx-dark .portfolio-card { background: #1b1b24; border: 1px solid #242430; box-shadow: none; }
body.okx-dark .portfolio-card.active { background: linear-gradient(135deg,#1b1b24 0%,#122420 100%) !important; border: 2px solid var(--primary) !important; box-shadow: 0 4px 15px rgba(0,203,129,0.15) !important; }
body.okx-dark .close-tab { background: rgba(255,255,255,0.08); color: #8a95a8; }
body.okx-dark .close-tab:hover { background: rgba(255,255,255,0.15); color: #c4cdd8; }
body.okx-dark .p-symbol { color: #5c6478; font-weight: 700; letter-spacing: 0.4px; }
body.okx-dark .p-pnl    { color: #c4cdd8 !important; }
body.okx-dark .p-roi    { color: #c4cdd8; }
body.okx-dark .card { background: #1b1b24; border: 1px solid #242430; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
body.okx-dark .card-title { color: #c4cdd8; }
body.okx-dark #okxTvChart, body.okx-dark #tvChart { background: #1b1b24 !important; }
body.okx-dark #simTable th, body.okx-dark #reportTable th { background: #1b1b24 !important; border-bottom: 1px solid #242430 !important; color: #5c6478; }
body.okx-dark #simTable td, body.okx-dark #reportTable td { border-bottom: 1px solid #242430; color: #c4cdd8; }
body.okx-dark #reportTable tbody tr:hover { background: #1e1e28 !important; }
body.okx-dark .report-stat-card, body.okx-dark .exch-card { background: #1b1b24 !important; border: 1px solid #242430 !important; box-shadow: none !important; }
body.okx-dark .clickable-card:hover, body.okx-dark .exch-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.4) !important; border-color: var(--primary) !important; }
body.okx-dark .slot-budget-hint { color: #1cc8c2; }
body.okx-dark .chart-resize-handle { background: #1b1b24; border: 1px solid #383848; border-top: none; border-radius: 0 0 8px 8px; margin-top: -20px; }
body.okx-dark .chart-resize-handle:hover { background: #222230; }
body.okx-dark .resize-grip { background: #2e2e3e; }
body.okx-dark .chart-resize-handle:hover .resize-grip { background: #1cc8c2; }
body.okx-dark .btn-teal { background: #179e99; box-shadow: 0 2px 10px rgba(23,158,153,0.25); }
body.okx-dark .btn-teal:hover { background: #1cc8c2; }
body.okx-dark .btn-red  { background: #b83c4a; box-shadow: 0 2px 10px rgba(184,60,74,0.25); }
body.okx-dark .btn-red:hover  { background: #d95060; }
body.okx-dark .okx-grid-table th { color: #5c6478; border-bottom: 1px solid #242430; font-size: 10px; letter-spacing: 0.5px; }
body.okx-dark .okx-grid-table td { color: #c4cdd8; border-bottom: 1px dotted #1e1e28 !important; }
body.okx-dark .okx-grid-table .long-row  { background: rgba(29,186,138,0.04); }
body.okx-dark .okx-grid-table .short-row { background: rgba(217,80,96,0.04); }
body.okx-dark .okx-grid-table .active-row { background: rgba(28,200,194,0.08) !important; }
body.okx-dark #okxStatusMsg  { color: #3a3f50; }
body.okx-dark .chart-loading { background: rgba(17,17,23,0.82); color: #1cc8c2; }
body.okx-dark .safe-badge    { background: #161c1b; color: #1dba8a; }
body.okx-dark .okx-liq-popover { background: #1b1b24; border-color: #2e2e3e; }
body.okx-dark .okx-liq-popover-header { color: #c4cdd8; }
body.okx-dark .modal-overlay > div, body.okx-dark .okx-modal-content { background: #161618 !important; border: 1px solid #2e2e3e; box-shadow: 0 24px 80px rgba(0,0,0,0.75); }
body.okx-dark .okx-modal-title   { color: #c4cdd8; }
body.okx-dark .okx-input-label   { color: #a0aab8 !important; font-weight: 700; font-size: 11px; letter-spacing: 0.3px; }
body.okx-dark .okx-modal-input   { background: #0a0a10 !important; border-color: #2e2e3e; color: #ffffff !important; -webkit-text-fill-color: #ffffff; }
body.okx-dark .okx-modal-input:focus { border-color: #1cc8c2; }
body.okx-dark .okx-btn-cancel    { background: #1e1e28; color: #5c6478; }
body.okx-dark .okx-btn-cancel:hover { color: #c4cdd8; }
body.okx-dark .flash-guard-section { background: #0a0a10; border: 1px solid #2e2e3e; }
body.okx-dark .flash-guard-section.active { background: #122420; border-color: var(--primary); box-shadow: 0 4px 15px rgba(0,203,129,0.12); }
body.okx-dark .flash-title  { color: #c4cdd8; }
body.okx-dark .flash-hint   { color: #5c6478; }
body.okx-dark .price-song-alert-status { color: var(--primary); }
body.okx-dark .price-song-alert-file { color: #5c6478; }
body.okx-dark .price-song-alert-coin { color: var(--primary); }
body.okx-dark .slider-toggle { background-color: #2e2e3e; }
body.okx-dark .flash-input-wrap input { background: #0a0a10 !important; border: 1px solid #2e2e3e; color: #c4cdd8 !important; -webkit-text-fill-color: #c4cdd8; }
body.okx-dark .flash-input-wrap input:focus { border-color: #1cc8c2; background: #0d0d13; }
body.okx-dark .okx-grid-header { border-bottom-color: #242430; }

/* ================================================================
   MOBILE — OKX 전용 반응형 (PC 절대 건드리지 않음)
   ================================================================ */
@media (max-width: 768px) {
    .darkModeBtn { display: none !important; }

    #okxDashboardView .header-stats-wrap {
        display: block; width: 100%; margin: 0; padding: 0;
    }

    #okxDashboardView .header-stats {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%; margin-top: 8px; margin-bottom: 20px;
        background: var(--card-bg, #fff); border: 1px solid var(--border, #edf2f7);
        border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.02);
        box-sizing: border-box; overflow: hidden;
        gap: 0 !important; flex: none !important;
        flex-direction: unset !important; align-items: unset !important;
    }

    #okxDashboardView .stat-item {
        display: flex; flex-direction: column;
        align-items: center; justify-content: center;
        text-align: center; padding: 12px 4px;
        border-right: 1px solid var(--border, #f1f5f9);
        box-sizing: border-box; overflow: hidden;
        width: auto !important; min-width: 0 !important;
    }

    #okxDashboardView .stat-item:last-child { border-right: none; }

    #okxDashboardView .stat-lbl {
        display: flex; align-items: center; justify-content: center;
        text-align: center; width: 100%;
        font-size: 8.5px; font-weight: 800; color: #94a3b8;
        margin-bottom: 4px; text-transform: uppercase;
        letter-spacing: 0.2px; white-space: nowrap;
    }

    #okxDashboardView #okxLiqStatItem .stat-lbl { color: var(--danger); gap: 4px; }

    #okxDashboardView .stat-val {
        font-size: 13px; font-weight: 900;
        color: var(--text, #0f172a);
        text-align: center; display: block; width: 100%;
    }

    #okxDashboardView .okx-liq-val-wrap {
        display: flex; flex-direction: column;
        align-items: center !important; justify-content: center;
        gap: 3px; width: 100%;
    }

    #okxDashboardView #okxHeaderLiq {
        font-size: 13px; font-weight: 900;
        text-align: center; display: block;
    }

    #okxDashboardView #okxHeaderLiqSide {
        font-size: 9.5px; text-align: center;
    }

    #okxDashboardView #okxHeaderMgnRatio {
        font-size: 9.5px; font-weight: 800;
        padding: 1px 5px; border-radius: 4px;
        text-align: center; display: inline-block;
    }

    #okxDashboardView #okxTvChart {
        height: min(40dvh, 280px) !important; min-height: 200px;
    }

    #okxHedgeGridsContainer { display: block !important; gap: 0 !important; }
    #okxHedgeGridsContainer[data-active="long"]  #okxLongGridCol  { display: block; width: 100%; flex: none; }
    #okxHedgeGridsContainer[data-active="long"]  #okxShortGridCol { display: none; }
    #okxHedgeGridsContainer[data-active="short"] #okxLongGridCol  { display: none; }
    #okxHedgeGridsContainer[data-active="short"] #okxShortGridCol { display: block; width: 100%; flex: none; }

    #okxGridTabs { display: flex !important; gap: 6px; flex-shrink: 0; }

    .okx-grid-tab {
        padding: 6px 16px; border: none; border-radius: 20px;
        font-size: 12px; font-weight: 800; cursor: pointer;
        background: #f1f5f9; color: #94a3b8;
        letter-spacing: 0.3px; min-height: 44px;
    }

    #okxTabLong.active  { background: rgba(0,200,120,0.15); color: #00a86b; box-shadow: 0 0 0 1.5px rgba(0,200,120,0.4); }
    #okxTabShort.active { background: rgba(232,63,77,0.12);  color: #e83f4d; box-shadow: 0 0 0 1.5px rgba(232,63,77,0.3); }

    .okx-grid-header         { flex-direction: column; align-items: stretch; gap: 8px; }
    .okx-grid-header-info    { justify-content: space-between; margin-bottom: 4px; width: 100%; }
    .okx-grid-header-actions { justify-content: space-between; width: 100%; }
    .okx-grid-btn            { flex: 1; text-align: center; padding: 8px 4px; font-size: 11px; }

    .okx-liq-popover { left: 0; transform: none; width: calc(100vw - 40px); max-width: 290px; }
}
