:root {
    --dark-bg: #0f172a; 
    --dark-card-bg: #1a1f3a; 
    --dark-card-border: #5d6488;
    --accent-blue: #818cf8; 
    --accent-purple: #c084fc; 
    --accent-green: #00ff88; 
    --accent-red: #ff3e3e;
    --text-primary: #f8fafc; 
    --text-secondary: #cbd5e1; 
    --span-bg: #4f46e5;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: #0f172a;
    color: #e2e8f0;
    font-family: 'Malgun Gothic', sans-serif;
    min-height: 100vh;
}

.Menu_Title {
    display: flex;
    background: #040b1b;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-bottom: 1px solid #5d6488;
}
.Menu_Img {
    display: flex;
    align-items: center;
    
}
.Menu_Img img {
    height: 50px;
    margin-right: 10px;
}
.Menu_Name {
    display: flex;
    
    align-items: flex-start;
    font-size: 18px;
    font-weight: bold;
}

/* ===== 헤더 ===== */
h1 {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 1px solid #5d6488;
    background: #09173a;
    padding: 10px;
    margin: 0px 0px 10px 0px;
}

h1 img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
h1 span {
    font-size: 16px;
    font-weight: bold;
}
h1 label {
    font-size: 13px;
    font-weight: normal;
    color: #94a3b8;
}
.em-content-area { 
    position: relative; 
    z-index: 10; 
    padding: 10px;
    margin-bottom: 55px;
}
.em-dashboard { 
    background: var(--dark-card-bg); 
    backdrop-filter: blur(15px); 
    border: 1px solid var(--dark-card-border); 
    border-radius: 5px; 
    padding: 10px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
}
.em-header-grid { 
    justify-content: space-between; 
    align-items: flex-end; 
    border-bottom: 1px solid var(--dark-card-border); 
    padding-bottom: 10px; 
}
.Title_Coin {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0px 0px 5px 10px;
}
.Title_Coin img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.Coin_Name_Container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    margin-top: -7px;
}
.Title_Coin_Name {
    font-size: 12px;
    color: #94a3b8;
    padding-left: 10px;
    margin-left: 10px;
    border-left: 2px solid #72799e;
}
.em-live-value { 
    border: 1px solid var(--dark-card-border); 
    background: #040b1b;
    border-radius: 4px;
    font-size: 35px; 
    font-weight: 800; 
    letter-spacing: -2px; 
    line-height: 1; 
    padding: 20px 30px;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.em-comparison-box { 
    margin: 15px 0; 
    padding: 20px 20px 10px 20px; 
    border-radius: 5px; 
    background: #040b1b; 
    border: 1px solid var(--dark-card-border); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center; 
}

.Total_Volume { 
    display:flex; 
    justify-content:center; 
    align-items:center; 
    gap:40px; 
    margin-top: 15px;
}
.Volume_Arrow {
    font-size:50px; 
    transition:0.5s;
    margin-right: -20px;
}
.Volume_Data {
    font-size:30px; 
    font-weight:900; 
    font-family:'JetBrains Mono';
}
.Volume_Ratio {
    font-size:24px; 
    font-weight:800;
}

.em-strength-meter { 
    width: 100%; 
    height: 30px; 
    background: rgba(255,255,255,0.05); 
    border-radius: 4px; 
    margin: 30px auto 10px; 
    position: relative; 
    overflow: hidden; 
    border: 1px solid var(--dark-card-border); 
}
.em-strength-fill { 
    position: absolute; 
    top: 0; 
    height: 100%; 
    transition: 1s cubic-bezier(0.4,0,0.2,1); 
    width: 0%; left: 50%; 
}
.em-stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 20px; 
    margin-top: 20px; 
}
.em-stat-item { 
    background: #061329; 
    border: 1px solid var(--dark-card-border); 
    padding: 25px; 
    border-radius: 5px; 
    transition: 0.3s; 
}
.em-stat-label { font-size: 11px; color: var(--text-secondary); font-weight: 800; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.em-stat-value { font-family: 'JetBrains Mono'; font-size: 22px; font-weight: 700; color: #fff; }

#sync_time {
    font-size: 12px; 
    color: var(--text-secondary); 
    text-align: center; 
    margin-top: 10px;
}