/* ============================================================
   龙辉内页统一皮肤 v3 · 严格对齐首页色板（首页实际令牌）
   底 #0F0A0C / 面板渐变 #190F13→#120C0E / 描边 rgba(255,138,46,.22)
   主色 #FF8A2E / 亮橙 #FFA94D / 文字 #EDE0DC / 次要 #A88B8E
   2026-11-10 · 五虎将1号位
   ============================================================ */
:root{
  --lh-bg:#0F0A0C; --lh-bg2:#120C0E; --lh-card:#190F13; --lh-card2:#241319;
  --lh-line:rgba(255,138,46,.22); --lh-line2:rgba(255,138,46,.16);
  --lh-accent:#FF8A2E; --lh-accent-l:#FFA94D;
  --lh-text:#EDE0DC; --lh-mut:#A88B8E;
  --lh-ok:#58B36A; --lh-bad:#E5484D; --lh-info:#5C9BE0;

  --green:#FFA94D; --green-d:#FF8A2E; --green-l:#241319;
  --orange:#FF8A2E; --orange-l:#241319;
  --primary:#FF8A2E; --primary-d:#B85706;
  --ink:#EDE0DC; --mut:#A88B8E; --line:rgba(255,138,46,.22); --bg:#0F0A0C;
  --txt:#EDE0DC; --sub:#A88B8E; --card:#190F13; --panel:#120C0E;
  --blue:#5C9BE0; --red:#E5484D; --gray:#8D7F79; --purple:#B086B0;
}

/* 基底 */
html{background:var(--lh-bg)!important}
body{
  background:var(--lh-bg)!important;
  background-image:radial-gradient(1200px 620px at 50% -260px,rgba(255,138,46,.16),transparent 70%)!important;
  color:var(--lh-text)!important;
}
::selection{background:rgba(255,138,46,.35);color:#fff}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#120C0E}
::-webkit-scrollbar-thumb{background:rgba(255,138,46,.16);border-radius:6px}

/* 侧栏 */
.side{background:linear-gradient(180deg,#120C0E,#0F0A0C)!important;border-right:1px solid var(--lh-line)!important;color:var(--lh-text)!important}
.side .brand{border-bottom:1px solid var(--lh-line)!important;background:transparent!important}
.side .brand b,.side .logo{color:#FFA94D!important}
.side .brand small{color:var(--lh-mut)!important}
.side .nav-group{color:var(--lh-accent-l)!important;opacity:.8}
.side .nav-item{color:var(--lh-text)!important}
.side .nav-item:hover{background:rgba(255,138,46,.16)!important;color:#fff!important}
.side .nav-item.on{background:linear-gradient(135deg,#FF8A2E,#FFA94D)!important;color:#fff!important;font-weight:700;box-shadow:0 6px 18px -8px rgba(255,138,46,.9)}
.side .nav-foot{color:var(--lh-mut)!important;border-top:1px solid var(--lh-line)!important}

/* 顶栏 / 导航条 */
.topbar,.navbar{background:linear-gradient(90deg,rgba(28,18,14,.96),rgba(21,13,16,.96))!important;border-bottom:1px solid var(--lh-line)!important;color:var(--lh-text)!important;box-shadow:0 1px 0 rgba(255,138,46,.10)}
.topbar h1,.navbar .brand{color:#FFA94D!important}
.topbar .who,.topbar .mut,.navbar .who{color:var(--lh-mut)!important;background:transparent!important}
.topbar .tlink,.navbar a{color:var(--lh-accent-l)!important}

/* 卡片 / 面板 */
.card,.panel,.box,.widget,.section,.kpi,.info-item,.link-card{
  background:linear-gradient(180deg,#190F13,#17100E)!important;
  border:1px solid var(--lh-line)!important;border-radius:10px;
  color:var(--lh-text)!important;
  box-shadow:0 10px 30px -22px rgba(0,0,0,.9),inset 0 1px 0 rgba(255,255,255,.03)
}
.card-header{background:rgba(255,138,46,.08)!important;background-image:none!important;border-bottom:1px solid var(--lh-line)!important;color:#F4E6DC!important}
.kpi{border-top:3px solid var(--lh-accent)!important}
.kpi .num{color:#FFA94D!important}
.kpi .num.or,.kpi .num.orange{color:var(--lh-accent)!important}
.kpi .lab,.kpi small{color:var(--lh-mut)!important}

/* 文字 */
h1{color:#FFA94D!important}
h2,h3,h4{color:#F4E6DC!important}
a{color:var(--lh-accent-l)!important;text-decoration:none}
a:hover{color:#fff!important}
small,.muted,.sub,.desc{color:var(--lh-mut)}
.label,.lab{color:var(--lh-mut)}
.value,.val{color:#FFA94D!important}
b,strong{color:#F4E6DC}

/* 表格 */
table{background:transparent!important;color:var(--lh-text)!important}
table th{background:#241715!important;color:#FFA94D!important;font-weight:600;border-color:var(--lh-line)!important}
table td{background:transparent!important;color:#DCCDC4!important;border-color:#2C1E18!important}
table tr:nth-child(even) td{background:rgba(255,255,255,.025)!important}
table tr:hover td{background:rgba(255,138,46,.08)!important}
.tablewrap,.tab-wrap{background:#120C0E!important;border:1px solid var(--lh-line)!important;border-radius:10px;overflow-x:auto!important;max-width:100%!important}

/* 表单 */
input,select,textarea{background:#1D1412!important;color:#F5E9E2!important;border:1px solid #47332B!important;border-radius:8px}
input::placeholder,textarea::placeholder{color:#8A7570!important}
input:focus,select:focus,textarea:focus{border-color:var(--lh-accent)!important;outline:none!important;box-shadow:0 0 0 3px rgba(255,138,46,.18)!important}
input[type=checkbox],input[type=radio]{accent-color:var(--lh-accent)}

/* 按钮 */
button,.btn{border-radius:8px}
.btn-primary,.primary,.btn-main{background:linear-gradient(135deg,#FF8A2E,#FFA94D)!important;color:#fff!important;border:0!important;box-shadow:0 8px 20px -10px rgba(255,138,46,.95)}
.btn-ghost,.btn-outline{background:transparent!important;color:var(--lh-accent-l)!important;border:1px solid var(--lh-line2)!important}

/* 徽章 / 标签 */
.badge,.tag,.chip,.pill,.status-tag{background:rgba(255,138,46,.12)!important;color:#FFA94D!important;border:1px solid rgba(255,138,46,.30)!important;border-radius:999px!important}
.badge.ok,.tag.ok,.status-tag.ok{background:rgba(88,179,106,.14)!important;color:#7FD08D!important;border-color:rgba(88,179,106,.34)!important}

/* 提示条 */
.tip,.notice,.banner,.alert,.bar,.bar-demo{background:rgba(255,138,46,.10)!important;border:1px solid rgba(255,138,46,.28)!important;color:#F3DCC6!important;border-radius:10px}

/* 窄屏兜底 */
.main{min-width:0!important}
.card{max-width:100%!important}
@media (max-width:820px){
  html,body{overflow-x:hidden}
  .card,.panel{width:100%!important;max-width:100%!important;overflow-x:auto!important}
  .side{width:100%!important}
}



/* 层级：标题橙、正文暖白、链接暖白 hover 橙 */
html body h1,html body h2,html body h3,html body h4,html body .section-title.section-title,html body .cat-label,html body .card-header .t{color:#FFA94D!important}
a,.link,.link-card{color:#DCCDC4!important}
a:hover,.link:hover{color:#FFA94D!important}

html body .section-title.section-title,html body .section-title.section-title *,html body .cat-label,html body .cat-title{color:#FFA94D!important;font-weight:700}
.section-title{border-left:3px solid #FF8A2E;padding-left:10px}

/* 站名/品牌字统一主色（登录页标题、203 站名等写死绿色的地方） */
html body .logo.logo,html body .logo.logo *,html body .brand.brand,html body .brand.brand *,html body .h1.h1{color:#FFA94D!important}

/* 卡片标题前的绿色小色条统一为橙色 */
html body .card-header.card-header::before,
html body .sec-h.sec-h::before,
html body .panel-title.panel-title::before,
html body .mod-title.mod-title::before{background:#FF8A2E!important;box-shadow:0 0 8px rgba(255,138,46,.55)!important}

/* 首页同款面板质感：上下双色渐变 + 橙色细描边 + 内发光 */
html body .card,html body .panel,html body .box,html body .section-inner{
  border:1px solid rgba(255,138,46,.20)!important;
  background:linear-gradient(180deg,#190F13,#120C0E)!important;
  box-shadow:inset 0 0 0 1px rgba(255,138,46,.05),0 10px 26px rgba(0,0,0,.32)!important;
}
html body .card:hover,html body .panel:hover{
  border-color:rgba(255,138,46,.42)!important;
  box-shadow:inset 0 0 0 1px rgba(255,138,46,.10),0 14px 32px rgba(0,0,0,.40),0 0 26px rgba(255,138,46,.08)!important;
}

/* 卡片顶部 3px 彩色条（伪元素）统一为橙色渐变 */
html body div[class*="kpi"]::before,
html body div[class*="stat"]::before,
html body div[class*="metric"]::before,
html body div[class*="indicator"]::before{background:linear-gradient(90deg,#FF8A2E,#FFA94D)!important;box-shadow:0 0 10px rgba(255,138,46,.45)!important}
html body div[class*="kpi"],html body div[class*="stat"],html body div[class*="metric"]{border-top-color:rgba(255,138,46,.22)!important}
