/* =========================================================
 * WeiDock 主样式
 * ========================================================= */

:root{
    --primary:#FFC107;
    --primary-dark:#FFA000;
    --ink:#17181C;
    --ink-2:#5A5F6B;
    --ink-3:#9AA0AC;
    --line:#ECEEF2;
    --bg:#F6F7F9;
    --card:#FFFFFF;
    --radius:18px;
    --ease:cubic-bezier(.22,1,.36,1);

    --sb-size:10px;
    --sb-track:#F1F2F5;
    --sb-thumb:#D5D8DE;
    --sb-thumb-hover:#B5BAC1;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-x:hidden;}
body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Roboto,sans-serif;
    background:var(--bg);
    color:var(--ink);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    padding-top:66px;
    transition:background-color .3s var(--ease),color .3s var(--ease);
}
a{text-decoration:none;color:inherit;}
img{display:block;max-width:100%;height:auto;}
ul,ol{list-style:none;}

.screen-reader-text{
    position:absolute!important;
    width:1px;height:1px;
    overflow:hidden;clip:rect(1px,1px,1px,1px);
    white-space:nowrap;
}

/* =========================================================
 * 进度条
 * ========================================================= */
.progress-track{
    position:fixed;top:0;left:0;right:0;
    height:4px;background:rgba(0,0,0,.05);
    z-index:9999;pointer-events:none;
}
.progress-bar{
    height:100%;width:0%;
    background:linear-gradient(90deg,#FFC107 0%,#FF8A00 45%,#FF3D71 100%);
    border-radius:0 4px 4px 0;
    box-shadow:0 0 14px rgba(255,138,0,.6);
    transition:width .08s linear;
}
.progress-badge{
    position:fixed;top:14px;right:22px;z-index:9998;
    background:rgba(23,24,28,.82);color:#fff;
    font-size:11px;font-weight:700;letter-spacing:.5px;
    padding:5px 11px;border-radius:20px;
    backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
    opacity:0;transform:translateY(-8px);
    transition:opacity .3s,transform .3s;
    pointer-events:none;font-variant-numeric:tabular-nums;
}
.progress-badge.show{opacity:1;transform:translateY(0);}

/* =========================================================
 * 导航栏（fixed + 滚动跟随）
 * ========================================================= */
.navbar{
    position:fixed;
    top:0;left:0;right:0;
    z-index:9990;
    background:rgba(255,255,255,.78);
    backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
    border-bottom:1px solid var(--line);
    transition:transform .32s var(--ease), box-shadow .3s;
    will-change:transform;
}
.navbar.scrolled{box-shadow:0 4px 24px rgba(0,0,0,.06);}
.navbar.is-hidden{transform:translateY(-100%);}

.nav-inner{
    max-width:1240px;margin:0 auto;padding:0 28px;
    height:66px;display:flex;align-items:center;
    justify-content:space-between;gap:24px;
}
.logo{
    display:flex;align-items:center;gap:10px;
    font-size:19px;font-weight:800;
    letter-spacing:-.4px;flex-shrink:0;
}
.logo-mark{
    width:34px;height:34px;border-radius:11px;
    background:linear-gradient(135deg,#FFC107,#FF8A00);
    display:grid;place-items:center;
    color:#fff;font-size:17px;font-weight:900;
    box-shadow:0 4px 12px rgba(255,167,0,.35);
    flex-shrink:0;
}
.nav-menu{
    flex:1;
    display:flex;
    justify-content:center;
    min-width:0;
}
.nav-menu-list{display:flex;gap:2px;}
.nav-menu-list li{position:relative;}
.nav-menu-list li a{
    display:block;padding:8px 15px;border-radius:10px;
    font-size:16px;font-weight:500;color:var(--ink-2);
    transition:.25s var(--ease);white-space:nowrap;
}
.nav-menu-list li a:hover,
.nav-menu-list li.current-menu-item > a,
.nav-menu-list li.current_page_item > a{
    color:var(--ink);background:#F1F2F5;
}
.nav-menu-list .sub-menu{
    position:absolute;top:100%;left:0;min-width:180px;
    background:#fff;border:1px solid var(--line);
    border-radius:12px;padding:6px;box-shadow:0 12px 32px -10px rgba(0,0,0,.14);
    opacity:0;visibility:hidden;transform:translateY(6px);
    transition:.25s var(--ease);
}
.nav-menu-list li:hover > .sub-menu{opacity:1;visibility:visible;transform:translateY(4px);}

.nav-right{display:flex;align-items:center;gap:10px;flex-shrink:0;}

/* =========================================================
 * 搜索框 —— PC 端：图标 + 下拉浮层
 * ========================================================= */
.nav-search{
    position:relative;
    flex-shrink:0;
    width:40px;
    height:40px;
}

/* 图标按钮（始终可见） */
.nav-search__toggle{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border:1px solid transparent;
    border-radius:50%;
    background:#F1F2F5;
    color:var(--ink-3);
    cursor:pointer;
    padding:0;
    transition:.25s var(--ease);
}
.nav-search__toggle:hover{
    background:#FFF9E6;
    border-color:var(--primary);
    color:var(--ink);
}
.nav-search__toggle:active{
    transform:scale(.95);
}
.nav-search.is-open .nav-search__toggle{
    background:var(--primary);
    border-color:var(--primary);
    color:var(--ink);
}

/* 下拉面板（PC 端：绝对定位在图标下方） */
.nav-search__panel{
    position:absolute;
    top:calc(100% + 12px);
    right:0;
    z-index:100;

    display:flex;
    align-items:center;
    gap:6px;

    width:320px;
    padding:6px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    box-shadow:0 16px 40px -12px rgba(23,24,28,.18);

    opacity:0;
    visibility:hidden;
    transform:translateY(-6px);
    pointer-events:none;
    transition:opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-search.is-open .nav-search__panel{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
}

/* 小三角 */
.nav-search__panel::before{
    content:"";
    position:absolute;
    top:-6px;
    right:20px;
    width:10px;
    height:10px;
    background:#fff;
    border-left:1px solid var(--line);
    border-top:1px solid var(--line);
    transform:rotate(45deg);
}

.nav-search__input{
    display:flex;
    align-items:center;
    flex:1;
    min-width:0;
    padding:6px 10px;
    background:#FAFBFC;
    border:1px solid var(--line);
    border-radius:10px;
}
.nav-search__input input[type="search"]{
    border:none;
    background:transparent;
    outline:none;
    font-size:14px;
    width:100%;
    min-width:0;
    color:var(--ink);
    font-family:inherit;
}
.nav-search__input input[type="search"]::placeholder{
    color:var(--ink-3);
}

.nav-search__btn{
    flex-shrink:0;
    padding:8px 18px;
    border:none;
    border-radius:10px;
    background:var(--ink);
    color:#fff;
    font-size:13px;
    font-weight:600;
    font-family:inherit;
    cursor:pointer;
    transition:.25s var(--ease);
    white-space:nowrap;
    line-height:1.4;
}
.nav-search__btn:hover{
    background:var(--primary);
    color:var(--ink);
    box-shadow:0 6px 18px rgba(255,193,7,.4);
}
.nav-search__btn:active{
    transform:scale(.97);
}

/* =========================================================
 * 顶部提交按钮
 * ========================================================= */
.nav-submit{
    display:inline-flex;
    align-items:center;
    gap:5px;
    flex-shrink:0;
    padding:8px 16px;
    border-radius:20px;
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#FFFFFF;
    font-size:13px;
    font-weight:800;
    letter-spacing:.2px;
    text-decoration:none;
    line-height:1.4;
    white-space:nowrap;
    transition:.25s var(--ease);
    box-shadow:0 6px 16px -8px rgba(255,167,0,.6);
}
.nav-submit svg{flex-shrink:0;display:block;}
.nav-submit:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 24px -10px rgba(255,167,0,.9);
    color:#1B1C21;
}
.nav-submit:active{transform:translateY(0);}

/* 抽屉关闭按钮（PC 隐藏） */
.nav-menu__close{
    display:none;
}

.btn-primary{
    padding:9px 20px;border:none;border-radius:22px;
    background:var(--ink);color:#fff;
    font-size:13.5px;font-weight:600;cursor:pointer;
    transition:.3s var(--ease);white-space:nowrap;display:inline-block;
}
.btn-primary:hover{
    background:var(--primary);color:var(--ink);
    transform:translateY(-1px);
    box-shadow:0 6px 18px rgba(255,193,7,.4);
}

/* =========================================================
 * 手机端汉堡按钮 + 抽屉
 * ========================================================= */
.nav-toggle{
    display:none;
    width:40px;
    height:40px;
    padding:0;
    border:none;
    background:transparent;
    cursor:pointer;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    border-radius:10px;
    transition:.25s var(--ease);
    flex-shrink:0;
}
.nav-toggle span{
    display:block;
    width:20px;
    height:2px;
    background:var(--ink);
    border-radius:2px;
    transition:transform .25s var(--ease),opacity .25s var(--ease);
}
.nav-toggle:hover{background:#F1F2F5;}
.nav-toggle.is-active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.is-active span:nth-child(2){opacity:0;}
.nav-toggle.is-active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.nav-mask{
    position:fixed;
    inset:0;
    background:rgba(23,24,28,.35);
    opacity:0;
    visibility:hidden;
    z-index:998;
    transition:.3s var(--ease);
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
}
.nav-mask.is-active{
    opacity:1;
    visibility:visible;
}

@media (min-width:1001px){
    .nav-mask{display:none;}
    .nav-toggle{display:none;}
}

/* =========================================================
 * 首页 Hero —— 紧凑型 + 顶部暖色渐变
 * ========================================================= */
.hero{
    position:relative;
    max-width:1240px;
    margin:0 auto;
    padding:60px 28px 40px;
    text-align:center;
    isolation:isolate;
}

.hero::before{
    content:"";
    position:absolute;
    top:0;bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100vw;
    background:linear-gradient(180deg,#FFFCF0 0%,#FFFDF6 35%,#F6F7F9 100%);
    z-index:-2;
    pointer-events:none;
}

.hero-glow{
    position:absolute;
    top:-110px;left:50%;
    transform:translateX(-50%);
    width:640px;height:400px;
    background:radial-gradient(circle at 50% 45%,rgba(255,193,7,.22),rgba(255,138,0,.08) 45%,transparent 70%);
    filter:blur(32px);
    pointer-events:none;
    z-index:-1;
}

.hero-tag,
.hero h1,
.hero p,
.hero-stats{
    position:relative;
    z-index:1;
}

.hero-tag{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:5px 14px;
    border-radius:22px;
    background:#fff;
    border:1px solid rgba(255,167,0,.20);
    font-size:12.5px;
    font-weight:600;
    color:var(--ink-2);
    margin-bottom:20px;
    box-shadow:0 2px 10px rgba(255,167,0,.06);
}
.hero-tag .dot{
    width:7px;height:7px;border-radius:50%;background:#22C55E;
    box-shadow:0 0 0 3px rgba(34,197,94,.18);
    animation:pulse 2s infinite;
}
@keyframes pulse{
    0%,100%{box-shadow:0 0 0 3px rgba(34,197,94,.18);}
    50%{box-shadow:0 0 0 6px rgba(34,197,94,.05);}
}

.hero h1{
    font-size:clamp(28px,4.6vw,46px);
    font-weight:900;
    letter-spacing:-1.5px;
    line-height:1.15;
    margin-bottom:16px;
}
.hero h1 em{
    font-style:normal;
    background:linear-gradient(100deg,#FFC107,#FF8A00 50%,#FF3D71);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.hero p{
    font-size:15.5px;
    color:var(--ink-2);
    max-width:540px;
    margin:0 auto 26px;
    line-height:1.7;
}

.hero-stats{
    display:flex;
    justify-content:center;
    gap:44px;
    flex-wrap:wrap;
    margin-top:30px;
    padding-top:24px;
    border-top:1px solid rgba(255,167,0,.18);
    max-width:620px;
    margin-left:auto;
    margin-right:auto;
}
.stat b{
    display:block;
    font-size:22px;
    font-weight:900;
    letter-spacing:-.6px;
    font-variant-numeric:tabular-nums;
    color:var(--ink);
}
.stat span{
    font-size:12px;
    color:var(--ink-3);
    font-weight:500;
}

/* =========================================================
 * Hero 多功能搜索台
 * ========================================================= */
.hero-search{
    display:flex;
    align-items:center;
    gap:6px;
    max-width:680px;
    margin:0 auto 28px;
    background:#fff;
    border:1px solid rgba(255,167,0,.22);
    border-radius:30px;
    padding:6px;
    box-shadow:0 16px 44px -24px rgba(255,167,0,.35);
    transition:.3s var(--ease);
    position:relative;
    z-index:1;
}
.hero-search:focus-within{
    border-color:var(--primary);
    box-shadow:0 16px 44px -20px rgba(255,167,0,.55);
}
.hero-search__scope,
.hero-search__engine{
    flex-shrink:0;
    padding:8px 24px 8px 14px;
    border:none;
    background-color:#F6F7F9;
    font-size:13.5px;
    font-weight:600;
    color:var(--ink-2);
    outline:none;
    cursor:pointer;
    border-radius:20px;
    transition:.25s var(--ease);
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%239AA0AC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 10px center;
    background-size:10px;
    line-height:1.4;
}
.hero-search__scope:hover,
.hero-search__engine:hover{
    background-color:#F1F2F5;
    color:var(--ink);
}
.hero-search__scope:focus,
.hero-search__engine:focus{
    background-color:#FFF7D6;
    color:#92400E;
}
.hero-search__input{
    flex:1;
    min-width:0;
    border:none;
    outline:none;
    padding:10px 14px;
    font-size:15px;
    font-family:inherit;
    background:transparent;
    color:var(--ink);
    line-height:1.4;
}
.hero-search__input::placeholder{
    color:var(--ink-3);
}
.hero-search__btn{
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:10px 22px;
    border:none;
    border-radius:22px;
    background:linear-gradient(135deg,#FFC107,#FF8A00);
    color:#fff;
    font-size:14px;
    font-weight:700;
    font-family:inherit;
    cursor:pointer;
    transition:.3s var(--ease);
    box-shadow:0 6px 18px -8px rgba(255,167,0,.6);
    white-space:nowrap;
    line-height:1.4;
}
.hero-search__btn svg{flex-shrink:0;display:block;}
.hero-search__btn:hover{
    transform:translateY(-1px);
    box-shadow:0 10px 26px -10px rgba(255,167,0,.85);
}
.hero-search__btn:active{transform:translateY(0);}

@media (max-width:680px){
    .hero-search{
        flex-wrap:wrap;
        border-radius:22px;
        padding:8px;
        gap:6px;
        max-width:100%;
    }
    .hero-search__input{
        flex:1 1 100%;
        order:-1;
        padding:10px 12px;
        font-size:14.5px;
    }
    .hero-search__scope,
    .hero-search__engine{
        flex:1 1 auto;
        padding:7px 22px 7px 12px;
        font-size:12.5px;
        background-position:right 8px center;
    }
    .hero-search__btn{
        flex:1 1 auto;
        justify-content:center;
        padding:9px 16px;
        font-size:13px;
    }
    .hero-search__btn svg{width:14px;height:14px;}
}

/* =========================================================
 * 区块标题
 * ========================================================= */
.section{max-width:1240px;margin:0 auto;padding:56px 28px;}
.section-head{
    display:flex;align-items:flex-end;justify-content:space-between;
    gap:20px;margin-bottom:30px;flex-wrap:wrap;
}
.section-head-left{display:flex;align-items:center;gap:14px;}
.section-num{
    font-size:12px;font-weight:800;color:var(--ink-3);letter-spacing:1px;
    padding:4px 10px;border:1px solid var(--line);border-radius:8px;
    background:#fff;font-variant-numeric:tabular-nums;
    white-space:nowrap;
}
.section-title{font-size:24px;font-weight:800;letter-spacing:-.6px;}
.section-sub{font-size:13.5px;color:var(--ink-3);margin-top:2px;}
.section-more{
    font-size:13.5px;font-weight:600;color:var(--ink-2);
    display:inline-flex;align-items:center;gap:5px;
    transition:.25s var(--ease);
}
.section-more:hover{color:#FF8A00;gap:9px;}
/* =========================================================
 * 移动端搜索框 —— 恢复「向左撑开」方案
 * 覆盖 PC 端的下拉浮层，让 panel 内的 input/btn 回到 flex 流
 * ========================================================= */
@media (max-width: 1000px) {

    .nav-search {
        position: relative;
        display: flex;
        align-items: center;
        gap: 4px;

        width: 40px;
        height: 40px;
        padding: 3px 3px 3px 6px;

        background: #F1F2F5;
        border: 1px solid transparent;
        border-radius: 24px;
        overflow: hidden;

        flex: 0 0 auto;
        min-width: 0;

        transition: width .3s var(--ease),
                    background .3s var(--ease),
                    box-shadow .3s var(--ease),
                    border-color .3s var(--ease);
    }

    .nav-search:focus-within {
        background: #fff;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255,193,7,.18);
    }

    .nav-search.is-open {
        width: auto;
        flex: 1 1 auto;
    }

    /* 图标：绝对定位在左侧，收起时可见 */
    .nav-search__toggle {
        position: absolute;
        left: 0;
        top: 0;
        width: 38px;
        height: 100%;

        background: transparent;
        border: none;
        border-radius: 0;

        display: grid;
        place-items: center;
        color: var(--ink-3);
        cursor: pointer;
        padding: 0;
        z-index: 2;

        transition: color .25s var(--ease), opacity .2s var(--ease);
    }
    .nav-search__toggle:hover {
        color: var(--ink);
    }
    .nav-search.is-open .nav-search__toggle {
        opacity: 0;
        pointer-events: none;
    }

    /* 面板：取消绝对定位，回到 flex 流 */
    .nav-search__panel {
        position: static;
        top: auto;
        right: auto;
        width: auto;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        z-index: auto;

        display: flex;
        align-items: center;
        gap: 4px;
        flex: 1;
        min-width: 0;

        transition: opacity .2s var(--ease);
    }

    /* 取消小三角 */
    .nav-search__panel::before {
        display: none;
    }

    /* 收起状态：隐藏输入框和按钮 */
    .nav-search:not(.is-open) .nav-search__panel {
        opacity: 0;
        pointer-events: none;
    }

    /* 输入框：恢复内联样式 */
    .nav-search__input {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
        padding: 5px 8px 5px 10px;
        background: transparent;
        border: none;
        border-radius: 0;
    }
    .nav-search__input input[type="search"] {
        border: none;
        background: transparent;
        outline: none;
        font-size: 13.5px;
        width: 100%;
        min-width: 0;
        color: var(--ink);
        font-family: inherit;
    }
    .nav-search__input input[type="search"]::placeholder {
        color: var(--ink-3);
    }

    /* 搜索按钮 */
    .nav-search__btn {
        flex-shrink: 0;
        padding: 8px 18px;
        border-radius: 20px;
        background: var(--ink);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        font-family: inherit;
        cursor: pointer;
        white-space: nowrap;
        line-height: 1.4;
        transition: .25s var(--ease);
    }
    .nav-search__btn:hover {
        background: var(--primary);
        color: var(--ink);
    }

    /* 移动端图标大小略缩 */
    .nav-search,
    .nav-search__toggle {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 680px) {
    .nav-search {
        width: 36px;
        height: 36px;
        flex: 0 0 auto;
        padding: 2px 2px 2px 4px;
    }
    .nav-search.is-open {
        flex: 1 1 auto;
        width: auto;
    }
    .nav-search__toggle {
        width: 34px;
    }
    .nav-search__input {
        padding: 4px 6px 4px 8px;
    }
    .nav-search__input input[type="search"] {
        font-size: 13px;
    }
    .nav-search__btn {
        padding: 7px 12px;
        font-size: 12px;
    }
}

/* =========================================================
 * 资源卡片网格
 * ========================================================= */
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(272px,1fr));
    gap:18px;
}
.card{
    position:relative;
    display:flex;
    flex-direction:column;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:22px;
    overflow:hidden;
    transition:transform .4s var(--ease),box-shadow .4s var(--ease),border-color .4s;
    will-change:transform;
}
.card::after{
    content:"";position:absolute;inset:0;border-radius:var(--radius);
    background:radial-gradient(400px circle at var(--mx,50%) var(--my,0%),rgba(255,193,7,.10),transparent 60%);
    opacity:0;transition:opacity .4s;pointer-events:none;
}
.card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px -14px rgba(23,24,28,.16);
    border-color:transparent;
}
.card:hover::after{opacity:1;}
.card-top{display:flex;align-items:center;gap:13px;margin-bottom:13px;}
.card-icon{
    width:46px;height:46px;border-radius:13px;
    display:grid;place-items:center;font-size:19px;font-weight:800;
    color:#fff;flex-shrink:0;
    transition:transform .4s var(--ease);
    box-shadow:0 6px 14px -6px rgba(0,0,0,.35);
}
.card:hover .card-icon{transform:scale(1.08) rotate(-4deg);}
.card-name{
    font-size:15.5px;font-weight:700;letter-spacing:-.2px;line-height:1.3;
    display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;
}
.card-host{
    font-size:11.5px;color:var(--ink-3);font-weight:500;margin-top:1px;
    word-break:break-all;
    display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;
}
.card-desc{
    font-size:13.2px;color:var(--ink-2);line-height:1.65;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    overflow:hidden;min-height:43px;flex:1 1 auto;
}
.card-foot{
    display:flex;align-items:center;justify-content:space-between;
    margin-top:auto;padding-top:13px;border-top:1px dashed var(--line);
}
.chip{
    font-size:11px;font-weight:700;padding:3px 10px;border-radius:20px;
    background:#F4F5F7;color:var(--ink-2);letter-spacing:.2px;
    display:inline-block;
}
.arrow{
    width:26px;height:26px;border-radius:50%;
    display:grid;place-items:center;background:#F4F5F7;
    color:var(--ink-3);transition:.35s var(--ease);flex-shrink:0;
}
.card:hover .arrow{background:var(--ink);color:#fff;transform:rotate(-45deg);}

/* =========================================================
 * 显现动画
 * ========================================================= */
.reveal{opacity:0;transform:translateY(34px);
    transition:opacity .8s var(--ease),transform .8s var(--ease);}
.reveal.visible{opacity:1;transform:translateY(0);}

/* =========================================================
 * 列表页 / 单页面通用头部
 * ========================================================= */
.page-hero{
    background:linear-gradient(180deg,#fff 0%,var(--bg) 100%);
    border-bottom:1px solid var(--line);
    padding:56px 0 48px;
}
.page-hero-inner{max-width:1240px;margin:0 auto;padding:0 28px;}
.page-hero h1{
    font-size:clamp(28px,4vw,42px);font-weight:900;
    letter-spacing:-1.2px;margin-bottom:8px;line-height:1.15;
    word-break:break-word;
}
.page-hero p{font-size:15px;color:var(--ink-2);max-width:620px;}

/* =========================================================
 * 面包屑
 * ========================================================= */
.breadcrumb{font-size:13px;color:var(--ink-3);margin-bottom:16px;}
.breadcrumb a{color:var(--ink-2);transition:.25s;}
.breadcrumb a:hover{color:#FF8A00;}
.breadcrumb .sep{margin:0 6px;}
.breadcrumb .current{color:var(--ink);font-weight:600;}

/* =========================================================
 * 分页
 * ========================================================= */
.pagination{margin-top:48px;display:flex;justify-content:center;}
.pagination ul{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;}
.pagination li a,
.pagination li span{
    display:block;padding:8px 14px;border-radius:10px;
    background:#fff;border:1px solid var(--line);
    font-size:13.5px;font-weight:600;color:var(--ink-2);
    transition:.25s var(--ease);
}
.pagination li a:hover{
    border-color:var(--primary);color:var(--ink);background:#FFF9E6;
}
.pagination li .current{
    background:var(--ink);border-color:var(--ink);color:#fff;
}
.pagination li .dots{background:transparent;border-color:transparent;}

/* =========================================================
 * 内容页 · Hero（资源）
 * ========================================================= */
.single-hero{background:#fff;border-bottom:1px solid var(--line);padding:48px 0 40px;}
.single-hero-inner{max-width:1000px;margin:0 auto;padding:0 28px;}

.hero-grid{
    display:flex;
    gap:44px;
    align-items:flex-start;
}
.hero-left{flex:1;min-width:0;}
.hero-right{
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    min-width: 0;
    align-self: flex-start;
}

.single-brand{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}
.single-icon{
    width:72px;height:72px;border-radius:20px;
    display:grid;place-items:center;font-size:30px;font-weight:800;
    color:#fff;box-shadow:0 10px 24px -8px rgba(0,0,0,.3);
    flex-shrink:0;
}
.single-brand-text{flex:1;min-width:200px;}
.single-brand h1{
    font-size:clamp(26px,4vw,38px);font-weight:900;
    letter-spacing:-1.2px;line-height:1.15;
}
.single-meta{
    display:flex;align-items:center;gap:12px;flex-wrap:wrap;
    margin-top:12px;font-size:13px;color:var(--ink-3);
}
.single-meta .chip{transition:.25s;}
.single-meta .chip:hover{background:#FFE9B0;color:var(--ink);}

.hero-actions{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:24px;
}
.hero-actions .cta-btn{margin-top:0;}

/* =========================================================
 * 内容页 · 收录条
 * ========================================================= */
.index-bar{
    margin-top:36px;
    padding-top:22px;
    border-top:1px solid var(--line);
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}
.index-bar-title{
    font-size:13px;
    font-weight:800;
    color:var(--ink-3);
    letter-spacing:.5px;
    white-space:nowrap;
    flex-shrink:0;
    padding-right:20px;
    border-right:1px solid var(--line);
    line-height:1.4;
}
.index-row{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    flex:1;
    min-width:0;
}

/* =========================================================
 * 内容页 · 特色图（资源）
 * ========================================================= */
.single-thumb{
    margin:0;
    padding:6px;
    border-radius:16px;
    background:#fff;
    border:1px solid var(--line);
    overflow:hidden;
    box-shadow:0 18px 44px -22px rgba(23,24,28,.30);
    transition:.3s var(--ease);

    width:100%;
    aspect-ratio:16 / 9;
    display:flex;
    flex-direction:column;
}

.single-thumb img{
    display:block;
    width:100%;
    height:100%;
    flex:1 1 auto;
    min-height:0;
    object-fit:cover;
    object-position:center top;
    border-radius:12px;
}

.single-thumb:hover{
    transform:translateY(-2px);
    box-shadow:0 24px 54px -24px rgba(23,24,28,.36);
}

/* =========================================================
 * 内容页 · 正文卡片流
 * ========================================================= */
.single-body{
    max-width:920px;
    margin:0 auto;
    padding:56px 28px 96px;
}
.single-body > * + *{margin-top:28px;}

.single-content{
    position:relative;
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:48px 54px;
    box-shadow:0 28px 60px -44px rgba(23,24,28,.22);
    font-size:16px;
    line-height:1.95;
    color:var(--ink-2);
}
.single-content > * + *{margin-top:18px;}
.single-content > :first-child{margin-top:0;}

.single-content h2{
    position:relative;
    font-size:22px;font-weight:800;color:var(--ink);
    letter-spacing:-.5px;line-height:1.35;
    margin-top:44px;padding-left:16px;
}
.single-content h2::before{
    content:"";
    position:absolute;
    left:0;top:5px;bottom:5px;
    width:4px;border-radius:2px;
    background:linear-gradient(180deg,#FFC107,#FF8A00);
}
.single-content h3{
    font-size:18px;font-weight:700;color:var(--ink);
    margin-top:32px;letter-spacing:-.2px;
}
.single-content h4{
    font-size:16px;font-weight:700;color:var(--ink);
    margin-top:24px;
}
.single-content p{margin-bottom:0;}
.single-content strong{color:var(--ink);font-weight:700;}

.single-content ul,
.single-content ol{margin-left:4px;}
.single-content ul li,
.single-content ol li{
    position:relative;
    padding-left:22px;
    margin-bottom:10px;
}
.single-content ul li::before{
    content:"";
    position:absolute;
    left:2px;top:12px;
    width:6px;height:6px;border-radius:50%;
    background:linear-gradient(135deg,#FFC107,#FF8A00);
}
.single-content ol{counter-reset:dh-ol;}
.single-content ol li{counter-increment:dh-ol;}
.single-content ol li::before{
    content:counter(dh-ol);
    position:absolute;
    left:0;top:3px;
    width:20px;height:20px;
    display:grid;place-items:center;
    background:#FFF7D6;color:#B45309;
    font-size:11px;font-weight:800;border-radius:6px;
}

.single-content a{
    color:#D97706;font-weight:600;text-decoration:none;
    border-bottom:1px dashed rgba(217,119,6,.45);
    transition:.25s var(--ease);
}
.single-content a:hover{
    color:#FF8A00;border-bottom-color:#FF8A00;
}

.single-content img{
    border-radius:14px;margin:8px 0;
    box-shadow:0 12px 30px -20px rgba(23,24,28,.28);
}

.single-content blockquote{
    position:relative;
    background:linear-gradient(135deg,#FFFBEB,#FFF6D6);
    border-radius:0 16px 16px 0;
    padding:20px 26px 20px 30px;
    color:var(--ink);font-size:15px;line-height:1.8;
    overflow:hidden;
}
.single-content blockquote::before{
    content:"";
    position:absolute;
    left:0;top:0;bottom:0;width:4px;
    background:linear-gradient(180deg,#FFC107,#FF8A00);
}
.single-content blockquote::after{
    content:"”";
    position:absolute;
    right:18px;bottom:-28px;
    font-size:96px;line-height:1;
    color:rgba(255,167,0,.14);
    font-family:Georgia,serif;pointer-events:none;
}
.single-content blockquote p{margin:0;}

.single-content code{
    background:#FFF7D6;color:#B45309;
    padding:2px 8px;border-radius:6px;
    font-size:13.5px;font-weight:600;
    font-family:"SF Mono",Monaco,Consolas,monospace;
}

.single-content pre{
    position:relative;
    background:#1B1C21;color:#E6E8EC;
    padding:22px 24px;border-radius:14px;
    overflow-x:auto;font-size:13.5px;line-height:1.75;
    box-shadow:0 16px 40px -28px rgba(0,0,0,.6);
}
.single-content pre::before{
    content:"";
    position:absolute;
    top:0;left:0;right:0;height:3px;
    background:linear-gradient(90deg,#FFC107,#FF8A00,#FF3D71);
    border-radius:14px 14px 0 0;
}
.single-content pre code{
    background:transparent;color:inherit;padding:0;font-weight:400;
}

.single-content hr{
    border:none;height:1px;
    background:repeating-linear-gradient(90deg,var(--line) 0 6px,transparent 6px 12px);
    margin:32px 0;
}

/* =========================================================
 * 内容页 · 相关推荐
 * ========================================================= */
.related{padding-top:8px;}
.related-title{
    display:flex;align-items:center;gap:12px;
    font-size:20px;font-weight:800;color:var(--ink);
    letter-spacing:-.4px;margin-bottom:22px;
}
.related-title::before{
    content:"";
    width:4px;height:18px;border-radius:2px;
    background:linear-gradient(180deg,#FFC107,#FF8A00);
}

/* =========================================================
 * 评论区
 * ========================================================= */
.dh-comments{
    position:relative;
    background:#fff;
    border:1px solid rgba(255,167,0,.20);
    border-radius:22px;
    padding:40px 40px 44px;
    box-shadow:0 28px 60px -44px rgba(255,138,0,.28);
    overflow:hidden;
}
.dh-comments::before{
    content:"";
    position:absolute;
    top:0;left:0;right:0;height:3px;
    background:linear-gradient(90deg,#FFC107,#FF8A00 45%,#FF3D71);
    opacity:.85;
}
.dh-comments__panel{
    margin-bottom:30px;
    padding:22px 22px 10px;
    background:#FFFBEB;
    border:1px solid rgba(255,167,0,.18);
    border-radius:16px;
}
.dh-comments__title{
    display:flex;align-items:center;gap:12px;
    font-size:16px;font-weight:800;color:var(--ink);
    letter-spacing:-.3px;margin:0 0 18px;
    padding:0 0 14px;
    border-bottom:1px dashed rgba(255,167,0,.30);
}
.dh-comments__title::before{
    content:"";
    width:4px;height:16px;border-radius:2px;
    background:linear-gradient(180deg,#FFC107,#FF8A00);
    flex-shrink:0;
}
.dh-comments__list{list-style:none;margin:0;padding:0;}
.dh-comments__list ol,
.dh-comments__list ul{list-style:none;margin:0;padding:0;}
.dh-comments__list li{list-style:none;}
.dh-comments__list .comment-body{
    position:relative;
    background:#fff;
    border:1px solid rgba(255,167,0,.18);
    border-radius:14px;
    padding:18px 20px;
    margin-bottom:12px;
    box-shadow:0 4px 14px -10px rgba(255,167,0,.22);
    transition:.3s var(--ease);
}
.dh-comments__list .comment-body:hover{
    border-color:rgba(255,167,0,.38);
    box-shadow:0 14px 32px -18px rgba(255,138,0,.40);
    transform:translateY(-1px);
}
.dh-comments__list .children{
    list-style:none;
    margin:12px 0 0 0;
    padding-left:20px;
    border-left:2px solid rgba(255,167,0,.28);
}
.dh-comments__list .children .comment-body{
    background:rgba(255,255,255,.9);
    border-color:rgba(255,167,0,.14);
}
.dh-comments__list .children .comment-body:hover{background:#fff;}
.dh-comments__list .comment-meta{
    display:flex;flex-direction:column;gap:10px;margin-bottom:10px;
}
.dh-comments__list .comment-author{
    display:flex;align-items:center;gap:10px;
    font-size:14.5px;font-weight:700;color:var(--ink);
    line-height:1.3;font-style:normal;
}
.dh-comments__list .comment-author .avatar{
    width:38px;height:38px;border-radius:12px;
    border:2px solid #fff;
    box-shadow:0 0 0 1px rgba(255,167,0,.22);
    background:#fff;flex-shrink:0;margin:0;display:block;
}
.dh-comments__list .comment-author .fn{
    font-style:normal;font-weight:700;color:var(--ink);
}
.dh-comments__list .comment-author .says{
    font-weight:400;color:var(--ink-3);
    font-size:12.5px;margin-left:2px;font-style:normal;
}
.dh-comments__list .comment-metadata{
    font-size:12.5px;color:var(--ink-3);
    margin:0 0 12px 48px;
    display:flex;gap:12px;align-items:center;flex-wrap:wrap;
}
.dh-comments__list .comment-metadata a{
    color:var(--ink-3);text-decoration:none;transition:.2s;
}
.dh-comments__list .comment-metadata a:hover{color:#FF8A00;}
.dh-comments__list .comment-metadata .edit-link a{color:#D97706;font-weight:600;}
.dh-comments__list .comment-content{
    margin:0 0 0 48px;
    font-size:14.5px;line-height:1.8;
    color:var(--ink-2);word-break:break-word;
}
.dh-comments__list .comment-content p{margin:0 0 10px;}
.dh-comments__list .comment-content p:last-child{margin-bottom:0;}
.dh-comments__list .comment-content a{
    color:#D97706;font-weight:600;
    text-decoration:underline;text-underline-offset:3px;
}
.dh-comments__list .comment-content a:hover{color:#FF8A00;}
.dh-comments__list .comment-content ul,
.dh-comments__list .comment-content ol{margin:8px 0 10px 22px;}
.dh-comments__list .comment-content ul li{list-style:disc;margin-bottom:4px;}
.dh-comments__list .comment-content ol li{list-style:decimal;margin-bottom:4px;}
.dh-comments__list .comment-content blockquote{
    border-left:3px solid var(--primary);
    background:#FFFBEB;
    padding:12px 18px;margin:12px 0;
    border-radius:0 10px 10px 0;font-size:14px;
}
.dh-comments__list .comment-content code{
    background:#FFF7D6;color:#B45309;
    padding:1px 6px;border-radius:5px;font-size:13px;
    font-family:"SF Mono",Monaco,Consolas,monospace;
}
.dh-comments__list .comment-content pre{
    background:#1B1C21;color:#E6E8EC;
    padding:14px 18px;border-radius:10px;
    overflow-x:auto;font-size:13px;margin:12px 0;
}
.dh-comments__list .comment-content pre code{
    background:transparent;color:inherit;padding:0;
}
.dh-comments__list .reply{
    margin:12px 0 0 48px;
    display:flex;gap:8px;
}
.dh-comments__list .reply a,
.dh-comments__list .comment-reply-link{
    display:inline-flex;align-items:center;gap:5px;
    padding:5px 14px;border-radius:20px;
    background:#FFFBEB;color:#92400E;
    font-size:12px;font-weight:700;
    text-decoration:none;transition:.25s var(--ease);
    line-height:1.4;border:1px solid rgba(255,167,0,.30);
}
.dh-comments__list .reply a:hover,
.dh-comments__list .comment-reply-link:hover{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;border-color:transparent;
    transform:translateY(-1px);
    box-shadow:0 6px 14px -6px rgba(255,167,0,.5);
}
.comment-navigation,
.comments-pagination{
    margin:16px 0 12px;
    display:flex;gap:8px;justify-content:center;flex-wrap:wrap;
}
.comment-navigation a,
.comments-pagination a,
.comment-navigation span.current,
.comments-pagination span.current{
    padding:6px 14px;border-radius:20px;
    background:#fff;
    border:1px solid rgba(255,167,0,.25);
    color:var(--ink-2);
    font-size:13px;font-weight:600;
    text-decoration:none;transition:.25s;
}
.comment-navigation a:hover,
.comments-pagination a:hover{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;border-color:transparent;
}
.comment-navigation span.current,
.comments-pagination span.current{
    background:var(--ink);border-color:var(--ink);color:#fff;
}
.no-comments{
    padding:18px 22px;
    background:#FFFBEB;
    border:1px dashed rgba(255,167,0,.35);
    border-radius:14px;
    color:var(--ink-3);
    font-size:14px;text-align:center;margin:0;
}
.dh-comments .comment-respond{
    margin:0;
    padding:26px 0 0;
    border-top:1px dashed rgba(255,167,0,.30);
    background:transparent;border-radius:0;box-shadow:none;
}
.dh-comments .comment-reply-title{
    display:flex;align-items:center;gap:12px;
    font-size:18px;font-weight:800;color:var(--ink);
    letter-spacing:-.4px;
    margin:0 0 20px;padding:0;border-bottom:none;
}
.dh-comments .comment-reply-title::before{
    content:"";
    width:4px;height:16px;border-radius:2px;
    background:linear-gradient(180deg,#FFC107,#FF8A00);
    flex-shrink:0;
}
.dh-comments .comment-reply-title small{
    display:block;margin-top:6px;
    font-size:12px;font-weight:400;
    color:var(--ink-3);letter-spacing:0;
}
.dh-comments .comment-reply-title small a{color:#D97706;font-weight:600;}
.comment-form{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:16px 18px;
    margin:0;
}
.comment-form > p{margin:0;}
.comment-form .comment-notes,
.comment-form .logged-in-as,
.comment-form .comment-form-comment,
.comment-form .comment-form-cookies-consent,
.comment-form .form-submit,
.comment-form .comment-form-rating,
.comment-form .comment-form-title,
.comment-form .comment-form-url{grid-column:1 / -1;}
.comment-form label{
    display:block;font-size:13px;font-weight:700;
    color:var(--ink);margin:0 0 7px;
}
.comment-form .comment-form-cookies-consent label{
    display:inline;margin:0;
    font-weight:500;font-size:13px;color:var(--ink-2);
}
.comment-form label .required{
    color:#FF3D71;margin-left:2px;font-weight:700;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form input[type="tel"],
.comment-form textarea{
    width:100%;padding:11px 14px;
    background:#FAFBFC;border:1px solid var(--line);
    border-radius:12px;font-size:14px;font-family:inherit;
    color:var(--ink);outline:none;
    transition:.25s var(--ease);box-sizing:border-box;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form input[type="tel"]:focus,
.comment-form textarea:focus{
    background:#fff;border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(255,193,7,.18);
}
.comment-form textarea{min-height:130px;resize:vertical;line-height:1.7;}
.comment-form .comment-notes,
.comment-form .logged-in-as{
    font-size:12.5px;color:var(--ink-3);
    line-height:1.7;margin:0 0 4px;
}
.comment-form .logged-in-as a{color:#D97706;font-weight:600;}
.comment-form .comment-form-cookies-consent{
    display:flex;align-items:center;gap:10px;
    padding:12px 16px;
    background:#FFFBEB;
    border:1px solid rgba(255,167,0,.22);
    border-radius:12px;
}
.comment-form .comment-form-cookies-consent input[type="checkbox"]{
    width:16px;height:16px;margin:0;
    accent-color:#FF8A00;cursor:pointer;flex-shrink:0;
}
.comment-form .form-submit{
    margin-top:6px;display:flex;justify-content:flex-start;
}
.comment-form input[type="submit"],
.comment-form .submit{
    display:inline-block;
    padding:12px 40px;border:none;border-radius:26px;
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;font-weight:800;font-size:14.5px;
    font-family:inherit;cursor:pointer;
    transition:.3s var(--ease);
    box-shadow:0 12px 28px -12px rgba(255,167,0,.7);
    letter-spacing:.2px;
}
.comment-form input[type="submit"]:hover,
.comment-form .submit:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 40px -14px rgba(255,167,0,.9);
}
.comment-form input[type="submit"]:active,
.comment-form .submit:active{transform:translateY(0);}
.comment-respond .must-log-in{
    padding:20px 22px;
    background:#FFFBEB;
    border:1px dashed rgba(255,167,0,.45);
    border-radius:14px;
    color:#92400E;font-size:14px;text-align:center;margin:0;
}
.comment-respond .must-log-in a{color:#D97706;font-weight:700;}
.comment-form .screen-reader-text,
.comment-respond .screen-reader-text{
    position:absolute!important;
    width:1px;height:1px;
    overflow:hidden;clip:rect(1px,1px,1px,1px);
    white-space:nowrap;
}
/* =========================================================
 * 空状态
 * ========================================================= */
.empty-state{
    text-align:center;padding:80px 20px;
    background:#fff;border:1px solid var(--line);border-radius:22px;
    box-shadow:0 28px 60px -44px rgba(23,24,28,.16);
}
.empty-state h2{font-size:22px;font-weight:800;margin-bottom:10px;color:var(--ink);}
.empty-state p{font-size:14.5px;color:var(--ink-3);margin-bottom:24px;}
.empty-state .error-code{
    font-size:80px;font-weight:900;line-height:1;
    background:linear-gradient(100deg,#FFC107,#FF8A00,#FF3D71);
    -webkit-background-clip:text;background-clip:text;color:transparent;
    margin-bottom:16px;
}

/* =========================================================
 * CTA
 * ========================================================= */
.cta-wrap{max-width:1240px;margin:0 auto;padding:40px 28px 90px;}
.cta{
    position:relative;border-radius:28px;
    background:linear-gradient(120deg,#1B1C21 0%,#2C2E38 55%,#3A2B14 100%);
    padding:64px 40px;text-align:center;overflow:hidden;
}
.cta::before{
    content:"";position:absolute;top:-120px;right:-80px;
    width:420px;height:420px;
    background:radial-gradient(circle,rgba(255,193,7,.34),transparent 68%);
    filter:blur(20px);
}
.cta h2{
    position:relative;font-size:clamp(24px,3.6vw,36px);font-weight:900;
    color:#fff;letter-spacing:-1px;margin-bottom:12px;
}
.cta p{
    position:relative;color:rgba(255,255,255,.66);font-size:15px;
    max-width:480px;margin:0 auto 28px;
}
.cta-btn{
    position:relative;display:inline-block;padding:13px 34px;
    border-radius:26px;background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#FFF;font-weight:800;font-size:14.5px;
    transition:.35s var(--ease);
    box-shadow:0 10px 30px -8px rgba(255,167,0,.6);
}
.cta-btn:hover{
    transform:translateY(-2px) scale(1.03);
    box-shadow:0 16px 40px -10px rgba(255,167,0,.8);
}

/* =========================================================
 * 页脚
 * ========================================================= */
.footer{background:#fff;border-top:1px solid var(--line);}
.footer-inner{
    max-width:1240px;margin:0 auto;padding:56px 28px 30px;
    display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;
}
.f-brand h3{
    font-size:17px;font-weight:800;margin-bottom:10px;
    display:flex;align-items:center;gap:9px;
}
.f-brand .logo-mark{width:28px;height:28px;border-radius:9px;font-size:14px;}
.f-brand p{font-size:13px;color:var(--ink-3);line-height:1.75;max-width:300px;}
.f-col h4{
    font-size:12px;font-weight:800;text-transform:uppercase;
    letter-spacing:.8px;color:var(--ink-3);margin-bottom:15px;
}
.f-col a{
    display:block;font-size:13.5px;color:var(--ink-2);
    padding:5px 0;transition:.25s var(--ease);
}
.f-col a:hover{color:#FF8A00;transform:translateX(3px);}
.footer-bottom{
    max-width:1240px;margin:0 auto;padding:20px 28px 28px;
    border-top:1px solid var(--line);
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px 16px;
    font-size:12.5px;
    color:var(--ink-3);
    flex-wrap:wrap;
    text-align:center;
}
.footer-bottom__slogan,
.footer-bottom__copy{
    display:inline-block;
    line-height:1.6;
}

/* =========================================================
 * 回到顶部
 * ========================================================= */
.to-top{
    position:fixed;right:26px;bottom:26px;
    width:46px;height:46px;border-radius:50%;border:none;
    background:var(--ink);color:#fff;display:grid;place-items:center;
    cursor:pointer;z-index:800;opacity:0;
    transform:translateY(18px) scale(.85);pointer-events:none;
    transition:.4s var(--ease);
    box-shadow:0 10px 26px -8px rgba(0,0,0,.4);
}
.to-top.show{opacity:1;transform:translateY(0) scale(1);pointer-events:auto;}
.to-top:hover{background:var(--primary);color:var(--ink);transform:translateY(-3px);}

/* =========================================================
 * 前端提交表单
 * ========================================================= */
.submit-wrap{max-width:720px;margin:0 auto;padding:56px 28px 80px;}

.submit-form{
    background:#fff;border:1px solid var(--line);border-radius:22px;
    padding:36px;box-shadow:0 28px 60px -44px rgba(23,24,28,.22);
}

.form-row{margin-bottom:22px;}
.form-row label{
    display:block;font-size:13.5px;font-weight:700;
    color:var(--ink);margin-bottom:8px;
}
.form-row label .req{color:#FF3D71;margin-left:2px;}
.form-row .hint{
    font-size:12px;color:var(--ink-3);font-weight:400;margin-left:6px;
}

.form-row input[type="text"],
.form-row input[type="url"],
.form-row input[type="email"],
.form-row select,
.form-row textarea{
    width:100%;padding:12px 15px;
    background:#FAFBFC;border:1px solid var(--line);
    border-radius:12px;font-size:14.5px;font-family:inherit;
    outline:none;transition:.25s;color:var(--ink);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
    background:#fff;
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(255,193,7,.18);
}
.form-row textarea{min-height:110px;resize:vertical;}

.form-row-inline{display:grid;grid-template-columns:1fr 1fr;gap:16px;}

.form-color-wrap{display:flex;align-items:center;gap:12px;}
.form-color-wrap input[type="color"]{
    width:52px;height:44px;padding:3px;border:1px solid var(--line);
    border-radius:10px;background:#fff;cursor:pointer;flex-shrink:0;
}
.form-color-wrap input[type="text"]{flex:1;}

.hp-field{
    position:absolute!important;
    left:-9999px!important;
    width:1px;height:1px;overflow:hidden;
}

.submit-actions{
    display:flex;align-items:center;gap:16px;
    margin-top:30px;flex-wrap:wrap;
}
.submit-actions .btn-submit{
    padding:13px 36px;border:none;border-radius:26px;
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#FFF;font-weight:800;font-size:14.5px;
    cursor:pointer;transition:.3s var(--ease);
    box-shadow:0 10px 26px -10px rgba(255,167,0,.7);
}
.submit-actions .btn-submit:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 36px -12px rgba(255,167,0,.9);
}
/* 未登录时的禁用态按钮（视觉置灰，可点击触发登录层） */
.submit-actions .btn-submit.is-disabled{
    background:#E5E7EB;
    color:#9CA3AF;
    cursor:not-allowed;
    box-shadow:none;
    transform:none;
}
.submit-actions .btn-submit.is-disabled:hover{
    background:#E5E7EB;
    color:#9CA3AF;
    transform:none;
    box-shadow:none;
}

/* 提交中的 loading 态（JS 加上） */
.submit-actions .btn-submit.is-loading{
    background:#D1D5DB;
    color:#6B7280;
    cursor:wait;
    box-shadow:none;
    transform:none;
    pointer-events:none;
}
.submit-actions .note{font-size:12.5px;color:var(--ink-3);}

.form-alert{
    padding:14px 20px;border-radius:14px;font-size:14px;
    margin-bottom:24px;font-weight:500;line-height:1.6;
}
.form-alert.success{
    background:#ECFDF5;color:#065F46;border:1px solid #A7F3D0;
}
.form-alert.error{
    background:#FEF2F2;color:#991B1B;border:1px solid #FECACA;
}
.form-alert.info{
    background:#FFFBEB;color:#92400E;border:1px solid #FDE68A;
}

/* 成功提示里的动作入口 */
.form-alert__actions{
    display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;
}
.form-alert__actions a{
    display:inline-block;
    padding:7px 18px;
    border-radius:20px;
    background:#065F46;
    color:#fff;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    transition:.25s var(--ease);
}
.form-alert__actions a:hover{
    background:#047857;
    transform:translateY(-1px);
    box-shadow:0 8px 20px -8px rgba(6,95,70,.55);
}
.form-alert__actions a:first-child{
    background:#fff;
    color:#065F46;
    border:1px solid #A7F3D0;
}
.form-alert__actions a:first-child:hover{
    background:#ECFDF5;
    box-shadow:0 8px 20px -10px rgba(6,95,70,.35);
}

/* 未登录提示条 */
.dh-login-notice{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    padding:14px 20px;
}
.dh-login-notice__text{
    flex:1;
    min-width:200px;
    font-size:13.5px;
    line-height:1.6;
}
.dh-login-notice__text strong{
    font-weight:800;
    color:#92400E;
    margin-right:2px;
}
.dh-login-notice__btn{
    flex-shrink:0;
    padding:9px 20px;
    border:none;
    border-radius:22px;
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;
    font-family:inherit;
    font-size:13px;
    font-weight:800;
    cursor:pointer;
    transition:.3s var(--ease);
    box-shadow:0 8px 20px -8px rgba(255,167,0,.6);
    white-space:nowrap;
}
.dh-login-notice__btn:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 28px -10px rgba(255,167,0,.85);
}
.dh-login-notice__btn:active{
    transform:translateY(0);
}

/* =========================================================
 * 验证码
 * ========================================================= */
.captcha-row{
    display:flex;align-items:center;gap:14px;
}
.captcha-question{
    flex-shrink:0;
    padding:12px 22px;
    background:linear-gradient(135deg,#FFFBEB,#FFF6D6);
    border:1px dashed rgba(255,167,0,.45);
    border-radius:12px;
    font-size:16px;font-weight:800;color:#92400E;
    letter-spacing:.5px;
    font-family:"SF Mono",Monaco,Consolas,monospace;
    white-space:nowrap;user-select:none;-webkit-user-select:none;
}
.captcha-row input[type="text"]{
    flex:1;text-align:center;
    font-size:16px;font-weight:700;
    letter-spacing:2px;font-variant-numeric:tabular-nums;
}

/* =========================================================
 * 热度徽标
 * ========================================================= */
.heat{
    display:inline-flex;align-items:center;gap:6px;
    padding:4px 12px;border-radius:20px;
    background:#F4F5F7;
    font-size:12.5px;font-weight:700;
    color:var(--ink-2);line-height:1.4;
    transition:.25s var(--ease);
}
.heat-icon{font-size:13px;line-height:1;}
.heat-label{font-weight:600;}
.heat-count{
    font-variant-numeric:tabular-nums;font-weight:800;
    padding-left:6px;border-left:1px solid rgba(0,0,0,.08);
}
.heat-lv0{background:#F4F5F7;color:#9AA0AC;}
.heat-lv1{background:#F4F5F7;color:#5A5F6B;}
.heat-lv2{background:#FEF3C7;color:#92400E;}
.heat-lv3{background:#FFEDD5;color:#9A3412;}
.heat-lv4{background:#FEE2E2;color:#991B1B;}
.heat-lv5{
    background:linear-gradient(100deg,#FFC107,#FF8A00 60%,#FF3D71);
    color:#fff;
    box-shadow:0 4px 14px -6px rgba(255,90,0,.7);
}
.heat-lv5 .heat-count{border-left-color:rgba(255,255,255,.3);}
.heat-lv4 .heat-count,
.heat-lv5 .heat-count{border-left-color:rgba(0,0,0,.12);}
.heat:hover{transform:translateY(-1px);}

/* =========================================================
 * 文章浏览量徽标
 * ========================================================= */
.views{
    display:inline-flex;
    align-items:center;
    gap:4px;
    font-size:13px;
    font-weight:500;
    color:var(--ink-3);
    line-height:1.4;
}
.views-icon{
    font-size:12px;
    line-height:1;
    opacity:.7;
}
.views-count{
    font-variant-numeric:tabular-nums;
    font-weight:500;
}

/* =========================================================
 * 收录徽标（多引擎）
 * ========================================================= */
.index-badge{
    display:inline-flex;align-items:center;gap:6px;
    padding:4px 12px;border-radius:20px;
    background:#EEF2FF;font-size:12.5px;font-weight:700;
    color:#3730A3;line-height:1.4;
    transition:.25s var(--ease);
}
.index-badge .index-icon{font-size:12px;line-height:1;opacity:.9;}
.index-badge .index-label{font-weight:600;opacity:.85;}
.index-badge .index-count{
    font-variant-numeric:tabular-nums;font-weight:800;
    padding-left:6px;border-left:1px solid rgba(0,0,0,.15);
}
.index-badge.failed{background:#F3F4F6;color:#9CA3AF;}
.index-badge:hover{transform:translateY(-1px);}

.index-badge[data-engine="google"]{background:#EEF2FF;color:#3730A3;}
.index-badge[data-engine="bing"]{background:#E0F2FE;color:#075985;}
.index-badge[data-engine="baidu"]{background:#FEE2E2;color:#991B1B;}
.index-badge[data-engine="360"]{background:#DCFCE7;color:#166534;}
.index-badge[data-engine="shenma"]{background:#FEF3C7;color:#92400E;}
.index-badge[data-engine="toutiao"]{background:#FCE7F3;color:#9D174D;}
.index-badge:not(.failed) .index-count{border-left-color:rgba(0,0,0,.12);}

/* =========================================================
 * 首页资源 Tab 模式（胶囊按钮）
 * ========================================================= */
.resource-tabs{position:relative;}

.resource-tabs__nav{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:34px;
}

.resource-tabs__btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 22px;
    border:1px solid var(--line);
    border-radius:24px;
    background:#fff;
    color:var(--ink-2);
    font-size:14px;
    font-weight:500;
    font-family:inherit;
    cursor:pointer;
    transition:.25s var(--ease);
    white-space:nowrap;
    line-height:1.4;
}
.resource-tabs__btn:hover{
    border-color:var(--primary);
    color:#B45309;
    transform:translateY(-1px);
}
.resource-tabs__btn.is-active{
    background:linear-gradient(135deg,#FFC107,#FF8A00);
    border-color:transparent;
    color:#fff;
    font-weight:700;
    box-shadow:0 8px 20px -8px rgba(255,167,0,.55);
}
.resource-tabs__btn.is-active:hover{
    color:#fff;
    transform:translateY(-1px);
}

.resource-tabs__btn .count{
    display:none;
    font-size:11px;
    font-weight:700;
    color:var(--ink-3);
    background:#F4F5F7;
    padding:2px 8px;
    border-radius:10px;
    font-variant-numeric:tabular-nums;
    transition:.25s var(--ease);
    line-height:1.4;
}
.resource-tabs__btn.is-active .count{
    display:inline-block;
    background:rgba(255,255,255,.28);
    color:#fff;
}

.resource-tabs__panels{position:relative;}

.resource-tabs__panel{display:none;}
.resource-tabs__panel.is-active{
    display:block;
    animation:dhTabFade .35s var(--ease);
}
@keyframes dhTabFade{
    from{opacity:0;transform:translateY(8px);}
    to{opacity:1;transform:translateY(0);}
}

.resource-tabs__desc{
    font-size:14px;
    color:var(--ink-2);
    line-height:1.7;
    margin:0 0 22px;
    padding:14px 20px;
    background:#FFFBEB;
    border-left:3px solid var(--primary);
    border-radius:0 10px 10px 0;
}

.resource-tabs__more{
    margin-top:26px;
    display:flex;
    justify-content:flex-end;
}
.resource-tabs__more .section-more{
    padding:8px 18px;
    border-radius:20px;
    background:#FFFBEB;
    border:1px solid rgba(255,167,0,.25);
    color:#92400E;
}
.resource-tabs__more .section-more:hover{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;
    border-color:transparent;
    gap:9px;
}

/* =========================================================
 * 首页文章区块（支持侧边栏）
 * ========================================================= */
.posts-wrap{display:grid;gap:32px;align-items:start;}

.section-posts.layout-sidebar .posts-wrap{
    grid-template-columns:320px 1fr;
}
.section-posts.layout-narrow .posts-wrap,
.section-posts.layout-wide .posts-wrap{
    grid-template-columns:1fr;
}
.section-posts.layout-narrow .post-main{
    max-width:860px;
    margin-left:auto;
    margin-right:auto;
}
.section-posts.layout-wide .post-main{
    max-width:none;
}

.post-main{min-width:0;}

.post-main__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:22px;
    padding-bottom:16px;
    border-bottom:1px dashed var(--line);
    flex-wrap:wrap;
}
.post-main__head-left{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
.post-main__head-left .section-title{
    font-size:22px;
    font-weight:800;
    letter-spacing:-.5px;
}
.post-main__head .section-more{
    font-size:13.5px;
    font-weight:600;
    color:var(--ink-2);
    display:inline-flex;
    align-items:center;
    gap:5px;
    transition:.25s var(--ease);
    white-space:nowrap;
}
.post-main__head .section-more:hover{
    color:#FF8A00;
    gap:9px;
}

.post-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.post-item{
    position:relative;
    display:flex;align-items:center;gap:24px;
    padding:22px 26px;
    background:#fff;border:1px solid var(--line);
    border-radius:18px;text-decoration:none;
    transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s var(--ease),background .35s var(--ease);
    will-change:transform;overflow:hidden;
}
.post-item::before{
    content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
    background:linear-gradient(180deg,#FFC107,#FF8A00);
    transform:scaleY(0);transform-origin:center;
    transition:transform .35s var(--ease);
}
.post-item:hover{
    transform:translateX(4px);border-color:transparent;
    box-shadow:0 16px 40px -22px rgba(255,138,0,.30);
    background:linear-gradient(100deg,#fff 0%,#FFFDF6 60%,#FFF9E6 100%);
}
.post-item:hover::before{transform:scaleY(1);}

.post-date{
    flex-shrink:0;width:76px;height:76px;border-radius:16px;
    background:#F6F7F9;display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:2px;line-height:1;
    transition:background .35s var(--ease),box-shadow .35s var(--ease),transform .35s var(--ease);
}
.post-date .d{
    font-size:26px;font-weight:900;color:var(--ink);
    letter-spacing:-.8px;font-variant-numeric:tabular-nums;
    transition:color .35s var(--ease);
}
.post-date .m{
    font-size:11px;color:var(--ink-3);font-weight:700;
    letter-spacing:.5px;font-variant-numeric:tabular-nums;
    transition:color .35s var(--ease);
}
.post-item:hover .post-date{
    background:linear-gradient(135deg,#FFC107,#FF8A00);
    box-shadow:0 10px 24px -10px rgba(255,167,0,.55);
    transform:scale(1.05);
}
.post-item:hover .post-date .d{color:#fff;}
.post-item:hover .post-date .m{color:rgba(255,255,255,.88);}

.post-body{flex:1;min-width:0;}

.post-meta{
    display:flex;align-items:center;gap:10px;
    font-size:12px;color:var(--ink-3);
    margin-bottom:6px;flex-wrap:wrap;
}
.post-meta .cat{
    display:inline-block;padding:3px 10px;border-radius:12px;
    background:#EEF2FF;color:#3730A3;
    font-size:11px;font-weight:700;letter-spacing:.2px;
    transition:.25s var(--ease);
}
.post-item:hover .post-meta .cat{background:#FEF3C7;color:#92400E;}
.post-meta .time{font-variant-numeric:tabular-nums;}

.post-title{
    font-size:17px;font-weight:700;color:var(--ink);
    letter-spacing:-.3px;line-height:1.4;margin:0 0 6px;
    transition:color .25s var(--ease);
    display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;
}
.post-item:hover .post-title{color:#B45309;}

.post-excerpt{
    font-size:13.5px;color:var(--ink-2);line-height:1.7;margin:0;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}

.post-arrow{
    flex-shrink:0;width:36px;height:36px;border-radius:50%;
    background:#F4F5F7;color:var(--ink-3);
    display:grid;place-items:center;font-size:14px;
    transition:.35s var(--ease);
}
.post-item:hover .post-arrow{background:var(--ink);color:#fff;transform:rotate(-45deg);}

/* =========================================================
 * 首页侧边栏
 * ========================================================= */
.posts-sidebar{
    position:sticky;top:90px;
    display:flex;flex-direction:column;gap:16px;
}

.dh-widget{
    background:#fff;border:1px solid var(--line);
    border-radius:18px;padding:22px 22px 20px;
    box-shadow:0 12px 32px -28px rgba(23,24,28,.20);
    transition:.3s var(--ease);
}
.dh-widget:hover{
    border-color:#E0E4EA;
    box-shadow:0 18px 40px -28px rgba(23,24,28,.28);
}

.dh-widget__title{
    position:relative;
    display:block;
    font-size:14.5px;font-weight:800;color:var(--ink);
    letter-spacing:-.2px;margin:0 0 14px;
    padding:0 0 12px 16px;
    border-bottom:1px dashed var(--line);
    line-height:1.4;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.dh-widget__title::before{
    content:"";
    position:absolute;
    left:0;top:3px;
    width:4px;height:15px;border-radius:2px;
    background:linear-gradient(180deg,#FFC107,#FF8A00);
}

.dh-widget ul{list-style:none;margin:0;padding:0;}
.dh-widget ul li{
    position:relative;
    padding:8px 56px 8px 18px;
    font-size:13.5px;color:var(--ink-2);
    border-bottom:1px dashed var(--line);
    transition:.25s var(--ease);line-height:1.6;
}
.dh-widget ul li:last-child{border-bottom:none;padding-bottom:0;}
.dh-widget ul li::before{
    content:"";position:absolute;left:2px;top:15px;
    width:5px;height:5px;border-radius:50%;
    background:linear-gradient(135deg,#FFC107,#FF8A00);
    opacity:.6;transition:.25s var(--ease);
}
.dh-widget ul li:hover{color:var(--ink);padding-left:22px;}
.dh-widget ul li:hover::before{opacity:1;transform:scale(1.3);}

.dh-widget ul li a{
    color:inherit;text-decoration:none;
    display:block;
    width:100%;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    transition:.25s var(--ease);
}
.dh-widget ul li a:hover{color:#B45309;}

.dh-widget ul li .count,
.dh-widget ul li .post-count{
    position:absolute;
    right:0;top:50%;
    transform:translateY(-50%);
    font-size:11px;font-weight:700;color:var(--ink-3);
    background:#F4F5F7;padding:2px 8px;border-radius:10px;
    font-variant-numeric:tabular-nums;
    line-height:1.4;
    pointer-events:none;
}

.dh-widget .tagcloud a{
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.dh-widget .tagcloud{display:flex;flex-wrap:wrap;gap:6px;}
.dh-widget .tagcloud a{
    display:inline-block;padding:5px 12px;border-radius:16px;
    background:#F4F5F7;color:var(--ink-2);
    font-size:12px !important;font-weight:600;
    text-decoration:none;transition:.25s var(--ease);
    border:1px solid transparent;line-height:1.4;
}
.dh-widget .tagcloud a:hover{
    background:#FFFBEB;border-color:rgba(255,167,0,.35);
    color:#92400E;transform:translateY(-1px);
}

.dh-widget .searchform{display:flex;gap:8px;}
.dh-widget .searchform input[type="text"],
.dh-widget .searchform input[type="search"]{
    flex:1;padding:10px 14px;background:#FAFBFC;
    border:1px solid var(--line);border-radius:12px;
    font-size:13.5px;outline:none;transition:.25s var(--ease);min-width:0;
}
.dh-widget .searchform input[type="text"]:focus,
.dh-widget .searchform input[type="search"]:focus{
    background:#fff;border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(255,193,7,.18);
}
.dh-widget .searchform input[type="submit"]{
    padding:10px 16px;border:none;border-radius:12px;
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;font-weight:700;font-size:13px;
    cursor:pointer;transition:.25s var(--ease);white-space:nowrap;
}
.dh-widget .searchform input[type="submit"]:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 20px -8px rgba(255,167,0,.6);
}

.dh-widget table{width:100%;border-collapse:collapse;font-size:13px;}
.dh-widget table caption{font-weight:700;color:var(--ink);padding:0 0 10px;font-size:13.5px;}
.dh-widget table th{
    padding:6px 4px;font-size:11px;color:var(--ink-3);
    font-weight:700;text-align:center;
}
.dh-widget table td{
    padding:6px 4px;text-align:center;
    color:var(--ink-2);font-size:12.5px;
    border-radius:6px;transition:.2s var(--ease);
}
.dh-widget table td a{
    display:block;color:inherit;text-decoration:none;
    padding:4px 0;border-radius:6px;
    background:#FFFBEB;color:#92400E;font-weight:700;
}
.dh-widget table td a:hover{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;
}

/* =========================================================
 * 首页模块间距优化
 * ========================================================= */
body.home .hero,
body.page-template-front-page .hero{
    padding-bottom: 40px;
}
body.home .section,
body.page-template-front-page .section{
    padding-top: 40px;
    padding-bottom: 40px;
}
body.home .section + .section,
body.page-template-front-page .section + .section{
    padding-top: 8px;
}
body.home .resource-tabs-section,
body.page-template-front-page .resource-tabs-section{
    padding-top: 32px;
}
body.home .cta-wrap,
body.page-template-front-page .cta-wrap{
    padding-top: 16px;
    padding-bottom: 80px;
}
/* =========================================================
 * 文章详情页（single-post）
 * ========================================================= */
.post-hero{
    position:relative;
    padding:80px 28px 60px;
    text-align:center;
    overflow:hidden;
    isolation:isolate;
}
.post-hero:not(.has-cover){
    background:linear-gradient(180deg,#FFFCF0 0%,#FFFDF6 40%,#F6F7F9 100%);
}
.post-hero__bg{
    position:absolute;
    inset:0;
    z-index:-2;
}
.post-hero__bg-img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}
.post-hero__overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(23,24,28,.55) 0%, rgba(23,24,28,.45) 40%, rgba(23,24,28,.65) 100%);
    z-index:-1;
}
.post-hero__inner{
    max-width:780px;
    margin:0 auto;
    position:relative;
    z-index:1;
}
.post-hero__nav{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:22px;
    flex-wrap:wrap;
    justify-content:center;
}
.post-hero__back{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:5px 14px;
    border-radius:20px;
    background:#fff;
    border:1px solid var(--line);
    color:var(--ink-2);
    font-size:12.5px;
    font-weight:600;
    letter-spacing:.2px;
    text-decoration:none;
    transition:.25s var(--ease);
    line-height:1.4;
}
.post-hero__back svg{
    flex-shrink:0;
    display:block;
    transition:transform .25s var(--ease);
}
.post-hero__back:hover{
    background:var(--ink);
    border-color:var(--ink);
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 6px 16px -6px rgba(23,24,28,.35);
}
.post-hero__back:hover svg{
    transform:translateX(-2px);
}
.post-hero__cat{
    display:inline-block;
    padding:5px 14px;
    border-radius:20px;
    background:#fff;
    border:1px solid rgba(255,167,0,.25);
    color:#92400E;
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.3px;
    text-decoration:none;
    transition:.25s var(--ease);
    line-height:1.4;
}
.post-hero__cat:hover{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;
    border-color:transparent;
    transform:translateY(-1px);
    box-shadow:0 6px 16px -6px rgba(255,167,0,.5);
}
.post-hero__title{
    font-size:clamp(26px,4.4vw,42px);
    font-weight:900;
    letter-spacing:-1.2px;
    line-height:1.25;
    color:var(--ink);
    margin:0 0 20px;
    word-break:break-word;
}
.post-hero__meta{
    display:inline-flex;
    align-items:center;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
    font-size:13px;
    color:var(--ink-3);
    line-height:1.5;
}
.post-hero__meta .meta-item{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:var(--ink-3);
}
.post-hero__meta .meta-author{
    gap:8px;
    color:var(--ink-2);
    font-weight:600;
}
.post-hero__meta .meta-avatar{
    width:26px;
    height:26px;
    border-radius:50%;
    border:2px solid #fff;
    box-shadow:0 0 0 1px var(--line);
    display:block;
    margin:0;
}
.post-hero__meta .meta-divider{
    color:var(--line);
    font-size:11px;
}
.post-hero__meta .meta-read{
    font-variant-numeric:tabular-nums;
}
.post-hero.has-cover .post-hero__title{
    color:#fff;
    text-shadow:0 2px 20px rgba(0,0,0,.25);
}
.post-hero.has-cover .post-hero__meta,
.post-hero.has-cover .post-hero__meta .meta-item,
.post-hero.has-cover .post-hero__meta .meta-author{
    color:rgba(255,255,255,.88);
}
.post-hero.has-cover .post-hero__meta .meta-divider{
    color:rgba(255,255,255,.4);
}
.post-hero.has-cover .post-hero__meta .meta-avatar{
    border-color:rgba(255,255,255,.8);
    box-shadow:0 0 0 1px rgba(255,255,255,.3);
}
.post-hero.has-cover .post-hero__meta .views{
    color:rgba(255,255,255,.88);
}
.post-hero.has-cover .post-hero__back{
    background:rgba(255,255,255,.15);
    border-color:rgba(255,255,255,.3);
    color:rgba(255,255,255,.9);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
}
.post-hero.has-cover .post-hero__back:hover{
    background:rgba(255,255,255,.95);
    border-color:transparent;
    color:var(--ink);
}
.post-hero.has-cover .post-hero__cat{
    background:rgba(255,255,255,.95);
    color:#92400E;
    border-color:transparent;
    box-shadow:0 4px 16px -6px rgba(0,0,0,.3);
}
.post-hero.has-cover .post-hero__cat:hover{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;
}
.post-hero__meta .meta-edit{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:3px 10px;
    border-radius:14px;
    background:#EEF2FF;
    color:#3730A3;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    transition:.25s var(--ease);
    line-height:1.4;
}
.post-hero__meta .meta-edit:hover{
    background:#3730A3;
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 4px 12px -6px rgba(55,48,163,.55);
}
.post-hero__meta .meta-edit svg{
    flex-shrink:0;
    display:block;
}
.post-hero.has-cover .post-hero__meta .meta-edit{
    background:rgba(0,0,0,.35);
    color:#fff;
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
}
.post-hero.has-cover .post-hero__meta .meta-edit:hover{
    background:rgba(0,0,0,.55);
    color:#fff;
}
.post-body-wrap{
    max-width:780px;
    margin:0 auto;
    padding:48px 28px 96px;
}
.post-content{
    position:relative;
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:48px 54px;
    box-shadow:0 28px 60px -44px rgba(23,24,28,.22);
    font-size:16px;
    line-height:1.95;
    color:var(--ink-2);
}
.post-content > * + *{margin-top:18px;}
.post-content > :first-child{margin-top:0;}
.post-content h2{
    position:relative;
    font-size:22px;
    font-weight:800;
    color:var(--ink);
    letter-spacing:-.5px;
    line-height:1.35;
    margin-top:44px;
    padding-left:16px;
}
.post-content h2::before{
    content:"";
    position:absolute;
    left:0;top:5px;bottom:5px;
    width:4px;border-radius:2px;
    background:linear-gradient(180deg,#FFC107,#FF8A00);
}
.post-content h3{
    font-size:18px;
    font-weight:700;
    color:var(--ink);
    margin-top:32px;
    letter-spacing:-.2px;
}
.post-content h4{
    font-size:16px;
    font-weight:700;
    color:var(--ink);
    margin-top:24px;
}
.post-content p{margin-bottom:0;}
.post-content strong{color:var(--ink);font-weight:700;}
.post-content ul,
.post-content ol{margin-left:4px;}
.post-content ul li,
.post-content ol li{
    position:relative;
    padding-left:22px;
    margin-bottom:10px;
}
.post-content ul li::before{
    content:"";
    position:absolute;
    left:2px;top:12px;
    width:6px;height:6px;border-radius:50%;
    background:linear-gradient(135deg,#FFC107,#FF8A00);
}
.post-content ol{counter-reset:dh-ol;}
.post-content ol li{counter-increment:dh-ol;}
.post-content ol li::before{
    content:counter(dh-ol);
    position:absolute;
    left:0;top:3px;
    width:20px;height:20px;
    display:grid;place-items:center;
    background:#FFF7D6;
    color:#B45309;
    font-size:11px;
    font-weight:800;
    border-radius:6px;
}
.post-content a{
    color:#D97706;
    font-weight:600;
    text-decoration:none;
    border-bottom:1px dashed rgba(217,119,6,.45);
    transition:.25s var(--ease);
}
.post-content a:hover{
    color:#FF8A00;
    border-bottom-color:#FF8A00;
}
.post-content img{
    border-radius:14px;
    margin:8px 0;
    box-shadow:0 12px 30px -20px rgba(23,24,28,.28);
}
.post-content blockquote{
    position:relative;
    background:linear-gradient(135deg,#FFFBEB,#FFF6D6);
    border-radius:0 16px 16px 0;
    padding:20px 26px 20px 30px;
    color:var(--ink);
    font-size:15px;
    line-height:1.8;
    overflow:hidden;
}
.post-content blockquote::before{
    content:"";
    position:absolute;
    left:0;top:0;bottom:0;
    width:4px;
    background:linear-gradient(180deg,#FFC107,#FF8A00);
}
.post-content blockquote::after{
    content:"”";
    position:absolute;
    right:18px;
    bottom:-28px;
    font-size:96px;
    line-height:1;
    color:rgba(255,167,0,.14);
    font-family:Georgia,serif;
    pointer-events:none;
}
.post-content blockquote p{margin:0;}
.post-content code{
    background:#FFF7D6;
    color:#B45309;
    padding:2px 8px;
    border-radius:6px;
    font-size:13.5px;
    font-weight:600;
    font-family:"SF Mono",Monaco,Consolas,monospace;
}
.post-content pre{
    position:relative;
    background:#1B1C21;
    color:#E6E8EC;
    padding:22px 24px;
    border-radius:14px;
    overflow-x:auto;
    font-size:13.5px;
    line-height:1.75;
    box-shadow:0 16px 40px -28px rgba(0,0,0,.6);
}
.post-content pre::before{
    content:"";
    position:absolute;
    top:0;left:0;right:0;
    height:3px;
    background:linear-gradient(90deg,#FFC107,#FF8A00,#FF3D71);
    border-radius:14px 14px 0 0;
}
.post-content pre code{
    background:transparent;
    color:inherit;
    padding:0;
    font-weight:400;
}
.post-content hr{
    border:none;
    height:1px;
    background:repeating-linear-gradient(90deg,var(--line) 0 6px,transparent 6px 12px);
    margin:32px 0;
}
.post-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:32px;
    padding-top:24px;
    border-top:1px dashed var(--line);
}
.post-tag{
    display:inline-block;
    padding:5px 14px;
    border-radius:16px;
    background:#F4F5F7;
    color:var(--ink-2);
    font-size:12.5px;
    font-weight:600;
    text-decoration:none;
    transition:.25s var(--ease);
    border:1px solid transparent;
}
.post-tag:hover{
    background:#FFFBEB;
    border-color:rgba(255,167,0,.35);
    color:#92400E;
    transform:translateY(-1px);
}
.post-nav{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-top:36px;
}
.post-nav__item{
    display:flex;
    flex-direction:column;
    gap:6px;
    padding:18px 22px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    text-decoration:none;
    transition:.3s var(--ease);
    min-height:96px;
    overflow:hidden;
}
.post-nav__item:hover{
    border-color:transparent;
    box-shadow:0 16px 40px -22px rgba(255,138,0,.30);
    transform:translateY(-2px);
}
.post-nav__item.post-nav__empty{
    background:#FAFBFC;
    border-style:dashed;
    pointer-events:none;
    opacity:.5;
}
.post-nav__item.post-nav__next{
    text-align:right;
}
.post-nav__label{
    font-size:12px;
    font-weight:700;
    color:var(--ink-3);
    letter-spacing:.3px;
}
.post-nav__title{
    font-size:14.5px;
    font-weight:600;
    color:var(--ink);
    line-height:1.5;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.post-nav__item:hover .post-nav__title{
    color:#B45309;
}
.post-body-wrap .related{
    margin-top:56px;
    padding-top:0;
    border-top:none;
}
.post-body-wrap .related-title{
    font-size:20px;
    font-weight:800;
    margin-bottom:22px;
    letter-spacing:-.4px;
    color:var(--ink);
    display:flex;
    align-items:center;
    gap:12px;
}
.post-body-wrap .related-title::before{
    content:"";
    width:4px;
    height:18px;
    border-radius:2px;
    background:linear-gradient(180deg,#FFC107,#FF8A00);
}
.post-body-wrap .comments-area,
.post-body-wrap .dh-comments{
    margin-top:56px;
}

/* =========================================================
 * 响应式：1000px 及以下
 * ========================================================= */
@media (max-width:1000px){
    .navbar{
        background:#fff;
        backdrop-filter:none;
        -webkit-backdrop-filter:none;
    }

    .nav-toggle{display:flex;}

    .nav-menu{
        position:fixed;
        top:0;right:0;
        width:280px;
        max-width:82vw;
        height:100vh;
        background:#fff;
        box-shadow:-12px 0 40px -12px rgba(0,0,0,.18);
        transform:translateX(100%);
        transition:transform .32s var(--ease);
        z-index:999;
        padding:80px 18px 24px;
        flex-direction:column;
        justify-content:flex-start;
        align-items:stretch;
        overflow-y:auto;
        -webkit-overflow-scrolling:touch;
    }
    .nav-menu.is-open{
        transform:translateX(0);
    }
    .nav-menu-list{
        flex-direction:column;
        gap:6px;
        width:100%;
    }
    .nav-menu-list li{width:100%;}
    .nav-menu-list li a{
        padding:12px 16px;
        font-size:15px;
        border-radius:12px;
        display:block;
        width:100%;
    }
    .nav-menu-list li.current-menu-item > a,
    .nav-menu-list li.current_page_item > a{
        background:#FFF7D6;
        color:#92400E;
        font-weight:700;
    }
    .nav-menu-list .sub-menu{
        position:static;
        opacity:1;
        visibility:visible;
        transform:none;
        box-shadow:none;
        border:none;
        padding:0 0 0 14px;
        margin:2px 0 6px;
        background:transparent;
        border-left:2px solid var(--line);
    }
    .nav-menu-list .sub-menu li a{
        font-size:14px;
        padding:8px 14px;
    }

    /* 抽屉关闭按钮 */
    .nav-menu__close{
        display:grid;
        place-items:center;
        position:fixed;
        top:18px;
        right:18px;
        width:38px;
        height:38px;
        border:none;
        border-radius:50%;
        background:#F4F5F7;
        color:var(--ink-2);
        cursor:pointer;
        padding:0;
        z-index:1001;
        transition:.25s var(--ease);
        opacity:0;
        visibility:hidden;
        pointer-events:none;
    }
    .nav-menu__close:hover{
        background:var(--ink);
        color:#fff;
        transform:rotate(90deg);
    }
    body.dh-drawer-open .nav-menu__close{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }

    /* 提交按钮收缩 */
    .nav-submit{
        padding:7px 13px;
        font-size:12px;
    }

    .footer-inner{grid-template-columns:1fr 1fr;gap:32px;}

    .section-posts.layout-sidebar .posts-wrap{
        grid-template-columns:280px 1fr;
        gap:24px;
    }
    .posts-sidebar{position:static;}
}

/* =========================================================
 * 响应式：680px 及以下（手机）
 * ========================================================= */
@media (max-width:680px){
    body{
        padding-top:60px;
    }

    .nav-inner{padding:0 14px;height:60px;gap:10px;}

    .logo{
        font-size:16px;
        gap:8px;
        min-width:0;
        flex-shrink:1;
        overflow:hidden;
    }
    .logo-mark{
        width:30px;
        height:30px;
        border-radius:9px;
        font-size:15px;
        flex-shrink:0;
    }

    .nav-right{
        flex:1 1 auto;
        min-width:0;
        justify-content:flex-end;
    }

    /* 移动端隐藏提交按钮 */
    .nav-submit{
        display:none;
    }

    /* 首页 Hero */
    .hero{padding:44px 18px 32px;}
    .hero-glow{width:420px;height:280px;top:-80px;}
    .hero-tag{margin-bottom:16px;font-size:12px;}
    .hero h1{
        font-size:clamp(24px,6.5vw,32px);
        letter-spacing:-1px;
        margin-bottom:14px;
    }
    .hero p{
        font-size:14.5px;
        margin-bottom:22px;
        line-height:1.65;
    }
    .hero-stats{gap:28px;margin-top:24px;padding-top:20px;}
    .stat b{font-size:19px;}
    .stat span{font-size:11.5px;}

    .section{padding:40px 18px;}
    .section-title{font-size:20px;}
    .grid{grid-template-columns:1fr;gap:14px;}

    .page-hero{padding:40px 0 34px;}
    .page-hero-inner{padding:0 18px;}

    .single-hero{padding:36px 0 34px;}
    .single-hero-inner{padding:0 18px;}
    .hero-grid{flex-direction:column;gap:22px;}
    .hero-left,
    .hero-right{width:100%;max-width:none;}
    .hero-right{order:-1;}
    .hero-actions{margin-top:20px;}
    .single-brand{gap:14px;}
    .single-icon{
        width:56px;height:56px;font-size:24px;border-radius:16px;
    }
    .single-brand h1{font-size:clamp(22px,6vw,30px);}

    .index-bar{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
        margin-top:26px;
        padding-top:18px;
    }
    .index-bar-title{
        padding-right:0;
        border-right:none;
        padding-bottom:8px;
        border-bottom:1px solid var(--line);
        width:100%;
    }

    .single-body{padding:36px 18px 70px;}
    .single-body > * + *{margin-top:20px;}

    .single-content{
        padding:28px 22px;
        border-radius:18px;
        font-size:15.5px;
        line-height:1.85;
    }
    .single-content h2{font-size:19px;margin-top:34px;padding-left:14px;}
    .single-content h3{font-size:16.5px;margin-top:26px;}
    .single-content pre{padding:18px 16px;font-size:12.5px;}
    .single-content blockquote{padding:16px 20px 16px 24px;font-size:14.5px;}

    .related-title{font-size:18px;margin-bottom:18px;}

    .dh-comments{
        padding:26px 18px 28px;
        border-radius:18px;
    }
    .dh-comments__panel{
        padding:16px 14px 6px;
        border-radius:14px;
        margin-bottom:22px;
    }
    .dh-comments__title{
        font-size:15px;
        margin-bottom:14px;
        padding-bottom:12px;
        gap:10px;
    }
    .dh-comments__list .comment-body{
        padding:14px;
        border-radius:12px;
        margin-bottom:8px;
    }
    .dh-comments__list .children{
        padding-left:14px;
        border-left-width:2px;
    }
    .dh-comments__list .comment-author .avatar{
        width:34px;height:34px;border-radius:10px;
    }
    .dh-comments__list .comment-author{font-size:14px;}
    .dh-comments__list .comment-metadata{margin-left:44px;font-size:12px;}
    .dh-comments__list .comment-content{margin-left:44px;font-size:14px;}
    .dh-comments__list .reply{margin-left:44px;}

    .dh-comments .comment-respond{padding:22px 0 0;}

    .comment-form{
        grid-template-columns:1fr;
        gap:14px;
    }
    .comment-form > *{grid-column:1 / -1 !important;}
    .comment-form input[type="submit"],
    .comment-form .submit{
        width:100%;
        padding:13px 20px;
    }
    .comment-form .form-submit{justify-content:stretch;}
    .comment-form textarea{min-height:110px;}

    .cta-wrap{padding:20px 18px 70px;}
    .cta{padding:48px 24px;border-radius:22px;}

    .footer-inner{grid-template-columns:1fr;gap:28px;padding:44px 18px 24px;}
    .footer-bottom{padding:18px;justify-content:center;text-align:center;}

    .to-top{right:16px;bottom:16px;width:42px;height:42px;}
    .dh-theme-toggle--fab{right:16px;bottom:70px;width:42px;height:42px;}
    .progress-badge{right:14px;top:12px;}

    .submit-wrap{padding:36px 18px 60px;}
    .submit-form{padding:24px 20px;border-radius:18px;}
    .form-row-inline{grid-template-columns:1fr;}

    .dh-login-notice{
        padding:12px 16px;
        gap:12px;
    }
    .dh-login-notice__btn{
        width:100%;
        text-align:center;
    }

    .form-alert__actions{
        flex-direction:column;
    }
    .form-alert__actions a{
        text-align:center;
    }

    .captcha-row{flex-wrap:wrap;gap:10px;}
    .captcha-question{padding:10px 18px;font-size:15px;}
    .captcha-row input[type="text"]{flex:1 1 100%;}

    /* 资源 Tab 横向滚动 */
    .resource-tabs__nav{
        display:flex;
        flex-wrap:nowrap;
        justify-content:flex-start;
        gap:8px;
        margin-bottom:34px;
        overflow-x:auto;
        overflow-y:hidden;
        padding:2px 2px 8px;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        -ms-overflow-style:none;
        scroll-behavior:smooth;
        overscroll-behavior-x:contain;
    }
    .resource-tabs__nav::-webkit-scrollbar{display:none;}
    .resource-tabs__nav > *{flex-shrink:0;}
    .resource-tabs__nav > :first-child{margin-left:auto;}
    .resource-tabs__nav > :last-child{margin-right:auto;}
    .resource-tabs__nav::before,
    .resource-tabs__nav::after{
        content:"";
        flex:0 0 0;
        margin:auto;
    }
    .resource-tabs__btn{
        padding:8px 16px;
        font-size:13px;
        flex-shrink:0;
    }
    .resource-tabs__btn .count{
        padding:1px 7px;
        font-size:10px;
    }
    .resource-tabs__desc{
        font-size:13.5px;
        padding:12px 16px;
        margin-bottom:18px;
    }
    .resource-tabs__more{
        justify-content:center;
        margin-top:18px;
    }
    .resource-tabs__more .section-more{
        width:100%;
        justify-content:center;
    }

    /* 文章列表 —— 手机端隐藏侧边栏 */
    .section-posts.layout-sidebar .posts-wrap,
    .section-posts.layout-narrow .posts-wrap,
    .section-posts.layout-wide .posts-wrap{
        grid-template-columns:1fr;
        gap:0;
    }
    .posts-sidebar{
        display:none;
    }

    .post-main__head{
        margin-bottom:16px;
        padding-bottom:12px;
    }
    .post-main__head-left .section-title{
        font-size:18px;
    }
    .post-list{gap:10px;}
    .post-item{
        gap:14px;
        padding:16px 16px 16px 14px;
        align-items:flex-start;
        border-radius:14px;
    }
    .post-date{width:58px;height:58px;border-radius:12px;}
    .post-date .d{font-size:20px;}
    .post-date .m{font-size:10px;}
    .post-meta{font-size:11px;margin-bottom:4px;}
    .post-meta .cat{padding:2px 8px;font-size:10px;}
    .post-title{font-size:15px;-webkit-line-clamp:2;margin-bottom:4px;}
    .post-excerpt{font-size:13px;-webkit-line-clamp:2;}
    .post-arrow{display:none;}

    /* 首页模块间距优化（移动端） */
    body.home .hero,
    body.page-template-front-page .hero{
        padding-bottom: 28px;
    }
    body.home .section,
    body.page-template-front-page .section{
        padding-top: 28px;
        padding-bottom: 28px;
    }
    body.home .section + .section,
    body.page-template-front-page .section + .section{
        padding-top: 6px;
    }
    body.home .resource-tabs-section,
    body.page-template-front-page .resource-tabs-section{
        padding-top: 24px;
    }
    body.home .cta-wrap,
    body.page-template-front-page .cta-wrap{
        padding-top: 12px;
        padding-bottom: 60px;
    }

    /* 文章详情页 */
    .post-hero{
        padding:56px 18px 44px;
        min-height:260px;
        display:flex;
        align-items:center;
        justify-content:center;
    }
    .post-hero__nav{
        margin-bottom:16px;
        gap:6px;
    }
    .post-hero__back,
    .post-hero__cat{
        padding:4px 12px;
        font-size:11.5px;
    }
    .post-hero__back svg{
        width:10px;
        height:10px;
    }
    .post-hero__title{
        font-size:clamp(22px,6vw,28px);
        letter-spacing:-.8px;
        margin-bottom:16px;
    }
    .post-hero__meta{
        font-size:12.5px;
        gap:6px;
    }
    .post-hero__meta .meta-avatar{
        width:22px;
        height:22px;
    }

    .post-body-wrap{
        padding:32px 18px 70px;
    }

    .post-content{
        padding:28px 22px;
        border-radius:18px;
        font-size:15.5px;
        line-height:1.85;
    }
    .post-content h2{
        font-size:19px;
        margin-top:34px;
        padding-left:14px;
    }
    .post-content h3{
        font-size:16.5px;
        margin-top:26px;
    }
    .post-content pre{
        padding:18px 16px;
        font-size:12.5px;
    }
    .post-content blockquote{
        padding:16px 20px 16px 24px;
        font-size:14.5px;
    }

    .post-nav{
        grid-template-columns:1fr;
        gap:12px;
        margin-top:28px;
    }
    .post-nav__item{
        padding:14px 18px;
        min-height:auto;
    }
    .post-nav__item.post-nav__next{
        text-align:left;
    }
    .post-nav__title{
        font-size:14px;
    }

    .post-body-wrap .related{
        margin-top:44px;
    }
    .post-body-wrap .related-title{
        font-size:18px;
        margin-bottom:18px;
    }

    .post-body-wrap .comments-area,
    .post-body-wrap .dh-comments{
        margin-top:44px;
    }
}

/* =========================================================
 * 响应式：420px 及以下（超窄屏）
 * ========================================================= */
@media (max-width:420px){
    .logo{
        font-size:0;
        gap:0;
    }
    .logo-mark{
        font-size:15px;
    }
}

/* =========================================================
 * 列表页筛选器
 * ========================================================= */
.filter-bar{
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:20px 24px;
    margin-bottom:32px;
    display:flex;
    flex-direction:column;
    gap:14px;
}
.filter-row{
    display:flex;
    gap:16px;
    align-items:flex-start;
}
.filter-row + .filter-row{
    padding-top:14px;
    border-top:1px dashed var(--line);
}
.filter-label{
    flex-shrink:0;
    width:56px;
    padding-top:5px;
    font-size:12.5px;
    font-weight:700;
    color:var(--ink-3);
    letter-spacing:.5px;
    white-space:nowrap;
}
.filter-options{
    flex:1;
    min-width:0;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}
.filter-tag{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:5px 14px;
    border-radius:18px;
    background:#F6F7F9;
    color:var(--ink-2);
    font-size:13px;
    font-weight:500;
    text-decoration:none;
    transition:.25s var(--ease);
    line-height:1.4;
    white-space:nowrap;
    border:1px solid transparent;
}
.filter-tag:hover{
    background:#FFF7D6;
    color:#92400E;
    transform:translateY(-1px);
}
.filter-tag.is-active{
    background:linear-gradient(135deg,#FFC107,#FF8A00);
    color:#fff;
    font-weight:700;
    box-shadow:0 6px 16px -8px rgba(255,167,0,.6);
}
.filter-tag.is-active:hover{
    color:#fff;
    transform:translateY(-1px);
}
.filter-tag .count{
    font-size:11px;
    opacity:.7;
    font-weight:600;
    font-variant-numeric:tabular-nums;
}
.filter-tag.is-active .count{
    opacity:.9;
}
button.filter-tag--btn{
    appearance:none;
    -webkit-appearance:none;
    font-family:inherit;
    cursor:pointer;
}
button.filter-tag--btn svg{
    flex-shrink:0;
    display:block;
}
@media (max-width:680px){
    .filter-bar{
        padding:16px 16px 14px;
        border-radius:14px;
        margin-bottom:22px;
        gap:10px;
    }
    .filter-row{
        flex-direction:column;
        gap:8px;
    }
    .filter-row + .filter-row{
        padding-top:10px;
    }
    .filter-label{
        width:auto;
        padding-top:0;
        font-size:12px;
    }
    .filter-options{
        gap:5px;
        flex-wrap:nowrap;
        overflow-x:auto;
        padding-bottom:4px;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
    }
    .filter-options::-webkit-scrollbar{display:none;}
    .filter-tag{
        padding:5px 12px;
        font-size:12.5px;
        flex-shrink:0;
    }
    .filter-tag .count{
        font-size:10px;
    }
    .filter-row-view .filter-options{
        flex-wrap:nowrap;
    }
}

/* =========================================================
 * 单页 / 单文章 标签通用间距
 * ========================================================= */
.single-body > .post-tags{
    margin-top:32px;
    padding-top:24px;
    border-top:1px dashed var(--line);
}
.post-body-wrap > .post-tags{
    margin-top:32px;
    padding-top:24px;
    border-top:1px dashed var(--line);
}

/* =========================================================
 * 文章详情页面包屑（在 Hero 内的适配）
 * ========================================================= */
.post-hero .breadcrumb{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:2px;
    font-size:12.5px;
    margin:0 0 22px;
    line-height:1.5;
}
.post-hero .breadcrumb a{
    color:var(--ink-2);
    transition:.25s var(--ease);
}
.post-hero .breadcrumb a:hover{
    color:#FF8A00;
}
.post-hero .breadcrumb .sep{
    margin:0 4px;
    color:var(--ink-3);
}
.post-hero .breadcrumb .current{
    color:var(--ink);
    font-weight:600;
    max-width:60%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.post-hero.has-cover .breadcrumb a{
    color:rgba(255,255,255,.78);
}
.post-hero.has-cover .breadcrumb a:hover{
    color:#fff;
}
.post-hero.has-cover .breadcrumb .sep{
    color:rgba(255,255,255,.4);
}
.post-hero.has-cover .breadcrumb .current{
    color:#fff;
}
@media (max-width:680px){
    .post-hero .breadcrumb{
        font-size:11.5px;
        margin-bottom:16px;
        gap:0;
    }
    .post-hero .breadcrumb .sep{
        margin:0 3px;
    }
    .post-hero .breadcrumb .current{
        max-width:50%;
    }
}

/* =========================================================
 * 内容页弹层（PC 端小红书模式）
 * ========================================================= */
html.dh-modal-open,
html.dh-modal-open body {
    overflow: hidden;
}
html.dh-modal-open body {
    padding-right: var(--scrollbar-width, 0px);
}
.dh-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(23, 24, 28, 0.55);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.4s var(--ease),
        backdrop-filter 0.4s var(--ease),
        -webkit-backdrop-filter 0.4s var(--ease),
        visibility 0.4s;
}
.dh-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        opacity 0.12s linear,
        visibility 0s,
        backdrop-filter 0.3s var(--ease),
        -webkit-backdrop-filter 0.3s var(--ease);
}
.dh-modal-overlay.is-closing {
    opacity: 0;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    transition:
        opacity 0.45s ease-in,
        backdrop-filter 0.45s ease-in,
        -webkit-backdrop-filter 0.45s ease-in;
}
.dh-modal {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: calc(100vh - 80px);
    background: #F6F7F9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 40px 100px -30px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    will-change: opacity;
}
.dh-modal-overlay.is-open .dh-modal {
    opacity: 1;
    transition: opacity 0.12s linear;
}
.dh-modal-overlay.is-closing .dh-modal {
    opacity: 0;
    transition: opacity 0.45s ease-in;
}
.dh-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 16px -6px rgba(0, 0, 0, 0.25);
    transition: all 0.25s var(--ease);
    opacity: 0;
    transform: scale(0.6);
}
.dh-modal-overlay.is-open .dh-modal__close {
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 0.3s var(--ease) 0.15s,
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s,
        background 0.25s var(--ease),
        color 0.25s var(--ease);
}
.dh-modal__close:hover {
    background: var(--ink);
    color: #fff;
    transform: rotate(90deg) scale(1.08);
}
.dh-modal__inner {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 80px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--sb-thumb) transparent;
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}
.dh-modal__inner::-webkit-scrollbar { width: 6px; }
.dh-modal__inner::-webkit-scrollbar-track { background: transparent; }
.dh-modal__inner::-webkit-scrollbar-thumb {
    background: var(--sb-thumb);
    border-radius: 6px;
}
.dh-modal__inner::-webkit-scrollbar-thumb:hover {
    background: var(--sb-thumb-hover);
}
.dh-modal__inner .single-hero {
    border-bottom: none;
    border-radius: 24px 24px 0 0;
}
.dh-modal__inner .single-body { padding-top: 48px; }
.dh-modal__inner .card:hover { transform: none; }
.dh-modal__skeleton {
    padding: 48px 40px 56px;
    min-height: 380px;
}
.sk-hero {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 32px;
}
.sk-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    flex-shrink: 0;
    background: linear-gradient(90deg, #ECEEF2 0%, #F6F7F9 50%, #ECEEF2 100%);
    background-size: 200% 100%;
    animation: skShimmer 1.5s ease-in-out infinite;
}
.sk-hero-text {
    flex: 1;
    min-width: 0;
}
.sk-line {
    height: 14px;
    border-radius: 7px;
    background: linear-gradient(90deg, #ECEEF2 0%, #F6F7F9 50%, #ECEEF2 100%);
    background-size: 200% 100%;
    animation: skShimmer 1.5s ease-in-out infinite;
    margin-bottom: 12px;
}
.sk-line.sk-title {
    height: 26px;
    border-radius: 10px;
    width: 65%;
    margin-bottom: 14px;
}
.sk-line.sk-meta { width: 40%; height: 12px; margin-bottom: 0; }
.sk-line.sk-w-90 { width: 90%; }
.sk-line.sk-w-80 { width: 80%; }
.sk-line.sk-w-70 { width: 70%; }
.sk-line.sk-w-60 { width: 60%; }
.sk-line.sk-w-50 { width: 50%; }
.sk-line.sk-w-40 { width: 40%; }
.sk-line.sk-w-30 { width: 30%; }
.sk-card {
    background: #fff;
    border: 1px solid #ECEEF2;
    border-radius: 18px;
    padding: 26px;
    margin-top: 16px;
}
@keyframes skShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.dh-modal__inner.is-fresh {
    animation: dhModalFadeIn 0.42s var(--ease);
}
@keyframes dhModalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@media (max-width: 1023px) {
    .dh-modal-overlay { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .dh-modal,
    .dh-modal-overlay,
    .dh-modal__close,
    .dh-modal__inner {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =========================================================
 * 长文本防溢出
 * ========================================================= */
.card-top-text {
    flex: 1;
    min-width: 0;
}
.card-name,
.card-host,
.card-desc,
.post-title,
.post-excerpt,
.section-title,
.section-sub,
.single-brand h1,
.single-content h1,
.single-content h2,
.single-content h3,
.single-content h4,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-hero__title,
.page-hero h1,
.empty-state h2,
.related-title {
    word-break: break-word;
    overflow-wrap: anywhere;
}
.grid .card,
html[data-post-view="card"] .post-list .card {
    min-width: 0;
}
.post-list > .post-item {
    min-width: 0;
}
@media (max-width:680px){
    .post-body {
        min-width: 0;
    }
    .post-title,
    .post-excerpt {
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

/* =========================================================
 * 卡片 / 列表项 · 覆盖式主链接 + 独立分类链接
 * ========================================================= */
.card,
.post-item {
    position: relative;
    isolation: isolate;
}
.card-link,
.post-item-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: transparent;
    font-size: 0;
    color: transparent;
    text-decoration: none;
}
.card .card-foot .chip,
.post-item .post-meta .cat {
    position: relative;
    z-index: 2;
    cursor: pointer;
    text-decoration: none;
}
a.chip:hover {
    background: #FFE9B0;
    color: var(--ink);
}
a.cat:hover {
    background: #FEF3C7;
    color: #92400E;
}
.card.has-cover a.chip:hover {
    background: rgba(255,255,255,.38);
    color: #fff;
}
@media (max-width:680px){
    .card .card-foot .chip,
    .post-item .post-meta .cat {
        padding: 4px 12px;
    }
}

/* =========================================================
 * 文章列表项 · 特色图缩略
 * ========================================================= */
.post-thumb {
    flex-shrink: 0;
    width: 108px;
    height: 76px;
    border-radius: 16px;
    overflow: hidden;
    background: #F6F7F9;
    position: relative;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-thumb img,
.post-thumb__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .5s var(--ease);
}
.post-item:hover .post-thumb {
    box-shadow: 0 10px 24px -10px rgba(255,167,0,.55);
    transform: scale(1.03);
}
.post-item:hover .post-thumb img,
.post-item:hover .post-thumb__img {
    transform: scale(1.06);
}
@media (max-width:680px){
    .post-thumb {
        width: 84px;
        height: 62px;
        border-radius: 12px;
    }
}

/* =========================================================
 * 卡片 · 背景图模式（文章有特色图时）
 * ========================================================= */
.card.has-cover {
    position: relative;
    min-height: 210px;
    border-color: transparent;
    color: #fff;
    isolation: isolate;
}
.card-cover {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform .6s var(--ease);
    border-radius: inherit;
    overflow: hidden;
}
.card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(23,24,28,.28) 0%,
        rgba(23,24,28,.55) 55%,
        rgba(23,24,28,.80) 100%
    );
}
.card.has-cover::after {
    display: none;
}
.card.has-cover .card-icon {
    background: rgba(255,255,255,.20);
    color: #fff;
    border: 1px solid rgba(255,255,255,.30);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px -6px rgba(0,0,0,.45);
}
.card.has-cover .card-name {
    color: #fff;
    text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
.card.has-cover .card-host {
    color: rgba(255,255,255,.72);
    text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.card.has-cover .card-desc {
    color: rgba(255,255,255,.86);
    text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.card.has-cover .card-foot {
    border-top-color: rgba(255,255,255,.20);
}
.card.has-cover .chip {
    background: rgba(255,255,255,.20);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.22);
}
.card.has-cover .arrow {
    background: rgba(255,255,255,.20);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.card.has-cover:hover {
    border-color: transparent;
    box-shadow: 0 24px 48px -18px rgba(23,24,28,.45);
}
.card.has-cover:hover .card-cover {
    transform: scale(1.06);
}
.card.has-cover:hover .card-icon {
    transform: scale(1.08) rotate(-4deg);
}
.card.has-cover:hover .arrow {
    background: var(--primary);
    color: var(--ink);
}
.dh-modal__inner .card.has-cover:hover .card-cover {
    transform: none;
}
@media (max-width:680px){
    .card.has-cover {
        min-height: 180px;
    }
    .card.has-cover .card-desc {
        -webkit-line-clamp: 2;
    }
}

/* =========================================================
 * 文章列表 · 视图切换（列表 / 卡片）
 * ========================================================= */
html:not([data-post-view]) .post-list .card { display: none; }
html[data-post-view="list"] .post-list .card { display: none !important; }
html[data-post-view="card"] .post-list .post-item { display: none !important; }
html[data-post-view="card"] .post-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
    gap: 18px;
    flex-direction: unset;
}
html[data-post-view="card"] .post-list .card {
    display: flex;
    flex-direction: column;
}
@media (max-width:680px){
    html[data-post-view="card"] .post-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
/* =========================================================
 * 首页 · 行情 + 天气 + 配色 + 名言 仪表盘
 * ========================================================= */
.dh-dashboard {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px 8px;
}
.dh-dashboard__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

/* ---------- 股市 ---------- */
.dh-stock {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 12px 32px -28px rgba(23,24,28,.20);
    display: flex;
    flex-direction: column;
}
.dh-stock__inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    justify-content: space-between;
}
.dh-stock__item {
    justify-content: space-between;
    width: 100%;
}
.dh-stock__foot {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-3);
    letter-spacing: .3px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.dh-stock__item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-variant-numeric: tabular-nums;
    min-width: 0;
}
.dh-stock__name {
    font-size: 12.5px;
    color: var(--ink-3);
    font-weight: 600;
    white-space: nowrap;
}
.dh-stock__price {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.3px;
}
.dh-stock__change {
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}
.dh-stock__change em {
    font-style: normal;
    opacity: .85;
    margin-left: 2px;
}
.dh-stock__item.is-up .dh-stock__price,
.dh-stock__item.is-up .dh-stock__change {
    color: #DC2626;
}
.dh-stock__item.is-down .dh-stock__price,
.dh-stock__item.is-down .dh-stock__change {
    color: #16A34A;
}

/* ---------- 天气 ---------- */
.dh-weather {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 12px 32px -28px rgba(23,24,28,.20);
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.dh-weather__skeleton {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dh-weather__skeleton .sk-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #ECEEF2 0%, #F6F7F9 50%, #ECEEF2 100%);
    background-size: 200% 100%;
    animation: skShimmer 1.5s ease-in-out infinite;
    margin: 0;
}
.dh-weather__skeleton .sk-w-40 { width: 40%; }
.dh-weather__skeleton .sk-w-70 { width: 70%; }
.dh-weather__now {
    display: flex;
    align-items: center;
    gap: 14px;
}
.dh-weather__icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}
.dh-weather__now-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}
.dh-weather__temp {
    font-size: 26px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -1px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.dh-weather__desc {
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 600;
}
.dh-weather__city {
    margin-left: auto;
    font-size: 12px;
    color: var(--ink-3);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}
.dh-weather__daily {
    display: flex;
    gap: 14px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}
.dh-weather__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex: 1;
    min-width: 0;
}
.dh-weather__day-name {
    font-size: 11px;
    color: var(--ink-3);
    font-weight: 700;
}
.dh-weather__day-icon {
    font-size: 18px;
    line-height: 1;
}
.dh-weather__day-temp {
    font-size: 11.5px;
    color: var(--ink-2);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.dh-weather__fail {
    font-size: 13px;
    color: var(--ink-3);
    text-align: center;
}

/* ---------- 配色 / 名言 ---------- */
.dh-palette,
.dh-quote {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 12px 32px -28px rgba(23,24,28,.20);
}
.dh-palette__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.dh-palette__title,
.dh-quote__title {
    font-size: 12px;
    font-weight: 800;
    color: var(--ink-3);
    letter-spacing: .8px;
    text-transform: uppercase;
}
.dh-palette__name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}
.dh-palette__swatches {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.dh-swatch {
    position: relative;
    height: 76px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    font-family: inherit;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.dh-swatch:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -12px rgba(0,0,0,.30), inset 0 0 0 1px rgba(0,0,0,.06);
}
.dh-swatch:active {
    transform: translateY(-1px);
}
.dh-swatch__hex {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: rgba(255,255,255,.9);
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
    letter-spacing: .2px;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity .2s;
}
.dh-swatch[data-color="#F4F4F5"] .dh-swatch__hex,
.dh-swatch[data-color="#FEF3C7"] .dh-swatch__hex,
.dh-swatch[data-color="#FDE68A"] .dh-swatch__hex,
.dh-swatch[data-color="#FFF7ED"] .dh-swatch__hex,
.dh-swatch[data-color="#ECFCCB"] .dh-swatch__hex,
.dh-swatch[data-color="#FDF2F8"] .dh-swatch__hex,
.dh-swatch[data-color="#F0FDF4"] .dh-swatch__hex,
.dh-swatch[data-color="#F0F9FF"] .dh-swatch__hex,
.dh-swatch[data-color="#F5F3FF"] .dh-swatch__hex,
.dh-swatch[data-color="#F1F5F9"] .dh-swatch__hex,
.dh-swatch[data-color="#FFF1F2"] .dh-swatch__hex,
.dh-swatch[data-color="#ECFEFF"] .dh-swatch__hex,
.dh-swatch[data-color="#DCFCE7"] .dh-swatch__hex,
.dh-swatch[data-color="#DBEAFE"] .dh-swatch__hex,
.dh-swatch[data-color="#EDE9FE"] .dh-swatch__hex,
.dh-swatch[data-color="#FCE7F3"] .dh-swatch__hex,
.dh-swatch[data-color="#FFE4E6"] .dh-swatch__hex,
.dh-swatch[data-color="#EFF6FF"] .dh-swatch__hex,
.dh-swatch[data-color="#FEE2E2"] .dh-swatch__hex {
    color: rgba(23,24,28,.75);
    text-shadow: none;
}
.dh-swatch.is-copied {
    box-shadow: 0 0 0 3px var(--primary), 0 12px 24px -12px rgba(255,167,0,.6);
}
.dh-palette__hint {
    font-size: 11.5px;
    color: var(--ink-3);
    margin: 12px 0 0;
    text-align: center;
}
.dh-quote {
    cursor: pointer;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
    display: flex;
    flex-direction: column;
}
.dh-quote:hover {
    border-color: rgba(255,167,0,.35);
    box-shadow: 0 18px 40px -28px rgba(255,138,0,.35);
}
.dh-quote:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.dh-quote.is-copied {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,193,7,.22);
}
.dh-quote__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.dh-quote__copy {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ink-3);
    padding: 3px 10px;
    border-radius: 12px;
    background: #F4F5F7;
    transition: .25s var(--ease);
    white-space: nowrap;
}
.dh-quote:hover .dh-quote__copy {
    background: #FFFBEB;
    color: #92400E;
}
.dh-quote.is-copied .dh-quote__copy {
    background: var(--primary);
    color: var(--ink);
}
.dh-quote__body {
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 18px;
    position: relative;
}
.dh-quote__body::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #FFC107, #FF8A00);
}
.dh-quote__text {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.7;
    margin: 0 0 8px;
    letter-spacing: -.2px;
}
.dh-quote__author {
    font-style: normal;
    font-size: 12.5px;
    color: var(--ink-3);
    font-weight: 600;
}
@media (max-width: 680px) {
    .dh-dashboard {
        padding: 0 18px 8px;
    }
    .dh-weather__city {
        max-width: 80px;
    }
    .dh-palette__swatches {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }
    .dh-swatch {
        height: 60px;
        border-radius: 10px;
    }
    .dh-swatch__hex {
        font-size: 9px;
        bottom: 4px;
    }
    .dh-quote__text {
        font-size: 14px;
    }
}

/* =========================================================
 * 网站安全徽章
 * ========================================================= */
.dh-safety {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2px;
    line-height: 1.4;
    border: 1px solid transparent;
    cursor: help;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    user-select: none;
}
.dh-safety:hover {
    transform: translateY(-1px);
}
.dh-safety__icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.dh-safety--safe {
    background: #ECFDF5;
    color: #047857;
    border-color: #A7F3D0;
}
.dh-safety--safe:hover {
    box-shadow: 0 6px 16px -6px rgba(4,120,87,.35);
}
.dh-safety--stale {
    background: #F0FDF4;
    color: #16A34A;
    border-color: #BBF7D0;
}
.dh-safety--stale:hover {
    box-shadow: 0 6px 16px -6px rgba(22,163,74,.30);
}
.dh-safety--unknown {
    background: #F4F5F7;
    color: var(--ink-3);
    border-color: var(--line);
}
.dh-safety--unknown:hover {
    box-shadow: 0 6px 16px -6px rgba(0,0,0,.12);
}
.dh-safety--warning {
    background: #FFFBEB;
    color: #B45309;
    border-color: #FDE68A;
}
.dh-safety--warning:hover {
    box-shadow: 0 6px 16px -6px rgba(180,83,9,.30);
}
.dh-safety--danger {
    background: #FEF2F2;
    color: #B91C1C;
    border-color: #FECACA;
}
.dh-safety--danger:hover {
    box-shadow: 0 6px 16px -6px rgba(185,28,28,.35);
}
@media (max-width: 680px) {
    .dh-safety {
        padding: 7px 13px;
        font-size: 12px;
    }
    .dh-safety__label {
        display: none;
    }
    .dh-safety {
        padding: 9px;
        border-radius: 50%;
    }
    .dh-safety__icon svg {
        width: 16px;
        height: 16px;
    }
}

/* =========================================================
 * 安全说明页 · 徽章对照表
 * ========================================================= */
.safety-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 8px;
}
.safety-legend__row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #FAFBFC;
    border: 1px solid var(--line);
    border-radius: 14px;
    flex-wrap: wrap;
}
.safety-legend__row .safety-demo {
    flex-shrink: 0;
    pointer-events: none;
}
.safety-legend__text {
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.7;
}
@media (max-width: 680px) {
    .safety-legend__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .safety-legend__row .safety-demo {
        padding: 8px 14px;
        border-radius: 20px;
    }
    .safety-legend__row .safety-demo .dh-safety__label {
        display: inline;
    }
    .safety-legend__row .safety-demo .dh-safety__icon svg {
        width: 14px;
        height: 14px;
    }
}

/* =========================================================
 * 资源详情 · 默认特色图
 * ========================================================= */
.single-thumb--default{
    padding:0;
    background:#F6F7F9;
    width:100%;
    aspect-ratio:16 / 9;
}
.single-thumb--default svg{
    display:block;
    width:100%;
    height:100%;
    border-radius:12px;
    object-fit:cover;
}
.single-thumb--default img,
.single-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    flex: 1;
    min-height: 0;
    border-radius: 12px;
}
@media (max-width: 680px) {
    .single-thumb--default {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }
}

/* =========================================================
 * 综合 SEO 数据卡片
 * ========================================================= */
.dh-seo-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px 26px;
    box-shadow: 0 20px 44px -36px rgba(23,24,28,.18);
    margin-bottom: 28px;
}
.dh-seo-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line);
}
.dh-seo-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.2px;
}
.dh-seo-card__title::before {
    content: "";
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: linear-gradient(180deg, #FFC107, #FF8A00);
}
.dh-seo-card__refresh {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink-3);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .25s var(--ease);
    padding: 0;
}
.dh-seo-card__refresh:hover {
    color: var(--ink);
    border-color: var(--primary);
    background: #FFF9E6;
}
.dh-seo-card__refresh.is-spinning svg {
    animation: dhSpin .6s linear;
}
@keyframes dhSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.dh-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}
.dh-seo-item {
    padding: 16px 18px;
    background: #FAFBFC;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: center;
    transition: .25s var(--ease);
}
.dh-seo-item__label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ink-3);
    letter-spacing: .3px;
    margin-bottom: 8px;
}
.dh-seo-item__value {
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -.5px;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}
.dh-seo-loading {
    color: var(--ink-3);
    font-weight: 600;
    font-size: 16px;
}
.dh-seo-item--ok .dh-seo-item__value { color: #16A34A; }
.dh-seo-item--fail .dh-seo-item__value { color: #DC2626; }
.dh-seo-item--safe .dh-seo-item__value { color: #16A34A; }
.dh-seo-item--warning .dh-seo-item__value { color: #D97706; }
.dh-seo-item--danger .dh-seo-item__value { color: #DC2626; }
.dh-seo-item--unknown .dh-seo-item__value { color: var(--ink-3); }
.dh-seo-detail {
    padding-top: 18px;
    border-top: 1px dashed var(--line);
}
.dh-seo-detail__title {
    font-size: 12px;
    font-weight: 800;
    color: var(--ink-3);
    letter-spacing: .6px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.dh-seo-detail__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}
.dh-seo-detail__grid .index-badge {
    flex: 1 1 0;
    min-width: 0;
}
.dh-seo-detail__grid .index-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 700;
    transition: .25s var(--ease);
}
.dh-seo-detail__grid .index-badge .index-label {
    flex-shrink: 0;
    font-weight: 700;
    opacity: 1;
}
.dh-seo-detail__grid .index-badge .index-icon {
    display: none;
}
.dh-seo-detail__grid .index-badge .index-count {
    padding-left: 0;
    border-left: none;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* =========================================================
 * 点击趋势图表卡片
 * ========================================================= */
.dh-chart-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px 24px 20px;
    box-shadow: 0 20px 44px -36px rgba(23,24,28,.18);
    margin-bottom: 28px;
}
.dh-chart-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--line);
    flex-wrap: wrap;
}
.dh-chart-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.2px;
}
.dh-chart-card__title::before {
    content: "";
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: linear-gradient(180deg, #FFC107, #FF8A00);
}
.dh-chart-range {
    display: flex;
    gap: 4px;
    background: #F4F5F7;
    padding: 3px;
    border-radius: 20px;
}
.dh-chart-range__btn {
    border: none;
    background: transparent;
    color: var(--ink-3);
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    padding: 5px 14px;
    border-radius: 16px;
    cursor: pointer;
    transition: .25s var(--ease);
    white-space: nowrap;
    line-height: 1.4;
}
.dh-chart-range__btn:hover {
    color: var(--ink);
}
.dh-chart-range__btn.is-active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 2px 6px -2px rgba(0,0,0,.12);
}
.dh-chart-card__body {
    position: relative;
    height: 180px;
    margin-bottom: 14px;
}
.dh-chart-card__body canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}
.dh-chart-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    font-size: 12.5px;
    color: var(--ink-3);
    flex-wrap: wrap;
}
.dh-chart-card__stat b {
    color: var(--ink);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    margin-left: 4px;
}
.dh-modal__inner .dh-seo-card,
.dh-modal__inner .dh-chart-card {
    margin-top: 24px;
}
@media (max-width: 680px) {
    .dh-seo-card {
        padding: 20px 18px;
        border-radius: 16px;
    }
    .dh-seo-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .dh-seo-item {
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    .dh-seo-item__label {
        margin-bottom: 0;
    }
    .dh-seo-item__value {
        font-size: 18px;
    }
    .dh-seo-detail__grid {
        flex-wrap: nowrap;
        gap: 4px;
    }
    .dh-seo-detail__grid .index-badge {
        padding: 8px 8px;
        font-size: 11px;
        flex-direction: column;
        gap: 2px;
    }
    .dh-seo-detail__grid .index-badge .index-label {
        font-size: 10.5px;
    }
    .dh-seo-detail__grid .index-badge .index-count {
        font-size: 12px;
    }
    .dh-chart-card {
        padding: 18px 16px 16px;
        border-radius: 16px;
    }
    .dh-chart-card__body {
        height: 160px;
    }
    .dh-chart-range__btn {
        padding: 4px 10px;
        font-size: 11.5px;
    }
    .dh-modal__inner .dh-seo-card,
    .dh-modal__inner .dh-chart-card {
        margin-top: 16px;
    }
}

/* =========================================================
 * 资源问题反馈
 * ========================================================= */
.hero-actions {
    flex-wrap: wrap;
}
.dh-feedback {
    display: contents;
}
.dh-feedback__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: .25s var(--ease);
    line-height: 1.4;
    white-space: nowrap;
}
.dh-feedback__toggle:hover {
    color: var(--ink);
    border-color: var(--primary);
    background: #FFF9E6;
    transform: translateY(-1px);
}
.dh-feedback.is-open .dh-feedback__toggle {
    background: var(--primary);
    color: var(--ink);
    border-color: transparent;
    box-shadow: 0 6px 16px -8px rgba(255,167,0,.6);
}
.dh-feedback__panel {
    flex-basis: 100%;
    order: 100;
    margin-top: 14px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 40px -28px rgba(23,24,28,.22);
    animation: dhFeedbackSlide .28s var(--ease);
    max-width: 520px;
    width: 100%;
}
@keyframes dhFeedbackSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dh-feedback__field {
    margin-bottom: 14px;
}
.dh-feedback__field:last-of-type {
    margin-bottom: 18px;
}
.dh-feedback__field label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}
.dh-feedback__field .req {
    color: #FF3D71;
    margin-left: 2px;
}
.dh-feedback__field .hint {
    font-size: 11px;
    color: var(--ink-3);
    font-weight: 400;
    margin-left: 4px;
}
.dh-feedback__field select,
.dh-feedback__field textarea,
.dh-feedback__field input[type="email"] {
    width: 100%;
    padding: 10px 13px;
    background: #FAFBFC;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: .25s var(--ease);
    box-sizing: border-box;
}
.dh-feedback__field select:focus,
.dh-feedback__field textarea:focus,
.dh-feedback__field input[type="email"]:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,193,7,.18);
}
.dh-feedback__field textarea {
    resize: vertical;
    min-height: 70px;
    line-height: 1.6;
}
.dh-feedback__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.dh-feedback__submit {
    padding: 9px 22px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(100deg, #FFC107, #FF8A00);
    color: #1B1C21;
    font-weight: 800;
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
    transition: .25s var(--ease);
    box-shadow: 0 8px 20px -8px rgba(255,167,0,.6);
}
.dh-feedback__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -10px rgba(255,167,0,.85);
}
.dh-feedback__submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    box-shadow: none;
}
.dh-feedback__status {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
}
.dh-feedback__status.is-loading { color: var(--ink-3); }
.dh-feedback__status.is-success { color: #16A34A; }
.dh-feedback__status.is-error   { color: #DC2626; }
@media (max-width: 680px) {
    .dh-feedback__toggle {
        padding: 7px 13px;
        font-size: 12px;
    }
    .dh-feedback__panel {
        padding: 16px 16px;
        border-radius: 14px;
    }
    .dh-feedback__field label {
        font-size: 12px;
    }
    .dh-feedback__field select,
    .dh-feedback__field textarea,
    .dh-feedback__field input[type="email"] {
        padding: 9px 12px;
        font-size: 13px;
    }
}

/* =========================================================
 * 浮动提示（反馈确认结果）
 * ========================================================= */
.dh-toast {
    position: fixed;
    left: 50%;
    top: 76px;
    transform: translate(-50%, -20px);
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 16px 40px -12px rgba(0,0,0,.22);
    opacity: 0;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
    pointer-events: none;
    max-width: min(520px, calc(100vw - 32px));
}
.dh-toast.is-in {
    opacity: 1;
    transform: translate(-50%, 0);
}
.dh-toast__icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.dh-toast__text {
    flex: 1;
    min-width: 0;
}
.dh-toast--success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.dh-toast--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}
@media (max-width: 680px) {
    .dh-toast {
        top: 68px;
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 20px;
    }
}

/* =========================================================
 * 牛马倒计时
 * ========================================================= */
.dh-countdown {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 20px 16px;
    box-shadow: 0 12px 32px -28px rgba(23,24,28,.20);
    display: flex;
    flex-direction: column;
}
.dh-countdown__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--line);
}
.dh-countdown__title {
    font-size: 12px;
    font-weight: 800;
    color: var(--ink-3);
    letter-spacing: .8px;
    text-transform: uppercase;
}
.dh-countdown__state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
    background: #F4F5F7;
    color: var(--ink-3);
}
.dh-countdown__state.is-work {
    background: #FEF3C7;
    color: #92400E;
}
.dh-countdown__state.is-rest {
    background: #ECFDF5;
    color: #047857;
}
.dh-countdown__main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}
.dh-countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    background: #FAFBFC;
    border-radius: 10px;
}
.dh-countdown__unit b {
    font-size: 22px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -.5px;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.dh-countdown__unit span {
    font-size: 10.5px;
    color: var(--ink-3);
    font-weight: 700;
    letter-spacing: .3px;
}
.dh-countdown__foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    text-align: right;
}
.dh-countdown__target {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-3);
    letter-spacing: .3px;
}
@media (max-width: 680px) {
    .dh-countdown {
        padding: 16px 16px 14px;
    }
    .dh-countdown__unit b {
        font-size: 20px;
    }
    .dh-countdown__unit span {
        font-size: 10px;
    }
    .dh-countdown__unit {
        padding: 7px 3px;
    }
}

/* =========================================================
 * 今天吃什么
 * ========================================================= */
.dh-food {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 20px 16px;
    box-shadow: 0 12px 32px -28px rgba(23,24,28,.20);
    display: flex;
    flex-direction: column;
}
.dh-food__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--line);
}
.dh-food__title {
    font-size: 12px;
    font-weight: 800;
    color: var(--ink-3);
    letter-spacing: .8px;
    text-transform: uppercase;
}
.dh-food__cat {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
    background: #FEF3C7;
    color: #92400E;
}
.dh-food__main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1;
    padding: 12px 0;
    min-height: 76px;
}
.dh-food__icon {
    font-size: 36px;
    line-height: 1;
    flex-shrink: 0;
}
.dh-food__name {
    font-size: 20px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -.5px;
    line-height: 1.25;
    text-align: center;
}
.dh-food__foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    display: flex;
    justify-content: center;
}
.dh-food__again {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    color: var(--ink-3);
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: .25s var(--ease);
    line-height: 1.4;
}
.dh-food__again:hover {
    background: #FFF9E6;
    border-color: var(--primary);
    color: var(--ink);
}
.dh-food__again:active {
    transform: scale(.97);
}
@media (max-width: 680px) {
    .dh-food {
        padding: 16px 16px 14px;
    }
    .dh-food__icon {
        font-size: 32px;
    }
    .dh-food__name {
        font-size: 18px;
    }
}

/* =========================================================
 * 扫码访问（PC 端，悬停显示）
 * ========================================================= */
.dh-qr-wrap {
    display: none;
}
@media (min-width: 1024px) {
    .dh-qr-wrap {
        position: relative;
        display: inline-flex;
        align-items: center;
    }
}
.dh-qr-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: .25s var(--ease);
    line-height: 1.4;
    white-space: nowrap;
}
.dh-qr-wrap:hover .dh-qr-toggle {
    color: var(--ink);
    border-color: var(--primary);
    background: #FFF9E6;
    transform: translateY(-1px);
}
.dh-qr-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 40px -20px rgba(23,24,28,.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .22s var(--ease);
    width: 232px;
}
.dh-qr-wrap:hover .dh-qr-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.dh-qr-panel::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
}
.dh-qr-canvas {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
    padding: 8px;
    box-sizing: content-box;
}
.dh-qr-canvas img,
.dh-qr-canvas canvas {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}
.dh-qr-hint {
    font-size: 11.5px;
    color: var(--ink-3);
    font-weight: 600;
    letter-spacing: .3px;
    white-space: nowrap;
}

/* =========================================================
 * 资源提交：登录提示 + 登录弹层 + 验证码
 * ========================================================= */
.dh-login-gate {
    text-align: center;
    padding: 56px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 28px 60px -44px rgba(23,24,28,.22);
    max-width: 480px;
    margin: 0 auto;
}
.dh-login-gate h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -.4px;
}
.dh-login-gate p {
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 24px;
}
.js-login-open {
    display: inline-block;
    padding: 12px 36px;
    border: none;
    border-radius: 26px;
    background: linear-gradient(100deg, #FFC107, #FF8A00);
    color: #1B1C21;
    font-weight: 800;
    font-size: 14.5px;
    font-family: inherit;
    cursor: pointer;
    transition: .3s var(--ease);
    box-shadow: 0 10px 26px -10px rgba(255,167,0,.7);
}
.js-login-open:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -12px rgba(255,167,0,.9);
}
.dh-login-modal {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.dh-login-modal[hidden] {
    display: none;
}
.dh-login-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(23,24,28,.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .25s var(--ease);
}
.dh-login-modal.is-open .dh-login-modal__mask {
    opacity: 1;
}
.dh-login-modal__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 22px;
    padding: 36px 32px 30px;
    box-shadow: 0 40px 100px -30px rgba(0,0,0,.55);
    opacity: 0;
    transform: scale(.94) translateY(12px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.dh-login-modal.is-open .dh-login-modal__inner {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.js-login-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #F4F5F7;
    color: var(--ink-2);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .25s var(--ease);
}
.js-login-close:hover {
    background: var(--ink);
    color: #fff;
}
.dh-login-modal__inner #dh-login-form p {
    margin-bottom: 14px;
}
.dh-login-modal__inner #dh-login-form label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}
.dh-login-modal__inner #dh-login-form input[type="text"],
.dh-login-modal__inner #dh-login-form input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    background: #FAFBFC;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: .25s var(--ease);
    box-sizing: border-box;
}
.dh-login-modal__inner #dh-login-form input[type="text"]:focus,
.dh-login-modal__inner #dh-login-form input[type="password"]:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,193,7,.18);
}
.dh-login-modal__inner #dh-login-form .button,
.dh-login-modal__inner #dh-login-form input[type="submit"] {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(100deg, #FFC107, #FF8A00);
    color: #1B1C21;
    font-weight: 800;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: .25s var(--ease);
    box-shadow: 0 10px 26px -10px rgba(255,167,0,.7);
    margin-top: 6px;
}
.dh-login-modal__inner #dh-login-form .button:hover,
.dh-login-modal__inner #dh-login-form input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px -12px rgba(255,167,0,.9);
}
.dh-login-modal__inner #dh-login-form .forgetmenot {
    font-size: 12.5px;
    margin-bottom: 14px;
}
.dh-login-modal__inner #dh-login-form .forgetmenot label {
    display: inline;
    font-weight: 500;
    font-size: 12.5px;
    color: var(--ink-2);
    margin: 0;
}
.dh-login-modal__inner #dh-login-form .forgetmenot input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0 6px 0 0;
    vertical-align: -2px;
    accent-color: #FF8A00;
}
.dh-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.dh-captcha-img {
    display: block;
    width: 160px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #F6F7F9;
    flex-shrink: 0;
}
.dh-captcha-refresh {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink-3);
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
    transition: .25s var(--ease);
    flex-shrink: 0;
}
.dh-captcha-refresh:hover {
    color: var(--ink);
    border-color: var(--primary);
    background: #FFF9E6;
}
.dh-captcha-refresh.is-spinning svg {
    animation: dhSpin .6s linear;
}
.dh-captcha-input {
    flex: 1;
    min-width: 80px;
    padding: 11px 14px;
    background: #FAFBFC;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: .25s var(--ease);
    text-align: center;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
}
.dh-captcha-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,193,7,.18);
}
@media (max-width: 680px) {
    .dh-login-modal__inner {
        padding: 28px 22px 24px;
        border-radius: 18px;
    }
    .dh-captcha-img {
        width: 130px;
        height: 42px;
    }
    .dh-captcha-refresh {
        width: 32px;
        height: 32px;
    }
}

/* =========================================================
 * 日夜间模式 —— 主题切换按钮
 * ========================================================= */
.dh-theme-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--line);
    background:#fff;
    color:var(--ink-2);
    cursor:pointer;
    padding:0;
    font-family:inherit;
    transition:.25s var(--ease);
    flex-shrink:0;
    position:relative;
    overflow:hidden;
}
.dh-theme-toggle:hover{
    color:var(--ink);
    border-color:var(--primary);
    background:#FFF9E6;
    transform:translateY(-1px);
}
.dh-theme-toggle:active{
    transform:translateY(0);
}
.dh-theme-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:1;
}
.dh-theme-toggle--nav{
    width:36px;
    height:36px;
    border-radius:50%;
}
.dh-theme-toggle--fab{
    position:fixed;
    right:26px;
    bottom:84px;
    width:46px;
    height:46px;
    border-radius:50%;
    z-index:800;
    box-shadow:0 10px 26px -8px rgba(0,0,0,.28);
    color:var(--ink);
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}
.dh-theme-toggle--fab:hover{
    box-shadow:0 14px 32px -10px rgba(255,167,0,.55);
}

/* =========================================================
 * 日夜间模式 —— LOGO 双图切换
 * ========================================================= */
.logo.has-dark-logo{
    gap:0;
}
.dh-logo-img{
    display:block;
    height:34px;
    width:auto;
    max-width:180px;
    object-fit:contain;
    transition:opacity .25s var(--ease);
}
.dh-logo-img--dark{display:none;}
html[data-theme="dark"] .dh-logo-img--light{display:none;}
html[data-theme="dark"] .dh-logo-img--dark{display:block;}
@media (max-width:680px){
    .dh-logo-img{height:28px;max-width:140px;}
}

/* =========================================================
 * 日夜间模式 —— 深色主题变量
 * ========================================================= */
html[data-theme="dark"]{
    --ink:#ECEEF2;
    --ink-2:#B5BAC1;
    --ink-3:#6E7580;
    --line:#262A32;
    --bg:#0F1115;
    --card:#17191F;

    --sb-track:#0F1115;
    --sb-thumb:#262A32;
    --sb-thumb-hover:#3A3F48;

    color-scheme:dark;
}

/* =========================================================
 * 深色主题 —— 框架层补丁
 * ========================================================= */
html[data-theme="dark"] .navbar{
    background:rgba(15,17,21,.82);
    border-bottom-color:var(--line);
}
html[data-theme="dark"] .navbar.scrolled{
    box-shadow:0 4px 24px rgba(0,0,0,.35);
}
html[data-theme="dark"] .logo-mark{
    box-shadow:0 4px 12px rgba(255,167,0,.28);
}
html[data-theme="dark"] .nav-menu-list li a{
    color:var(--ink-2);
}
html[data-theme="dark"] .nav-menu-list li a:hover,
html[data-theme="dark"] .nav-menu-list li.current-menu-item > a,
html[data-theme="dark"] .nav-menu-list li.current_page_item > a{
    color:var(--ink);
    background:#1F2229;
}
html[data-theme="dark"] .nav-menu-list .sub-menu{
    background:#17191F;
    border-color:var(--line);
    box-shadow:0 12px 32px -10px rgba(0,0,0,.55);
}

/* ---------- 深色搜索面板 ---------- */
html[data-theme="dark"] .nav-search__toggle{
    background:#1F2229;
    color:var(--ink-3);
}
html[data-theme="dark"] .nav-search__toggle:hover{
    background:#2A2110;
    color:var(--ink);
    border-color:var(--primary);
}
html[data-theme="dark"] .nav-search.is-open .nav-search__toggle{
    background:var(--primary);
    color:#0F1115;
    border-color:var(--primary);
}
html[data-theme="dark"] .nav-search__panel{
    background:#17191F;
    border-color:var(--line);
    box-shadow:0 16px 40px -12px rgba(0,0,0,.6);
}
html[data-theme="dark"] .nav-search__panel::before{
    background:#17191F;
    border-left-color:var(--line);
    border-top-color:var(--line);
}
html[data-theme="dark"] .nav-search__input{
    background:#1F2229;
    border-color:var(--line);
}
html[data-theme="dark"] .nav-search__input input[type="search"]{
    color:var(--ink);
}
html[data-theme="dark"] .nav-search__input input[type="search"]::placeholder{
    color:var(--ink-3);
}
html[data-theme="dark"] .nav-search__btn{
    background:var(--ink);
    color:#0F1115;
}
html[data-theme="dark"] .nav-search__btn:hover{
    background:var(--primary);
    color:var(--ink);
}

html[data-theme="dark"] .nav-toggle span{
    background:var(--ink);
}
html[data-theme="dark"] .nav-toggle:hover{
    background:#1F2229;
}
html[data-theme="dark"] .nav-submit{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;
}
html[data-theme="dark"] .nav-menu__close{
    background:#262A32;
    color:var(--ink-2);
}
html[data-theme="dark"] .nav-menu__close:hover{
    background:var(--primary);
    color:#0F1115;
}
html[data-theme="dark"] .dh-theme-toggle{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-theme-toggle:hover{
    background:#262A32;
    color:var(--ink);
    border-color:var(--primary);
}
html[data-theme="dark"] .dh-theme-toggle--fab{
    background:rgba(23,25,31,.92);
    color:var(--ink);
    border-color:var(--line);
}
html[data-theme="dark"] .nav-mask{
    background:rgba(0,0,0,.65);
}
html[data-theme="dark"] .btn-primary{
    background:var(--ink);
    color:#0F1115;
}
html[data-theme="dark"] .btn-primary:hover{
    background:var(--primary);
    color:var(--ink);
}
html[data-theme="dark"] .page-hero{
    background:linear-gradient(180deg,#17191F 0%,var(--bg) 100%);
}
html[data-theme="dark"] .hero::before{
    background:linear-gradient(180deg,#1A1B22 0%,#14161B 40%,var(--bg) 100%);
}
html[data-theme="dark"] .hero-glow{
    background:radial-gradient(circle at 50% 45%,rgba(255,193,7,.10),rgba(255,138,0,.04) 45%,transparent 70%);
}
html[data-theme="dark"] .hero-tag{
    background:#1F2229;
    border-color:rgba(255,167,0,.18);
    color:var(--ink-2);
    box-shadow:none;
}
html[data-theme="dark"] .hero-stats{
    border-top-color:rgba(255,167,0,.14);
}
html[data-theme="dark"] .section-num{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-3);
}
html[data-theme="dark"] .card{
    background:var(--card);
    border-color:var(--line);
}
html[data-theme="dark"] .card:hover{
    box-shadow:0 20px 40px -14px rgba(0,0,0,.55);
}
html[data-theme="dark"] .card-desc{
    color:var(--ink-2);
}
html[data-theme="dark"] .card-host{
    color:var(--ink-3);
}
html[data-theme="dark"] .card-foot{
    border-top-color:var(--line);
}
html[data-theme="dark"] .chip{
    background:#262A32;
    color:var(--ink-2);
}
html[data-theme="dark"] .arrow{
    background:#262A32;
    color:var(--ink-3);
}
html[data-theme="dark"] .card:hover .arrow{
    background:var(--primary);
    color:#0F1115;
}
html[data-theme="dark"] .post-item{
    background:var(--card);
    border-color:var(--line);
}
html[data-theme="dark"] .post-item:hover{
    background:linear-gradient(100deg,#1A1C22 0%,#1F1D18 60%,#26231A 100%);
    box-shadow:0 16px 40px -22px rgba(255,138,0,.35);
}
html[data-theme="dark"] .post-date{
    background:#1F2229;
}
html[data-theme="dark"] .post-date .d{
    color:var(--ink);
}
html[data-theme="dark"] .post-date .m{
    color:var(--ink-3);
}
html[data-theme="dark"] .post-meta .cat{
    background:#1E2540;
    color:#A5B4FC;
}
html[data-theme="dark"] .post-item:hover .post-meta .cat{
    background:#2A2110;
    color:#FCD34D;
}
html[data-theme="dark"] .post-excerpt{
    color:var(--ink-2);
}
html[data-theme="dark"] .post-arrow{
    background:#262A32;
    color:var(--ink-3);
}
html[data-theme="dark"] .post-item:hover .post-title{
    color:#FCD34D;
}
html[data-theme="dark"] .dh-widget{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 12px 32px -28px rgba(0,0,0,.6);
}
html[data-theme="dark"] .dh-widget:hover{
    border-color:#2E323B;
}
html[data-theme="dark"] .dh-widget ul li{
    border-bottom-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-widget ul li:hover{
    color:var(--ink);
}
html[data-theme="dark"] .dh-widget ul li .count,
html[data-theme="dark"] .dh-widget ul li .post-count{
    background:#262A32;
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-widget .tagcloud a{
    background:#262A32;
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-widget .tagcloud a:hover{
    background:#2A2110;
    border-color:rgba(255,167,0,.30);
    color:#FCD34D;
}
html[data-theme="dark"] .dh-widget .searchform input[type="text"],
html[data-theme="dark"] .dh-widget .searchform input[type="search"]{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink);
}
html[data-theme="dark"] .dh-widget .searchform input[type="text"]:focus,
html[data-theme="dark"] .dh-widget .searchform input[type="search"]:focus{
    background:#262A32;
}
html[data-theme="dark"] .pagination li a,
html[data-theme="dark"] .pagination li span{
    background:var(--card);
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .pagination li a:hover{
    background:#2A2110;
    border-color:var(--primary);
    color:var(--ink);
}
html[data-theme="dark"] .pagination li .current{
    background:var(--primary);
    border-color:var(--primary);
    color:#0F1115;
}
html[data-theme="dark"] .filter-bar{
    background:var(--card);
    border-color:var(--line);
}
html[data-theme="dark"] .filter-row + .filter-row{
    border-top-color:var(--line);
}
html[data-theme="dark"] .filter-tag{
    background:#262A32;
    color:var(--ink-2);
}
html[data-theme="dark"] .filter-tag:hover{
    background:#2A2110;
    color:#FCD34D;
}
html[data-theme="dark"] .form-row input[type="text"],
html[data-theme="dark"] .form-row input[type="url"],
html[data-theme="dark"] .form-row input[type="email"],
html[data-theme="dark"] .form-row select,
html[data-theme="dark"] .form-row textarea,
html[data-theme="dark"] .dh-captcha-input{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink);
}
html[data-theme="dark"] .form-row input:focus,
html[data-theme="dark"] .form-row select:focus,
html[data-theme="dark"] .form-row textarea:focus,
html[data-theme="dark"] .dh-captcha-input:focus{
    background:#262A32;
}
html[data-theme="dark"] .form-color-wrap input[type="color"]{
    background:#1F2229;
    border-color:var(--line);
}
html[data-theme="dark"] .form-color-wrap input[type="text"]{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink);
}
html[data-theme="dark"] .submit-form{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 28px 60px -44px rgba(0,0,0,.7);
}
html[data-theme="dark"] .dh-captcha-img{
    border-color:var(--line);
    background:#1F2229;
}
html[data-theme="dark"] .dh-captcha-refresh{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-captcha-refresh:hover{
    background:#2A2110;
    color:var(--ink);
    border-color:var(--primary);
}
html[data-theme="dark"] .form-alert.success{
    background:#0C2A21;
    color:#6EE7B7;
    border-color:#14532D;
}
html[data-theme="dark"] .form-alert.error{
    background:#2A0F10;
    color:#FCA5A5;
    border-color:#7F1D1D;
}
html[data-theme="dark"] .form-alert.info{
    background:#2A2110;
    color:#FCD34D;
    border-color:#78350F;
}
html[data-theme="dark"] .form-alert__actions a{
    background:#FCD34D;
    color:#0F1115;
}
html[data-theme="dark"] .form-alert__actions a:first-child{
    background:#1F2229;
    color:#FCD34D;
    border-color:#78350F;
}
html[data-theme="dark"] .dh-login-notice__btn{
    color:#1B1C21;
}
html[data-theme="dark"] .footer{
    background:#0B0D10;
    border-top-color:var(--line);
}
html[data-theme="dark"] .footer-bottom{
    border-top-color:var(--line);
    color:var(--ink-3);
}
html[data-theme="dark"] .f-col a{
    color:var(--ink-2);
}
html[data-theme="dark"] .f-col a:hover{
    color:#FCD34D;
}
html[data-theme="dark"] .to-top{
    background:#262A32;
    color:var(--ink);
    box-shadow:0 10px 26px -8px rgba(0,0,0,.6);
}
html[data-theme="dark"] .to-top:hover{
    background:var(--primary);
    color:#0F1115;
}
html[data-theme="dark"] .breadcrumb{
    color:var(--ink-3);
}
html[data-theme="dark"] .breadcrumb a{
    color:var(--ink-2);
}
html[data-theme="dark"] .breadcrumb a:hover{
    color:#FCD34D;
}
html[data-theme="dark"] .breadcrumb .current{
    color:var(--ink);
}
html[data-theme="dark"] .empty-state{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 28px 60px -44px rgba(0,0,0,.7);
}
html[data-theme="dark"] ::selection{
    background:rgba(255,193,7,.35);
    color:#fff;
}

/* =========================================================
 * 滚动条
 * ========================================================= */
html{
    scrollbar-width:thin;
    scrollbar-color:var(--sb-thumb) var(--sb-track);
}
::-webkit-scrollbar{
    width:var(--sb-size);
    height:var(--sb-size);
}
::-webkit-scrollbar-track{
    background:var(--sb-track);
}
::-webkit-scrollbar-thumb{
    background:var(--sb-thumb);
    border-radius:6px;
    border:2px solid var(--sb-track);
    background-clip:padding-box;
}
::-webkit-scrollbar-thumb:hover{
    background:var(--sb-thumb-hover);
    background-clip:padding-box;
}
::-webkit-scrollbar-corner{
    background:var(--sb-track);
}

/* =========================================================
 * 深色主题 —— 资源详情页
 * ========================================================= */
html[data-theme="dark"] .single-hero{
    background:#14161B;
    border-bottom-color:var(--line);
}
html[data-theme="dark"] .single-brand h1{
    color:var(--ink);
}
html[data-theme="dark"] .single-icon{
    box-shadow:0 10px 24px -8px rgba(0,0,0,.6);
}
html[data-theme="dark"] .single-meta{
    color:var(--ink-3);
}
html[data-theme="dark"] .single-meta .chip{
    background:#262A32;
    color:var(--ink-2);
}
html[data-theme="dark"] .single-meta .chip:hover{
    background:#3A2E14;
    color:#FCD34D;
}
html[data-theme="dark"] .single-thumb{
    background:#1F2229;
    border-color:var(--line);
    box-shadow:0 18px 44px -22px rgba(0,0,0,.7);
}
html[data-theme="dark"] .single-thumb--default{
    background:#1F2229;
}
html[data-theme="dark"] .single-thumb--default svg rect{
    fill:#1F2229;
}
html[data-theme="dark"] .single-content{
    background:var(--card);
    border-color:var(--line);
    color:var(--ink-2);
    box-shadow:0 28px 60px -44px rgba(0,0,0,.7);
}
html[data-theme="dark"] .single-content h2,
html[data-theme="dark"] .single-content h3,
html[data-theme="dark"] .single-content h4,
html[data-theme="dark"] .single-content strong{
    color:var(--ink);
}
html[data-theme="dark"] .single-content a{
    color:#FCD34D;
    border-bottom-color:rgba(252,211,77,.4);
}
html[data-theme="dark"] .single-content a:hover{
    color:#FFC107;
    border-bottom-color:#FFC107;
}
html[data-theme="dark"] .single-content code{
    background:#262A32;
    color:#FCD34D;
}
html[data-theme="dark"] .single-content blockquote{
    background:linear-gradient(135deg,#1F1D18,#26231A);
    color:var(--ink);
}
html[data-theme="dark"] .single-content blockquote::after{
    color:rgba(255,167,0,.10);
}
html[data-theme="dark"] .single-content hr{
    background:repeating-linear-gradient(90deg,var(--line) 0 6px,transparent 6px 12px);
}
html[data-theme="dark"] .post-tags{
    border-top-color:var(--line);
}
html[data-theme="dark"] .post-tag{
    background:#262A32;
    color:var(--ink-2);
}
html[data-theme="dark"] .post-tag:hover{
    background:#2A2110;
    border-color:rgba(255,167,0,.30);
    color:#FCD34D;
}
html[data-theme="dark"] .related-title{
    color:var(--ink);
}
html[data-theme="dark"] .post-hero:not(.has-cover){
    background:linear-gradient(180deg,#1A1B22 0%,#14161B 40%,var(--bg) 100%);
}
html[data-theme="dark"] .post-hero__title{
    color:var(--ink);
}
html[data-theme="dark"] .post-hero__meta,
html[data-theme="dark"] .post-hero__meta .meta-item,
html[data-theme="dark"] .post-hero__meta .meta-author{
    color:var(--ink-3);
}
html[data-theme="dark"] .post-hero__back{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .post-hero__back:hover{
    background:var(--ink);
    border-color:var(--ink);
    color:#0F1115;
}
html[data-theme="dark"] .post-hero__cat{
    background:#1F2229;
    border-color:rgba(255,167,0,.20);
    color:#FCD34D;
}
html[data-theme="dark"] .post-hero__meta .meta-edit{
    background:#1E2540;
    color:#A5B4FC;
}
html[data-theme="dark"] .post-content{
    background:var(--card);
    border-color:var(--line);
    color:var(--ink-2);
    box-shadow:0 28px 60px -44px rgba(0,0,0,.7);
}
html[data-theme="dark"] .post-content h2,
html[data-theme="dark"] .post-content h3,
html[data-theme="dark"] .post-content h4,
html[data-theme="dark"] .post-content strong{
    color:var(--ink);
}
html[data-theme="dark"] .post-content a{
    color:#FCD34D;
    border-bottom-color:rgba(252,211,77,.4);
}
html[data-theme="dark"] .post-content a:hover{
    color:#FFC107;
}
html[data-theme="dark"] .post-content code{
    background:#262A32;
    color:#FCD34D;
}
html[data-theme="dark"] .post-content blockquote{
    background:linear-gradient(135deg,#1F1D18,#26231A);
    color:var(--ink);
}
html[data-theme="dark"] .post-content blockquote::after{
    color:rgba(255,167,0,.10);
}
html[data-theme="dark"] .post-nav__item{
    background:var(--card);
    border-color:var(--line);
}
html[data-theme="dark"] .post-nav__item:hover{
    box-shadow:0 16px 40px -22px rgba(255,138,0,.35);
}
html[data-theme="dark"] .post-nav__item.post-nav__empty{
    background:#14161B;
}
html[data-theme="dark"] .post-nav__title{
    color:var(--ink);
}
html[data-theme="dark"] .post-nav__item:hover .post-nav__title{
    color:#FCD34D;
}
html[data-theme="dark"] .dh-modal-overlay{
    background:rgba(0,0,0,.72);
}
html[data-theme="dark"] .dh-modal{
    background:#0F1115;
    box-shadow:
        0 40px 100px -30px rgba(0,0,0,.85),
        0 0 0 1px rgba(255,255,255,.05);
}
html[data-theme="dark"] .dh-modal__close{
    background:rgba(38,42,50,.92);
    color:var(--ink);
}
html[data-theme="dark"] .dh-modal__close:hover{
    background:var(--primary);
    color:#0F1115;
}
html[data-theme="dark"] .dh-modal__inner::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.15);
}
html[data-theme="dark"] .dh-modal__inner .single-hero{
    background:#14161B;
}
html[data-theme="dark"] .sk-icon,
html[data-theme="dark"] .sk-line,
html[data-theme="dark"] .dh-weather__skeleton .sk-line{
    background:linear-gradient(90deg,#1F2229 0%,#262A32 50%,#1F2229 100%);
    background-size:200% 100%;
}
html[data-theme="dark"] .sk-card{
    background:#17191F;
    border-color:var(--line);
}
html[data-theme="dark"] .dh-seo-card{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 20px 44px -36px rgba(0,0,0,.7);
}
html[data-theme="dark"] .dh-seo-card__head{
    border-bottom-color:var(--line);
}
html[data-theme="dark"] .dh-seo-card__title{
    color:var(--ink);
}
html[data-theme="dark"] .dh-seo-card__refresh{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-seo-card__refresh:hover{
    background:#2A2110;
    color:var(--ink);
    border-color:var(--primary);
}
html[data-theme="dark"] .dh-seo-item{
    background:#1F2229;
    border-color:var(--line);
}
html[data-theme="dark"] .dh-seo-item__label{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-seo-item__value{
    color:var(--ink);
}
html[data-theme="dark"] .dh-seo-loading{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-seo-detail{
    border-top-color:var(--line);
}
html[data-theme="dark"] .dh-seo-detail__title{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-seo-detail__grid .index-badge{
    background:#1E2540;
    color:#C7D2FE;
}
html[data-theme="dark"] .dh-seo-detail__grid .index-badge[data-engine="google"]{
    background:#1E2540;
    color:#C7D2FE;
}
html[data-theme="dark"] .dh-seo-detail__grid .index-badge[data-engine="bing"]{
    background:#0C2A3E;
    color:#7DD3FC;
}
html[data-theme="dark"] .dh-seo-detail__grid .index-badge[data-engine="baidu"]{
    background:#2A0F10;
    color:#FCA5A5;
}
html[data-theme="dark"] .dh-seo-detail__grid .index-badge[data-engine="360"]{
    background:#0C2A21;
    color:#86EFAC;
}
html[data-theme="dark"] .dh-seo-detail__grid .index-badge[data-engine="shenma"]{
    background:#2A2110;
    color:#FCD34D;
}
html[data-theme="dark"] .dh-seo-detail__grid .index-badge.failed{
    background:#262A32;
    color:#6E7580;
}
html[data-theme="dark"] .dh-chart-card{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 20px 44px -36px rgba(0,0,0,.7);
}
html[data-theme="dark"] .dh-chart-card__head{
    border-bottom-color:var(--line);
}
html[data-theme="dark"] .dh-chart-card__title{
    color:var(--ink);
}
html[data-theme="dark"] .dh-chart-range{
    background:#1F2229;
}
html[data-theme="dark"] .dh-chart-range__btn{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-chart-range__btn:hover{
    color:var(--ink);
}
html[data-theme="dark"] .dh-chart-range__btn.is-active{
    background:#262A32;
    color:var(--ink);
    box-shadow:0 2px 6px -2px rgba(0,0,0,.4);
}
html[data-theme="dark"] .dh-chart-card__foot{
    border-top-color:var(--line);
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-chart-card__stat b{
    color:var(--ink);
}
html[data-theme="dark"] .dh-safety--safe{
    background:#0C2A21;
    color:#6EE7B7;
    border-color:#14532D;
}
html[data-theme="dark"] .dh-safety--stale{
    background:#0C2A21;
    color:#86EFAC;
    border-color:#166534;
}
html[data-theme="dark"] .dh-safety--unknown{
    background:#262A32;
    color:var(--ink-3);
    border-color:var(--line);
}
html[data-theme="dark"] .dh-safety--warning{
    background:#2A2110;
    color:#FCD34D;
    border-color:#78350F;
}
html[data-theme="dark"] .dh-safety--danger{
    background:#2A0F10;
    color:#FCA5A5;
    border-color:#7F1D1D;
}
html[data-theme="dark"] .heat{
    background:#262A32;
    color:var(--ink-2);
}
html[data-theme="dark"] .heat-lv0{background:#262A32;color:#6E7580;}
html[data-theme="dark"] .heat-lv1{background:#262A32;color:#B5BAC1;}
html[data-theme="dark"] .heat-lv2{background:#2A2110;color:#FCD34D;}
html[data-theme="dark"] .heat-lv3{background:#2E1B0F;color:#FDBA74;}
html[data-theme="dark"] .heat-lv4{background:#2A0F10;color:#FCA5A5;}
html[data-theme="dark"] .heat-lv5{
    background:linear-gradient(100deg,#FFC107,#FF8A00 60%,#FF3D71);
    color:#0F1115;
}
html[data-theme="dark"] .heat .heat-count{
    border-left-color:rgba(255,255,255,.10);
}
html[data-theme="dark"] .views{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-feedback__toggle{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-feedback__toggle:hover{
    background:#2A2110;
    color:var(--ink);
    border-color:var(--primary);
}
html[data-theme="dark"] .dh-feedback.is-open .dh-feedback__toggle{
    background:var(--primary);
    color:#0F1115;
}
html[data-theme="dark"] .dh-feedback__panel{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 16px 40px -28px rgba(0,0,0,.7);
}
html[data-theme="dark"] .dh-feedback__field label{
    color:var(--ink);
}
html[data-theme="dark"] .dh-feedback__field select,
html[data-theme="dark"] .dh-feedback__field textarea,
html[data-theme="dark"] .dh-feedback__field input[type="email"]{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink);
}
html[data-theme="dark"] .dh-feedback__field select:focus,
html[data-theme="dark"] .dh-feedback__field textarea:focus,
html[data-theme="dark"] .dh-feedback__field input[type="email"]:focus{
    background:#262A32;
}
html[data-theme="dark"] .dh-feedback__captcha-img{
    border-color:var(--line);
    background:#1F2229;
}
html[data-theme="dark"] .dh-feedback__captcha-refresh{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-feedback__captcha-input{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink);
}
html[data-theme="dark"] .dh-comments{
    background:var(--card);
    border-color:rgba(255,167,0,.18);
    box-shadow:0 28px 60px -44px rgba(255,138,0,.18);
}
html[data-theme="dark"] .dh-comments__panel{
    background:#1F1D18;
    border-color:rgba(255,167,0,.16);
}
html[data-theme="dark"] .dh-comments__title{
    color:var(--ink);
    border-bottom-color:rgba(255,167,0,.24);
}
html[data-theme="dark"] .dh-comments__list .comment-body{
    background:#1F2229;
    border-color:rgba(255,167,0,.14);
}
html[data-theme="dark"] .dh-comments__list .comment-body:hover{
    border-color:rgba(255,167,0,.30);
    box-shadow:0 14px 32px -18px rgba(255,138,0,.30);
}
html[data-theme="dark"] .dh-comments__list .children .comment-body{
    background:#1A1C22;
}
html[data-theme="dark"] .dh-comments__list .comment-author{
    color:var(--ink);
}
html[data-theme="dark"] .dh-comments__list .comment-metadata{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-comments__list .comment-metadata a{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-comments__list .comment-metadata a:hover{
    color:#FCD34D;
}
html[data-theme="dark"] .dh-comments__list .comment-content{
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-comments__list .comment-content a{
    color:#FCD34D;
}
html[data-theme="dark"] .dh-comments__list .comment-content blockquote{
    background:#1F1D18;
}
html[data-theme="dark"] .dh-comments__list .comment-content code{
    background:#262A32;
    color:#FCD34D;
}
html[data-theme="dark"] .dh-comments__list .reply a,
html[data-theme="dark"] .dh-comments__list .comment-reply-link{
    background:#2A2110;
    color:#FCD34D;
    border-color:rgba(255,167,0,.24);
}
html[data-theme="dark"] .no-comments{
    background:#1F1D18;
    border-color:rgba(255,167,0,.30);
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-comments .comment-respond{
    border-top-color:rgba(255,167,0,.24);
}
html[data-theme="dark"] .dh-comments .comment-reply-title{
    color:var(--ink);
}
html[data-theme="dark"] .comment-form label{
    color:var(--ink);
}
html[data-theme="dark"] .comment-form input[type="text"],
html[data-theme="dark"] .comment-form input[type="email"],
html[data-theme="dark"] .comment-form input[type="url"],
html[data-theme="dark"] .comment-form input[type="tel"],
html[data-theme="dark"] .comment-form textarea{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink);
}
html[data-theme="dark"] .comment-form input[type="text"]:focus,
html[data-theme="dark"] .comment-form input[type="email"]:focus,
html[data-theme="dark"] .comment-form input[type="url"]:focus,
html[data-theme="dark"] .comment-form input[type="tel"]:focus,
html[data-theme="dark"] .comment-form textarea:focus{
    background:#262A32;
}
html[data-theme="dark"] .comment-form .comment-form-cookies-consent{
    background:#1F1D18;
    border-color:rgba(255,167,0,.18);
}
html[data-theme="dark"] .comment-respond .must-log-in{
    background:#2A2110;
    border-color:rgba(255,167,0,.30);
    color:#FCD34D;
}
html[data-theme="dark"] .comment-respond .must-log-in a{
    color:#FCD34D;
}
html[data-theme="dark"] .comment-navigation a,
html[data-theme="dark"] .comments-pagination a{
    background:#1F2229;
    border-color:rgba(255,167,0,.20);
    color:var(--ink-2);
}
html[data-theme="dark"] .resource-tabs__btn{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .resource-tabs__btn:hover{
    border-color:var(--primary);
    color:#FCD34D;
}
html[data-theme="dark"] .resource-tabs__btn.is-active{
    background:linear-gradient(135deg,#FFC107,#FF8A00);
    color:#0F1115;
}
html[data-theme="dark"] .resource-tabs__btn .count{
    background:#262A32;
    color:var(--ink-3);
}
html[data-theme="dark"] .resource-tabs__btn.is-active .count{
    background:rgba(255,255,255,.28);
    color:#0F1115;
}
html[data-theme="dark"] .resource-tabs__desc{
    background:#1F1D18;
    color:var(--ink-2);
}
html[data-theme="dark"] .resource-tabs__more .section-more{
    background:#1F1D18;
    border-color:rgba(255,167,0,.22);
    color:#FCD34D;
}
html[data-theme="dark"] .dh-stock,
html[data-theme="dark"] .dh-weather,
html[data-theme="dark"] .dh-palette,
html[data-theme="dark"] .dh-quote,
html[data-theme="dark"] .dh-countdown,
html[data-theme="dark"] .dh-food{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 12px 32px -28px rgba(0,0,0,.7);
}
html[data-theme="dark"] .dh-stock__name{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-stock__price{
    color:var(--ink);
}
html[data-theme="dark"] .dh-stock__item.is-up .dh-stock__price,
html[data-theme="dark"] .dh-stock__item.is-up .dh-stock__change{
    color:#F87171;
}
html[data-theme="dark"] .dh-stock__item.is-down .dh-stock__price,
html[data-theme="dark"] .dh-stock__item.is-down .dh-stock__change{
    color:#4ADE80;
}
html[data-theme="dark"] .dh-stock__foot{
    border-top-color:var(--line);
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-weather__temp{
    color:var(--ink);
}
html[data-theme="dark"] .dh-weather__desc{
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-weather__city{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-weather__daily{
    border-top-color:var(--line);
}
html[data-theme="dark"] .dh-weather__day-name{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-weather__day-temp{
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-palette__name{
    color:var(--ink);
}
html[data-theme="dark"] .dh-palette__title,
html[data-theme="dark"] .dh-quote__title{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-palette__hint{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-quote__text{
    color:var(--ink);
}
html[data-theme="dark"] .dh-quote__author{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-quote__copy{
    background:#262A32;
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-quote:hover .dh-quote__copy{
    background:#2A2110;
    color:#FCD34D;
}
html[data-theme="dark"] .dh-quote:hover{
    border-color:rgba(255,167,0,.30);
}
html[data-theme="dark"] .dh-countdown__head,
html[data-theme="dark"] .dh-food__head{
    border-bottom-color:var(--line);
}
html[data-theme="dark"] .dh-countdown__title,
html[data-theme="dark"] .dh-food__title{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-countdown__state{
    background:#262A32;
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-countdown__state.is-work{
    background:#2A2110;
    color:#FCD34D;
}
html[data-theme="dark"] .dh-countdown__state.is-rest{
    background:#0C2A21;
    color:#6EE7B7;
}
html[data-theme="dark"] .dh-countdown__unit{
    background:#1F2229;
}
html[data-theme="dark"] .dh-countdown__unit b{
    color:var(--ink);
}
html[data-theme="dark"] .dh-countdown__unit span{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-countdown__foot{
    border-top-color:var(--line);
}
html[data-theme="dark"] .dh-countdown__target{
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-food__cat{
    background:#2A2110;
    color:#FCD34D;
}
html[data-theme="dark"] .dh-food__name{
    color:var(--ink);
}
html[data-theme="dark"] .dh-food__foot{
    border-top-color:var(--line);
}
html[data-theme="dark"] .dh-food__again{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-3);
}
html[data-theme="dark"] .dh-food__again:hover{
    background:#2A2110;
    border-color:var(--primary);
    color:#FCD34D;
}
html[data-theme="dark"] .cta{
    background:linear-gradient(120deg,#0B0D10 0%,#1A1C22 55%,#2A2010 100%);
}
html[data-theme="dark"] .cta p{
    color:rgba(255,255,255,.55);
}
html[data-theme="dark"] .nav-menu-list .dh-nav-more > a{
    color:var(--ink-2);
}
html[data-theme="dark"] .nav-menu-list .dh-nav-more:hover > a,
html[data-theme="dark"] .nav-menu-list .dh-nav-more.is-open > a{
    color:var(--ink);
    background:#1F2229;
}
html[data-theme="dark"] .safety-legend__row{
    background:#1F2229;
    border-color:var(--line);
}
html[data-theme="dark"] .safety-legend__text{
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-login-gate{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 28px 60px -44px rgba(0,0,0,.7);
}
html[data-theme="dark"] .dh-login-gate h2{
    color:var(--ink);
}
html[data-theme="dark"] .dh-login-gate p{
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-login-modal__inner{
    background:var(--card);
    box-shadow:0 40px 100px -30px rgba(0,0,0,.85);
}
html[data-theme="dark"] .dh-login-modal__inner h3{
    color:var(--ink) !important;
}
html[data-theme="dark"] .dh-login-modal__inner p{
    color:var(--ink-3) !important;
}
html[data-theme="dark"] .js-login-close{
    background:#262A32;
    color:var(--ink-2);
}
html[data-theme="dark"] .js-login-close:hover{
    background:var(--primary);
    color:#0F1115;
}
html[data-theme="dark"] .dh-login-modal__inner #dh-login-form label{
    color:var(--ink);
}
html[data-theme="dark"] .dh-login-modal__inner #dh-login-form input[type="text"],
html[data-theme="dark"] .dh-login-modal__inner #dh-login-form input[type="password"]{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink);
}
html[data-theme="dark"] .dh-login-modal__inner #dh-login-form input[type="text"]:focus,
html[data-theme="dark"] .dh-login-modal__inner #dh-login-form input[type="password"]:focus{
    background:#262A32;
}
html[data-theme="dark"] .dh-login-modal__inner #dh-login-form .forgetmenot label{
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-toast--success{
    background:#0C2A21;
    color:#6EE7B7;
    border-color:#14532D;
}
html[data-theme="dark"] .dh-toast--error{
    background:#2A0F10;
    color:#FCA5A5;
    border-color:#7F1D1D;
}
html[data-theme="dark"] .dh-qr-toggle{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-qr-wrap:hover .dh-qr-toggle{
    background:#2A2110;
    color:#FCD34D;
    border-color:var(--primary);
}
html[data-theme="dark"] .dh-qr-panel{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 16px 40px -20px rgba(0,0,0,.75);
}
html[data-theme="dark"] .dh-qr-panel::before{
    background:var(--card);
    border-left-color:var(--line);
    border-top-color:var(--line);
}
html[data-theme="dark"] .dh-qr-canvas{
    background:#fff;
}
html[data-theme="dark"] .dh-qr-hint{
    color:var(--ink-3);
}
html[data-theme="dark"] .sk-icon,
html[data-theme="dark"] .sk-line{
    animation:skShimmerDark 1.8s ease-in-out infinite;
}
@keyframes skShimmerDark{
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =========================================================
 * 深色主题 —— 移动端搜索框（撑开方案）
 * ========================================================= */
@media (max-width: 1000px) {
    html[data-theme="dark"] .nav-search {
        background: #1F2229;
        border-color: transparent;
    }
    html[data-theme="dark"] .nav-search:focus-within {
        background: #17191F;
        border-color: var(--primary);
    }
    html[data-theme="dark"] .nav-search__toggle {
        color: var(--ink-3);
    }
    html[data-theme="dark"] .nav-search__toggle:hover {
        color: var(--ink);
    }
    html[data-theme="dark"] .nav-search__input input[type="search"] {
        color: var(--ink);
    }
    html[data-theme="dark"] .nav-search__input input[type="search"]::placeholder {
        color: var(--ink-3);
    }
    html[data-theme="dark"] .nav-search__btn {
        background: var(--ink);
        color: #0F1115;
    }
    html[data-theme="dark"] .nav-search__btn:hover {
        background: var(--primary);
        color: var(--ink);
    }
}

/* =========================================================
 * 顶部导航「更多」下拉
 * ========================================================= */
.nav-menu-list .dh-nav-more > a{
    display:block;
    padding:8px 15px;
    border-radius:10px;
    font-size:16px;
    font-weight:500;
    color:var(--ink-2);
    transition:.25s var(--ease);
    white-space:nowrap;
    cursor:pointer;
}
.nav-menu-list .dh-nav-more:hover > a,
.nav-menu-list .dh-nav-more.is-open > a{
    color:var(--ink);
    background:#F1F2F5;
}
.nav-menu-list .dh-nav-more__list{
    left:auto;
    right:0;
    min-width:100px;
    max-width:240px;
    width:max-content;
    max-height:60vh;
    overflow-y:auto;
    overflow-x:hidden;
}
.nav-menu-list .dh-nav-more__list li a{
    white-space:nowrap;
}
html[data-theme="dark"] .nav-menu-list .dh-nav-more > a{
    color:var(--ink-2);
}
html[data-theme="dark"] .nav-menu-list .dh-nav-more:hover > a,
html[data-theme="dark"] .nav-menu-list .dh-nav-more.is-open > a{
    color:var(--ink);
    background:#1F2229;
}

/* =========================================================
 * 移动端：浮动按钮对齐修正
 * ========================================================= */
@media (max-width:680px){
    .dh-theme-toggle--fab{
        right:16px;
        bottom:70px;
        width:42px;
        height:42px;
    }
}

/* =========================================================
 * 提交规则勾选框
 * ========================================================= */
.dh-rules-agree {
    padding: 14px 18px;
    background: #FFFBEB;
    border: 1px solid rgba(255, 167, 0, 0.22);
    border-radius: 12px;
    margin-bottom: 20px;
}
.dh-rules-agree__label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 0 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: var(--ink-2) !important;
    cursor: pointer;
    line-height: 1.6;
}
.dh-rules-agree__label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    accent-color: #FF8A00;
    cursor: pointer;
    flex-shrink: 0;
}
.dh-rules-agree__label a {
    color: #B45309;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.dh-rules-agree__label a:hover {
    color: #FF8A00;
}
html[data-theme="dark"] .dh-rules-agree {
    background: #1F1D18;
    border-color: rgba(255, 167, 0, 0.18);
}
html[data-theme="dark"] .dh-rules-agree__label {
    color: var(--ink-2) !important;
}
html[data-theme="dark"] .dh-rules-agree__label a {
    color: #FCD34D;
}
@media (max-width: 680px) {
    .dh-rules-agree {
        padding: 12px 14px;
        border-radius: 10px;
    }
    .dh-rules-agree__label {
        font-size: 13px !important;
    }
}

/* =========================================================
 * 提交规则 · 页面内文字按钮
 * ========================================================= */
.dh-rules-link {
    display: inline;
    padding: 0;
    border: none;
    background: transparent;
    color: #B45309;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color .25s var(--ease);
}
.dh-rules-link:hover {
    color: #FF8A00;
}
html[data-theme="dark"] .dh-rules-link {
    color: #FCD34D;
}
html[data-theme="dark"] .dh-rules-link:hover {
    color: #FFC107;
}

/* =========================================================
 * 提交规则弹层
 * ========================================================= */
html.dh-rules-open,
html.dh-rules-open body {
    overflow: hidden;
}
html.dh-rules-open body {
    padding-right: var(--scrollbar-width, 0px);
}
.dh-rules-modal {
    position: fixed;
    inset: 0;
    z-index: 9995;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.dh-rules-modal[hidden] {
    display: none;
}
.dh-rules-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(23, 24, 28, 0.55);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    opacity: 0;
    transition: opacity .25s var(--ease), backdrop-filter .25s var(--ease);
}
.dh-rules-modal.is-open .dh-rules-modal__mask {
    opacity: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.dh-rules-modal__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 720px;
    max-height: calc(100vh - 80px);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px) scale(.96);
    transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.dh-rules-modal.is-open .dh-rules-modal__inner {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.dh-rules-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #F4F5F7;
    color: var(--ink-2);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .25s var(--ease);
}
.dh-rules-modal__close:hover {
    background: var(--ink);
    color: #fff;
    transform: rotate(90deg);
}
.dh-rules-modal__head {
    flex-shrink: 0;
    padding: 28px 32px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #FFFBEB 0%, #fff 100%);
}
.dh-rules-modal__title {
    position: relative;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.4px;
    line-height: 1.3;
    margin: 0 0 6px;
    padding-left: 14px;
}
.dh-rules-modal__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(180deg, #FFC107, #FF8A00);
}
.dh-rules-modal__sub {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.6;
    margin: 0;
    padding-left: 14px;
}
.dh-rules-modal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px 32px 28px;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--ink-2);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--sb-thumb) transparent;
}
.dh-rules-modal__body::-webkit-scrollbar {
    width: 6px;
}
.dh-rules-modal__body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb);
    border-radius: 6px;
}
.dh-rules-modal__body .dh-rules-article > * + * {
    margin-top: 16px;
}
.dh-rules-modal__body .dh-rules-article > :first-child {
    margin-top: 0;
}
.dh-rules-modal__body h2 {
    position: relative;
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.3px;
    line-height: 1.4;
    margin-top: 28px;
    padding-left: 13px;
}
.dh-rules-modal__body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #FFC107, #FF8A00);
}
.dh-rules-modal__body h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 20px;
}
.dh-rules-modal__body strong {
    color: var(--ink);
    font-weight: 700;
}
.dh-rules-modal__body ul,
.dh-rules-modal__body ol {
    margin-left: 4px;
}
.dh-rules-modal__body ul li,
.dh-rules-modal__body ol li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}
.dh-rules-modal__body ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFC107, #FF8A00);
}
.dh-rules-modal__body ol {
    counter-reset: dh-rules-ol;
}
.dh-rules-modal__body ol li {
    counter-increment: dh-rules-ol;
}
.dh-rules-modal__body ol li::before {
    content: counter(dh-rules-ol);
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    background: #FFF7D6;
    color: #B45309;
    font-size: 10.5px;
    font-weight: 800;
    border-radius: 5px;
}
.dh-rules-modal__body a {
    color: #D97706;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(217, 119, 6, .45);
    transition: .25s var(--ease);
}
.dh-rules-modal__body a:hover {
    color: #FF8A00;
    border-bottom-color: #FF8A00;
}
.dh-rules-modal__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 160px;
    color: var(--ink-3);
    font-size: 13.5px;
    font-weight: 600;
}
.dh-rules-modal__spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, .1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: dhRulesSpin .7s linear infinite;
}
@keyframes dhRulesSpin {
    to { transform: rotate(360deg); }
}
.dh-rules-modal__foot {
    flex-shrink: 0;
    padding: 16px 32px 20px;
    border-top: 1px solid var(--line);
    background: #FAFBFC;
    display: flex;
    justify-content: flex-end;
}
.dh-rules-modal__agree {
    padding: 11px 32px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(100deg, #FFC107, #FF8A00);
    color: #1B1C21;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s var(--ease);
    box-shadow: 0 10px 26px -10px rgba(255, 167, 0, .7);
    letter-spacing: .2px;
}
.dh-rules-modal__agree:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px -12px rgba(255, 167, 0, .9);
}
.dh-rules-modal__agree:active {
    transform: translateY(0);
}
html[data-theme="dark"] .dh-rules-modal__inner {
    background: #17191F;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .85);
}
html[data-theme="dark"] .dh-rules-modal__head {
    background: linear-gradient(180deg, #1F1D18 0%, #17191F 100%);
    border-bottom-color: var(--line);
}
html[data-theme="dark"] .dh-rules-modal__title {
    color: var(--ink);
}
html[data-theme="dark"] .dh-rules-modal__close {
    background: #262A32;
    color: var(--ink-2);
}
html[data-theme="dark"] .dh-rules-modal__close:hover {
    background: var(--primary);
    color: #0F1115;
}
html[data-theme="dark"] .dh-rules-modal__body {
    color: var(--ink-2);
}
html[data-theme="dark"] .dh-rules-modal__body h2,
html[data-theme="dark"] .dh-rules-modal__body h3,
html[data-theme="dark"] .dh-rules-modal__body strong {
    color: var(--ink);
}
html[data-theme="dark"] .dh-rules-modal__body a {
    color: #FCD34D;
    border-bottom-color: rgba(252, 211, 77, .4);
}
html[data-theme="dark"] .dh-rules-modal__body a:hover {
    color: #FFC107;
}
html[data-theme="dark"] .dh-rules-modal__body ol li::before {
    background: #2A2110;
    color: #FCD34D;
}
html[data-theme="dark"] .dh-rules-modal__foot {
    background: #14161B;
    border-top-color: var(--line);
}
html[data-theme="dark"] .dh-rules-modal__spinner {
    border-color: rgba(255, 255, 255, .12);
    border-top-color: var(--primary);
}
@media (max-width: 680px) {
    .dh-rules-modal {
        padding: 0;
        align-items: flex-end;
    }
    .dh-rules-modal__inner {
        max-width: 100%;
        width: 100%;
        max-height: 88vh;
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
    }
    .dh-rules-modal.is-open .dh-rules-modal__inner {
        transform: translateY(0);
    }
    .dh-rules-modal__head {
        padding: 22px 20px 14px;
    }
    .dh-rules-modal__title {
        font-size: 18px;
    }
    .dh-rules-modal__body {
        padding: 18px 20px 22px;
        font-size: 14px;
    }
    .dh-rules-modal__foot {
        padding: 12px 20px 16px;
    }
    .dh-rules-modal__agree {
        width: 100%;
        padding: 12px 24px;
    }
}
/* =========================================================
 * 提交页 · 已登录提示条
 * ========================================================= */
.dh-logged-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px !important;
    background: #FFFBEB;
    border: 1px solid rgba(255, 167, 0, 0.22);
    border-radius: 12px;
    font-size: 13px;
    color: #92400E;
}

.dh-logged-bar__info {
    flex: 1;
    min-width: 0;
    line-height: 1.6;
    word-break: break-word;
}

.dh-logged-bar__info strong {
    font-weight: 800;
    color: #78350F;
}

.dh-logged-bar__logout {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(255, 167, 0, 0.35);
    color: #B45309;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
    transition: .25s var(--ease);
}

.dh-logged-bar__logout svg {
    flex-shrink: 0;
    display: block;
}

.dh-logged-bar__logout:hover {
    background: linear-gradient(100deg, #FFC107, #FF8A00);
    border-color: transparent;
    color: #1B1C21;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -8px rgba(255, 167, 0, .6);
}

.dh-logged-bar__logout:active {
    transform: translateY(0);
}

/* 移动端 */
@media (max-width: 680px) {
    .dh-logged-bar {
        padding: 12px 14px !important;
    }
    .dh-logged-bar__logout {
        width: 100%;
        justify-content: center;
    }
}

/* 深色主题 */
html[data-theme="dark"] .dh-logged-bar {
    background: #1F1D18;
    border-color: rgba(255, 167, 0, .18);
    color: #FCD34D;
}
html[data-theme="dark"] .dh-logged-bar__info strong {
    color: #FCD34D;
}
html[data-theme="dark"] .dh-logged-bar__logout {
    background: #17191F;
    border-color: rgba(255, 167, 0, .28);
    color: #FCD34D;
}
html[data-theme="dark"] .dh-logged-bar__logout:hover {
    background: linear-gradient(100deg, #FFC107, #FF8A00);
    color: #1B1C21;
    border-color: transparent;
}
/* =========================================================
 * 顶部导航 · 用户中心入口
 * ========================================================= */
.nav-user{
    display:inline-flex;
    align-items:center;
    gap:6px;
    flex-shrink:0;
    padding:4px 12px 4px 4px;
    border-radius:24px;
    background:#F1F2F5;
    border:1px solid transparent;
    color:var(--ink-2);
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    line-height:1.4;
    white-space:nowrap;
    transition:.25s var(--ease);
    max-width:180px;
}
.nav-user__avatar{
    width:28px;
    height:28px;
    border-radius:50%;
    display:block;
    flex-shrink:0;
    margin:0;
}
.nav-user__name{
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:100px;
    font-weight:600;
}
.nav-user:hover{
    color:var(--ink);
    border-color:var(--primary);
    background:#FFF9E6;
    transform:translateY(-1px);
    box-shadow:0 6px 16px -8px rgba(255,167,0,.5);
}
html[data-theme="dark"] .nav-user{
    background:#1F2229;
    color:var(--ink-2);
}
html[data-theme="dark"] .nav-user:hover{
    background:#2A2110;
    color:#FCD34D;
    border-color:var(--primary);
}
@media (max-width:1000px){
    .nav-user{
        padding:3px 10px 3px 3px;
        font-size:12px;
        max-width:150px;
    }
    .nav-user__avatar{width:24px;height:24px;}
    .nav-user__name{max-width:80px;}
}
@media (max-width:680px){
    .nav-user{
        padding:3px;
        background:transparent;
        max-width:34px;
    }
    .nav-user__name{display:none;}
    .nav-user__avatar{width:32px;height:32px;}
}

/* =========================================================
 * 用户中心 · 顶部信息区
 * ========================================================= */
.user-hero{
    padding-bottom:40px;
}
.user-hero__head{
    display:flex;
    align-items:center;
    gap:22px;
    flex-wrap:wrap;
}
.user-hero__avatar{
    flex-shrink:0;
}
.user-hero__avatar img,
.dh-user-avatar{
    width:72px;
    height:72px;
    border-radius:22px;
    display:block;
    box-shadow:0 10px 24px -10px rgba(23,24,28,.25);
    border:2px solid #fff;
    object-fit:cover;
}
html[data-theme="dark"] .user-hero__avatar img,
html[data-theme="dark"] .dh-user-avatar{
    border-color:#262A32;
    box-shadow:0 10px 24px -10px rgba(0,0,0,.6);
}
.user-hero__info{
    flex:1;
    min-width:220px;
}
.user-hero__name{
    font-size:clamp(22px,3.6vw,32px);
    font-weight:900;
    letter-spacing:-.8px;
    line-height:1.2;
    color:var(--ink);
    margin:0 0 6px;
    word-break:break-word;
}
.user-hero__meta{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    font-size:13px;
    color:var(--ink-3);
    margin-bottom:10px;
}
.user-hero__sep{
    color:var(--line);
    font-size:11px;
}
.user-hero__stats{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    font-size:13px;
    color:var(--ink-3);
}
.user-hero__stat b{
    color:var(--ink);
    font-weight:800;
    font-size:15px;
    font-variant-numeric:tabular-nums;
    margin-right:3px;
}
.user-hero__actions{
    flex-shrink:0;
}
.user-logout{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:8px 16px;
    border-radius:20px;
    background:#fff;
    border:1px solid var(--line);
    color:var(--ink-2);
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    transition:.25s var(--ease);
    line-height:1.4;
    white-space:nowrap;
}
.user-logout:hover{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    border-color:transparent;
    color:#1B1C21;
    transform:translateY(-1px);
    box-shadow:0 8px 20px -8px rgba(255,167,0,.6);
}
html[data-theme="dark"] .user-logout{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .user-logout:hover{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;
    border-color:transparent;
}

/* =========================================================
 * 用户中心 · 容器 / Tab
 * ========================================================= */
.user-wrap{
    max-width:1000px;
    margin:0 auto;
    padding:40px 28px 96px;
}

.user-tabs{
    display:flex;
    gap:6px;
    padding:6px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    margin-bottom:28px;
    overflow-x:auto;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
}
.user-tabs::-webkit-scrollbar{display:none;}
.user-tabs__btn{
    flex:1 0 auto;
    padding:10px 22px;
    border:none;
    background:transparent;
    color:var(--ink-2);
    font-size:14px;
    font-weight:700;
    font-family:inherit;
    border-radius:12px;
    cursor:pointer;
    transition:.25s var(--ease);
    white-space:nowrap;
    line-height:1.4;
}
.user-tabs__btn:hover{
    background:#F4F5F7;
    color:var(--ink);
}
.user-tabs__btn.is-active{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;
    box-shadow:0 6px 16px -8px rgba(255,167,0,.5);
}
html[data-theme="dark"] .user-tabs{
    background:var(--card);
    border-color:var(--line);
}
html[data-theme="dark"] .user-tabs__btn{
    color:var(--ink-2);
}
html[data-theme="dark"] .user-tabs__btn:hover{
    background:#1F2229;
    color:var(--ink);
}
html[data-theme="dark"] .user-tabs__btn.is-active{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#0F1115;
}

.user-panel{display:none;}
.user-panel.is-active{
    display:block;
    animation:dhUserFade .3s var(--ease);
}
@keyframes dhUserFade{
    from{opacity:0;transform:translateY(8px);}
    to{opacity:1;transform:translateY(0);}
}

/* =========================================================
 * 用户中心 · 我提交的（卡片）
 * ========================================================= */
.user-grid{
    grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
    gap:14px;
}
.user-card{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:18px 20px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    transition:.3s var(--ease);
}
.user-card:hover{
    transform:translateY(-3px);
    border-color:transparent;
    box-shadow:0 16px 32px -18px rgba(255,138,0,.28);
}
.user-card__badge-wrap{
    display:flex;
    justify-content:flex-start;
}
.user-card__title{
    font-size:15.5px;
    font-weight:800;
    color:var(--ink);
    line-height:1.4;
    letter-spacing:-.2px;
    margin:0;
    word-break:break-word;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.user-card__title a{
    color:inherit;
    text-decoration:none;
    transition:.25s var(--ease);
}
.user-card__title a:hover{color:#B45309;}
.user-card__host{
    font-size:12px;
    color:var(--ink-3);
    font-weight:500;
    word-break:break-all;
}
.user-card__foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding-top:10px;
    margin-top:auto;
    border-top:1px dashed var(--line);
    font-size:12px;
    color:var(--ink-3);
}
.user-card__hint{
    color:#D97706;
    font-weight:700;
}
.user-card__link{
    color:#D97706;
    font-weight:700;
    text-decoration:none;
}
.user-card__link:hover{color:#FF8A00;}
.user-card.is-offline{
    background:#FAFBFC;
}

/* 用户徽章 */
.dh-user-badge{
    display:inline-flex;
    align-items:center;
    padding:3px 10px;
    border-radius:12px;
    font-size:11.5px;
    font-weight:700;
    line-height:1.4;
    white-space:nowrap;
}
.dh-user-badge--safe{
    background:#ECFDF5;
    color:#047857;
}
.dh-user-badge--pending{
    background:#FEF3C7;
    color:#92400E;
}
.dh-user-badge--warning{
    background:#FFF7ED;
    color:#B45309;
}
.dh-user-badge--danger{
    background:#FEF2F2;
    color:#B91C1C;
}
.dh-user-badge--unknown{
    background:#F4F5F7;
    color:var(--ink-3);
}

html[data-theme="dark"] .user-card{
    background:var(--card);
    border-color:var(--line);
}
html[data-theme="dark"] .user-card:hover{
    box-shadow:0 16px 32px -18px rgba(255,138,0,.35);
}
html[data-theme="dark"] .user-card__title{
    color:var(--ink);
}
html[data-theme="dark"] .user-card__foot{
    border-top-color:var(--line);
}
html[data-theme="dark"] .user-card.is-offline{
    background:#14161B;
}
html[data-theme="dark"] .dh-user-badge--safe{
    background:#0C2A21;
    color:#6EE7B7;
}
html[data-theme="dark"] .dh-user-badge--pending{
    background:#2A2110;
    color:#FCD34D;
}
html[data-theme="dark"] .dh-user-badge--warning{
    background:#2E1B0F;
    color:#FDBA74;
}
html[data-theme="dark"] .dh-user-badge--danger{
    background:#2A0F10;
    color:#FCA5A5;
}
html[data-theme="dark"] .dh-user-badge--unknown{
    background:#262A32;
    color:var(--ink-3);
}

/* =========================================================
 * 用户中心 · 我的评论
 * ========================================================= */
.user-comments{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.user-comment{
    position:relative;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:18px 20px;
    transition:.3s var(--ease);
}
.user-comment:hover{
    border-color:rgba(255,167,0,.35);
    box-shadow:0 12px 28px -20px rgba(255,138,0,.30);
}
.user-comment__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:10px;
    padding-bottom:10px;
    border-bottom:1px dashed var(--line);
    font-size:12.5px;
    color:var(--ink-3);
}
.user-comment__target a{
    color:#D97706;
    font-weight:700;
    text-decoration:none;
}
.user-comment__target a:hover{color:#FF8A00;}
.user-comment__date{
    font-variant-numeric:tabular-nums;
    flex-shrink:0;
}
.user-comment__body{
    font-size:14px;
    line-height:1.75;
    color:var(--ink-2);
    word-break:break-word;
}
.user-comment__body p{margin:0 0 8px;}
.user-comment__body p:last-child{margin-bottom:0;}
.user-comment__body a{
    color:#D97706;
    font-weight:600;
}
html[data-theme="dark"] .user-comment{
    background:var(--card);
    border-color:var(--line);
}
html[data-theme="dark"] .user-comment:hover{
    border-color:rgba(255,167,0,.30);
}
html[data-theme="dark"] .user-comment__head{
    border-bottom-color:var(--line);
    color:var(--ink-3);
}
html[data-theme="dark"] .user-comment__body{
    color:var(--ink-2);
}

/* =========================================================
 * 用户中心 · 资料 / 密码
 * ========================================================= */
.user-profile,
.user-password{
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:28px 30px;
}
.user-profile__section{
    margin-bottom:28px;
    padding-bottom:24px;
    border-bottom:1px dashed var(--line);
}
.user-profile__section:last-child{
    margin-bottom:0;
    padding-bottom:0;
    border-bottom:none;
}
.user-profile__title{
    position:relative;
    font-size:16px;
    font-weight:800;
    color:var(--ink);
    letter-spacing:-.3px;
    margin:0 0 18px;
    padding-left:14px;
}
.user-profile__title::before{
    content:"";
    position:absolute;
    left:0;
    top:3px;
    bottom:3px;
    width:4px;
    border-radius:2px;
    background:linear-gradient(180deg,#FFC107,#FF8A00);
}
.user-profile__row{
    display:flex;
    align-items:baseline;
    gap:16px;
    padding:10px 0;
    border-bottom:1px dashed var(--line);
    flex-wrap:wrap;
}
.user-profile__row:last-child{border-bottom:none;}
.user-profile__label{
    flex-shrink:0;
    width:110px;
    font-size:13px;
    color:var(--ink-3);
    font-weight:600;
}
.user-profile__value{
    flex:1;
    min-width:0;
    font-size:14px;
    color:var(--ink);
    word-break:break-word;
}
.user-profile__value strong{
    font-weight:800;
}

.user-profile__field{
    margin-bottom:18px;
}
.user-profile__field:last-child{margin-bottom:0;}
.user-profile__field label{
    display:block;
    font-size:13px;
    font-weight:700;
    color:var(--ink);
    margin-bottom:8px;
}
.user-profile__field input[type="text"],
.user-profile__field input[type="password"]{
    width:100%;
    padding:11px 14px;
    background:#FAFBFC;
    border:1px solid var(--line);
    border-radius:12px;
    font-size:14px;
    font-family:inherit;
    color:var(--ink);
    outline:none;
    transition:.25s var(--ease);
    box-sizing:border-box;
}
.user-profile__field input:focus{
    background:#fff;
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(255,193,7,.18);
}
.user-profile__hint{
    display:block;
    font-size:12px;
    color:var(--ink-3);
    font-weight:400;
    margin-top:6px;
    line-height:1.6;
}

/* 按钮 */
.user-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 28px;
    border:none;
    border-radius:24px;
    font-family:inherit;
    font-size:14px;
    font-weight:800;
    cursor:pointer;
    transition:.25s var(--ease);
    line-height:1.4;
}
.user-btn--primary{
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;
    box-shadow:0 10px 26px -10px rgba(255,167,0,.7);
}
.user-btn--primary:hover:not(:disabled){
    transform:translateY(-1px);
    box-shadow:0 14px 30px -12px rgba(255,167,0,.9);
}
.user-btn--primary:disabled{
    opacity:.6;
    cursor:not-allowed;
    box-shadow:none;
}

/* 昵称状态提示 */
.user-nick-status{margin-bottom:20px;}
.user-nick-alert{
    padding:14px 18px;
    border-radius:12px;
    font-size:13.5px;
    line-height:1.7;
}
.user-nick-alert strong{
    display:block;
    font-size:14px;
    font-weight:800;
    margin-bottom:4px;
}
.user-nick-alert p{margin:0;}
.user-nick-alert__hint{
    margin-top:4px !important;
    font-size:12.5px;
    opacity:.8;
}
.user-nick-alert--pending{
    background:#FFFBEB;
    border:1px solid rgba(255,167,0,.30);
    color:#92400E;
}
.user-nick-alert--rejected{
    background:#FEF2F2;
    border:1px solid #FECACA;
    color:#991B1B;
}
.user-nick-alert--cooldown{
    background:#F4F5F7;
    border:1px solid var(--line);
    color:var(--ink-2);
}

/* 昵称 / 密码提交行 */
.user-nick-actions,
.user-password__actions{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-top:6px;
}
.user-nick-msg,
.user-password__msg{
    font-size:13px;
    font-weight:700;
    line-height:1.4;
}
.user-nick-msg.is-loading,
.user-password__msg.is-loading{color:var(--ink-3);}
.user-nick-msg.is-success,
.user-password__msg.is-success{color:#16A34A;}
.user-nick-msg.is-error,
.user-password__msg.is-error{color:#DC2626;}

.user-password__tip{
    margin-top:16px;
    padding-top:14px;
    border-top:1px dashed var(--line);
    font-size:12.5px;
    color:var(--ink-3);
    line-height:1.7;
}

/* 空状态 */
.user-empty{
    padding:60px 20px;
}

/* 分页 */
.user-pagination{
    display:flex;
    justify-content:center;
    gap:6px;
    margin-top:32px;
    flex-wrap:wrap;
}
.user-pagination__item a,
.user-pagination__item span{
    display:inline-block;
    padding:7px 14px;
    border-radius:10px;
    background:#fff;
    border:1px solid var(--line);
    color:var(--ink-2);
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    transition:.25s var(--ease);
}
.user-pagination__item a:hover{
    border-color:var(--primary);
    background:#FFF9E6;
    color:var(--ink);
}
.user-pagination__item .current{
    background:var(--ink);
    border-color:var(--ink);
    color:#fff;
}

/* 登录引导（未登录时） */
.dh-login-gate{
    text-align:center;
    padding:56px 24px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    box-shadow:0 28px 60px -44px rgba(23,24,28,.22);
    max-width:480px;
    margin:0 auto;
}
.dh-login-gate h2{
    font-size:22px;
    font-weight:800;
    color:var(--ink);
    margin-bottom:10px;
    letter-spacing:-.4px;
}
.dh-login-gate p{
    font-size:14px;
    color:var(--ink-2);
    line-height:1.7;
    margin-bottom:24px;
}
.js-login-open--center{
    display:inline-block;
}
.dh-login-gate__register{
    text-align:center;
    font-size:13px;
    color:var(--ink-3);
    margin-top:16px;
}
.dh-login-gate__register a{
    color:#D97706;
    font-weight:700;
    text-decoration:none;
}
.dh-login-gate__register a:hover{color:#FF8A00;}

/* 深色主题统一补丁 */
html[data-theme="dark"] .user-profile,
html[data-theme="dark"] .user-password,
html[data-theme="dark"] .dh-login-gate{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 28px 60px -44px rgba(0,0,0,.7);
}
html[data-theme="dark"] .user-profile__section{
    border-bottom-color:var(--line);
}
html[data-theme="dark"] .user-profile__title{
    color:var(--ink);
}
html[data-theme="dark"] .user-profile__row{
    border-bottom-color:var(--line);
}
html[data-theme="dark"] .user-profile__label{
    color:var(--ink-3);
}
html[data-theme="dark"] .user-profile__value{
    color:var(--ink);
}
html[data-theme="dark"] .user-profile__field input{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink);
}
html[data-theme="dark"] .user-profile__field input:focus{
    background:#262A32;
}
html[data-theme="dark"] .user-nick-alert--pending{
    background:#2A2110;
    border-color:#78350F;
    color:#FCD34D;
}
html[data-theme="dark"] .user-nick-alert--rejected{
    background:#2A0F10;
    border-color:#7F1D1D;
    color:#FCA5A5;
}
html[data-theme="dark"] .user-nick-alert--cooldown{
    background:#262A32;
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .user-pagination__item a,
html[data-theme="dark"] .user-pagination__item span{
    background:var(--card);
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .user-pagination__item a:hover{
    background:#2A2110;
    border-color:var(--primary);
    color:var(--ink);
}
html[data-theme="dark"] .user-pagination__item .current{
    background:var(--primary);
    border-color:var(--primary);
    color:#0F1115;
}
html[data-theme="dark"] .dh-login-gate h2{color:var(--ink);}
html[data-theme="dark"] .dh-login-gate p{color:var(--ink-2);}

/* 移动端 */
@media (max-width:680px){
    .user-wrap{padding:28px 18px 70px;}
    .user-hero__head{gap:14px;}
    .user-hero__avatar img,
    .dh-user-avatar{width:60px;height:60px;border-radius:18px;}
    .user-hero__name{font-size:22px;}
    .user-hero__meta{font-size:12px;gap:6px;}
    .user-hero__actions{width:100%;margin-top:6px;}
    .user-logout{width:100%;justify-content:center;}
    .user-tabs{padding:4px;margin-bottom:20px;}
    .user-tabs__btn{padding:9px 16px;font-size:13px;}
    .user-grid{grid-template-columns:1fr;gap:10px;}
    .user-profile,
    .user-password{padding:20px 18px;border-radius:16px;}
    .user-profile__row{gap:6px;}
    .user-profile__label{width:auto;font-size:12px;}
    .user-nick-actions,
    .user-password__actions{flex-direction:column;align-items:stretch;}
    .user-btn{width:100%;}
}
/* =========================================================
 * 顶部导航 · 未登录「登录 / 注册」按钮
 * ========================================================= */
.nav-login{
    display:inline-flex;
    align-items:center;
    gap:5px;
    flex-shrink:0;
    padding:8px 16px;
    border-radius:20px;
    background:#fff;
    border:1px solid var(--line);
    color:var(--ink-2);
    font-family:inherit;
    font-size:13px;
    font-weight:700;
    line-height:1.4;
    white-space:nowrap;
    cursor:pointer;
    transition:.25s var(--ease);
}
.nav-login svg{flex-shrink:0;display:block;}
.nav-login:hover{
    color:var(--ink);
    border-color:var(--primary);
    background:#FFF9E6;
    transform:translateY(-1px);
    box-shadow:0 6px 16px -8px rgba(255,167,0,.5);
}
.nav-login:active{transform:translateY(0);}

html[data-theme="dark"] .nav-login{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink-2);
}
html[data-theme="dark"] .nav-login:hover{
    background:#2A2110;
    color:#FCD34D;
    border-color:var(--primary);
}

@media (max-width:1000px){
    .nav-login{
        padding:7px 13px;
        font-size:12px;
    }
}

@media (max-width:680px){
    .nav-login{
        padding:7px 10px;
        gap:0;
    }
    .nav-login__text{
        display:none;
    }
}

/* =========================================================
 * 全局登录弹层（header 里）
 * ========================================================= */
.dh-login-modal__title{
    font-size:20px;
    font-weight:800;
    color:var(--ink);
    letter-spacing:-.4px;
    text-align:center;
    margin:0 0 6px;
}
.dh-login-modal__sub{
    font-size:13px;
    color:var(--ink-3);
    text-align:center;
    margin:0 0 22px;
}
.dh-login-modal__register{
    font-size:12.5px;
    color:var(--ink-3);
    text-align:center;
    margin:16px 0 0;
}
.dh-login-modal__register a{
    color:#D97706;
    font-weight:700;
    text-decoration:none;
}
.dh-login-modal__register a:hover{color:#FF8A00;}

html[data-theme="dark"] .dh-login-modal__title{
    color:var(--ink) !important;
}
html[data-theme="dark"] .dh-login-modal__sub{
    color:var(--ink-3) !important;
}

/* =========================================================
 * 输入框即时校验
 * ========================================================= */
.dh-input-hint{
    display:block;
    font-size:12px;
    line-height:1.5;
    margin-top:6px;
    min-height:18px;
    font-weight:500;
    transition:.2s var(--ease);
}
.dh-input-hint.is-ok{ color:#16A34A; }
.dh-input-hint.is-error{ color:#DC2626; }

/* 输入框边框状态 */
input.dh-input-ok{
    border-color:#86EFAC !important;
    background:#F0FDF4 !important;
}
input.dh-input-error{
    border-color:#FCA5A5 !important;
    background:#FEF2F2 !important;
}
input.dh-input-ok:focus{
    border-color:#4ADE80 !important;
    box-shadow:0 0 0 3px rgba(34,197,94,.18) !important;
}
input.dh-input-error:focus{
    border-color:#F87171 !important;
    box-shadow:0 0 0 3px rgba(220,38,38,.18) !important;
}

html[data-theme="dark"] input.dh-input-ok{
    background:#0C2A21 !important;
    border-color:#14532D !important;
}
html[data-theme="dark"] input.dh-input-error{
    background:#2A0F10 !important;
    border-color:#7F1D1D !important;
}
html[data-theme="dark"] .dh-input-hint.is-ok{ color:#6EE7B7; }
html[data-theme="dark"] .dh-input-hint.is-error{ color:#FCA5A5; }
/* =========================================================
 * 注册页
 * ========================================================= */
.register-wrap{
    max-width:520px;
    margin:0 auto;
    padding:40px 28px 96px;
}

.register-form{
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:36px 38px 32px;
    box-shadow:0 28px 60px -44px rgba(23,24,28,.22);
}
html[data-theme="dark"] .register-form{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 28px 60px -44px rgba(0,0,0,.7);
}

.register-form .user-profile__field{
    margin-bottom:20px;
}
.register-form .user-profile__field:last-of-type{
    margin-bottom:24px;
}

.register-form label .req{
    color:#FF3D71;
    margin-left:2px;
}
.register-form label .hint{
    font-size:12px;
    color:var(--ink-3);
    font-weight:400;
    margin-left:6px;
}

.register-actions{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-top:6px;
}
.register-actions .user-btn{
    padding:12px 40px;
    font-size:14.5px;
}
.register-msg{
    font-size:13px;
    font-weight:700;
    line-height:1.4;
}
.register-msg.is-loading{ color:var(--ink-3); }
.register-msg.is-success{ color:#16A34A; }
.register-msg.is-error{ color:#DC2626; }

.register-login-link{
    margin:20px 0 0;
    padding-top:18px;
    border-top:1px dashed var(--line);
    font-size:13px;
    color:var(--ink-3);
    text-align:center;
}
.register-login-link a{
    color:#D97706;
    font-weight:700;
    text-decoration:none;
    transition:.25s var(--ease);
}
.register-login-link a:hover{
    color:#FF8A00;
}

/* 关闭 / 已登录 兜底块 */
.register-gate{
    text-align:center;
    padding:56px 24px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    box-shadow:0 28px 60px -44px rgba(23,24,28,.22);
    max-width:480px;
    margin:0 auto;
}
.register-gate h2{
    font-size:22px;
    font-weight:800;
    color:var(--ink);
    margin-bottom:10px;
    letter-spacing:-.4px;
}
.register-gate p{
    font-size:14px;
    color:var(--ink-2);
    line-height:1.7;
    margin-bottom:24px;
}
html[data-theme="dark"] .register-gate{
    background:var(--card);
    border-color:var(--line);
    box-shadow:0 28px 60px -44px rgba(0,0,0,.7);
}
html[data-theme="dark"] .register-gate h2{ color:var(--ink); }
html[data-theme="dark"] .register-gate p{ color:var(--ink-2); }

/* 移动端 */
@media (max-width:680px){
    .register-wrap{
        padding:28px 18px 70px;
    }
    .register-form{
        padding:26px 20px 24px;
        border-radius:18px;
    }
    .register-actions{
        flex-direction:column;
        align-items:stretch;
    }
    .register-actions .user-btn{
        width:100%;
        padding:13px 24px;
    }
}
/* =========================================================
 * 用户资料 / 注册页 · 补充输入框类型
 * 说明：原来只定义了 text/password，补上 email/url/tel/number/search
 * ========================================================= */
.user-profile__field input[type="text"],
.user-profile__field input[type="password"],
.user-profile__field input[type="email"],
.user-profile__field input[type="url"],
.user-profile__field input[type="tel"],
.user-profile__field input[type="number"],
.user-profile__field input[type="search"],
.user-profile__field select,
.user-profile__field textarea{
    width:100%;
    padding:11px 14px;
    background:#FAFBFC;
    border:1px solid var(--line);
    border-radius:12px;
    font-size:14px;
    font-family:inherit;
    color:var(--ink);
    outline:none;
    transition:.25s var(--ease);
    box-sizing:border-box;
    line-height:1.5;
    appearance:none;
    -webkit-appearance:none;
}

.user-profile__field input[type="text"]:focus,
.user-profile__field input[type="password"]:focus,
.user-profile__field input[type="email"]:focus,
.user-profile__field input[type="url"]:focus,
.user-profile__field input[type="tel"]:focus,
.user-profile__field input[type="number"]:focus,
.user-profile__field input[type="search"]:focus,
.user-profile__field select:focus,
.user-profile__field textarea:focus{
    background:#fff;
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(255,193,7,.18);
}

/* 深色主题 */
html[data-theme="dark"] .user-profile__field input[type="text"],
html[data-theme="dark"] .user-profile__field input[type="password"],
html[data-theme="dark"] .user-profile__field input[type="email"],
html[data-theme="dark"] .user-profile__field input[type="url"],
html[data-theme="dark"] .user-profile__field input[type="tel"],
html[data-theme="dark"] .user-profile__field input[type="number"],
html[data-theme="dark"] .user-profile__field input[type="search"],
html[data-theme="dark"] .user-profile__field select,
html[data-theme="dark"] .user-profile__field textarea{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink);
}
html[data-theme="dark"] .user-profile__field input:focus,
html[data-theme="dark"] .user-profile__field select:focus,
html[data-theme="dark"] .user-profile__field textarea:focus{
    background:#262A32;
}

/* 必填红星（不依赖 .register-form 前缀，全站可用） */
.user-profile__field label .req{
    color:#FF3D71;
    margin-left:2px;
    font-weight:700;
}

/* 校验状态在 email 上也生效 */
.user-profile__field input.dh-input-ok{
    border-color:#86EFAC !important;
    background:#F0FDF4 !important;
}
.user-profile__field input.dh-input-error{
    border-color:#FCA5A5 !important;
    background:#FEF2F2 !important;
}
html[data-theme="dark"] .user-profile__field input.dh-input-ok{
    background:#0C2A21 !important;
    border-color:#14532D !important;
}
html[data-theme="dark"] .user-profile__field input.dh-input-error{
    background:#2A0F10 !important;
    border-color:#7F1D1D !important;
}
/* =========================================================
 * 全局登录弹层 · 表单
 * ========================================================= */
.dh-login-form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.dh-login-field{
    margin:0;
}
.dh-login-field label{
    display:block;
    font-size:12.5px;
    font-weight:700;
    color:var(--ink);
    margin:0 0 6px;
}
.dh-login-field input[type="text"],
.dh-login-field input[type="password"]{
    width:100%;
    padding:11px 14px;
    background:#FAFBFC;
    border:1px solid var(--line);
    border-radius:12px;
    font-size:14px;
    font-family:inherit;
    color:var(--ink);
    outline:none;
    transition:.25s var(--ease);
    box-sizing:border-box;
}
.dh-login-field input[type="text"]:focus,
.dh-login-field input[type="password"]:focus{
    background:#fff;
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(255,193,7,.18);
}

.dh-login-error{
    margin:0;
    padding:10px 14px;
    background:#FEF2F2;
    border:1px solid #FECACA;
    border-radius:10px;
    color:#991B1B;
    font-size:13px;
    font-weight:600;
    line-height:1.5;
    animation:dhLoginShake .32s var(--ease);
}
.dh-login-error[hidden]{
    display:none !important;
}
@keyframes dhLoginShake{
    0%,100%{transform:translateX(0);}
    25%{transform:translateX(-4px);}
    75%{transform:translateX(4px);}
}

.dh-login-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    font-size:12.5px;
    margin-top:-2px;
}

.dh-login-remember{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:var(--ink-2);
    font-weight:500;
    cursor:pointer;
    user-select:none;
}
.dh-login-remember input[type="checkbox"]{
    width:15px;
    height:15px;
    margin:0;
    accent-color:#FF8A00;
    cursor:pointer;
}

.dh-login-lost{
    color:#D97706;
    font-weight:700;
    text-decoration:none;
    transition:.25s var(--ease);
}
.dh-login-lost:hover{
    color:#FF8A00;
}

.dh-login-submit{
    width:100%;
    padding:12px 24px;
    border:none;
    border-radius:24px;
    background:linear-gradient(100deg,#FFC107,#FF8A00);
    color:#1B1C21;
    font-family:inherit;
    font-weight:800;
    font-size:14px;
    cursor:pointer;
    transition:.25s var(--ease);
    box-shadow:0 10px 26px -10px rgba(255,167,0,.7);
    margin-top:6px;
}
.dh-login-submit:hover:not(:disabled){
    transform:translateY(-1px);
    box-shadow:0 16px 36px -12px rgba(255,167,0,.9);
}
.dh-login-submit:disabled,
.dh-login-submit.is-loading{
    opacity:.7;
    cursor:wait;
    box-shadow:none;
    transform:none;
}

/* 深色主题 */
html[data-theme="dark"] .dh-login-field label{
    color:var(--ink);
}
html[data-theme="dark"] .dh-login-field input[type="text"],
html[data-theme="dark"] .dh-login-field input[type="password"]{
    background:#1F2229;
    border-color:var(--line);
    color:var(--ink);
}
html[data-theme="dark"] .dh-login-field input:focus{
    background:#262A32;
}
html[data-theme="dark"] .dh-login-error{
    background:#2A0F10;
    border-color:#7F1D1D;
    color:#FCA5A5;
}
html[data-theme="dark"] .dh-login-remember{
    color:var(--ink-2);
}
html[data-theme="dark"] .dh-login-lost{
    color:#FCD34D;
}
html[data-theme="dark"] .dh-login-lost:hover{
    color:#FFC107;
}

/* =========================================================
 * 输入框即时校验补充：email 类型
 * ========================================================= */
.user-profile__field input[type="email"],
.hero-search__input input[type="search"]{
    box-sizing:border-box;
}
/* =========================================================
 * 忘记密码 / 重置密码 页面补充
 * 复用 .register-wrap / .register-form / .user-profile__field
 * ========================================================= */
.dh-login-lost{
    color:#D97706;
    font-weight:700;
    text-decoration:none;
    transition:.25s var(--ease);
}
.dh-login-lost:hover{
    color:#FF8A00;
}
html[data-theme="dark"] .dh-login-lost{
    color:#FCD34D;
}
html[data-theme="dark"] .dh-login-lost:hover{
    color:#FFC107;
}

/* reset-password 页面里已登录提示条用 info 样式 */
.register-form .form-alert{
    margin-bottom:22px;
}
/* =========================================================
 * 登录弹层 · 验证码区块
 * 场景：连续登录失败达阈值后，弹层内显示验证码
 * 布局：label 独占一行；图片 + 刷新 + 输入框横排一行
 * ========================================================= */
.dh-login-captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin-top: 14px;
    padding: 0;
    background: transparent;
    border: none;
}

.dh-login-captcha[hidden] {
    display: none !important;
}

.dh-login-captcha > label {
    flex: 0 0 100%;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #9AA0AC;
    line-height: 1.4;
}

/* 图片 + 刷新按钮：固定宽度的一小段 */
/* =========================================================
 * 登录弹层 · 验证码区块
 * 布局（Grid）：第一行 label；第二行 img + 刷新 + 输入框
 * ========================================================= */
.dh-login-captcha {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "label label label"
        "img   btn   input";
    align-items: center;
    gap: 8px 6px;

    margin-top: 14px;
    padding: 0;
    background: transparent;
    border: none;
}

.dh-login-captcha[hidden] {
    display: none !important;
}

.dh-login-captcha > label {
    grid-area: label;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #9AA0AC;
    line-height: 1.4;
}

.dh-login-captcha__img {
    grid-area: img;
    display: block;
    width: 100px;
    height: 38px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    cursor: pointer;
    user-select: none;
    object-fit: cover;
}

.dh-login-captcha__refresh {
    grid-area: btn;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;

    border: 1px solid rgba(0,0,0,.08);
    border-radius: 6px;
    background: #fff;
    color: #5A5F6B;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.dh-login-captcha__refresh svg {
    width: 12px;
    height: 12px;
    display: block;
}

.dh-login-captcha__refresh:hover {
    background: #FFC107;
    border-color: #FFC107;
    color: #17181C;
}

.dh-login-captcha__refresh:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.dh-login-captcha__refresh.is-spinning {
    animation: dh-captcha-spin .6s linear infinite;
}

@keyframes dh-captcha-spin {
    to { transform: rotate(360deg); }
}

.dh-login-captcha__input {
    grid-area: input;
    min-width: 0;
    width: 100%;
    height: 38px;
    padding: 0 10px;
    box-sizing: border-box;

    font-size: 14px;
    letter-spacing: 2px;
    text-align: center;

    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 6px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.dh-login-captcha__input::placeholder {
    color: #C1C6CE;
    letter-spacing: 2px;
}

.dh-login-captcha__input:focus {
    border-color: #FFC107;
    box-shadow: 0 0 0 3px rgba(255,193,7,.18);
}

/* 小屏（<380px）再缩一档 */
@media (max-width: 380px) {
    .dh-login-captcha {
        grid-template-columns: auto auto 1fr;
        gap: 8px 4px;
    }
    .dh-login-captcha__img {
        width: 84px;
        height: 36px;
    }
    .dh-login-captcha__refresh {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    .dh-login-captcha__refresh svg {
        width: 10px;
        height: 10px;
    }
    .dh-login-captcha__input {
        height: 36px;
        font-size: 13px;
        padding: 0 8px;
    }
}

/* ------- 夜间模式 ------- */
html[data-theme="dark"] .dh-login-captcha > label {
    color: #8A8F98;
}

html[data-theme="dark"] .dh-login-captcha__img {
    background: #1E2028;
    border-color: rgba(255,255,255,.08);
}

html[data-theme="dark"] .dh-login-captcha__refresh {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.1);
    color: #C8CCD4;
}

html[data-theme="dark"] .dh-login-captcha__refresh:hover {
    background: #FFC107;
    border-color: #FFC107;
    color: #17181C;
}

html[data-theme="dark"] .dh-login-captcha__input {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.1);
    color: #E8EAEE;
}

html[data-theme="dark"] .dh-login-captcha__input::placeholder {
    color: #6B7078;
}

html[data-theme="dark"] .dh-login-captcha__input:focus {
    border-color: #FFC107;
    box-shadow: 0 0 0 3px rgba(255,193,7,.22);
}
/* =========================================================
 * 顶部导航 · 已登录用户下拉菜单
 * 触发：hover（PC）+ focus-within（键盘 / Tab 键）
 * 结构：.nav-user > .nav-user__trigger + .nav-user__menu
 * ========================================================= */
.nav-user {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-user__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;

    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease;
}

.nav-user__trigger:hover,
.nav-user__trigger:focus-visible {
    background: rgba(0,0,0,.05);
    outline: none;
}

.nav-user__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
    flex: 0 0 auto;
}

.nav-user__name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user__caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    color: #9AA0AC;
    transition: transform .22s ease;
}

.nav-user:hover .nav-user__caret,
.nav-user:focus-within .nav-user__caret {
    transform: rotate(180deg);
}

/* 下拉菜单本体 */
.nav-user__menu {
    position: absolute;
    top: 100%;
    right: 0;

    min-width: 160px;
    margin-top: 8px;
    padding: 6px;

    background: #fff;
    border-radius: 12px;
    box-shadow:
        0 12px 32px -12px rgba(0,0,0,.18),
        0 4px 12px -4px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.06);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .22s cubic-bezier(.22,.68,.32,1.1);

    z-index: 1000;
}

/* 悬停时展开（含 hover 与键盘聚焦） */
.nav-user:hover .nav-user__menu,
.nav-user:focus-within .nav-user__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 用一个透明区域补上按钮与菜单之间的空隙，避免鼠标移过去时菜单收起 */
.nav-user__menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.nav-user__item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 9px 12px;
    border-radius: 8px;

    color: #5A5F6B;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;

    transition: background-color .15s ease, color .15s ease;
}

.nav-user__item svg {
    flex: 0 0 auto;
    color: #9AA0AC;
    transition: color .15s ease;
}

.nav-user__item:hover,
.nav-user__item:focus-visible {
    background: #F6F7F9;
    color: #17181C;
    outline: none;
}

.nav-user__item:hover svg,
.nav-user__item:focus-visible svg {
    color: #D97706;
}

.nav-user__item--logout {
    color: #DC2626;
}

.nav-user__item--logout svg {
    color: #F87171;
}

.nav-user__item--logout:hover,
.nav-user__item--logout:focus-visible {
    background: #FEF2F2;
    color: #B91C1C;
}

.nav-user__item--logout:hover svg,
.nav-user__item--logout:focus-visible svg {
    color: #DC2626;
}

/* 移动端：不显示 caret、不显示下拉菜单（走抽屉菜单或直接点头像进个人中心） */
@media (max-width: 680px) {
    .nav-user__caret {
        display: none;
    }
    .nav-user__name {
        display: none;
    }
    .nav-user__trigger {
        padding: 2px;
    }
    .nav-user__menu {
        display: none;
    }
}

/* ------- 夜间模式 ------- */
html[data-theme="dark"] .nav-user__trigger:hover,
html[data-theme="dark"] .nav-user__trigger:focus-visible {
    background: rgba(255,255,255,.06);
}

html[data-theme="dark"] .nav-user__menu {
    background: #1E2028;
    border-color: rgba(255,255,255,.08);
    box-shadow:
        0 12px 32px -12px rgba(0,0,0,.6),
        0 4px 12px -4px rgba(0,0,0,.4);
}

html[data-theme="dark"] .nav-user__item {
    color: #A0A4AD;
}

html[data-theme="dark"] .nav-user__item svg {
    color: #6B7078;
}

html[data-theme="dark"] .nav-user__item:hover,
html[data-theme="dark"] .nav-user__item:focus-visible {
    background: rgba(255,255,255,.06);
    color: #E8EAEE;
}

html[data-theme="dark"] .nav-user__item:hover svg,
html[data-theme="dark"] .nav-user__item:focus-visible svg {
    color: #FFC107;
}

html[data-theme="dark"] .nav-user__item--logout {
    color: #F87171;
}

html[data-theme="dark"] .nav-user__item--logout svg {
    color: #EF4444;
}

html[data-theme="dark"] .nav-user__item--logout:hover,
html[data-theme="dark"] .nav-user__item--logout:focus-visible {
    background: rgba(239,68,68,.12);
    color: #FCA5A5;
}

html[data-theme="dark"] .nav-user__item--logout:hover svg,
html[data-theme="dark"] .nav-user__item--logout:focus-visible svg {
    color: #F87171;
}
/* =========================================================
 * 违规下架的卡片
 * ========================================================= */
.card.card--blocked {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: .72;
    transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.card.card--blocked:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--line);
    filter: grayscale(1);
    opacity: .82;
}
.card.card--blocked .card-link {
    cursor: not-allowed;
}
.card.card--blocked .arrow {
    display: none;
}
.card-blocked-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    background: #FEF2F2;
    color: #B91C1C;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
    line-height: 1.4;
}
.card.card--blocked .card-icon {
    filter: grayscale(.6);
}
.card.card--blocked .chip {
    opacity: .8;
}
.card.card--blocked .chip:hover {
    opacity: 1;
}
html[data-theme="dark"] .card.card--blocked {
    border-color: var(--line);
}
html[data-theme="dark"] .card-blocked-tag {
    background: #2A0F10;
    color: #FCA5A5;
}

/* 手动确认的安全徽章 */
.dh-safety--manual {
    background: #ECFDF5;
    color: #047857;
    border-color: #A7F3D0;
}
.dh-safety--manual:hover {
    box-shadow: 0 6px 16px -6px rgba(4,120,87,.35);
}
html[data-theme="dark"] .dh-safety--manual {
    background: #0C2A21;
    color: #6EE7B7;
    border-color: #14532D;
}
/* =========================================================
 * 反馈表单 · 验证码
 * ========================================================= */
.dh-feedback__captcha {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.dh-feedback__captcha-img {
    display: block;
    width: 160px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #F6F7F9;
    flex-shrink: 0;
    cursor: pointer;
}
.dh-feedback__captcha-refresh {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink-3);
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
    transition: .25s var(--ease);
    flex-shrink: 0;
}
.dh-feedback__captcha-refresh:hover {
    color: var(--ink);
    border-color: var(--primary);
    background: #FFF9E6;
}
.dh-feedback__captcha-refresh:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.dh-feedback__captcha-refresh.is-spinning svg {
    animation: dhSpin .6s linear;
}
.dh-feedback__captcha-input {
    flex: 1;
    min-width: 100px;
    padding: 11px 14px;
    background: #FAFBFC;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: .25s var(--ease);
    text-align: center;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
    box-sizing: border-box;
    text-transform: uppercase;
}
.dh-feedback__captcha-input::placeholder {
    color: #C1C6CE;
    letter-spacing: 2px;
}
.dh-feedback__captcha-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,193,7,.18);
}

/* 夜间模式 */
html[data-theme="dark"] .dh-feedback__captcha-img {
    background: #1F2229;
    border-color: var(--line);
}
html[data-theme="dark"] .dh-feedback__captcha-refresh {
    background: #1F2229;
    border-color: var(--line);
    color: var(--ink-2);
}
html[data-theme="dark"] .dh-feedback__captcha-refresh:hover {
    background: #2A2110;
    color: var(--ink);
    border-color: var(--primary);
}
html[data-theme="dark"] .dh-feedback__captcha-input {
    background: #1F2229;
    border-color: var(--line);
    color: var(--ink);
}
html[data-theme="dark"] .dh-feedback__captcha-input::placeholder {
    color: #6B7078;
}
html[data-theme="dark"] .dh-feedback__captcha-input:focus {
    background: #262A32;
}

/* 移动端 */
@media (max-width: 680px) {
    .dh-feedback__captcha {
        gap: 8px;
    }
    .dh-feedback__captcha-img {
        width: 130px;
        height: 42px;
    }
    .dh-feedback__captcha-refresh {
        width: 32px;
        height: 32px;
    }
    .dh-feedback__captcha-refresh svg {
        width: 12px;
        height: 12px;
    }
    .dh-feedback__captcha-input {
        font-size: 14px;
        padding: 10px 12px;
        min-width: 80px;
    }
}
/* =========================================================
 * 登录弹层 · 剩余次数提示
 * ========================================================= */
.dh-login-hint {
    margin: 0;
    padding: 8px 14px;
    background: #FFFBEB;
    border: 1px solid rgba(255, 167, 0, .25);
    border-radius: 10px;
    color: #92400E;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
}
.dh-login-hint[hidden] {
    display: none !important;
}
.dh-login-hint.is-critical {
    background: #FEF2F2;
    border-color: #FECACA;
    color: #991B1B;
    font-weight: 700;
}
html[data-theme="dark"] .dh-login-hint {
    background: #2A2110;
    border-color: #78350F;
    color: #FCD34D;
}
html[data-theme="dark"] .dh-login-hint.is-critical {
    background: #2A0F10;
    border-color: #7F1D1D;
    color: #FCA5A5;
}
/* =========================================================
 * 股市行情 · 实时 / 收盘状态标识
 * ========================================================= */
.dh-stock__status {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
    margin-right: 2px;
    letter-spacing: .2px;
}
.dh-stock__status.is-live {
    color: #DC2626;
    animation: dhStockPulse 1.8s ease-in-out infinite;
}
.dh-stock__status:not(.is-live) {
    color: var(--ink-3);
}
/* 休市状态：更弱化的灰色 */
.dh-stock__status.is-closed {
    color: var(--ink-3);
    opacity: .85;
}
.dh-stock__status.is-closed.is-live {
    /* 防御性：两个类同时存在时以 is-live 优先 */
    color: #DC2626;
    opacity: 1;
}
html[data-theme="dark"] .dh-stock__status.is-closed {
    color: var(--ink-3);
    opacity: .85;
}
@keyframes dhStockPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .55; }
}

html[data-theme="dark"] .dh-stock__status.is-live {
    color: #F87171;
}
html[data-theme="dark"] .dh-stock__status:not(.is-live) {
    color: var(--ink-3);
}

@media (max-width: 680px) {
    .dh-stock__status {
        font-size: 10.5px;
    }
}
/* =========================================================
 * 资源详情 · 管理员编辑入口
 * ========================================================= */
.dh-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 24px;
    border: 1px dashed rgba(59, 130, 246, .45);
    background: #EFF6FF;
    color: #2563EB;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
    transition: .25s var(--ease);
}
.dh-edit-link:hover {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
    border-style: solid;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .55);
}
.dh-edit-link:active {
    transform: translateY(0);
}
.dh-edit-link svg {
    flex-shrink: 0;
    display: block;
}

/* 夜间模式 */
html[data-theme="dark"] .dh-edit-link {
    background: #1E2540;
    color: #A5B4FC;
    border-color: rgba(99, 102, 241, .45);
}
html[data-theme="dark"] .dh-edit-link:hover {
    background: #6366F1;
    color: #fff;
    border-color: #6366F1;
    border-style: solid;
}

/* 移动端 */
@media (max-width: 680px) {
    .dh-edit-link {
        padding: 7px 13px;
        font-size: 12px;
    }
}
/* =========================================================
 * 反馈表单 · 右上角关闭按钮
 * ========================================================= */
.dh-feedback__panel {
    position: relative;
    padding-top: 30px;
}

.dh-feedback__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #F4F5F7;
    color: var(--ink-2);
    font-family: inherit;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .25s var(--ease);
    z-index: 2;
    line-height: 1;
}

.dh-feedback__close:hover {
    background: var(--ink);
    color: #fff;
    transform: rotate(90deg);
}
.dh-feedback__close:active {
    transform: rotate(90deg) scale(.94);
}
.dh-feedback__close svg {
    display: block;
}

/* 夜间模式 */
html[data-theme="dark"] .dh-feedback__close {
    background: #262A32;
    color: var(--ink-2);
}
html[data-theme="dark"] .dh-feedback__close:hover {
    background: var(--primary);
    color: #0F1115;
}

/* 移动端 */
@media (max-width: 680px) {
    .dh-feedback__panel {
        padding-top: 28px;
    }
    .dh-feedback__close {
        top: 6px;
        right: 6px;
        width: 24px;
        height: 24px;
    }
    .dh-feedback__close svg {
        width: 10px;
        height: 10px;
    }
}