/* My Tab Styles - v3 Redesign */

/* 히어로 영역 */
.my-hero {
    padding: 16px 16px 0;
}

.my-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.my-profile-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.my-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), #0088bb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #0a0c10;
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.12), 0 0 0 2px rgba(0, 212, 255, 0.15);
}

.my-profile-info {
    display: flex;
    flex-direction: column;
}

.my-profile-name {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.my-profile-email {
    font-size: 12px;
    color: #ffffff;
    letter-spacing: -0.1px;
}

.my-settings-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-settings-btn .material-icons-round {
    font-size: 18px;
    color: var(--text-muted);
}

/* 통합 글로우 박스 */
.my-glow-box {
    border-radius: 16px;
    padding: 16px 18px;
    background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    margin-bottom: 12px;
}

.my-glow-row {
    display: flex;
    align-items: center;
}

.my-glow-item {
    flex: 1;
}

.my-glow-item.trades {
    flex: 1.2;
}

.my-glow-label {
    font-size: 10px;
    color: #9aa0b0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.my-glow-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 12px;
}

.my-mode-value {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.my-mode-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.my-mode-dot.demo {
    background: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
}

.my-mode-dot.live {
    background: var(--buy-color);
    box-shadow: 0 0 6px var(--buy-color);
}

.my-mode-text {
    font-size: 15px;
    font-weight: 700;
}

.my-mode-text.demo {
    color: var(--accent-cyan);
}

.my-mode-text.live {
    color: var(--buy-color);
}

.my-mode-switch {
    font-size: 12px;
    color: var(--text-dim);
}

.my-trades-value {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.my-trades-count {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Consolas', 'SF Mono', monospace;
}

.my-trades-sep {
    font-size: 10px;
    color: var(--text-dim);
}

.my-trades-lots {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'Consolas', 'SF Mono', monospace;
}

.my-trades-lots-unit {
    font-size: 10px;
    font-weight: 400;
}

.my-grade-text {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

/* 프로그레스 바 */
.my-progress-row {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.my-progress-bar {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
}

.my-progress-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), #7dd3fc);
    transition: width 0.5s ease;
}

.my-progress-text {
    font-size: 10px;
    color: #ffffff;
    font-family: 'Consolas', 'SF Mono', monospace;
    white-space: nowrap;
}

.my-grade-notice {
    text-align: center;
    font-size: 10px;
    color: var(--text-muted);
    padding: 4px 0 0;
    opacity: 0.7;
}

/* 경고 배너 */
.my-warning-banner {
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.my-warning-banner .material-icons-round {
    font-size: 15px;
    color: #f59e0b;
}

.my-warning-text {
    font-size: 12px;
    color: #f59e0b;
    font-weight: 500;
    flex: 1;
}

.my-warning-action {
    font-size: 11px;
    color: #f59e0b;
    font-weight: 600;
    cursor: pointer;
}

/* 메인 메뉴 카드 */
.my-menu-section {
    padding: 12px 16px 100px;
}

.my-menu-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    cursor: pointer;
    margin-bottom: 6px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s, background 0.15s;
}

.my-menu-card:active {
    background: rgba(255, 255, 255, 0.05);
}

.my-menu-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.my-menu-left .material-icons-round {
    font-size: 20px;
    color: var(--accent-cyan);
}

.my-menu-label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--text-primary);
}

.my-menu-arrow {
    font-size: 18px;
    color: var(--text-dim);
}

/* 로그아웃 카드 */
.my-menu-card.logout {
    background: transparent;
    margin-top: 6px;
    border-color: rgba(220, 50, 70, 0.25);
}

.my-menu-card.logout .material-icons-round {
    color: var(--sell-color);
}

.my-menu-card.logout .my-menu-label {
    color: var(--sell-color);
}

.my-menu-card.logout .my-menu-arrow {
    color: var(--sell-color);
}

/* 하단 정보 */
.my-footer {
    text-align: center;
    padding-top: 24px;
}

.my-footer-version {
    font-size: 10px;
    color: var(--text-dim);
}

.my-footer-copy {
    font-size: 9px;
    color: #3a4050;
    margin-top: 2px;
}

/* 설정 모달 */
.my-settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.my-settings-overlay.show {
    display: flex;
}

.my-settings-modal {
    width: 100%;
    max-width: 360px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 24px;
}

.my-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.my-settings-title {
    font-size: 17px;
    font-weight: 600;
}

.my-settings-close {
    cursor: pointer;
    color: var(--text-muted);
}

.my-settings-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.my-settings-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.my-settings-input-row input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    font-family: inherit;
}

.my-settings-input-row .edit-btn {
    cursor: pointer;
    color: var(--accent-cyan);
}

.my-settings-noti-list {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.my-settings-noti-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
}

.my-settings-noti-item:last-child {
    border-bottom: none;
}

.my-settings-noti-label {
    font-size: 13px;
    font-weight: 500;
}

/* 토글 스위치 */
.my-toggle {
    width: 42px;
    height: 22px;
    border-radius: 11px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.my-toggle.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.my-toggle-knob {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.25s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.my-toggle.active .my-toggle-knob {
    left: 22px;
}

/* 모드 전환 모달 */
.my-mode-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
}

.my-mode-overlay.show {
    display: flex;
}

.my-mode-modal {
    width: 100%;
    max-width: 320px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 24px;
    text-align: center;
}

.my-mode-emoji {
    font-size: 36px;
    margin-bottom: 12px;
}

.my-mode-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.my-mode-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    white-space: pre-line;
}

.my-mode-confirm-btn {
    padding: 13px 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    text-align: center;
    border: none;
    width: 100%;
    color: #fff;
}

.my-mode-confirm-btn.to-live {
    background: var(--buy-color);
}

.my-mode-confirm-btn.to-demo {
    background: var(--accent-cyan);
    color: #0a0c10;
}

.my-mode-cancel-btn {
    padding: 13px 0;
    background: var(--bg-secondary);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    border: none;
    width: 100%;
}

/* ========================================
   서브페이지 네비게이션 시스템
   ======================================== */

/* 뷰 시스템 */
.my-view {
    display: none;
    position: relative;
    height: 100%;
}

.my-view.active {
    display: block;
    height: 100%;
    animation: mySlideIn 0.2s ease-out;
}

.my-view.slide-back {
    animation: mySlideBack 0.2s ease-out;
}

@keyframes mySlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes mySlideBack {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* 서브페이지 헤더 */
.my-sub-header {
    display: flex;
    align-items: center;
    padding: 14px 16px 18px;
    gap: 12px;
}

.my-back-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
}

.my-back-btn .material-icons-round {
    font-size: 20px;
    color: var(--text-muted);
}

.my-sub-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* 서브페이지 본문 */
.my-sub-body {
    padding: 0 16px 100px;
}

/* 서브 메뉴 카드 컨테이너 */
.my-sub-card {
    background: var(--bg-tertiary);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

/* 서브 메뉴 아이템 */
.my-sub-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s;
}

.my-sub-item:active {
    background: rgba(255, 255, 255, 0.03);
}

.my-sub-item.last {
    border-bottom: none;
}

.my-sub-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.my-sub-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-sub-icon-box .material-icons-round {
    font-size: 16px;
    color: var(--accent-cyan);
}

.my-sub-item-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.my-sub-item-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.my-sub-item-hint {
    font-size: 12px;
    color: var(--text-dim);
}

.my-sub-item-arrow {
    font-size: 16px;
    color: var(--text-dim);
}

/* ========================================
   상세 페이지 공통 스타일
   ======================================== */

.my-detail-section {
    background: var(--bg-secondary);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 16px;
    margin-bottom: 16px;
}

.my-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

/* 폼 스타일 */
.my-form-group {
    margin-bottom: 16px;
}

.my-form-group:last-child {
    margin-bottom: 0;
}

.my-form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.my-form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.my-form-input {
    width: 100%;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0 40px 0 14px;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s;
}

.my-form-input:focus {
    border-color: var(--accent-cyan);
}

.my-form-input::placeholder {
    color: var(--text-muted);
}

.my-form-toggle-pw {
    position: absolute;
    right: 12px;
    cursor: pointer;
    color: var(--text-dim);
}

.my-form-toggle-pw .material-icons-round {
    font-size: 18px;
}

.my-form-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* 액션 버튼 */
.my-action-btn {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.my-action-btn:last-child {
    margin-bottom: 0;
}

.my-action-btn.primary {
    background: var(--accent-cyan);
    color: #000;
}

.my-action-btn.primary:active {
    background: #00c8dc;
}

.my-action-btn.secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.my-action-btn.secondary:active {
    background: var(--bg-tertiary);
}

.my-action-btn.danger {
    background: rgba(239, 83, 80, 0.15);
    color: var(--sell-color);
    border: 1px solid var(--sell-color);
}

.my-action-btn.danger:active {
    background: rgba(239, 83, 80, 0.25);
}

/* 이메일 인증 스타일 */
.my-email-status {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.my-email-status > .material-icons-round {
    font-size: 36px;
    color: var(--accent-cyan);
}

.my-email-status-text {
    flex: 1;
}

.my-email-addr {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.my-email-state {
    font-size: 12px;
    font-weight: 500;
}

.my-email-state.unverified {
    color: var(--sell-color);
}

.my-email-state.verified {
    color: var(--buy-color);
}

.my-email-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}

.my-email-code-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
}

.my-email-code-input {
    width: 42px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    outline: none;
}

.my-email-code-input:focus {
    border-color: var(--accent-cyan);
}

.my-email-timer {
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 12px;
}

.my-email-timer span {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* MT5 계정 관리 스타일 */
.my-mt5-status-card {
    text-align: center;
}

.my-mt5-status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.my-mt5-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(38, 166, 154, 0.2);
    color: var(--buy-color);
}

.my-mt5-badge.disconnected {
    background: rgba(239, 83, 80, 0.15);
    color: var(--sell-color);
}

.my-mt5-mode {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 230, 255, 0.15);
    color: var(--accent-cyan);
}

.my-mt5-mode.live {
    background: rgba(239, 83, 80, 0.15);
    color: var(--sell-color);
}

.my-mt5-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.my-mt5-info-item {
    background: var(--bg-tertiary);
    border-radius: 10px;
    padding: 12px;
    text-align: left;
}

.my-mt5-info-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.my-mt5-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.my-mt5-switch-row {
    display: flex;
    gap: 10px;
}

.my-mt5-switch-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.my-mt5-switch-item .material-icons-round {
    font-size: 24px;
    color: var(--text-dim);
}

.my-mt5-switch-item span:last-child {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
}

.my-mt5-switch-item.active {
    border-color: var(--accent-cyan);
    background: rgba(0, 230, 255, 0.08);
}

.my-mt5-switch-item.active .material-icons-round,
.my-mt5-switch-item.active span:last-child {
    color: var(--accent-cyan);
}

/* 로그인 기록 스타일 */
.my-login-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.my-login-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.my-login-history-item.current {
    border: 1px solid var(--accent-cyan);
    background: rgba(0, 230, 255, 0.05);
}

.my-login-history-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-login-history-icon .material-icons-round {
    font-size: 20px;
    color: var(--text-dim);
}

.my-login-history-item.current .my-login-history-icon .material-icons-round {
    color: var(--accent-cyan);
}

.my-login-history-info {
    flex: 1;
}

.my-login-history-device {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.my-login-current-badge {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--accent-cyan);
    color: #000;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

.my-login-history-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   입출금 상세 페이지
   ======================================== */

/* 잔고 히어로 카드 */
.my-deposit-hero {
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
}

.my-deposit-hero.demo {
    background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
    border: 1px solid rgba(0, 212, 255, 0.25);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.12);
}

.my-deposit-hero.live {
    background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
    border: none;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent) 1;
    box-shadow: none;
    padding: 20px;
}

.my-deposit-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.my-deposit-broker-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.my-deposit-broker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--buy-color);
    box-shadow: 0 0 6px var(--buy-color);
}

.my-deposit-broker-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--buy-color);
}

.my-deposit-account-num {
    font-size: 11px;
    color: var(--text-dim);
    font-family: 'Consolas', 'SF Mono', monospace;
}

.my-deposit-hero-label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.my-deposit-hero-amount {
    font-size: 34px;
    font-weight: 700;
    font-family: 'Consolas', 'SF Mono', monospace;
    margin-top: 4px;
    color: var(--text-primary);
}

.my-deposit-hero-amount.live {
    font-size: 32px;
}

.my-deposit-hero-sub {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 4px;
}

.my-deposit-hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 10px;
}

.my-deposit-stat-label {
    font-size: 10px;
    color: var(--text-dim);
}

.my-deposit-stat-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Consolas', 'SF Mono', monospace;
}

.my-deposit-stat-value.cyan {
    color: var(--accent-cyan);
}

/* 금액 선택 그리드 */
.my-deposit-amount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.my-deposit-amount-btn {
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'Consolas', 'SF Mono', monospace;
    cursor: pointer;
    transition: all 0.2s;
}

.my-deposit-amount-btn.selected {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent-cyan);
}

.my-deposit-amount-btn:active {
    transform: scale(0.97);
}

/* 안내 문구 */
.my-deposit-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 14px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 10px;
    font-size: 11px;
    color: var(--text-muted);
}

/* 입금/출금 가이드 카드 */
.my-deposit-guide-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.my-deposit-guide-card {
    flex: 1;
    padding: 16px 12px;
    background: var(--bg-tertiary);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
}

.my-deposit-guide-card:active {
    background: rgba(255, 255, 255, 0.03);
}

.my-deposit-guide-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.my-deposit-guide-icon.deposit {
    background: rgba(0, 180, 80, 0.1);
}

.my-deposit-guide-icon.deposit .material-icons-round {
    font-size: 20px;
    color: var(--buy-color);
}

.my-deposit-guide-icon.withdraw {
    background: rgba(168, 85, 247, 0.1);
}

.my-deposit-guide-icon.withdraw .material-icons-round {
    font-size: 20px;
    color: #a855f7;
}

.my-deposit-guide-label {
    font-size: 13px;
    font-weight: 600;
}

/* 입출금 내역 */
.my-deposit-history-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.my-deposit-history-item {
    background: var(--bg-tertiary);
    border-radius: 10px;
    padding: 11px 14px;
    border: 1px solid var(--border-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.my-deposit-history-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.my-deposit-history-type {
    font-size: 13px;
    font-weight: 600;
}

.my-deposit-history-meta {
    font-size: 10px;
    color: var(--text-dim);
}

.my-deposit-history-amount {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Consolas', 'SF Mono', monospace;
}

.my-deposit-history-amount.positive {
    color: var(--buy-color);
}

.my-deposit-history-amount.negative {
    color: var(--sell-color);
}

/* ========================================
   친구 초대
   ======================================== */
.my-invite-hero {
    text-align: center;
    padding: 24px 0 20px;
}

.my-invite-icon-area {
    position: relative;
    display: inline-flex;
    margin-bottom: 14px;
}

.my-invite-person {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-invite-person .material-icons-round {
    font-size: 44px;
    color: var(--text-muted);
}

.my-invite-plus {
    position: absolute;
    bottom: -2px;
    right: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-invite-plus .material-icons-round {
    font-size: 14px;
    color: #0a0c10;
}

.my-invite-hero-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
}

.my-invite-hero-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.my-invite-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.my-invite-code {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    font-family: 'Consolas', 'SF Mono', monospace;
}

.my-invite-copy-btn {
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    transition: color 0.2s;
}

.my-invite-copy-btn:active {
    color: var(--accent-cyan);
}

/* 보상 안내 */
.my-invite-reward-section {
    margin-top: 20px;
}

.my-invite-reward-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.my-invite-reward-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.my-invite-reward-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 14px 8px;
    text-align: center;
}

.my-invite-reward-label {
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 6px;
}

.my-invite-reward-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Consolas', 'SF Mono', monospace;
    margin-top: 2px;
}

/* 초대 현황 */
.my-invite-stats-section {
    margin-top: 20px;
}

.my-invite-stats-row {
    display: flex;
    gap: 8px;
}

.my-invite-stat-box {
    flex: 1;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 14px 8px;
    text-align: center;
}

.my-invite-stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Consolas', 'SF Mono', monospace;
}

.my-invite-stat-num.success {
    color: var(--buy-color);
}

.my-invite-stat-num.cyan {
    color: var(--accent-cyan);
}

.my-invite-stat-label {
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ========================================
   VIP 프로그램
   ======================================== */
.my-vip-current {
    background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: 18px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 28px 20px 24px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.my-vip-current::before {
    content: '';
    position: absolute;
    top: -40px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 120px;
    background: radial-gradient(ellipse, var(--vip-glow-color, rgba(156,163,175,0.06)) 0%, transparent 70%);
    pointer-events: none;
}

.my-vip-current-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    position: relative;
}
.my-vip-current-badge::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px dashed var(--vip-badge-border, rgba(156,163,175,0.2));
    animation: vipBadgeRotate 20s linear infinite;
}
@keyframes vipBadgeRotate {
    to { transform: rotate(360deg); }
}

.my-vip-badge-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--vip-badge-border, rgba(156,163,175,0.25));
    animation: vipBadgeRotate 25s linear infinite;
}
.my-vip-badge-ring::before {
    content: '';
    position: absolute;
    top: 0px; left: 50%; transform: translateX(-50%);
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--vip-badge-border, rgba(156,163,175,0.5));
    box-shadow: 0 0 4px var(--vip-badge-border, rgba(156,163,175,0.3));
}
@keyframes vipBadgeRotate { to { transform: rotate(360deg); } }

.my-vip-badge-icon {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--vip-badge-bg, rgba(156,163,175,0.1)), var(--vip-badge-bg2, rgba(156,163,175,0.03)));
    border: 1.5px solid var(--vip-badge-border, rgba(156,163,175,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-vip-current-badge .material-icons-round {
    font-size: 28px;
    color: var(--accent-cyan);
    position: relative;
    z-index: 1;
}

.my-vip-current-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--vip-tag-color, var(--accent-cyan));
    margin-bottom: 2px;
}

.my-vip-current-grade {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.my-vip-current-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.my-vip-progress-wrap {
    max-width: 260px;
    margin: 0 auto;
}

.my-vip-progress-bar {
    height: 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
    position: relative;
}

.my-vip-progress-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), #7dd3fc);
    transition: width 0.5s ease;
    position: relative;
}
.my-vip-progress-fill::after {
    content: '';
    position: absolute;
    right: -3px; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 6px rgba(0,212,255,0.4);
}

.my-vip-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 10px;
    color: var(--text-dim);
}

/* 등급 리스트 */
.my-vip-tier-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.my-vip-tier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.my-vip-tier.active {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.04);
}

.my-vip-tier-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.my-vip-tier-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-vip-tier-badge .material-icons-round {
    font-size: 16px;
}

.my-vip-tier-badge.standard {
    background: rgba(156, 163, 175, 0.15);
}
.my-vip-tier-badge.standard .material-icons-round {
    color: #9ca3af;
}

.my-vip-tier-badge.silver {
    background: rgba(192, 192, 210, 0.15);
}
.my-vip-tier-badge.silver .material-icons-round {
    color: #c0c0d2;
}

.my-vip-tier-badge.gold {
    background: rgba(255, 215, 0, 0.12);
}
.my-vip-tier-badge.gold .material-icons-round {
    color: #ffd700;
}

.my-vip-tier-badge.platinum {
    background: rgba(168, 85, 247, 0.12);
}
.my-vip-tier-badge.platinum .material-icons-round {
    color: #a855f7;
}

/* Pro 뱃지 */
.my-vip-tier-badge.pro {
    background: rgba(0, 212, 255, 0.12);
}
.my-vip-tier-badge.pro .material-icons-round {
    color: #00d4ff;
}

/* VIP 뱃지 (오렌지) */
.my-vip-tier-badge.vip {
    background: rgba(249, 115, 22, 0.12);
}
.my-vip-tier-badge.vip .material-icons-round {
    color: #f97316;
}

/* 거래 현황 카드 */
.my-vip-stats-card {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 16px 12px;
}

.my-vip-stat-item {
    flex: 1;
    text-align: center;
}

.my-vip-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.my-vip-stat-label {
    font-size: 10px;
    color: var(--text-dim);
}

.my-vip-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

/* VIP 안내 */
.my-vip-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 14px;
    background: rgba(0, 212, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

.my-vip-notice .material-icons-round {
    font-size: 16px;
    color: var(--accent-cyan);
    flex-shrink: 0;
    margin-top: 1px;
}

/* 등급 달성 체크 */
.my-vip-tier-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--buy-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}

.my-vip-tier-name {
    font-size: 14px;
    font-weight: 600;
}

.my-vip-tier-req {
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 1px;
}

.my-vip-tier-benefit {
    font-size: 11px;
    color: var(--text-muted);
}

/* 등급별 상세 혜택 카드 */
.my-vip-benefit-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.my-vip-benefit-card {
    background: var(--bg-tertiary);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.my-vip-benefit-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
}

.my-vip-benefit-header .material-icons-round {
    font-size: 18px;
}

.my-vip-benefit-header.standard {
    background: rgba(158, 158, 158, 0.08);
    color: #9e9e9e;
}

.my-vip-benefit-header.pro {
    background: rgba(0, 212, 255, 0.08);
    color: #00d4ff;
}

.my-vip-benefit-header.vip {
    background: rgba(249, 115, 22, 0.08);
    color: #f97316;
}

.my-vip-benefit-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    margin-left: auto;
}

.my-vip-benefit-list {
    padding: 10px 16px 14px;
    margin: 0;
    list-style: none;
}

.my-vip-benefit-list li {
    position: relative;
    padding: 5px 0 5px 16px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.my-vip-benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--buy-color);
    font-size: 11px;
    font-weight: 700;
}

.my-vip-benefit-list li strong {
    color: #fff;
}

/* 셀퍼럴 안내 카드 */
.my-vip-info-card {
    background: var(--bg-tertiary);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 4px 0;
}

.my-vip-info-row {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

.my-vip-info-row.last {
    border-bottom: none;
}

.my-vip-info-row .material-icons-round {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.my-vip-info-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.my-vip-info-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* VIP 비교표 스타일 */
.my-vip-my-grade {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.my-vip-my-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(156, 163, 175, 0.15);
}

.my-vip-my-badge .material-icons-round {
    font-size: 20px;
    color: #9ca3af;
}

.my-vip-my-name {
    font-size: 18px;
    font-weight: 700;
}

.my-vip-my-lots {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: auto;
}

.my-vip-table {
    background: var(--bg-tertiary);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 16px;
}

.my-vip-table-row {
    display: flex;
}

.my-vip-table-row.header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

.my-vip-table-row:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.my-vip-th {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.my-vip-th-label {
    width: 80px;
    flex-shrink: 0;
    text-align: left;
    padding-left: 14px;
    color: var(--text-muted);
}





.my-vip-th-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.my-vip-th-badge .material-icons-round {
    font-size: 14px;
}

.my-vip-th-badge.standard {
    background: rgba(156, 163, 175, 0.15);
}
.my-vip-th-badge.standard .material-icons-round {
    color: #9ca3af;
}

.my-vip-th-badge.pro {
    background: rgba(0, 212, 255, 0.15);
}
.my-vip-th-badge.pro .material-icons-round {
    color: #00d4ff;
}

.my-vip-th-badge.vip {
    background: rgba(249, 115, 22, 0.15);
}
.my-vip-th-badge.vip .material-icons-round {
    color: #f97316;
}

.my-vip-th-name {
    font-size: 11px;
    font-weight: 600;
    display: block;
}

.my-vip-td {
    flex: 1;
    padding: 10px 8px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-vip-td-label {
    width: 80px;
    flex-shrink: 0;
    text-align: left;
    padding-left: 14px;
    font-size: 11px;
    color: var(--text-dim);
}



.my-vip-check {
    color: var(--buy-color);
    font-size: 16px;
}

.my-vip-dash {
    color: var(--text-dim);
}

.my-vip-highlight {
    color: #fff;
    font-weight: 600;
}

/* 셀퍼럴 안내 박스 */
.my-vip-info-box {
    background: var(--bg-tertiary);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    margin-bottom: 16px;
}

.my-vip-info-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.my-vip-info-header .material-icons-round {
    font-size: 16px;
    color: var(--accent-cyan);
}

.my-vip-info-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   알림 설정
   ======================================== */
.my-noti-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.my-noti-item.last {
    border-bottom: none;
}

.my-noti-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.my-noti-desc {
    font-size: 10px;
    color: var(--text-dim);
}

/* ========================================
   라디오 선택 (언어 등)
   ======================================== */
.my-radio-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.my-radio-item.last {
    border-bottom: none;
}

.my-radio-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.my-radio-label {
    font-size: 14px;
    font-weight: 500;
}

.my-radio-check {
    opacity: 0;
    color: var(--accent-cyan);
    transition: opacity 0.2s;
}

.my-radio-item.selected .my-radio-check {
    opacity: 1;
}

.my-radio-item.selected .my-radio-label {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* ========================================
   테마 선택
   ======================================== */
.my-theme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.my-theme-card {
    background: var(--bg-tertiary);
    border-radius: 14px;
    border: 2px solid var(--border-color);
    padding: 12px;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: border-color 0.2s;
}

.my-theme-card.selected {
    border-color: var(--accent-cyan);
}

.my-theme-preview {
    border-radius: 8px;
    height: 80px;
    margin-bottom: 10px;
    overflow: hidden;
}

.my-theme-preview.dark {
    background: #0a0c10;
}

.my-theme-preview.light {
    background: #f3f4f6;
}

.my-theme-preview-bar {
    height: 12px;
}

.my-theme-preview.dark .my-theme-preview-bar {
    background: #1a1d23;
}

.my-theme-preview.light .my-theme-preview-bar {
    background: #e5e7eb;
}

.my-theme-preview-content {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.my-theme-preview-line {
    height: 4px;
    border-radius: 2px;
}

.my-theme-preview.dark .my-theme-preview-line {
    background: #25282f;
}

.my-theme-preview.light .my-theme-preview-line {
    background: #d1d5db;
}

.my-theme-preview-line.w60 { width: 60%; }
.my-theme-preview-line.w40 { width: 40%; }
.my-theme-preview-line.w80 { width: 80%; }

.my-theme-label {
    font-size: 13px;
    font-weight: 600;
}

.my-theme-check {
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.my-theme-check .material-icons-round {
    font-size: 18px;
    color: var(--accent-cyan);
}

.my-theme-card.selected .my-theme-check {
    opacity: 1;
}

/* ========================================
   고객센터
   ======================================== */
.my-support-hero {
    text-align: center;
    padding: 20px 0 20px;
}

/* ========================================
   앱 정보
   ======================================== */
.my-app-info-hero {
    text-align: center;
    padding: 24px 0 20px;
}

.my-app-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.my-app-name {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}

.my-app-version {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.my-app-build {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 2px;
    font-family: 'Consolas', 'SF Mono', monospace;
}

.my-app-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-color);
}

.my-app-info-row.last {
    border-bottom: none;
}

.my-app-info-label {
    font-size: 13px;
    color: var(--text-muted);
}

.my-app-info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.my-app-info-value.mono {
    font-family: 'Consolas', 'SF Mono', monospace;
}

/* ========================================
   탭 바 (공지사항 & FAQ)
   ======================================== */
.my-tab-bar {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.my-tab-item {
    flex: 1;
    text-align: center;
    padding: 13px 0;
    cursor: pointer;
    position: relative;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.my-tab-item.active {
    font-weight: 600;
    color: var(--text-primary);
}

.my-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--accent-cyan);
}

/* 공지사항 리스트 */
.my-notice-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.my-notice-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.my-notice-type {
    font-size: 11px;
    color: var(--text-dim);
}

.my-notice-new {
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--accent-cyan);
    color: #0a0c10;
    font-weight: 700;
}

.my-notice-date {
    font-size: 11px;
    color: var(--text-dim);
    margin-left: auto;
    font-family: 'Consolas', 'SF Mono', monospace;
}

.my-notice-title {
    font-size: 14px;
    font-weight: 500;
}

/* 공지사항 상세 */
.my-notice-detail-meta {
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.my-notice-detail-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
}

.my-notice-detail-body {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    white-space: pre-line;
}

/* FAQ 아코디언 */
.my-faq-item {
    border-bottom: 1px solid var(--border-color);
}

.my-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
}

.my-faq-arrow {
    font-size: 18px;
    color: var(--text-dim);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.my-faq-item.open .my-faq-arrow {
    transform: rotate(180deg);
}

.my-faq-a {
    display: none;
    padding-bottom: 14px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.my-faq-item.open .my-faq-a {
    display: block;
}

/* 1:1 문의 카드 */
.my-contact-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 15px 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.15s;
}

.my-contact-card:active {
    background: rgba(255, 255, 255, 0.03);
}

.my-contact-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.my-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-contact-icon .material-icons-round {
    font-size: 18px;
}

.my-contact-label {
    font-size: 13px;
    font-weight: 600;
}

.my-contact-value {
    font-size: 12px;
    margin-top: 2px;
    font-family: 'Consolas', 'SF Mono', monospace;
}

/* 약관 상세 */
.my-terms-detail-body {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.9;
    white-space: pre-line;
}

/* 앱 로고 (이미지 매칭 - [TX] + Trading-X) */
.my-app-logo-box {
    width: 38px;
    height: 30px;
    border-radius: 7px;
    border: 2px solid rgba(0, 212, 255, 0.6);
    background: rgba(0, 212, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

.my-app-logo-text {
    font-size: 16px;
    font-weight: 800;
    color: #e8eaed;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.my-app-subtitle {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 3px;
    font-weight: 500;
}

/* 오픈소스 라이선스 아이템 (한 줄 레이아웃) */
.my-oss-item {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 4px;
    gap: 6px;
}

.my-oss-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.my-oss-meta {
    font-size: 11px;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.my-oss-license {
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ========================================
   체결 알림 이력
   ======================================== */
.my-tr-alert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.my-tr-alert-item.last {
    border-bottom: none;
}

.my-tr-alert-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.my-tr-alert-icon .material-icons-round {
    font-size: 16px;
}

.my-tr-alert-icon.buy {
    background: rgba(0, 180, 80, 0.1);
}
.my-tr-alert-icon.buy .material-icons-round {
    color: var(--buy-color);
}

.my-tr-alert-icon.sell {
    background: rgba(168, 85, 247, 0.1);
}
.my-tr-alert-icon.sell .material-icons-round {
    color: #a855f7;
}

.my-tr-alert-icon.deposit {
    background: rgba(0, 212, 255, 0.08);
}
.my-tr-alert-icon.deposit .material-icons-round {
    color: var(--accent-cyan);
}

.my-tr-alert-content {
    flex: 1;
    min-width: 0;
}

.my-tr-alert-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.my-tr-alert-desc {
    font-size: 11px;
    color: var(--text-dim);
}

.my-tr-alert-time {
    font-size: 11px;
    color: var(--text-dim);
    font-family: 'Consolas', 'SF Mono', monospace;
    flex-shrink: 0;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* ========== MT5 계정 관리 리디자인 ========== */
.my-mt5-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}
.my-mt5-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}
.my-mt5-mode-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.my-mt5-mode-btn {
    flex: 1;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    color: var(--text-secondary);
}
.my-mt5-mode-btn.active {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.06);
}
.my-mt5-mode-btn.live-active {
    border-color: var(--buy-color);
    background: rgba(0, 200, 83, 0.06);
}
.my-mt5-mode-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}
.my-mt5-mode-desc {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}
.my-mt5-mode-check {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: #00d4ff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
.my-mt5-mode-btn.live-active .my-mt5-mode-check {
    background: var(--buy-color);
}
.my-mt5-mode-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 8px 12px;
}
.my-mt5-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.my-mt5-status-dot.demo {
    background: #00d4ff;
}
.my-mt5-status-dot.live {
    background: var(--buy-color);
}
.my-mt5-info-box {
    background: var(--bg-tertiary);
    border-radius: 10px;
    padding: 2px 15px;
    margin-bottom: 10px;
}
.my-mt5-balance-box {
    background: var(--bg-tertiary);
    border-radius: 10px;
    padding: 2px 15px;
}
.my-mt5-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}
.my-mt5-info-label {
    font-size: 13px;
    color: var(--text-secondary);
}
.my-mt5-info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* MT5 모드 상태 텍스트 색상 */
.my-mt5-mode-status strong {
    color: #00d4ff;
}
.my-mt5-mode-status.live strong {
    color: #ffffff;
}

/* ========== VIP 비교표 테이블 레이아웃 ========== */
.my-vip-section-title {
    font-size: 13px;
    font-weight: 600;
    margin: 20px 0 10px;
}

.my-vip-table-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

.my-vip-table-wrap .my-vip-table {
    width: 100%;
    border-collapse: collapse;
}

.my-vip-table-wrap .my-vip-table th,
.my-vip-table-wrap .my-vip-table td {
    padding: 11px 6px;
    text-align: center;
    font-size: 12px;
    border-bottom: 1px solid var(--border-color);
}

.my-vip-table-wrap .my-vip-table thead th {
    font-weight: 700;
    font-size: 13px;
    padding: 14px 6px;
    background: rgba(255,255,255,0.02);
}

.my-vip-table-wrap .my-vip-table thead th:first-child {
    text-align: left;
    padding-left: 14px;
}

.my-vip-table-wrap .my-vip-table tbody tr:last-child td {
    border-bottom: none;
}

.my-vip-th.standard { color: #9e9e9e; }
.my-vip-th.pro { color: #00d4ff; }
.my-vip-th.vip { color: #f97316; }
.my-vip-th.current.standard { background: rgba(158,158,158,0.15) !important; }
.my-vip-th.current.pro { background: rgba(0,212,255,0.15) !important; }
.my-vip-th.current.vip { background: rgba(249,115,22,0.15) !important; }



.my-vip-th.current.standard::after { color: #9e9e9e; }
.my-vip-th.current.pro::after { color: #00d4ff; }
.my-vip-th.current.vip::after { color: #f97316; }

.my-vip-td-val {
    font-weight: 700;
    color: #fff;
    font-size: 12px;
}
.my-vip-td-val.pro { color: #00d4ff; }
.my-vip-td-val.vip { color: #f97316; }

.my-vip-td-dim {
    color: #444;
    font-size: 13px;
}

/* ========== 친구 초대 리디자인 ========== */
.my-invite-label {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.my-invite-code-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
}

.my-invite-code-card .my-invite-code {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

.my-invite-code-card.link {
    border-color: rgba(0, 212, 255, 0.15);
}

.my-invite-link {
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.my-invite-copy-btn {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-cyan);
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.1);
    cursor: pointer;
    flex-shrink: 0;
}
.my-invite-copy-btn:active { opacity: 0.6; }

.my-invite-btn-row {
    display: flex;
    gap: 10px;
    margin: 16px 0 20px;
}

.my-invite-share-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
.my-invite-share-btn .material-icons-round { font-size: 18px; }
.my-invite-share-btn.primary {
    background: linear-gradient(135deg, var(--accent-cyan), #7dd3fc);
    color: #000;
}
.my-invite-share-btn.secondary {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}
.my-invite-share-btn:active { opacity: 0.7; }

/* Coming Soon 글로우 카드 (Live 색상) */
.my-invite-notice-card {
    position: relative;
    background: linear-gradient(160deg, rgba(0,180,80,0.06) 0%, rgba(0,180,80,0.01) 40%, var(--bg-tertiary) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0,180,80,0.15);
    padding: 28px 22px;
    text-align: center;
    overflow: hidden;
}
.my-invite-notice-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(0,180,80,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.my-invite-notice-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(0,180,80,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
}
.my-invite-notice-icon .material-icons-round {
    font-size: 26px;
    color: var(--buy-color);
}
.my-invite-notice-icon::after {
    content: '';
    position: absolute;
    top: -3px; right: -3px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #00c853;
    border: 2px solid var(--bg-tertiary);
    animation: invite-pulse 2s infinite;
}
@keyframes invite-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.my-invite-notice-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #fff;
}
.my-invite-notice-title span {
    color: var(--buy-color);
}

.my-invite-notice-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.my-invite-notice-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.my-invite-notice-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--buy-color);
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(0,180,80,0.06);
    border: 1px solid rgba(0,180,80,0.12);
}
.my-invite-notice-tag .material-icons-round {
    font-size: 13px;
    color: var(--buy-color);
}

/* QR 모달 */
.my-invite-qr-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.my-invite-qr-overlay.show { display: flex; }

.my-invite-qr-modal {
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 24px;
    width: 300px;
    text-align: center;
}

.my-invite-qr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.my-invite-qr-title {
    font-size: 16px;
    font-weight: 700;
}

.my-invite-qr-body {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.my-invite-qr-body canvas,
.my-invite-qr-body img {
    border-radius: 12px;
}

.my-invite-qr-link {
    font-size: 11px;
    color: var(--accent-cyan);
    word-break: break-all;
    margin-bottom: 8px;
}

.my-invite-qr-hint {
    font-size: 10px;
    color: var(--text-dim);
}

/* 개인정보 수정 폼 - 입력값 굵게 */
#piEditMode .my-form-input {
    font-weight: 600;
}
#piEditMode .my-form-input::placeholder {
    font-weight: 400;
}

/* 비밀번호 변경 폼 라벨 흰색 */
#myView-password .my-form-label {
    color: var(--text-primary);
}

/* ===== 커스텀 확인 다이얼로그 ===== */
.tx-dialog-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    animation: txFadeIn 0.2s ease forwards;
    padding: 24px;
}
@keyframes txFadeIn { to { opacity: 1; } }

.tx-dialog {
    background: linear-gradient(160deg, #1a2035, #141824);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    width: 100%;
    max-width: 340px;
    overflow: hidden;
    transform: scale(0.9);
    animation: txPopIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.05);
}
@keyframes txPopIn { to { transform: scale(1); } }

.tx-dialog-icon {
    display: flex;
    justify-content: center;
    padding-top: 28px;
    padding-bottom: 4px;
}
.tx-dialog-icon-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.tx-dialog-icon-circle.warn {
    background: rgba(255, 170, 0, 0.12);
    border: 1px solid rgba(255, 170, 0, 0.25);
}
.tx-dialog-icon-circle.warn .material-icons-round { color: #ffaa00; font-size: 28px; }
.tx-dialog-icon-circle.danger {
    background: rgba(255, 68, 68, 0.12);
    border: 1px solid rgba(255, 68, 68, 0.25);
}
.tx-dialog-icon-circle.danger .material-icons-round { color: #ff4444; font-size: 28px; }
.tx-dialog-icon-circle.info {
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.25);
}
.tx-dialog-icon-circle.info .material-icons-round { color: #00d4ff; font-size: 28px; }
.tx-dialog-icon-circle.success {
    background: rgba(0, 200, 80, 0.12);
    border: 1px solid rgba(0, 200, 80, 0.25);
}
.tx-dialog-icon-circle.success .material-icons-round { color: #00c850; font-size: 28px; }

.tx-dialog-body {
    padding: 16px 24px 24px;
    text-align: center;
}
.tx-dialog-title {
    font-size: 17px; font-weight: 700; color: #ffffff; margin-bottom: 8px;
}
.tx-dialog-message {
    font-size: 13.5px; color: #8a8f9e; line-height: 1.5;
}
.tx-dialog-actions {
    display: flex; gap: 10px; padding: 0 24px 24px;
}
.tx-dialog-btn {
    flex: 1; padding: 13px; border-radius: 12px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    border: none; transition: all 0.15s ease;
}
.tx-dialog-btn:active { transform: scale(0.97); }
.tx-dialog-btn.cancel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8a8f9e;
}
.tx-dialog-btn.confirm-danger { background: linear-gradient(135deg, #ff4444, #ff6b6b); color: #fff; }
.tx-dialog-btn.confirm-warn { background: linear-gradient(135deg, #ff8c00, #ffaa00); color: #000; }
.tx-dialog-btn.confirm-primary { background: linear-gradient(135deg, #00d4ff, #00b8e6); color: #000; }
.tx-dialog-btn.confirm-success { background: linear-gradient(135deg, #00b450, #00d46a); color: #fff; }

/* 로그인 기록 - 로그아웃 버튼 여백 */
#myView-loginHistory .my-action-btn.danger {
    margin-top: 30px;
}

/* ===== Live 입출금 - 새로고침 버튼 ===== */
.my-live-account-row { display: flex; align-items: center; gap: 6px; }
.my-live-refresh-btn {
    font-size: 18px; color: var(--text-dim); cursor: pointer;
    transition: color 0.15s; display: flex; align-items: center;
}
.my-live-refresh-btn:active { color: var(--accent-cyan); }
@keyframes liveSpin { to { transform: rotate(360deg); } }
.my-live-refresh-btn.spinning { animation: liveSpin 0.8s linear; color: var(--accent-cyan); }

/* ===== Live 계좌 히어로 (Account탭 톤앤매너) ===== */
.my-deposit-hero-label {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
}
.my-deposit-hero-amount.live {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    font-family: 'Rajdhani', sans-serif;
}

/* ===== Live 3칸 통계 (Account탭 하단 스타일) ===== */
.my-live-stats-grid {
    display: flex; gap: 0;
    margin-top: 14px; padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.my-live-stat-item {
    flex: 1; text-align: left; padding-left: 12px; position: relative;
}
.my-live-stat-item:first-child { padding-left: 4px; }
.my-live-stat-item:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 20%; height: 60%;
    width: 1px; background: rgba(255,255,255,0.08);
}
.my-live-stat-label {
    font-size: 10px; color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px; margin-bottom: 5px;
    text-transform: uppercase;
}
.my-live-stat-value {
    font-size: 15px; font-weight: 600;
    color: rgba(255,255,255,0.9);
    font-family: 'Rajdhani', sans-serif;
}
.my-live-stat-value.cyan { color: #00d4ff; }
.my-live-stat-value.profit-plus { color: #00d4a4; }
.my-live-stat-value.profit-minus { color: #ff4d5a; }

/* ===== Live 계좌 상세 정보 ===== */
.my-live-info-card {
    background: var(--bg-tertiary); border: 1px solid var(--border-color);
    border-radius: 14px; padding: 4px 16px; margin-bottom: 16px;
}
.my-live-info-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.my-live-info-row:last-child { border-bottom: none; }
.my-live-info-label {
    font-size: 11px; color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}
.my-live-info-value {
    font-size: 14px; font-weight: 600;
    color: rgba(255,255,255,0.9);
    font-family: 'Rajdhani', sans-serif;
}

/* ===== HedgeHood CTA (시안 강조) ===== */
.my-live-cta-deposit {
    display: flex; align-items: center; gap: 14px;
    padding: 18px; background: linear-gradient(135deg, rgba(0,200,83,0.22), rgba(0,200,83,0.08));
    border: 1px solid rgba(0,200,83,0.45); border-radius: 16px;
    cursor: pointer; margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(0,200,83,0.08);
    transition: background 0.15s;
}
.my-live-cta-deposit:active { background: rgba(0,200,83,0.15); }
.my-live-cta-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(0,200,83,0.15); border: 1px solid rgba(0,200,83,0.3);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.my-live-cta-icon .material-icons-round { color: #00c853; font-size: 22px; }
.my-live-cta-text { flex: 1; }
.my-live-cta-title {
    font-size: 15px; font-weight: 700; color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif; letter-spacing: 0.3px;
}
.my-live-cta-arrow { color: #00c853; font-size: 22px; }
.my-live-cta-note {
    font-size: 11px; color: rgba(255,255,255,0.85); line-height: 1.5;
    padding: 0 4px; margin-bottom: 16px;
}

/* ===== 입출금 내역 ===== */
.my-live-history-section {
    background: var(--bg-tertiary); border: 1px solid var(--border-color);
    border-radius: 14px; margin-bottom: 16px; overflow: hidden;
}
.my-live-history-header {
    display: flex; justify-content: space-between; align-items: center; padding: 14px 16px;
}
.my-live-history-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.my-live-history-period { font-size: 11px; color: var(--text-dim); }
.my-live-history-body { padding: 0 16px; }
.my-live-history-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.03);
}
.my-live-history-left { display: flex; align-items: center; gap: 10px; }
.my-live-history-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.my-live-history-icon.in { background: rgba(0,180,80,0.1); }
.my-live-history-icon.out { background: rgba(255,68,68,0.1); }
.my-live-history-type { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.my-live-history-meta { font-size: 11px; color: var(--text-dim); margin-top: 1px; }
.my-live-history-amount { font-size: 14px; font-weight: 700; font-family: 'Consolas', monospace; }
.my-live-history-amount.positive { color: var(--buy-color); }
.my-live-history-amount.negative { color: var(--sell-color); }
.my-live-history-more {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    padding: 12px; border-top: 1px solid rgba(255,255,255,0.04);
    color: var(--accent-cyan); font-size: 13px; font-weight: 500; cursor: pointer;
}
.my-live-history-more:active { background: rgba(0,212,255,0.05); }

/* ===== 고객센터 ===== */
.my-live-support-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; background: var(--bg-tertiary);
    border: 1px solid var(--border-color); border-radius: 14px;
    color: var(--text-secondary); font-size: 13px; font-weight: 500;
    cursor: pointer; margin-bottom: 12px;
}
.my-live-support-btn:active { background: var(--bg-secondary); }

/* ===== 미연결 상태 ===== */
.my-live-empty-hero {
    background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px; padding: 32px 20px; margin-bottom: 20px; text-align: center;
}
.my-live-empty-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.15);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.my-live-empty-icon .material-icons-round { font-size: 30px; color: var(--accent-cyan); }
.my-live-empty-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.my-live-empty-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* 스텝 가이드 */
.my-live-setup-steps {
    background: var(--bg-tertiary); border: 1px solid var(--border-color);
    border-radius: 14px; padding: 20px 16px; margin-bottom: 16px;
}
.my-live-setup-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; }
.my-live-setup-step {
    display: flex; gap: 14px; padding-bottom: 18px; position: relative;
}
.my-live-setup-step.last { padding-bottom: 0; }
.my-live-setup-step:not(.last)::after {
    content: ''; position: absolute; left: 15px; top: 34px; bottom: 0;
    width: 1px; background: rgba(0,212,255,0.15);
}
.my-live-step-num {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.25);
    color: var(--accent-cyan); position: relative; z-index: 1;
}
.my-live-step-content { flex: 1; padding-top: 4px; }
.my-live-step-title { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.my-live-step-desc { font-size: 12px; color: var(--text-dim); line-height: 1.4; }

/* CTA 버튼 */
.my-live-cta-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 16px; background: linear-gradient(135deg, var(--buy-color), #008040);
    border: none; border-radius: 14px; color: #fff; font-size: 15px; font-weight: 700;
    cursor: pointer; margin-bottom: 12px;
}
.my-live-cta-btn:active { opacity: 0.85; }
.my-live-cta-secondary {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 14px; background: transparent;
    border: 1px solid rgba(0,212,255,0.25); border-radius: 14px;
    color: var(--accent-cyan); font-size: 14px; font-weight: 600;
    cursor: pointer; margin-bottom: 16px;
}
.my-live-cta-secondary:active { background: rgba(0,212,255,0.05); }

/* 도움말 */
.my-live-help-note {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 12px 14px; background: rgba(0,212,255,0.04);
    border: 1px solid rgba(0,212,255,0.08); border-radius: 12px; margin-bottom: 16px;
}
.my-live-help-note .material-icons-round { font-size: 16px; color: var(--accent-cyan); flex-shrink: 0; margin-top: 1px; }
.my-live-help-note span:last-child { font-size: 12px; color: var(--text-dim); line-height: 1.5; }

/* ===== 가이드 카드 compact (한줄) ===== */
.my-deposit-guide-card.compact {
    display: flex; flex-direction: row; align-items: center; gap: 10px;
    padding: 12px 14px;
}
.my-deposit-guide-icon.small {
    width: 32px; height: 32px; margin: 0;
}
.my-deposit-guide-icon.small .material-icons-round { font-size: 18px; }
.my-deposit-guide-card.compact .my-deposit-guide-label {
    font-family: 'Rajdhani', sans-serif;
}

.my-live-cta-subtitle {
    font-size: 11px; color: rgba(0,200,83,0.7); margin-top: 2px;
}

/* ★★★ KYC 메뉴 스타일 ★★★ */
.my-sub-item.kyc-parent { cursor: pointer; }
.my-sub-item.kyc-parent .my-sub-item-arrow { transition: transform 0.2s; }
.my-sub-item.kyc-parent.open .my-sub-item-arrow { transform: rotate(180deg); }
.kyc-sub-menu { padding-left: 20px; background: rgba(255,255,255,0.02); }
.kyc-sub-menu .my-sub-item.kyc-child { padding: 13px 16px; }
.kyc-sub-menu .my-sub-icon-box.small { width: 32px; height: 32px; border-radius: 8px; }
.kyc-sub-menu .my-sub-icon-box.small .material-icons-round { font-size: 17px; }

/* ★★★ 회원탈퇴 (로그아웃 스타일) ★★★ */
.my-sub-card.withdraw-card {
    background: transparent;
    border-color: rgba(220, 50, 70, 0.25);
}
.withdraw-icon { background: rgba(255,71,87,0.08) !important; }
.withdraw-icon .material-icons-round { color: var(--sell-color) !important; }
.withdraw-label { color: var(--sell-color) !important; }
.withdraw-arrow { color: var(--sell-color) !important; }

/* 현재 등급 헤더 - C안: 우상단 체크 원형 */
.my-vip-th.current {
    position: relative;
    background: rgba(0, 212, 255, 0.06);
}
.my-vip-th-check {
    position: absolute;
    top: 3px; right: 3px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}
.my-vip-th-check .material-icons-round {
    font-size: 11px;
    color: #000;
}

/* 현재 등급 컬럼 바디 하이라이트 */
#myVipTable td.current {
    background: rgba(0, 212, 255, 0.05);
}

/* ===== 트레이딩 리포트 스타일은 tradingReport.css로 이동됨 ===== */

/* ===== 본인확인 게이트 placeholder 색상 ===== */
#piGatePassword::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-size: 15px;
}

/* ===== 회원탈퇴 카드 높이 축소 ===== */
.my-sub-card.withdraw-card .my-sub-item {
    padding: 10px 16px;
}

/* ========== 파트너 페이지 ========== */
.partner-hero-card {
    background: linear-gradient(135deg, rgba(0,212,255,0.1) 0%, rgba(0,152,200,0.05) 100%);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}
.partner-hero-label { font-size:11px; font-weight:600; color:var(--text-muted); letter-spacing:0.08em; text-transform:uppercase; margin-bottom:10px; }
.partner-code-row, .partner-link-row { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.partner-code-text { font-size:22px; font-weight:800; color:#00d4ff; letter-spacing:0.05em; }
.partner-link-text { font-size:12px; color:var(--text-muted); word-break:break-all; flex:1; }
.partner-copy-btn { display:flex; align-items:center; gap:4px; padding:6px 12px; background:rgba(0,212,255,0.12); border:1px solid rgba(0,212,255,0.25); border-radius:8px; color:#00d4ff; font-size:12px; font-weight:600; cursor:pointer; white-space:nowrap; flex-shrink:0; }
.partner-copy-btn .material-icons-round { font-size:14px; }
.partner-stats-row { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:16px; }
.partner-stat-box { background:var(--card-bg); border:1px solid var(--border-color); border-radius:12px; padding:14px 8px; text-align:center; }
.partner-stat-num { font-size:22px; font-weight:800; color:#ffffff; margin-bottom:4px; }
.partner-stat-label { font-size:11px; color:var(--text-muted); }
.partner-tabs { display:flex; gap:0; background:var(--card-bg); border:1px solid var(--border-color); border-radius:10px; padding:4px; margin-bottom:14px; }
.partner-tab { flex:1; padding:9px; font-size:13px; font-weight:600; color:var(--text-muted); background:transparent; border:none; border-radius:8px; cursor:pointer; transition:all 0.2s; }
.partner-tab.active { background:rgba(0,212,255,0.15); color:#00d4ff; }
.partner-list { display:flex; flex-direction:column; gap:10px; }
.partner-customer-card { background:var(--card-bg); border:1px solid var(--border-color); border-radius:12px; padding:14px 16px; display:flex; align-items:center; justify-content:space-between; }
.partner-customer-info { flex:1; }
.partner-customer-email { font-size:14px; font-weight:600; color:var(--text-primary); margin-bottom:3px; }
.partner-customer-date { font-size:11px; color:var(--text-muted); }
.partner-customer-badge { font-size:11px; font-weight:700; padding:3px 8px; border-radius:20px; }
.partner-customer-badge.active { background:rgba(0,212,100,0.15); color:#00d464; }
.partner-customer-badge.inactive { background:rgba(150,150,150,0.15); color:var(--text-muted); }
.partner-empty { text-align:center; padding:40px 20px; color:var(--text-muted); }
.partner-empty .material-icons-round { font-size:40px; margin-bottom:10px; opacity:0.4; display:block; }
.partner-empty p { font-size:14px; }
/* 추천인 코드 섹션 */
.pi-ref-row { display: flex; gap: 8px; align-items: center; }
.pi-ref-input {
    flex: 1; min-width: 0;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.pi-ref-input:focus { border-color: rgba(0,212,255,0.35); }
.pi-ref-input::placeholder { color: var(--text-muted); font-size: 13px; }
.pi-ref-btn {
    padding: 10px 18px;
    background: rgba(0,212,255,0.08);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 10px;
    color: #00d4ff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.pi-ref-btn:active { background: rgba(0,212,255,0.18); }
.pi-ref-badge {
    font-size: 10px; font-weight: 700;
    padding: 2px 8px;
    background: rgba(0,212,100,0.1);
    color: #00d464;
    border-radius: 6px;
    border: 1px solid rgba(0,212,100,0.2);
}

/* ========== 파트너 고객 카드 개선 ========== */
.partner-customer-card { flex-direction:column; align-items:stretch; gap:6px; padding:14px 16px; }
.pc-top-row { display:flex; align-items:center; justify-content:space-between; }
.pc-email { font-size:14px; font-weight:600; color:var(--text-primary); }
.pc-badges { display:flex; gap:5px; align-items:center; }
.pc-badge { font-size:10px; font-weight:700; padding:2px 7px; border-radius:6px; }
.pc-badge-active { background:rgba(0,212,100,0.12); color:#00d464; border:1px solid rgba(0,212,100,0.2); }
.pc-badge-inactive { background:rgba(150,150,150,0.12); color:var(--text-muted); border:1px solid rgba(150,150,150,0.2); }
.pc-badge-mt5 { background:rgba(0,212,255,0.12); color:#00d4ff; border:1px solid rgba(0,212,255,0.2); }
.pc-badge-no-mt5 { background:rgba(150,150,150,0.1); color:var(--text-muted); border:1px solid rgba(150,150,150,0.2); }
.pc-mid-row { font-size:11px; color:var(--text-muted); }
.pc-bot-row { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--text-muted); padding-top:6px; border-top:1px solid var(--border-color); margin-top:2px; }
.pc-bot-row b { color:var(--text-primary); font-weight:700; }
.pc-divider { color:var(--border-color); }
