.boda-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.front-notice {
    /* 顶部提示条：让文字/子元素在容器内居中 */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 页面内提示（例如：分类不存在/资源不存在）居中显示 */
.front-main p.muted {
    text-align: center;
}

.front-main p.muted + p {
    text-align: center;
}

.boda-header-wrap {
    width: 100%;
}

.boda-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 28px;
    min-height: 72px;
}

.boda-logo-col {
    flex: 0 0 auto;
}

.boda-logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.boda-logo-img {
    max-height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}

.boda-site-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    color: #111827;
}

.boda-nav {
    flex: 1;
    min-width: 0;
}

.boda-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

.boda-nav-item a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #374151;
    font-size: 15px;
    line-height: 1.4;
    padding: 8px 0;
}

.boda-nav-item a:hover {
    color: #2563eb;
}

.boda-nav-item a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    border-radius: 2px;
    background: #2563eb;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.boda-nav-item a:hover::after {
    transform: scaleX(1);
}

.boda-nav-item a.is-active {
    color: #2563eb;
}

.boda-nav-item a.is-active::after {
    transform: scaleX(1);
}

.boda-search-col {
    flex: 0 1 360px;
    min-width: 260px;
}

.boda-search-form {
    height: 38px;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.boda-search-input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 14px;
    height: 100%;
    font-size: 14px;
    color: #111827;
}

.boda-search-input::placeholder {
    color: #9ca3af;
}

.boda-search-button {
    flex-shrink: 0;
    width: 44px;
    height: 32px;
    margin-right: 4px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.boda-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.boda-search-svg {
    width: 20px;
    height: 20px;
}

.boda-search-button:hover {
    color: #111827;
    background: rgba(17, 24, 39, 0.05);
}

.boda-search-button:active {
    background: rgba(17, 24, 39, 0.08);
}

.boda-login-col {
    flex: 0 0 auto;
    white-space: nowrap;
}

.boda-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    text-decoration: none;
}

.boda-login-icon {
    width: 18px;
    height: 18px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.boda-login-svg {
    width: 18px;
    height: 18px;
    display: block;
}

.boda-login-link:hover {
    border-color: #93c5fd;
    color: #1d4ed8;
    background: #f8fbff;
}

.boda-home-section {
    max-width: 1200px;
    margin: 0 auto;
}

.boda-archive-filters {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    margin: 6px 0 14px;
}

.boda-archive-filter-row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 14px;
    padding: 10px 12px;
    border-bottom: 1px solid #eef1f5;
    line-height: 1.5;
}

.boda-archive-filter-row:last-child {
    border-bottom: 0;
}

.boda-archive-filter-label {
    color: #0f766e;
    font-weight: 600;
    white-space: nowrap;
    padding-top: 1px;
}

.boda-archive-filter-options {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 14px;
    min-width: 0;
}

.boda-archive-filter-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    min-width: 0;
}

.boda-archive-filter-all {
    display: inline-block;
    padding: 0;
    border-radius: 3px;
    background: transparent;
    color: #374151 !important;
    text-decoration: none;
}

.boda-archive-filter-all.is-current {
    padding: 0 4px;
    background: #16a34a;
    color: #fff !important;
}

.boda-archive-filter-options a {
    color: #374151;
    text-decoration: none;
    font-size: 13px;
}

.boda-archive-filter-options a.is-current {
    display: inline-block;
    padding: 0px 4px;
    border-radius: 3px;
    background: #16a34a;
    color: #fff !important;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
}

.boda-archive-filter-options a:hover {
    color: #2563eb;
}

.boda-archive-filter-options a.is-current:hover {
    color: #fff !important;
}

.boda-home-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 12px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.boda-home-ads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 14px;
}

/* 1 个整行；3 个时第三项整行；2/4 个为两列（5+ 个奇数末项同理整行） */
.boda-home-ads > *:only-child,
.boda-home-ads > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.boda-home-ad {
    display: block;
    height: 78px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
}

.boda-home-ad img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.boda-home-stats {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px 22px;
    color: #9ca3af;
    font-size: 12px;
    margin: 0;
}

.boda-home-stats em {
    font-style: normal;
    color: #f97316;
    margin: 0 2px;
}

.boda-download-roll {
    height: 32px;
    overflow: hidden;
    margin: 0;
    min-width: 220px;
    text-align: right;
}

.boda-download-roll-track {
    animation: bodaRollUp 16s linear infinite;
}

.boda-download-roll-item {
    height: 32px;
    line-height: 32px;
    color: #64748b;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes bodaRollUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

.boda-home-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.boda-home-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #111827;
}

.boda-home-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.boda-home-head h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 20px;
    color: #1f2937;
    padding: 10px 0;
}

.boda-head-mark {
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: #1f2937;
    display: inline-block;
}

.boda-home-tabs {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.boda-home-tabs a {
    position: relative;
    display: inline-block;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    padding: 12px 0;
}

.boda-home-tabs a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 2px;
    background: #67c28b;
    transform: scaleX(0);
    transition: transform .2s ease;
}

.boda-home-tabs a:hover {
    color: #0f766e;
}

.boda-home-tabs a:hover::after {
    transform: scaleX(1);
}

.boda-home-head p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

.boda-home-query {
    margin-bottom: 14px;
    color: #334155;
    font-size: 14px;
}

.boda-search-section {
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.boda-search-head {
    display: block;
    margin-bottom: 0;
    border-bottom: 1px solid #efefef;
    padding: 0 12px;
}

.boda-search-head-title {
    margin: 0;
    padding: 10px 0;
}

.boda-search-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    gap: 0;
    padding: 0;
    border-top: 1px solid #f1f5f9;
}

.boda-search-tabs a {
    padding: 12px 14px;
    border-right: 1px solid #efefef;
}

.boda-search-tabs a span {
    color: #c0392b;
}

.boda-search-tabs a::after {
    display: none;
}

.boda-search-tabs a:hover,
.boda-search-tabs a.is-active {
    color: #111827;
    background: #fafafa;
}

.boda-search-result-wrap {
    min-height: 400px;
    padding: 18px 16px;
}

.boda-search-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.boda-search-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 10px;
    border: 1px solid #eceff3;
    border-left: 2px solid #f1f5f9;
    background: #fff;
}

.boda-search-item + .boda-search-item {
    margin-top: 10px;
}

.boda-search-item-cover {
    width: 170px;
    height: 98px;
    flex: 0 0 170px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    color: #2563eb;
}

.boda-search-item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.boda-search-item-cover span {
    font-size: 34px;
    line-height: 1;
}

.boda-search-item-main {
    min-width: 0;
    flex: 1;
}

.boda-search-item-main h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.32;
    font-weight: 700;
}

.boda-search-item-main h3 a {
    color: #111827;
    text-decoration: none;
}

.boda-search-item-main h3 a:hover {
    color: #0ea5a4;
}

.boda-search-item-desc {
    color: #1f2937;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 8px;
}

.boda-search-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.boda-search-result-wrap .muted {
    margin: 0;
    padding-top: 90px;
    text-align: center;
    color: #6b7280;
}

.boda-search-total {
    width: fit-content;
    margin: 0 auto 14px;
    padding: 7px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    color: #6b7280;
    font-size: 13px;
    background: #fff;
}

@media (max-width: 900px) {
    .boda-search-tabs {
        padding-left: 0;
    }

    .boda-search-tabs a {
        padding: 10px 10px;
    }

    .boda-search-result-wrap {
        min-height: 320px;
        padding: 14px 12px;
    }

    .boda-search-item {
        gap: 10px;
        padding: 10px 8px;
    }

    .boda-search-item-cover {
        width: 130px;
        height: 78px;
        flex-basis: 130px;
    }

    .boda-search-item-main h3 {
        font-size: 18px;
    }

    .boda-search-item-desc {
        font-size: 13px;
        line-height: 1.6;
    }
}

.boda-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.boda-card {
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 8px;
    padding: 10px 10px 12px;
    min-width: 0;
    transition: box-shadow .18s ease, border-color .18s ease;
}

.boda-card:hover {
    border-color: #d6deea;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
}

.boda-card-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    border-radius: 6px;
    text-decoration: none;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    color: #2563eb;
    margin-bottom: 10px;
    overflow: hidden;
}

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

.boda-card-cover span {
    font-size: 38px;
    line-height: 1;
}

.boda-card h3 {
    margin: 0 0 3px;
    font-size: 14px;
    line-height: 1.45;
    min-height: 0;
    overflow: hidden;
}

.boda-card h3 a {
    color: #000;
    text-decoration: none;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.boda-card h3 a:hover {
    color: #2563eb;
}

.boda-card-desc {
    color: #374151;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 3px;
    min-height: calc(1.45em * 2);
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.boda-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #6b7280;
    font-size: 12px;
}

.boda-card-date {
    color: #9ca3af;
    font-size: 12px;
}

.boda-card-views {
    color: #64748b;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.boda-eye-icon {
    width: 14px;
    height: 14px;
    display: block;
}

.boda-links-section {
    margin-top: 20px;
    padding-top: 20px;

}

.boda-links-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 1200px;
    max-width: 100%;
    padding-bottom: 4px;
    border-bottom: 1px solid #e5e7eb;
}

.boda-links-title .boda-head-mark {
    align-self: center;
}

.boda-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    line-height: 1.7;
}

.boda-links-list a {
    color: #374151;
    text-decoration: none;
    font-size: 14px;
}

.boda-links-list a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.boda-footer {
    margin-top: 24px;
    background: #ffffff;
    color: #111111;
}

.boda-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px 10px;
}

.boda-footer-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.boda-footer-left {
    flex: 1;
    min-width: 0;
}

.boda-footer-left-line1 {
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #111111;
}

.boda-footer-logo {
    max-width: 120px;
    height: 30px;
    width: auto;
    border-radius: 3px;
    object-fit: contain;
    display: block;
}

.boda-footer-left-line2 {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #111111;
}

.boda-footer-right {
    flex: 0 0 auto;
    text-align: right;
    min-width: 360px;
}

.boda-footer-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 6px;
}

.boda-footer-nav a {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #111111;
    border-radius: 3px;
    color: #111111;
    text-decoration: none;
    font-size: 13px;
}

.boda-footer-nav a:hover {
    border-color: #111111;
    color: #111111;
}

.boda-footer-copy {
    font-size: 13px;
    color: #111111;
    line-height: 1.5;
}

.boda-footer-copy a {
    color: #111111;
    text-decoration: none;
}

.boda-footer-copy a:hover {
    color: #111111;
}

.boda-footer-sep {
    margin: 0 8px;
    color: #111111;
}

@media (max-width: 900px) {
    .boda-footer-grid {
        flex-direction: column;
    }

    .boda-footer-right {
        min-width: 0;
        width: 100%;
        text-align: left;
    }

    .boda-footer-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 1300px) {
    .boda-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .boda-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .boda-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.boda-view-page {
    max-width: 1200px;
    margin: 16px auto 32px;
    padding: 0 12px;
}

.boda-view-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 335px;
    gap: 20px;
    align-items: start;
}

.boda-view-main-col {
    min-width: 0;
}

.boda-view-ad-col {
    width: 335px;
}

.boda-view-ad-slot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 0;
    background:
        linear-gradient(145deg, #ffffff 100%, #f1f5f9 100%);
}

.boda-view-ad-label {
    font-size: 13px;
    color: #94a3b8;
    letter-spacing: 0.06em;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.boda-view-ad-logo {
    max-width: 82%;
    max-height: 85px;
    object-fit: contain;
    opacity: 0.9;
}

.boda-view-ad-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.boda-view-ad-item {
    display: block;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.boda-view-ad-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.boda-hot-box {
    margin-top: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.boda-hot-head {
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eef2f7;
}

.boda-hot-head h3 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #111827;
    font-weight: 500;
}

.boda-hot-mark {
    width: 4px;
    height: 14px;
    background: #0ea5a3;
    border-radius: 2px;
    display: inline-block;
}

.boda-hot-more {
    color: #374151;
    text-decoration: none;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.boda-hot-more:hover {
    color: #0f766e;
}

.boda-hot-more-icon {
    font-size: 14px;
    line-height: 1;
}

.boda-hot-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.boda-hot-item {
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.boda-hot-item:last-child {
    border-bottom: 0;
}

.boda-hot-link {
    flex: 1;
    min-width: 0;
    color: #374151;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.boda-hot-link:hover {
    color: #0f766e;
}

.boda-hot-date {
    flex: 0 0 auto;
    color: #111827;
    font-size: 15px;
}

.boda-hot-empty {
    margin: 0;
    padding: 14px 12px;
    color: #94a3b8;
    font-size: 13px;
}

.boda-tag-box {
    margin-top: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.boda-tag-cloud {
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.boda-tag-link {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #dbe6ef;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.3;
}

.boda-tag-link:hover {
    border-color: #99f6e4;
    background: #f0fdfa;
    color: #0f766e;
}

.boda-view-top {
    --boda-view-cover-h: 230px;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: auto var(--boda-view-cover-h);
    gap: 16px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
    align-items: stretch;
}

.boda-view-cover {
    grid-column: 1;
    grid-row: 2;
    width: 300px;
    height: 100%;
    min-height: var(--boda-view-cover-h);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    box-shadow: inset 0 0 0 1px rgb(15 23 42 / 0.06);
}

.boda-view-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.boda-view-cover-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #3b82f6;
    font-size: 52px;
    font-weight: 600;
    background: linear-gradient(160deg, #eff6ff 0%, #e0e7ff 100%);
}

.boda-view-title {
    margin: 0;
    font-size: clamp(1.25rem, 0.2vw, 1.65rem);
    color: #111827;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.boda-view-title-top {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-bottom: 4px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 0;
    line-height: 1.35;
}

.boda-view-main {
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: var(--boda-view-cover-h);
    min-height: 0;
    overflow: hidden;
}

.boda-view-main-inner {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.boda-view-download-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px dashed #e5e7eb;
}

.boda-view-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.boda-view-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.boda-view-price-row--freebar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.boda-view-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #dc2626;
}

.boda-view-price--free {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 6px 12px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    text-align: center;
}

.boda-view-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.boda-view-badge-vip {
    background: linear-gradient(120deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.boda-view-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin: 6px 0 0;
    flex: 1 1 auto;
    min-height: 0;
    align-content: start;
}

.boda-view-meta-cell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    min-width: 0;
}

.boda-view-meta-k {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.boda-view-meta-v {
    width: 100%;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.boda-view-hint {
    margin: 4px 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #1d4ed8;
    font-size: 12px;
    line-height: 1.35;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.boda-view-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
    flex-shrink: 0;
}

.boda-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 22px;
    border-radius: 8px;
    background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgb(16 185 129 / 0.35);
    border: 1px solid rgb(5 150 105 / 0.35);
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        filter 0.12s ease;
}

.boda-view-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 3px 10px rgb(16 185 129 / 0.4);
}

.boda-view-btn:active {
    transform: translateY(1px);
}

.boda-view-btn-icon {
    font-size: 0.95em;
    opacity: 0.95;
}

.boda-view-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 13px;
    color: #4b5563;
}

.boda-view-download-row .boda-view-stat {
    padding: 4px 8px;
    font-size: 11px;
}

.boda-view-download-row .boda-view-stat-k {
    font-size: 10px;
}

.boda-view-download-row .boda-view-btn {
    padding: 7px 14px;
    font-size: 13px;
}

.boda-view-stat-k {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.boda-view-block {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 22px 22px;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.boda-view-block-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #115e59;
}

.boda-view-block-heading-line {
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
}

.boda-view-block-heading-text {
    letter-spacing: -0.02em;
}

.boda-view-content {
    color: #111827;
    line-height: 1.85;
    font-size: 15px;
}

.boda-view-prose p {
    margin: 0 0 0.85em;
}

.boda-view-prose p:last-child {
    margin-bottom: 0;
}

.boda-view-empty {
    margin: 0;
    padding: 28px 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px dashed #e5e7eb;
}

.boda-view-shots {
    border-radius: 8px;
}

.boda-view-shots img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 12px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgb(15 23 42 / 0.08);
}

.boda-view-shots p {
    margin: 0 0 0.85em;
}

.boda-view-content img {
    max-width: 100%;
    height: auto;
}

/* 登录/注册：四位数字验证码 */
.captcha-digit4-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.captcha-digit4-img {
    display: block;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    vertical-align: middle;
}

.captcha-digit4-line input[type="text"] {
    width: 6rem;
    max-width: 100%;
}

/* —— 登录 / 注册（核心默认页） —— */
.front-auth-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 32px 20px 48px;
    box-sizing: border-box;
}

.front-auth-wrap--plain {
    min-height: 40vh;
}

.front-auth-closed {
    text-align: center;
    margin: 0;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    max-width: 420px;
}

.front-auth-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 28px 28px 24px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow:
        0 1px 2px rgb(15 23 42 / 0.05),
        0 12px 40px rgb(15 23 42 / 0.08);
}

.front-auth-head {
    margin-bottom: 22px;
    text-align: center;
}

.front-auth-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.front-auth-sub {
    margin: 0.45rem 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.front-auth-form .form-row {
    margin-bottom: 0;
    margin-top: 0;
}

.front-auth-form .form-row + .form-row {
    margin-top: 16px;
}

.front-auth-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-align: left;
}

.front-auth-input {
    display: block;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-size: 15px;
    color: #111827;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-sizing: border-box;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.front-auth-input::placeholder {
    color: #9ca3af;
}

.front-auth-input:hover {
    border-color: #d1d5db;
    background: #fff;
}

.front-auth-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.18);
}

.front-auth-form .captcha-digit4-row {
    margin-top: 16px;
}

.front-auth-form .captcha-digit4-row .front-auth-label,
.front-auth-form .captcha-digit4-row label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-align: left;
}

.front-auth-form .captcha-digit4-line {
    gap: 0.75rem;
}

.front-auth-form .captcha-digit4-line input[type="text"] {
    flex: 1;
    min-width: 0;
    max-width: none;
    width: auto;
    height: 44px;
    padding: 0 12px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    box-sizing: border-box;
}

.front-auth-form .captcha-digit4-line input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.18);
}

.front-auth-form .captcha-digit4-hint {
    text-align: left;
    color: #6b7280;
    line-height: 1.45;
}

.front-auth-submit {
    display: block;
    width: 100%;
    margin-top: 22px;
    height: 46px;
    padding: 0 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgb(37 99 235 / 0.35);
    transition:
        filter 0.15s ease,
        transform 0.1s ease,
        box-shadow 0.15s ease;
}

.front-auth-submit:hover {
    filter: brightness(1.05);
    box-shadow: 0 4px 14px rgb(37 99 235 / 0.4);
}

.front-auth-submit:active {
    transform: translateY(1px);
}

.front-auth-foot {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
}

.front-auth-foot a {
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
}

.front-auth-foot a:hover {
    text-decoration: underline;
}

.front-auth-forgot {
    margin: 2px 0 0;
    text-align: right;
    font-size: 0.85rem;
}

.front-auth-forgot a {
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
}

.front-auth-forgot a:hover {
    text-decoration: underline;
}

.front-auth-notice {
    margin: 0 0 18px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: left;
}

.front-auth-notice--ok {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.front-auth-notice--err {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* 注册成功等正向强调（登录页顶栏提示） */
.front-auth-notice--accent {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 55%, #ecfdf5 100%);
    border: 1px solid #6ee7b7;
    border-left-width: 4px;
    border-left-color: #10b981;
    color: #047857;
    box-shadow: 0 2px 14px rgb(16 185 129 / 0.14);
    font-weight: 500;
}

/* 顶栏：已登录 — 头像 + 悬停显示退出 */
.boda-user-menu {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.boda-user-avatar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #6b7280;
    text-decoration: none;
    flex-shrink: 0;
    transition:
        border-color 0.15s ease,
        color 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.boda-user-avatar-link:hover,
.boda-user-menu:focus-within .boda-user-avatar-link {
    border-color: #93c5fd;
    color: #1d4ed8;
    background: #f8fbff;
}

.boda-user-avatar-link.is-active {
    border-color: #3b82f6;
    color: #2563eb;
    background: #eff6ff;
}

.boda-user-avatar-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
}

.boda-user-avatar-svg {
    width: 18px;
    height: 18px;
    display: block;
}

.boda-user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.boda-user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 200;
    padding-top: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition:
        opacity 0.15s ease,
        visibility 0.15s ease,
        transform 0.15s ease;
    pointer-events: none;
}

.boda-user-menu:hover .boda-user-menu-dropdown,
.boda-user-menu:focus-within .boda-user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.boda-user-menu-logout {
    display: block;
    min-width: 88px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #374151;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgb(15 23 42 / 0.12);
}

.boda-user-menu-logout:hover {
    border-color: #fca5a5;
    color: #b91c1c;
    background: #fef2f2;
}

/* —— 用户中心 dashboard（模板 boda/user.php，参考社区中心版式 · 数据为本站会员字段） —— */
.boda-uc {
    /* 与顶栏导航/登录页主按钮一致的蓝色强调 */
    --uc-accent: #2563eb;
    --uc-accent-hover: #1d4ed8;
    /* 与全站 body 底色及白卡片区块一致，避免单页米色纸张底 */
    --uc-paper: #f5f5f5;
    --uc-paper-2: #f3f4f6;
    --uc-card: #ffffff;
    --uc-border: #e5e7eb;
    --uc-side-active-bg: #eff6ff;
    --uc-text: #111827;
    --uc-muted: #6b7280;

    width: 100%;
    min-height: min(70vh, 100%);
    padding: 28px 16px 56px;
    box-sizing: border-box;
    background-color: var(--uc-paper);
    background-image: none;
}

.boda-uc-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.boda-uc-layout {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.boda-uc-sidebar {
    flex: 0 0 220px;
    width: 220px;
    background: var(--uc-card);
    border: 1px solid var(--uc-border);
    border-radius: 12px;
    box-shadow:
        0 4px 18px rgb(15 23 42 / 0.06),
        0 1px 0 rgb(255 255 255 / 0.9) inset;
    overflow: hidden;
}

.boda-uc-side-profile {
    padding: 22px 16px 18px;
    text-align: center;
    border-bottom: 1px solid var(--uc-border);
    background: linear-gradient(180deg, rgb(255 255 255 / 0.65) 0%, transparent 100%);
}

.boda-uc-side-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 50%;
    border: 2px solid var(--uc-border);
    background: linear-gradient(160deg, #60a5fa 0%, #2563eb 100%);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgb(37 99 235 / 0.35);
    line-height: 1;
    overflow: hidden;
}

.boda-uc-side-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--uc-text);
    word-break: break-all;
    line-height: 1.35;
}

.boda-uc-side-nav {
    display: flex;
    flex-direction: column;
}

.boda-uc-side-link {
    display: block;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--uc-text);
    text-align: center;
    text-decoration: none;
    border-top: 1px solid var(--uc-border);
    margin-top: -1px;
    transition:
        background 0.12s ease,
        color 0.12s ease;
}

.boda-uc-side-link:first-of-type {
    border-top: none;
    margin-top: 0;
}

.boda-uc-side-link:hover {
    background: #f3f4f6;
    color: var(--uc-accent);
    text-decoration: none;
}

.boda-uc-side-link.is-active {
    background: var(--uc-side-active-bg);
    color: var(--uc-accent);
    font-weight: 600;
}

.boda-uc-side-link--quiet {
    color: var(--uc-muted);
    font-weight: 400;
    font-size: 13px;
}

.boda-uc-side-link--quiet:hover {
    color: var(--uc-accent-hover);
    text-decoration: none;
}

.boda-uc-main {
    flex: 1;
    min-width: 0;
}

.boda-uc-card {
    background: var(--uc-card);
    border: 1px solid var(--uc-border);
    border-radius: 12px;
    padding: 0 0 22px;
    box-shadow:
        0 6px 28px rgb(15 23 42 / 0.07),
        0 1px 0 rgb(255 255 255 / 0.95) inset;
}

/* 无顶部标签时（资料 / 下载记录 / 会员开通），与有标签时的正文间距对齐 */
.boda-uc-card--no-top-tabs {
    padding-top: 20px;
}

/* —— 用户中心 · 会员开通 —— */
.boda-uc-vip {
    padding: 0 26px 8px;
}

.boda-uc-vip-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-bottom: 14px;
    padding: 14px 16px;
    background: #f9fafb;
    border: 1px solid var(--uc-border);
    border-radius: 10px;
}

.boda-uc-vip-line {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.boda-uc-vip-line-val {
    margin-left: 8px;
    color: var(--uc-text);
}

.boda-uc-vip-hint {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.55;
}

.boda-uc-vip-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.boda-uc-vip-card {
    margin: 0;
    padding: 18px 16px 16px;
    background: #fff;
    border: 1px solid var(--uc-border);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgb(15 23 42 / 0.05);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.boda-uc-vip-card-title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--uc-text);
    text-align: center;
}

.boda-uc-vip-duration {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--uc-muted);
    text-align: center;
}

.boda-uc-vip-price {
    margin: 0 0 14px;
    font-size: 15px;
    text-align: center;
}

.boda-uc-vip-price-num {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--uc-accent);
}

.boda-uc-vip-price-unit {
    font-size: 14px;
    font-weight: 500;
    color: var(--uc-muted);
}

.boda-uc-vip-form {
    margin: auto 0 0;
}

.boda-uc-vip-buy {
    width: 100%;
}

.boda-uc-recharge {
    padding: 0 26px 8px;
    max-width: 100%;
}

.boda-uc-recharge-form .boda-uc-recharge-payrow {
    margin-top: 8px;
}

.boda-uc-recharge-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.boda-uc-recharge-channel {
    flex: 1 1 auto;
    min-width: 120px;
}

.boda-uc-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0 8px;
    padding: 10px 18px 0;
    border-bottom: 1px solid var(--uc-border);
    margin-bottom: 20px;
}

.boda-uc-tab {
    position: relative;
    display: inline-block;
    padding: 12px 14px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--uc-muted);
    text-decoration: none;
    border-radius: 8px 8px 0 0;
    transition:
        color 0.12s ease,
        background 0.12s ease;
}

.boda-uc-tab:hover,
.boda-uc-tab:focus,
.boda-uc-tab:active {
    color: var(--uc-accent);
    background: #f9fafb;
    text-decoration: none;
}

.boda-uc-tab.is-active {
    color: var(--uc-accent);
    font-weight: 600;
}

.boda-uc-tab.is-active::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--uc-accent);
}

.boda-uc-panel {
    padding: 8px 26px 8px;
    max-width: 100%;
}

.boda-uc-panel-lead {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
}

.boda-uc-warn {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
}

.boda-uc-warn code {
    font-size: 12px;
    word-break: break-all;
}

.boda-uc-inline-link {
    color: var(--uc-accent);
    font-weight: 500;
    text-decoration: none;
}

.boda-uc-inline-link:hover {
    text-decoration: underline;
}

.boda-uc-form {
    margin: 0;
}

.boda-uc-field {
    margin-bottom: 16px;
}

.boda-uc-field-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
}

.boda-uc-field-row .boda-uc-input {
    flex: 1 1 160px;
    min-width: 140px;
}

.boda-uc-field-send-code {
    flex: 0 0 auto;
    align-self: stretch;
    white-space: nowrap;
    padding-left: 16px;
    padding-right: 16px;
}

.boda-uc-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--uc-text);
}

.boda-uc-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--uc-text);
    background: #fff;
    border: 1px solid var(--uc-border);
    border-radius: 8px;
}

.boda-uc-input:focus {
    outline: none;
    border-color: var(--uc-accent);
    box-shadow: 0 0 0 2px rgb(37 99 235 / 0.2);
}

.boda-uc-input--file {
    padding: 8px 10px;
    font-size: 14px;
    cursor: pointer;
}

.boda-uc-upload-spec {
    margin: 0 0 18px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #f9fafb 100%);
    border: 1px solid var(--uc-border);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--uc-text);
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.boda-uc-upload-spec-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--uc-text);
}

.boda-uc-panel--avatar .boda-uc-warn {
    margin-bottom: 18px;
}

.boda-uc-upload-spec-list {
    margin: 0;
    padding: 0 0 0 1.15rem;
}

.boda-uc-upload-spec-list li {
    margin: 6px 0 0;
}

.boda-uc-upload-spec-list li:first-child {
    margin-top: 0;
}

.boda-uc-panel--avatar .boda-uc-form {
    padding: 14px 16px;
    border: 1px solid #edf1f5;
    border-radius: 10px;
    background: #fff;
}

.boda-uc-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--uc-text);
    cursor: pointer;
    line-height: 1.45;
}

.boda-uc-check input {
    margin: 3px 0 0;
    flex-shrink: 0;
}

/* —— 用户中心 · 邮箱设置（卡片式排版，背景随全站 .boda-uc，不用米色底） —— */
.boda-uc-panel--email-settings {
    max-width: 100%;
    padding-top: 12px;
    padding-bottom: 20px;
}

.boda-uc-email-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.boda-uc-email-card {
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--uc-border);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgb(15 23 42 / 0.05);
}

.boda-uc-email-card-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--uc-text);
}

.boda-uc-email-status-line {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: baseline;
}

.boda-uc-email-status-line:last-child {
    margin-bottom: 0;
}

.boda-uc-email-status-k {
    color: var(--uc-muted);
    font-weight: 500;
    min-width: 4.5em;
}

.boda-uc-email-status-v {
    color: var(--uc-text);
    font-weight: 500;
    word-break: break-all;
}

.boda-uc-email-status-line--muted .boda-uc-email-status-v {
    color: var(--uc-muted);
    font-weight: 400;
}

.boda-uc-email-steps {
    margin: 0;
    padding: 14px 16px 14px 18px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    border-left: 4px solid var(--uc-accent);
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.boda-uc-email-steps-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--uc-text);
}

.boda-uc-email-steps-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
}

.boda-uc-email-steps-list li {
    margin: 8px 0 0;
}

.boda-uc-email-steps-list li:first-child {
    margin-top: 0;
}

.boda-uc-email-card--form {
    margin-top: 0;
}

.boda-uc-email-verify-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.boda-uc-email-verify-icon {
    color: var(--uc-text);
    display: inline-flex;
    opacity: 0.85;
}

.boda-uc-email-verify-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--uc-text);
}

.boda-uc-email-verify-lead {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.55;
}

.boda-uc-form--email {
    margin: 0;
}

.boda-uc-form--email .boda-uc-field:last-of-type {
    margin-bottom: 0;
}

.boda-uc-btn--block {
    width: 100%;
    box-sizing: border-box;
}

.boda-uc-btn--email-send-spacing {
    margin-top: 10px;
}

.boda-uc-btn--email-send {
    gap: 8px;
    min-height: 46px;
    font-size: 15px;
    border: 1px solid #0f766e;
    background: linear-gradient(180deg, #2dd4bf 0%, #0d9488 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgb(14 165 163 / 0.35);
}

.boda-uc-btn--email-send:hover {
    filter: brightness(1.06);
}

.boda-uc-btn-icon-mail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.boda-uc-btn-icon-mail svg {
    display: block;
}

.boda-uc-actions--email-save {
    margin-top: 16px;
    margin-bottom: 0;
}

.boda-uc-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* —— 用户中心 · 密码设置（布局参考卡片式，背景随全站） —— */
.boda-uc-panel--password-settings {
    max-width: 100%;
    padding-top: 12px;
    padding-bottom: 20px;
}

.boda-uc-pwd-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.boda-uc-pwd-page-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.boda-uc-pwd-page-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgb(37 99 235 / 0.3);
}

.boda-uc-pwd-page-icon svg {
    display: block;
}

.boda-uc-pwd-page-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--uc-text);
    letter-spacing: -0.02em;
}

.boda-uc-pwd-login-card {
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--uc-border);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgb(15 23 42 / 0.05);
}

.boda-uc-pwd-login-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--uc-text);
}

.boda-uc-pwd-login-empty {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

.boda-uc-pwd-login-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.boda-uc-pwd-login-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px 14px;
    padding: 10px 0;
    border-bottom: 1px dotted #d1d5db;
    font-size: 14px;
}

.boda-uc-pwd-login-item:first-child {
    padding-top: 0;
}

.boda-uc-pwd-login-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.boda-uc-pwd-login-icon {
    color: #6b7280;
    display: inline-flex;
    line-height: 0;
}

.boda-uc-pwd-login-ip {
    font-weight: 500;
    color: var(--uc-text);
    word-break: break-all;
}

.boda-uc-pwd-login-time {
    font-size: 13px;
    color: var(--uc-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.boda-uc-pwd-tip {
    margin: 0;
    padding: 12px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.55;
    color: #78350f;
}

.boda-uc-pwd-tip-label {
    font-weight: 600;
}

.boda-uc-pwd-tip-em {
    color: #dc2626;
    font-weight: 500;
}

.boda-uc-pwd-form-wrap {
    padding: 18px 16px;
    background: #f9fafb;
    border: 1px solid var(--uc-border);
    border-radius: 12px;
}

.boda-uc-form--password {
    margin: 0;
}

.boda-uc-field--pwd {
    margin-bottom: 14px;
}

.boda-uc-pwd-input-wrap {
    position: relative;
    display: block;
}

.boda-uc-pwd-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    display: inline-flex;
    line-height: 0;
}

.boda-uc-input--pwd {
    height: 46px;
    padding-left: 42px;
    padding-right: 12px;
}

.boda-uc-input--pwd:focus {
    outline: none;
    border-color: var(--uc-accent);
    box-shadow: 0 0 0 2px rgb(37 99 235 / 0.2);
}

@media (max-width: 480px) {
    .boda-uc-pwd-login-item {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .boda-uc-pwd-login-time {
        grid-column: 2 / -1;
        white-space: normal;
    }
}

.boda-uc-input:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.boda-uc-actions {
    margin-top: 20px;
}

.boda-uc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 9px;
    border: 1px solid var(--uc-border);
    background: #fff;
    color: var(--uc-text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* 双类提高优先级，避免被其后加载或同优先级的 .boda-uc-btn 白底覆盖（头像保存等页面曾出现色差） */
.boda-uc-btn.boda-uc-btn--primary {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-color: #1d4ed8;
    color: #fff;
    box-shadow: 0 2px 6px rgb(37 99 235 / 0.35);
}

.boda-uc-btn.boda-uc-btn--primary:hover {
    filter: brightness(1.05);
}

/* 禁用仍保持与「保存邮箱」同一色相，避免发灰像另一种蓝；仅用透明度区分不可点 */
.boda-uc-btn.boda-uc-btn--primary:disabled {
    cursor: not-allowed;
    opacity: 0.88;
    filter: none;
}

.boda-uc-side-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.boda-uc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
    padding: 0 26px;
}

.boda-uc-dl {
    margin: 0;
}

.boda-uc-dl-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px 16px;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.boda-uc-dl-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.boda-uc-dl dt {
    margin: 0;
    color: var(--uc-muted);
    font-weight: 400;
}

.boda-uc-dl dd {
    margin: 0;
    color: var(--uc-text);
    word-break: break-word;
}

.boda-uc-accent {
    color: var(--uc-accent);
    font-weight: 600;
}

.boda-uc-muted {
    color: var(--uc-muted);
}

.boda-uc-note {
    margin: 18px 26px 0;
    font-size: 12px;
    line-height: 1.55;
}

.boda-uc-empty {
    margin: 8px 26px 0;
    font-size: 14px;
}

.boda-uc-table-shell {
    margin: 0 20px;
}

/* 下载表：沿用 boda-user-table */
.boda-user-table-wrap {
    overflow-x: auto;
    margin: 0 -6px;
    border-radius: 10px;
    border: 1px solid #f3f4f6;
}

.boda-user-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

.boda-user-table thead th {
    text-align: left;
    padding: 12px 14px;
    background: #f9fafb;
    color: #374151;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.boda-user-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: top;
}

.boda-user-table tbody tr:last-child td {
    border-bottom: none;
}

.boda-user-td-time {
    color: #6b7280;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.boda-user-res-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.boda-user-res-link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .boda-uc-layout {
        flex-direction: column;
    }

    .boda-uc-sidebar {
        flex: none;
        width: 100%;
    }

    .boda-uc-split {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .boda-uc-split-col:first-child .boda-uc-dl-row:last-child {
        border-bottom: 1px solid #f3f4f6;
        padding-bottom: 11px;
        margin-bottom: 4px;
    }

    .boda-uc-panel--avatar .boda-uc-form {
        padding: 12px;
    }

    .boda-uc-panel--email-settings {
        padding-left: 16px;
        padding-right: 16px;
    }

    .boda-uc-panel--password-settings {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.front-main:has(.front-auth-wrap) {
    background: linear-gradient(165deg, #eef2ff 0%, #f8fafc 42%, #f1f5f9 100%);
}

@media (max-width: 1200px) {
    .boda-view-layout {
        grid-template-columns: 1fr;
    }

    .boda-view-ad-col {
        width: 100%;
    }

    .boda-view-ad-slot {
        min-height: 200px;
    }
}

@media (max-width: 720px) {
    .boda-view-top {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
        --boda-view-cover-h: 220px;
    }

    .boda-view-cover {
        width: 100%;
        max-width: 360px;
        height: var(--boda-view-cover-h);
        margin: 0 auto;
        align-self: center;
    }

    .boda-view-main {
        min-height: 0;
        width: 100%;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .boda-view-main-inner {
        overflow: visible;
    }

    .boda-view-download-row {
        margin-top: 12px;
    }

    .boda-view-actions {
        margin-top: 0;
        margin-left: auto;
        flex-direction: row;
        width: auto;
    }

    .boda-view-btn {
        width: auto;
    }
}

