/* 全站默认 80% 缩放，适配 1080p 屏幕 */
html {
    zoom: 0.8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   DESIGN TOKENS
   TaskHub 统一设计变量
========================= */

:root {
    /* 品牌色 */
    --brand: #6d5dfc;
    --brand-2: #4c8dff;
    --brand-gradient: linear-gradient(135deg, #6d5dfc, #4c8dff);
    --brand-soft: rgba(109, 93, 252, 0.13);
    --brand-border: rgba(109, 93, 252, 0.45);
    --brand-text: #b3a8ff;

    /* 背景 */
    --bg: #080a0f;
    --bg-sidebar: #0c0f15;
    --bg-card: #10131a;
    --bg-input: #0b0e13;
    --bg-hover: #181c24;

    /* 边框 */
    --border: #222731;
    --border-strong: #303641;

    /* 文字 */
    --text: #f5f7fa;
    --text-2: #8b949e;
    --text-3: #666e7b;

    /* 状态色 */
    --success: #83cf91;
    --warning: #d9b66f;
    --danger: #d77d7d;
    --info: #7fa8d9;

    /* 形状 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;

    /* 阴影 */
    --shadow-card: 0 8px 28px rgba(0, 0, 0, 0.35);
    --shadow-btn: 0 4px 14px rgba(109, 93, 252, 0.35);

    /* 字体 */
    --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #080a0f;
    color: #f5f7fa;
    line-height: 1.6;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    border-bottom: 1px solid #1c2029;

    background: rgba(8, 10, 15, 0.92);

    position: sticky;
    top: 0;
    z-index: 100;

    backdrop-filter: blur(20px);
}

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

    font-size: 20px;
    font-weight: 700;
}

.logo-icon {
    width: 36px;
    height: 36px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    color: #080a0f;

    font-weight: 900;
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    color: #9da4b2;
    text-decoration: none;

    font-size: 14px;

    transition: 0.2s;
}

.navbar nav a:hover {
    color: white;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}


/* =========================
   BUTTON
========================= */

.btn {
    border: none;
    cursor: pointer;

    border-radius: 9px;

    padding: 10px 18px;

    font-weight: 600;

    transition: 0.2s;
}

.btn-primary {
    background: white;
    color: #080a0f;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;

    border: 1px solid #303641;

    color: white;
}

.btn-outline:hover {
    background: #151922;
}

.btn-large {
    padding: 14px 25px;
    font-size: 15px;
}


/* =========================
   HERO
========================= */

.hero {
    max-width: 1200px;

    margin: auto;

    padding: 110px 30px;

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 70px;

    align-items: center;
}

.badge {
    display: inline-block;

    padding: 7px 13px;

    border-radius: 30px;

    border: 1px solid #292e38;

    background: #10131a;

    color: #aab2c0;

    font-size: 12px;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 72px);

    line-height: 1.05;

    letter-spacing: -3px;

    margin-bottom: 25px;
}

.hero h1 span {
    color: #9ea7b7;
}

.hero p {
    color: #9299a8;

    max-width: 560px;

    font-size: 17px;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.hero-stats {
    display: flex;

    gap: 50px;

    margin-top: 55px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 22px;
}

.hero-stats span {
    color: #727987;

    font-size: 12px;
}


/* =========================
   HERO CARD
========================= */

.hero-card {
    background: linear-gradient(
        145deg,
        #151922,
        #0c0f15
    );

    border: 1px solid #252a34;

    border-radius: 18px;

    padding: 25px;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.45);
}

.card-header {
    display: flex;

    justify-content: space-between;

    margin-bottom: 25px;

    font-weight: 600;
}

.online {
    color: #8cdb9a;

    font-size: 12px;
}

.task-preview {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 16px 0;

    border-top: 1px solid #242832;
}

.task-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #1b202a;

    border-radius: 12px;

    font-size: 20px;
}

.task-info {
    flex: 1;
}

.task-info h3 {
    font-size: 14px;
}

.task-info p {
    color: #727987;

    font-size: 11px;
}

.reward {
    text-align: right;
}

.reward small {
    display: block;

    color: #727987;

    font-size: 10px;
}

.reward strong {
    font-size: 16px;
}


/* =========================
   TASKS
========================= */

.tasks-section {
    max-width: 1200px;

    margin: auto;

    padding: 80px 30px;
}

.section-title {
    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 35px;
}

.section-label {
    color: #777f8e;

    font-size: 11px;

    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 38px;

    margin-top: 8px;
}

.task-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.task-card {
    background: #10131a;

    border: 1px solid #222731;

    border-radius: 15px;

    padding: 24px;

    transition: 0.2s;
}

.task-card:hover {
    transform: translateY(-5px);

    border-color: #3a414e;
}

.task-top {
    display: flex;

    justify-content: space-between;

    margin-bottom: 25px;
}

.task-category {
    color: #aab2c0;

    font-size: 11px;

    background: #1a1f28;

    padding: 5px 9px;

    border-radius: 5px;
}

.task-status {
    color: #8cdb9a;

    font-size: 11px;
}

.task-card h3 {
    font-size: 19px;

    margin-bottom: 10px;
}

.task-card p {
    color: #7e8695;

    font-size: 13px;

    min-height: 50px;
}

.task-bottom {
    border-top: 1px solid #242832;

    margin-top: 25px;

    padding-top: 18px;

    display: flex;

    align-items: end;

    justify-content: space-between;
}

.task-bottom small {
    display: block;

    color: #6e7582;

    font-size: 10px;
}

.task-bottom strong {
    font-size: 20px;
}

.claim-btn {
    border: 1px solid #353c49;

    background: transparent;

    color: white;

    padding: 8px 13px;

    border-radius: 7px;

    cursor: pointer;
}


/* =========================
   ABOUT
========================= */

.about-section {
    max-width: 1200px;

    margin: auto;

    padding: 60px 30px 120px;
}

.about-box {
    background: #10131a;

    border: 1px solid #222731;

    border-radius: 20px;

    padding: 55px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;
}

.about-box h2 {
    font-size: 35px;

    margin: 10px 0 15px;
}

.about-box p {
    color: #7e8695;
}

.about-features {
    display: grid;

    gap: 20px;
}

.about-features div {
    border-bottom: 1px solid #252a34;

    padding-bottom: 18px;
}

.about-features span {
    color: #6f7785;

    font-size: 12px;

    margin-right: 15px;
}

.about-features strong {
    font-size: 15px;
}

.about-features p {
    margin-left: 35px;

    margin-top: 5px;

    font-size: 12px;
}


/* =========================
   MODAL
========================= */

.modal-overlay {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.75);

    backdrop-filter: blur(10px);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 999;
}

.modal-overlay.active {
    display: flex;
}

.auth-modal {
    width: 420px;

    max-width: 92%;

    background: #11141b;

    border: 1px solid #2b303a;

    border-radius: 18px;

    padding: 35px;

    position: relative;

    box-shadow:
        0 30px 100px rgba(0,0,0,0.6);
}

.close-btn {
    position: absolute;

    right: 18px;
    top: 15px;

    background: none;

    border: none;

    color: #8a92a0;

    font-size: 28px;

    cursor: pointer;
}

.auth-logo {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    font-weight: 700;
}

.auth-modal h2 {
    font-size: 28px;

    margin-bottom: 5px;
}

.auth-subtitle {
    color: #737b89;

    font-size: 13px;

    margin-bottom: 25px;
}

.auth-modal label {
    display: block;

    font-size: 12px;

    color: #9ba2af;

    margin: 15px 0 7px;
}

.auth-modal input {
    width: 100%;

    padding: 13px 14px;

    background: #0b0e13;

    border: 1px solid #2a303a;

    border-radius: 8px;

    color: white;

    outline: none;
}

.auth-modal input:focus {
    border-color: #697282;
}

.auth-submit {
    width: 100%;

    margin-top: 25px;

    padding: 13px;

    background: white;

    color: #080a0f;

    border: none;

    border-radius: 8px;

    font-weight: 700;

    cursor: pointer;
}

.switch-auth {
    text-align: center;

    margin-top: 20px;

    color: #777f8c;

    font-size: 12px;
}

.switch-auth button {
    background: none;

    border: none;

    color: white;

    cursor: pointer;

    font-weight: 600;
}

.auth-message {
    margin-top: 15px;

    font-size: 12px;

    text-align: center;

    color: #aeb5c2;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .navbar {
        padding: 0 20px;
    }

    .navbar nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;

        padding: 70px 20px;

        gap: 40px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-stats {
        gap: 25px;
    }

    .task-grid {
        grid-template-columns: 1fr;
    }

    .tasks-section {
        padding: 60px 20px;
    }

    .section-title {
        align-items: start;

        gap: 20px;

        flex-direction: column;
    }

    .about-section {
        padding: 30px 20px 80px;
    }

    .about-box {
        grid-template-columns: 1fr;

        padding: 30px;

        gap: 40px;
    }

    .nav-buttons .btn-outline {
        display: none;
    }

}
/* ========================================
   DASHBOARD
======================================== */

.dashboard-body {
    min-height: 100vh;
    background: #080a0f;
}


/* SIDEBAR */

.sidebar {
    position: fixed;

    left: 0;
    top: 0;
    bottom: 0;

    width: 240px;

    background: #0c0f15;

    border-right: 1px solid #20252e;

    padding: 25px 18px;

    display: flex;
    flex-direction: column;

    z-index: 100;
}

.dashboard-logo {
    padding: 0 10px;

    margin-bottom: 45px;
}


.side-nav {
    display: flex;

    flex-direction: column;

    gap: 6px;
}


.side-nav a,
.logout-btn {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 12px 14px;

    border-radius: 8px;

    color: #858d9b;

    text-decoration: none;

    font-size: 13px;

    background: transparent;

    border: none;

    cursor: pointer;

    text-align: left;
}


.side-nav a:hover,
.side-nav a.active,
.logout-btn:hover {
    background: #181c24;

    color: white;
}


.side-nav a span,
.logout-btn span {
    width: 18px;

    text-align: center;

    font-size: 16px;
}


.sidebar-bottom {
    margin-top: auto;
}


/* MAIN */

.dashboard-main {
    margin-left: 240px;

    padding: 40px 50px;

    max-width: 1500px;
}


.dashboard-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 35px;
}


.dashboard-header h1 {
    font-size: 32px;

    margin-top: 7px;
}


.user-area {
    display: flex;

    align-items: center;

    gap: 12px;
}


.user-avatar {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #ffffff;

    color: #080a0f;

    display: flex;

    align-items: center;
    justify-content: center;

    font-weight: 800;
}


.user-area strong {
    display: block;

    font-size: 13px;
}


.user-area small {
    display: block;

    color: #6f7784;

    font-size: 11px;

    margin-top: 2px;
}


/* BALANCE */

.balance-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 15px;

    margin-bottom: 50px;
}


.balance-card {
    background: #10131a;

    border: 1px solid #222731;

    border-radius: 14px;

    padding: 25px;
}


.balance-card > span {
    color: #777f8c;

    font-size: 12px;
}


.balance-card strong {
    display: block;

    font-size: 30px;

    margin: 12px 0 5px;
}


.balance-card p {
    color: #626a77;

    font-size: 11px;
}


.main-balance {
    background:
        linear-gradient(
            145deg,
            #171b23,
            #0e1117
        );
}


.balance-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;
}


.balance-icon {
    border: 1px solid #333945;

    padding: 6px 9px;

    border-radius: 6px;

    font-size: 10px !important;

    color: #aab2c0 !important;
}


/* SECTION */

.dashboard-section {
    margin-bottom: 60px;
}


.dashboard-section-title {
    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 22px;
}


.dashboard-section-title h2 {
    font-size: 25px;

    margin-top: 5px;
}


.refresh-btn {
    border: 1px solid #303641;

    background: transparent;

    color: #b1b8c4;

    border-radius: 7px;

    padding: 8px 13px;

    cursor: pointer;
}


/* TASK GRID */

.dashboard-task-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.dashboard-task-card {
    background: #10131a;

    border: 1px solid #222731;

    border-radius: 13px;

    padding: 22px;

    transition: 0.2s;
}


.dashboard-task-card:hover {
    transform: translateY(-3px);

    border-color: #3b424f;
}


.task-card-header {
    display: flex;

    justify-content: space-between;

    margin-bottom: 20px;
}


.dashboard-task-card h3 {
    font-size: 17px;

    margin-bottom: 9px;
}


.dashboard-task-card > p {
    color: #777f8d;

    font-size: 12px;

    min-height: 45px;

    line-height: 1.7;
}


.dashboard-task-info {
    display: flex;

    justify-content: space-between;

    border-top: 1px solid #252a33;

    margin-top: 20px;

    padding-top: 17px;

    margin-bottom: 17px;
}


.dashboard-task-info small {
    display: block;

    color: #666e7b;

    font-size: 10px;
}


.dashboard-task-info strong {
    font-size: 17px;
}


.task-action-btn {
    width: 100%;

    padding: 10px;

    background: white;

    color: #080a0f;

    border: none;

    border-radius: 7px;

    font-weight: 700;

    cursor: pointer;
}


/* MY TASK */

.my-task-tabs {
    display: flex;

    gap: 10px;

    margin-bottom: 16px;

    flex-wrap: wrap;
}


.my-task-tab {
    background: #171b24;

    border: 1px solid #222731;

    color: #8a93a3;

    font-size: 12px;

    font-weight: 600;

    padding: 9px 18px;

    border-radius: 999px;

    cursor: pointer;

    transition: all .25s ease;
}


.my-task-tab:hover {
    color: #e8ecf4;

    border-color: #2c3444;
}


.my-task-tab.active {
    background: linear-gradient(
        135deg,
        #3b82f6,
        #8b5cf6
    );

    border-color: transparent;

    color: #fff;

    box-shadow: 0 4px 14px rgba(99, 102, 241, .35);
}


.my-task-list,
.wallet-box {
    background: #10131a;

    border: 1px solid #222731;

    border-radius: 13px;

    overflow: hidden;
}


.my-task-row {
    display: grid;

    grid-template-columns: 1fr 130px 100px;

    gap: 20px;

    align-items: center;

    padding: 20px;

    border-bottom: 1px solid #222731;
}


.my-task-row:last-child {
    border-bottom: none;
}


.my-task-title strong {
    display: block;

    font-size: 13px;
}


.my-task-title small {
    display: block;

    color: #666e7b;

    font-size: 10px;

    margin-top: 4px;
}


.my-task-row > strong {
    font-size: 14px;
}

.my-task-row.has-actions {
    grid-template-columns: 1fr 250px 100px;
}

.my-task-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.my-task-actions .task-action-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: 12px;
    padding: 9px 10px;
}

.my-task-actions .ht-proof-btn {
    background: rgba(139, 148, 158, 0.16);
    color: #e6e9ef;
    box-shadow: none;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.my-task-actions .ht-proof-btn:hover {
    background: rgba(139, 148, 158, 0.28);
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: none;
}


.status-claimed {
    color: #d9b66f;

    font-size: 11px;
}


.status-submitted {
    color: #7fa8d9;

    font-size: 11px;
}


.status-approved {
    color: #83cf91;

    font-size: 11px;
}


.status-rejected {
    color: #d77d7d;

    font-size: 11px;
}


.status-cancelled {
    color: #777f8c;

    font-size: 11px;
}


/* EMPTY */

.empty-box,
.loading-box {
    padding: 50px;

    text-align: center;

    color: #666e7b;

    font-size: 12px;
}


/* MOBILE */

@media (max-width: 900px) {

    .sidebar {
        width: 70px;

        padding: 20px 10px;
    }


    .dashboard-logo span,
    .side-nav a:not(.active) {
        display: none;
    }


    .side-nav a {
        justify-content: center;
    }


    .side-nav a span {
        margin: 0;
    }


    .logout-btn {
        justify-content: center;
    }


    .dashboard-main {
        margin-left: 70px;

        padding: 30px 20px;
    }


    .balance-grid {
        grid-template-columns: 1fr;

    }


    .dashboard-task-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .dashboard-header {
        align-items: start;

        flex-direction: column;

        gap: 20px;
    }


    .dashboard-header h1 {
        font-size: 25px;
    }


    .my-task-row {
        grid-template-columns: 1fr;

        gap: 8px;
    }

}
/* ========================================
   ADMIN PANEL
======================================== */

.admin-body {
    margin: 0;
    background: #080b12;
    color: #f5f7fb;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}


/* Layout */

.admin-layout {
    display: flex;
    min-height: 100vh;
}


/* Sidebar */

.admin-sidebar {
    width: 250px;
    background: #0d111a;
    border-right: 1px solid rgba(255,255,255,0.07);
    padding: 28px 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
}


.admin-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 30px;
}


.admin-logo .logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg,#6d5dfc,#4c8dff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 800;
}


.admin-logo .logo-text {
    font-size: 20px;
    font-weight: 800;
}


.admin-label {
    margin-top: 3px;
    font-size: 9px;
    color: #7f8a9f;
    letter-spacing: 1.5px;
}


/* Navigation */

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    color: #8e98aa;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    transition: 0.2s;
}


.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(109,93,252,0.13);
    color: #ffffff;
}


.admin-nav-item span {
    width: 20px;
    text-align: center;
}


/* Sidebar bottom */

.admin-sidebar-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.admin-back,
.admin-logout {
    width: 100%;
    padding: 12px;
    border-radius: 9px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.07);
    background: transparent;
    color: #9ba5b7;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}


.admin-back:hover,
.admin-logout:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}


/* 一键锁站（仅特权邮箱可见） */

.admin-lock-btn {
    width: 100%;
    padding: 12px;
    border-radius: 9px;
    text-decoration: none;
    border: 1px solid rgba(250, 204, 21, 0.35);
    background: rgba(250, 204, 21, 0.08);
    color: #facc15;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    font-weight: 600;
    transition: all .2s ease;
}

.admin-lock-btn:hover {
    background: rgba(250, 204, 21, 0.16);
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.25);
    color: #fde68a;
}

.admin-lock-option {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
    box-sizing: border-box;
}

.admin-lock-option:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-1px);
}

.admin-lock-option.on {
    border-color: rgba(74, 222, 128, 0.4);
    background: rgba(74, 222, 128, 0.07);
}


/* Main */

.admin-main {
    margin-left: 250px;
    width: calc(100% - 250px);
    padding: 35px 45px 70px;
    box-sizing: border-box;
}


/* Header */

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 45px;
}


.admin-header h1 {
    margin: 0;
    font-size: 28px;
}


.admin-header p {
    margin: 8px 0 0;
    color: #788398;
}


.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
}


.admin-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #171d2b;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}


.admin-user small {
    color: #707b90;
    font-size: 11px;
}


/* Sections */

.admin-section {
    margin-bottom: 60px;
    display: none; /* 折叠：默认隐藏，由版块切换显示 */
}


.admin-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}


.admin-section-title h2 {
    margin: 0;
    font-size: 21px;
}


.admin-section-title p {
    margin: 6px 0 0;
    color: #707b90;
    font-size: 13px;
}


/* Statistics */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}


.admin-stat-card {
    background: #0e131d;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}


.admin-stat-icon {
    width: 46px;
    height: 46px;
    background: #161c28;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}


.admin-stat-label {
    font-size: 12px;
    color: #737e91;
    margin-bottom: 4px;
}


.admin-stat-value {
    font-size: 25px;
    font-weight: 800;
}


/* Form */

.admin-form-card {
    background: #0e131d;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 28px;
}


.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}


.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.admin-form-group.full {
    grid-column: 1 / -1;
}


.admin-form-group label {
    font-size: 13px;
    color: #a5afbf;
}


.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
    width: 100%;
    box-sizing: border-box;
    background: #090d15;
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    border-radius: 9px;
    padding: 12px 13px;
    outline: none;
    font-size: 14px;
    font-family: inherit;
}


.admin-form-group textarea {
    resize: vertical;
}


.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
    border-color: #6d5dfc;
}


.admin-form-actions {
    margin-top: 25px;
}


.admin-primary-btn {
    border: none;
    border-radius: 9px;
    padding: 13px 20px;
    background: linear-gradient(135deg,#6d5dfc,#4c8dff);
    color: white;
    font-weight: 700;
    cursor: pointer;
}


.admin-primary-btn:hover {
    opacity: 0.9;
}


.admin-primary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Refresh */

.admin-refresh-btn {
    border: 1px solid rgba(255,255,255,0.08);
    background: #111722;
    color: #b9c1cf;
    border-radius: 8px;
    padding: 9px 13px;
    cursor: pointer;
}


/* 审核版块：搜索 + 排序筛选栏 */

.admin-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 18px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}

.admin-filter-input {
    flex: 1 1 220px;
    min-width: 180px;
    background: #0e131d;
    border: 1px solid rgba(255,255,255,0.1);
    color: #e6eaf2;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    outline: none;
    transition: border-color .2s;
}

.admin-filter-input:focus {
    border-color: rgba(59,130,246,0.6);
}

.admin-filter-input::placeholder {
    color: #6b7280;
}

.admin-filter-select {
    background: #0e131d;
    border: 1px solid rgba(255,255,255,0.1);
    color: #c6cdda;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

.admin-filter-select option {
    background: #111722;
    color: #e6eaf2;
}

.admin-filter-count {
    margin-left: auto;
    color: #7c8594;
    font-size: 12px;
    white-space: nowrap;
}


/* Tasks */

.admin-tasks-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.admin-task-card {
    background: #0e131d;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 22px;
}


.admin-task-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}


.admin-task-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 10px;
    margin-bottom: 8px;
}


.status-open {
    background: rgba(47,200,130,0.12);
    color: #48d79a;
}


.status-closed {
    background: rgba(255,90,90,0.12);
    color: #ff7777;
}


.admin-task-card h3 {
    margin: 0;
    font-size: 17px;
}


.admin-task-reward {
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}


.admin-task-description {
    color: #858fa2;
    font-size: 13px;
    line-height: 1.7;
    margin-top: 14px;
    white-space: pre-wrap;
}


.admin-task-info {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #667186;
    font-size: 11px;
}


.admin-task-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}


.admin-small-btn {
    border: 1px solid rgba(255,255,255,0.08);
    background: #141a26;
    color: #b8c0cf;
    border-radius: 7px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
}


.admin-small-btn:hover {
    background: #1a2130;
    color: white;
}


.admin-small-btn.danger:hover {
    background: rgba(255,70,70,0.12);
    color: #ff7777;
}


/* Messages */

.admin-loading,
.admin-empty,
.admin-error {
    background: #0e131d;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 35px;
    text-align: center;
    color: #727d90;
}


.admin-error {
    color: #ff7777;
}


/* Mobile */

@media (max-width: 850px) {

    .admin-sidebar {
        width: 70px;
        padding: 20px 10px;
    }


    .admin-logo {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }


    .admin-logo > div:not(.logo-icon) {
        display: none;
    }


    .admin-nav-item {
        justify-content: center;
        padding: 13px 5px;
    }


    .admin-nav-item {
        font-size: 0;
    }


    .admin-nav-item span {
        font-size: 18px;
    }


    .admin-back,
    .admin-logout {
        font-size: 0;
    }


    .admin-back:first-letter,
    .admin-logout:first-letter {
        font-size: 18px;
    }


    .admin-main {
        margin-left: 70px;
        width: calc(100% - 70px);
        padding: 25px 18px 50px;
    }


    .admin-stats {
        grid-template-columns: 1fr;
    }


    .admin-form-grid {
        grid-template-columns: 1fr;
    }


    .admin-form-group.full {
        grid-column: auto;
    }


    .admin-header {
        align-items: flex-start;
    }


    .admin-user {
        display: none;
    }

}


@media (max-width: 550px) {

    .admin-task-top {
        flex-direction: column;
    }


    .admin-task-reward {
        font-size: 18px;
    }


    .admin-task-actions {
        flex-direction: column;
    }


    .admin-small-btn {
        width: 100%;
    }

}


/* ========================================
   TASKHUB UI POLISH
   统一视觉覆盖层（P0–P4）
   删除本区块（保留顶部 :root 变量块）即可整体回滚
   ======================================== */

/* ---------- 通用按钮 ---------- */

.btn-primary {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(109, 93, 252, 0.45);
}

.btn-outline:hover {
    background: var(--brand-soft);
    border-color: var(--brand-border);
    color: #fff;
}

/* ---------- 落地页品牌化 ---------- */

.logo-icon {
    background: var(--brand-gradient);
    color: #fff;
}

.hero h1 span {
    background: linear-gradient(135deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.badge {
    border-color: var(--brand-border);
    background: var(--brand-soft);
    color: var(--brand-text);
}

.claim-btn {
    transition: 0.2s;
}

.claim-btn:hover {
    background: var(--brand-soft);
    border-color: var(--brand-border);
}

.task-card:hover {
    border-color: var(--brand-border);
    box-shadow: var(--shadow-card);
}

/* ---------- 认证弹窗 ---------- */

.auth-submit {
    background: var(--brand-gradient);
    color: #fff;
    transition: 0.2s;
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-btn);
}

.auth-modal input:focus {
    border-color: var(--brand);
}

.switch-auth button:hover {
    color: var(--brand-text);
}

/* ---------- Dashboard 侧边栏 ---------- */

.side-nav a {
    transition: 0.2s;
}

.side-nav a.active {
    background: var(--brand-soft);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--brand);
}

/* ---------- 余额卡 ---------- */

.balance-card {
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.main-balance {
    background:
        linear-gradient(135deg, rgba(109, 93, 252, 0.30), rgba(76, 141, 255, 0.10)),
        linear-gradient(145deg, #171b23, #0e1117);
    border-color: var(--brand-border);
}

.balance-icon {
    border-color: var(--brand-border);
    background: var(--brand-soft);
    color: var(--brand-text) !important;
}

/* ---------- 状态徽章 pill ---------- */

.status-claimed,
.status-submitted,
.status-approved,
.status-rejected,
.status-cancelled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    width: fit-content;
}

.status-claimed {
    color: #e0b96f;
    background: rgba(217, 182, 111, 0.14);
}

.status-submitted {
    color: #8fb6e8;
    background: rgba(127, 168, 217, 0.14);
}

.status-approved {
    color: var(--success);
    background: rgba(131, 207, 145, 0.14);
}

.status-rejected {
    color: #e58a8a;
    background: rgba(215, 125, 125, 0.14);
}

.status-cancelled {
    color: var(--text-2);
    background: rgba(139, 148, 158, 0.14);
}

/* ---------- 任务操作按钮 ---------- */

.task-action-btn {
    background: var(--brand-gradient);
    color: #fff;
    border-radius: 8px;
    transition: 0.2s;
    box-shadow: 0 3px 10px rgba(109, 93, 252, 0.25);
}

.task-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(109, 93, 252, 0.40);
}

.task-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ---------- 刷新按钮 ---------- */

.refresh-btn {
    transition: 0.2s;
}

.refresh-btn:hover {
    border-color: var(--brand-border);
    background: var(--brand-soft);
    color: #fff;
}

/* ---------- 任务卡 hover ---------- */

.dashboard-task-card:hover {
    border-color: var(--brand-border);
    box-shadow: var(--shadow-card);
}

/* ---------- Admin 字体与统计卡 ---------- */

.admin-body {
    font-family: var(--font);
}

.admin-stat-card {
    transition: 0.2s;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(109, 93, 252, 0.35);
}

/* ---------- 移动端汉堡按钮（dashboard） ---------- */

.sidebar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    color: var(--text);
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 16px;
}

/* ---------- 落地页移动端菜单 ---------- */

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-strong);
    color: #fff;
    border-radius: 9px;
    font-size: 18px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
}

@media (max-width: 800px) {

    .nav-toggle {
        display: flex;
    }

    .mobile-nav {
        display: none;
        flex-direction: column;
        gap: 4px;
        padding: 14px 20px 18px;
        background: rgba(8, 10, 15, 0.97);
        border-bottom: 1px solid #1c2029;
    }

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav a {
        color: #9da4b2;
        text-decoration: none;
        padding: 12px 4px;
        font-size: 14px;
        border-bottom: 1px solid #1a1e27;
    }

    .mobile-nav a:hover {
        color: #fff;
    }

    .mobile-nav-buttons {
        display: flex;
        gap: 10px;
        margin-top: 14px;
    }

    .mobile-nav-buttons .btn {
        flex: 1;
    }

}

/* ---------- 响应式：平板 2 列 ---------- */

@media (max-width: 900px) and (min-width: 601px) {

    .dashboard-task-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .task-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .balance-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-balance {
        grid-column: 1 / -1;
    }

}

/* ---------- 响应式：手机抽屉导航 ---------- */

@media (max-width: 600px) {

    .sidebar-toggle {
        display: flex;
    }

    .sidebar {
        width: 240px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        padding: 25px 18px;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
        z-index: 200;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar .dashboard-logo span {
        display: inline;
    }

    .sidebar .side-nav a {
        display: flex;
        justify-content: flex-start;
    }

    .sidebar .side-nav a:not(.active) {
        display: flex;
    }

    .sidebar .side-nav a span {
        margin: 0;
    }

    .sidebar .logout-btn {
        justify-content: flex-start;
    }

    .dashboard-main {
        margin-left: 0;
        padding: 20px 16px;
    }

    .dashboard-header {
        padding: 0;
    }

}


/* ========================================
   I18N - 语言切换按钮 + 认证弹窗滚动适配
   ======================================== */

.lang-btn {
    min-width: 46px;
    height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #2a303a;
    background: rgba(109, 93, 252, 0.10);
    color: #b3a8ff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.lang-btn:hover {
    background: rgba(109, 93, 252, 0.22);
    border-color: #6d5dfc;
    color: #ffffff;
}

/* 认证弹窗在窄屏/多字段时允许滚动 */
.auth-modal {
    max-height: 92vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

@media (max-width: 640px) {
    .auth-modal {
        margin: 16px;
        max-height: 88vh;
    }
}


/* ========================================
   SUBMIT TASK MODAL - 美化覆盖层
   覆盖：#submitTaskModal 弹窗样式
   删除本块即可回滚到原弹窗样式
   ======================================== */

#submitTaskModal .modal-box {
    width: 460px;
    max-width: 92%;
    background: #11141b;
    border: 1px solid #2b303a;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    animation: taskhub-modal-in 0.22s ease-out;
}

@keyframes taskhub-modal-in {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

#submitTaskModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px 16px;
    border-bottom: 1px solid #1d222c;
}

#submitTaskModal .modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

#submitTaskModal .modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #2a303a;
    background: rgba(255, 255, 255, 0.04);
    color: #8a92a0;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#submitTaskModal .modal-close:hover {
    background: rgba(255, 82, 82, 0.12);
    border-color: rgba(255, 82, 82, 0.4);
    color: #ff6b6b;
}

#submitTaskModal .modal-body {
    padding: 24px 26px 28px;
}

#submitTaskName {
    margin: 0 0 22px;
    padding: 12px 16px;
    background: rgba(109, 93, 252, 0.08);
    border: 1px solid rgba(109, 93, 252, 0.25);
    border-radius: 12px;
    color: #b3a8ff;
    font-size: 13px;
    font-weight: 600;
}

#submitTaskModal .modal-body label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #9ba2af;
}

#submitTaskModal .modal-body input[type="file"] {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    margin-bottom: 20px;
    background: #0b0e13;
    border: 1px dashed #2f3642;
    border-radius: 12px;
    color: #8a92a0;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

#submitTaskModal .modal-body input[type="file"]:hover {
    border-color: #6d5dfc;
}

#submitTaskModal .modal-body textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    margin-bottom: 24px;
    background: #0b0e13;
    border: 1px solid #2a303a;
    border-radius: 12px;
    color: #f5f7fa;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

#submitTaskModal .modal-body textarea:focus {
    border-color: #6d5dfc;
    box-shadow: 0 0 0 3px rgba(109, 93, 252, 0.15);
}

#submitTaskModal .modal-body textarea::placeholder {
    color: #5c6470;
}

#submitTaskModal .modal-box .task-action-btn {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #6d5dfc, #4c8dff);
    color: #ffffff;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

#submitTaskModal .modal-box .task-action-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(109, 93, 252, 0.40);
}

#submitTaskModal .modal-box .task-action-btn:active {
    transform: scale(0.98);
}

#submitTaskModal .modal-box .task-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 520px) {
    #submitTaskModal .modal-box {
        max-height: 88vh;
        overflow-y: auto;
    }
}


/* ========================================
   SIDEBAR - 美化覆盖层
   覆盖：左侧导航栏视觉
   删除本块即可回滚
   ======================================== */

.sidebar {
    background: linear-gradient(180deg, #0d1017 0%, #0a0d13 100%);
}

.dashboard-logo {
    margin-bottom: 34px;
}

.dashboard-logo .logo-icon {
    background: linear-gradient(135deg, #6d5dfc, #4c8dff);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(109, 93, 252, 0.35);
}

.side-nav {
    gap: 4px;
}

.side-nav a,
.logout-btn {
    border-radius: 10px;
    transition: background 0.18s ease, color 0.18s ease;
    font-weight: 500;
}

.side-nav a span,
.logout-btn span {
    font-size: 15px;
}

.side-nav a:hover,
.logout-btn:hover {
    background: rgba(109, 93, 252, 0.12);
    color: #ffffff;
}

.side-nav a.active {
    background: linear-gradient(90deg, rgba(109, 93, 252, 0.22), rgba(76, 141, 255, 0.08));
    color: #ffffff;
    box-shadow: inset 3px 0 0 #6d5dfc;
    font-weight: 600;
}

.side-nav a.active span:first-child {
    color: #b3a8ff;
}

/* 管理员入口：显示时与普通导航项区分 */
.admin-nav-link {
    margin-top: 8px;
    border-top: 1px solid #1d222c;
    border-radius: 0;
    padding-top: 14px;
}

.admin-nav-link span:first-child {
    color: #b3a8ff;
}

.admin-nav-link:hover {
    background: rgba(109, 93, 252, 0.16);
}

.logout-btn:hover {
    background: rgba(255, 82, 82, 0.12);
}

.logout-btn:hover span:first-child {
    color: #ff6b6b;
}


/* ========================================
   NAV-TEXT 修复 - 导航文字横排
   覆盖任何使导航文字竖排的来源
   删除本块即可回滚
   ======================================== */

.side-nav a .nav-text {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap !important;
    text-align: left !important;
    vertical-align: middle;
}


/* ========================================
   ADMIN USER BAR - 审核卡片用户信息条
   删除本块即可回滚
   ======================================== */

.admin-user-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: rgba(109, 93, 252, 0.07);
    border: 1px solid rgba(109, 93, 252, 0.22);
    border-radius: 14px;
}

.admin-user-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #6d5dfc, #4c8dff);
    box-shadow: 0 4px 12px rgba(109, 93, 252, 0.35);
}

.admin-user-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-user-line {
    font-size: 13px;
    color: #9ba2af;
}

.admin-user-line strong {
    color: #f5f7fa;
    font-weight: 600;
    margin-left: 4px;
}


/* ========================================
   WALLET 交易记录 - 美化覆盖层
   覆盖：#wallet 记录列表排版
   删除本块即可回滚
   ======================================== */

.wallet-box {
    border-radius: 16px;
    border: 1px solid #222a36;
    background: #10131a;
    overflow: hidden;
}

.wallet-transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    border-bottom: 1px solid #1c212b;
    transition: background 0.15s ease;
}

.wallet-transaction-item:last-child {
    border-bottom: none;
}

.wallet-transaction-item:hover {
    background: rgba(109, 93, 252, 0.05);
}

.wallet-transaction-item > div:first-child {
    min-width: 0;
    flex: 1;
}

.wallet-transaction-item > div:first-child strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #f5f7fa;
}

.wallet-transaction-item p {
    margin: 5px 0 0;
    font-size: 12px;
    color: #8a92a0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 520px;
}

.wallet-transaction-item small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #5c6470;
}

.wallet-transaction-amount {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.wallet-transaction-amount.income {
    color: #83cf91;
}

.wallet-transaction-amount.expense {
    color: #e58a8a;
}


/* ========================================
   FAQ 常见问题 - 手风琴
   用于 index.html 与 dashboard.html
   删除本块即可回滚
   ======================================== */

.faq-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px 30px;
}

.faq-section .dashboard-section-title {
    margin-bottom: 8px;
}

.faq-subtitle {
    margin: 6px 0 28px;
    font-size: 13px;
    color: #8a92a0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid #222a36;
    border-radius: 14px;
    background: #10131a;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item.open {
    border-color: rgba(109, 93, 252, 0.45);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: 0;
    color: #e8ecf2;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.faq-q:hover {
    color: #ffffff;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(109, 93, 252, 0.12);
    color: #b3a8ff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-a p {
    margin: 0;
    padding: 0 20px 18px;
    color: #9ba2af;
    font-size: 13px;
    line-height: 1.75;
}

.faq-item.open .faq-a {
    max-height: 340px;
}


/* ========================================
   可领取任务 - 更多任务按钮
   删除本块即可回滚
   ======================================== */

.more-tasks-btn {
    text-decoration: none;
    margin-left: 8px;
    color: #c6ccd6;
}

.more-tasks-btn:hover {
    color: #ffffff;
    border-color: rgba(109, 93, 252, 0.55);
    background: rgba(109, 93, 252, 0.08);
}

.more-tasks-btn span:last-child {
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.more-tasks-btn:hover span:last-child {
    transform: translateX(3px);
}


/* ========================================
   HomeTask 风格任务卡片
   用于 tasks.html / dashboard.html 任务卡
   删除本块即可回滚
   ======================================== */

.ht-task-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ht-card-media {
    position: relative;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    background: #141a26;
}

.ht-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ht-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    background: linear-gradient(135deg, #171d2b, #232b3d);
    color: #3a4356;
}

.ht-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.ht-badge-recruiting {
    background: rgba(34, 197, 94, 0.16);
    color: #4ade80;
}

.ht-badge-limited {
    background: rgba(251, 191, 36, 0.16);
    color: #fbbf24;
}

.ht-badge-ended {
    background: rgba(148, 163, 184, 0.18);
    color: #94a3b8;
}

.ht-deadline {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(8, 10, 14, 0.55);
    color: #dbe1ea;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.ht-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 16px 16px;
}

.ht-card-body h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #f0f3f8;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ht-card-desc {
    margin: 0 0 10px;
    font-size: 12px;
    color: #8a92a0;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ht-reward {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.ht-reward small {
    margin-left: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #8a92a0;
}

.ht-slots {
    margin: 6px 0 14px;
    font-size: 12px;
    color: #9aa1ad;
}

.ht-slots strong {
    color: #cdd3dc;
    font-weight: 700;
}

.ht-card-body .task-action-btn {
    margin-top: auto;
    width: 100%;
}

.ht-card-body .task-action-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* 任务图片上传（admin 表单） */

.task-image-uploader {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-image-btn {
    padding: 9px 16px;
    font-size: 13px;
}

.admin-image-name {
    font-size: 12px;
    color: #8a92a0;
    word-break: break-all;
}

.admin-image-remove {
    width: 26px;
    height: 26px;
    border: 1px solid #333c4b;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #e07a7a;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.admin-image-remove:hover {
    border-color: #e07a7a;
}

.task-image-preview {
    margin-top: 10px;
    max-width: 240px;
    max-height: 150px;
    border-radius: 10px;
    border: 1px solid #2a303a;
    object-fit: cover;
}


/* ================= TaskHub Footer + 联系客服悬浮按钮（新增区块，删除本区块即可回滚） ================= */
.site-footer {
    margin-top: 64px;
    padding: 32px 28px 24px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(109, 93, 252, 0.05));
}
.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--brand-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(109, 93, 252, 0.4);
}
.footer-brand-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.2px;
}
.footer-copy {
    font-size: 12px;
    color: var(--text-3);
    letter-spacing: 0.3px;
}

/* 联系客服悬浮按钮（半透明玻璃质感） */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: var(--radius-full);
    background: rgba(37, 211, 102, 0.16);
    border: 1px solid rgba(37, 211, 102, 0.38);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #eafff2;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.wa-float svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.wa-float:hover {
    background: rgba(37, 211, 102, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
@media (max-width: 640px) {
    .wa-float { right: 14px; bottom: 14px; padding: 11px 14px; font-size: 13px; }
}


/* ================= Dashboard Liquid Glass（iOS 26 风格，新增区块，删除本区块即可回滚） ================= */

/* 1. 页面背景：彩色光斑 + 深色底（光斑即玻璃背后的光源） */
body.dashboard-body {
    background:
        radial-gradient(1100px 620px at 88% -12%, rgba(109, 93, 252, 0.34), transparent 62%),
        radial-gradient(900px 540px at -8% 26%, rgba(76, 141, 255, 0.26), transparent 60%),
        radial-gradient(860px 620px at 55% 112%, rgba(38, 188, 255, 0.20), transparent 62%),
        radial-gradient(700px 480px at 30% -8%, rgba(255, 120, 200, 0.10), transparent 60%),
        #07090f;
    background-attachment: fixed;
}

/* 2. 侧边栏玻璃 */
body.dashboard-body .sidebar {
    background: rgba(13, 16, 23, 0.10);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

/* 3. 导航项：胶囊 hover + 玻璃 active */
body.dashboard-body .side-nav a,
body.dashboard-body .sidebar-bottom a {
    border-radius: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}
body.dashboard-body .side-nav a:hover,
body.dashboard-body .sidebar-bottom a:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(2px);
}
body.dashboard-body .side-nav a.active {
    background: linear-gradient(135deg, rgba(109, 93, 252, 0.55), rgba(76, 141, 255, 0.45));
    box-shadow: 0 6px 18px rgba(109, 93, 252, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* 4. 顶栏玻璃条 */
body.dashboard-body .dashboard-header {
    background: rgba(13, 16, 23, 0.5);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

/* 5. 玻璃卡片通用（内高光 + 大圆角 + 柔和大阴影） */
body.dashboard-body .balance-card,
body.dashboard-body .dashboard-task-card.ht-task-card,
body.dashboard-body .wallet-box,
body.dashboard-body .withdraw-card,
body.dashboard-body .withdraw-info-card,
body.dashboard-body .withdraw-history-card,
body.dashboard-body .my-task-row,
body.dashboard-body .empty-box,
body.dashboard-body .loading-box {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035) 55%, rgba(255, 255, 255, 0.07));
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 24px;
    backdrop-filter: blur(20px) saturate(1.55);
    -webkit-backdrop-filter: blur(20px) saturate(1.55);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

/* 主余额卡：更亮的渐变玻璃，突出层级 */
body.dashboard-body .balance-card.main-balance {
    background: linear-gradient(150deg, rgba(109, 93, 252, 0.42), rgba(76, 141, 255, 0.30) 45%, rgba(38, 188, 255, 0.22));
    border-color: rgba(255, 255, 255, 0.22);
}

/* 任务卡图片：圆角融进玻璃 */
body.dashboard-body .ht-card-media {
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

/* 6. 钱包 / 我的任务列表行 */
body.dashboard-body .wallet-transaction-item {
    border-radius: 16px;
    transition: background 0.2s ease;
}
body.dashboard-body .wallet-transaction-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* 7. 输入框玻璃 */
body.dashboard-body .withdraw-input-wrap input,
body.dashboard-body .withdraw-input-wrap select,
body.dashboard-body .withdraw-input-wrap textarea {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease, background 0.2s ease;
}
body.dashboard-body .withdraw-input-wrap input:focus,
body.dashboard-body .withdraw-input-wrap select:focus,
body.dashboard-body .withdraw-input-wrap textarea:focus {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(140, 130, 255, 0.65);
    outline: none;
}

/* 8. 按钮玻璃胶囊 */
body.dashboard-body .task-action-btn,
body.dashboard-body .withdraw-submit-btn,
body.dashboard-body .refresh-btn,
body.dashboard-body .logout-btn {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
body.dashboard-body .task-action-btn:hover,
body.dashboard-body .withdraw-submit-btn:hover,
body.dashboard-body .refresh-btn:hover,
body.dashboard-body .logout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
body.dashboard-body .withdraw-submit-btn,
body.dashboard-body .task-action-btn {
    background: linear-gradient(135deg, rgba(109, 93, 252, 0.85), rgba(76, 141, 255, 0.8));
}

/* 9. 语言按钮 / 头像微调 */
body.dashboard-body .lang-btn,
body.dashboard-body .user-avatar {
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* 10. 移动端：背景光斑简化避免渲染卡顿 */
@media (max-width: 768px) {
    body.dashboard-body {
        background:
            radial-gradient(600px 420px at 90% -8%, rgba(109, 93, 252, 0.30), transparent 62%),
            radial-gradient(560px 400px at -6% 30%, rgba(76, 141, 255, 0.22), transparent 60%),
            #07090f;
        background-attachment: scroll;
    }
}


/* ================= Dashboard 弱文字对比度提升（新增区块，删除本区块即可回滚） ================= */
body.dashboard-body .section-label {
    color: #bcc9de;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
body.dashboard-body .balance-card > span {
    color: #aab7cc;
}
body.dashboard-body .balance-card p {
    color: #8b98ad;
}
body.dashboard-body .wallet-transaction-item p {
    color: #9dabc0;
}
body.dashboard-body .wallet-transaction-item small {
    color: #8391a6;
}
body.dashboard-body .ht-slots {
    color: #aab7cc;
}
body.dashboard-body .empty-box,
body.dashboard-body .loading-box {
    color: #b6c3d8;
}
body.dashboard-body .withdraw-info-item strong {
    color: #dde3ee;
}
body.dashboard-body .withdraw-info-item p {
    color: #97a5ba;
}
body.dashboard-body .withdraw-form-group label {
    color: #cdd8ea;
}
body.dashboard-body .withdraw-form-group small {
    color: #8f9db2;
}
body.dashboard-body .my-task-row small,
body.dashboard-body .my-task-row p {
    color: #97a5ba;
}


/* ================= Dashboard 弱文字对比度提升（新增区块，删除本区块即可回滚） ================= */
body.dashboard-body .section-label {
    color: #bcc9de;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
body.dashboard-body .balance-card > span {
    color: #aab7cc;
}
body.dashboard-body .balance-card p {
    color: #8b98ad;
}
body.dashboard-body .wallet-transaction-item p {
    color: #9dabc0;
}
body.dashboard-body .wallet-transaction-item small {
    color: #8391a6;
}
body.dashboard-body .ht-slots {
    color: #aab7cc;
}
body.dashboard-body .empty-box,
body.dashboard-body .loading-box {
    color: #b6c3d8;
}
body.dashboard-body .withdraw-info-item strong {
    color: #dde3ee;
}
body.dashboard-body .withdraw-info-item p {
    color: #97a5ba;
}
body.dashboard-body .withdraw-form-group label {
    color: #cdd8ea;
}
body.dashboard-body .withdraw-form-group small {
    color: #8f9db2;
}
body.dashboard-body .my-task-row small,
body.dashboard-body .my-task-row p {
    color: #97a5ba;
}


/* ================= Index 落地页重设计（质感版，新增区块，删除本区块即可回滚） ================= */

/* ---- 内容层浮于光斑之上 ---- */
/* ---- 背景光斑 + 网格 ---- */
.index-body .site-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(950px 520px at 80% -12%, rgba(109, 93, 252, 0.32), transparent 62%),
        radial-gradient(820px 500px at -8% 34%, rgba(76, 141, 255, 0.18), transparent 60%),
        radial-gradient(720px 480px at 108% 80%, rgba(38, 188, 255, 0.13), transparent 62%),
        radial-gradient(640px 420px at 30% 108%, rgba(255, 120, 200, 0.07), transparent 60%);
}
.index-body .site-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.030) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.030) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 95% 65% at 50% 0%, #000 25%, transparent 74%);
    mask-image: radial-gradient(ellipse 95% 65% at 50% 0%, #000 25%, transparent 74%);
}

/* ---- 导航栏玻璃 ---- */
.index-body .navbar {
    background: rgba(10, 12, 18, 0.55);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.index-body .navbar nav a {
    color: #b8c2d4;
    font-weight: 500;
    transition: color 0.2s ease;
}
.index-body .navbar nav a:hover {
    color: #f2f5fa;
}

/* ---- 按钮质感 ---- */
.index-body .btn {
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.index-body .btn-primary {
    background: linear-gradient(135deg, #6d5dfc, #4c8dff);
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow: 0 10px 30px rgba(109, 93, 252, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    position: relative;
    overflow: hidden;
}
.index-body .btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-20deg);
    animation: indexBtnShine 3.6s ease-in-out infinite;
}
@keyframes indexBtnShine {
    0%, 55% { left: -70%; }
    88%, 100% { left: 150%; }
}
.index-body .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(109, 93, 252, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.index-body .btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.17);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #dde4f0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.index-body .btn-outline:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.26);
}

/* ---- Hero 排版与文字质感 ---- */
.index-body .badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #cfd8e8;
    font-size: 12.5px;
    letter-spacing: 1.5px;
    padding: 9px 18px;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.index-body .hero h1 {
    letter-spacing: -2.5px;
    margin-bottom: 26px;
}
.index-body .hero h1 span:first-child {
    color: #f2f5fa;
    -webkit-text-fill-color: #f2f5fa;
}
.index-body .hero h1 span:last-child {
    background: linear-gradient(115deg, #c4b5fd 0%, #8b7bff 38%, #5e8bff 72%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 34px rgba(109, 93, 252, 0.40));
}
.index-body .hero p {
    color: #a5b0c4;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.2px;
}
.index-body .hero-stats {
    gap: 14px;
}
.index-body .hero-stats div {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 15px 22px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background 0.2s ease;
}
.index-body .hero-stats div:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}
.index-body .hero-stats strong {
    font-size: 27px;
    background: linear-gradient(135deg, #f5f7fa, #b3a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.index-body .hero-stats span {
    color: #8fa0b8;
    font-size: 12.5px;
    letter-spacing: 0.5px;
}

/* ---- Hero 玻璃卡片 ---- */
.index-body .hero-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035) 55%, rgba(255, 255, 255, 0.065));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    padding: 26px;
}
.index-body .hero-card .card-header {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    font-weight: 700;
    letter-spacing: 0.3px;
}
.index-body .hero-card .card-header .online {
    background: rgba(46, 196, 110, 0.16);
    border: 1px solid rgba(46, 196, 110, 0.35);
    color: #7fe0a4;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
}
.index-body .task-preview {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 13px 14px;
    margin-top: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}
.index-body .task-preview:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-2px);
}
.index-body .task-preview .task-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(109, 93, 252, 0.55), rgba(76, 141, 255, 0.42));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 16px rgba(109, 93, 252, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.index-body .task-preview .task-info h3 {
    font-size: 15px;
    font-weight: 650;
    color: #f0f4fa;
}
.index-body .task-preview .task-info p {
    color: #94a2b8;
    font-size: 12.5px;
    margin-top: 3px;
}
.index-body .task-preview .reward {
    text-align: right;
}
.index-body .task-preview .reward small {
    color: #7f8ea6;
    font-size: 11px;
}
.index-body .task-preview .reward strong {
    font-size: 17px;
    background: linear-gradient(135deg, #c4b5fd, #8fd0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ---- 热门任务卡片 ---- */
.index-body .tasks-section {
    padding-top: 70px;
}
.index-body .section-title h2 {
    font-size: 30px;
    letter-spacing: -0.5px;
}
.index-body .section-label {
    color: #bcc9de;
}
.index-body .task-card {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03) 60%, rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.13);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.index-body .task-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 75px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.17);
}
.index-body .task-card .task-category {
    background: rgba(109, 93, 252, 0.16);
    border: 1px solid rgba(140, 130, 255, 0.30);
    color: #c3b8ff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 11px;
    letter-spacing: 0.8px;
}
.index-body .task-card .task-status {
    background: rgba(46, 196, 110, 0.15);
    border: 1px solid rgba(46, 196, 110, 0.32);
    color: #7fe0a4;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 11px;
}
.index-body .task-card h3 {
    font-size: 19px;
    letter-spacing: -0.2px;
}
.index-body .task-card p {
    color: #98a5ba;
    line-height: 1.65;
}
.index-body .task-card .task-bottom strong {
    font-size: 20px;
    background: linear-gradient(135deg, #c4b5fd, #8fd0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.index-body .task-card .claim-btn {
    background: linear-gradient(135deg, rgba(109, 93, 252, 0.9), rgba(76, 141, 255, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(109, 93, 252, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.index-body .task-card .claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(109, 93, 252, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ---- 关于我们 ---- */
.index-body .about-box {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.13);
    padding: 34px;
}
.index-body .about-box h2 {
    font-size: 30px;
}
.index-body .about-box > div:first-child > p {
    color: #98a5ba;
    line-height: 1.75;
}
.index-body .about-features div {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    padding: 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background 0.2s ease;
}
.index-body .about-features div:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}
.index-body .about-features div span {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #c4b5fd, #6d5dfc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.index-body .about-features strong {
    color: #f0f4fa;
}
.index-body .about-features p {
    color: #8f9db2;
}

/* ---- FAQ 玻璃手风琴 ---- */
.index-body .faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.index-body .faq-item:hover {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.18);
}
.index-body .faq-q {
    font-weight: 600;
    color: #e6ebf4;
}
.index-body .faq-a p {
    color: #a0adc2;
    line-height: 1.7;
}

/* ---- 登录/注册弹窗玻璃 ---- */
.index-body .auth-modal {
    background: rgba(16, 19, 26, 0.97);
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.index-body .auth-modal input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.index-body .auth-modal input:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(140, 130, 255, 0.6);
}

/* ---- 移动端适配 ---- */
@media (max-width: 768px) {
    .index-body .hero {
        padding: 70px 22px;
        gap: 40px;
    }
    .index-body .hero h1 {
        letter-spacing: -1.5px;
    }
    .index-body .hero p {
        font-size: 16px;
        line-height: 1.7;
    }
    .index-body .hero-stats {
        gap: 10px;
    }
    .index-body .hero-stats div {
        padding: 12px 16px;
    }
    .index-body .about-box {
        padding: 24px;
    }
}


/* ================= Index 质感强化 V2（新增区块，删除本区块即可回滚） ================= */

/* 背景光斑缓慢呼吸，让玻璃背后的光"活"起来 */
.index-body .site-glow {
    animation: indexGlowBreath 10s ease-in-out infinite;
}
@keyframes indexGlowBreath {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Logo 发光 */
.index-body .navbar .logo-icon {
    box-shadow: 0 0 22px rgba(109, 93, 252, 0.55), 0 4px 14px rgba(109, 93, 252, 0.35);
}

/* 导航链接：hover 渐变下滑线 */
.index-body .navbar nav a {
    position: relative;
}
.index-body .navbar nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #8b7bff, #5e8bff);
    transform: translateX(-50%);
    transition: width 0.25s ease;
}
.index-body .navbar nav a:hover::after {
    width: 100%;
}

/* Badge：状态绿点脉冲 */
.index-body .badge {
    position: relative;
    padding-left: 26px;
}
.index-body .badge::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
    animation: indexDotPulse 2.2s ease-in-out infinite;
}
@keyframes indexDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.78); }
}

/* Hero 标题：渐变上方加一层顶部高光，模拟玻璃折射 */
.index-body .hero h1 span:last-child {
    position: relative;
    display: inline-block;
}
.index-body .hero h1 span:last-child::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 8%;
    height: 34%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
    border-radius: 4px;
    pointer-events: none;
}

/* 主按钮：hover 光晕扩散 + 内光加强 */
.index-body .btn-primary {
    position: relative;
}
.index-body .btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 180% at 50% 0%, rgba(255, 255, 255, 0.35), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.index-body .btn-primary:hover::before {
    opacity: 1;
}

/* Hero 卡片：顶部渐变反光条 */
.index-body .hero-card {
    position: relative;
    overflow: hidden;
}
.index-body .hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    pointer-events: none;
}
.index-body .hero-card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -20%;
    width: 70%;
    height: 90%;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.10) 48%, rgba(255, 255, 255, 0.20) 52%, transparent 70%);
    transform: rotate(8deg);
    pointer-events: none;
    animation: indexCardShine 7s ease-in-out infinite;
}
@keyframes indexCardShine {
    0%, 60% { transform: translateX(-40%) rotate(8deg); }
    90%, 100% { transform: translateX(320%) rotate(8deg); }
}

/* 任务预览：图标彩色发光 */
.index-body .task-preview .task-icon {
    position: relative;
    z-index: 1;
}
.index-body .task-preview {
    position: relative;
}

/* Online 徽章脉冲 */
.index-body .hero-card .card-header .online {
    position: relative;
}
.index-body .hero-card .card-header .online::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.55);
    animation: indexOnlineRing 2.4s ease-out infinite;
}
@keyframes indexOnlineRing {
    0% { transform: scale(0.92); opacity: 0.9; }
    80%, 100% { transform: scale(1.18); opacity: 0; }
}

/* 热门任务标题渐变点缀 */
.index-body .section-title h2 {
    background: linear-gradient(120deg, #f5f7fa 20%, #c4b5fd 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* 任务卡：图片区顶部高光 */
.index-body .task-card {
    position: relative;
    overflow: hidden;
}
.index-body .task-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    z-index: 2;
}

/* FAQ 展开图标旋转动效 */
.index-body .faq-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}
.index-body .faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* 关于步骤序号：hover 发光 */
.index-body .about-features div {
    position: relative;
}
.index-body .about-features div:hover span {
    text-shadow: 0 0 18px rgba(139, 123, 255, 0.8);
}

/* 页脚：顶部品牌渐变细线 */
.index-body .site-footer {
    border-top: 1px solid transparent;
    background: linear-gradient(180deg, transparent, rgba(109, 93, 252, 0.05));
}
.index-body .site-footer::before {
    content: "";
    display: block;
    height: 1px;
    margin: -32px 0 0;
    background: linear-gradient(90deg, transparent, rgba(139, 123, 255, 0.5), transparent);
}


/* ================= 全站质感统一：tasks / admin 对齐 index（新增区块，删除本区块即可回滚） ================= */

/* ---- 1. 背景光斑（与 index 同语言） ---- */
body.tasks-body,
body.admin-body {
    background:
        radial-gradient(1000px 560px at 85% -12%, rgba(109, 93, 252, 0.30), transparent 62%),
        radial-gradient(820px 500px at -8% 30%, rgba(76, 141, 255, 0.20), transparent 60%),
        radial-gradient(720px 480px at 105% 85%, rgba(38, 188, 255, 0.13), transparent 62%),
        radial-gradient(640px 420px at 35% 110%, rgba(255, 120, 200, 0.06), transparent 60%),
        var(--bg) !important;
    background-attachment: fixed;
}

/* ---- 2. 头部玻璃条 ---- */
body.tasks-body .tasks-header,
body.admin-body .admin-header {
    background: rgba(13, 16, 23, 0.55);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

/* ---- 3. admin 侧边栏玻璃 ---- */
body.admin-body .admin-sidebar {
    background: rgba(13, 16, 23, 0.72);
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}
body.admin-body .admin-nav-item {
    border-radius: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}
body.admin-body .admin-nav-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(2px);
}
body.admin-body .admin-nav-item.active {
    background: linear-gradient(135deg, rgba(109, 93, 252, 0.55), rgba(76, 141, 255, 0.45));
    box-shadow: 0 6px 18px rgba(109, 93, 252, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
body.admin-body .admin-back,
body.admin-body .admin-logout {
    border-radius: 12px;
    transition: background 0.2s ease;
}
body.admin-body .admin-back:hover,
body.admin-body .admin-logout:hover {
    background: rgba(255, 255, 255, 0.07);
}

/* ---- 4. 玻璃卡片通用 ---- */
body.tasks-body .dashboard-task-card.ht-task-card,
body.tasks-body .empty-box,
body.tasks-body .loading-box,
body.admin-body .admin-form-card,
body.admin-body .admin-tasks-container,
body.admin-body .admin-task-card.admin-review-card,
body.admin-body .empty-box,
body.admin-body .loading-box {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035) 55%, rgba(255, 255, 255, 0.07));
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

/* 任务卡图片圆角融入玻璃 */
body.tasks-body .ht-card-media {
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

/* admin 统计卡：高质感实色玻璃（不依赖模糊，任何环境稳定渲染） */
body.admin-body .admin-stat-card {
    background: linear-gradient(165deg, rgba(31, 36, 47, 0.94), rgba(19, 23, 32, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* admin 统计卡图标 */
body.admin-body .admin-stat-icon {
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px rgba(109, 93, 252, 0.2);
}

/* ---- 5. 按钮玻璃胶囊 ---- */
body.tasks-body .task-action-btn,
body.tasks-body .tasks-back-btn,
body.tasks-body .tasks-logout-btn,
body.admin-body .admin-primary-btn,
body.admin-body .admin-btn {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.tasks-body .task-action-btn:hover,
body.tasks-body .tasks-back-btn:hover,
body.tasks-body .tasks-logout-btn:hover,
body.admin-body .admin-primary-btn:hover,
body.admin-body .admin-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
body.tasks-body .task-action-btn,
body.admin-body .admin-primary-btn {
    background: linear-gradient(135deg, rgba(109, 93, 252, 0.9), rgba(76, 141, 255, 0.85));
}

/* ---- 6. admin 表单输入玻璃 ---- */
body.admin-body .admin-form-group input,
body.admin-body .admin-form-group textarea,
body.admin-body .admin-form-group select {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.25);
    transition: border-color 0.2s ease, background 0.2s ease;
}
body.admin-body .admin-form-group input:focus,
body.admin-body .admin-form-group textarea:focus,
body.admin-body .admin-form-group select:focus {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(140, 130, 255, 0.65);
    outline: none;
}

/* ---- 7. 渐变标题 ---- */
body.tasks-body .tasks-main h1,
body.admin-body .admin-section-title h2 {
    background: linear-gradient(120deg, #f5f7fa 25%, #c4b5fd 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* ---- 8. 弱文字对比度 ---- */
body.tasks-body .section-label,
body.admin-body .section-label,
body.admin-body .admin-stat-label,
body.admin-body .admin-label {
    color: #bcc9de;
}

/* ---- 9. admin 列表行 / 审核卡 hover ---- */
body.admin-body .admin-task-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.admin-body .admin-task-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* ---- 10. 移动端背景简化 ---- */
@media (max-width: 768px) {
    body.tasks-body,
    body.admin-body {
        background:
            radial-gradient(600px 420px at 90% -8%, rgba(109, 93, 252, 0.28), transparent 62%),
            radial-gradient(560px 400px at -6% 30%, rgba(76, 141, 255, 0.20), transparent 60%),
            var(--bg);
        background-attachment: scroll;
    }
}


/* ================= Dashboard 侧边栏气泡式导航（新增区块，删除本区块即可回滚） ================= */

body.dashboard-body .side-nav a,
body.dashboard-body .sidebar-bottom a {
    position: relative;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 18px rgba(0, 0, 0, 0.22);
    margin: 7px 12px;
    padding: 11px 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
body.dashboard-body .side-nav a:hover,
body.dashboard-body .sidebar-bottom a:hover {
    transform: scale(1.045);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 28px rgba(0, 0, 0, 0.35);
}
body.dashboard-body .side-nav a.active {
    background: linear-gradient(135deg, rgba(109, 93, 252, 0.75), rgba(76, 141, 255, 0.65));
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 10px 28px rgba(109, 93, 252, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.30);
    transform: scale(1.02);
}

/* 导航图标：气泡内的圆形渐变底 */
body.dashboard-body .side-nav a span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    font-size: 15px;
    transition: background 0.25s ease, transform 0.25s ease;
}
body.dashboard-body .side-nav a:hover span:first-child {
    background: rgba(255, 255, 255, 0.14);
    transform: scale(1.06);
}
body.dashboard-body .side-nav a.active span:first-child {
    background: rgba(255, 255, 255, 0.20);
    box-shadow: 0 4px 14px rgba(109, 93, 252, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

/* 侧边栏内边距适配气泡 */
body.dashboard-body .sidebar {
    padding-top: 26px;
}

/* 移动端抽屉模式：气泡仍保持 */
@media (max-width: 600px) {
    body.dashboard-body .side-nav a,
    body.dashboard-body .sidebar-bottom a {
        margin: 6px 6px;
        padding: 10px 14px;
    }
}


/* ================= Dashboard 侧边栏滑出式（edge slider，新增区块，删除本区块即可回滚） ================= */

/* 触发热区：固定在左边缘的细指示条 */
.sidebar-edge-zone {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 16px;
    z-index: 95;
    pointer-events: auto;
    background: linear-gradient(90deg, rgba(109, 93, 252, 0.30), rgba(109, 93, 252, 0.08) 60%, transparent);
    opacity: 0.85;
    transition: opacity 0.3s ease;
    cursor: default;
}
.sidebar-edge-zone:hover {
    opacity: 1;
    background: linear-gradient(90deg, rgba(109, 93, 252, 0.55), rgba(109, 93, 252, 0.15) 65%, transparent);
}

/* 桌面端：侧边栏默认藏起，hover 热区或侧边栏时滑出（overlay 式，内容全宽） */
@media (min-width: 601px) {
    body.dashboard-body .sidebar {
        transform: translateX(-100%);
        transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 210;
        box-shadow: 30px 0 60px rgba(0, 0, 0, 0.35);
    }
    body.dashboard-body .dashboard-main {
        margin-left: 0;
    }
    body.dashboard-body .sidebar-edge-zone:hover + .sidebar,
    body.dashboard-body .sidebar:hover,
    body.dashboard-body .sidebar:focus-within {
        transform: translateX(0);
    }
    /* 侧边栏展开时热区保持透明，避免双条视觉 */
    body.dashboard-body .sidebar-edge-zone:hover,
    body.dashboard-body .sidebar:hover ~ .sidebar-edge-zone {
        opacity: 0.35;
    }
}

/* 移动端：保留汉堡抽屉逻辑（600px 以内原有规则优先，这里仅兜底） */
@media (max-width: 600px) {
    .sidebar-edge-zone {
        display: none;
    }
}


/* ===== Index 移动端导航优化：汉堡移到最右，登录/注册收进菜单（新增区块，删除即可回滚） ===== */
@media (max-width: 800px) {
    body.index-body .navbar {
        gap: 10px;
    }
    body.index-body .nav-toggle {
        order: 5;
        margin-left: 0;
    }
    body.index-body .navbar .nav-buttons {
        margin-left: auto;
        gap: 8px;
    }
}


/* ===== 会员中心 Membership（新增区块，删除即可回滚） ===== */
.membership-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.member-current-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(37, 43, 58, 0.92), rgba(22, 27, 38, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.member-current-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120px 90px at 12% 0%, rgba(139, 92, 246, 0.18), transparent 70%);
    pointer-events: none;
}

.member-tier-badge {
    width: 64px;
    height: 64px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(139, 92, 246, 0.35), rgba(88, 58, 160, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.member-current-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.member-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.member-tier-name {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(120deg, #fff, #c7c2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.member-stats {
    display: flex;
    gap: 28px;
    margin-top: 6px;
}

.member-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.member-stat span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.member-stat strong {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.member-invite-card {
    padding: 20px 24px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(31, 36, 47, 0.9), rgba(19, 23, 32, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.member-invite-card h3 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.member-invite-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.member-invite-row code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #c7bfff;
    background: rgba(139, 92, 246, 0.14);
    border: 1px dashed rgba(199, 191, 255, 0.35);
    border-radius: 12px;
    padding: 8px 16px;
}

.member-copy-btn {
    padding: 9px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.member-copy-btn:hover {
    background: rgba(139, 92, 246, 0.35);
    border-color: rgba(139, 92, 246, 0.5);
}

.member-invite-hint {
    margin: 10px 0 16px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

.member-invite-progress {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
    padding: 4px;
}

.member-invite-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.18);
    overflow: hidden;
}

.member-invite-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #8b5cf6, #6366f1, #22d3ee);
    transition: width 0.6s ease;
}

.member-invite-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.member-invite-count {
    margin-top: 10px;
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: #c7bfff;
}

.member-tiers-title {
    margin: 6px 0 0;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.member-tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.member-tier {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(31, 36, 47, 0.85), rgba(19, 23, 32, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, border-color 0.2s;
}

.member-tier:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.35);
}

.member-tier.is-current {
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(165deg, rgba(42, 47, 66, 0.95), rgba(26, 30, 44, 0.98));
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.25), 0 10px 30px rgba(0, 0, 0, 0.35);
}

.member-tier-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.member-tier-icon {
    font-size: 22px;
}

.member-tier-head strong {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.member-tier-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.member-tier-rows > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.member-tier-rows b {
    font-size: 13px;
    color: #fff;
}

.member-tier-price {
    font-size: 13px;
    font-weight: 700;
    color: #22d3ee;
}

.member-tier-price em {
    font-style: normal;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
}

.member-upgrade-btn {
    margin-top: auto;
    padding: 10px 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(120deg, #8b5cf6, #6366f1);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s, transform 0.15s;
}

.member-upgrade-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.member-badge-cur {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.3);
    color: #d6d0ff;
    border: 1px solid rgba(139, 92, 246, 0.4);
    white-space: nowrap;
}

.member-badge-need {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.3);
    white-space: nowrap;
}

.member-badge-unlocked {
    margin-left: auto;
    font-size: 13px;
    color: #34d399;
}

@media (max-width: 1000px) {
    .member-tiers {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .member-tiers {
        grid-template-columns: 1fr;
    }
    .member-current-card {
        padding: 18px;
    }
}


/* ===== Admin 会员管理（优化版 - 紧凑排版） ===== */
.admin-member-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-member-head,
.admin-member-card {
    display: grid;
    grid-template-columns: 2fr 0.9fr 0.9fr 1.1fr 0.8fr 0.9fr 1.5fr;
    gap: 10px;
    align-items: center;
}

.admin-member-head {
    padding: 8px 14px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.admin-member-card {
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(165deg, rgba(31, 36, 47, 0.88), rgba(19, 23, 32, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.admin-member-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.admin-member-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-member-avatar {
    width: 32px;
    height: 32px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    border-radius: 10px;
    background: linear-gradient(150deg, #8b5cf6, #6366f1);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.admin-member-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    overflow: hidden;
}

.admin-member-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.admin-member-mail {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.admin-member-cell {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-member-select,
.admin-member-input {
    width: 100%;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 12px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s;
}

.admin-member-select:focus,
.admin-member-input:focus {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.08);
}

.admin-member-select option {
    background: #141a2e;
    color: #fff;
}

.admin-member-invite {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 11px;
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

.admin-member-invite small {
    display: block;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.admin-member-save {
    padding: 5px 10px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(120deg, #8b5cf6, #6366f1);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.admin-member-save:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.admin-member-save:disabled {
    opacity: 0.5;
    cursor: wait;
}

.admin-member-actions {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
}

.admin-mini-btn {
    padding: 4px 8px;
    border-radius: 6px;
    border: none;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-mini-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.admin-mini-btn.gold {
    background: rgba(251, 191, 36, 0.12);
    color: #fcd34d;
}

.admin-mini-btn.gold:hover {
    background: rgba(251, 191, 36, 0.2);
}

.admin-mini-btn.danger {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

.admin-mini-btn.danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

@media (max-width: 1200px) {
    .admin-member-table {
        overflow-x: auto;
        padding-bottom: 6px;
    }
    .admin-member-head,
    .admin-member-card {
        grid-template-columns: 200px 100px 100px 130px 90px 100px 180px;
        min-width: 900px;
    }
}

/* ===== 会员等级徽章 SVG + 发光动画（可回滚：删除本块即可） ===== */
.tier-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.member-tier-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: none;
    align-items: center;
    justify-content: center;
}

.tier-basic    { --glow: rgba(148, 163, 184, 0.55); }
.tier-silver   { --glow: rgba(203, 213, 225, 0.6); }
.tier-gold     { --glow: rgba(245, 158, 11, 0.65); }
.tier-platinum { --glow: rgba(167, 139, 250, 0.7); }
.tier-diamond  { --glow: rgba(56, 189, 248, 0.75); }
.tier-radiant  { --glow: rgba(251, 191, 36, 0.8); }

.member-tier-icon svg,
.member-tier-badge svg,
.invite-milestone-ico svg,
.member-tier-icon img,
.member-tier-badge img,
.invite-milestone-ico img {
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 0 5px var(--glow, rgba(255, 255, 255, 0.35)));
    animation: tierGlow 2.8s ease-in-out infinite;
}

.member-tier-icon.tier-gold svg,
.member-tier-badge.tier-gold svg,
.invite-milestone-ico.tier-gold svg,
.member-tier-icon.tier-gold img,
.member-tier-badge.tier-gold img,
.invite-milestone-ico.tier-gold img { animation-delay: 0.15s; }

.member-tier-icon.tier-platinum svg,
.member-tier-badge.tier-platinum svg,
.invite-milestone-ico.tier-platinum svg,
.member-tier-icon.tier-platinum img,
.member-tier-badge.tier-platinum img,
.invite-milestone-ico.tier-platinum img { animation-delay: 0.3s; }

.member-tier-icon.tier-diamond svg,
.member-tier-badge.tier-diamond svg,
.invite-milestone-ico.tier-diamond svg,
.member-tier-icon.tier-diamond img,
.member-tier-badge.tier-diamond img,
.invite-milestone-ico.tier-diamond img { animation-delay: 0.45s; }

@keyframes tierGlow {
    0%, 100% { filter: drop-shadow(0 0 4px var(--glow, rgba(255, 255, 255, 0.35))); }
    50%      { filter: drop-shadow(0 0 15px var(--glow, rgba(255, 255, 255, 0.35))); }
}

.member-tier-badge {
    position: relative;
    overflow: hidden;
}

.member-tier-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 42%, var(--glow, transparent), transparent 72%);
    opacity: 0;
    animation: badgePulse 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.12; }
    50%      { opacity: 0.5; }
}

.invite-milestone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.invite-milestone-ico {
    width: 18px;
    height: 18px;
    display: inline-flex;
}

/* ========================================
   钱包统计卡（总佣金收入 / 当前余额）
   删除本块即可回滚
   ======================================== */

.wallet-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.wallet-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid #222a36;
    background: linear-gradient(135deg, rgba(109, 93, 252, 0.10), rgba(16, 19, 26, 0.9) 55%);
}

.wallet-stat-card.wallet-stat-main {
    background: linear-gradient(135deg, rgba(255, 196, 87, 0.12), rgba(16, 19, 26, 0.9) 60%);
}

.wallet-stat-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-stat-body {
    min-width: 0;
}

.wallet-stat-label {
    display: block;
    font-size: 12px;
    color: #8a92a0;
    margin-bottom: 3px;
}

.wallet-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #f5f7fa;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.3px;
}

.wallet-stat-main .wallet-stat-value {
    color: #ffd166;
}

/* ========================================
   UI 全面优化覆盖层 v2（2026-09-12）
   1. 全局 icon 动态效果（发光 / 浮动 / 弹跳 / 流动）
   2. Admin 界面密度优化（利用每一寸空间）
   3. 卡片 / 按钮质感微调
   删除本块即可回滚
   ======================================== */

/* ---------- 1. 全局 Icon 动态效果 ---------- */

/* ① Logo T：渐变流动 + 高光呼吸 */
.dashboard-logo .logo-icon,
.admin-logo .logo-icon,
.logo .logo-icon,
.footer-logo-icon,
.tasks-logo-icon {
    background-size: 200% 200%;
    animation: logoFlow 4.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}
@keyframes logoFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.dashboard-logo .logo-icon::after,
.admin-logo .logo-icon::after,
.logo .logo-icon::after,
.footer-logo-icon::after,
.tasks-logo-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 55%);
    animation: logoShine 3.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes logoShine {
    0%, 100% { opacity: 0.2; }
    50%      { opacity: 0.7; }
}

/* ② 侧边栏导航 emoji：hover 弹跳 + 发光 */
.side-nav a > span:first-child {
    display: inline-block;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.side-nav a:hover > span:first-child {
    transform: scale(1.25) rotate(-8deg);
    filter: drop-shadow(0 0 8px rgba(109,93,252,0.85));
    animation: iconBounce 0.5s ease;
}
@keyframes iconBounce {
    0%   { transform: scale(1.25) rotate(-8deg) translateY(0); }
    40%  { transform: scale(1.38) rotate(5deg) translateY(-3px); }
    70%  { transform: scale(1.18) rotate(-4deg) translateY(0); }
    100% { transform: scale(1.25) rotate(-8deg) translateY(0); }
}

/* ③ Admin 导航 icon：hover 前移发光 */
.admin-nav-item span {
    display: inline-block;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.admin-nav-item:hover span {
    transform: translateX(3px) scale(1.2);
    filter: drop-shadow(0 0 7px rgba(109,93,252,0.9));
}

/* ④ Admin 统计 icon：常驻微光脉动 + hover 放大 */
.admin-stat-icon {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #171d2b, #1d2440);
    border: 1px solid rgba(109,93,252,0.25);
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.admin-stat-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(109,93,252,0.45), transparent 70%);
    animation: iconGlow 2.6s ease-in-out infinite;
    pointer-events: none;
}
.admin-stat-card:hover .admin-stat-icon {
    transform: scale(1.1);
    border-color: rgba(109,93,252,0.6);
}
@keyframes iconGlow {
    0%, 100% { opacity: 0.15; }
    50%      { opacity: 0.6; }
}

/* ⑤ Index 任务预览图标：常驻浮动 */
.task-icon {
    animation: taskFloat 3s ease-in-out infinite;
}
@keyframes taskFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* ⑥ 钱包 / 余额 / 提现图标：hover 放大旋转 + 发光 */
.balance-icon,
.wallet-stat-icon,
.withdraw-wallet-icon {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.balance-card:hover .balance-icon,
.wallet-stat-card:hover .wallet-stat-icon,
.withdraw-card:hover .withdraw-wallet-icon {
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 0 14px rgba(109,93,252,0.45);
}

/* ⑦ 按钮流光扫过 */
.admin-primary-btn,
.btn-primary,
.btn-large {
    position: relative;
    overflow: hidden;
}
.admin-primary-btn::after,
.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.22), transparent);
    animation: btnSheen 3.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes btnSheen {
    0%       { left: -80%; }
    55%, 100% { left: 140%; }
}

/* ---------- 2. Admin 界面密度优化（利用每一寸空间） ---------- */

.admin-sidebar {
    width: 236px;
    padding: 20px 14px;
}
.admin-main {
    margin-left: 236px;
    width: calc(100% - 236px);
    padding: 24px 30px 50px;
}
.admin-logo {
    padding: 0 8px 20px;
}
.admin-logo .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 19px;
}
.admin-logo .logo-text {
    font-size: 18px;
}
.admin-nav-item {
    padding: 10px 12px;
    font-size: 13.5px;
    gap: 10px;
}
.admin-header {
    margin-bottom: 20px;
}
.admin-header h1 {
    font-size: 24px;
}
.admin-header p {
    margin: 5px 0 0;
}
.admin-section {
    margin-bottom: 34px;
}
.admin-section-title {
    margin-bottom: 14px;
}
.admin-section-title h2 {
    font-size: 19px;
}
.admin-section-title p {
    margin: 4px 0 0;
}
.admin-stats {
    gap: 13px;
}
.admin-stat-card {
    padding: 16px 17px;
    gap: 13px;
    border-radius: 13px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.admin-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(109,93,252,0.45);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.admin-stat-icon {
    width: 40px;
    height: 40px;
    font-size: 19px;
}
.admin-stat-label {
    margin-bottom: 2px;
}
.admin-stat-value {
    font-size: 22px;
}
.admin-form-card {
    padding: 20px 22px;
    border-radius: 14px;
}
.admin-form-grid {
    gap: 14px;
}
.admin-task-card {
    padding: 15px 17px;
    border-radius: 13px;
}
.admin-task-card h3 {
    font-size: 16px;
}
.admin-task-description {
    margin-top: 10px;
}
.admin-task-info {
    margin-top: 12px;
    padding-top: 12px;
    gap: 14px;
}

/* 审核 / 会员卡片 hover 质感 */
.admin-member-card {
    transition: border-color 0.2s ease, background 0.2s ease;
}
.admin-member-card:hover {
    border-color: rgba(109,93,252,0.4);
    background: rgba(109,93,252,0.04);
}

/* admin 表格更紧凑 */
.admin-member-card,
.admin-review-card .admin-task-card {
    border-radius: 12px;
}

/* 移动端 admin 侧边栏自适应 */
@media (max-width: 900px) {
    .admin-sidebar {
        width: 76px;
        padding: 18px 10px;
    }
    .admin-main {
        margin-left: 76px;
        width: calc(100% - 76px);
        padding: 18px 16px 40px;
    }
    .admin-logo .logo-text,
    .admin-label,
    .admin-nav-text {
        display: none;
    }
    .admin-nav-item {
        justify-content: center;
        padding: 11px;
        font-size: 0;
    }
    .admin-nav-item span {
        font-size: 16px;
    }
}

.wallet-stat-sub {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #5c6470;
}

@media (max-width: 640px) {
    .wallet-stats {
        grid-template-columns: 1fr;
    }
}
    width: 18px;
    height: 18px;
    display: inline-flex;
}
/* ========================================
   钱包统计卡（总佣金收入 / 当前余额）
   删除本块即可回滚
   ======================================== */

.wallet-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.wallet-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid #222a36;
    background: linear-gradient(135deg, rgba(109, 93, 252, 0.10), rgba(16, 19, 26, 0.9) 55%);
}

.wallet-stat-card.wallet-stat-main {
    background: linear-gradient(135deg, rgba(255, 196, 87, 0.12), rgba(16, 19, 26, 0.9) 60%);
}

.wallet-stat-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-stat-body {
    min-width: 0;
}

.wallet-stat-label {
    display: block;
    font-size: 12px;
    color: #8a92a0;
    margin-bottom: 3px;
}

.wallet-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #f5f7fa;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.3px;
}

.wallet-stat-main .wallet-stat-value {
    color: #ffd166;
}

/* ========================================
   UI 全面优化覆盖层 v2（2026-09-12）
   1. 全局 icon 动态效果（发光 / 浮动 / 弹跳 / 流动）
   2. Admin 界面密度优化（利用每一寸空间）
   3. 卡片 / 按钮质感微调
   删除本块即可回滚
   ======================================== */

/* ---------- 1. 全局 Icon 动态效果 ---------- */

/* ① Logo T：渐变流动 + 高光呼吸 */
.dashboard-logo .logo-icon,
.admin-logo .logo-icon,
.logo .logo-icon,
.footer-logo-icon,
.tasks-logo-icon {
    background-size: 200% 200%;
    animation: logoFlow 4.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}
@keyframes logoFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.dashboard-logo .logo-icon::after,
.admin-logo .logo-icon::after,
.logo .logo-icon::after,
.footer-logo-icon::after,
.tasks-logo-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 55%);
    animation: logoShine 3.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes logoShine {
    0%, 100% { opacity: 0.2; }
    50%      { opacity: 0.7; }
}

/* ② 侧边栏导航 emoji：hover 弹跳 + 发光 */
.side-nav a > span:first-child {
    display: inline-block;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.side-nav a:hover > span:first-child {
    transform: scale(1.25) rotate(-8deg);
    filter: drop-shadow(0 0 8px rgba(109,93,252,0.85));
    animation: iconBounce 0.5s ease;
}
@keyframes iconBounce {
    0%   { transform: scale(1.25) rotate(-8deg) translateY(0); }
    40%  { transform: scale(1.38) rotate(5deg) translateY(-3px); }
    70%  { transform: scale(1.18) rotate(-4deg) translateY(0); }
    100% { transform: scale(1.25) rotate(-8deg) translateY(0); }
}

/* ③ Admin 导航 icon：hover 前移发光 */
.admin-nav-item span {
    display: inline-block;
    transition: transform 0.25s ease, filter 0.25s ease;
}
.admin-nav-item:hover span {
    transform: translateX(3px) scale(1.2);
    filter: drop-shadow(0 0 7px rgba(109,93,252,0.9));
}

/* ④ Admin 统计 icon：常驻微光脉动 + hover 放大 */
.admin-stat-icon {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #171d2b, #1d2440);
    border: 1px solid rgba(109,93,252,0.25);
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.admin-stat-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(109,93,252,0.45), transparent 70%);
    animation: iconGlow 2.6s ease-in-out infinite;
    pointer-events: none;
}
.admin-stat-card:hover .admin-stat-icon {
    transform: scale(1.1);
    border-color: rgba(109,93,252,0.6);
}
@keyframes iconGlow {
    0%, 100% { opacity: 0.15; }
    50%      { opacity: 0.6; }
}

/* ⑤ Index 任务预览图标：常驻浮动 */
.task-icon {
    animation: taskFloat 3s ease-in-out infinite;
}
@keyframes taskFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* ⑥ 钱包 / 余额 / 提现图标：hover 放大旋转 + 发光 */
.balance-icon,
.wallet-stat-icon,
.withdraw-wallet-icon {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.balance-card:hover .balance-icon,
.wallet-stat-card:hover .wallet-stat-icon,
.withdraw-card:hover .withdraw-wallet-icon {
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 0 14px rgba(109,93,252,0.45);
}

/* ⑦ 按钮流光扫过 */
.admin-primary-btn,
.btn-primary,
.btn-large {
    position: relative;
    overflow: hidden;
}
.admin-primary-btn::after,
.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.22), transparent);
    animation: btnSheen 3.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes btnSheen {
    0%       { left: -80%; }
    55%, 100% { left: 140%; }
}

/* ---------- 2. Admin 界面密度优化（利用每一寸空间） ---------- */

.admin-sidebar {
    width: 236px;
    padding: 20px 14px;
}
.admin-main {
    margin-left: 236px;
    width: calc(100% - 236px);
    padding: 24px 30px 50px;
}
.admin-logo {
    padding: 0 8px 20px;
}
.admin-logo .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 19px;
}
.admin-logo .logo-text {
    font-size: 18px;
}
.admin-nav-item {
    padding: 10px 12px;
    font-size: 13.5px;
    gap: 10px;
}
.admin-header {
    margin-bottom: 20px;
}
.admin-header h1 {
    font-size: 24px;
}
.admin-header p {
    margin: 5px 0 0;
}
.admin-section {
    margin-bottom: 34px;
}
.admin-section-title {
    margin-bottom: 14px;
}
.admin-section-title h2 {
    font-size: 19px;
}
.admin-section-title p {
    margin: 4px 0 0;
}
.admin-stats {
    gap: 13px;
}
.admin-stat-card {
    padding: 16px 17px;
    gap: 13px;
    border-radius: 13px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.admin-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(109,93,252,0.45);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.admin-stat-icon {
    width: 40px;
    height: 40px;
    font-size: 19px;
}
.admin-stat-label {
    margin-bottom: 2px;
}
.admin-stat-value {
    font-size: 22px;
}
.admin-form-card {
    padding: 20px 22px;
    border-radius: 14px;
}
.admin-form-grid {
    gap: 14px;
}
.admin-task-card {
    padding: 15px 17px;
    border-radius: 13px;
}
.admin-task-card h3 {
    font-size: 16px;
}
.admin-task-description {
    margin-top: 10px;
}
.admin-task-info {
    margin-top: 12px;
    padding-top: 12px;
    gap: 14px;
}

/* 审核 / 会员卡片 hover 质感 */
.admin-member-card {
    transition: border-color 0.2s ease, background 0.2s ease;
}
.admin-member-card:hover {
    border-color: rgba(109,93,252,0.4);
    background: rgba(109,93,252,0.04);
}

/* admin 表格更紧凑 */
.admin-member-card,
.admin-review-card .admin-task-card {
    border-radius: 12px;
}

/* 移动端 admin 侧边栏自适应 */
@media (max-width: 900px) {
    .admin-sidebar {
        width: 76px;
        padding: 18px 10px;
    }
    .admin-main {
        margin-left: 76px;
        width: calc(100% - 76px);
        padding: 18px 16px 40px;
    }
    .admin-logo .logo-text,
    .admin-label,
    .admin-nav-text {
        display: none;
    }
    .admin-nav-item {
        justify-content: center;
        padding: 11px;
        font-size: 0;
    }
    .admin-nav-item span {
        font-size: 16px;
    }
}

.wallet-stat-sub {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    color: #5c6470;
}

@media (max-width: 640px) {
    .wallet-stats {
        grid-template-columns: 1fr;
    }
}
    width: 18px;
    height: 18px;
    display: inline-flex;
}



/* ========================================
   Index 关于我们扩展（新增区块，删除本块即可回滚）
   ======================================== */

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: center;
    margin-bottom: 40px;
}

.about-hero-text h2 {
    font-size: 30px;
    line-height: 1.35;
    font-weight: 800;
    color: #f5f7fa;
    margin: 10px 0 16px;
}

.about-hero-text p {
    font-size: 14.5px;
    line-height: 1.85;
    color: #aab4c8;
    margin-bottom: 12px;
}

.about-hero-img img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(109, 93, 252, 0.12), 0 0 44px rgba(109, 93, 252, 0.16);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 24px 16px;
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(31, 36, 47, 0.85), rgba(19, 23, 32, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.about-stat strong {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(120deg, #facc15, #ffb347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-stat span {
    font-size: 12.5px;
    font-weight: 600;
    color: #8b949e;
    letter-spacing: 0.5px;
}

.about-stat-note {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 12px;
    color: #7c8698;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(109, 93, 252, 0.06);
    border: 1px dashed rgba(109, 93, 252, 0.28);
}

.about-user-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
    margin: 48px 0;
}

.about-user-img img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 44px rgba(76, 141, 255, 0.14);
}

.about-user-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: #f5f7fa;
    margin-bottom: 12px;
}

.about-user-text p {
    font-size: 14px;
    line-height: 1.85;
    color: #aab4c8;
    margin-bottom: 12px;
}

.about-user-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 18px 0;
}

.about-user-steps > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-user-steps span {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, rgba(109, 93, 252, 0.9), rgba(76, 141, 255, 0.8));
    box-shadow: 0 0 14px rgba(109, 93, 252, 0.5);
}

.about-user-steps b {
    font-size: 12px;
    font-weight: 700;
    color: #d6dcf0;
    text-align: center;
}

.about-user-note {
    font-size: 12.5px !important;
    color: #7c8698 !important;
    border-left: 3px solid rgba(109, 93, 252, 0.5);
    padding-left: 14px;
}

.about-flow,
.about-adv {
    margin: 48px 0;
}

.about-sec-head {
    text-align: center;
    margin-bottom: 26px;
}

.about-sec-head h3 {
    font-size: 24px;
    font-weight: 800;
    color: #f5f7fa;
    margin-top: 8px;
}

.about-sec-head p {
    max-width: 640px;
    margin: 12px auto 0;
    font-size: 14px;
    line-height: 1.8;
    color: #aab4c8;
}

.about-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.about-flow-step {
    position: relative;
    padding: 22px 18px;
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(31, 36, 47, 0.85), rgba(19, 23, 32, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-flow-step:hover {
    transform: translateY(-3px);
    border-color: rgba(109, 93, 252, 0.4);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32), 0 0 22px rgba(109, 93, 252, 0.14);
}

.af-num {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 22px;
    font-weight: 800;
    color: rgba(109, 93, 252, 0.55);
}

.about-flow-step b {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #f5f7fa;
    margin-bottom: 8px;
}

.about-flow-step p {
    font-size: 12.5px;
    line-height: 1.75;
    color: #9aa5b9;
}

.about-adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.about-adv-card {
    padding: 22px 18px;
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(31, 36, 47, 0.85), rgba(19, 23, 32, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-adv-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 196, 87, 0.35);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32), 0 0 22px rgba(255, 196, 87, 0.12);
}

.aa-ic {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 12px;
    background: rgba(109, 93, 252, 0.12);
    border: 1px solid rgba(109, 93, 252, 0.25);
    margin-bottom: 12px;
}

.about-adv-card b {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #f5f7fa;
    margin-bottom: 8px;
}

.about-adv-card p {
    font-size: 12.5px;
    line-height: 1.75;
    color: #9aa5b9;
}

.about-vision {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin: 48px 0;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.about-vision-bg img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-vision-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 16, 0.72) 0%, rgba(8, 10, 16, 0.55) 45%, rgba(8, 10, 16, 0.88) 100%);
}

.about-vision-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    gap: 14px;
}

.about-vision-content h3 {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
    max-width: 720px;
}

.about-vision-content p {
    font-size: 14px;
    line-height: 1.85;
    color: #d3daea;
    max-width: 640px;
}

.about-vision-words {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 6px;
}

.about-vision-words span {
    padding: 9px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    color: #ffe9a8;
    background: rgba(255, 196, 87, 0.10);
    border: 1px solid rgba(255, 196, 87, 0.35);
    box-shadow: 0 0 18px rgba(255, 196, 87, 0.18);
    backdrop-filter: blur(8px);
}

.about-join {
    margin: 48px 0 0;
}

.about-join-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
}

.about-join-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px 24px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(31, 36, 47, 0.85), rgba(19, 23, 32, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.about-join-card:hover {
    transform: translateY(-3px);
    border-color: rgba(109, 93, 252, 0.45);
}

.aj-ic {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 16px;
    background: rgba(109, 93, 252, 0.14);
    border: 1px solid rgba(109, 93, 252, 0.3);
    box-shadow: 0 0 20px rgba(109, 93, 252, 0.2);
}

.about-join-card b {
    font-size: 17px;
    font-weight: 800;
    color: #f5f7fa;
}

.about-join-card p {
    font-size: 13px;
    color: #9aa5b9;
}

.about-join-card .btn {
    margin-top: 6px;
    min-width: 160px;
}

@media (max-width: 900px) {
    .about-hero-grid,
    .about-user-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-flow-grid,
    .about-adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-vision-bg img {
        height: 360px;
    }
}

@media (max-width: 560px) {
    .about-hero-text h2 {
        font-size: 23px;
    }
    .about-user-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    .about-flow-grid,
    .about-adv-grid,
    .about-join-cards {
        grid-template-columns: 1fr;
    }
    .about-vision-bg img {
        height: 460px;
    }
    .about-vision-content h3 {
        font-size: 21px;
    }
    .about-stat strong {
        font-size: 24px;
    }
}


/* ===== 等级专属星空背景（LV3+，由 dashboard.html 动态注入） ===== */
.dashboard-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

/* =========================
   Logo 图片统一适配（用户自制 LOGO）
   ========================= */
.logo-img {
    background: none !important;
    color: transparent;
    font-size: 0;
    border: none;
    display: inline-block;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(109, 93, 252, 0.35);
}
.footer-logo-icon.logo-img {
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(109, 93, 252, 0.30);
}
.admin-logo .logo-img,
.dashboard-logo .logo-img {
    border-radius: 12px;
}
.tasks-logo-icon.logo-img {
    background: none !important;
    box-shadow: 0 4px 14px rgba(109, 93, 252, 0.35);
}

/* =========================
   任务类型选择器（admin 新建任务）
   ========================= */
.admin-task-type-picker {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-type-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 2px solid rgba(109, 93, 252, 0.25);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #c7cdda;
    transition: all .25s ease;
    user-select: none;
}
.admin-type-option:hover {
    border-color: rgba(109, 93, 252, 0.55);
    background: rgba(109, 93, 252, 0.10);
}
.admin-type-option input[type="radio"] {
    accent-color: #6d5dfc;
    width: 16px;
    height: 16px;
    margin: 0;
}
.admin-type-option:has(input:checked) {
    border-color: #6d5dfc;
    background: rgba(109, 93, 252, 0.18);
    color: #fff;
    box-shadow: 0 0 18px rgba(109, 93, 252, 0.35);
}
.admin-type-icon {
    font-size: 18px;
}

/* =========================
   任务类型标签（任务卡片）
   ========================= */
.ht-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    padding: 3px 9px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: 2px;
    white-space: nowrap;
}
.ht-type-badge.like {
    color: #ffd88a;
    background: rgba(255, 180, 60, 0.16);
    border: 1px solid rgba(255, 180, 60, 0.35);
}
.ht-type-badge.shop {
    color: #8be9c9;
    background: rgba(60, 220, 170, 0.14);
    border: 1px solid rgba(60, 220, 170, 0.35);
}

.ht-type-badge.review {
    color: #b4a7ff;
    background: rgba(139, 122, 255, 0.16);
    border: 1px solid rgba(139, 122, 255, 0.40);
}


/* ========== Skeleton 加载动画 ========== */
@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.05) 25%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.05) 75%);
    background-size: 800px 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 8px;
}

.skeleton-line { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 22px; width: 40%; margin-bottom: 12px; }
.skeleton-card { height: 120px; margin-bottom: 12px; }
.skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; display: inline-block; }

/* 改进 loading-box 显示 */
.loading-box {
    position: relative;
    overflow: hidden;
}
.loading-box::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 300px;
    height: 12px;
    margin: 12px auto 0;
    border-radius: 6px;
    background: linear-gradient(90deg,
        rgba(255,255,255,0.05) 25%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0.05) 75%);
    background-size: 800px 100%;
    animation: shimmer 1.5s infinite linear;
}
