.auth-overlay{display:none; position:fixed; inset:0; z-index:9998; overflow-y:auto; background:#121212;}
.auth-overlay .auth-bg-fan{position:absolute; top:0; left:50%; transform:translateX(-50%); width:1200px; height:900px; pointer-events:none; opacity:.6;
  background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(121,99,255,.10) 0deg 2deg, transparent 2deg 12deg);
  mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 70%);
}
.auth-wrap{position:relative; z-index:2; max-width:1080px; margin:0 auto; padding:60px 20px 40px;}
.auth-logo{display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:40px;}
.auth-logo svg{width:34px; height:34px;}
.auth-logo span{font-size:26px; font-weight:700; color:#fff; letter-spacing:.5px;}
.auth-card{display:grid; grid-template-columns:1fr 1fr; background:#121212; border-radius:24px; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,.5); min-height:520px; border:1px solid #232323;}
.auth-form{padding:50px 46px; display:flex; flex-direction:column;}
.auth-form h2{font-size:22px; font-weight:600; color:#EFEFEF; margin-bottom:8px;}
.auth-form .sub{color:#6B6B6B; font-size:14px; margin-bottom:28px; line-height:1.5;}
.auth-field{background:#212121; border-radius:6px; padding:14px 16px; margin-bottom:14px; font-size:14px; color:#fff; border:1px solid #212121; width:100%; outline:none; box-sizing:border-box;}
.auth-field::placeholder{color:#838383;}
.auth-field:focus{border-color:#7963FF;}
.auth-check{display:flex; align-items:flex-start; gap:8px; font-size:13px; color:#ADADAD; margin:8px 0 20px;}
.auth-check a{color:#ADADAD; text-decoration:underline;}
.auth-btn-primary{background:#7963FF; color:#fff; border:none; border-radius:6px; padding:16px; font-size:15px; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; margin-top:auto;}
.auth-btn-primary:disabled{background:#212121; color:#B6B6B6; cursor:not-allowed;}
.auth-btn-secondary{background:transparent; color:#fff; border:1px solid #313131; border-radius:6px; padding:16px; font-size:15px; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; margin-top:10px;}
.auth-switch{text-align:center; font-size:14px; color:#fff; margin-top:16px;}
.auth-switch a, .auth-switch button{color:#ADADAD; text-decoration:underline; background:none; border:none; cursor:pointer; font-size:14px; padding:0;}
.auth-illustration{background:linear-gradient(160deg,#8F7EFF,#5B4BFF); position:relative; overflow:hidden;}
.auth-illustration svg{width:100%; height:100%;}
.auth-close{position:absolute; top:20px; right:20px; z-index:5; background:#212121; color:#fff; border:none; border-radius:999px; width:38px; height:38px; font-size:18px; cursor:pointer;}
.auth-agreement-body{color:#ADADAD; font-size:14px; line-height:1.7; max-height:420px; overflow-y:auto; padding-right:10px;}
.auth-agreement-body b, .auth-agreement-body strong{color:#fff;}
.auth-toast{position:fixed; bottom:24px; right:24px; z-index:10001; background:#2A1414; border:1px solid #6B2A2A; border-radius:10px; padding:14px 40px 14px 16px; min-width:260px; box-shadow:0 10px 30px rgba(0,0,0,.4); animation:authToastIn .2s ease;}
.auth-toast .title{display:flex; align-items:center; gap:8px; color:#FF6B6B; font-weight:600; font-size:14px; margin-bottom:4px;}
.auth-toast .msg{color:#D8B8B8; font-size:13px;}
.auth-toast .close{position:absolute; top:12px; right:12px; background:none; border:none; color:#8B8B8B; cursor:pointer; font-size:14px;}
@keyframes authToastIn{ from{ transform:translateY(20px); opacity:0; } to{ transform:translateY(0); opacity:1; } }
@media (max-width:760px){ .auth-card{grid-template-columns:1fr;} .auth-illustration{display:none;} .auth-form{padding:30px 24px;} }


/* ===== Extracted block ===== */

#wallet-overlay{display:none; position:fixed; inset:0; z-index:9997; background:#1A1A1A; overflow:auto; font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;}
.wl-shell{display:flex; min-height:100vh;}
.wl-sidebar{position:fixed; top:0; left:0; height:100vh; width:70px; background:#121212; display:flex; flex-direction:column; align-items:center; padding:16px 0; z-index:10; transition:width .2s ease; overflow:hidden; border-right:1px solid #232323;}
.wl-sidebar.expanded{width:230px; align-items:flex-start; overflow-y:auto;}
.wl-sidebar-logo-row{display:flex; align-items:center; justify-content:space-between; width:100%; padding:0 18px; margin-bottom:20px;}
.wl-logo-text{transition:opacity .15s;}
.wl-sidebar.expanded .wl-logo-text{opacity:1 !important;}
.wl-pin-btn{display:none; background:none; border:none; color:#8B8B8B; cursor:pointer; padding:4px; flex-shrink:0;}
.wl-sidebar.expanded .wl-pin-btn{display:block;}
.wl-pin-btn.pinned{color:#8963FF;}
.wl-nav-item{display:flex; align-items:center; gap:14px; width:100%; padding:11px 22px; color:#8B8B8B; cursor:pointer; white-space:nowrap; text-decoration:none; font-size:14px; box-sizing:border-box;}
.wl-nav-item svg{width:19px; height:19px; flex-shrink:0;}
.wl-nav-item.active{color:#fff; background:#8963FF;}
.wl-nav-item:hover{color:#fff;}
.wl-nav-item span{opacity:0; transition:opacity .15s;}
.wl-sidebar.expanded .wl-nav-item span{opacity:1;}
.wl-nav-group{width:100%;}
.wl-subgroup{width:100%; max-height:0; overflow:hidden; transition:max-height .2s ease;}
.wl-subgroup.open{max-height:120px;}
.wl-sub-item{padding-left:52px;}
.wl-chevron{transition:transform .2s ease; opacity:0; flex-shrink:0;}
.wl-sidebar.expanded .wl-chevron{opacity:1;}
.wl-group-toggle.open .wl-chevron{transform:rotate(180deg);}
.wl-auto-pill{display:flex; align-items:center; gap:10px; width:calc(100% - 24px); margin:12px; background:#212121; border:1px solid #2A2A2A; border-radius:8px; padding:10px 14px; color:#ADADAD; cursor:pointer; font-size:13px; box-sizing:border-box;}
.wl-auto-pill span{opacity:0; transition:opacity .15s;}
.wl-sidebar.expanded .wl-auto-pill span{opacity:1;}

.wl-main{flex:1; margin-left:70px; display:flex; flex-direction:column; transition:margin-left .2s ease;}
.wl-shell.sidebar-expanded .wl-main{margin-left:230px;}
.wl-status-banner{display:flex; align-items:center; justify-content:space-between; padding:14px 28px; color:#fff; gap:16px; flex-wrap:wrap;}
.wl-status-banner-orange{background:rgba(255,128,99,0.9); gap:10px; justify-content:flex-start;}
.wl-status-banner-orange svg{flex-shrink:0;}
.wl-status-banner-orange span{font-size:14px; font-weight:500;}
.wl-status-banner-purple{background:#6452D4;}
.wl-status-banner-text{display:flex; align-items:flex-start; gap:12px;}
.wl-status-banner-title{font-weight:600; font-size:14px; margin-bottom:2px;}
.wl-status-banner-sub{font-size:13px; opacity:.9; line-height:1.5;}
.wl-status-banner-btn{background:#fff; color:#121212; border:none; border-radius:8px; padding:10px 18px; font-weight:600; font-size:14px; display:flex; align-items:center; gap:8px; text-decoration:none; white-space:nowrap; flex-shrink:0;}
.wl-setup-banner{background:#6452D4; color:#fff; display:flex; align-items:center; justify-content:space-between; padding:14px 28px;}
.wl-setup-banner .left{display:flex; align-items:center; gap:10px; font-weight:500; font-size:14px;}
.wl-setup-banner .time{opacity:.7; font-size:13px; margin-left:6px;}
.wl-setup-banner button{background:#fff; color:#121212; border:none; border-radius:8px; padding:9px 18px; font-weight:600; font-size:14px; display:flex; align-items:center; gap:6px; cursor:pointer;}
.wl-content{padding:24px 28px 60px;}
.wl-header-row{display:flex; align-items:center; justify-content:space-between; margin-bottom:20px;}
.wl-header-row h1{color:#fff; font-size:22px; font-weight:600; margin:0;}
.wl-header-right{display:flex; align-items:center; gap:16px; color:#fff; font-size:14px;}
.wl-user-pill{background:#212121; border-radius:999px; padding:8px 14px; display:flex; align-items:center; gap:6px; cursor:pointer;}
.wl-cards-row{display:grid; grid-template-columns:360px 1fr; gap:20px; margin-bottom:24px;}
.wl-card{background:#121212; border-radius:14px; padding:22px; border:1px solid #232323;}
.wl-balance-labels{display:flex; gap:24px; margin-bottom:10px;}
.wl-balance-labels div{font-size:13px; color:#8B8B8B; display:flex; align-items:center; gap:6px;}
.wl-balance-amount{color:#fff; font-size:26px; font-weight:600; margin-bottom:4px; white-space:nowrap;}
.wl-details-pill{display:inline-flex; align-items:center; gap:6px; background:#001D38; color:#ADADAD; border-radius:999px; padding:6px 14px; font-size:12px; margin:14px 0 20px; cursor:pointer;}
.wl-btn-row{display:flex; gap:12px;}
.wl-btn-purple{flex:1; background:#8963FF; color:#fff; border:none; border-radius:8px; padding:12px; font-size:14px; font-weight:600; display:flex; align-items:center; justify-content:center; gap:6px; cursor:pointer;}
.wl-btn-link{font-size:12px; color:#8B8B8B; text-align:center; margin-top:8px; text-decoration:underline; cursor:pointer;}
.wl-income-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; flex-wrap:wrap; gap:10px;}
.wl-income-head h3{color:#fff; font-size:16px; margin:0;}
.wl-filter-pills{display:flex; gap:8px; align-items:center; flex-wrap:wrap;}
.wl-pill-btn{background:#212121; color:#ADADAD; border:none; border-radius:8px; padding:8px 14px; font-size:13px; cursor:pointer; display:flex; align-items:center; gap:6px;}
.wl-pill-btn.active{background:#8963FF; color:#fff;}
.wl-chart-svg{width:100%; height:200px; display:block;}
.wl-chart-tooltip{position:absolute; background:#1E1E1E; border:1px solid #333; border-radius:8px; padding:10px 14px; font-size:12px; color:#ADADAD; pointer-events:none; z-index:10; box-shadow:0 8px 20px rgba(0,0,0,.4); white-space:nowrap;}
.wl-chart-tooltip .wl-tt-label{color:#6B6B6B; margin-bottom:2px;}
.wl-chart-tooltip .wl-tt-value{color:#fff; font-weight:600;}
.wl-chart-tooltip .wl-tt-income{color:#6B6B6B; margin-top:6px; margin-bottom:2px;}
.wl-total-income{font-size:13px; color:#8B8B8B; margin-top:12px;}
.wl-total-income b{color:#fff;}
.wl-trans-header{background:linear-gradient(90deg,#2C2842,#4A3F8A); border-radius:14px 14px 0 0; padding:16px 22px; display:flex; align-items:center; justify-content:space-between;}
.wl-trow{display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr 1fr 1fr 1fr 1.3fr; gap:12px; padding:12px 0; border-bottom:1px solid #1E1E1E; font-size:13px; color:#ADADAD; align-items:center;}
.wl-trow.wl-trow-head{color:#6B6B6B; font-size:12px; border-bottom:1px solid #2A2A2A;}
.wl-trow b{color:#fff; font-weight:500;}
.wl-trow .wl-tx-plus{color:#6EE7B7;}
.wl-trow .wl-tx-minus{color:#FF8B8B;}
.wl-empty-state{padding:40px 0; text-align:center; color:#6B6B6B; font-size:14px;}
.wl-trans-header h3{color:#fff; font-size:16px; margin:0;}
.wl-trans-body{background:#121212; border-radius:0 0 14px 14px; padding:20px 22px; border:1px solid #232323; border-top:none;}
.wl-filter-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(140px,1fr)); gap:12px; margin-bottom:20px;}
.wl-filter-item label{display:block; font-size:12px; color:#8B8B8B; margin-bottom:6px;}
.wl-filter-item select, .wl-filter-item input{width:100%; background:#1A1A1A; border:1px solid #2A2A2A; border-radius:8px; padding:9px 10px; color:#fff; font-size:13px; box-sizing:border-box;}
.wl-pagination{display:flex; align-items:center; justify-content:space-between; margin-top:16px; font-size:13px; color:#8B8B8B;}
.wl-pagination button{background:#1A1A1A; border:1px solid #2A2A2A; color:#8B8B8B; border-radius:8px; padding:8px 14px; cursor:pointer; display:flex; align-items:center; gap:6px;}

/* ===== Модалка Пополнение/Снятие ===== */
.wl-modal-backdrop{display:none; position:fixed; inset:0; z-index:10000; background:rgba(0,0,0,.6); align-items:center; justify-content:center;}
.wl-modal{background:#121212; border:1px solid #232323; border-radius:16px; padding:28px; width:100%; max-width:380px;}
.wl-modal h3{color:#fff; font-size:18px; margin:0 0 4px;}
.wl-modal .sub{color:#8B8B8B; font-size:13px; margin-bottom:18px;}
.wl-modal input{width:100%; background:#1A1A1A; border:1px solid #2A2A2A; border-radius:8px; padding:12px 14px; color:#fff; font-size:15px; box-sizing:border-box; margin-bottom:8px;}
.wl-modal .wl-modal-error{color:#FF8B8B; font-size:13px; min-height:18px; margin-bottom:8px;}
.wl-modal-actions{display:flex; gap:10px; margin-top:8px;}
.wl-modal-actions button{flex:1; padding:12px; border-radius:8px; border:none; font-size:14px; font-weight:600; cursor:pointer;}
.wl-modal-cancel{background:#1A1A1A; color:#ADADAD;}
.wl-modal-confirm{background:#7963FF; color:#fff;}

/* ===== Переключаемые "страницы" в личном кабинете (демо-заглушки для разделов) ===== */
.wl-section-page{display:none;}
.wl-section-page.active{display:block;}
.wl-placeholder-page{padding:60px 20px; text-align:center; color:#6B6B6B;}
.wl-placeholder-page svg{width:48px; height:48px; opacity:.3; margin-bottom:16px;}
.wl-placeholder-page h2{color:#fff; font-size:20px; margin-bottom:8px;}

/* ===== Точные копии внутренних разделов (не кликабельны, только визуал) ===== */
.wl-crumb{color:#6B6B6B; font-weight:400;}
.wl-action-bar{background:linear-gradient(90deg,#2C2842,#4A3F8A); border-radius:14px 14px 0 0; padding:14px 22px; display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap;}
.wl-action-bar .wl-action-left{margin-right:auto; color:#fff; font-weight:600; font-size:15px;}
.wl-action-btn{background:#1A1A1A; color:#ADADAD; border:1px solid #2A2A2A; border-radius:8px; padding:9px 16px; font-size:13px; display:flex; align-items:center; gap:6px; cursor:default; white-space:nowrap;}
.wl-action-btn.wl-action-primary{background:#7963FF; color:#fff; border:none;}
.wl-date-input{background:#1A1A1A; border:1px solid #2A2A2A; border-radius:8px; padding:9px 14px; color:#6B6B6B; font-size:13px; display:flex; align-items:center; gap:8px;}
.wl-static-table-body{background:#121212; border-radius:0 0 14px 14px; padding:20px 22px; border:1px solid #232323; border-top:none; overflow-x:auto;}
.wl-static-filter-row{display:grid; gap:14px; margin-bottom:0; grid-auto-flow:column; grid-auto-columns:minmax(120px,1fr);}
.wl-static-filter-row label{display:block; font-size:12px; color:#8B8B8B; margin-bottom:6px; white-space:nowrap;}
.wl-static-filter-row .wl-static-input{background:#1A1A1A; border:1px solid #2A2A2A; border-radius:8px; padding:9px 10px; color:#6B6B6B; font-size:13px; display:flex; align-items:center; justify-content:space-between;}
.wl-static-data-row{display:grid; gap:14px; grid-auto-flow:column; grid-auto-columns:minmax(120px,1fr); padding:14px 0; border-top:1px solid #232323; margin-top:14px; font-size:13px; color:#ADADAD; align-items:center;}
.wl-static-data-row .wl-link{color:#8B8FFF;}
.wl-badge{display:inline-block; padding:3px 10px; border-radius:999px; font-size:12px; background:#2A2A2A; color:#ADADAD;}
.wl-badge-active{background:rgba(110,231,183,.15); color:#6EE7B7;}
.wl-profile-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.wl-profile-card{background:#121212; border:1px solid #232323; border-radius:14px; padding:24px;}
.wl-profile-card h3{color:#fff; font-size:17px; margin:0 0 18px; display:flex; align-items:center; justify-content:space-between;}
.wl-profile-field{margin-bottom:16px;}
.wl-profile-field label{display:block; font-size:12px; color:#8B8B8B; margin-bottom:6px;}
.wl-profile-field .wl-static-input{width:100%; box-sizing:border-box; padding:11px 14px; justify-content:space-between;}
.wl-profile-card p{color:#8B8B8B; font-size:13px; line-height:1.6; margin-bottom:16px;}
.wl-off-badge{background:rgba(255,107,107,.15); color:#FF6B6B; font-size:12px; padding:3px 10px; border-radius:999px;}
@media (max-width:900px){ .wl-profile-grid{grid-template-columns:1fr;} .wl-static-filter-row, .wl-static-data-row{grid-auto-flow:row; grid-template-columns:1fr;} }



