@charset "utf-8";

/* 1. 变量 */
:root {
    --lbd-brand: #34495e;
    --lbd-brand-soft: #4a6178;
    --lbd-dark: #101216;
    --lbd-accent: #2f7fe0;
    --lbd-title: #3b5f80;
    --lbd-meta: #4f5b68;
    --lbd-text: #1d2a36;
    --lbd-text-soft: #3f5164;
    --lbd-bg: #f4f6f8;
    --lbd-card: #ffffff;
    --lbd-border: #eceff3;
    --lbd-border-soft: #f0f2f5;
    --lbd-radius: 10px;
    --lbd-shadow: 0 1px 2px rgba(16, 18, 22, .04), 0 6px 18px rgba(16, 18, 22, .05);
    --lbd-container: 1220px;
    --lbd-header-h: 64px;
    --lbd-font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
                "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* 2. 基础 */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;

    scrollbar-gutter: stable;
}

body {
    margin: 0;
    font-family: var(--lbd-font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--lbd-text);
    background: var(--lbd-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; border: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; }
p { margin: 0 0 12px; }
button, input, textarea, select { font: inherit; color: inherit; }
input, textarea, select, button { outline-color: var(--lbd-accent); }

.lbd-container {
    width: 100%;
    max-width: var(--lbd-container);
    margin: 0 auto;
    padding: 0 16px;
}

.lbd-sr {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.lbd-ico {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -.14em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

/* 3. 顶栏 */
.lbd-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--lbd-border);
}

.lbd-header__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    height: var(--lbd-header-h);
}

.lbd-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-size: 19px;
    font-weight: 800;
    color: var(--lbd-brand);
    letter-spacing: .3px;
}

.lbd-brand__logo { height: 32px; width: auto; }

.lbd-brand__mark {
    width: 34px; height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3d5a80, #22303f);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.lbd-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.lbd-nav::-webkit-scrollbar { display: none; }

.lbd-nav__link {
    position: relative;
    padding: 8px 13px;
    font-size: 15px;
    font-weight: 700;
    color: var(--lbd-brand);
    white-space: nowrap;
    border-radius: 8px;
    transition: background .18s ease, color .18s ease;
}
.lbd-nav__link:hover { background: #f1f5f9; }
.lbd-nav__link.is-current { color: var(--lbd-accent); }
.lbd-nav__link.is-current::after {
    content: "";
    position: absolute;
    left: 13px; right: 13px; bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--lbd-accent);
}

.lbd-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.lbd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;

    background: var(--lbd-border-soft);
    color: var(--lbd-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: filter .18s ease, transform .18s ease, background .18s ease;
}
.lbd-btn:active { transform: translateY(1px); }

.lbd-btn:hover { background: var(--lbd-border); }

.lbd-btn--primary { background: var(--lbd-accent); color: #fff; }
.lbd-btn--dark { background: var(--lbd-brand); color: #fff; }
.lbd-btn--primary:hover { background: var(--lbd-accent); filter: brightness(1.1); }
.lbd-btn--dark:hover { background: var(--lbd-brand); filter: brightness(1.15); }
.lbd-btn--sm { height: 30px; padding: 0 13px; font-size: 13px; }
.lbd-btn--block { display: flex; width: 100%; }

.lbd-btn--icon { gap: 8px; }
.lbd-btn--icon .lbd-ico { width: 26px; height: 26px; }

.lbd-btn--ghost { background: transparent; padding: 0 6px; }
.lbd-btn--ghost:hover { background: transparent; color: var(--lbd-accent); }

/* 4. 顶部搜索大图 */
.lbd-hero {
    background-color: var(--lbd-dark);
    background-image: url("../img/hero-bg.svg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 58px 0 62px;
}

.lbd-hero__inner { max-width: 780px; margin: 0 auto; padding: 0 16px; }

.lbd-hero__title {
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 10%, #bcd4ff 55%, #7fb0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lbd-hero__title a { color: inherit; }

.lbd-hero__desc {
    margin: 0 0 24px;
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
}

.lbd-searchbox {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 5px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .3);
    transition: box-shadow .18s ease;
}

.lbd-searchbox:focus-within {
    box-shadow: 0 12px 34px rgba(0, 0, 0, .3), 0 0 0 3px rgba(47, 127, 224, .28);
}

.lbd-searchbox__input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    padding: 10px 18px;
    font-size: 15px;
    color: #222;
    -webkit-appearance: none;
    appearance: none;
}
.lbd-searchbox__input::placeholder { color: #a7b0bb; }

.lbd-searchbox__input::-webkit-search-cancel-button,
.lbd-searchbox__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

.lbd-searchbox__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 10px 26px;
    background: var(--lbd-brand);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: background .18s ease;
}
.lbd-searchbox__btn:hover { background: #2c3e50; color: #fff; }

.lbd-hero__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.lbd-hero__tags a {
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}
.lbd-hero__tags a:hover { background: rgba(255, 255, 255, .22); }

/* 5. 主体两栏 */
.lbd-main { padding: 22px 0 40px; }

.lbd-grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.lbd-grid--full { grid-template-columns: minmax(0, 1fr); }

.lbd-card {
    background: var(--lbd-card);
    border: 1px solid var(--lbd-border);
    border-radius: var(--lbd-radius);
    box-shadow: var(--lbd-shadow);
    overflow: hidden;
}
.lbd-card + .lbd-card { margin-top: 16px; }

.lbd-side { position: static; }
body.lbd-side-sticky .lbd-side { position: sticky; top: calc(var(--lbd-header-h) + 16px); }

.lbd-usercard__head {
    height: 80px;
    background: url("../img/card-head.svg") center / cover no-repeat;
}
.lbd-usercard__body {
    margin-top: -44px;
    padding: 0 16px 14px;
    text-align: center;
}
.lbd-usercard__avatar {
    width: 78px; height: 78px;
    margin: 0 auto;
    border-radius: 16px;
    border: 3px solid #fff;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 3px 10px rgba(16, 18, 22, .14);
}
.lbd-usercard__name {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--lbd-brand);
}
.lbd-usercard__desc {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--lbd-meta);
}
.lbd-usercard__btns {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 4px;
}
.lbd-usercard__bar {
    display: flex;
    border-top: 1px solid var(--lbd-border-soft);
    margin-top: 12px;
}
.lbd-usercard__bar li {
    flex: 1;
    padding: 10px 4px;
    text-align: center;
    font-size: 12px;
    color: var(--lbd-meta);
    line-height: 1.4;
}
.lbd-usercard__bar li + li { border-left: 1px solid var(--lbd-border-soft); }
.lbd-usercard__bar b {
    display: block;
    font-size: 15px;
    color: var(--lbd-brand);
}

.lbd-sidenav__head {
    display: block;
    padding: 13px 12px;
    background: #007bfe;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}
.lbd-sidenav__head:hover { background: #0069d9; color: #fff; }
.lbd-sidenav__list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--lbd-border-soft);
    font-size: 15px;
    font-weight: 600;
    color: var(--lbd-brand);
    transition: background .16s ease, color .16s ease;
}
.lbd-sidenav__list li:last-child a { border-bottom: 0; }
.lbd-sidenav__list li a:hover { background: #f6f9fc; }
.lbd-sidenav__list li.is-current a { background: #eef4fc; color: var(--lbd-accent); }
.lbd-sidenav__list .lbd-ico { font-size: 18px; color: var(--lbd-meta); }
.lbd-sidenav__list li.is-current .lbd-ico { color: var(--lbd-accent); }
.lbd-sidenav__count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 500;
    color: #a3aeb9;
}

.lbd-widget__title {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--lbd-border-soft);
    font-size: 15px;
    font-weight: 700;
    color: var(--lbd-brand);
}
.lbd-widget__body { padding: 12px 16px; }
.lbd-mini li a {
    display: flex;
    gap: 8px;
    padding: 7px 0;
    font-size: 14px;
    color: var(--lbd-text-soft);
    border-bottom: 1px dashed var(--lbd-border-soft);
}
.lbd-mini li:last-child a { border-bottom: 0; }
.lbd-mini .lbd-mini__idx {
    flex: 0 0 20px;
    height: 20px;
    border-radius: 5px;
    background: #eef2f7;
    color: var(--lbd-meta);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.lbd-mini li:nth-child(1) .lbd-mini__idx { background: #e74c3c; color: #fff; }
.lbd-mini li:nth-child(2) .lbd-mini__idx { background: #f39c12; color: #fff; }
.lbd-mini li:nth-child(3) .lbd-mini__idx { background: #3498db; color: #fff; }
.lbd-mini__t {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 6. 列表表头 / 面包屑 */
.lbd-headline {
    display: grid;
    grid-template-columns: minmax(0, 7fr) 2fr 3fr;
    padding: 14px 18px;
    background: var(--lbd-brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--lbd-radius) var(--lbd-radius) 0 0;
}
.lbd-headline span {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.lbd-headline span + span {
    border-left: 1px solid rgba(255, 255, 255, .26);
    padding-left: 16px;
}

.lbd-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 18px;
    background: #f8f9fa;
    border: 1px solid var(--lbd-border);
    border-top: 0;
    font-size: 14px;
    color: #8c8c8c;
}
.lbd-crumbs .lbd-ico { font-size: 13px; }
.lbd-crumbs a:hover { opacity: .75; }
.lbd-crumbs__sep { color: #c3ccd5; }

/* 7. 资源卡片流 */
.lbd-posts {
    background: var(--lbd-card);
    border: 1px solid var(--lbd-border);
    border-top: 0;
    border-radius: 0 0 var(--lbd-radius) var(--lbd-radius);
    overflow: hidden;
}

.lbd-post {
    display: grid;
    grid-template-columns: minmax(0, 7fr) 2fr 3fr;
    border-top: 1px solid var(--lbd-border-soft);
    transition: background .18s ease;
}
.lbd-post:first-child { border-top: 0; }
.lbd-post:hover { background: #fafbfd; }

.lbd-headline,
.lbd-post { grid-template-columns: minmax(0, 7fr) 2fr 3fr; }

.lbd-headline.has-down,
.lbd-posts.has-down .lbd-post { grid-template-columns: minmax(0, 7fr) 3fr; }

.lbd-headline.has-side,
.lbd-posts.has-side .lbd-post { grid-template-columns: minmax(0, 7fr) 2fr; }

.lbd-headline.has-side.has-down,
.lbd-posts.has-side.has-down .lbd-post { grid-template-columns: minmax(0, 7fr) 2fr 3fr; }

.lbd-post__main {
    display: flex;
    gap: 16px;
    padding: 16px 18px;
    min-width: 0;
}
.lbd-post__thumb {
    flex: 0 0 100px;
    width: 100px; height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f4f7;
}
.lbd-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lbd-post__body { min-width: 0; flex: 1 1 auto; }

.lbd-post__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
}
.lbd-post__title a { display: inline; }

.lbd-post__excerpt {
    margin: 0 0 9px;
    font-size: 13px;
    color: var(--lbd-meta);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lbd-post__excerpt p { margin: 0; }

.lbd-post__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 13px;
    color: var(--lbd-meta);
}
.lbd-post__meta > * { display: inline-flex; align-items: center; gap: 4px; }
.lbd-post__meta .lbd-ico { font-size: 14px; }
.lbd-post__meta .lbd-post__author { color: #222; }

.lbd-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #28a745;
    line-height: 1.6;
}
.lbd-badge:hover { color: #fff; filter: brightness(1.08); }
.lbd-badge--info { background: #17a2b8; }
.lbd-badge--warn { background: #f0ad4e; }
.lbd-badge--dark { background: var(--lbd-brand); }
.lbd-badge--blue { background: #2f7fe0; }

.lbd-post__side {
    padding: 16px 14px;
    border-left: 1px solid var(--lbd-border-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lbd-title);
}
.lbd-post__side span { display: block; }
.lbd-post__side span + span { margin-top: 2px; }

.lbd-post__down {
    padding: 16px 14px;
    border-left: 1px solid var(--lbd-border-soft);
    display: flex;
    align-items: center;
    min-width: 0;
}

.lbd-panlist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}
.lbd-panlist li { flex: 0 0 auto; }
.lbd-panlist a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--lbd-title);
    line-height: 1.3;
}
.lbd-panlist img,
.lbd-panlist .lbd-pan__ico,
.lbd-panlist svg.lbd-pan-ico {
    width: 50px; height: 50px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(16, 18, 22, .1);
    transition: transform .18s ease;
}
.lbd-panlist a:hover img,
.lbd-panlist a:hover .lbd-pan__ico,
.lbd-panlist a:hover svg.lbd-pan-ico { transform: translateY(-2px); }
.lbd-pan__name {
    max-width: 62px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lbd-nodown {
    font-size: 13px;
    color: #6d7b8a;
}

.lbd-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--lbd-meta);
    font-size: 15px;
}
.lbd-empty .lbd-ico { font-size: 40px; color: #cfd8e0; display: block; margin: 0 auto 12px; }

.lbd-empty--art { padding: 24px 20px 28px; }
.lbd-empty__art { display: block; width: 160px; height: auto; margin: 0 auto 4px; }
.lbd-empty--art p { margin: 0; font-size: 14px; color: #9aa6b2; }

/* 8. 分页 */
.lbd-pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.lbd-pager a,
.lbd-pager > span,
.lbd-pager .current,
.lbd-pager .page-navigator li a,
.lbd-pager .page-navigator li span {
    min-width: 38px;
    height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--lbd-brand);
    border: 1px solid var(--lbd-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background .16s ease, border-color .16s ease;
}
.lbd-pager a:hover,
.lbd-pager .page-navigator li a:hover {
    background: var(--lbd-accent);
    border-color: var(--lbd-accent);
    color: #fff;
}

.lbd-pager .current,
.lbd-pager .page-navigator li.current a,
.lbd-pager .page-navigator li.current span {
    background: var(--lbd-accent);
    border-color: var(--lbd-accent);
    color: #fff;
}

.lbd-pager .page-navigator {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lbd-pager--simple .page-navigator li { display: none; }
.lbd-pager--simple .page-navigator li.prev,
.lbd-pager--simple .page-navigator li.next { display: block; }

.lbd-pager--simple .page-navigator li:not(:has(a)) { display: none; }

.lbd-pager--simple .page-navigator li.prev a,
.lbd-pager--simple .page-navigator li.next a {
    min-width: 104px;
    padding: 0 24px;
    height: 40px;
}

.lbd-pager:empty { display: none; }

/* 9. 详情页 */
.lbd-single {
    background: var(--lbd-card);
    border: 1px solid var(--lbd-border);
    border-top: 0;
    border-radius: 0 0 var(--lbd-radius) var(--lbd-radius);
    padding: 22px;
}

.lbd-single__head { border-bottom: 1px solid var(--lbd-border-soft); padding-bottom: 16px; margin-bottom: 18px; }
.lbd-single__title { font-size: 22px; font-weight: 800; color: var(--lbd-brand); margin: 0 0 10px; }
.lbd-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: var(--lbd-meta);
}
.lbd-single__meta > * { display: inline-flex; align-items: center; gap: 5px; }
.lbd-single__author { color: #222; }

.lbd-single__thumb { margin: 0 0 18px; text-align: center; }
.lbd-single__thumb img {
    display: inline-block;
    max-width: 200px;
    border-radius: 10px;
}

.lbd-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 0 0 18px;
    padding: 14px 16px;
    background: #f7f9fc;
    border: 1px solid var(--lbd-border-soft);
    border-radius: 10px;
}
.lbd-info div { font-size: 14px; color: var(--lbd-meta); }
.lbd-info b { display: block; color: var(--lbd-brand); font-size: 15px; font-weight: 700; }

.lbd-maincol { min-width: 0; }

.lbd-content {
    font-size: 15px;
    line-height: 1.85;

    color: var(--lbd-text);
    word-wrap: break-word;
}
.lbd-content h2, .lbd-content h3, .lbd-content h4 {
    margin: 22px 0 12px;

    color: var(--lbd-title);
}
.lbd-content h2 { font-size: 19px; }
.lbd-content h3 { font-size: 17px; }
.lbd-content p { margin: 0 0 14px; }
.lbd-content img { border-radius: 8px; margin: 8px 0; }
.lbd-content a { color: var(--lbd-accent); }
.lbd-content ul, .lbd-content ol { margin: 0 0 14px; padding-left: 22px; }
.lbd-content ul { list-style: disc; }
.lbd-content ol { list-style: decimal; }
.lbd-content li { margin: 4px 0; }
.lbd-content blockquote {
    margin: 14px 0;
    padding: 10px 16px;
    border-left: 3px solid var(--lbd-brand);
    background: #f7f9fb;
    color: var(--lbd-text-soft);
    border-radius: 0 8px 8px 0;
}

.lbd-content pre {
    position: relative;
    margin: 18px 0;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 10px;
    padding: 16px 18px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
        "Liberation Mono", monospace;
    font-size: 13px;
    line-height: 1.75;
    color: #c9d1d9;

    scrollbar-width: thin;
    scrollbar-color: #30363d transparent;
}
.lbd-content pre::-webkit-scrollbar { height: 8px; width: 8px; }
.lbd-content pre::-webkit-scrollbar-thumb { background: #30363d; border-radius: 999px; }

.lbd-content pre:has(code[class*="lang-"]) {
    padding-top: 42px;
}

.lbd-content pre code {
    background: transparent;
    padding: 0;
    border: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.lbd-content pre code.hljs {
    display: block;
    padding: 0;
}

.lbd-content :not(pre) > code,
.lbd-content p code,
.lbd-content li code,
.lbd-content td code,
.lbd-content blockquote code {
    background: #eef1f6;
    color: #c7254e;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.88em;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

.lbd-code-lang {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    border-radius: 10px 0 10px 0;
    background: #21262d;
    color: #8b949e;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    letter-spacing: .5px;
    text-transform: lowercase;
    user-select: none;
}
.lbd-content table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.lbd-content th, .lbd-content td { border: 1px solid var(--lbd-border); padding: 8px 10px; }
.lbd-content th { background: #f5f8fb; }
.lbd-content hr { border: 0; border-top: 1px solid var(--lbd-border); margin: 20px 0; }

.lbd-downbox {
    margin-top: 22px;
    padding: 18px;
    border: 1px dashed #ccd7e2;
    border-radius: 12px;
    background: #fbfcfe;
}
.lbd-downbox__title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    font-weight: 700;
    color: var(--lbd-brand);
    margin-bottom: 14px;
}
.lbd-downbox__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.lbd-downbox__list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: #fff;
    border: 1px solid var(--lbd-border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lbd-title);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.lbd-downbox__list a:hover {
    border-color: var(--lbd-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(47, 127, 224, .14);
}
.lbd-downbox__list img,
.lbd-downbox__list .lbd-pan__ico,
.lbd-downbox__list svg.lbd-pan-ico { width: 52px; height: 52px; border-radius: 8px; flex: 0 0 auto; }

.lbd-pan__pwd {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    padding: 2px 9px;
    background: #f1f5fa;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    color: #8b97a3;
    transition: background .16s ease;
}
.lbd-pan__pwd:hover { background: #e6eef9; }
.lbd-pan__pwdlabel { white-space: nowrap; }
.lbd-pan__pwd code {
    font-family: ui-monospace, SFMono-Regular, Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--lbd-accent);
    cursor: pointer;
    user-select: all;
}

.lbd-pwd {
    margin-top: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: var(--lbd-text-soft);
}
.lbd-pwd code {
    padding: 4px 12px;
    background: #fff;
    border: 1px solid var(--lbd-border);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--lbd-brand);
    cursor: pointer;
    user-select: all;
}

.lbd-tips {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff8e6;
    border: 1px solid #f5e2b8;
    color: #8a6d3b;
    font-size: 13px;
    line-height: 1.7;
}

.lbd-tips--notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 14px;
    color: #7a5518;
    font-size: 13.5px;
}

.lbd-tips--notice svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
}

body.lbd-dark .lbd-tips--notice {
    background: #33291a;
    border-color: #4a3b22;
    color: #e8cf9a;
}

.lbd-content time,
.lbd-post__meta time,
.lbd-single__meta time,
.lbd-comment__time time { cursor: help; }

.lbd-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.lbd-tags a {
    padding: 4px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--lbd-title);
    font-size: 13px;
}
.lbd-tags a:hover { background: var(--lbd-accent); color: #fff; }

.lbd-related { margin-top: 24px; }
.lbd-related__title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 13px;
    font-size: 16px;
    font-weight: 700;
    color: var(--lbd-brand);
}
.lbd-related__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}
.lbd-related__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--lbd-border);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 18, 22, .03);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.lbd-related__item:hover {
    border-color: var(--lbd-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 127, 224, .13);
}
.lbd-related__thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background: #f4f6f9;
    border: 1px solid var(--lbd-border-soft);
}
.lbd-related__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lbd-related__thumb .lbd-ico { font-size: 22px; color: #b9c4cf; }
.lbd-related__t {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--lbd-title);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s ease;
}
.lbd-related__item:hover .lbd-related__t { color: var(--lbd-accent); }

/* 10. 评论 */
.lbd-comments { margin-top: 22px; background: var(--lbd-card); border: 1px solid var(--lbd-border); border-radius: var(--lbd-radius); overflow: hidden; }
.lbd-comments__title {
    padding: 14px 18px;
    border-bottom: 1px solid var(--lbd-border-soft);
    font-size: 16px;
    font-weight: 700;
    color: var(--lbd-brand);
    display: flex;
    align-items: center;
    gap: 7px;
}
.lbd-comments__body { padding: 16px 18px; }

.lbd-comments__count {
    display: inline-flex;
    align-items: center;
    margin-bottom: 4px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #eef4fd;
    color: var(--lbd-accent);
    font-size: 13px;
    font-weight: 700;
}

.lbd-comment {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--lbd-border-soft);
}
.lbd-comment:last-child { border-bottom: 0; }
.lbd-comment__avatar {
    width: 42px; height: 42px;
    border-radius: 10px;
    object-fit: cover;
    background: #eef2f7;
    box-shadow: 0 1px 4px rgba(16, 18, 22, .09);
}
.lbd-comment__main { min-width: 0; }

.lbd-comment > .respond {
    grid-column: 2;
    margin: 10px 0 14px;
    padding: 16px 18px;
    background: var(--lbd-card);
    border: 1px solid var(--lbd-border);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(16, 18, 22, .06);
}
.lbd-comment > .respond .lbd-form { margin-top: 0; }

.lbd-respond__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 24px;
    margin-bottom: 14px;
}
.lbd-respond__to { font-size: 13px; font-weight: 700; color: var(--lbd-meta); }
.lbd-respond__to.is-reply { color: var(--lbd-accent); }

#cancel-comment-reply-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: #eef2f7;
    color: var(--lbd-meta);
    font-size: 12px;
    font-weight: 600;
    transition: background .15s ease, color .15s ease;
}
#cancel-comment-reply-link:hover { background: #fdeaea; color: #c0392b; }

.lbd-comment__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.lbd-comment__author { font-size: 17px; font-weight: 700; color: var(--lbd-brand); }

.lbd-comment__author--link { text-decoration: none; transition: color .16s ease; }
.lbd-comment__author--link:hover { color: var(--lbd-accent); text-decoration: underline; }

.lbd-comment__site {
    display: inline-flex;
    align-items: center;
    color: var(--lbd-meta);
    line-height: 1;
    transition: color .16s ease;
}
.lbd-comment__site .lbd-ico { width: 14px; height: 14px; }
.lbd-comment__site:hover { color: var(--lbd-accent); }

.lbd-comment__badge {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.lbd-badge-ico { width: 26px; height: 26px; }
.lbd-comment__badge--admin .lbd-badge-ico { width: 66px; height: 23px; }
.lbd-comment__badge--guest .lbd-badge-ico { width: 44px; height: 21px; }
.lbd-comment__badge--user .lbd-badge-ico { width: 44px; height: 23px; }
.lbd-comment__badge--admin { color: #d97a16; }
.lbd-comment__badge--guest { color: #7a8794; }
.lbd-comment__badge--user { color: var(--lbd-accent); }

.lbd-comment__time { font-size: 13px; color: #a9b4bf; }
.lbd-comment__reply { margin-left: auto; }
.lbd-comment__reply a {
    display: inline-flex;
    align-items: center;
    padding: 3px 11px;
    border-radius: 999px;
    color: var(--lbd-meta);
    font-size: 13px;
    transition: background .15s ease, color .15s ease;
}
.lbd-comment__reply a:hover { background: #eaf2fe; color: var(--lbd-accent); }

.lbd-comment__text {
    margin: 7px 0 0;
    font-size: 15.5px;
    line-height: 1.78;
    color: #3f4f5e;
    word-wrap: break-word;
}

.lbd-comment__children {
    margin: 10px 0 4px;
    padding: 6px 14px;
    background: #f4f7fa;
    border-radius: 10px;
}
.lbd-comment__children .lbd-comment { padding: 10px 0; }
.lbd-comment__children .lbd-comment:last-child { border-bottom: 0; }

.lbd-form { margin-top: 18px; }
.lbd-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 12px; }
.lbd-form input[type="text"],
.lbd-form input[type="email"],
.lbd-form input[type="url"],
.lbd-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--lbd-border);
    border-radius: 9px;
    background: #fff;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.lbd-form input:focus,
.lbd-form textarea:focus {
    border-color: var(--lbd-accent);
    box-shadow: 0 0 0 3px rgba(47, 127, 224, .12);
    outline: 0;
}
.lbd-form textarea { min-height: 110px; resize: vertical; }
.lbd-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lbd-form__hint { font-size: 13px; color: var(--lbd-meta); }

/* 11. 页脚 / 悬浮条 */
.lbd-footer {
    background: #fff;
    border-top: 1px solid var(--lbd-border);
    color: #6d7b8a;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}
.lbd-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
}
.lbd-footer__links a { color: var(--lbd-meta); font-weight: 500; }
.lbd-footer__links a:hover { opacity: .75; }
.lbd-footer__copy,
.lbd-footer__note { line-height: 1.9; }

.lbd-footer__beian {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 18px;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.9;
}
.lbd-beian { color: var(--lbd-meta); }
.lbd-beian:hover { opacity: .75; }
.lbd-beian,
.lbd-beian--police { display: inline-flex; align-items: center; gap: 5px; }

.lbd-beian__ico {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    display: block;
}

.lbd-rollbar {
    position: fixed;

    right: max(16px, calc((100% - var(--lbd-container)) / 2 - 60px));
    bottom: 26px;
    z-index: 150;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lbd-rollbar a,
.lbd-rollbar button {
    width: 44px; height: 44px;
    border: 1px solid var(--lbd-border);
    border-radius: 12px;
    background: #fff;
    color: var(--lbd-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 16px rgba(16, 18, 22, .12);
    transition: transform .18s ease, color .18s ease;
}
.lbd-rollbar a:hover,
.lbd-rollbar button:hover { transform: translateY(-2px); }
.lbd-rollbar .lbd-ico { font-size: 20px; }

.lbd-ico--fill { fill: currentColor; stroke: none; }
.lbd-ico--img { stroke: none; object-fit: contain; }

/* 11b. 悬浮按钮弹窗 */
.lbd-dialog {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lbd-dialog.is-open { display: flex; }
.lbd-dialog__mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 22, 30, .5);
}
.lbd-dialog__card {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 88vh;
    overflow-y: auto;
    background: var(--lbd-card, #fff);
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(10, 16, 24, .28);
    animation: lbdDialogIn .18s ease;
}
@keyframes lbdDialogIn {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to   { opacity: 1; transform: none; }
}
.lbd-dialog__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6d7b8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
}
.lbd-dialog__close:hover { background: #f1f4f8; color: #4a5763; }

.lbd-dialog__card--qr { padding: 34px 28px 26px; text-align: center; }
.lbd-dialog__qr {
    display: block;
    width: 240px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
}
.lbd-dialog__gzhname {
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--lbd-meta);
}

.lbd-qr-wrap { position: relative; display: inline-flex; }
.lbd-qr-pop {
    position: absolute;
    right: calc(100% + 12px);
    bottom: 0;
    width: 212px;
    padding: 13px 15px 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 34px rgba(10, 16, 24, .2);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
    pointer-events: none;
    z-index: 20;
}

.lbd-qr-pop::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 0;
    bottom: 0;
    width: 12px;
}

.lbd-qr-pop::after {
    content: '';
    position: absolute;
    left: 100%;
    bottom: 14px;
    border: 8px solid transparent;
    border-left-color: #fff;
}
.lbd-qr-wrap:hover .lbd-qr-pop {
    opacity: 1;
    visibility: visible;
}
.lbd-qr-pop__title {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lbd-title);
    text-align: left;
}
.lbd-qr-pop__img {
    display: block;
    width: 100%;
    border-radius: 6px;
}
body.lbd-dark .lbd-qr-pop { background: #1b2028; }
body.lbd-dark .lbd-qr-pop::after { border-left-color: #1b2028; }
body.lbd-dark .lbd-qr-pop__title { color: #e6ebf2; }

.lbd-dialog__head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--lbd-border-soft);
}
.lbd-dialog__title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    font-weight: 700;
    color: var(--lbd-title);
}
.lbd-dialog__title .lbd-ico { font-size: 18px; color: var(--lbd-title); }
.lbd-dialog__card--pref .lbd-dialog__close { top: 14px; }
.lbd-dialog__body { padding: 18px 20px 16px; }
.lbd-dialog__q { margin: 0 0 12px; font-size: 15px; color: var(--lbd-text); }
.lbd-dialog__opt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 14.5px;
    color: var(--lbd-text);
    cursor: pointer;
}
.lbd-dialog__opt input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--lbd-accent);
    cursor: pointer;
}
.lbd-dialog__note {
    margin: 14px 0 0;
    padding: 11px 14px;
    border-radius: 8px;
    background: #eef4fd;
    border: 1px solid #dbe8fb;
    color: #4a6b94;
    font-size: 13px;
    line-height: 1.7;
}
.lbd-dialog__foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px 18px;
}
.lbd-dialog__btn {
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: filter .15s ease, background .15s ease;
}
.lbd-dialog__btn--ghost { background: #6c757d; color: #fff; }
.lbd-dialog__btn--ghost:hover { filter: brightness(.92); }
.lbd-dialog__btn--primary { background: var(--lbd-accent, #2f7fe0); color: #fff; }
.lbd-dialog__btn--primary:hover { filter: brightness(1.08); }

body.lbd-dark .lbd-dialog__card { background: #1b2028; }
body.lbd-dark .lbd-dialog__head { border-bottom-color: #2a313b; }
body.lbd-dark .lbd-dialog__title,
body.lbd-dark .lbd-dialog__q,
body.lbd-dark .lbd-dialog__opt { color: #e6ebf2; }
body.lbd-dark .lbd-dialog__note { background: #1e2a3a; border-color: #2c3d54; color: #9dc0ea; }
body.lbd-dark .lbd-dialog__close:hover { background: #242b34; color: #cfd8e2; }

/* 12. 公告条 */

.lbd-announce { padding: 0; }
.lbd-card__head {
    display: block;
    padding: 13px 12px;
    background: #007bfe;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}
.lbd-announce__body {
    padding: 14px 16px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--lbd-text);
    min-width: 0;
    word-break: break-word;
}

.lbd-announce__text p { margin: 0 0 8px; }
.lbd-announce__text ul,
.lbd-announce__text ol {
    list-style: disc;
    margin: 0 0 8px;
    padding-left: 18px;
}
.lbd-announce__text ol { list-style: decimal; }
.lbd-announce__text li { margin: 0 0 4px; }
.lbd-announce__text a { color: var(--lbd-accent); }
.lbd-announce__text > :last-child { margin-bottom: 0; }

/* 12b. 列表标题行内展开 */
.lbd-expand {
    height: 0;
    overflow: hidden;
    background: #fafbfd;
    box-shadow: inset 0 1px 0 var(--lbd-border-soft);

    transition: height .3s cubic-bezier(.2, .85, .3, 1);
}
.lbd-expand.is-open { height: auto; }

.lbd-expand__inner {
    max-height: 600px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 20px 22px;
}

.lbd-post.is-open { background: #fafbfd; }

.lbd-post.is-loading .lbd-post__title a { opacity: .55; }

.lbd-expand__tip { margin: 0; color: var(--lbd-meta); font-size: 14px; }
.lbd-expand__tip a { color: var(--lbd-accent); }

.lbd-expand__inner .lbd-downbox { margin-top: 22px; }

body.lbd-dark .lbd-expand { background: #1a1e24; box-shadow: inset 0 1px 0 #2a3038; }
body.lbd-dark .lbd-post.is-open { background: #20252c; }
body.lbd-dark .lbd-expand__inner { color: #c8d2dc; }

/* 13. 响应式 */
@media (max-width: 1080px) {
    .lbd-grid { grid-template-columns: 1fr; }

    .lbd-side,
    body.lbd-side-sticky .lbd-side { position: static; top: auto; }

    .lbd-sidenav__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 12px;
    }
    .lbd-sidenav__list li { flex: 1 1 96px; max-width: 180px; }
    .lbd-sidenav__list li a {
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 14px 6px 12px;
        border-bottom: 0;
        border-radius: 12px;
        background: #f7f9fc;
        font-size: 13px;
        text-align: center;
        white-space: nowrap;
    }
    .lbd-sidenav__list li:last-child a { border-bottom: 0; }
    .lbd-sidenav__list .lbd-ico { font-size: 22px; }
    .lbd-sidenav__count { margin-left: 0; font-size: 11px; }
}

@media (max-width: 860px) {
    :root { --lbd-header-h: 58px; }
    .lbd-header__inner { gap: 12px; }
    .lbd-headline { display: none; }

    .lbd-header__inner { position: relative; justify-content: flex-end; }

    .lbd-nav { display: none; }
    .lbd-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        max-width: 58%;
    }

    .lbd-side { display: block; margin-bottom: 14px; }
    .lbd-side .lbd-card { margin-bottom: 0; }
    .lbd-side .lbd-card + .lbd-card { margin-top: 14px; }

    .lbd-sidenav__head { display: none; }

    .lbd-post,
    .lbd-posts.has-side .lbd-post,
    .lbd-posts.has-down .lbd-post,
    .lbd-posts.has-side.has-down .lbd-post {
        grid-template-columns: minmax(0, 1fr);
    }

    .lbd-post__main { gap: 12px; padding: 12px 14px 10px; }
    .lbd-post__thumb { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 10px; }
    .lbd-post__title { font-size: 15.5px; margin-bottom: 5px; }
    .lbd-post__excerpt { font-size: 12.5px; margin-bottom: 6px; }
    .lbd-post__meta { font-size: 12px; gap: 6px 10px; }
    .lbd-post__meta .lbd-ico { font-size: 13px; }

    .lbd-post__side { display: none; }
    .lbd-meta__author,
    .lbd-meta__views { display: none; }

    .lbd-post__down {
        padding: 10px 14px 14px;
        border: 0;
        border-top: 1px solid var(--lbd-border-soft);
    }
    .lbd-panlist { gap: 8px 12px; }
    .lbd-panlist img,
    .lbd-panlist .lbd-pan__ico,
    .lbd-panlist svg.lbd-pan-ico { width: 42px; height: 42px; border-radius: 6px; }
    .lbd-pan__name { max-width: 54px; font-size: 11.5px; }
    .lbd-nav__link { padding: 7px 10px; font-size: 14.5px; }

    .lbd-hero { padding: 36px 0 40px; }
    .lbd-hero__title { font-size: 26px; }
    .lbd-single { padding: 16px; }

    .lbd-info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 14px;
        padding: 12px 14px;
    }
    .lbd-info div { font-size: 12.5px; }
    .lbd-info b { font-size: 14px; }
    .lbd-rollbar { right: 10px; bottom: 16px; }
    .lbd-expand__inner { max-height: 460px; padding: 14px; }

    .lbd-footer__beian {
        flex-direction: column;
        gap: 2px;
        font-size: 12px;
    }
}

@media (max-width: 560px) {
    .lbd-post__main { gap: 10px; padding: 12px; }
    .lbd-post__thumb { flex: 0 0 76px; width: 76px; height: 76px; }
    .lbd-post__title { font-size: 15px; }
    .lbd-post__down { padding: 9px 12px 12px; }
    .lbd-hero { padding: 26px 0 30px; }
    .lbd-hero__title { font-size: 22px; }
    .lbd-searchbox__btn { padding: 10px 16px; }
    .lbd-brand span.lbd-brand__txt { display: none; }
}

/* 14. 深色模式 */
body.lbd-dark {
    --lbd-brand: #8fb2d8;
    --lbd-title: #d3e0ee;
    --lbd-meta: #a9b8ca;
    --lbd-text: #e6edf6;
    --lbd-text-soft: #c6d2e0;
    --lbd-bg: #15181d;
    --lbd-card: #1c2026;
    --lbd-border: #2a2f37;
    --lbd-border-soft: #232830;
    background: var(--lbd-bg);
    color: var(--lbd-text);
}

body.lbd-dark .lbd-header {
    background: rgba(28, 32, 38, .88);
    border-bottom-color: var(--lbd-border);
}

body.lbd-dark .lbd-nav__link:hover { background: #232830; }
body.lbd-dark .lbd-crumbs { background: #1a1e24; color: var(--lbd-meta); }
body.lbd-dark .lbd-post:hover { background: #20252c; }
body.lbd-dark .lbd-post__thumb { background: #232830; }
body.lbd-dark .lbd-mini .lbd-mini__idx { background: #2a2f37; }
body.lbd-dark .lbd-info { background: #1a1e24; }

body.lbd-dark .lbd-content code { background: #232830; color: #f08c9a; }
body.lbd-dark .lbd-content blockquote { background: #1a1e24; }
body.lbd-dark .lbd-content th { background: #232830; color: #cdd6e2; }
body.lbd-dark .lbd-downbox { background: #1a1e24; border-color: #333a44; }
body.lbd-dark .lbd-downbox__list a { background: #21262e; }
body.lbd-dark .lbd-tips { background: #2a2418; border-color: #4a3f22; color: #d9c089; }
body.lbd-dark .lbd-comment > .respond { background: #1e232b; border-color: #2f3742; box-shadow: none; }
body.lbd-dark .lbd-comment__children { background: #191d24; }
body.lbd-dark #cancel-comment-reply-link { background: #2a3038; }
body.lbd-dark #cancel-comment-reply-link:hover { background: #3a2626; color: #ef8b7f; }
body.lbd-dark .lbd-comments__count { background: #1e2a3a; color: #7fb2ef; }
body.lbd-dark .lbd-comment__text { color: #b9c4d0; }
body.lbd-dark .lbd-comment__reply a:hover { background: #1e2a3a; color: #7fb2ef; }
body.lbd-dark .lbd-comment__badge--admin { color: #e0a05a; }
body.lbd-dark .lbd-comment__badge--guest { color: #8a96a3; }
body.lbd-dark .lbd-form input[type="text"],
body.lbd-dark .lbd-form input[type="email"],
body.lbd-dark .lbd-form input[type="url"],
body.lbd-dark .lbd-form textarea { background: #21262e; border-color: #333a44; color: #e6ebf2; }
body.lbd-dark .lbd-pwd code { background: #21262e; }
body.lbd-dark .lbd-pan__pwd { background: #262c35; }
body.lbd-dark .lbd-pan__pwd:hover { background: #2d343e; }
body.lbd-dark .lbd-pan__pwd code { color: #6aa9f0; }
body.lbd-dark .lbd-tags a { background: #232830; }
body.lbd-dark .lbd-related__item { background: #21262e; border-color: #2a3038; box-shadow: none; }
body.lbd-dark .lbd-related__item:hover { border-color: var(--lbd-accent); box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
body.lbd-dark .lbd-related__thumb { background: #262c35; border-color: #2a3038; }
body.lbd-dark .lbd-related__title { color: #c7d2dd; }
body.lbd-dark .lbd-footer { background: #1c2026; border-top-color: var(--lbd-border); }
body.lbd-dark .lbd-searchbox { background: #21262e; }
body.lbd-dark .lbd-searchbox__input { color: #e6ebf2; }
body.lbd-dark .lbd-pager a,
body.lbd-dark .lbd-pager > span,
body.lbd-dark .lbd-pager .page-navigator li a,
body.lbd-dark .lbd-pager .page-navigator li span { background: #2b323c; border-color: #2b323c; color: #e6ebf2; }
body.lbd-dark .lbd-pager a:hover,
body.lbd-dark .lbd-pager .page-navigator li a:hover { background: #4a90d9; border-color: #4a90d9; color: #fff; }
body.lbd-dark .lbd-pager .current,
body.lbd-dark .lbd-pager .page-navigator li.current a,
body.lbd-dark .lbd-pager .page-navigator li.current span { background: #4a90d9; border-color: #4a90d9; color: #fff; }

/* 15. 搜索联想下拉 */
.lbd-searchbox { position: relative; }

.lbd-suggest {
    position: absolute;
    left: 5px;
    right: 5px;
    top: calc(100% + 10px);
    z-index: 80;
    display: none;
    max-height: 380px;
    overflow-y: auto;
    padding: 6px;
    background: var(--lbd-card);
    border: 1px solid var(--lbd-border);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(10, 16, 24, .18);
}

.lbd-suggest.is-open { display: block; }

.lbd-suggest__item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 9px;
    color: var(--lbd-text);
    font-size: 13.5px;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    transition: background .14s ease, color .14s ease;
}

.lbd-suggest__item svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--lbd-meta);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.lbd-suggest__item:hover,
.lbd-suggest__item.is-active {
    background: rgba(47, 127, 224, .09);
    color: var(--lbd-accent);
}

.lbd-suggest__item.is-active svg { color: var(--lbd-accent); }
.lbd-suggest__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbd-suggest__empty { padding: 12px; color: var(--lbd-meta); font-size: 13px; text-align: center; }

.lbd-hl {
    padding: 0 2px;
    border-radius: 3px;
    background: #fff3bf;
    color: inherit;
}

body.lbd-dark .lbd-hl { background: #6b5a12; color: #ffe89a; }

/* 16. 资源失效反馈 */
.lbd-report-open {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 9px 16px;
    border: 1px dashed var(--lbd-border);
    border-radius: var(--lbd-radius);
    background: transparent;
    color: var(--lbd-text-soft);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.lbd-report-open svg { width: 15px; height: 15px; }
.lbd-report-open:hover {
    border-color: var(--lbd-accent);
    color: var(--lbd-accent);
    background: color-mix(in srgb, var(--lbd-accent) 6%, transparent);
}

.lbd-sub {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    margin-left: 10px;
    padding: 9px 16px;
    border: 1px dashed var(--lbd-border);
    border-radius: var(--lbd-radius);
    background: transparent;
    color: var(--lbd-text-soft);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.lbd-sub svg { width: 15px; height: 15px; }
.lbd-sub:hover {
    border-color: var(--lbd-accent);
    color: var(--lbd-accent);
    background: color-mix(in srgb, var(--lbd-accent) 6%, transparent);
}

.lbd-sub.is-active {
    border-style: solid;
    border-color: var(--lbd-accent);
    background: color-mix(in srgb, var(--lbd-accent) 10%, transparent);
    color: var(--lbd-accent);
}

.lbd-sub.is-done {
    border-style: solid;
    border-color: #2f9e63;
    background: color-mix(in srgb, #2f9e63 10%, transparent);
    color: #2f9e63;
}

.lbd-sub.is-done:hover {
    border-color: #2f9e63;
    background: color-mix(in srgb, #2f9e63 16%, transparent);
    color: #2f9e63;
}

.lbd-dialog__card--report { max-width: 520px; }

.lbd-report-form__res {
    margin: 0 0 14px;
    padding: 10px 13px;
    border-radius: 8px;
    background: var(--lbd-border-soft);
    color: var(--lbd-text-soft);
    font-size: 13px;
}

.lbd-report-form__res:empty { display: none; }

.lbd-report-form__tip {
    margin: 0;
    color: var(--lbd-meta);
    font-size: 12.5px;
}

.lbd-field { display: block; margin-bottom: 14px; }

.lbd-field > span {
    display: block;
    margin-bottom: 6px;
    color: var(--lbd-text-soft);
    font-size: 13px;
}

.lbd-field > span em { color: #d64545; font-style: normal; }

.lbd-input {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--lbd-border);
    border-radius: var(--lbd-radius);
    background: var(--lbd-card);
    color: var(--lbd-text);
    font-family: inherit;
    font-size: 13.5px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.lbd-input:focus {
    outline: 0;
    border-color: var(--lbd-accent);
    box-shadow: 0 0 0 3px rgba(47, 127, 224, .16);
}

textarea.lbd-input {
    min-height: 92px;
    line-height: 1.65;
    resize: vertical;
}

/* 17. 收藏按钮 / 链接状态角标 */
.lbd-fav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 7px 15px;
    border: 1px solid var(--lbd-border);
    border-radius: 999px;
    background: var(--lbd-card);
    color: var(--lbd-text-soft);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.lbd-fav svg { width: 15px; height: 15px; }
.lbd-fav:hover { border-color: var(--lbd-accent); color: var(--lbd-accent); }

.lbd-fav.is-active {
    border-color: var(--lbd-accent);
    background: color-mix(in srgb, var(--lbd-accent) 9%, transparent);
    color: var(--lbd-accent);
}

/* 18. 广告位 / 友情链接 */
.lbd-ad { margin: 18px 0; text-align: center; }
.lbd-ad img { max-width: 100%; height: auto; }

.lbd-ad--list {
    grid-column: 1 / -1;
    margin: 0 0 16px;
}

.lbd-friends {
    padding: 4px 0 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--lbd-border);
    text-align: center;
}

.lbd-friends__title {
    margin-bottom: 10px;
    color: var(--lbd-meta);
    font-size: 13px;
}

.lbd-friends__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
}

.lbd-friend { color: var(--lbd-text-soft); font-size: 13px; }
.lbd-friend:hover { color: var(--lbd-accent); }

/* 19. 用户中心 */

.lbd-uc__form { max-width: 420px; }

.lbd-uc__check {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 14px;
    color: var(--lbd-text-soft);
    font-size: 13px;
}

.lbd-uc__msg {
    min-height: 20px;
    margin: 0 0 10px;
    color: #d64545;
    font-size: 13px;
}

.lbd-uc__msg.is-ok { color: #2f9e63; }

.lbd-uc__hero {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 24px;
    border-radius: var(--lbd-radius);
    background: linear-gradient(135deg, var(--lbd-accent) 0%, color-mix(in srgb, var(--lbd-accent) 62%, #ffffff) 100%);
    color: #fff;
    box-shadow: var(--lbd-shadow);
    overflow: hidden;
}

.lbd-uc__avatar {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    border: 2px solid rgba(255, 255, 255, .55);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}

.lbd-uc__who { flex: 1; min-width: 0; }
.lbd-uc__who b {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lbd-uc__who .lbd-uc__login {
    display: block;
    color: rgba(255, 255, 255, .82);
    font-size: 12.5px;
    margin-top: 3px;
}
.lbd-uc__who .lbd-uc__meta {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lbd-uc__ops { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

.lbd-uc__stats {
    display: flex;
    align-items: baseline;
    gap: 4px 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
    color: rgba(255, 255, 255, .88);
    font-size: 12px;
}
.lbd-uc__stats b { color: #fff; font-size: 17px; margin-right: 3px; }
.lbd-uc__stats i { font-style: normal; }

.lbd-uc__ops .lbd-btn--ghost {
    color: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .45);
    padding: 5px 14px;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}
.lbd-uc__ops .lbd-btn--ghost:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.lbd-uc__favnum { color: var(--lbd-meta); font-size: 13px; }
.lbd-uc__favnum b { color: var(--lbd-accent); }

.lbd-uc__panel {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid var(--lbd-border);
    border-radius: var(--lbd-radius);
    background: var(--lbd-card);
    box-shadow: var(--lbd-shadow);
}

.lbd-uc__panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--lbd-border-soft);
    color: var(--lbd-text);
    font-size: 15px;
    font-weight: 600;
}

.lbd-uc__panel-title svg { width: 16px; height: 16px; color: var(--lbd-accent); }

.lbd-uc__titleops { display: flex; gap: 6px; margin-left: auto; }
.lbd-uc__clearbtn {
    padding: 3px 10px;
    border: 1px solid var(--lbd-border);
    border-radius: 999px;
    background: transparent;
    color: var(--lbd-meta);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .16s ease, color .16s ease;
}
.lbd-uc__clearbtn:hover { border-color: #d64545; color: #d64545; }
.lbd-uc__clearbtn:disabled { opacity: .55; cursor: not-allowed; }

.lbd-uc__tabtabs {
    display: flex;
    gap: 6px;
    margin: -4px 0 12px;
}
.lbd-uc__tabtabs button {
    padding: 6px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--lbd-bg);
    color: var(--lbd-text-soft);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.lbd-uc__tabtabs button.is-active {
    background: var(--lbd-accent);
    color: #fff;
}

.lbd-uc__sub {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 22px 0 14px;
    color: var(--lbd-text);
    font-size: 14px;
    font-weight: 600;
}
.lbd-uc__sub .lbd-ico { width: 16px; height: 16px; color: var(--lbd-accent); }
.lbd-uc__sub:first-of-type { margin-top: 0; }

.lbd-uc__hint {
    display: block;
    margin-top: 4px;
    color: var(--lbd-meta);
    font-size: 12px;
    line-height: 1.5;
}

.lbd-uc__code {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lbd-uc__code .lbd-input { flex: 1; min-width: 0; }
.lbd-uc__send {
    flex: 0 0 auto;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--lbd-accent);
    border-radius: 999px;
    background: transparent;
    color: var(--lbd-accent);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.lbd-uc__send:hover { background: var(--lbd-accent); color: #fff; }
.lbd-uc__send:disabled { opacity: .55; cursor: not-allowed; }

.lbd-uc__empty { margin: 0; color: var(--lbd-meta); font-size: 13.5px; }
.lbd-uc__favs { margin: 0; padding: 0; list-style: none; }

.lbd-uc__favs li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--lbd-border-soft);
}

.lbd-uc__favs li:last-child { border-bottom: 0; }

.lbd-uc__favt {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--lbd-text);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lbd-uc__favd { flex: 0 0 auto; color: var(--lbd-meta); font-size: 12.5px; }

.lbd-uc__favdel {
    flex: 0 0 auto;
    padding: 4px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--lbd-meta);
    line-height: 0;
    cursor: pointer;
    transition: color .16s ease, background .16s ease;
}

.lbd-uc__favdel svg { width: 14px; height: 14px; }
.lbd-uc__favdel:hover { background: rgba(214, 69, 69, .1); color: #d64545; }

body.lbd-dark .lbd-uc__hero { box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }

/* 20. 窄屏适配 */
@media (max-width: 860px) {
    .lbd-uc__hero { flex-wrap: wrap; gap: 14px; }
    .lbd-uc__ops { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
    .lbd-uc__stats { justify-content: flex-start; }
    .lbd-uc__panel { padding: 16px; }
    .lbd-uc__panel-title { flex-wrap: wrap; }
    .lbd-dialog__card--report { max-width: 100%; }
}

/* 21. 登录 / 注册界面 */

.lbd-auth {
    max-width: 320px;
    margin: 0 auto;
}

.lbd-auth__tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.lbd-auth__tabs button {
    flex: 1;
    padding: 9px 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--lbd-text-soft);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.lbd-auth__tabs button.is-active {
    background: var(--lbd-card);
    color: var(--lbd-accent);
    box-shadow: 0 1px 4px rgba(16, 18, 22, .08);
}

.lbd-auth__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 28px 30px;
    background: #ffffff;
    box-shadow: 0 0 40px rgba(0, 0, 0, .06);
    border-radius: 16px;
    overflow: hidden;
}

.lbd-auth__card[hidden] { display: none; }

.lbd-auth__card::before {
    position: absolute;
    content: "";
    width: 260px;
    height: 260px;
    background: #dce9f9; 
    background: color-mix(in srgb, var(--lbd-accent) 18%, #ffffff);
    transform: rotate(45deg);
    left: -160px;
    bottom: 30px;
    z-index: 0;
    border-radius: 30px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .08);
}

.lbd-auth__heading {
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    font-size: 26px;
    font-weight: 700;
    color: #2e2e2e;
}

.lbd-auth__input {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 8px 0;
}

.lbd-auth__icon {
    position: absolute;
    left: 3px;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #8a8f98;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.lbd-auth__input > input {
    width: 100%;
    height: 34px;
    padding: 0 0 0 30px;
    border: none;
    border-bottom: 2px solid #d4d7dd;
    background: transparent;
    color: var(--lbd-text);
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color .2s ease;
}

.lbd-auth__input > input:focus {
    outline: none;
    border-bottom-color: var(--lbd-accent);
}

.lbd-auth__input > input::placeholder {
    color: #9aa0aa;
    font-size: 13.5px;
}

.lbd-auth__check {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 14px 0 2px;
    color: var(--lbd-text-soft);
    font-size: 13px;
}

.lbd-auth__msg {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 20px;
    margin: 4px 0 8px;
    color: #d64545;
    font-size: 13px;
}

.lbd-auth__msg.is-ok { color: #2f9e63; }

.lbd-auth__mailtip {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 4px 0;
    font-size: 12.5px;
    line-height: 1.6;
}

.lbd-auth__mailtip.is-ok { color: #2f9e63; }
.lbd-auth__mailtip.is-err { color: #d64545; }

.lbd-auth__code .lbd-auth__send {
    position: absolute;
    right: 0;
    padding: 5px 0 5px 8px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--lbd-accent);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    z-index: 3;
}

.lbd-auth__code .lbd-auth__send:hover { color: var(--lbd-accent); filter: brightness(.85); }
.lbd-auth__code .lbd-auth__send:disabled { opacity: .55; cursor: not-allowed; }

.lbd-auth__submit {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 40px;
    margin-top: 12px;
    border: none;
    border-radius: 999px;
    background: var(--lbd-accent);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: filter .2s ease, transform .15s ease;
}

.lbd-auth__submit:hover {
    background: var(--lbd-accent);
    filter: brightness(1.1);
}

.lbd-auth__submit:active {
    transform: scale(.98);
}

body.lbd-dark .lbd-auth__card { background: #1c222c; box-shadow: 0 0 40px rgba(0, 0, 0, .4); }
body.lbd-dark .lbd-auth__card::before { background: #263a52; background: color-mix(in srgb, var(--lbd-accent) 28%, #1c222c); }
body.lbd-dark .lbd-auth__heading { color: #e6e9ef; }
body.lbd-dark .lbd-auth__tabs button.is-active { background: #232a36; color: var(--lbd-accent); }
body.lbd-dark .lbd-auth__input > input { color: #cdd6e2; border-bottom-color: #333c49; }
body.lbd-dark .lbd-auth__input > input:focus { border-bottom-color: var(--lbd-accent); }
body.lbd-dark .lbd-auth__input > input::placeholder { color: #6b7686; }

.lbd-dialog__card--auth {
    max-width: 360px;
    padding: 30px 26px 26px;
}
.lbd-dialog__card--auth .lbd-auth {
    max-width: none;
    margin: 0;
}

.lbd-dialog__card--auth .lbd-auth__card {
    padding: 22px 0 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.lbd-dialog__card--auth {
    overflow: hidden;
}
.lbd-dialog__card--auth .lbd-auth__card::before {
    left: -170px;
    bottom: 40px;
}

.lbd-dialog__card--auth .lbd-auth__heading { font-size: 22px; margin: 0 0 16px; }

.lbd-dialog__card--auth .lbd-dialog__close { z-index: 5; }

body.lbd-dark .lbd-dialog__card--auth .lbd-auth__card { background: transparent; box-shadow: none; }

/* 22. 独立页面模板 */

.lbd-pg-block { margin: 26px 0; }

.lbd-pg-block__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--lbd-border-soft);
    color: var(--lbd-title);
    font-size: 16px;
    font-weight: 700;
}
.lbd-pg-block__title .lbd-ico { width: 18px; height: 18px; color: var(--lbd-accent); }
.lbd-pg-block__sub {
    margin-left: auto;
    color: var(--lbd-meta);
    font-size: 12.5px;
    font-weight: 400;
}

.lbd-pg-empty { margin: 0; color: var(--lbd-meta); font-size: 13.5px; }

.lbd-pg-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
}
.lbd-pg-stat {
    padding: 16px 10px;
    border: 1px solid var(--lbd-border);
    border-radius: var(--lbd-radius);
    background: var(--lbd-card);
    box-shadow: var(--lbd-shadow);
    text-align: center;
}
.lbd-pg-stat b { display: block; color: var(--lbd-accent); font-size: 24px; line-height: 1.2; }
.lbd-pg-stat span { color: var(--lbd-meta); font-size: 12.5px; }

.lbd-pg-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.lbd-pg-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    border: 1px solid var(--lbd-border);
    border-radius: 8px;
    background: var(--lbd-card);
    color: var(--lbd-text);
    font-size: 14px;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.lbd-pg-links a:hover {
    border-color: var(--lbd-accent);
    background: color-mix(in srgb, var(--lbd-accent) 5%, transparent);
    color: var(--lbd-accent);
}
.lbd-pg-links a .lbd-ico { width: 15px; height: 15px; flex: 0 0 auto; color: var(--lbd-meta); }
.lbd-pg-links a:hover .lbd-ico { color: var(--lbd-accent); }
.lbd-pg-links a i {
    margin-left: auto;
    max-width: 45%;
    overflow: hidden;
    color: var(--lbd-meta);
    font-style: normal;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lbd-pg-map-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.lbd-pg-map-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--lbd-border);
    border-radius: 8px;
    background: var(--lbd-card);
    color: var(--lbd-text);
    font-size: 14px;
    transition: border-color .16s ease, color .16s ease;
}
.lbd-pg-map-cat:hover { border-color: var(--lbd-accent); color: var(--lbd-accent); }
.lbd-pg-map-cat i {
    flex: 0 0 auto;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--lbd-bg);
    color: var(--lbd-meta);
    font-style: normal;
    font-size: 12px;
}

.lbd-pg-map-list {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 3;
    column-gap: 26px;
}
.lbd-pg-map-list li {
    break-inside: avoid;
    padding: 5px 0;
    font-size: 13.5px;
    line-height: 1.6;
}
.lbd-pg-map-list a {
    display: block;
    overflow: hidden;
    color: var(--lbd-text-soft);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lbd-pg-map-list a:hover { color: var(--lbd-accent); }

.lbd-pg-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lbd-pg-tags a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--lbd-bg);
    color: var(--lbd-text-soft);
    font-size: 13px;
    transition: background .16s ease, color .16s ease;
}
.lbd-pg-tags a:hover { background: var(--lbd-accent); color: #fff; }
.lbd-pg-tags a i { color: var(--lbd-meta); font-style: normal; font-size: 11.5px; }
.lbd-pg-tags a:hover i { color: rgba(255, 255, 255, .78); }

.lbd-pg-pwds { display: flex; flex-wrap: wrap; gap: 12px; }
.lbd-pg-pwd {
    flex: 1 1 auto;
    min-width: 220px;
    padding: 22px 20px;
    border: 1px solid color-mix(in srgb, var(--lbd-accent) 28%, var(--lbd-border));
    border-radius: var(--lbd-radius);
    background: color-mix(in srgb, var(--lbd-accent) 8%, var(--lbd-card));
    text-align: center;
}
.lbd-pg-pwd code {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 10px;
    background: var(--lbd-card);
    box-shadow: var(--lbd-shadow);
    color: var(--lbd-accent);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.lbd-pg-pwd code:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }

.lbd-pg-faq { margin: 0; padding: 0; list-style: none; }
.lbd-pg-faq li { padding: 14px 0; border-bottom: 1px dashed var(--lbd-border-soft); }
.lbd-pg-faq li:last-child { padding-bottom: 0; border-bottom: 0; }
.lbd-pg-faq q {
    display: block;
    margin-bottom: 7px;
    color: var(--lbd-text);
    font-size: 14.5px;
    font-weight: 600;
    quotes: none;
}
.lbd-pg-faq q::before { content: 'Q '; color: var(--lbd-accent); font-weight: 700; }
.lbd-pg-faq p { margin: 0; color: var(--lbd-text-soft); font-size: 13.5px; line-height: 1.8; }
.lbd-pg-faq p code {
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--lbd-bg);
    font-size: 12.5px;
}

.lbd-pg-terms { margin: 0; padding: 0; list-style: none; counter-reset: lbdTerm; }
.lbd-pg-terms li {
    position: relative;
    padding: 0 0 16px 40px;
    counter-increment: lbdTerm;
}
.lbd-pg-terms li::before {
    content: counter(lbdTerm);
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--lbd-accent) 12%, transparent);
    color: var(--lbd-accent);
    font-size: 13px;
    font-weight: 700;
}
.lbd-pg-terms b { display: block; margin-bottom: 5px; color: var(--lbd-text); font-size: 14.5px; }
.lbd-pg-terms p { margin: 0; color: var(--lbd-text-soft); font-size: 13.5px; line-height: 1.8; }

.lbd-pg-kv { margin: 0; padding: 0; list-style: none; }
.lbd-pg-kv li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--lbd-border-soft);
    font-size: 13.5px;
}
.lbd-pg-kv li:last-child { border-bottom: 0; }
.lbd-pg-kv span { flex: 0 0 90px; color: var(--lbd-meta); }
.lbd-pg-kv code {
    flex: 1;
    min-width: 0;
    padding: 6px 12px;
    border-radius: 7px;
    background: var(--lbd-bg);
    color: var(--lbd-text);
    font-size: 13px;
    word-break: break-all;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}
.lbd-pg-kv code:hover {
    background: color-mix(in srgb, var(--lbd-accent) 10%, transparent);
    color: var(--lbd-accent);
}

.lbd-pg-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--lbd-border);
    border-radius: var(--lbd-radius);
    background: var(--lbd-card);
    box-shadow: var(--lbd-shadow);
    font-size: 13.5px;
}
.lbd-pg-contact span { display: inline-flex; align-items: center; gap: 6px; color: var(--lbd-meta); }
.lbd-pg-contact span .lbd-ico { width: 15px; height: 15px; }
.lbd-pg-contact code {
    padding: 6px 14px;
    border-radius: 7px;
    background: var(--lbd-bg);
    color: var(--lbd-text);
    font-size: 13.5px;
    cursor: pointer;
}

@media (max-width: 860px) {
    .lbd-pg-map-list { columns: 1; }
    .lbd-pg-links { grid-template-columns: 1fr; }
    .lbd-pg-kv li { flex-wrap: wrap; gap: 6px; }
    .lbd-pg-kv span { flex: 0 0 auto; }
    .lbd-pg-kv code { flex: 1 1 100%; }
    .lbd-pg-contact { flex-wrap: wrap; }
}

@media print {
    .lbd-header, .lbd-hero, .lbd-rollbar, .lbd-footer, .lbd-side { display: none !important; }
}
