:root {
    --brand: #d9773f;
    --brand-dark: #b85f2c;
    --brand-soft: #fff1e6;
    --ink: #33291f;
    --muted: #7d7166;
    --line: #eee4d8;
    --paper: #faf6f0;
    --schedule: #4c7df0;
    --schedule-soft: #eaf1ff;
    --schedule-glow: rgba(76, 125, 240, 0.15);
    --meals: #d97b2b;
    --meals-soft: #fff1e2;
    --meals-glow: rgba(217, 123, 43, 0.15);
    --mind: #8161d6;
    --mind-soft: #f1ebff;
    --mind-glow: rgba(129, 97, 214, 0.15);
    --glass-bg: rgba(255, 252, 248, 0.55);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px rgba(89, 63, 40, 0.08);
    --glass-hover-shadow: 0 16px 48px rgba(89, 63, 40, 0.14);
    --warm-bg: linear-gradient(135deg, #faf6f0 0%, #fff5ec 40%, #f9efe4 100%);
}

body {
    background: var(--warm-bg);
    background-attachment: fixed;
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
    min-height: 100vh;
}

a {
    color: var(--brand-dark);
}

a:hover {
    color: var(--brand);
}

.site-nav {
    background: rgba(255, 252, 248, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(238, 228, 216, 0.5);
    box-shadow: 0 2px 20px rgba(89, 63, 40, 0.04);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-dot {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f6b26b, var(--brand));
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(217, 119, 63, 0.25);
}

.navbar .nav-link {
    color: #5f5449;
    transition: color 0.2s;
}

.navbar .nav-link:hover {
    color: var(--brand-dark);
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), #e6a15c);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(217, 119, 63, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-brand:hover,
.btn-brand:focus {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(217, 119, 63, 0.3);
}

.btn-outline-brand {
    border: 1px solid var(--brand);
    color: var(--brand-dark);
    background: rgba(255, 241, 230, 0.3);
    backdrop-filter: blur(8px);
    transition: all 0.2s;
}

.btn-outline-brand:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--brand-dark);
    transform: translateY(-1px);
}

.admin-greeting {
    background: linear-gradient(135deg, rgba(217, 119, 63, 0.12), rgba(230, 161, 92, 0.08));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(217, 119, 63, 0.2);
    border-radius: 14px;
    padding: 0.4rem 1.2rem;
    margin-bottom: 0.2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(217, 119, 63, 0.08);
}

.admin-greeting .greeting-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.admin-greeting .greeting-icon {
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

.hero {
    padding: 3rem 0 3.5rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(238, 228, 216, 0.6);
    color: var(--brand-dark);
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(89, 63, 40, 0.04);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.hero-signature {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.5rem;
    font-style: italic;
}

.text-gradient {
    background: linear-gradient(120deg, var(--brand), #e6a15c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.4rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}

.hero-panel:hover {
    transform: translateY(-3px);
    box-shadow: var(--glass-hover-shadow);
}

.hero-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.9rem;
    border-bottom: 1px dashed var(--line);
    font-weight: 600;
}

.hero-panel-date {
    color: var(--muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.hero-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(247, 241, 234, 0.6);
    font-size: 0.92rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 0.4rem;
    flex-shrink: 0;
    box-shadow: 0 0 8px currentColor;
}

.dot-schedule { background-color: var(--schedule); color: var(--schedule); }
.dot-meals { background-color: var(--meals); color: var(--meals); }
.dot-mind { background-color: var(--mind); color: var(--mind); }

.hero-panel-foot {
    padding-top: 0.9rem;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: center;
}

.section-head {
    margin-bottom: 1.5rem;
}

.section-head h2 {
    font-size: 1.55rem;
    font-weight: 700;
}

.board-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    height: 480px;
    perspective: 1600px;
}

.board-card-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    width: 800px;
    height: 460px;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s, z-index 0s 0.25s;
    cursor: pointer;
}

.board-card-wrap.is-active {
    transform: translateX(-50%) translateZ(50px) scale(1.05);
    z-index: 3;
    opacity: 1;
}

.board-card-wrap.is-prev {
    transform: translateX(-72%) translateZ(-30px) scale(0.85) rotateY(15deg);
    z-index: 2;
    opacity: 0.5;
}

.board-card-wrap.is-next {
    transform: translateX(-28%) translateZ(-30px) scale(0.85) rotateY(-15deg);
    z-index: 2;
    opacity: 0.5;
}

.board-card-wrap.is-hidden {
    transform: translateX(-50%) translateZ(-80px) scale(0.6);
    z-index: 1;
    opacity: 0;
}

.board-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.board-card {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    padding: 2.2rem 2.5rem;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: none;
    box-shadow: 0 12px 40px rgba(89, 63, 40, 0.15), 0 4px 12px rgba(89, 63, 40, 0.08);
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.board-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 22px 22px 0 0;
    pointer-events: none;
}

.board-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    pointer-events: none;
    opacity: 0.04;
}

.theme-schedule .board-card::before {
    background: linear-gradient(90deg, var(--schedule), #6ba0ff);
}
.theme-schedule .board-card::after {
    background: linear-gradient(180deg, transparent, var(--schedule));
}

.theme-meals .board-card::before {
    background: linear-gradient(90deg, var(--meals), #f0a050);
}
.theme-meals .board-card::after {
    background: linear-gradient(180deg, transparent, var(--meals));
}

.theme-mind .board-card::before {
    background: linear-gradient(90deg, var(--mind), #a080ee);
}
.theme-mind .board-card::after {
    background: linear-gradient(180deg, transparent, var(--mind));
}

.board-card-wrap.is-active .board-card:hover {
    box-shadow: 0 20px 60px rgba(89, 63, 40, 0.18), 0 8px 20px rgba(89, 63, 40, 0.1);
    transform: translateY(-4px);
}

.board-port {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 0.65rem;
    color: var(--muted);
    opacity: 0.7;
}

.board-port-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.theme-schedule .board-port { color: var(--schedule); }
.theme-meals .board-port { color: var(--meals); }
.theme-mind .board-port { color: var(--mind); }

.board-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.theme-schedule .board-icon { background: rgba(76, 125, 240, 0.12); color: var(--schedule); }
.theme-meals .board-icon { background: rgba(217, 123, 43, 0.12); color: var(--meals); }
.theme-mind .board-icon { background: rgba(129, 97, 214, 0.12); color: var(--mind); }

.board-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
}

.board-tagline {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.board-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.board-features li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.95rem;
    color: #5f5449;
    margin-bottom: 0.55rem;
    line-height: 1.5;
}

.board-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--brand);
}

.board-enter {
    margin-top: auto;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.board-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.board-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    display: grid;
    place-items: center;
    color: var(--brand-dark);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1.1rem;
}

.board-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(89, 63, 40, 0.12);
    color: var(--brand);
}

.board-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.board-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(125, 113, 102, 0.3);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: none;
    padding: 0;
}

.board-indicator.is-active {
    background: var(--brand);
    transform: scale(1.3);
}

.promise-strip {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
}

.promise-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.promise-item > i {
    font-size: 1.3rem;
    color: var(--brand);
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--brand-dark);
}

.board-hero {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.board-hero::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.4;
    pointer-events: none;
}

.board-hero.theme-schedule { border-top: 4px solid var(--schedule); }
.board-hero.theme-schedule::before { background: var(--schedule-glow); }

.board-hero.theme-meals { border-top: 4px solid var(--meals); }
.board-hero.theme-meals::before { background: var(--meals-glow); }

.board-hero.theme-mind { border-top: 4px solid var(--mind); }
.board-hero.theme-mind::before { background: var(--mind-glow); }

.board-port-deco {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 0.7rem;
    color: var(--muted);
    opacity: 0.6;
}

.board-port-deco .port-line {
    width: 20px;
    height: 1px;
    background: currentColor;
}

.theme-schedule .board-port-deco { color: var(--schedule); }
.theme-meals .board-port-deco { color: var(--meals); }
.theme-mind .board-port-deco { color: var(--mind); }

.board-note {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    background: rgba(251, 247, 241, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(240, 230, 216, 0.6);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    color: #6a5c4e;
}

.board-note > i {
    color: var(--brand);
    font-size: 1.05rem;
}

.suggestion-form,
.login-hint,
.my-suggestions {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
}

.login-hint {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.login-hint > i {
    font-size: 1.3rem;
    color: var(--brand);
}

.form-control,
.form-select {
    border: 1px solid rgba(230, 220, 207, 0.7);
    background: rgba(253, 251, 248, 0.6);
    backdrop-filter: blur(6px);
    padding: 0.6rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(217, 119, 63, 0.12);
    background: rgba(255, 255, 255, 0.8);
}

.my-suggestion-item {
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--line);
}

.my-suggestion-item:last-child {
    border-bottom: 0;
}

.empty-state {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.empty-state i {
    font-size: 1.8rem;
    color: #d8cbb9;
    display: block;
    margin-bottom: 0.6rem;
}

.site-footer {
    background: rgba(255, 252, 248, 0.5);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(238, 228, 216, 0.5);
    padding: 1.5rem 0;
}

.auth-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    max-width: 980px;
    margin: 1.5rem auto;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(89, 63, 40, 0.1);
}

.auth-brand {
    background: linear-gradient(155deg, rgba(255, 247, 238, 0.8) 0%, rgba(255, 233, 214, 0.7) 55%, rgba(249, 217, 189, 0.6) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem 2.6rem;
    display: flex;
    align-items: center;
}

.brand-mark {
    display: inline-block;
    font-weight: 700;
    color: var(--brand-dark);
    letter-spacing: 0.04em;
    margin-bottom: 1.6rem;
}

.auth-brand h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.9rem;
}

.auth-lead {
    color: #6f5c4b;
    margin-bottom: 1.6rem;
}

.auth-points {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.8rem;
}

.auth-points li {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    color: #5f4b39;
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
}

.auth-points i {
    color: var(--brand);
    font-size: 1.05rem;
}

.auth-privacy {
    color: #8a7461;
    font-size: 0.8rem;
    margin-bottom: 0;
}

.auth-form {
    display: flex;
    align-items: center;
    padding: 3rem 2.6rem;
    background: rgba(255, 255, 255, 0.3);
}

.auth-form-inner {
    width: 100%;
}

.auth-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.auth-link {
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .auth-shell {
        grid-template-columns: 1fr;
        margin: 0;
    }

    .auth-brand {
        padding: 2rem 1.6rem;
    }

    .auth-brand h1 {
        font-size: 1.6rem;
    }

    .auth-points {
        margin-bottom: 0.8rem;
    }

    .auth-form {
        padding: 2rem 1.6rem;
    }

    .hero {
        padding: 2rem 0 2.5rem;
    }

    .board-hero {
        padding: 1.4rem;
    }

    .board-carousel {
        height: 380px;
    }

    .board-card-wrap {
        width: 280px;
        height: 360px;
    }
}

.profile-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
}

.privacy-badge {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 241, 230, 0.6);
    backdrop-filter: blur(6px);
    color: var(--brand-dark);
    font-size: 0.78rem;
}

.profile-meta {
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 1.5rem;
}

.profile-meta dt {
    color: var(--muted);
    font-weight: 500;
}

.profile-tip {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-top: 1.4rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(251, 247, 241, 0.6);
    backdrop-filter: blur(8px);
    color: #6a5c4e;
    font-size: 0.85rem;
}

.profile-tip > i {
    color: var(--brand);
}

@media (max-width: 575.98px) {
    .profile-card {
        padding: 1.4rem;
    }
}

.auth-admin-entry {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--line);
    text-align: center;
}

.auth-admin-entry a {
    color: var(--muted);
    font-size: 0.8rem;
    text-decoration: none;
}

.auth-admin-entry a:hover {
    color: var(--brand-dark);
}

.register-closed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 2rem 1rem;
    text-align: center;
    background: rgba(251, 247, 241, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(240, 230, 216, 0.6);
    border-radius: 12px;
    color: #6a5c4e;
}

.register-closed i {
    font-size: 2rem;
    color: var(--brand);
}

.announcement-dialog {
    max-width: 520px;
}

.announcement-content {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(89, 63, 40, 0.15);
}

.announcement-header {
    background: linear-gradient(135deg, var(--brand), #e6a15c);
    color: #fff;
    border-bottom: none;
}

.announcement-header .modal-title {
    font-weight: 600;
}

.announcement-body {
    padding: 1.5rem;
    background: transparent;
}

.announcement-item {
    padding: 1.2rem 0;
}

.announcement-divider {
    height: 0;
    border-top: 2px dashed #d4c4b0;
    margin: 0;
}

.announcement-latest {
    padding: 1.2rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 241, 230, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(240, 224, 208, 0.6);
    border-radius: 12px;
}

.announcement-title {
    font-weight: 600;
    color: var(--ink);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.announcement-date {
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.announcement-text {
    color: #5f5449;
    font-size: 0.92rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.announcement-footer {
    background: transparent;
    border-top: 1px solid rgba(238, 228, 216, 0.5);
    padding: 0.8rem 1.5rem;
}

.announcement-empty {
    text-align: center;
    padding: 2rem 0;
    color: var(--muted);
}

.announcement-empty i {
    font-size: 2rem;
    color: var(--brand);
    display: block;
    margin-bottom: 0.5rem;
}

.announcement-hint {
    text-align: center;
    padding: 0.8rem 0 0.2rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.note-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.note-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--glass-hover-shadow);
}

.note-list-item {
    background: rgba(255, 252, 248, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(238, 228, 216, 0.4);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.note-list-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(89, 63, 40, 0.08);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: var(--glass-shadow);
}

.glass-card-inner {
    padding: 1.8rem;
}
.fav-count-badge {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: var(--brand);
    border-radius: 9px;
    padding: 0 5px;
    margin-left: 2px;
}

.fav-check {
    margin: 0;
    flex-shrink: 0;
}

.fav-check .form-check-input {
    cursor: pointer;
    border-color: var(--brand);
}

.fav-check .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.fav-label {
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--brand);
    line-height: 1;
    margin: 0;
    padding: 0;
}

.fav-label i {
    pointer-events: none;
}

.favorites-dialog {
    max-width: 560px;
}

.favorites-content {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(89, 63, 40, 0.15);
}

.favorites-header {
    background: linear-gradient(135deg, #b85f2c, var(--brand));
    color: #fff;
    border-bottom: none;
}

.favorites-header .modal-title {
    font-weight: 600;
}

.favorites-body {
    padding: 1.5rem;
    background: transparent;
    max-height: 60vh;
    overflow-y: auto;
}

.favorites-footer {
    background: transparent;
    border-top: 1px solid rgba(238, 228, 216, 0.5);
    padding: 0.8rem 1.5rem;
}

.fav-item {
    padding: 1.2rem 0;
}

.fav-title {
    font-weight: 600;
    color: var(--ink);
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.fav-title-deleted {
    color: #999;
    text-decoration: line-through;
}

.fav-date {
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.fav-text {
    color: #5f5449;
    font-size: 0.92rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.fav-text-deleted {
    color: #aaa;
    text-decoration: line-through;
}

.fav-item-deleted {
    background: rgba(220, 220, 220, 0.15);
    border-radius: 12px;
    padding: 1.2rem;
    margin: 0.5rem 0;
}

.fav-deleted-notice {
    color: #d32f2f;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    padding: 0.4rem 0.6rem;
    background: rgba(211, 47, 47, 0.08);
    border-radius: 8px;
}

.fav-remove-btn {
    font-size: 0.78rem;
    padding: 0.2rem 0.5rem;
}
/* ===== 双栏面板菜单系统 ===== */
.menu-panel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 16px;
    border: none;
    background: rgba(232, 180, 120, 0.35);
    color: #b85f2c;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.menu-panel-btn:hover {
    background: rgba(232, 180, 120, 0.6);
}

.menu-panel-btn:active {
    transform: scale(0.95);
}

.menu-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(89, 63, 40, 0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay-active {
    opacity: 1;
    pointer-events: auto;
}

.menu-panel {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 420px;
    max-width: calc(100vw - 32px);
    z-index: 1045;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: rgba(255, 252, 248, 0.92);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(232, 180, 120, 0.5);
    border-radius: 18px;
    box-shadow: 0 12px 48px rgba(184, 95, 44, 0.2);
    overflow: hidden;
}

.menu-panel-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.menu-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(232, 180, 120, 0.3), rgba(245, 200, 150, 0.2));
    border-bottom: 1px solid rgba(232, 180, 120, 0.3);
}

.menu-panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #b85f2c;
}

.menu-panel-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(232, 180, 120, 0.3);
    color: #b85f2c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.menu-panel-close:hover {
    background: rgba(232, 180, 120, 0.6);
    transform: rotate(90deg);
}

.menu-panel-body {
    display: flex;
    min-height: 200px;
}

.menu-category-list {
    width: 130px;
    flex-shrink: 0;
    padding: 8px;
    border-right: 1px solid rgba(232, 180, 120, 0.3);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    color: #8a6a52;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.menu-category-item i {
    font-size: 1rem;
}

.menu-category-item:hover {
    background: rgba(232, 180, 120, 0.2);
    color: #b85f2c;
}

.menu-category-active {
    background: rgba(232, 180, 120, 0.35);
    color: #b85f2c;
    font-weight: 700;
}

.menu-option-list {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-option-item:hover {
    background: rgba(232, 180, 120, 0.2);
    transform: translateX(4px);
}

.menu-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(232, 180, 120, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b85f2c;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.menu-option-info {
    flex: 1;
}

.menu-option-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #5f4434;
}

.menu-option-desc {
    font-size: 0.75rem;
    color: #a08a78;
    margin-top: 2px;
}

.menu-option-denied {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 160px;
    color: #d32f2f;
    text-align: center;
    gap: 8px;
}

.menu-option-denied i {
    font-size: 2rem;
}

.menu-option-denied p {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}
/* ===== 密码小眼睛 ===== */
.password-eye-wrapper {
    position: relative;
    display: block;
}

.password-eye-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--muted);
    z-index: 5;
    user-select: none;
    -webkit-user-select: none;
    padding: 4px;
}

.password-eye-icon:hover {
    color: var(--brand-dark);
}

.password-eye-icon.eye-open {
    color: var(--brand);
}

/* ===== 锁定/2FA页面图标 ===== */
.lockout-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, rgba(217, 119, 63, 0.15), rgba(230, 161, 92, 0.1));
    color: var(--brand);
    font-size: 1.8rem;
}

/* ===== 2FA管理区域 ===== */
.twofa-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--line);
}

.twofa-status {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.8rem;
}

.twofa-status.enabled {
    background: rgba(76, 175, 80, 0.08);
    color: #2e7d32;
}

.twofa-status.disabled {
    background: rgba(217, 119, 63, 0.08);
    color: var(--brand-dark);
}

.twofa-status i {
    font-size: 1.2rem;
}