* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: #0f172a;
    color: #e2e8f0;
    font-family: 'Malgun Gothic', monospace;
    font-size: 12px;
}
.ob-Block {
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    border: 1px solid #2a3458;
    border-radius: 4px;
    background: #1a1f3a;
}
#ob-container {
    display: flex;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    gap: 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}

#ob-wrap {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: 635px;
    border: 1px solid #2a3458;
    background: #040b1b;
}

.ob-header {
    padding: 8px 10px;
    border-bottom: 1px solid #2a3458;
    background: #1a1f3a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.ob-market {
    font-size: 16px;
    font-weight: 800;
    color: #ffe000;
}
.ob-korean {
    font-size: 11px;
    color: #94a3b8;
    margin-left: 10px;
    border-left: 1px solid #5c606e;
    padding-left: 10px;
}
.ob-header-left {
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.ob-price { font-size: 14px; color: #e2e8f0; font-weight: bold; }

.ob-strength {
    padding: 10px 10px;
    border-bottom: 1px solid #2a3458;
    background: #0e1521;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    font-size: 11px;
}
.ob-strength-label { color: #475569; }
.ob-strength-value { font-weight: bold; }
.ob-strength-value.up   { color: #22c55e; }
.ob-strength-value.dn   { color: #ef4444; }
.ob-strength-value.flat { color: #475569; }

.ob-section {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}
.ob-section::-webkit-scrollbar { width: 3px; }
.ob-section::-webkit-scrollbar-track { background: #0f172a; }
.ob-section::-webkit-scrollbar-thumb { background: #2a3458; }

#ask-section {
    display: flex;
    flex-direction: column-reverse;
}

.ob-row {
    display: flex;
    align-items: center;
    height: 22px;
    border-bottom: 1px solid #0e1521;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.ob-bar {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    opacity: 0.18;
}
#ask-section .ob-bar { background: #ef4444; }
#bid-section .ob-bar { background: #22c55e; }

.ob-price-cell {
    width: 110px;
    text-align: right;
    padding-right: 10px;
    position: relative;
    z-index: 1;
    color: #cbd5e1;
    flex-shrink: 0;
}
.ob-rate-cell {
    width: 56px;
    text-align: right;
    padding-right: 8px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    font-size: 11px;
}
.ob-rate-cell.up   { color: #22c55e; }
.ob-rate-cell.dn   { color: #ef4444; }
.ob-rate-cell.flat { color: #475569; }

.ob-size-cell {
    flex: 1;
    text-align: right;
    padding-right: 8px;
    position: relative;
    z-index: 1;
    color: #64748b;
}

.ob-divider {
    height: 28px;
    background: #1a1f3a;
    border-top: 1px solid #2a3458;
    border-bottom: 1px solid #2a3458;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
}
.ob-divider-price { 
    font-size: 13px; 
    color: #91c1ff; 
    font-weight: bold; 
}
.ob-divider-label { 
    font-size: 10px; 
    color: #475569; 
}

/* 우측 정보 패널 */
#ob-info {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: 635px;
    border: 1px solid #2a3458;
    border-left: none;
    background: #040b1b;
    overflow-y: auto;
}

.info-header {
    height: 38px;
    line-height: 38px;
    padding: 0px 20px;
    border-bottom: 1px solid #2a3458;
    background: #1a1f3a;
    font-size: 12px;
    color: #94a3b8;
    flex-shrink: 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 10px;
    border-bottom: 1px solid #0e1521;
    font-size: 13px;
}
.info-label { 
    color: #475569; 
}
.info-value { 
    color: #e2e8f0; 
    text-align: right; 
}
.info-value.up { 
    color: #22c55e; 
}
.info-value.dn { 
    color: #ef4444; 
}

.info-divider {
    height: 1px;
    background: #2a3458;
}