/* =====================================================================
   商枢 Glass Design System · 青瓷夜航
   暗色极光夜航 + 青瓷/朱砂/描金 毛玻璃体系
   适用页面：admin / platform / live_desk / full_demo / demo /
             register / landing(h5) / privacy / terms
   ------------------------------------------------------------------
   实现方式：纯 CSS（backdrop-filter + 多层渐变 + 动画），零外部依赖。
   backdrop-filter 不支持的浏览器自动降级为半透明深色底。
   ===================================================================== */

/* ---------- 主题令牌（按页面作用域覆盖原页面亮色变量） ---------- */
body.gl-admin, body.gl-platform{
  --ink:#e9eff8; --ink3:#8fa3c0; --ink2:#b6c4d8;
  --line:rgba(168,198,255,.16); --line2:rgba(168,198,255,.24);
  --bg:rgba(148,180,225,.055);
  --fire:#ff7a5c; --fire2:#ff5a3c; --celadon:#62d6a8; --gold:#f2c979;
}
body.gl-fulldemo{
  --ink:#e9eff8; --ink2:#b6c4d8; --ink3:#8fa3c0;
  --line:rgba(168,198,255,.16); --line2:rgba(168,198,255,.24);
  --card:rgba(148,180,225,.055); --card2:rgba(148,180,225,.09);
  --paper:transparent; --paper2:transparent;
  --fire:#ff7a5c; --fire2:#ff5a3c; --celadon:#62d6a8; --gold:#f2c979;
}
body.gl-demo{
  --ink:#e9eff8; --ink3:#8fa3c0; --fire:#ff7a5c;
  --celadon:#62d6a8; --line:rgba(168,198,255,.16);
}
body.gl-register{
  --ink:#e9eff8; --ink3:#8fa3c0; --fire:#ff7a5c;
  --celadon:#62d6a8; --line:rgba(168,198,255,.16); --bg:rgba(148,180,225,.055);
}

/* ---------- 基础：深空底色 + 极光 ---------- */
body.gl-admin, body.gl-platform, body.gl-live, body.gl-fulldemo,
body.gl-demo, body.gl-register, body.gl-h5, body.gl-doc{
  background:#070d1a;
  background-image:
    radial-gradient(1100px 640px at 82% -10%, rgba(48,110,205,.24), transparent 62%),
    radial-gradient(900px 620px at -10% 14%, rgba(98,214,168,.12), transparent 58%),
    radial-gradient(860px 640px at 58% 112%, rgba(242,201,121,.08), transparent 62%),
    radial-gradient(720px 480px at 26% 44%, rgba(255,122,92,.06), transparent 60%),
    linear-gradient(160deg,#060b16 0%,#0a1424 46%,#0c1c31 100%);
  background-attachment:fixed;
  color:#e9eff8;
  min-height:100vh;
}
body.gl-doc{ max-width:820px; margin:0 auto; padding:40px 24px 72px; }

/* 漂浮极光光斑（提供 backdrop-filter 可模糊的“内容”） */
body.gl-admin::before, body.gl-platform::before, body.gl-live::before,
body.gl-fulldemo::before, body.gl-demo::before, body.gl-register::before,
body.gl-h5::before, body.gl-doc::before{
  content:""; position:fixed; inset:-12%; z-index:0; pointer-events:none;
  background:
    radial-gradient(38% 34% at 22% 18%, rgba(66,140,255,.20), transparent 68%),
    radial-gradient(30% 30% at 78% 30%, rgba(98,214,168,.14), transparent 68%),
    radial-gradient(34% 32% at 62% 82%, rgba(242,201,121,.12), transparent 68%),
    radial-gradient(26% 26% at 8% 78%, rgba(255,122,92,.10), transparent 66%);
  animation:ss-aurora 26s ease-in-out infinite alternate;
  will-change:transform;
}
@keyframes ss-aurora{
  0%  { transform:translate3d(0,0,0) scale(1); filter:hue-rotate(0deg); }
  45% { transform:translate3d(2.5%,-2%,0) scale(1.06); filter:hue-rotate(8deg); }
  100%{ transform:translate3d(-2%,2.5%,0) scale(1.04); filter:hue-rotate(-6deg); }
}

/* 噪点 + 细网格（质感层） */
body.gl-admin::after, body.gl-platform::after, body.gl-live::after,
body.gl-fulldemo::after, body.gl-demo::after, body.gl-register::after,
body.gl-h5::after, body.gl-doc::after{
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.5;
  background-image:
    linear-gradient(rgba(150,180,230,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,180,230,.045) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:56px 56px, 56px 56px, 9px 9px;
  mix-blend-mode:overlay;
}

/* 让页面内容浮在背景层之上 */
body.gl-admin .wrap, body.gl-admin .main, body.gl-admin .login-wrap,
body.gl-platform .main, body.gl-platform .login-wrap,
body.gl-live .wrap, body.gl-live .top, body.gl-live .wrap,
body.gl-fulldemo .wrap, body.gl-fulldemo .hero, body.gl-fulldemo .nav,
body.gl-demo .wrap, body.gl-register .card,
body.gl-h5 .wrap, body.gl-doc h1, body.gl-doc h2, body.gl-doc p{
  position:relative; z-index:1;
}

/* ---------- 通用玻璃表面 ---------- */
.gl-card, body.gl-admin .login-card, body.gl-admin .card, body.gl-admin .panel,
body.gl-platform .login-card, body.gl-platform .card, body.gl-platform .panel,
body.gl-live .col, body.gl-live .stage-box, body.gl-live .card,
body.gl-live .kv .k, body.gl-live .cmt, body.gl-live .stage-hint,
body.gl-fulldemo .card, body.gl-fulldemo .dual .col, body.gl-fulldemo .wheel,
body.gl-fulldemo .pl, body.gl-fulldemo .tbl,
body.gl-demo .card, body.gl-demo .chat, body.gl-demo .sec, body.gl-demo .msgs,
body.gl-register .card, body.gl-register .result,
body.gl-h5 .form-card, body.gl-h5 .trust div, body.gl-h5 .feats div{
  background:rgba(148,180,225,.055);
  -webkit-backdrop-filter:blur(16px) saturate(150%);
  backdrop-filter:blur(16px) saturate(150%);
  border:1px solid rgba(168,198,255,.16);
  box-shadow:
    0 18px 46px -22px rgba(0,0,0,.65),
    inset 0 1px 0 rgba(255,255,255,.10);
  color:#e9eff8;
}

/* 顶栏 / 导航毛玻璃 */
body.gl-admin .top, body.gl-platform .top{
  position:sticky; top:0; z-index:40;
  background:rgba(10,16,28,.66)!important;
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  backdrop-filter:blur(18px) saturate(160%);
  border-bottom:1px solid rgba(168,198,255,.16);
  color:#e9eff8!important;
  box-shadow:0 10px 30px -18px rgba(0,0,0,.6);
}
body.gl-admin .top .brand, body.gl-platform .top .brand{ color:#f2f6fc; }
body.gl-admin .top small, body.gl-platform .top small{ color:#8fa3c0!important; }
body.gl-admin .top .btn, body.gl-platform .top .btn{
  border-color:rgba(168,198,255,.35); background:rgba(148,180,225,.08);
  color:#dfe8f5;
}
body.gl-admin .top .btn:hover, body.gl-platform .top .btn:hover{
  border-color:#ff7a5c; color:#ff9b83; background:rgba(255,122,92,.08);
}

body.gl-live .top{
  background:rgba(10,16,28,.68)!important;
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  backdrop-filter:blur(18px) saturate(160%);
  border-bottom:1px solid rgba(88,166,255,.18);
}
body.gl-fulldemo .nav{
  position:sticky; top:0; z-index:40;
  background:rgba(10,16,28,.66)!important;
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  backdrop-filter:blur(18px) saturate(160%);
  border-bottom:1px solid rgba(168,198,255,.16);
}
body.gl-fulldemo .nav a{ color:#9fb2cc; }
body.gl-fulldemo .nav a:hover{ color:#ff9b83; }
body.gl-fulldemo .nav a.on{ color:#ff7a5c; border-bottom-color:#ff7a5c; }

/* ---------- 深色输入 / 选择器 ---------- */
body.gl-admin input, body.gl-admin select, body.gl-admin textarea,
body.gl-platform input, body.gl-platform select, body.gl-platform textarea,
body.gl-live input, body.gl-live select, body.gl-live textarea,
body.gl-fulldemo input, body.gl-fulldemo select, body.gl-fulldemo textarea,
body.gl-demo input, body.gl-demo select, body.gl-demo textarea,
body.gl-register input, body.gl-register select, body.gl-register textarea{
  background:rgba(13,22,40,.6)!important;
  border:1px solid rgba(168,198,255,.2)!important;
  color:#e9eff8!important;
  -webkit-appearance:none; appearance:none;
  color-scheme:dark;
}
body.gl-admin input:focus, body.gl-admin select:focus,
body.gl-platform input:focus, body.gl-platform select:focus,
body.gl-live input:focus, body.gl-live select:focus,
body.gl-fulldemo input:focus, body.gl-fulldemo select:focus,
body.gl-demo input:focus, body.gl-demo select:focus,
body.gl-register input:focus, body.gl-register select:focus{
  border-color:#58a6ff!important;
  box-shadow:0 0 0 3px rgba(88,166,255,.18);
  outline:none;
}
select option{ background:#0d1526; color:#dbe4f0; }

/* ---------- 按钮玻璃化 ---------- */
body.gl-admin .done-btn, body.gl-platform .done-btn,
body.gl-fulldemo a, body.gl-demo .qs button{
  background:rgba(148,180,225,.07)!important;
  color:#b6c4d8!important;
}
body.gl-admin .done-btn:hover, body.gl-platform .done-btn:hover{
  background:rgba(98,214,168,.16)!important; color:#62d6a8!important;
}
body.gl-admin .bigbtn, body.gl-platform .bigbtn{
  background:rgba(148,180,225,.06)!important;
  color:#b6c4d8!important;
  border:1px solid rgba(168,198,255,.16)!important;
}
body.gl-admin .bigbtn:hover, body.gl-platform .bigbtn:hover{
  transform:translateY(-2px);
  border-color:#62d6a8!important;
  box-shadow:0 12px 28px -16px rgba(98,214,168,.45);
}
body.gl-admin .bigbtn.danger, body.gl-platform .bigbtn.danger{
  color:#ff8d76!important; border-color:rgba(255,122,92,.5)!important;
}
body.gl-admin .bigbtn.ok, body.gl-platform .bigbtn.ok{
  color:#62d6a8!important; border-color:rgba(98,214,168,.5)!important;
}

/* ---------- 表格 ---------- */
body.gl-admin table, body.gl-platform table, body.gl-fulldemo table,
body.gl-demo table{
  color:#c9d6e8;
}
body.gl-admin th, body.gl-platform th, body.gl-fulldemo th, body.gl-demo th{
  color:#8fa3c0; border-bottom:1px solid rgba(168,198,255,.16);
}
body.gl-admin td, body.gl-platform td, body.gl-fulldemo td, body.gl-demo td{
  border-bottom:1px solid rgba(168,198,255,.1);
}
body.gl-admin tr:hover td, body.gl-platform tr:hover td{
  background:rgba(148,180,225,.06);
}
body.gl-fulldemo section{ background:transparent!important; border-bottom:1px solid rgba(168,198,255,.1); }

/* ---------- 各页面细节修正 ---------- */
/* 管理后台 / 平台 */
body.gl-admin .ten .chip{ background:rgba(148,180,225,.06)!important; border:1px solid rgba(168,198,255,.16); }
body.gl-admin .sw{ background:rgba(148,180,225,.22)!important; }
body.gl-admin .sw.on{ background:#62d6a8!important; }
body.gl-admin .badge.on{ background:rgba(98,214,168,.12); color:#62d6a8; }
body.gl-admin .badge.off{ background:rgba(255,122,92,.12); color:#ff8d76; }
body.gl-admin .funnel .bar{ background:linear-gradient(90deg,#62d6a8,#9ad7c0); }
body.gl-admin .events li{ border-bottom:1px dashed rgba(168,198,255,.14); }
body.gl-admin .foot, body.gl-platform .foot{ color:#6f83a0; }
body.gl-admin .nav{ background:rgba(10,16,28,.5); border-bottom:1px solid rgba(168,198,255,.12); }
body.gl-admin .nav button{ color:#8fa3c0; }
body.gl-admin .nav button.on{ color:#ff9b83; border-bottom-color:#ff7a5c; }

/* 直播伴侣 */
body.gl-live .stage-hint{ background:rgba(13,22,40,.55)!important; }
body.gl-live .trend-bar i{ background:rgba(148,180,225,.12); }
body.gl-live .trend-bar i.hot{ background:#58a6ff; }
body.gl-live .cmt.urgent{ background:rgba(248,81,73,.12)!important; }
body.gl-live .plat-tabs button{
  background:rgba(148,180,225,.07); border:1px solid rgba(168,198,255,.16);
  color:#8fa3c0;
}
body.gl-live .plat-tabs button.on{
  background:linear-gradient(135deg,#58a6ff,#3f7fd8); color:#0b1220; border-color:#58a6ff;
}
body.gl-live .card.script{ border-color:rgba(242,201,121,.5); }
body.gl-live .card.coach{ border-color:rgba(88,166,255,.55); }
body.gl-live .card.alert{ border-color:rgba(255,122,92,.4); }
body.gl-live .btn{ box-shadow:0 8px 22px -10px rgba(63,185,80,.5); }
body.gl-live .btn:hover{ transform:translateY(-1px); }

/* 全功能演示 */
body.gl-fulldemo .hero{
  background:linear-gradient(160deg, rgba(18,28,48,.88), rgba(26,42,72,.72))!important;
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(168,198,255,.14);
}
body.gl-fulldemo .hero .tag{ color:#e8d9b8; border-color:rgba(242,201,121,.4); }
body.gl-fulldemo .card .ic{
  background:rgba(255,255,255,.12)!important; color:#e9eff8!important;
}
body.gl-fulldemo .card .ic.r{ background:rgba(255,122,92,.28)!important; }
body.gl-fulldemo .card .ic.c{ background:rgba(98,214,168,.26)!important; }
body.gl-fulldemo .card .ic.g{ background:rgba(242,201,121,.26)!important; }
body.gl-fulldemo .fl.act{
  background:rgba(255,255,255,.14)!important; color:#e9eff8!important;
}
body.gl-fulldemo .fl{ background:rgba(148,180,225,.06); color:#b6c4d8; }
body.gl-fulldemo .sec-h .no{ color:#ff7a5c; }

/* M0 演示工作台 */
body.gl-demo .head{ border-bottom:2px solid rgba(168,198,255,.2); }
body.gl-demo .head p{ color:#8fa3c0; }
body.gl-demo .msg.user .bubble{
  background:linear-gradient(135deg,#ff7a5c,#e2533c)!important; color:#fff!important;
}
body.gl-demo .msg.ai .bubble{ background:rgba(148,180,225,.12)!important; color:#e9eff8!important; }
body.gl-demo .msg .who{ color:#8fa3c0; }
body.gl-demo .qs button{ border:1px solid rgba(168,198,255,.2)!important; }
body.gl-demo .qs button:hover{ border-color:#ff7a5c!important; color:#ff9b83!important; }
body.gl-demo .inrow button{
  background:linear-gradient(135deg,#ff7a5c,#e2533c); color:#fff; border:none;
}
body.gl-demo .inrow button:hover{ filter:brightness(1.08); }
body.gl-demo .tip{ color:#6f83a0; }
body.gl-demo .card b{ color:#f2c979; }

/* 注册页 */
body.gl-register .card h1{ color:#f2f6fc; }
body.gl-register .card .sub{ color:#8fa3c0; }
body.gl-register label{ color:#9fb2cc!important; }
body.gl-register button:not(.theme-toggle){
  background:linear-gradient(135deg,#ff7a5c,#e2533c)!important;
  color:#fff!important; border:none!important;
}
body.gl-register button:not(.theme-toggle):hover{ filter:brightness(1.08); transform:translateY(-1px); }
body.gl-register .msg.ok{ color:#62d6a8; }
body.gl-register .msg.err{ color:#ff8d76; }
body.gl-register a{ color:#62d6a8; }

/* H5 落地页（本就深色，强化玻璃与动效） */
body.gl-h5{ color:#f4f7fc; }
body.gl-h5 .form-card{
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  backdrop-filter:blur(18px) saturate(160%);
  background:rgba(20,34,58,.42);
}
body.gl-h5 .trust div, body.gl-h5 .feats div{
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
}
body.gl-h5 .sec{ background:none!important; border:none!important; border-radius:0!important; padding:0!important; }
body.gl-h5 .fg input, body.gl-h5 .fg select, body.gl-h5 .fg textarea{
  background:rgba(8,17,32,.72)!important; color:#f4f7fc!important;
}
body.gl-h5 footer{ border-top:1px solid rgba(110,145,200,.22); }

/* 协议 / 隐私文档 */
body.gl-doc{ color:#c9d6e8; line-height:1.9; font-family:"Microsoft YaHei","PingFang SC",sans-serif; }
body.gl-doc h1{ color:#f2c979; font-size:26px; margin-bottom:14px; }
body.gl-doc h2{ color:#62d6a8; font-size:17px; margin-top:26px; }
body.gl-doc p{ font-size:14px; }
body.gl-doc a{ color:#58a6ff; }

/* ---------- 进场动画（交错显现） ---------- */
body.gl-admin .card, body.gl-admin .panel,
body.gl-platform .card, body.gl-platform .panel,
body.gl-fulldemo .card, body.gl-fulldemo .dual .col, body.gl-fulldemo .wheel,
body.gl-demo .card, body.gl-demo .sec,
body.gl-register .card{
  animation:ss-rise .55s cubic-bezier(.22,.68,.35,1) both;
}
body.gl-admin .card:nth-child(1), body.gl-admin .panel:nth-child(1){ animation-delay:.02s }
body.gl-admin .card:nth-child(2), body.gl-admin .panel:nth-child(2){ animation-delay:.07s }
body.gl-admin .card:nth-child(3), body.gl-admin .panel:nth-child(3){ animation-delay:.12s }
body.gl-admin .card:nth-child(4), body.gl-admin .panel:nth-child(4){ animation-delay:.17s }
body.gl-admin .card:nth-child(5), body.gl-admin .panel:nth-child(5){ animation-delay:.22s }
body.gl-admin .card:nth-child(6), body.gl-admin .panel:nth-child(6){ animation-delay:.27s }
body.gl-admin .card:nth-child(7), body.gl-admin .panel:nth-child(7){ animation-delay:.32s }
body.gl-admin .card:nth-child(8), body.gl-admin .panel:nth-child(8){ animation-delay:.37s }
body.gl-platform .card:nth-child(1), body.gl-platform .panel:nth-child(1){ animation-delay:.02s }
body.gl-platform .card:nth-child(2), body.gl-platform .panel:nth-child(2){ animation-delay:.07s }
body.gl-platform .card:nth-child(3), body.gl-platform .panel:nth-child(3){ animation-delay:.12s }
body.gl-platform .card:nth-child(4), body.gl-platform .panel:nth-child(4){ animation-delay:.17s }
body.gl-platform .card:nth-child(5), body.gl-platform .panel:nth-child(5){ animation-delay:.22s }
body.gl-platform .card:nth-child(6), body.gl-platform .panel:nth-child(6){ animation-delay:.27s }
body.gl-platform .card:nth-child(7), body.gl-platform .panel:nth-child(7){ animation-delay:.32s }
body.gl-fulldemo .card:nth-child(1), body.gl-fulldemo .dual .col:nth-child(1){ animation-delay:.03s }
body.gl-fulldemo .card:nth-child(2), body.gl-fulldemo .dual .col:nth-child(2){ animation-delay:.08s }
body.gl-fulldemo .card:nth-child(3){ animation-delay:.13s }
body.gl-fulldemo .card:nth-child(4){ animation-delay:.18s }
body.gl-fulldemo .card:nth-child(5){ animation-delay:.23s }
body.gl-fulldemo .card:nth-child(6){ animation-delay:.28s }
body.gl-demo .card:nth-child(1){ animation-delay:.02s }
body.gl-demo .card:nth-child(2){ animation-delay:.07s }
body.gl-demo .card:nth-child(3){ animation-delay:.12s }
body.gl-demo .card:nth-child(4){ animation-delay:.17s }
body.gl-demo .sec{ animation-delay:.18s }
body.gl-register .card{ animation-delay:.05s }

@keyframes ss-rise{
  from{ opacity:0; transform:translateY(16px); }
  to  { opacity:1; transform:none; }
}

/* ---------- 悬停微交互 ---------- */
body.gl-admin .card:hover, body.gl-platform .card:hover,
body.gl-fulldemo .card:hover, body.gl-demo .card:hover{
  transform:translateY(-4px);
  border-color:rgba(168,198,255,.34);
  box-shadow:
    0 22px 52px -24px rgba(0,0,0,.75),
    0 0 0 1px rgba(98,214,168,.18),
    inset 0 1px 0 rgba(255,255,255,.14);
}
body.gl-live .col, body.gl-live .card{
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
body.gl-live .card:hover{
  border-color:rgba(88,166,255,.5);
  box-shadow:0 14px 34px -18px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.1);
}

/* ---------- 滚动条 / 选区 ---------- */
body.gl-admin ::-webkit-scrollbar, body.gl-platform ::-webkit-scrollbar,
body.gl-live ::-webkit-scrollbar, body.gl-fulldemo ::-webkit-scrollbar,
body.gl-demo ::-webkit-scrollbar, body.gl-register ::-webkit-scrollbar,
body.gl-h5 ::-webkit-scrollbar, body.gl-doc ::-webkit-scrollbar{
  width:9px; height:9px;
}
body.gl-admin ::-webkit-scrollbar-thumb, body.gl-platform ::-webkit-scrollbar-thumb,
body.gl-live ::-webkit-scrollbar-thumb, body.gl-fulldemo ::-webkit-scrollbar-thumb,
body.gl-demo ::-webkit-scrollbar-thumb, body.gl-register ::-webkit-scrollbar-thumb,
body.gl-h5 ::-webkit-scrollbar-thumb, body.gl-doc ::-webkit-scrollbar-thumb{
  background:rgba(148,180,225,.28); border-radius:99px;
}
::selection{ background:rgba(255,122,92,.35); color:#fff; }

/* ---------- 无障碍：减弱动效 ---------- */
@media (prefers-reduced-motion:reduce){
  body.gl-admin *, body.gl-platform *, body.gl-live *, body.gl-fulldemo *,
  body.gl-demo *, body.gl-register *, body.gl-h5 *, body.gl-doc *{
    animation:none!important; transition:none!important;
  }
}

/* =====================================================================
   浅色版 · 宣纸晨光（body.lt 时启用；配合 /assets/theme.js 切换）
   与暗色版同一套毛玻璃体系：晨光极光 + 宣纸底色 + 青瓷/朱砂/描金
   ===================================================================== */

/* ---------- 主题切换按钮（全站右下角悬浮，浅/深两态） ---------- */
.theme-toggle{
  position:fixed;right:18px;bottom:18px;z-index:9999;
  display:inline-flex;align-items:center;gap:7px;padding:9px 15px;border-radius:99px;
  border:1px solid rgba(168,198,255,.28);cursor:pointer;font-size:12.5px;font-family:inherit;
  color:#b6c4d8;background:rgba(13,22,40,.72);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  box-shadow:0 10px 26px -14px rgba(0,0,0,.7);
  transition:.25s;letter-spacing:.04em;
}
.theme-toggle:hover{transform:translateY(-2px);border-color:rgba(242,201,121,.55)}
.theme-toggle .tt-ic{font-size:14px;line-height:1}
body.lt .theme-toggle{
  color:#5d5343!important;background:rgba(255,255,255,.62)!important;
  border:1px solid rgba(140,128,105,.28)!important;
  box-shadow:0 10px 24px -14px rgba(80,60,30,.35);
}

/* ---------- 浅色基础背景 ---------- */
body.gl-admin.lt, body.gl-platform.lt{
  --ink:#2d2a25; --ink2:#5d5343; --ink3:#8a7e6b;
  --fire:#c4452c; --fire2:#a83821; --celadon:#4d8b74; --gold:#a67c2e;
  --line:rgba(140,128,105,.18); --line2:rgba(140,128,105,.3);
  --bg:rgba(255,255,255,.46);
}
body.gl-fulldemo.lt{
  --ink:#2d2a25; --ink2:#5d5343; --ink3:#8a7e6b;
  --fire:#c4452c; --fire2:#a83821; --celadon:#4d8b74; --gold:#a67c2e;
  --line:rgba(140,128,105,.18); --line2:rgba(140,128,105,.3);
  --card:rgba(255,255,255,.46); --card2:rgba(255,255,255,.55);
}
body.gl-demo.lt, body.gl-register.lt{
  --ink:#2d2a25; --ink3:#8a7e6b; --fire:#c4452c;
  --celadon:#4d8b74; --line:rgba(140,128,105,.18);
  --bg:rgba(255,255,255,.46);
}
body.gl-h5.lt{
  --txt:#221b13; --mut:#5d5343; --line:rgba(90,80,60,.22);
  --card:rgba(255,255,255,.55); --card2:rgba(255,255,255,.62);
  --cyan:#0e7490; --gold:#a67c2e; --green:#15803d;
}
body.gl-admin.lt, body.gl-platform.lt, body.gl-live.lt, body.gl-fulldemo.lt,
body.gl-demo.lt, body.gl-register.lt, body.gl-h5.lt, body.gl-doc.lt{
  background:#f6f1e7;
  background-image:
    radial-gradient(1100px 640px at 82% -10%, rgba(120,160,210,.16), transparent 62%),
    radial-gradient(900px 620px at -10% 14%, rgba(93,127,110,.11), transparent 58%),
    radial-gradient(860px 640px at 58% 112%, rgba(166,124,46,.09), transparent 62%),
    radial-gradient(720px 480px at 26% 44%, rgba(196,69,44,.05), transparent 60%),
    linear-gradient(160deg,#faf6ec 0%,#f2ead9 46%,#e8eef5 100%);
  background-attachment:fixed;
  color:#2d2a25;
}
body.gl-doc.lt{ max-width:820px; margin:0 auto; padding:40px 24px 72px; }

/* 浅色极光光斑 */
body.gl-admin.lt::before, body.gl-platform.lt::before, body.gl-live.lt::before,
body.gl-fulldemo.lt::before, body.gl-demo.lt::before, body.gl-register.lt::before,
body.gl-h5.lt::before, body.gl-doc.lt::before{
  background:
    radial-gradient(38% 34% at 22% 18%, rgba(120,160,210,.16), transparent 68%),
    radial-gradient(30% 30% at 78% 30%, rgba(93,127,110,.12), transparent 68%),
    radial-gradient(34% 32% at 62% 82%, rgba(166,124,46,.10), transparent 68%),
    radial-gradient(26% 26% at 8% 78%, rgba(196,69,44,.08), transparent 66%);
}
/* 浅色网格质感 */
body.gl-admin.lt::after, body.gl-platform.lt::after, body.gl-live.lt::after,
body.gl-fulldemo.lt::after, body.gl-demo.lt::after, body.gl-register.lt::after,
body.gl-h5.lt::after, body.gl-doc.lt::after{
  background-image:
    linear-gradient(rgba(90,80,60,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,80,60,.05) 1px, transparent 1px),
    radial-gradient(rgba(80,70,50,.06) 1px, transparent 1px);
}

/* ---------- 浅色玻璃表面 ---------- */
body.lt .gl-card, body.gl-admin.lt .login-card, body.gl-admin.lt .card, body.gl-admin.lt .panel,
body.gl-platform.lt .login-card, body.gl-platform.lt .card, body.gl-platform.lt .panel,
body.gl-live.lt .col, body.gl-live.lt .stage-box, body.gl-live.lt .card,
body.gl-live.lt .kv .k, body.gl-live.lt .cmt, body.gl-live.lt .stage-hint,
body.gl-fulldemo.lt .card, body.gl-fulldemo.lt .dual .col, body.gl-fulldemo.lt .wheel,
body.gl-fulldemo.lt .pl, body.gl-fulldemo.lt .tbl,
body.gl-demo.lt .card, body.gl-demo.lt .chat, body.gl-demo.lt .sec, body.gl-demo.lt .msgs,
body.gl-register.lt .card, body.gl-register.lt .result,
body.gl-h5.lt .form-card, body.gl-h5.lt .trust div, body.gl-h5.lt .feats div{
  background:rgba(255,255,255,.46);
  border:1px solid rgba(140,128,105,.18);
  box-shadow:
    0 18px 46px -24px rgba(90,70,40,.28),
    inset 0 1px 0 rgba(255,255,255,.75);
  color:#2d2a25;
}

/* 浅色顶栏 / 导航 */
body.gl-admin.lt .top, body.gl-platform.lt .top{
  background:rgba(255,253,248,.72)!important;
  border-bottom:1px solid rgba(140,128,105,.16);
  color:#2d2a25!important;
  box-shadow:0 10px 30px -18px rgba(90,70,40,.3);
}
body.gl-admin.lt .top .brand, body.gl-platform.lt .top .brand{ color:#221b13; }
body.gl-admin.lt .top small, body.gl-platform.lt .top small{ color:#8a7e6b!important; }
body.gl-admin.lt .top .btn, body.gl-platform.lt .top .btn{
  border-color:rgba(90,80,60,.3); background:rgba(255,255,255,.5); color:#4a4238;
}
body.gl-admin.lt .top .btn:hover{ border-color:#c4452c; color:#c4452c; background:rgba(196,69,44,.06); }
body.gl-live.lt .top{
  background:rgba(255,255,255,.68)!important;
  border-bottom:1px solid rgba(90,90,110,.16);
}
body.gl-fulldemo.lt .nav{
  background:rgba(255,253,248,.72)!important;
  border-bottom:1px solid rgba(140,128,105,.16);
}
body.gl-fulldemo.lt .nav a{ color:#5d5343; }
body.gl-fulldemo.lt .nav a:hover{ color:#c4452c; }
body.gl-fulldemo.lt .nav a.on{ color:#c4452c; border-bottom-color:#c4452c; }

/* 浅色输入 */
body.gl-admin.lt input, body.gl-admin.lt select, body.gl-admin.lt textarea,
body.gl-platform.lt input, body.gl-platform.lt select, body.gl-platform.lt textarea,
body.gl-live.lt input, body.gl-live.lt select, body.gl-live.lt textarea,
body.gl-fulldemo.lt input, body.gl-fulldemo.lt select, body.gl-fulldemo.lt textarea,
body.gl-demo.lt input, body.gl-demo.lt select, body.gl-demo.lt textarea,
body.gl-register.lt input, body.gl-register.lt select, body.gl-register.lt textarea{
  background:rgba(255,255,255,.6)!important;
  border:1px solid rgba(140,128,105,.26)!important;
  color:#2d2a25!important;
  color-scheme:light;
}
body.gl-admin.lt input:focus, body.gl-admin.lt select:focus,
body.gl-platform.lt input:focus, body.gl-platform.lt select:focus,
body.gl-live.lt input:focus, body.gl-live.lt select:focus,
body.gl-fulldemo.lt input:focus, body.gl-fulldemo.lt select:focus,
body.gl-demo.lt input:focus, body.gl-demo.lt select:focus,
body.gl-register.lt input:focus, body.gl-register.lt select:focus{
  border-color:#4d8b74!important;
  box-shadow:0 0 0 3px rgba(77,139,116,.16);
}
body.lt select option{ background:#faf6ec; color:#2d2a25; }

/* 浅色按钮 */
body.gl-admin.lt .done-btn, body.gl-platform.lt .done-btn,
body.gl-fulldemo.lt a, body.gl-demo.lt .qs button{
  background:rgba(255,255,255,.5)!important; color:#5d5343!important;
}
body.gl-admin.lt .done-btn:hover, body.gl-platform.lt .done-btn:hover{
  background:rgba(77,139,116,.12)!important; color:#4d8b74!important;
}
body.gl-admin.lt .bigbtn, body.gl-platform.lt .bigbtn{
  background:rgba(255,255,255,.5)!important; color:#5d5343!important;
  border:1px solid rgba(140,128,105,.22)!important;
}
body.gl-admin.lt .bigbtn:hover, body.gl-platform.lt .bigbtn:hover{
  border-color:#4d8b74!important;
  box-shadow:0 12px 28px -16px rgba(77,139,116,.4);
}
body.gl-admin.lt .bigbtn.danger, body.gl-platform.lt .bigbtn.danger{
  color:#c4452c!important; border-color:rgba(196,69,44,.45)!important;
}
body.gl-admin.lt .bigbtn.ok, body.gl-platform.lt .bigbtn.ok{
  color:#4d8b74!important; border-color:rgba(77,139,116,.45)!important;
}

/* 浅色表格 */
body.gl-admin.lt table, body.gl-platform.lt table, body.gl-fulldemo.lt table,
body.gl-demo.lt table{ color:#3d3a34; }
body.gl-admin.lt th, body.gl-platform.lt th, body.gl-fulldemo.lt th, body.gl-demo.lt th{
  color:#6b665e; border-bottom:1px solid rgba(140,128,105,.18);
}
body.gl-admin.lt td, body.gl-platform.lt td, body.gl-fulldemo.lt td, body.gl-demo.lt td{
  border-bottom:1px solid rgba(140,128,105,.12);
}
body.gl-admin.lt tr:hover td, body.gl-platform.lt tr:hover td{
  background:rgba(93,127,110,.07);
}
body.gl-fulldemo.lt section{ border-bottom:1px solid rgba(140,128,105,.12); }

/* ---------- 各页面浅色细节 ---------- */
body.gl-admin.lt .ten .chip{ background:rgba(255,255,255,.5)!important; border:1px solid rgba(140,128,105,.2); }
body.gl-admin.lt .sw{ background:rgba(90,80,60,.2)!important; }
body.gl-admin.lt .sw.on{ background:#4d8b74!important; }
body.gl-admin.lt .badge.on{ background:rgba(77,139,116,.12); color:#4d8b74; }
body.gl-admin.lt .badge.off{ background:rgba(196,69,44,.1); color:#c4452c; }
body.gl-admin.lt .funnel .bar{ background:linear-gradient(90deg,#4d8b74,#9ab8a9); }
body.gl-admin.lt .events li{ border-bottom:1px dashed rgba(140,128,105,.18); }
body.gl-admin.lt .foot, body.gl-platform.lt .foot{ color:#8a7e6b; }
body.gl-admin.lt .nav{ background:rgba(255,255,255,.5); border-bottom:1px solid rgba(140,128,105,.12); }
body.gl-admin.lt .nav button{ color:#8a7e6b; }
body.gl-admin.lt .nav button.on{ color:#c4452c; border-bottom-color:#c4452c; }

body.gl-live.lt .stage-hint{ background:rgba(255,255,255,.55)!important; }
body.gl-live.lt .trend-bar i{ background:rgba(90,90,110,.12); }
body.gl-live.lt .trend-bar i.hot{ background:#2f6fd6; }
body.gl-live.lt .cmt.urgent{ background:rgba(209,52,56,.1)!important; }
body.gl-live.lt .plat-tabs button{
  background:rgba(255,255,255,.55); border:1px solid rgba(90,90,110,.18); color:#5d5343;
}
body.gl-live.lt .plat-tabs button.on{
  background:linear-gradient(135deg,#2f6fd6,#2456a8); color:#fff; border-color:#2f6fd6;
}
body.gl-live.lt .card.script{ border-color:rgba(160,103,0,.45); }
body.gl-live.lt .card.coach{ border-color:rgba(47,111,214,.5); }
body.gl-live.lt .card.alert{ border-color:rgba(209,52,56,.4); }
body.gl-live.lt .stats b{ color:#24292f; }
body.gl-live.lt .stats{ color:#5d5343; }
body.gl-live.lt .logo b{ color:#2f6fd6; }
body.gl-live.lt .flow-num{ color:#2f6fd6; }
body.gl-live.lt .stage-cn{ color:#a06700; }
body.gl-live.lt .pri-P0{ color:#d13438; } body.gl-live.lt .pri-P1{ color:#a06700; }

body.gl-fulldemo.lt .hero{
  background:linear-gradient(160deg, rgba(255,253,248,.9), rgba(240,232,214,.72))!important;
  border-bottom:1px solid rgba(140,128,105,.14);
  color:#221b13;
}
body.gl-fulldemo.lt .hero .tag{ color:#8a6d1f; border-color:rgba(166,124,46,.45); }
body.gl-fulldemo.lt .hero .sub{ color:#5d5343; }
body.gl-fulldemo.lt .hero .meta span{ color:#6b665e; background:rgba(255,255,255,.5); border-color:rgba(140,128,105,.2); }
body.gl-fulldemo.lt .hero::after{ color:rgba(34,27,19,.04); }
body.gl-fulldemo.lt .card .ic{
  background:rgba(140,120,90,.14)!important; color:#3d3a34!important;
}
body.gl-fulldemo.lt .card .ic.r{ background:rgba(196,69,44,.16)!important; }
body.gl-fulldemo.lt .card .ic.c{ background:rgba(77,139,116,.16)!important; }
body.gl-fulldemo.lt .card .ic.g{ background:rgba(166,124,46,.16)!important; }
body.gl-fulldemo.lt .fl.act{
  background:rgba(34,27,19,.78)!important; color:#f6f1e7!important;
}
body.gl-fulldemo.lt .fl{ background:rgba(255,255,255,.5); color:#5d5343; }
body.gl-fulldemo.lt .sec-h .no{ color:#c4452c; }
body.gl-fulldemo.lt .pl .d{ color:#8a7e6b; }
body.gl-fulldemo.lt .pl::after{ color:#a67c2e; }

body.gl-demo.lt .head{ border-bottom:2px solid rgba(140,128,105,.22); }
body.gl-demo.lt .head p{ color:#8a7e6b; }
body.gl-demo.lt .msg.user .bubble{
  background:linear-gradient(135deg,#c4452c,#a83821)!important; color:#fff!important;
}
body.gl-demo.lt .msg.ai .bubble{ background:rgba(255,255,255,.55)!important; color:#2d2a25!important; }
body.gl-demo.lt .msg .who{ color:#8a7e6b; }
body.gl-demo.lt .qs button{ border:1px solid rgba(140,128,105,.24)!important; }
body.gl-demo.lt .qs button:hover{ border-color:#c4452c!important; color:#c4452c!important; }
body.gl-demo.lt .inrow button{
  background:linear-gradient(135deg,#c4452c,#a83821); color:#fff; border:none;
}
body.gl-demo.lt .tip{ color:#8a7e6b; }
body.gl-demo.lt .card b{ color:#a67c2e; }

body.gl-register.lt .card h1{ color:#221b13; }
body.gl-register.lt .card .sub{ color:#8a7e6b; }
body.gl-register.lt label{ color:#6b665e!important; }
body.gl-register.lt .msg.ok{ color:#4d8b74; }
body.gl-register.lt .msg.err{ color:#c4452c; }
body.gl-register.lt a{ color:#4d8b74; }

body.gl-h5.lt{ color:#221b13; }
body.gl-h5.lt .form-card{
  background:rgba(255,255,255,.55);
}
body.gl-h5.lt .sec-tag{ color:#8a7e6b; }
body.gl-h5.lt .hero .kicker{ color:#0e7490; }
body.gl-h5.lt .hero p{ color:#5d5343; }
body.gl-h5.lt .hero p[style]{ color:#0e7490!important; }
body.gl-h5.lt .btn.ghost{ border-color:rgba(90,80,60,.28); color:#3d3a34; background:rgba(255,255,255,.5); }
body.gl-h5.lt .btn.ghost:hover{ border-color:#0e7490; color:#0e7490; }
body.gl-h5.lt .trust b{ color:#2d2a25; }
body.gl-h5.lt .trust div, body.gl-h5.lt .feats div{ color:#5d5343; }
body.gl-h5.lt .feats b{ color:#2d2a25; }
body.gl-h5.lt .sec .sub{ color:#8a7e6b; }
body.gl-h5.lt .fg label{ color:#6b665e!important; }
body.gl-h5.lt .fg input, body.gl-h5.lt .fg select, body.gl-h5.lt .fg textarea{
  background:rgba(255,255,255,.68)!important; color:#2d2a25!important;
}
body.gl-h5.lt .fg input:focus, body.gl-h5.lt .fg select:focus{ border-color:#0e7490!important; }
body.gl-h5.lt .note{ color:#8a7e6b; }
body.gl-h5.lt footer{ color:#8a7e6b; border-top:1px solid rgba(90,80,60,.15); }
body.gl-h5.lt footer b{ color:#2d2a25; }
body.gl-h5.lt .bg::before{
  background:
    radial-gradient(600px 340px at 85% -5%, rgba(120,160,210,.18), transparent 60%),
    radial-gradient(520px 360px at -10% 105%, rgba(166,124,46,.12), transparent 60%);
}
body.gl-h5.lt .bg::after{ background-image:
  linear-gradient(rgba(90,80,60,.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(90,80,60,.05) 1px, transparent 1px); }

body.gl-doc.lt{ color:#3d3a34; }
body.gl-doc.lt h1{ color:#a67c2e; }
body.gl-doc.lt h2{ color:#4d8b74; }
body.gl-doc.lt a{ color:#2f6fd6; }

/* 浅色滚动条 / 选区 */
body.lt ::-webkit-scrollbar-thumb{ background:rgba(120,100,70,.25); }
body.lt ::selection{ background:rgba(196,69,44,.22); color:#221b13; }

/* 浅色减弱动效 */
@media (prefers-reduced-motion:reduce){
  body.lt *{ animation:none!important; transition:none!important; }
}
