/* NQSH • soft charcoal / antique gold • 2026-09-24 */
:root{--soft-line:rgba(216,186,137,.18);--soft-surface:rgba(17,23,25,.96)}
.panel-frame,.auth-card{border:1px solid var(--soft-line);border-radius:20px;background:linear-gradient(145deg,rgba(28,33,34,.97),rgba(12,18,21,.97));box-shadow:0 16px 46px rgba(0,0,0,.3),inset 0 1px rgba(255,238,207,.045)}
.panel-frame:before,.panel-frame:after,.auth-card:before{display:none}
.dashboard-shell{gap:20px;grid-template-columns:226px minmax(0,1fr) 296px;max-width:1580px}
.content{min-width:0}.sidebar{overflow:hidden}.admin-panel{padding:22px 18px}
.admin-title,.section-title,.user-box{border-bottom-color:var(--soft-line)}
.admin-panel .admin-grid{gap:12px}.admin-panel .admin-card{border-radius:15px;border-color:rgba(214,184,136,.13);background:linear-gradient(145deg,rgba(222,184,123,.055),rgba(255,255,255,.012));box-shadow:none;transition:background .18s,border-color .18s,transform .18s;min-height:112px}
.admin-panel .admin-card:hover,.admin-panel .admin-card.active{border-color:rgba(221,184,122,.43);background:linear-gradient(145deg,rgba(167,121,60,.22),rgba(210,177,118,.045));box-shadow:0 6px 16px rgba(0,0,0,.13)}
.side-nav{padding:10px}.side-nav a{border-radius:11px;border-left:0;margin:3px 0;padding:13px 12px}.side-nav a.active,.side-nav a:hover{background:rgba(202,166,106,.1)}
.admin-kpi,.admin-form-card,.admin-info-card,.admin-drawer,.inner-card,.simple-card,.recharge-history-card,.recharge-milestone,.milestone,.gift-created-summary>div{border-radius:14px;border-color:var(--soft-line)}
.admin-kpi{background:linear-gradient(135deg,rgba(218,184,127,.07),rgba(255,255,255,.015));min-height:84px}
.admin-data-area{border-radius:14px;border-color:var(--soft-line);scrollbar-width:thin;scrollbar-color:#5d5545 #141b1e}
.admin-table th{background:#202729;color:#c9bba3;font-size:10px;line-height:1.5;padding:13px 12px}.admin-table td{padding:14px 12px;line-height:1.55}.admin-table tr:last-child td{border-bottom:0}
#characterTable .admin-table{min-width:0;table-layout:fixed}#characterTable th:first-child{width:46px}#characterTable th:nth-child(2){width:28%}#characterTable th:nth-child(3){width:23%}#characterTable th:nth-child(4){width:15%}#characterTable td{overflow-wrap:anywhere}#characterTable .admin-actions{gap:6px}#characterTable .mini-btn{white-space:normal;height:auto;min-height:30px;padding:6px 9px;line-height:1.3}
.cell-meta{display:block;color:#aaa397;font-size:11px;line-height:1.6;margin-top:4px}.admin-table .muted{color:#aaa397}
.admin-toolbar input,.admin-toolbar select,.admin-filter-grid input,.admin-filter-grid select,.admin-form-card input,.admin-form-card select,.auth-form input,.inner-card input,.inner-card select{border-radius:10px;border-color:rgba(216,186,137,.2);background:#121a1e}
button,.mini-btn,.primary-btn,.danger-btn,.logout-form button,.rank-tab,.player-pick,.auth-tab{border-radius:9px}
.bulk-bar{border-radius:12px;border-color:var(--soft-line);padding:12px;gap:10px}.bulk-bar button{border:1px solid rgba(192,105,85,.4);padding:8px 11px;cursor:pointer}
.admin-note{border-radius:0 11px 11px 0}.admin-tabs{border-radius:12px;padding:6px}.admin-tabs button{border-radius:8px}.admin-flash{border-radius:12px;line-height:1.6;max-height:45vh;overflow:auto}
.nq-modal-card,.character-detail-card{border-radius:18px!important;border-color:var(--soft-line)!important}.member-row,.info-row{border-bottom-color:rgba(216,186,137,.1)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #d8b778;outline-offset:3px}
@media(max-width:1280px){.dashboard-shell{grid-template-columns:210px minmax(0,1fr)}.admin-panel{grid-column:1/-1;min-height:auto}.admin-panel .admin-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:820px){.dashboard-shell{grid-template-columns:minmax(0,1fr);gap:16px;padding:0 12px}.panel-frame{border-radius:16px}.admin-panel .admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-table{min-width:700px}#characterTable .admin-table{min-width:600px}.admin-toolbar{gap:9px}.content{padding:20px 14px}}
@media(prefers-reduced-motion:reduce){.admin-panel .admin-card{transition:none}}
