
:root {
    --theme-primary: #d4a65f;
    --theme-title: #f3eee5;
    --theme-text: #d0c8bd;
    --theme-muted: #9a9287;
}

/* theme: midnight 深灰夜间阅读 精修版：真实资讯站质感，弱化AI模板感 */
:root{--gp-accent:#d4a65f;--gp-accent2:#69717b;--gp-bg1:#17191c;--gp-bg2:#202328;--gp-dark:#f3eee5;}
body.gp-theme-midnight{
    background:linear-gradient(180deg,#151719 0%,#1c1f23 100%);
    color:#f3eee5;
    text-rendering:optimizeLegibility;
}
body.gp-theme-midnight:before{
    opacity:.045;
    background-size:42px 42px;
}
body.gp-theme-midnight a{transition:color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;}
body.gp-theme-midnight a:hover{color:#f0c77d;}
body.gp-theme-midnight gp-wrap{width:min(1180px,calc(100% - 32px));}
body.gp-theme-midnight gp-skybar{
    background:rgba(22,24,27,.96);
    border-bottom:1px solid rgba(255,255,255,.085);
    box-shadow:0 2px 12px rgba(0,0,0,.18);
    backdrop-filter:blur(12px);
}
body.gp-theme-midnight gp-skybar gp-wrap{min-height:64px;}
body.gp-theme-midnight gp-slogan{color:#9a9287;}
body.gp-theme-midnight .gp-logo{color:#d4a65f;letter-spacing:.2px;}
body.gp-theme-midnight .gp-logo:after{height:7px;background:rgba(212,166,95,.20);opacity:.82;}
body.gp-theme-midnight gp-navflow{gap:7px;}
body.gp-theme-midnight gp-navflow a{
    background:#23262b;
    color:#d0c8bd;
    border:1px solid rgba(255,255,255,.08);
    border-radius:999px;
    box-shadow:0 1px 0 rgba(255,255,255,.02);
}
body.gp-theme-midnight gp-navflow a:hover{background:#2a2e34;color:#f0c77d;border-color:rgba(212,166,95,.28);}
body.gp-theme-midnight gp-hero{padding:34px 0 22px;}
body.gp-theme-midnight gp-hero-grid,body.gp-theme-midnight gp-pagegrid{gap:20px;}
body.gp-theme-midnight gp-hero-main,
body.gp-theme-midnight gp-hero-side,
body.gp-theme-midnight gp-panel,
body.gp-theme-midnight gp-sidebox,
body.gp-theme-midnight gp-article-shell,
body.gp-theme-midnight gp-hot-hero,
body.gp-theme-midnight gp-hot-card,
body.gp-theme-midnight gp-hot-side-card{
    background:#202327;
    border:1px solid rgba(255,255,255,.085);
    border-radius:22px;
    box-shadow:0 10px 28px rgba(0,0,0,.28);
}
body.gp-theme-midnight gp-hero-main:before,
body.gp-theme-midnight gp-panel:before,
body.gp-theme-midnight gp-sidebox:before,
body.gp-theme-midnight gp-article-shell:before,
body.gp-theme-midnight gp-hot-hero:before,
body.gp-theme-midnight gp-hot-card:before,
body.gp-theme-midnight gp-hot-side-card:before{display:none;}
body.gp-theme-midnight gp-hero-main{
    padding:32px 34px;
    background:linear-gradient(180deg,#202327 0%,#1e2125 100%);
    border-top:3px solid #d4a65f;
}
body.gp-theme-midnight gp-hero-side{
    padding:24px;
    background:#24272c;
    border-top:3px solid #69717b;
}
body.gp-theme-midnight gp-hero-side strong{color:#f3eee5;}
body.gp-theme-midnight gp-hero-side span{color:#d0c8bd;}
body.gp-theme-midnight gp-hero-main h1,
body.gp-theme-midnight gp-subhero h1,
body.gp-theme-midnight gp-panel-title h2,
body.gp-theme-midnight gp-sidebox h2,
body.gp-theme-midnight .story-title,
body.gp-theme-midnight .trend-title,
body.gp-theme-midnight gp-article-body h2,
body.gp-theme-midnight gp-hot-hero h1{color:#f3eee5;}
body.gp-theme-midnight gp-hero-main p,
body.gp-theme-midnight gp-subhero p,
body.gp-theme-midnight gp-story-card p,
body.gp-theme-midnight gp-sidebox p,
body.gp-theme-midnight gp-article-body p,
body.gp-theme-midnight gp-trend-card p{color:#d0c8bd;}
body.gp-theme-midnight gp-kicker,
body.gp-theme-midnight gp-story-meta b,
body.gp-theme-midnight gp-article-meta b,
body.gp-theme-midnight gp-trend-head b{
    background:rgba(212,166,95,.13);
    color:#f0c77d;
    border:1px solid rgba(212,166,95,.22);
}
body.gp-theme-midnight gp-panel-title,
body.gp-theme-midnight gp-article-meta{border-color:rgba(255,255,255,.085);}
body.gp-theme-midnight gp-panel-title span,
body.gp-theme-midnight gp-story-meta i,
body.gp-theme-midnight gp-trend-head time,
body.gp-theme-midnight gp-time-dot time{color:#9a9287;}
body.gp-theme-midnight gp-entry-matrix{gap:13px;}
body.gp-theme-midnight gp-entry-matrix a,
body.gp-theme-midnight gp-trend-card{
    background:linear-gradient(180deg,#23262b,#202327);
    border:1px solid rgba(255,255,255,.085);
    border-radius:17px;
    box-shadow:0 1px 0 rgba(255,255,255,.02);
}
body.gp-theme-midnight gp-entry-matrix a:hover,
body.gp-theme-midnight gp-trend-card:hover{
    transform:translateY(-2px);
    border-color:rgba(212,166,95,.25);
    box-shadow:0 12px 26px rgba(0,0,0,.36);
}
body.gp-theme-midnight gp-entry-matrix strong{color:#f3eee5;}
body.gp-theme-midnight gp-entry-matrix em{color:#9a9287;}
body.gp-theme-midnight gp-story-card,
body.gp-theme-midnight gp-mini-feed a,
body.gp-theme-midnight gp-faq-node{border-color:rgba(255,255,255,.08);}
body.gp-theme-midnight gp-word-ring a{
    background:#282b30;
    color:#d0c8bd;
    border:1px solid rgba(255,255,255,.08);
}
body.gp-theme-midnight gp-word-ring a:hover{background:#2d3036;color:#f0c77d;border-color:rgba(212,166,95,.25);}
body.gp-theme-midnight gp-hero-actions a{
    background:#d4a65f;
    color:#191715;
    border:1px solid #d4a65f;
    box-shadow:0 8px 18px rgba(0,0,0,.28);
}
body.gp-theme-midnight gp-hero-actions a:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(0,0,0,.36);}
body.gp-theme-midnight gp-hero-actions a + a{background:#30343a;color:#f3eee5;border-color:rgba(255,255,255,.09);box-shadow:none;}
body.gp-theme-midnight gp-time-river:before,
body.gp-theme-midnight gp-time-river.real-timeline::before{background:rgba(212,166,95,.22)!important;}
body.gp-theme-midnight gp-time-dot:before{
    background:#d4a65f!important;
    border-color:#302b23!important;
    box-shadow:0 0 0 1px rgba(255,255,255,.085)!important;
}
body.gp-theme-midnight gp-time-label{background:rgba(212,166,95,.13)!important;color:#f0c77d!important;border:1px solid rgba(212,166,95,.22)!important;}
body.gp-theme-midnight gp-time-dot a{color:#f3eee5!important;}
body.gp-theme-midnight gp-time-dot a:hover{color:#f0c77d!important;}
body.gp-theme-midnight gp-time-dot p{color:#d0c8bd!important;}
body.gp-theme-midnight gp-article-lead{
    background:#292927;
    color:#dfd4c4;
    border:1px solid rgba(212,166,95,.16);
    border-radius:16px;
}
body.gp-theme-midnight gp-hot-crumbs span,
body.gp-theme-midnight gp-hot-meta span,
body.gp-theme-midnight gp-hot-tag-box span{background:rgba(212,166,95,.13);color:#f0c77d;border:1px solid rgba(212,166,95,.22);}
body.gp-theme-midnight .gp-lang-switch{
    background:#23262b;
    color:#f0c77d;
    border:1px solid rgba(212,166,95,.28);
    box-shadow:0 1px 0 rgba(255,255,255,.02);
}
body.gp-theme-midnight .gp-lang-switch:hover{background:#2a2e34;box-shadow:0 8px 18px rgba(0,0,0,.36);}
body.gp-theme-midnight gp-hot-image{background:#24272c;border-color:rgba(255,255,255,.085);}
body.gp-theme-midnight gp-footrealm{background:#111315;color:#a9a39a;}
body.gp-theme-midnight gp-footlinks a{color:#eee7dc;}
body.gp-theme-midnight .gp-icp{color:#9a9287;}
@media (max-width:860px){
    body.gp-theme-midnight gp-wrap{width:min(100% - 24px,1180px);}
    body.gp-theme-midnight gp-hero-main{padding:24px 22px;}
    body.gp-theme-midnight gp-panel,body.gp-theme-midnight gp-sidebox,body.gp-theme-midnight gp-article-shell{padding:18px;border-radius:18px;}
    body.gp-theme-midnight gp-navflow a{padding:6px 10px;}
}
