/* 비트코인 매물대 (Volume Profile) */
.vp-main { }
.vp-dashboard { width: 100%; margin: 0 auto; }
body .data-main { max-width: 960px !important; }
.vp-head { margin-bottom: 14px; }
.vp-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vp-head h1 { font-size: 1.45rem; margin: 0; line-height: 1.3; }
.vp-updated { font-size: 0.8rem; opacity: 0.65; white-space: nowrap; }
.vp-lead { margin: 8px 0 0; font-size: 0.92rem; opacity: 0.8; line-height: 1.55; }

/* 코인 선택 드롭다운 */
.vp-title { display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: 1.45rem; line-height: 1.3; flex-wrap: wrap; }
.vp-title-sub { font-size: 0.78rem; opacity: 0.45; font-weight: 600; }
.vp-coinsel { position: relative; display: inline-block; }
.vp-coinbtn { font: inherit; font-weight: 700; color: inherit; background: rgba(125,134,160,.1); border: 1px solid rgba(125,134,160,.38); cursor: pointer; padding: 5px 12px; border-radius: 11px; display: inline-flex; align-items: center; gap: 10px; transition: background .15s, border-color .15s; }
.vp-coinbtn:hover { background: rgba(56,189,248,.12); border-color: rgba(56,189,248,.5); }
.vp-coinsel.open .vp-coinbtn { background: rgba(56,189,248,.14); border-color: rgba(56,189,248,.6); }
.vp-caret { font-size: 0.6em; opacity: 0.7; transition: transform .15s; }
.vp-coinsel.open .vp-caret { transform: rotate(180deg); }
.vp-coinmenu { position: absolute; top: 100%; left: 0; margin-top: 8px; min-width: 210px; background: rgba(12,16,28,.98); border: 1px solid rgba(125,134,160,.3); border-radius: 13px; padding: 6px; box-shadow: 0 14px 34px rgba(0,0,0,.5); display: none; flex-direction: column; z-index: 90; }
.vp-coinsel.open .vp-coinmenu { display: flex; }
.vp-coinmenu a { display: flex; align-items: center; padding: 10px 13px; border-radius: 9px; font-size: 0.95rem; font-weight: 600; color: inherit; text-decoration: none; white-space: nowrap; }
.vp-coinmenu a:hover { background: rgba(56,189,248,.16); }
.vp-coinmenu a[aria-current="page"] { color: #38bdf8; background: rgba(56,189,248,.12); }
.vp-coin-ico { width: 20px; height: 20px; border-radius: 50%; vertical-align: -4px; margin-right: 8px; background: rgba(125,134,160,.15); object-fit: cover; }
.vp-coinbtn .vp-coin-ico { width: 23px; height: 23px; vertical-align: -5px; }

.vp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 16px 0 10px; }
.vp-tabs { display: inline-flex; gap: 6px; background: rgba(125,134,160,.12); padding: 4px; border-radius: 12px; }
.vp-tabs button { border: 0; background: transparent; color: inherit; font: 600 0.9rem/1 inherit; padding: 8px 14px; border-radius: 9px; cursor: pointer; opacity: 0.7; transition: background .15s, opacity .15s; }
.vp-tabs button:hover { opacity: 1; }
.vp-tabs button.active { background: rgba(56,189,248,.22); color: #38bdf8; opacity: 1; }

.vp-chips { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; }
.vp-chips span { display: inline-flex; flex-direction: column; gap: 2px; opacity: 0.7; }
.vp-chips strong { font-size: 0.98rem; opacity: 1; }
.vp-chips .c-poc strong { color: #f5c451; }
.vp-chips .c-cur strong { color: #38bdf8; }

.vp-pricechart { margin-top: 6px; border: 1px solid rgba(125,134,160,.18); border-radius: 14px; padding: 8px 10px 6px; background: rgba(125,134,160,.05); }
.vp-pricechart-title { font-size: 0.8rem; opacity: 0.6; margin: 2px 4px 6px; }
.vp-pricechart canvas { width: 100%; height: 340px; display: block; }
.vp-chart-wrap { position: relative; border: 1px solid rgba(125,134,160,.18); border-radius: 14px; padding: 12px 14px; background: rgba(125,134,160,.05); margin-top: 14px; }
.vp-loading { padding: 40px 0; text-align: center; opacity: 0.65; font-size: 0.9rem; }
.vp-error { padding: 30px 0; text-align: center; color: #f87171; font-size: 0.9rem; }

.vp-rows { display: flex; flex-direction: column; gap: 2px; }
.vp-row { display: grid; grid-template-columns: 92px 1fr 78px; align-items: center; gap: 10px; height: 18px; font-size: 0.74rem; }
.vp-price { text-align: right; opacity: 0.7; font-variant-numeric: tabular-nums; }
.vp-vol { text-align: left; opacity: 0.55; font-variant-numeric: tabular-nums; }
.vp-bar { position: relative; display: flex; height: 13px; border-radius: 3px; overflow: hidden; background: rgba(125,134,160,.06); }
.vp-seg { height: 13px; }

.vp-row.in-va .vp-price { opacity: 0.95; }
.vp-row.in-va .vp-bar { background: rgba(245,196,81,.08); }
.vp-row.is-poc { font-weight: 700; }
.vp-row.is-poc .vp-price { color: #f5c451; opacity: 1; }
.vp-row.is-poc .vp-bar { outline: 1px solid rgba(245,196,81,.7); }
.vp-row.is-current .vp-price { color: #38bdf8; opacity: 1; font-weight: 700; }
.vp-row.is-current .vp-bar { box-shadow: inset 0 0 0 1px rgba(56,189,248,.6); }
.vp-curtag { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 0.62rem; color: #38bdf8; background: rgba(8,12,24,.7); padding: 1px 5px; border-radius: 4px; pointer-events: none; }

.vp-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.78rem; opacity: 0.75; margin-top: 12px; }
.vp-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.vp-legend .l-buy { background: rgba(34,197,94,.85); }
.vp-legend .l-sell { background: rgba(239,68,68,.85); }
.vp-legend .l-poc { background: #f5c451; }

.vp-row:hover .vp-bar { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); cursor: crosshair; }
.vp-tip { position: fixed; z-index: 70; pointer-events: none; display: none; min-width: 184px; padding: 10px 12px; background: rgba(10,14,26,.97); border: 1px solid rgba(125,134,160,.32); border-radius: 11px; box-shadow: 0 10px 28px rgba(0,0,0,.45); font-size: 0.75rem; }
.vp-tip-price { font-weight: 700; font-size: 0.8rem; margin-bottom: 7px; color: #f5c451; }
.vp-tip-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 2.5px 0; }
.vp-tip-row i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.vp-tip-row .v { font-variant-numeric: tabular-nums; opacity: 0.95; }
.vp-tip-row .v em { font-style: normal; opacity: 0.5; font-size: 0.7rem; margin-left: 3px; }
.vp-tip-total { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(125,134,160,.25); font-weight: 700; }

.vp-note { font-size: 0.78rem; opacity: 0.55; line-height: 1.6; margin-top: 14px; }
.vp-section { margin-top: 26px; }
.vp-section h2 { font-size: 1.05rem; margin: 0 0 10px; }
.vp-section details { border-top: 1px solid rgba(125,134,160,.15); padding: 10px 0; }
.vp-section summary { cursor: pointer; font-weight: 600; font-size: 0.92rem; }
.vp-section details p { margin: 8px 0 0; font-size: 0.88rem; opacity: 0.8; line-height: 1.6; }

@media (max-width: 640px) {
  .vp-row { grid-template-columns: 74px 1fr 58px; font-size: 0.68rem; }
  .vp-head h1 { font-size: 1.2rem; }
}
