:root {
    --lg-bg: #f4f7fb;
    --lg-panel: rgba(255, 255, 255, 0.88);
    --lg-panel-strong: #ffffff;
    --lg-text: #172033;
    --lg-muted: #69758c;
    --lg-line: rgba(23, 32, 51, 0.08);
    --lg-primary: #3872ff;
    --lg-primary-soft: rgba(56, 114, 255, 0.12);
    --lg-shadow: 0 20px 45px rgba(18, 38, 78, 0.08);
    --lg-radius: 24px;
    --lg-shell: min(1280px, calc(100vw - 40px));
    --lg-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
}

html,
body {
    min-width: 1240px;
}

html {
    overflow-x: auto;
}

body {
    min-width: 1240px;
}

@media (max-width: 1240px) {
    html,
    body {
        min-width: 0;
    }
}

html[data-theme="dark"] {
    --lg-bg: #0f1524;
    --lg-panel: rgba(18, 25, 42, 0.86);
    --lg-panel-strong: #131b2d;
    --lg-text: #f6f8fc;
    --lg-muted: #94a0b8;
    --lg-line: rgba(255, 255, 255, 0.08);
    --lg-primary: #7ba2ff;
    --lg-primary-soft: rgba(123, 162, 255, 0.14);
    --lg-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at top left, rgba(86, 130, 255, 0.12), transparent 28%), var(--lg-bg);
    color: var(--lg-text);
    font-family: var(--lg-font-sans);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--lg-font-sans);
    font-weight: 550;
    letter-spacing: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    background: radial-gradient(circle at top left, rgba(86, 130, 255, 0.12), transparent 28%), var(--lg-bg);
}

.lg-site-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    --lg-site-bg-mask-opacity: 0.82;
    --lg-site-bg-mask-opacity-strong: 0.94;
    --lg-site-bg-blur: 12px;
}

.lg-site-bg-media,
.lg-site-bg-mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.lg-site-bg-media {
    object-fit: cover;
    filter: blur(var(--lg-site-bg-blur));
    transform: scale(1.06);
}

.lg-site-bg-mask {
    background:
        linear-gradient(180deg, rgba(244, 247, 251, var(--lg-site-bg-mask-opacity)), rgba(244, 247, 251, var(--lg-site-bg-mask-opacity-strong))),
        radial-gradient(circle at top left, rgba(86, 130, 255, 0.14), transparent 30%);
}

html[data-theme="dark"] .lg-site-bg-mask {
    background:
        linear-gradient(180deg, rgba(15, 21, 36, var(--lg-site-bg-mask-opacity)), rgba(15, 21, 36, var(--lg-site-bg-mask-opacity-strong))),
        radial-gradient(circle at top left, rgba(123, 162, 255, 0.14), transparent 30%);
}

.lg-site-bg-toolbar {
    position: fixed;
    right: 22px;
    bottom: 96px;
    z-index: 82;
}

.lg-site-bg-refresh,
.lg-backtop {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 104px;
    min-height: 50px;
    padding: 0 14px 0 10px;
    box-sizing: border-box;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--lg-text);
    border: 1px solid var(--lg-line);
    box-shadow: 0 16px 38px rgba(27, 40, 71, 0.12);
    font-weight: 700;
    backdrop-filter: blur(16px);
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.lg-site-bg-refresh:hover,
.lg-backtop:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(27, 40, 71, 0.16);
}

.lg-float-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(86, 130, 255, 0.12);
    color: var(--lg-primary);
    flex: none;
}

.lg-float-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lg-float-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
    line-height: 1;
    flex: 1;
}

.lg-float-copy strong {
    font-size: 0.84rem;
    letter-spacing: 0;
}

.lg-float-copy small {
    font-size: 0.68rem;
    color: var(--lg-muted);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

img.lg-lazy {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

img.lg-lazy.is-lazy-loading {
    filter: blur(8px);
    transform: scale(1.015);
}

img.lg-lazy.is-loaded {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

button,
input,
textarea {
    font: inherit;
}

.lg-shell {
    width: calc(100vw - 40px);
    width: var(--lg-shell);
    max-width: 1280px;
    margin: 0 auto;
}

@supports not (width: min(100vw, 100%)) {
    .lg-shell {
        width: 1240px;
        max-width: 1240px;
    }
}

.lg-progress {
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 120;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #59a3ff, #3872ff);
    transition: width 0.12s linear;
}

.lg-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(244, 247, 251, 0.72);
    border-bottom: 1px solid var(--lg-line);
}

html[data-theme="dark"] .lg-header {
    background: rgba(15, 21, 36, 0.78);
}

.lg-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 76px;
}

.lg-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex: none;
}

.lg-member-entry {
    position: relative;
    flex: none;
}

.lg-member-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid var(--lg-line);
    background: var(--lg-panel);
    color: var(--lg-text);
    box-shadow: 0 10px 24px rgba(20, 28, 45, 0.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.lg-member-trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(20, 28, 45, 0.12);
    border-color: rgba(86, 130, 255, 0.22);
}

.lg-member-trigger.is-login {
    padding: 0 14px;
    min-width: 74px;
    background: rgba(247, 250, 255, 0.92);
    color: var(--lg-primary);
    font-weight: 700;
}

.lg-member-trigger.is-login.is-icon-login {
    width: 44px;
    min-width: 44px;
    padding: 0;
}

.lg-member-trigger.is-avatar {
    padding: 0;
    overflow: hidden;
}

.lg-member-trigger-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.lg-member-trigger-text {
    font-size: 0.86rem;
}

.lg-login-icon {
    width: 18px;
    height: 18px;
    display: block;
    color: currentColor;
    background:
        radial-gradient(circle at 50% 27%, currentColor 0 3px, transparent 3.4px),
        radial-gradient(ellipse at 50% 82%, transparent 0 5px, currentColor 5.4px 7px, transparent 7.4px);
}

.lg-member-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 286px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(211, 222, 238, 0.9);
    box-shadow: 0 26px 54px rgba(16, 26, 45, 0.16);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 90;
}

.lg-member-entry.is-open .lg-member-popover,
.lg-member-entry.is-member:hover .lg-member-popover,
.lg-member-entry.is-member:focus-within .lg-member-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lg-member-popover-head {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
        linear-gradient(135deg, rgba(93, 195, 187, 0.32), rgba(86, 130, 255, 0.26));
}

.lg-member-popover-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--lg-profile-cover, none);
    background-size: cover;
    background-position: center;
    opacity: var(--lg-profile-cover-opacity, .24);
    transform: scale(1.06);
}

.lg-member-popover-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2));
}

.lg-member-popover-user {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lg-member-popover-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.78);
}

.lg-member-popover-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.lg-member-popover-copy strong {
    font-size: 0.98rem;
    line-height: 1.2;
}

.lg-member-popover-copy span {
    color: var(--lg-muted);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lg-member-popover-menu {
    display: grid;
    gap: 4px;
}

.lg-member-popover-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    background: transparent;
    border: 0;
    color: var(--lg-text);
    font-size: 0.9rem;
    text-align: left;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.lg-member-popover-item:hover {
    background: rgba(86, 130, 255, 0.08);
    color: var(--lg-primary);
    transform: translateX(1px);
}

.lg-member-popover-item[disabled] {
    opacity: .62;
    cursor: default;
}

.lg-member-popover-item i {
    width: 18px;
    text-align: center;
    color: inherit;
    font-style: normal;
}

.lg-member-popover-foot {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(214, 222, 236, 0.82);
}

.lg-member-popover-logout {
    display: inline-flex;
    align-items: center;
    color: #ff5f57;
    font-size: 0.9rem;
    font-weight: 700;
}

.lg-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    flex: 1;
}

.lg-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: none;
}

.lg-brand img {
    display: block;
    width: auto;
    max-width: var(--lg-logo-max-width, 42px);
    max-height: var(--lg-logo-max-height, 42px);
    object-fit: contain;
}

.lg-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #5ca7ff, #3469ff);
    color: #fff;
    font-weight: 700;
}

.lg-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lg-brand-text strong {
    font-size: 1rem;
    line-height: 1.2;
}

.lg-brand-text small {
    color: var(--lg-muted);
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lg-nav-toggle,
.lg-theme-toggle,
.lg-backtop,
.lg-search-form button,
.lg-comment-submit input,
.lg-verify-modal button {
    border: 0;
    cursor: pointer;
}

.lg-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 38px;
    padding: 0;
    border-radius: 14px;
    background: var(--lg-primary-soft);
}

.lg-nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--lg-primary);
}

.lg-mobile-entry {
    display: none;
}

.lg-mobile-entry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(56, 114, 255, 0.12);
    border: 1px solid rgba(56, 114, 255, 0.16);
    color: var(--lg-primary);
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}

.lg-mobile-entry-btn.is-login-icon {
    width: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: var(--lg-primary);
    box-shadow: 0 12px 26px rgba(22, 35, 58, 0.1);
}

.lg-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.lg-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lg-nav-menu > li {
    position: relative;
}

.lg-nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--lg-muted);
    transition: 0.2s ease;
}

.lg-nav-menu > li:hover > a,
.lg-nav-menu > li.is-current > a {
    background: var(--lg-primary-soft);
    color: var(--lg-primary);
}

.lg-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: none;
    min-width: 180px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
    border-radius: 18px;
    box-shadow: var(--lg-shadow);
}

.lg-submenu li + li {
    margin-top: 4px;
}

.lg-submenu a {
    display: block;
    padding: 9px 12px;
    border-radius: 12px;
    color: var(--lg-muted);
}

.lg-submenu a:hover {
    background: var(--lg-primary-soft);
    color: var(--lg-primary);
}

.lg-nav-menu > li:hover .lg-submenu {
    display: block;
}

.lg-theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--lg-panel);
    color: var(--lg-primary);
    border: 1px solid var(--lg-line);
    box-shadow: 0 10px 24px rgba(20, 28, 45, 0.08);
}

.lg-theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(20, 28, 45, 0.12);
    border-color: rgba(86, 130, 255, 0.22);
}

.lg-notice {
    border-top: 1px solid var(--lg-line);
}

.lg-notice .lg-shell {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 48px;
}

.lg-notice span {
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--lg-primary-soft);
    color: var(--lg-primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.lg-notice p {
    margin: 0;
    color: var(--lg-muted);
    font-size: 0.95rem;
}

.lg-main {
    padding: 34px 0 54px;
}

.lg-home-top {
    display: block;
}

.lg-home-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
    padding: 10px;
    border-radius: 22px;
    background: var(--lg-panel);
    border: 1px solid var(--lg-line);
    box-shadow: var(--lg-shadow);
}

.lg-home-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    color: var(--lg-muted);
    background: var(--lg-panel-strong);
    border: 1px solid transparent;
}

.lg-home-nav a.is-active,
.lg-home-nav a:hover {
    color: var(--lg-primary);
    background: var(--lg-primary-soft);
    border-color: rgba(56, 114, 255, 0.12);
}

.lg-banner-group {
    display: grid;
    gap: 18px;
}

.lg-home-hero,
.lg-post-hero,
.lg-page-hero {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: var(--lg-shadow);
}

.lg-home-hero,
.lg-post-hero {
    background-size: cover;
    background-position: center;
}

.lg-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lg-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 28px;
    min-height: 430px;
    padding: 42px;
    color: #fff;
}

@supports not (display: grid) {
    .lg-home-hero {
        display: block;
    }
    .lg-home-hero::after {
        content: "";
        display: table;
        clear: both;
    }
    .lg-home-hero .lg-hero-copy {
        float: left;
        width: calc(100% - 372px);
    }
    .lg-home-hero .lg-hero-panel {
        float: right;
        width: 344px;
    }
}

@supports not (display: grid) {
    .lg-home-hero {
        display: block;
    }
    .lg-home-hero .lg-hero-copy {
        float: left;
        width: calc(100% - 372px);
    }
    .lg-home-hero .lg-hero-panel {
        float: right;
        width: 344px;
    }
}

.lg-home-hero.is-hero-wide {
    grid-template-columns: minmax(0, 1fr);
}

.lg-home-top.is-hero-disabled .lg-banner-group {
    gap: 0;
}


.lg-post-hero {
    min-height: 272px;
    padding: 26px 30px 78px;
    color: #fff;
}

.lg-page-hero {
    padding: 36px 38px;
    background: var(--lg-panel);
    border: 1px solid var(--lg-line);
}

.lg-page-cover {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.lg-page-cover p {
    color: rgba(255, 255, 255, 0.86);
}

.lg-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 21, 40, 0.84), rgba(29, 53, 116, 0.46));
}

.lg-hero-copy,
.lg-hero-panel,
.lg-post-hero-copy {
    position: relative;
    z-index: 1;
}

.lg-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: inherit;
    font-size: 0.82rem;
    font-weight: 700;
}

.lg-home-hero h1,
.lg-post-hero h1,
.lg-page-hero h1 {
    margin: 18px 0 12px;
    line-height: 1.15;
}

.lg-home-hero h1 {
    max-width: 8em;
    font-size: clamp(2.5rem, 4vw, 4.35rem);
}

.lg-post-hero h1,
.lg-page-hero h1 {
    font-size: clamp(1.7rem, 2.5vw, 2.55rem);
}

.lg-post-hero h1 {
    margin: 14px 0 10px;
}

.lg-post-hero .lg-post-meta {
    gap: 10px 14px;
    font-size: 0.88rem;
}

.lg-home-hero p,
.lg-page-hero p {
    max-width: 52ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.02rem;
}

.lg-page-hero p {
    color: var(--lg-muted);
}

.lg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.lg-typed {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
}

.lg-typed-prefix {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.lg-hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff;
    color: #1a2650;
    font-weight: 700;
}

.lg-hero-actions a:last-child {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lg-hero-panel {
    align-self: end;
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lg-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.lg-panel-head span,
.lg-panel-text {
    color: rgba(255, 255, 255, 0.8);
}

.lg-panel-text {
    margin: 18px 0 0;
}

.lg-banner-links {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    gap: 18px;
}
.lg-banner-links.is-tech-only {
    grid-template-columns: 1fr;
}

.lg-banner-links.is-quick-only {
    grid-template-columns: 1fr;
}

.lg-banner-links.is-quick-only .lg-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
}


.lg-tech-grid,
.lg-quick-links {
    display: grid;
    gap: 14px;
}

.lg-tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lg-tech-item {
    display: grid;
    gap: 8px;
    align-content: center;
    min-height: 108px;
    padding: 18px;
    border-radius: 22px;
    background: var(--lg-panel);
    border: 1px solid var(--lg-line);
    box-shadow: var(--lg-shadow);
}

.lg-tech-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--lg-tech-bg);
    color: #fff;
    font-weight: 700;
}

.lg-tech-item small {
    color: var(--lg-muted);
    font-size: 0.86rem;
}

.lg-quick-links {
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.lg-quick-link {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 115px;
    padding: 18px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--lg-link-light-1), var(--lg-link-light-2));
    box-shadow: var(--lg-shadow);
}

html[data-theme="dark"] .lg-quick-link {
    background: linear-gradient(135deg, var(--lg-link-dark-1), var(--lg-link-dark-2));
}

.lg-quick-link strong {
    font-size: 1.25rem;
}

.lg-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    margin-top: 22px;
    align-items: start;
}

@supports not (display: grid) {
    .lg-layout {
        display: block;
    }
    .lg-layout::after {
        content: "";
        display: table;
        clear: both;
    }
    .lg-layout > .lg-content {
        float: left;
        width: calc(100% - 340px);
    }
    .lg-layout > .lg-sidebar {
        float: right;
        width: 320px;
    }
}

@supports not (display: grid) {
    .lg-layout {
        display: block;
    }
    .lg-layout::after {
        content: "";
        display: table;
        clear: both;
    }
    .lg-layout > .lg-content {
        float: left;
        width: calc(100% - 340px);
    }
    .lg-layout > .lg-sidebar {
        float: right;
        width: 320px;
    }
}

.lg-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.lg-about-tag-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.lg-about-tag-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
}

.lg-about-tag-card span {
    color: var(--lg-muted);
}

.lg-about-tag-card strong {
    font-size: 1rem;
}

.lg-about-sections {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.lg-about-section {
    padding-top: 20px;
    border-top: 1px solid var(--lg-line);
}

.lg-about-section h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.lg-about-section p {
    margin: 0;
    color: var(--lg-muted);
}

.lg-page-side {
    display: grid;
    gap: 18px;
}

.lg-page-single {
    margin-top: 22px;
}

.lg-single-content {
    width: min(980px, 100%);
    margin: 0 auto;
}

.lg-page-grid.is-single-column {
    grid-template-columns: minmax(0, 1fr);
}

.lg-page-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
}

.lg-moments-page {
    position: relative;
    display: grid;
    gap: 20px;
    max-width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.lg-moments-page::before {
    display: none;
}

html[data-theme="dark"] .lg-moments-page {
    background: transparent;
    box-shadow: none;
}

.lg-moments-intro {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 0 2px 18px;
    border-bottom: 1px solid rgba(156, 112, 83, 0.12);
}

.lg-moments-owner {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.lg-moments-owner-avatar {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    object-fit: cover;
    flex: none;
    border: 2px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 28px rgba(126, 75, 38, 0.16);
}

.lg-moments-owner span {
    color: rgba(154, 92, 52, 0.76);
    font-size: 0.82rem;
    font-weight: 700;
}

.lg-moments-owner h1 {
    margin: 2px 0 0;
    color: #253047;
    font-size: 1.34rem;
    line-height: 1.28;
    font-weight: 760;
    letter-spacing: 0;
}

.lg-moments-owner p {
    margin: 5px 0 0;
    max-width: 32rem;
    color: rgba(84, 70, 62, 0.72);
    font-size: 0.92rem;
    line-height: 1.62;
}

html[data-theme="dark"] .lg-moments-owner h1 {
    color: #f6f1ec;
}

html[data-theme="dark"] .lg-moments-owner span,
html[data-theme="dark"] .lg-moments-owner p {
    color: rgba(241, 214, 192, 0.72);
}

.lg-moments-total {
    flex: none;
    min-width: 76px;
    display: grid;
    justify-items: end;
    gap: 2px;
}

.lg-moments-total strong {
    color: #9d5c34;
    font-size: 1.38rem;
    line-height: 1;
}

.lg-moments-total span {
    color: rgba(84, 70, 62, 0.66);
    font-size: 0.78rem;
}

html[data-theme="dark"] .lg-moments-total strong {
    color: #ffc28f;
}

html[data-theme="dark"] .lg-moments-total span {
    color: rgba(241, 214, 192, 0.66);
}

.lg-moments-note {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0 2px;
    border-left: 0;
}

.lg-moments-note span {
    color: rgba(154, 92, 52, 0.82);
    font-size: 0.82rem;
    line-height: 1.68;
    font-weight: 700;
}

.lg-moments-note p {
    margin: 0;
    color: rgba(84, 70, 62, 0.72);
    line-height: 1.68;
    font-size: 0.94rem;
}

html[data-theme="dark"] .lg-moments-note p {
    color: rgba(241, 214, 192, 0.7);
}

.lg-moments-feed {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 26px;
    padding-top: 4px;
}

.lg-moment-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 0;
    animation: lgMomentRise .5s ease both;
    animation-delay: calc(var(--lg-moment-index) * 70ms);
    padding: 18px;
    min-height: 480px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(var(--lg-moment-angle, 135deg), var(--lg-moment-c1), var(--lg-moment-c2));
    background:
        radial-gradient(circle at var(--lg-moment-spot-x, 12%) var(--lg-moment-spot-y, 0), color-mix(in srgb, var(--lg-moment-c1) 78%, transparent), transparent 36%),
        radial-gradient(circle at var(--lg-moment-spot2-x, 82%) var(--lg-moment-spot2-y, 12%), color-mix(in srgb, var(--lg-moment-c2) 72%, transparent), transparent 34%),
        linear-gradient(var(--lg-moment-angle, 135deg), color-mix(in srgb, var(--lg-moment-c1) 88%, white), color-mix(in srgb, var(--lg-moment-c3) 82%, white));
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: 0 24px 70px rgba(50, 62, 86, 0.1);
    backdrop-filter: blur(18px);
    isolation: isolate;
}

.lg-moment-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.26) 0 1px, transparent 1px 72px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 72px);
    opacity: 0.55;
    z-index: -1;
}

.lg-moment-card::after {
    content: "";
    position: absolute;
    inset: 18px 340px 18px 18px;
    border-radius: 18px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
    z-index: -1;
}

.lg-moment-card:last-child::before {
    display: block;
}

html[data-theme="dark"] .lg-moment-card {
    background:
        radial-gradient(circle at 12% 0, rgba(123, 91, 70, 0.28), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(77, 100, 132, 0.26), transparent 32%),
        linear-gradient(135deg, rgba(23, 31, 48, 0.94), rgba(18, 25, 42, 0.82));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.lg-moment-main {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 20px;
    padding: 8px 22px 8px 4px;
}

.lg-moment-panel {
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s ease, border-color .28s ease;
}

.lg-moment-card:hover .lg-moment-panel {
    transform: translateY(-1px);
    border-color: rgba(176, 116, 76, 0.18);
    box-shadow: none;
}

html[data-theme="dark"] .lg-moment-panel {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.lg-moment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 0;
    border-bottom: 0;
}

.lg-moment-author {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lg-moment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    border: 2px solid rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 24px rgba(35, 48, 72, 0.12);
}

.lg-moment-author-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.lg-moment-author-copy strong {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 720;
    color: #31405b;
}

html[data-theme="dark"] .lg-moment-author-copy strong {
    color: #f6f1ec;
}

.lg-moment-date {
    color: rgba(83, 94, 112, 0.62);
    font-size: 0.82rem;
    line-height: 1.5;
}

html[data-theme="dark"] .lg-moment-date {
    color: rgba(241, 214, 192, 0.58);
}

.lg-moment-meta-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.lg-moment-meta-pills span {
    display: inline-flex;
    align-items: center;
    min-height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(77, 87, 104, 0.58);
    font-size: 0.8rem;
    font-weight: 680;
    box-shadow: none;
    backdrop-filter: none;
}

.lg-moment-meta-pills span + span::before {
    content: "/";
    margin-right: 8px;
    color: rgba(77, 87, 104, 0.36);
}

.lg-moment-body {
    margin-top: 0;
    display: grid;
    gap: 18px;
}

.lg-moment-text {
    margin: 0;
    max-width: 44rem;
    color: #2e384c;
    font-size: 1rem;
    line-height: 2;
    font-weight: 500;
    word-break: break-word;
}

html[data-theme="dark"] .lg-moment-text {
    color: rgba(246, 241, 236, 0.9);
}

.lg-moment-media {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.42);
    width: min(560px, 100%);
    margin: 2px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 18px 42px rgba(35, 48, 72, 0.12);
}

.lg-moment-media img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 360px;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: transform .34s cubic-bezier(.16, 1, .3, 1), opacity .2s ease;
    cursor: zoom-in;
}

.lg-moment-card:hover .lg-moment-media img {
    opacity: 0.94;
    transform: scale(1.025);
}

.lg-moment-tags {
    margin-top: 2px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-top: 2px;
}

.lg-moment-tags span {
    color: #6b5b50;
    color: color-mix(in srgb, var(--lg-moment-accent) 82%, #4f5b70);
    font-size: 0.82rem;
    line-height: 1.5;
}

.lg-moment-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lg-moment-comment-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: rgba(80, 88, 105, 0.68);
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform .18s ease, color .18s ease, background-color .18s ease;
}

.lg-moment-comment-trigger span,
.lg-moment-comment-bar span::before {
    width: 14px;
    height: 14px;
    border: 1.8px solid currentColor;
    border-radius: 50%;
    opacity: 0.72;
}

.lg-moment-comment-trigger:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.28);
    color: color-mix(in srgb, var(--lg-moment-accent) 82%, #4f5b70);
}

.lg-moment-side {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 16px;
    min-width: 0;
    padding: 2px 0 0 18px;
    border-left: 1px solid rgba(80, 96, 124, 0.1);
}

.lg-moment-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 34px;
}

.lg-moment-side-head span {
    color: rgba(45, 56, 78, 0.78);
    font-size: 0.9rem;
    font-weight: 760;
}

.lg-moment-side-head button {
    border: 0;
    background: transparent;
    color: rgba(87, 96, 116, 0.62);
    cursor: pointer;
    font-size: 0.82rem;
    transition: color .18s ease, transform .18s ease;
}

.lg-moment-side-head button:hover {
    color: var(--lg-moment-accent);
    transform: translateY(-1px);
}

.lg-moment-side-list {
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 14px;
    max-height: 362px;
    overflow: hidden;
    padding: 2px 0 4px;
}

.lg-moment-side-reply {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.lg-moment-reply-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 18px rgba(35, 48, 72, 0.1);
}

.lg-moment-side-reply > div {
    min-width: 0;
}

.lg-moment-reply-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-bottom: 5px;
}

.lg-moment-reply-meta strong {
    color: #2f3b52;
    font-size: 0.86rem;
    line-height: 1.2;
    font-weight: 760;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lg-moment-reply-meta time {
    flex: none;
    color: rgba(89, 98, 115, 0.52);
    font-size: 0.76rem;
}

.lg-moment-side-reply p {
    display: inline-block;
    max-width: 100%;
    margin: 0;
    padding: 9px 12px;
    border-radius: 0 14px 14px 14px;
    background: rgba(255, 255, 255, 0.5);
    color: rgba(51, 61, 79, 0.82);
    font-size: 0.9rem;
    line-height: 1.55;
    word-break: break-word;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.lg-moment-side-empty {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.32);
    color: rgba(75, 86, 105, 0.72);
}

.lg-moment-side-empty strong {
    display: block;
    color: #2f3b52;
    margin-bottom: 6px;
}

.lg-moment-side-empty p {
    margin: 0;
    font-size: 0.9rem;
}

.lg-moment-comment-bar {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.44);
    color: rgba(80, 88, 105, 0.68);
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
}

.lg-moment-comment-bar span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.lg-moment-comment-bar span::before {
    content: "";
    display: block;
}

.lg-moment-comment-bar:hover {
    background: rgba(255, 255, 255, 0.58);
    color: color-mix(in srgb, var(--lg-moment-accent) 82%, #4f5b70);
}

.lg-moments-comments {
    max-width: 100%;
    margin: 0;
}

.lg-moments-comments .lg-card {
    background:
        radial-gradient(circle at 12% 0, rgba(255, 214, 166, 0.22), transparent 30%),
        rgba(255, 255, 255, 0.82);
    border-color: rgba(156, 112, 83, 0.12);
    box-shadow: 0 18px 46px rgba(139, 86, 48, 0.1);
    backdrop-filter: blur(16px);
}

.lg-moments-comment-drawer {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    padding: 24px;
}

.lg-moments-comment-drawer[hidden] {
    display: none;
}

.lg-moments-comment-mask {
    position: absolute;
    inset: 0;
    background: rgba(23, 26, 33, 0.34);
    backdrop-filter: blur(12px);
}

.lg-moments-comment-panel {
    position: relative;
    width: min(920px, calc(100vw - 32px));
    max-height: calc(100dvh - 64px);
    overflow: auto;
    padding: 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 0, rgba(255, 196, 145, 0.22), transparent 32%),
        radial-gradient(circle at 92% 18%, rgba(208, 229, 255, 0.28), transparent 34%),
        rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 26px 90px rgba(17, 24, 39, 0.24);
    backdrop-filter: blur(22px);
}

.lg-moments-comment-close {
    position: sticky;
    top: 0;
    float: right;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.08);
    color: rgba(34, 43, 58, 0.68);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.lg-moments-comment-title {
    display: grid;
    gap: 6px;
    margin: 2px 42px 14px 0;
}

.lg-moments-comment-title strong {
    color: #ff7d73;
    font-size: 1.05rem;
}

.lg-moments-comment-title span {
    color: rgba(91, 101, 119, 0.66);
    font-size: 0.9rem;
}

body.is-moment-comments-open {
    overflow: hidden;
}

body.is-moment-lightbox-open {
    overflow: hidden;
}

.lg-moment-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(8, 12, 22, 0.72);
    backdrop-filter: blur(8px);
}

.lg-moment-lightbox[hidden] {
    display: none;
}

.lg-moment-lightbox img {
    width: auto;
    height: auto;
    max-width: min(1100px, calc(100vw - 56px));
    max-height: calc(100vh - 72px);
    border-radius: 20px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    background: #fff;
}

.lg-moment-lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2f4d;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

@keyframes lgMomentRise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .lg-page-highlights {
        grid-template-columns: 1fr;
    }

    .lg-archives-group {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lg-archives-year h2 {
        font-size: 1.5rem;
    }

    .lg-archives-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 14px;
    }

    .lg-moments-page {
        max-width: min(100%, 760px);
    }

    .lg-moments-note {
        gap: 10px;
        padding: 0;
    }

    .lg-moments-note p {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .lg-moment-head {
        align-items: center;
    }

    .lg-moment-card {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 14px;
        border-radius: 20px;
    }

    .lg-moment-card::after {
        inset: 14px;
        border-radius: 16px;
    }

    .lg-moment-main {
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 0;
    }

    .lg-moment-side {
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(80, 96, 124, 0.08);
    }

    .lg-moment-side-list {
        max-height: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .lg-moment-side-reply:nth-child(n+3) {
        display: none;
    }

    .lg-moment-avatar {
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .lg-moment-text {
        font-size: 0.95rem;
        line-height: 1.76;
    }

    .lg-moment-media img {
        max-height: 340px;
    }

}

@media (max-width: 640px) {
    .lg-moments-page {
        gap: 14px;
    }

    .lg-moments-intro {
        align-items: flex-start;
        padding-bottom: 14px;
    }

    .lg-moments-owner {
        align-items: flex-start;
        gap: 10px;
    }

    .lg-moments-owner-avatar {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .lg-moments-owner h1 {
        font-size: 1.12rem;
    }

    .lg-moments-owner p {
        font-size: 0.86rem;
        line-height: 1.58;
    }

    .lg-moments-total {
        display: none;
    }

    .lg-moments-note {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .lg-moment-head {
        align-items: flex-start;
        padding-bottom: 7px;
    }

    .lg-moment-card {
        padding: 12px;
        border-radius: 18px;
    }

    .lg-moment-card::before {
        inset: 0;
    }

    .lg-moment-card::after {
        inset: 12px;
        border-radius: 14px;
        opacity: 0.62;
    }

    .lg-moment-avatar {
        width: 40px;
        height: 40px;
    }

    .lg-moment-meta-pills {
        display: none;
    }

    .lg-moment-text {
        font-size: 0.94rem;
        line-height: 1.82;
    }

    .lg-moment-media {
        border-radius: 15px;
        width: min(320px, 100%);
    }

    .lg-moment-media img {
        max-height: 280px;
    }

    .lg-moment-side-list {
        grid-template-columns: 1fr;
    }

    .lg-moment-side-reply:nth-child(n+3) {
        display: none;
    }

    .lg-moments-comment-drawer {
        align-items: end;
        padding: 12px;
    }

    .lg-moments-comment-panel {
        width: 100%;
        max-height: calc(100dvh - 24px);
        border-radius: 20px;
        padding: 14px;
    }

    .lg-moment-lightbox {
        padding: 18px;
    }

    .lg-moment-lightbox img {
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 48px);
        border-radius: 16px;
    }
}

.lg-content {
    min-width: 0;
}

.lg-sidebar {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 108px;
}

.lg-card,
.lg-post-card,
.lg-comment-item,
.lg-profile-card {
    background: var(--lg-panel);
    border: 1px solid var(--lg-line);
    box-shadow: var(--lg-shadow);
}

.lg-card,
.lg-profile-card {
    border-radius: var(--lg-radius);
}

.lg-featured-section,
.lg-list-section {
    margin-top: 0;
}

.lg-content > .lg-featured-section + .lg-list-section,
.lg-content > .lg-list-section + .lg-list-section,
.lg-content > .lg-card + .lg-list-section,
.lg-content > .lg-card + .lg-featured-section {
    margin-top: 18px;
}

.lg-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.lg-section-head h2 {
    margin: 0;
    font-size: 1.35rem;
}

.lg-section-head span,
.lg-post-meta,
.lg-widget-head h3 + span,
.lg-compact-posts span,
.lg-footer-meta,
.lg-comment-meta time,
.lg-comment-feed time,
.lg-neighbor-grid small,
.lg-empty p {
    color: var(--lg-muted);
}

.lg-featured-grid,
.lg-post-list {
    display: grid;
    gap: 14px;
}

.lg-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lg-featured-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lg-featured-image-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    background:
        linear-gradient(135deg, var(--lg-post-tone-1), var(--lg-post-tone-2)),
        var(--lg-post-cover);
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 42px rgba(18, 27, 45, 0.18);
}

.lg-featured-image-card a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

.lg-featured-image-card a:hover {
    color: #fff;
}

.lg-featured-image-cover {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .35s ease, filter .35s ease;
}

.lg-featured-image-card:hover .lg-featured-image-cover {
    transform: scale(1.07);
    filter: brightness(0.82);
}

.lg-featured-image-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 14, 24, 0.05) 24%, rgba(9, 14, 24, 0.54) 74%, rgba(9, 14, 24, 0.78)),
        linear-gradient(90deg, rgba(9, 14, 24, 0.18), transparent 52%);
}

.lg-featured-image-copy {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 48px;
    display: grid;
    gap: 8px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .28s ease, transform .28s ease;
    pointer-events: none;
}

.lg-featured-image-card:hover .lg-featured-image-copy {
    opacity: 1;
    transform: translateY(0);
}

.lg-featured-image-tag {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    max-width: 70%;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(20, 22, 32, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.78rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lg-featured-image-tag a {
    display: inline;
    width: auto;
    height: auto;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lg-featured-image-copy strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 92%;
    font-size: clamp(1.02rem, 1.5vw, 1.28rem);
    line-height: 1.38;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.32);
    word-break: break-word;
}

.lg-featured-image-meta {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    font-weight: 520;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    transition: transform .28s ease, opacity .28s ease;
}

.lg-featured-image-card:hover .lg-featured-image-meta {
    transform: translateY(2px);
    opacity: 0.92;
}

.lg-featured-image-meta span {
    position: relative;
    min-width: 0;
    white-space: nowrap;
}

.lg-featured-image-meta span + span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 9px 2px 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.lg-post-card {
    overflow: hidden;
    border-radius: 24px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.lg-post-card.is-featured {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 430px;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    overflow: hidden;
}

.lg-post-card.is-featured::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 56%;
    background:
        linear-gradient(180deg, rgba(8, 12, 22, 0.12), rgba(8, 12, 22, 0.4)),
        var(--lg-post-cover);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.lg-post-card.is-featured::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(56% - 1px);
    height: 1px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: none;
    z-index: 3;
}

.lg-post-cover {
    display: block;
    aspect-ratio: 16 / 10;
    background: #dfe6f4;
    overflow: hidden;
}

.lg-post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: none;
    transform: scale(1);
    transition: transform .28s ease;
}

.lg-post-card:hover .lg-post-cover img,
.lg-compact-posts a:hover img {
    transform: scale(1.06);
}

.lg-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(27, 40, 71, 0.12);
    border-color: rgba(86, 130, 255, 0.18);
}

.lg-post-body {
    padding: 20px;
}

.lg-post-card.is-featured .lg-post-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 22px 20px 20px;
    border-radius: 0 0 24px 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.7));
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.lg-post-topline,
.lg-tag-row,
.lg-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lg-post-topline {
    min-height: 30px;
    align-items: center;
}

.lg-post-body h2 {
    margin: 16px 0 10px;
    font-size: 1.32rem;
    line-height: 1.3;
    font-weight: 580;
    color: #2e3b54;
}

.lg-post-body p {
    margin: 0 0 16px;
    color: #7b879d;
    font-weight: 400;
}

.lg-post-card.is-featured .lg-post-body p {
    display: -webkit-box;
    min-height: 24px;
    margin-bottom: 16px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lg-post-card.is-featured .lg-post-meta {
    margin-top: auto;
}

.lg-post-card.is-featured .lg-post-cover {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 56%;
    flex: 0 0 56%;
    aspect-ratio: auto;
    opacity: 1;
    pointer-events: auto;
}

.lg-post-card.is-featured .lg-post-topline {
    min-height: 0;
}

.lg-post-card.is-featured .lg-post-body h2 {
    display: -webkit-box;
    margin-top: 12px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lg-post-card.is-featured .lg-post-meta,
.lg-post-card.is-featured .lg-post-meta a,
.lg-post-card.is-featured .lg-post-meta time,
.lg-post-card.is-featured .lg-post-meta span {
    color: #7f8aa1;
    font-weight: 400;
}

html[data-theme="dark"] .lg-post-body h2 {
    color: #e8eefb;
}

html[data-theme="dark"] .lg-post-body p,
html[data-theme="dark"] .lg-post-card.is-featured .lg-post-meta,
html[data-theme="dark"] .lg-post-card.is-featured .lg-post-meta a,
html[data-theme="dark"] .lg-post-card.is-featured .lg-post-meta time,
html[data-theme="dark"] .lg-post-card.is-featured .lg-post-meta span {
    color: rgba(189, 201, 224, 0.76);
}

html[data-theme="dark"] .lg-post-card.is-featured .lg-post-body {
    background: linear-gradient(180deg, rgba(16, 24, 39, 0.84), rgba(16, 24, 39, 0.72));
    border-top-color: rgba(138, 157, 194, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .lg-post-card.is-featured::after {
    background: rgba(158, 176, 210, 0.24);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.18);
}

.lg-post-list .lg-post-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(248px, 0.74fr);
    min-height: 232px;
    border-radius: 10px;
    border: 0;
    background-image: var(--lg-post-cover);
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 42px rgba(24, 33, 57, 0.12);
}

.lg-post-list .lg-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(24, 33, 57, 0.16);
    border-color: transparent;
}

.lg-post-list.is-style-dynamic .lg-post-card {
    display: block;
    min-height: 308px;
    border-radius: 28px;
    border: 1px solid rgba(188, 201, 220, 0.52);
    background: #fff;
    box-shadow: 0 20px 52px rgba(17, 31, 56, 0.12);
    overflow: hidden;
}

.lg-post-list.is-style-dynamic .lg-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 72px rgba(17, 31, 56, 0.18);
}

.lg-post-card-dynamic .lg-post-dynamic-link {
    position: relative;
    display: block;
    height: 308px;
    z-index: 0;
    color: #fff;
    overflow: hidden;
}

.lg-post-card-dynamic .lg-post-dynamic-link:hover {
    color: #fff;
}

.lg-post-dynamic-bg,
.lg-post-dynamic-overlay,
.lg-post-dynamic-sheen,
.lg-post-dynamic-meta {
    position: absolute;
}

.lg-post-dynamic-bg,
.lg-post-dynamic-overlay,
.lg-post-dynamic-sheen {
    inset: 0;
    display: block;
}

.lg-post-dynamic-bg {
    z-index: 0;
    background:
        linear-gradient(135deg, var(--lg-post-tone-1), var(--lg-post-tone-2)),
        var(--lg-post-cover);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.lg-post-dynamic-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .52s cubic-bezier(.22, 1, .36, 1), filter .52s cubic-bezier(.22, 1, .36, 1);
}

.lg-post-card-dynamic:hover .lg-post-dynamic-image {
    transform: scale(1.08);
    filter: saturate(1.06) brightness(.78);
}

.lg-post-dynamic-overlay {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(9, 15, 27, .22) 0%, rgba(9, 15, 27, .08) 34%, rgba(8, 13, 24, .12) 58%, rgba(6, 10, 18, .36) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 38%, rgba(12, 18, 30, .18) 100%);
    transition: background .36s ease;
}

.lg-post-card-dynamic:hover .lg-post-dynamic-overlay {
    background:
        linear-gradient(180deg, rgba(9, 15, 27, .28) 0%, rgba(9, 15, 27, .16) 32%, rgba(8, 13, 24, .2) 56%, rgba(6, 10, 18, .54) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 38%, rgba(12, 18, 30, .24) 100%);
}

.lg-post-dynamic-sheen {
    z-index: 2;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .28), transparent 24%),
        linear-gradient(115deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 34%);
    opacity: .7;
    transform: translate3d(0, 0, 0);
    transition: opacity .4s ease, transform .5s ease;
}

.lg-post-card-dynamic:hover .lg-post-dynamic-sheen {
    opacity: .95;
    transform: translate3d(10px, -8px, 0);
}

.lg-post-dynamic-meta {
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lg-post-dynamic-meta-top {
    top: 16px;
    left: 18px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.lg-post-dynamic-meta-right {
    top: 16px;
    right: 18px;
    justify-content: flex-start;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(46, 72, 112, .56);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: rgba(255, 255, 255, .92);
    font-size: .86rem;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(7, 13, 24, .28);
    transition: transform .28s ease, background .28s ease;
}

.lg-post-card-dynamic:hover .lg-post-dynamic-meta-right {
    transform: translateY(-2px);
    background: rgba(46, 72, 112, .64);
}

.lg-post-dynamic-user,
.lg-post-dynamic-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.lg-post-dynamic-user {
    min-width: 0;
}

.lg-post-dynamic-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .42);
    flex: none;
}

.lg-post-dynamic-author {
    max-width: 7em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lg-post-dynamic-stat svg,
.lg-post-dynamic-summary-head svg {
    width: 14px;
    height: 14px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lg-post-dynamic-pill,
.lg-post-card-dynamic .lg-flag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(46, 72, 112, .52);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
}

.lg-post-card-dynamic .lg-flag {
    min-height: 34px;
    padding-inline: 12px;
}

.lg-post-dynamic-icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(88, 182, 255, .96), rgba(55, 132, 255, .96));
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .08);
}

.lg-post-dynamic-icon::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
}

.lg-post-dynamic-title-pill {
    position: absolute;
    left: 24px;
    bottom: 66px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    max-width: min(62%, 520px);
    min-height: 52px;
    padding: 0 20px;
    border-radius: 18px;
    background: rgba(247, 249, 252, .9);
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow: 0 14px 34px rgba(13, 21, 36, .12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(22px);
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), box-shadow .34s cubic-bezier(.22, 1, .36, 1), background .34s ease, bottom .34s cubic-bezier(.22, 1, .36, 1), opacity .28s ease, visibility .28s ease;
}

.lg-post-dynamic-title-pill strong {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #505764;
    font-size: clamp(1.24rem, 1.7vw, 1.58rem);
    font-style: italic;
    font-weight: 800;
    line-height: 1.22;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lg-post-dynamic-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: grid;
    gap: 8px;
    min-height: 96px;
    padding: 34px 24px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 252, .96));
    border-top: 1px solid rgba(225, 232, 243, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: opacity .3s ease, transform .3s ease;
}

.lg-post-dynamic-summary-head {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #9aa4b6;
    font-size: .92rem;
    font-weight: 700;
}

.lg-post-dynamic-summary-head em {
    font-style: normal;
}

.lg-post-dynamic-summary-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #586377;
    font-size: 1rem;
    line-height: 1.72;
    font-weight: 650;
}

.lg-post-card-dynamic:hover .lg-post-dynamic-title-pill {
    bottom: 34px;
    opacity: 1;
    visibility: visible;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 44px rgba(13, 21, 36, .18);
    background: rgba(248, 250, 253, .94);
}

.lg-post-card-dynamic:hover .lg-post-dynamic-footer {
    opacity: 0;
    transform: translateY(28px);
}

html[data-theme="dark"] .lg-post-list.is-style-dynamic .lg-post-card {
    background: rgba(15, 23, 38, .92);
    border-color: rgba(106, 126, 161, .3);
    box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .lg-post-dynamic-title-pill {
    background: rgba(24, 34, 53, .9);
    border-color: rgba(175, 193, 221, .14);
    box-shadow: 0 14px 38px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .lg-post-dynamic-title-pill strong {
    color: #edf3ff;
}

html[data-theme="dark"] .lg-post-dynamic-footer {
    background: linear-gradient(180deg, rgba(15, 23, 38, .94), rgba(17, 26, 43, .96));
    border-top-color: rgba(111, 131, 166, .26);
}

html[data-theme="dark"] .lg-post-dynamic-summary-head {
    color: rgba(162, 179, 205, .76);
}

html[data-theme="dark"] .lg-post-dynamic-summary-text {
    color: rgba(227, 235, 248, .88);
}

@supports not (aspect-ratio: 16 / 9) {
    .lg-featured-image-card {
        height: 0;
        min-height: 0;
        padding-top: 56.25%;
    }

    .lg-featured-image-card > a {
        position: absolute;
        inset: 0;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .lg-featured-image-tag,
    .lg-post-dynamic-meta-right,
    .lg-post-dynamic-pill,
    .lg-post-card-dynamic .lg-flag {
        background: rgba(31, 48, 76, .82);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .lg-post-dynamic-title-pill {
        background: rgba(247, 249, 252, .98);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .lg-post-dynamic-footer {
        background: rgba(248, 250, 252, .96);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    html[data-theme="dark"] .lg-post-dynamic-title-pill {
        background: rgba(24, 34, 53, .96);
    }

    html[data-theme="dark"] .lg-post-dynamic-footer {
        background: rgba(17, 26, 43, .96);
    }
}

html.is-sogou-browser .lg-featured-image-card,
html.is-card-compat .lg-featured-image-card {
    height: 0;
    min-height: 0;
    padding-top: 56.25%;
}

html.is-sogou-browser .lg-featured-image-card > a,
html.is-card-compat .lg-featured-image-card > a {
    position: absolute;
    inset: 0;
}

html.is-sogou-browser .lg-featured-image-tag,
html.is-sogou-browser .lg-post-dynamic-meta-right,
html.is-sogou-browser .lg-post-dynamic-pill,
html.is-sogou-browser .lg-post-card-dynamic .lg-flag,
html.is-card-compat .lg-featured-image-tag,
html.is-card-compat .lg-post-dynamic-meta-right,
html.is-card-compat .lg-post-dynamic-pill,
html.is-card-compat .lg-post-card-dynamic .lg-flag {
    background: rgba(31, 48, 76, .82);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.is-sogou-browser .lg-featured-image-copy,
html.is-card-compat .lg-featured-image-copy {
    opacity: 1;
    transform: translateY(0);
}

html.is-sogou-browser .lg-post-dynamic-title-pill,
html.is-card-compat .lg-post-dynamic-title-pill {
    background: rgba(247, 249, 252, .98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.is-sogou-browser .lg-post-dynamic-footer,
html.is-card-compat .lg-post-dynamic-footer {
    background: rgba(248, 250, 252, .96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html[data-theme="dark"].is-sogou-browser .lg-post-dynamic-title-pill,
html[data-theme="dark"].is-card-compat .lg-post-dynamic-title-pill {
    background: rgba(24, 34, 53, .96);
}

html[data-theme="dark"].is-sogou-browser .lg-post-dynamic-footer,
html[data-theme="dark"].is-card-compat .lg-post-dynamic-footer {
    background: rgba(17, 26, 43, .96);
}

.lg-post-card-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 18, 30, 0.22), rgba(12, 18, 30, 0.18)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    pointer-events: none;
    z-index: 0;
}

.lg-post-card-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(21, 28, 42, 0.52) 0%, rgba(28, 36, 54, 0.34) 36%, rgba(43, 56, 78, 0.18) 64%, rgba(31, 40, 58, 0.14) 100%);
    pointer-events: none;
    z-index: 1;
}

.lg-post-card-hero.is-cover-left::after {
    background:
        linear-gradient(270deg, rgba(21, 28, 42, 0.52) 0%, rgba(28, 36, 54, 0.34) 36%, rgba(43, 56, 78, 0.18) 64%, rgba(31, 40, 58, 0.14) 100%);
}

.lg-post-hero-pane {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 30px 28px 28px 32px;
    min-width: 0;
    color: #fff;
}

.lg-post-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.lg-post-hero-date,
.lg-post-hero-stats,
.lg-post-hero-hot,
.lg-post-hero-sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lg-post-hero-date,
.lg-post-hero-hot,
.lg-post-hero-sort {
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
}

.lg-post-hero-stats {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lg-post-hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: relative;
    flex: none;
}

.lg-post-hero-dot::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
}

.lg-post-hero-dot.is-date {
    background: linear-gradient(180deg, #4fa4ff, #3d7fff);
}

.lg-post-hero-dot.is-hot {
    background: linear-gradient(180deg, #ff5d4f, #ff2d20);
}

.lg-post-hero-sort .lg-category-badge {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    white-space: nowrap;
    max-width: 11em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lg-post-hero-pane h2 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(1.54rem, 1.95vw, 1.98rem);
    line-height: 1.24;
    color: #fff;
    overflow: hidden;
    font-weight: 600;
}

.lg-post-hero-pane h2 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: inherit;
    word-break: break-word;
}

.lg-post-hero-pane p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 0;
    max-width: 38em;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1rem;
    line-height: 1.95;
    font-weight: 700;
}

.lg-post-hero-cover {
    position: relative;
    display: block;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    clip-path: polygon(36px 0, 100% 0, calc(100% - 1px) 100%, 0 100%);
    z-index: 2;
    margin: 10px 10px 10px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 14px 34px rgba(12, 18, 28, 0.18);
}

.lg-post-hero-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(11, 18, 29, 0.06));
    pointer-events: none;
}

.lg-post-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}

.lg-post-list .lg-post-card:hover .lg-post-hero-cover img {
    transform: scale(1.06);
}

.lg-post-card-hero.is-cover-left {
    grid-template-columns: minmax(248px, 0.74fr) minmax(0, 1.62fr);
}

.lg-post-card-hero.is-cover-left .lg-post-hero-pane {
    order: 2;
    padding: 30px 32px 28px 28px;
}

.lg-post-card-hero.is-cover-left .lg-post-hero-cover {
    order: 1;
    margin: 10px 0 10px 10px;
    border-radius: 8px 0 0 8px;
    clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 100%, 1px 100%);
}

.lg-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.lg-flag,
.lg-category-badge,
.lg-tag,
.lg-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.lg-flag,
.lg-tag,
.lg-chip,
.lg-category-badge {
    background: var(--lg-primary-soft);
    color: var(--lg-primary);
}

.lg-empty {
    padding: 28px;
}

.lg-pagination,
#pagenavi {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.lg-pagination a,
.lg-pagination span,
#pagenavi a,
#pagenavi span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--lg-panel);
    border: 1px solid var(--lg-line);
}

.lg-profile-card,
.lg-widget,
.lg-article-card,
.lg-comments,
.lg-comment-form-wrap {
    padding: 18px;
}

.lg-profile-card {
    overflow: hidden;
    padding: 0;
}

.lg-profile-card-v2 {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(249, 251, 255, 0.92));
}

.lg-profile-cover,
.lg-profile-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lg-profile-card-v2 .lg-profile-cover {
    background-image: var(--lg-profile-cover, none);
    background-size: cover;
    background-position: center;
    opacity: var(--lg-profile-cover-opacity, .22);
    transform: scale(1.08);
}

.lg-profile-card-v2 .lg-profile-backdrop {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.5) 28%, rgba(255, 255, 255, 0.9) 56%, rgba(255, 255, 255, 0.96)),
        linear-gradient(135deg, rgba(78, 201, 191, 0.2), rgba(86, 130, 255, 0.14));
}

.lg-profile-body-shell {
    position: relative;
    z-index: 1;
    padding: 18px;
    display: grid;
    gap: 14px;
}

.lg-profile-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.74)),
        linear-gradient(135deg, rgba(92, 134, 255, 0.22), rgba(145, 176, 255, 0.12));
    color: var(--lg-text);
    border-bottom: 1px solid rgba(86, 130, 255, 0.12);
}

.lg-profile-card-v2 .lg-profile-top {
    padding: 0;
    background: transparent;
    border: 0;
}

html[data-theme="dark"] .lg-profile-top {
    background:
        linear-gradient(180deg, rgba(18, 26, 43, 0.92), rgba(18, 26, 43, 0.84)),
        linear-gradient(135deg, rgba(80, 118, 255, 0.32), rgba(104, 154, 255, 0.16));
    color: #f8fbff;
}

html[data-theme="dark"] .lg-profile-card-v2 {
    background: linear-gradient(180deg, rgba(18, 26, 43, 0.92), rgba(14, 22, 37, 0.96));
}

html[data-theme="dark"] .lg-profile-card-v2 .lg-profile-backdrop {
    background:
        linear-gradient(180deg, rgba(16, 24, 38, 0.1), rgba(16, 24, 38, 0.42) 24%, rgba(16, 24, 38, 0.8) 52%, rgba(16, 24, 38, 0.95)),
        linear-gradient(135deg, rgba(78, 201, 191, 0.12), rgba(86, 130, 255, 0.12));
}

.lg-profile-avatar-wrap {
    position: relative;
    flex: none;
}

.lg-profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    object-fit: cover;
    flex: none;
    border: 3px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 28px rgba(44, 72, 132, 0.12);
}

.lg-profile-card-v2 .lg-profile-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border-width: 4px;
}

.lg-profile-card-v2.is-visitor .lg-profile-body-shell {
    padding-top: 30px;
}

.lg-profile-card-v2.is-visitor .lg-profile-top {
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.lg-profile-card-v2.is-visitor .lg-profile-avatar-wrap {
    margin-top: -52px;
}

.lg-profile-card-v2.is-visitor .lg-profile-avatar {
    width: 88px;
    height: 88px;
    border-width: 4px;
    box-shadow: 0 18px 34px rgba(25, 42, 77, 0.18);
}

.lg-profile-card-v2.is-visitor .lg-profile-copy {
    width: 100%;
    padding-top: 0;
}

.lg-profile-card-v2.is-visitor .lg-profile-meta,
.lg-profile-card-v2.is-visitor .lg-profile-top-actions {
    justify-content: center;
}

.lg-profile-card-v2.is-visitor .lg-profile-mail,
.lg-profile-card-v2.is-visitor .lg-profile-top p {
    text-align: center;
}

.lg-profile-online-dot {
    position: absolute;
    right: 4px;
    bottom: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #35d39f;
    border: 3px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 16px rgba(53, 211, 159, 0.26);
}

.lg-profile-copy {
    min-width: 0;
    flex: 1;
}

.lg-profile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.lg-profile-top h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.lg-profile-top p {
    margin: 0;
    color: var(--lg-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lg-profile-card-v2 .lg-profile-copy {
    padding-top: 6px;
}

.lg-profile-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.lg-profile-role,
.lg-profile-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(86, 130, 255, 0.1);
    color: var(--lg-primary);
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid rgba(86, 130, 255, 0.12);
    backdrop-filter: blur(10px);
}

html[data-theme="dark"] .lg-profile-role,
html[data-theme="dark"] .lg-profile-status {
    background: rgba(112, 154, 255, 0.12);
    color: #d9e7ff;
    border-color: rgba(112, 154, 255, 0.16);
}

.lg-profile-level {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(86, 130, 255, 0.12);
    color: var(--lg-primary);
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid rgba(86, 130, 255, 0.14);
}

html[data-theme="dark"] .lg-profile-level {
    background: rgba(112, 154, 255, 0.12);
    color: #d9e7ff;
    border-color: rgba(112, 154, 255, 0.16);
}

.lg-profile-level-badge {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: 2px;
}

.lg-profile-level-badge .euc-level-badge {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
}

.lg-profile-level-badge .euc-level-badge svg {
    width: 38px !important;
    height: 38px !important;
    display: block !important;
    max-width: 38px !important;
    max-height: 38px !important;
}

.lg-profile-level-badge .euc-level-badge small {
    position: absolute;
    left: 50%;
    bottom: 3px;
    transform: translateX(-50%);
    min-width: 22px;
    padding: 2px 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.lg-profile-mail {
    margin-bottom: 8px;
    color: var(--lg-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.lg-profile-status.is-link {
    text-decoration: none;
    cursor: pointer;
}

.lg-profile-body {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.lg-profile-card-v2 .lg-profile-body {
    padding: 0;
    gap: 12px;
}

.lg-member-panel,
.lg-profile-hint {
    padding: 11px;
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(240, 245, 255, 0.86));
    border: 1px solid rgba(86, 130, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

html[data-theme="dark"] .lg-member-panel,
html[data-theme="dark"] .lg-profile-hint {
    background: linear-gradient(180deg, rgba(25, 35, 58, 0.96), rgba(19, 28, 46, 0.9));
    border-color: rgba(112, 154, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.lg-member-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.lg-member-panel-title {
    display: grid;
    gap: 2px;
}

.lg-member-panel-title span {
    color: var(--lg-muted);
    font-size: 0.78rem;
}

.lg-member-panel-title strong {
    font-size: 0.92rem;
}

.lg-member-level-icon {
    flex: none;
}

.lg-member-level-icon .euc-level-badge {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    position: relative;
}

.lg-member-level-icon .euc-level-badge svg {
    width: 42px !important;
    height: 42px !important;
    display: block !important;
    max-width: 42px !important;
    max-height: 42px !important;
}

.lg-member-level-icon .euc-level-badge small {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    font-size: 9px;
    line-height: 1;
    color: #fff;
    background: rgba(17, 24, 39, 0.72);
    border-radius: 999px;
    padding: 2px 5px;
    font-weight: 900;
}

.lg-sidecard-level-badge .euc-level-badge {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    position: relative;
}

.lg-sidecard-level-badge .euc-level-badge svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
}

.lg-sidecard-level-badge .euc-level-badge small {
    display: none;
}

.lg-member-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.lg-member-summary span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(86, 130, 255, 0.08);
    border: 1px solid rgba(86, 130, 255, 0.1);
    color: var(--lg-muted);
    font-size: 0.82rem;
}

.lg-member-summary b {
    color: var(--lg-text);
    font-size: 0.86rem;
}

.lg-profile-hint p,
.lg-member-progress small {
    color: var(--lg-muted);
    font-size: 0.82rem;
}

.lg-profile-hint strong {
    display: block;
    margin-top: 4px;
    font-size: 0.96rem;
}

.lg-profile-hint strong {
    margin-top: 0;
    margin-bottom: 6px;
}

.lg-profile-hint p {
    margin: 0;
    font-size: 0.9rem;
}

.lg-member-progress {
    display: grid;
    gap: 6px;
}

.lg-member-progress-bar {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(86, 130, 255, 0.12);
}

.lg-member-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5ca7ff, #3872ff);
}

.lg-profile-actions {
    display: grid;
    gap: 8px;
}

.lg-profile-stats-inline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.lg-profile-inline-stat {
    display: grid;
    gap: 4px;
    justify-items: center;
    min-height: 74px;
    padding: 12px 8px 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(217, 227, 241, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.lg-profile-inline-stat strong {
    font-size: 1.4rem;
    line-height: 1.1;
}

.lg-profile-inline-stat span {
    color: var(--lg-muted);
    font-size: 0.8rem;
}

.lg-profile-main-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.lg-profile-main-actions-member.is-user {
    grid-template-columns: 1fr;
}

.lg-profile-exit-row {
    display: grid;
}

.lg-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(86, 130, 255, 0.12);
    background: rgba(247, 250, 255, 0.92);
    color: var(--lg-text);
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    font-size: 0.88rem;
}

.lg-profile-btn.is-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #4f83ff, #78a3ff);
    color: #fff;
}

.lg-profile-btn.is-member-entry {
    min-height: 39px;
}

.lg-profile-btn.is-ghost {
    background: var(--lg-panel-strong);
    color: var(--lg-muted);
}

.lg-profile-tools {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.lg-profile-tools.is-user {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lg-profile-tool {
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 8px 6px 7px;
    border-radius: 12px;
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
    color: var(--lg-muted);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.lg-profile-tool:hover {
    transform: translateY(-1px);
    color: var(--lg-primary);
    border-color: rgba(86, 130, 255, 0.24);
}

.lg-profile-tool span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(86, 130, 255, 0.1);
    color: var(--lg-primary);
    font-size: 0.84rem;
    line-height: 1;
}

.lg-profile-tool small {
    color: inherit;
    font-size: 0.72rem;
    font-weight: 700;
}

.lg-profile-card-v2 .lg-profile-tools {
    gap: 8px;
}

.lg-profile-card-v2 .lg-profile-tool {
    min-height: 72px;
    align-content: center;
    padding: 10px 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
}

.lg-profile-card-v2 .lg-profile-tool[disabled] {
    opacity: .72;
    cursor: default;
}

.lg-profile-primary-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 18px;
    background: linear-gradient(135deg, #48cfc2, #3db9df);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 18px 34px rgba(61, 185, 223, 0.22);
}

html[data-theme="dark"] .lg-member-trigger {
    background: rgba(20, 30, 48, 0.9);
    border-color: rgba(111, 131, 166, 0.26);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .lg-member-trigger.is-login {
    color: #d9e7ff;
    background: rgba(35, 48, 76, 0.96);
}

html[data-theme="dark"] .lg-member-popover {
    background: rgba(15, 23, 38, 0.94);
    border-color: rgba(92, 111, 141, 0.42);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] .lg-member-popover-head::after {
    background: linear-gradient(180deg, rgba(15, 23, 38, 0.54), rgba(15, 23, 38, 0.18));
}

html[data-theme="dark"] .lg-member-popover-copy span {
    color: rgba(189, 201, 224, 0.78);
}

html[data-theme="dark"] .lg-member-popover-item {
    color: #e7edf8;
}

html[data-theme="dark"] .lg-member-popover-item:hover {
    background: rgba(86, 130, 255, 0.12);
}

html[data-theme="dark"] .lg-member-popover-foot {
    border-top-color: rgba(92, 111, 141, 0.38);
}

html[data-theme="dark"] .lg-profile-inline-stat,
html[data-theme="dark"] .lg-profile-card-v2 .lg-profile-tool {
    background: rgba(20, 30, 48, 0.74);
    border-color: rgba(94, 113, 145, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .lg-profile-primary-link {
    color: #fff;
}

.lg-toast {
    position: fixed;
    top: 92px;
    right: 24px;
    z-index: 120;
    min-width: 180px;
    max-width: min(360px, calc(100vw - 32px));
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.88);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 0 18px 40px rgba(15, 23, 38, 0.24);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.lg-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lg-toast[data-type="success"] {
    background: rgba(23, 101, 52, 0.9);
}

.lg-toast[data-type="error"] {
    background: rgba(153, 27, 27, 0.92);
}

.lg-member-trigger {
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
}

.lg-member-trigger.is-login {
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
}

.lg-member-trigger-avatar {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.68);
}

.lg-member-popover {
    width: 304px;
    padding: 14px;
    border-radius: 24px;
}

.lg-member-popover-head {
    display: grid;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 20px;
}

.lg-member-popover-copy strong {
    font-size: 1rem;
    font-weight: 700;
}

.lg-member-popover-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lg-member-popover-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--lg-text);
    font-size: 0.75rem;
    font-weight: 700;
}

.lg-member-popover-tag.is-level {
    background: rgba(86, 130, 255, 0.16);
    border-color: rgba(86, 130, 255, 0.22);
    color: var(--lg-primary);
}

.lg-member-popover-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.lg-member-popover-stat {
    display: grid;
    gap: 3px;
    justify-items: center;
    padding: 10px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.lg-member-popover-stat strong {
    font-size: 1rem;
    line-height: 1;
}

.lg-member-popover-stat span {
    color: var(--lg-muted);
    font-size: 0.76rem;
}

.lg-profile-card-v2 {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: #526376;
    box-shadow: 0 20px 44px rgba(24, 42, 80, 0.16);
}

.lg-profile-card-v2 .lg-profile-cover {
    opacity: var(--lg-profile-cover-opacity, .86);
}

.lg-profile-card-v2 .lg-profile-backdrop {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(23, 33, 54, 0.1), rgba(23, 33, 54, 0.34) 42%, rgba(14, 23, 38, 0.7));
}

.lg-profile-body-shell {
    padding: 20px;
    gap: 16px;
}

.lg-profile-card-v2 .lg-profile-top {
    align-items: center;
    gap: 14px;
}

.lg-profile-card-v2 .lg-profile-avatar {
    width: 82px;
    height: 82px;
    box-shadow: 0 16px 36px rgba(56, 114, 255, 0.16);
}

.lg-profile-meta {
    gap: 10px;
    margin-bottom: 8px;
}

.lg-profile-top h3 {
    font-size: 1.08rem;
    font-weight: 700;
}

.lg-profile-role,
.lg-profile-status,
.lg-profile-level {
    min-height: 26px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 0.74rem;
    letter-spacing: 0;
}

.lg-profile-mail {
    margin-bottom: 10px;
}

.lg-profile-stats-inline {
    gap: 0;
    padding: 6px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(217, 227, 241, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.lg-profile-inline-stat {
    min-height: 66px;
    padding: 10px 8px;
    border-right: 1px solid rgba(217, 227, 241, 0.82);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
}

.lg-profile-inline-stat:last-child {
    border-right: 0;
}

.lg-profile-inline-stat strong {
    font-size: 1.26rem;
}

.lg-profile-body {
    gap: 14px;
}

.lg-member-panel,
.lg-profile-hint {
    padding: 14px;
    border-radius: 18px;
}

.lg-member-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.lg-member-summary span {
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 14px;
    display: grid;
    gap: 4px;
    align-items: start;
}

.lg-member-summary b {
    display: block;
    line-height: 1;
}

.lg-profile-actions {
    gap: 10px;
}

.lg-profile-btn {
    min-height: 42px;
    border-radius: 14px;
    font-size: 0.86rem;
}

.lg-profile-btn.is-ghost {
    background: rgba(255, 255, 255, 0.54);
    border-style: dashed;
}

.lg-profile-tools {
    gap: 10px;
}

.lg-profile-card-v2 .lg-profile-tool {
    min-height: 64px;
    border-radius: 16px;
    gap: 6px;
    background: rgba(255, 255, 255, 0.56);
}

.lg-profile-tool span {
    width: 28px;
    height: 28px;
}

.lg-profile-primary-link {
    min-height: 52px;
    border-radius: 18px;
}

html[data-theme="dark"] .lg-toast {
    background: rgba(15, 23, 38, 0.92);
}

html[data-theme="dark"] .lg-member-popover-tag {
    background: rgba(18, 27, 43, 0.46);
    border-color: rgba(111, 131, 166, 0.26);
    color: #eaf0ff;
}

html[data-theme="dark"] .lg-member-popover-tag.is-level {
    background: rgba(86, 130, 255, 0.16);
    color: #d9e7ff;
}

html[data-theme="dark"] .lg-member-popover-stat {
    background: rgba(18, 27, 43, 0.42);
    border-color: rgba(111, 131, 166, 0.24);
}

html[data-theme="dark"] .lg-member-popover-stat span {
    color: rgba(189, 201, 224, 0.82);
}

html[data-theme="dark"] .lg-profile-card-v2 {
    border-color: rgba(94, 113, 145, 0.32);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .lg-profile-stats-inline {
    background: rgba(15, 23, 38, 0.46);
    border-color: rgba(94, 113, 145, 0.34);
}

html[data-theme="dark"] .lg-profile-inline-stat {
    border-right-color: rgba(94, 113, 145, 0.34);
}

html[data-theme="dark"] .lg-profile-btn.is-ghost {
    background: rgba(20, 30, 48, 0.62);
}

.lg-sidecard-shell {
    position: relative;
    z-index: 1;
    min-height: 430px;
    padding: 34px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    color: #fff;
    text-align: center;
}

.lg-sidecard-hero {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 13px;
    padding: 74px 16px 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 34px rgba(24, 37, 62, 0.16);
    backdrop-filter: blur(16px) saturate(1.18);
    -webkit-backdrop-filter: blur(16px) saturate(1.18);
}

.lg-sidecard-avatar {
    position: absolute;
    left: 50%;
    top: -42px;
    width: 96px;
    height: 96px;
    transform: translateX(-50%);
}

.lg-sidecard-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 36px rgba(14, 30, 57, 0.28);
}

.lg-sidecard-online {
    position: absolute;
    right: 4px;
    bottom: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #38d39f;
    border: 3px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 16px rgba(56, 211, 159, 0.24);
}

.lg-sidecard-main {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.lg-sidecard-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lg-sidecard-name-row h3 {
    margin: 0;
    max-width: 100%;
    font-size: 1.32rem;
    line-height: 1.18;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 12px rgba(12, 24, 43, 0.34);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lg-sidecard-identity {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 8px;
}

.lg-sidecard-chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.lg-sidecard-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.75rem;
    font-weight: 600;
}

.lg-sidecard-chip.is-level,
.lg-sidecard-chip.is-active {
    background: rgba(44, 55, 80, 0.22);
}

.lg-sidecard-mail {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    line-height: 1.4;
    word-break: break-all;
}

.lg-sidecard-intro {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lg-sidecard-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.lg-sidecard-stat {
    min-height: 48px;
    padding: 2px 8px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.lg-sidecard-stat:last-child {
    border-right: 0;
}

.lg-sidecard-stat strong {
    font-size: 1.08rem;
    line-height: 1;
    font-weight: 700;
    color: #fff;
}

.lg-sidecard-stat span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    font-weight: 600;
}

.lg-sidecard-level,
.lg-sidecard-hint {
    width: 100%;
    padding: 12px 13px;
    border-radius: 18px;
    background: rgba(20, 32, 54, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.lg-sidecard-level-badge {
    flex: none;
    display: inline-grid;
    place-items: center;
    max-width: 46px;
    max-height: 24px;
    overflow: hidden;
}

.lg-sidecard-level-badge img {
    max-width: 100%;
    max-height: 24px;
}

.lg-sidecard-level-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
}

.lg-sidecard-level-line strong {
    color: #fff;
    font-size: 0.86rem;
}

.lg-sidecard-progress {
    height: 5px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.24);
}

.lg-sidecard-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.56));
}

.lg-sidecard-progress-text {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.76rem;
    line-height: 1.45;
}

.lg-sidecard-hint strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 0.92rem;
}

.lg-sidecard-hint p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    line-height: 1.55;
}

.lg-sidecard-actions {
    display: grid;
    gap: 11px;
}

.lg-sidecard-main-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.lg-sidecard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 15px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .24s cubic-bezier(.2,.8,.2,1), background .24s ease;
}

.lg-sidecard-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.28);
}

.lg-sidecard-btn.is-primary {
    color: #243149;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 28px rgba(20, 33, 56, 0.16);
}

.lg-sidecard-btn.is-full {
    width: 100%;
}

.lg-sidecard-btn.is-ghost {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.lg-sidecard-toolgrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.lg-sidecard-toolgrid.is-admin {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.lg-sidecard-tool {
    min-width: 0;
    min-height: 62px;
    padding: 8px 3px 7px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .24s cubic-bezier(.2,.8,.2,1), border-color .24s ease, background .24s ease, color .24s ease;
}

.lg-sidecard-tool:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.25);
}

.lg-sidecard-tool span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: #40516b;
    font-size: 0.72rem;
    font-weight: 800;
}

.lg-sidecard-tool span.is-fav {
    background: #ffe2e6;
    color: #c94b65;
}

.lg-sidecard-tool span.is-sub {
    background: #dff5ff;
    color: #3485a7;
}

.lg-sidecard-tool span.is-sign {
    background: #fff3cf;
    color: #a56d1f;
}

.lg-sidecard-tool span.is-post {
    background: #e6f5df;
    color: #4d8a32;
}

.lg-sidecard-tool span.is-admin {
    background: #e9e5ff;
    color: #6753ad;
}

.lg-sidecard-tool span.is-logout {
    background: #edf1f7;
    color: #657287;
}

.lg-sidecard-tool small {
    color: inherit;
    font-size: 0.72rem;
    font-weight: 600;
}

.lg-sidecard-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

html[data-theme="dark"] .lg-sidecard-hero {
    background: linear-gradient(180deg, rgba(21, 30, 48, 0.52), rgba(13, 20, 33, 0.42));
    border-color: rgba(255, 255, 255, 0.16);
}

.lg-sidebar-notice {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(214, 226, 243, 0.82);
    background: linear-gradient(180deg, rgba(245, 250, 255, 0.86), rgba(240, 247, 255, 0.92));
}

.lg-sidebar-notice-bg {
    position: absolute;
    inset: 0;
    background-image: var(--lg-sidebar-notice-bg, none);
    background-size: cover;
    background-position: center;
    opacity: var(--lg-sidebar-notice-opacity, .76);
}

.lg-sidebar-notice::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.68) 24%, rgba(255, 255, 255, 0.88));
}

.lg-sidebar-notice-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
}

.lg-sidebar-notice-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #233247;
}

.lg-sidebar-notice-title span {
    color: #5bbf8a;
    font-size: 1.1rem;
}

.lg-sidebar-notice-title strong {
    font-size: 1.08rem;
    font-weight: 800;
}

.lg-sidebar-notice-links {
    display: grid;
    gap: 14px;
    text-align: center;
}

.lg-sidebar-notice-links div {
    display: grid;
    gap: 5px;
}

.lg-sidebar-notice-links span {
    color: #39465d;
    font-size: 0.96rem;
    font-weight: 700;
}

.lg-sidebar-notice-links a {
    color: #5ea4e3;
    font-size: 1.08rem;
    font-weight: 800;
    word-break: break-all;
}

.lg-sidebar-client {
    padding: 18px 18px 16px;
    border-radius: 22px;
    background: rgba(230, 247, 250, 0.56);
    border: 1px solid rgba(193, 230, 238, 0.82);
    box-shadow: 0 16px 28px rgba(78, 157, 175, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lg-sidebar-client strong {
    display: block;
    margin-bottom: 10px;
    text-align: center;
    color: #33465a;
    font-size: 1rem;
}

.lg-sidebar-client p {
    margin: 0;
    color: #32485d;
    font-size: 0.98rem;
    line-height: 1.9;
    font-weight: 700;
}

.lg-sidebar-client-line {
    margin-top: 4px !important;
    font-size: 0.88rem !important;
    line-height: 1.7 !important;
    word-break: break-word;
}

html[data-theme="dark"] .lg-sidebar-notice {
    border-color: rgba(103, 123, 154, 0.3);
    background: linear-gradient(180deg, rgba(18, 27, 43, 0.9), rgba(16, 24, 38, 0.96));
}

html[data-theme="dark"] .lg-sidebar-notice::after {
    background: linear-gradient(180deg, rgba(16, 24, 38, 0.26), rgba(16, 24, 38, 0.56) 24%, rgba(16, 24, 38, 0.88));
}

html[data-theme="dark"] .lg-sidebar-notice-title,
html[data-theme="dark"] .lg-sidebar-notice-links span,
html[data-theme="dark"] .lg-sidebar-client strong,
html[data-theme="dark"] .lg-sidebar-client p {
    color: #e9f1ff;
}

html[data-theme="dark"] .lg-sidebar-notice-links a {
    color: #7ec2ff;
}

html[data-theme="dark"] .lg-sidebar-client {
    background: rgba(24, 40, 58, 0.58);
    border-color: rgba(85, 117, 141, 0.34);
}

@media (max-width: 780px) {
    .lg-toast {
        top: auto;
        right: 16px;
        left: 16px;
        bottom: 18px;
        max-width: none;
        transform: translateY(10px);
    }

    .lg-toast.is-visible {
        transform: translateY(0);
    }
}


.lg-profile-links {
    margin-top: 2px;
}

.lg-profile-links .lg-chip {
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
    color: var(--lg-muted);
}

.lg-profile-card.is-user .lg-profile-top {
    padding-bottom: 14px;
}

.lg-profile-card.is-user .lg-profile-body {
    gap: 12px;
    padding-top: 14px;
}

.lg-profile-card.is-user .lg-member-panel {
    padding: 14px 13px;
}

.lg-profile-card.is-user .lg-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lg-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
}

@supports not (display: grid) {
    .lg-stat-grid {
        display: block;
        overflow: hidden;
    }
    .lg-stat-grid .lg-stat-item {
        float: left;
        width: calc(33.333% - 6px);
        margin-right: 9px;
        margin-bottom: 8px;
    }
    .lg-stat-grid .lg-stat-item:nth-child(3n) {
        margin-right: 0;
    }
}

.lg-stat-item {
    padding: 11px 8px;
    border-radius: 14px;
    background: var(--lg-panel-strong);
    box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.06);
    text-align: center;
}

.lg-stat-item strong {
    display: block;
    font-size: 1rem;
}

.lg-stat-item span {
    color: var(--lg-muted);
    font-size: 0.78rem;
}
.lg-stat-grid.is-random-posts .lg-stat-item {
    position: relative;
    display: grid;
    align-content: end;
    justify-items: flex-start;
    min-height: 132px;
    padding: 14px;
    overflow: hidden;
    text-align: left;
    color: #fff;
    background:
        linear-gradient(145deg, var(--lg-post-tone-1), var(--lg-post-tone-2));
    background-image:
        linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.78)),
        var(--lg-post-cover, linear-gradient(145deg, var(--lg-post-tone-1), var(--lg-post-tone-2)));
    background-position: center;
    background-size: cover;
    box-shadow: none;
}

.lg-stat-grid.is-random-posts .lg-stat-item strong {
    position: relative;
    z-index: 1;
    font-size: 0.98rem;
    line-height: 1.45;
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.3);
    margin-top: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.lg-stat-grid.is-random-posts .lg-stat-item span {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.86);
}

.lg-stat-grid.is-random-posts .lg-stat-item em {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    font-style: normal;
    margin-bottom: 10px;
    backdrop-filter: blur(6px);
}

.lg-stat-item-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.38) 52%, rgba(15, 23, 42, 0.82));
    pointer-events: none;
}


.lg-widget-head {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lg-widget-head h3 {
    margin: 0;
    font-size: 0.94rem;
    font-weight: 600;
}

.lg-widget-more {
    color: var(--lg-muted);
    font-size: 0.86rem;
    white-space: nowrap;
}

.lg-link-list,
.lg-category-list,
.lg-archive-list,
.lg-compact-posts,
.lg-comment-feed,
.lg-widget-html {
    display: grid;
    gap: 10px;
}

.lg-highlight-list,
.lg-comment-page-list,
.lg-archive-timeline {
    display: grid;
    gap: 16px;
}

.lg-highlight-list article {
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
}

.lg-highlight-list strong {
    display: block;
    margin-bottom: 8px;
}

.lg-highlight-list p,
.lg-link-card p,
.lg-archive-item p,
.lg-comment-page-item p {
    margin: 0;
    color: var(--lg-muted);
}

.lg-link-list a,
.lg-category-list > a,
.lg-subcategory-list a,
.lg-archive-list a,
.lg-comment-feed article,
.lg-search-form,
.lg-compact-posts a,
.lg-comment-item {
    border-radius: 18px;
}

.lg-widget-comments .lg-comment-feed {
    gap: 8px;
}

.lg-comment-feed-card {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
    border-radius: 14px;
}

.lg-comment-feed-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lg-comment-feed-top strong {
    font-size: 0.98rem;
    line-height: 1.2;
}

.lg-comment-feed-top time {
    color: var(--lg-muted);
    font-size: 0.85rem;
    flex: none;
}

.lg-comment-feed-link {
    display: block;
    color: var(--lg-text);
    line-height: 1.55;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lg-comment-feed-reply {
    display: flex;
    gap: 6px;
    padding-left: 10px;
    border-left: 2px solid rgba(86, 130, 255, 0.12);
    color: var(--lg-muted);
    line-height: 1.45;
    font-size: 0.88rem;
    opacity: 0.92;
}

.lg-comment-feed-reply-label {
    flex: none;
    font-weight: 700;
}

.lg-link-list a,
.lg-category-list > a,
.lg-subcategory-list a,
.lg-archive-list a,
.lg-compact-posts a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
}

.lg-post-list-item.is-hidden {
    display: none;
}

.lg-loadmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.lg-loadmore-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 154px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(34, 46, 71, 0.92), rgba(53, 74, 113, 0.92));
    color: #fff;
    font-weight: 600;
    box-shadow: 0 16px 34px rgba(23, 36, 62, 0.16);
    transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.lg-loadmore-btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
    opacity: 0.9;
    pointer-events: none;
}

.lg-loadmore-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(23, 36, 62, 0.2);
}

.lg-loadmore-btn:active {
    transform: translateY(0) scale(0.985);
}

.lg-loadmore-btn > span {
    position: relative;
    z-index: 1;
}

.lg-loadmore-spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.26);
    border-top-color: #ffffff;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity .18s ease, transform .18s ease;
}

.lg-loadmore-btn.is-loading .lg-loadmore-spinner {
    opacity: 1;
    transform: scale(1);
    animation: lgSpin .8s linear infinite;
}

.lg-loadmore-btn.is-loading .lg-loadmore-label {
    opacity: 0.92;
}

.lg-loadmore-btn.is-done {
    opacity: 0;
    pointer-events: none;
}

@keyframes lgSpin {
    to {
        transform: rotate(360deg);
    }
}

.lg-link-list small,
.lg-category-list small,
.lg-subcategory-list small,
.lg-archive-list small {
    color: var(--lg-muted);
}

.lg-link-list-main {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.lg-link-list a > img {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    object-fit: cover;
    flex: none;
}

.lg-subcategory-list {
    display: grid;
    gap: 10px;
    padding: 10px 0 0 16px;
}

.lg-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lg-tag-cloud a {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
}

.lg-category-gallery {
    position: relative;
    gap: 10px;
    max-height: 520px;
    overflow: hidden;
}

.lg-category-gallery.is-truncated::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 72px;
    pointer-events: none;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--lg-panel) 78%);
}

.lg-category-list > a.lg-category-item {
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, hsla(var(--lg-cat-hue), 85%, 95%, 0.96), hsla(calc(var(--lg-cat-hue) + 26), 84%, 91%, 0.86));
    border-color: hsla(var(--lg-cat-hue), 42%, 78%, 0.32);
    box-shadow: 0 10px 24px rgba(69, 90, 140, 0.07);
}

html[data-theme="dark"] .lg-category-list > a.lg-category-item {
    background:
        linear-gradient(135deg, hsla(var(--lg-cat-hue), 42%, 22%, 0.88), hsla(calc(var(--lg-cat-hue) + 30), 44%, 17%, 0.8));
    border-color: hsla(var(--lg-cat-hue), 38%, 56%, 0.28);
}

html[data-theme="dark"] .lg-category-gallery.is-truncated::after {
    background: linear-gradient(180deg, rgba(15, 23, 38, 0), var(--lg-panel) 78%);
}

.lg-category-thumb {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    flex: none;
    font-size: 1rem;
    font-weight: 700;
    color: hsl(var(--lg-cat-hue), 52%, 34%);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

html[data-theme="dark"] .lg-category-thumb {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.lg-category-main {
    display: grid;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.lg-category-main strong {
    font-size: 0.92rem;
    color: var(--lg-text);
    line-height: 1.2;
}

.lg-category-main em {
    font-style: normal;
    font-size: 0.74rem;
    color: var(--lg-muted);
}

.lg-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 11px;
    font-size: 0.76rem;
    color: var(--lg-text);
    background: rgba(255, 255, 255, 0.74);
}

html[data-theme="dark"] .lg-category-count {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .lg-subcategory-chip {
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.lg-subcategory-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.lg-subcategory-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    color: var(--lg-muted);
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.lg-subcategory-chip.is-more {
    color: var(--lg-primary);
    background: rgba(86, 130, 255, 0.12);
    border-color: rgba(86, 130, 255, 0.12);
}

.lg-tag-cloud-float {
    position: relative;
    align-items: flex-start;
    align-content: flex-start;
    min-height: 0;
    max-height: 330px;
    padding: 12px 8px 10px;
    gap: 10px 8px;
    overflow: hidden;
}

.lg-tag-cloud-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background:
        radial-gradient(circle at top left, rgba(86, 130, 255, 0.08), transparent 40%),
        radial-gradient(circle at bottom right, rgba(83, 214, 155, 0.09), transparent 44%);
    pointer-events: none;
}

.lg-tag-cloud-float.is-truncated::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 64px;
    pointer-events: none;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--lg-panel) 78%);
}

.lg-tag-cloud a.lg-tag-cloud-item {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 11px;
    color: hsl(var(--lg-tag-hue), 72%, 36%);
    background: hsla(var(--lg-tag-hue), 90%, 76%, 0.28);
    border: 1px solid hsla(var(--lg-tag-hue), 74%, 72%, 0.22);
    box-shadow: 0 8px 18px hsla(var(--lg-tag-hue), 58%, 64%, 0.12);
    transform: translateY(var(--lg-tag-shift)) rotate(var(--lg-tag-rotate));
    animation: lgTagFloat 5.8s ease-in-out infinite;
    animation-delay: var(--lg-tag-delay);
    backdrop-filter: blur(10px);
}

.lg-tag-cloud-item span,
.lg-tag-cloud-item small {
    position: relative;
    z-index: 1;
}

.lg-tag-cloud-item span {
    max-width: 6.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lg-tag-cloud-item small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 7px;
    font-size: 0.68rem;
    color: #fff;
    background: hsla(var(--lg-tag-hue), 72%, 56%, 0.9);
}

html[data-theme="dark"] .lg-tag-cloud a.lg-tag-cloud-item {
    color: hsla(var(--lg-tag-hue), 92%, 88%, 0.98);
    background: hsla(var(--lg-tag-hue), 56%, 34%, 0.3);
    border-color: hsla(var(--lg-tag-hue), 58%, 54%, 0.2);
}

html[data-theme="dark"] .lg-tag-cloud-float.is-truncated::after {
    background: linear-gradient(180deg, rgba(15, 23, 38, 0), var(--lg-panel) 78%);
}

@keyframes lgTagFloat {
    0%,
    100% {
        transform: translateY(var(--lg-tag-shift)) rotate(var(--lg-tag-rotate));
    }
    50% {
        transform: translateY(calc(var(--lg-tag-shift) - 5px)) rotate(calc(var(--lg-tag-rotate) * 0.86));
    }
}

.lg-search-form {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
}

.lg-search-form input,
.lg-comment-form textarea,
.lg-comment-fields input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--lg-text);
    outline: 0;
}

.lg-search-form button,
.lg-comment-submit input,
.lg-verify-modal button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    background: var(--lg-primary);
    color: #fff;
    font-weight: 700;
}

.lg-compact-posts a {
    justify-content: flex-start;
}

.lg-compact-posts img {
    width: 68px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    flex: none;
}

.lg-comment-feed article {
    padding: 11px 13px;
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
}

.lg-comment-feed article p {
    margin: 8px 0;
}

.lg-article-card {
    margin-top: -22px;
    position: relative;
    z-index: 2;
    border-top: 0;
    border-radius: 0 0 var(--lg-radius) var(--lg-radius);
    box-shadow: var(--lg-shadow);
}

.lg-post-tag-strip {
    position: absolute;
    z-index: 2;
    left: 30px;
    right: 30px;
    bottom: 18px;
    padding: 0;
}

.lg-post-tag-strip .lg-tag-row {
    gap: 10px;
}

.lg-post-tag-strip .lg-tag {
    min-height: 32px;
    padding: 0 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.lg-post-tag-spacer {
    height: 4px;
}

.lg-ai-summary {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 10px;
    margin: -12px 0 18px;
    padding: 18px 22px 20px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 249, 0.9)),
        var(--lg-panel);
    border: 1px solid rgba(132, 146, 176, 0.12);
    box-shadow: 0 16px 38px rgba(31, 45, 74, 0.08);
    overflow: hidden;
}

.lg-ai-summary::before {
    content: "";
    position: absolute;
    left: 58px;
    top: 35px;
    width: 50px;
    height: 9px;
    border-radius: 999px;
    background: rgba(232, 169, 154, 0.48);
    transform: rotate(-2deg);
    pointer-events: none;
}

.lg-ai-summary-title {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3f4652;
    font-size: 0.96rem;
    line-height: 1.2;
    font-weight: 760;
}

.lg-ai-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #555f6d;
}

.lg-ai-summary-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lg-ai-summary p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #3d4857;
    font-size: 0.98rem;
    line-height: 1.78;
    font-weight: 520;
    letter-spacing: 0;
}

.lg-ai-summary-text {
    min-height: 1.78em;
}

.lg-ai-summary-text.is-typing::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-left: 4px;
    border-radius: 999px;
    background: #596477;
    vertical-align: -0.18em;
    animation: lgAiCursorBlink .78s steps(2, start) infinite;
}

.lg-ai-summary-text.is-typing.is-finished::after {
    opacity: 0;
    animation: none;
}

@keyframes lgAiCursorBlink {
    0%,
    46% {
        opacity: 1;
    }
    47%,
    100% {
        opacity: 0;
    }
}

html[data-theme="dark"] .lg-ai-summary {
    background:
        radial-gradient(circle at 12% 0, rgba(255, 154, 125, 0.12), transparent 32%),
        rgba(18, 26, 42, 0.82);
    border-color: rgba(116, 137, 172, 0.16);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .lg-ai-summary::before {
    background: rgba(255, 154, 125, 0.34);
}

html[data-theme="dark"] .lg-ai-summary-title,
html[data-theme="dark"] .lg-ai-summary p {
    color: rgba(235, 240, 250, 0.9);
}

html[data-theme="dark"] .lg-ai-summary-text.is-typing::after {
    background: rgba(235, 240, 250, 0.82);
}

@media (prefers-reduced-motion: reduce) {
    .lg-ai-summary-text.is-typing::after {
        display: none;
    }
}

.lg-article-toc {
    margin-bottom: 22px;
    padding: 18px 18px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.96));
    border: 1px solid rgba(132, 146, 176, 0.14);
    box-shadow: 0 14px 34px rgba(27, 40, 71, 0.06);
}

.lg-sidebar-toc {
    margin-bottom: 0;
}

.lg-article-toc .lg-widget-head {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(132, 146, 176, 0.12);
}

.lg-article-toc .lg-widget-head h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #2f3d59;
}

.lg-article-toc .lg-widget-head h3::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0 2px, transparent 2px),
        linear-gradient(135deg, #ff8b7a, #ff6d60);
    box-shadow: 0 6px 16px rgba(255, 109, 96, 0.2);
}

.lg-article-toc-list {
    display: grid;
    gap: 8px;
}

.lg-toc-link {
    position: relative;
    display: block;
    padding: 8px 10px 8px 28px;
    border-radius: 12px;
    color: #66748d;
    line-height: 1.65;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.lg-toc-link::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 14px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0 2px, transparent 2px),
        linear-gradient(135deg, #ff9b88, #ff7768);
    box-shadow: 0 4px 10px rgba(255, 119, 104, 0.18);
}

.lg-toc-link:hover {
    background: rgba(86, 130, 255, 0.08);
    color: #4068c9;
    transform: translateX(2px);
}

.lg-toc-link.is-level-1 {
    padding-left: 28px;
    font-weight: 600;
    color: #32415e;
    font-size: 0.98rem;
}

.lg-toc-link.is-level-2 {
    padding-left: 44px;
}

.lg-toc-link.is-level-2::before {
    left: 24px;
}

.lg-toc-link.is-level-3 {
    padding-left: 58px;
    font-size: 0.94rem;
}

.lg-toc-link.is-level-3::before {
    left: 38px;
}

.lg-article-card .markdown {
    font-size: 1.02rem;
    color: #44516b;
}

.thyuu-video,
.markdown iframe.thyuu-video,
.lg-article-card iframe.thyuu-video {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    border: 0;
    border-radius: 1em;
    background: rgba(17, 24, 39, 0.08);
    box-shadow: 0 18px 42px rgba(27, 40, 71, 0.12);
}

.markdown iframe[src*="player.bilibili.com"],
.markdown iframe[src*="v.qq.com"],
.markdown iframe[src*="player.youku.com"],
.markdown iframe[src*="ixigua.com"],
.markdown iframe[src*="tv.sohu.com"] {
    display: block;
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: 0;
    border: 0;
    border-radius: 1em;
    background: rgba(17, 24, 39, 0.08);
}

.lg-video-error {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 111, 97, 0.08);
    color: #b9473c;
    font-size: 0.92rem;
    line-height: 1.6;
}

html[data-theme="dark"] .thyuu-video,
html[data-theme="dark"] .markdown iframe[src*="player.bilibili.com"],
html[data-theme="dark"] .markdown iframe[src*="v.qq.com"],
html[data-theme="dark"] .markdown iframe[src*="player.youku.com"],
html[data-theme="dark"] .markdown iframe[src*="ixigua.com"],
html[data-theme="dark"] .markdown iframe[src*="tv.sohu.com"] {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.lg-article-card .markdown > * + h1,
.lg-article-card .markdown > * + h2,
.lg-article-card .markdown > * + h3 {
    margin-top: 2.1em;
}

.lg-article-card .markdown h1,
.lg-article-card .markdown h2,
.lg-article-card .markdown h3 {
    scroll-margin-top: 96px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2a3853;
    letter-spacing: 0;
}

.lg-article-card .markdown h1::before,
.lg-article-card .markdown h2::before,
.lg-article-card .markdown h3::before {
    content: "";
    flex: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8d7d, #ff6f61);
    box-shadow: 0 8px 18px rgba(255, 111, 97, 0.18);
}

.lg-article-card .markdown h1 {
    margin-bottom: 0.72em;
    font-size: clamp(1.06rem, 1.18vw, 1.18rem);
    line-height: 1.38;
    font-weight: 560;
}

.lg-article-card .markdown h1::before {
    width: 10px;
    height: 10px;
}

.lg-article-card .markdown h2 {
    margin-bottom: 0.66em;
    padding-bottom: 0.42em;
    font-size: clamp(0.98rem, 1.04vw, 1.06rem);
    line-height: 1.44;
    font-weight: 540;
    border-bottom: 1px solid rgba(132, 146, 176, 0.16);
}

.lg-article-card .markdown h2::before {
    width: 9px;
    height: 9px;
}

.lg-article-card .markdown h3 {
    margin-bottom: 0.6em;
    font-size: clamp(0.9rem, 0.92vw, 0.96rem);
    line-height: 1.52;
    font-weight: 500;
    color: #3a4b68;
}

.lg-article-card .markdown h3::before {
    width: 7px;
    height: 7px;
}

html[data-theme="dark"] .lg-article-toc {
    background: linear-gradient(180deg, rgba(22, 31, 50, 0.92), rgba(16, 24, 40, 0.94));
    border-color: rgba(116, 137, 172, 0.18);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .lg-article-toc .lg-widget-head {
    border-bottom-color: rgba(116, 137, 172, 0.16);
}

html[data-theme="dark"] .lg-article-toc .lg-widget-head h3,
html[data-theme="dark"] .lg-toc-link.is-level-1 {
    color: #edf3ff;
}

html[data-theme="dark"] .lg-toc-link {
    color: rgba(204, 216, 239, 0.76);
}

html[data-theme="dark"] .lg-toc-link:hover {
    background: rgba(86, 130, 255, 0.14);
    color: #8fb0ff;
}

html[data-theme="dark"] .lg-article-card .markdown {
    color: rgba(216, 226, 244, 0.86);
}

html[data-theme="dark"] .lg-article-card .markdown h1,
html[data-theme="dark"] .lg-article-card .markdown h2,
html[data-theme="dark"] .lg-article-card .markdown h3 {
    color: #f2f6ff;
}

html[data-theme="dark"] .lg-article-card .markdown h2 {
    border-bottom-color: rgba(116, 137, 172, 0.18);
}

.lg-post-actions {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.lg-post-action-group {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(86, 130, 255, 0.12);
    box-shadow: 0 14px 34px rgba(28, 46, 88, 0.1);
    backdrop-filter: blur(12px);
}

html[data-theme="dark"] .lg-post-action-group {
    background: rgba(19, 28, 46, 0.72);
    border-color: rgba(112, 154, 255, 0.12);
}

.lg-post-action {
    display: inline-grid;
    justify-items: center;
    gap: 5px;
    min-width: 72px;
    padding: 10px 10px 8px;
    border-radius: 16px;
    background: transparent;
    border: 0;
    color: var(--lg-text);
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

.lg-post-action:hover {
    transform: translateY(-1px);
    background: rgba(86, 130, 255, 0.08);
}

.lg-post-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(86, 130, 255, 0.1);
    color: var(--lg-primary);
}

.lg-post-action-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lg-post-action > span:last-of-type {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
}

.lg-post-action small {
    color: var(--lg-muted);
    font-size: 0.8rem;
}

.lg-content > .euc-article-actions {
    display: none !important;
}

.lg-comments,
.lg-comment-form-wrap {
    margin-top: 20px;
}

.lg-neighbor-wrap {
    margin-top: 18px;
    position: relative;
    z-index: 3;
}

.lg-neighbor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lg-neighbor-card {
    position: relative;
    display: grid;
    gap: 12px;
    min-width: 0;
    min-height: 150px;
    padding: 22px 24px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 248, 255, 0.8)),
        var(--lg-neighbor-cover, linear-gradient(135deg, rgba(86, 130, 255, 0.12), rgba(135, 165, 255, 0.04)));
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(86, 130, 255, 0.12);
    box-shadow: var(--lg-shadow);
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

html[data-theme="dark"] .lg-neighbor-card {
    background: linear-gradient(180deg, rgba(20, 29, 47, 0.94), rgba(15, 23, 38, 0.86));
    border-color: rgba(112, 154, 255, 0.1);
}

.lg-neighbor-card.is-next {
    text-align: right;
}

.lg-neighbor-card.has-cover {
    border-color: rgba(255, 255, 255, 0.12);
}

.lg-neighbor-card:hover {
    transform: scale(1.02);
    box-shadow: 0 18px 42px rgba(27, 40, 71, 0.16);
}

.lg-neighbor-card:hover .lg-neighbor-overlay {
    opacity: 0.92;
}

.lg-neighbor-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 23, 36, 0.24), rgba(16, 23, 36, 0.68)),
        linear-gradient(135deg, rgba(86, 130, 255, 0.16), rgba(86, 130, 255, 0.02));
    opacity: 0;
    transition: opacity .2s ease;
    z-index: -1;
}

.lg-neighbor-card.has-cover .lg-neighbor-overlay {
    opacity: 1;
}

.lg-neighbor-grid a,
.lg-neighbor-grid span {
    display: block;
    font-weight: 600;
    min-width: 0;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.lg-neighbor-grid a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.14rem;
}

.lg-neighbor-grid small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lg-muted);
    font-size: 0.82rem;
}

.lg-neighbor-card.is-next small {
    justify-content: flex-end;
}

.lg-neighbor-card.has-cover a,
.lg-neighbor-card.has-cover span,
.lg-neighbor-card.has-cover small,
.lg-neighbor-card.has-cover strong {
    color: #fff;
}

.lg-neighbor-card strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lg-comment-form {
    display: grid;
    gap: 14px;
}

.lg-comment-post {
    display: grid;
    gap: 14px;
}

.lg-comment-editor {
    position: relative;
}

.lg-comment-editor-tools {
    position: absolute;
    bottom: 14px;
    left: 16px;
    z-index: 3;
    display: flex;
    justify-content: flex-start;
}

.lg-emoji-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--lg-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--lg-text);
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

html[data-theme="dark"] .lg-emoji-toggle {
    background: rgba(18, 26, 42, 0.92);
}

.lg-emoji-toggle:hover,
.lg-emoji-toggle[aria-expanded="true"] {
    border-color: rgba(86, 130, 255, 0.32);
    color: var(--lg-primary);
    transform: translateY(-1px);
}

.lg-emoji-panel {
    position: absolute;
    bottom: 56px;
    left: 16px;
    width: min(420px, calc(100% - 32px));
    z-index: 4;
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--lg-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(18px);
}

.lg-emoji-panel[hidden] {
    display: none !important;
}

html[data-theme="dark"] .lg-emoji-panel {
    background: rgba(18, 26, 42, 0.94);
}

.lg-emoji-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lg-emoji-tabs button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--lg-muted);
    font-size: 1.05rem;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.lg-emoji-tabs button:hover,
.lg-emoji-tabs button.is-active {
    background: var(--lg-primary-soft);
    color: var(--lg-primary);
    transform: translateY(-1px);
}

.lg-emoji-search input {
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--lg-line);
    border-radius: 16px;
    background: var(--lg-panel-strong);
    color: var(--lg-text);
    outline: 0;
}

.lg-emoji-heading {
    font-size: 0.95rem;
    font-weight: 700;
}

.lg-emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.lg-emoji-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: var(--lg-panel-strong);
    font-size: 1.35rem;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease;
}

.lg-emoji-item:hover {
    background: var(--lg-primary-soft);
    transform: translateY(-1px) scale(1.04);
}

.lg-emoji-empty {
    grid-column: 1 / -1;
    padding: 18px 0;
    color: var(--lg-muted);
    text-align: center;
}

.lg-emoji-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--lg-muted);
    font-size: 0.9rem;
}

.lg-emoji-close {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--lg-line);
    border-radius: 999px;
    background: var(--lg-panel-strong);
    color: var(--lg-text);
    cursor: pointer;
}

.lg-comment-captcha {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
    border-radius: 18px;
}

.lg-comment-captcha-title {
    font-size: 0.92rem;
    font-weight: 700;
}

.lg-comment-captcha-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lg-comment-captcha-box input[name="imgcode"] {
    width: 110px;
    min-height: 40px;
    padding: 0 12px;
    background: transparent;
    border: 1px solid var(--lg-line);
    border-radius: 12px;
    color: var(--lg-text);
}

.lg-comment-form textarea,
.lg-comment-fields input,
.lg-verify-modal {
    padding: 14px 16px;
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
    border-radius: 18px;
}

.lg-comment-form textarea {
    padding-top: 14px;
    padding-bottom: 58px;
}

.lg-comment-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.lg-comment-submit {
    display: flex;
    justify-content: flex-end;
}

.lg-comment-list {
    display: grid;
    gap: 14px;
}

.lg-comment-item {
    display: flex;
    gap: 14px;
    padding: 16px;
}

.lg-comment-item.is-child {
    margin-top: 12px;
    background: var(--lg-panel-strong);
    box-shadow: none;
}

@media (max-width: 1360px) {
    .lg-home-hero {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
        gap: 20px;
    }

    .lg-home-hero h1 {
        max-width: 7.6em;
        font-size: 3.2rem;
    }

    .lg-home-hero > .lg-hero-panel {
        width: auto;
        max-width: none;
    }

    .lg-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 18px;
    }
}

@media (max-width: 1180px) {
    .lg-home-hero,
    .lg-layout {
        grid-template-columns: 1fr;
    }

    .lg-home-hero > .lg-hero-panel,
    .lg-layout > .lg-sidebar {
        width: auto;
        max-width: none;
    }

    .lg-stat-grid,
    .lg-stat-grid.is-random-posts {
        grid-template-columns: 1fr;
    }

    .lg-stat-grid .lg-stat-item,
    .lg-stat-grid.is-random-posts .lg-stat-item {
        width: auto;
        margin-right: 0;
    }

    .lg-featured-image-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .lg-shell {
        width: calc(100vw - 28px);
    }
}

@supports not (display: grid) {
    .lg-stat-grid.is-random-posts .lg-stat-item {
        float: left;
        width: calc(33.333% - 6px);
        margin-right: 9px;
    }
}

.lg-comment-children-flat {
    margin-top: 12px;
    display: grid;
    gap: 12px;
}

.lg-comment-item.is-child-flat {
    margin-top: 0;
}

.lg-comment-item.is-child-flat .lg-comment-children-flat {
    margin-top: 0;
}

.lg-comment-item .lg-comment-post {
    margin-top: 14px;
}

.lg-comment-item img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: cover;
    flex: none;
}

.lg-comment-content {
    min-width: 0;
    flex: 1;
}

.lg-comment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.lg-comment-text {
    margin-top: 8px;
}

.comment-reply {
    margin-top: 10px;
}

.com-reply {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--lg-primary-soft);
    color: var(--lg-primary);
    cursor: pointer;
}

.lg-footer {
    padding: 26px 0 40px;
}

.lg-page-article {
    margin-top: 20px;
}

.lg-page-actions {
    margin-top: 18px;
}

.lg-links-hero {
    min-height: 212px;
    padding: 0;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76) 48%, rgba(255, 255, 255, 0.46)),
        var(--lg-links-hero-bg);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
}

.lg-links-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.5), transparent 32%);
    pointer-events: none;
}

.lg-links-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    min-height: 212px;
    padding: 38px 40px;
}

html[data-theme="dark"] .lg-links-hero {
    background-image:
        linear-gradient(90deg, rgba(14, 20, 34, 0.88), rgba(14, 20, 34, 0.72) 52%, rgba(14, 20, 34, 0.42)),
        var(--lg-links-hero-bg);
    border-color: rgba(138, 157, 194, 0.16);
}

.lg-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.lg-link-card {
    display: flex;
    gap: 24px;
    align-items: stretch;
    min-height: 166px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--lg-line);
    box-shadow: 0 20px 48px rgba(33, 43, 66, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lg-link-card-main {
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 178px;
    color: var(--lg-text);
}

.lg-link-card-main:hover {
    color: var(--lg-text);
}

.lg-link-card.has-rss .lg-link-card-main {
    flex: 0 0 190px;
}

html[data-theme="dark"] .lg-link-card {
    background: rgba(18, 25, 42, 0.78);
}

.lg-link-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lg-link-card-top img,
.lg-link-fallback {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    flex: none;
}

.lg-link-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5ca7ff, #3469ff);
    color: #fff;
    font-weight: 700;
}

.lg-link-card strong {
    display: block;
}

.lg-link-meta {
    min-width: 0;
    flex: 1;
}

.lg-link-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.lg-link-card small,
.lg-comment-page-meta span,
.lg-comment-page-meta time {
    color: var(--lg-muted);
}

.lg-link-status-meta {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
}

.lg-link-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
}

.lg-link-status.is-ok {
    background: rgba(22, 163, 74, 0.12);
    border-color: rgba(22, 163, 74, 0.16);
    color: #15803d;
}

.lg-link-status.is-down {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.16);
    color: #dc2626;
}

.lg-link-status.is-unknown {
    background: var(--lg-primary-soft);
    border-color: rgba(56, 114, 255, 0.12);
    color: var(--lg-primary);
}

.lg-link-rss {
    display: grid;
    gap: 12px;
    flex: 1;
    min-width: 0;
    padding-left: 20px;
    border-left: 1px solid rgba(86, 130, 255, 0.22);
}

.lg-link-rss-item {
    position: relative;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 12px;
    color: #313b50;
}

.lg-link-rss-item:hover {
    color: var(--lg-primary);
}

.lg-link-rss-mark {
    width: 7px;
    height: 7px;
    margin-top: 9px;
    border-radius: 50%;
    background: #4f7dff;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(79, 125, 255, 0.16), 0 2px 8px rgba(79, 125, 255, 0.28);
}

.lg-link-rss-main {
    min-width: 0;
}

.lg-link-rss-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.55;
    font-size: 0.96rem;
    font-weight: 520;
}

.lg-link-rss time {
    display: block;
    margin-top: 2px;
    color: var(--lg-muted);
    font-size: 0.82rem;
}

html[data-theme="dark"] .lg-link-rss {
    border-left-color: rgba(123, 162, 255, 0.28);
}

html[data-theme="dark"] .lg-link-rss-item {
    color: rgba(226, 234, 248, 0.88);
}

html[data-theme="dark"] .lg-link-rss-item:hover {
    color: #9db8ff;
}

html[data-theme="dark"] .lg-link-rss-mark {
    background: #8fb0ff;
    border-color: rgba(18, 25, 42, 0.96);
    box-shadow: 0 0 0 4px rgba(143, 176, 255, 0.18), 0 2px 10px rgba(0, 0, 0, 0.34);
}

.lg-comment-page-item {
    display: flex;
    gap: 16px;
    padding: 20px;
}

.lg-comment-page-item img {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    object-fit: cover;
    flex: none;
}

.lg-comment-page-main {
    min-width: 0;
    flex: 1;
}

.lg-comment-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin-bottom: 10px;
}

.lg-comment-page-main a {
    display: inline-flex;
    margin-top: 12px;
    color: var(--lg-primary);
    font-weight: 700;
}

.lg-archives-page {
    display: grid;
    gap: 24px;
}

.lg-archives-hero {
    padding: 12px 0 0;
}

.lg-archives-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--lg-muted);
    font-size: 0.82rem;
}

.lg-archives-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
}

.lg-archives-hero p {
    margin: 14px 0 0;
    max-width: 48ch;
    color: rgba(56, 72, 98, 0.9);
    font-size: 1.03rem;
    line-height: 1.86;
}

html[data-theme="dark"] .lg-archives-hero p {
    color: rgba(220, 229, 245, 0.88);
}

.lg-archives-summary {
    padding-top: 12px;
    border-top: 1px solid rgba(124, 138, 166, 0.16);
}

.lg-archives-summary strong {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #23324f;
}

html[data-theme="dark"] .lg-archives-summary strong {
    color: #edf3ff;
}

.lg-archives-copy {
    margin-top: -6px;
}

.lg-archives-groups {
    display: grid;
    gap: 26px;
}

.lg-archives-group {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 22px;
}

.lg-archives-year h2 {
    margin: 0;
    color: #3d506f;
    font-size: 1.85rem;
    line-height: 1;
    letter-spacing: 0;
}

html[data-theme="dark"] .lg-archives-year h2 {
    color: #d9e6ff;
}

.lg-archives-items {
    display: grid;
    gap: 8px;
}

.lg-archives-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 8px 0;
    border-bottom: 1px solid rgba(124, 138, 166, 0.1);
    transition: transform .18s ease, color .18s ease;
}

.lg-archives-item:last-child {
    border-bottom: 0;
}

.lg-archives-item:hover {
    transform: translateX(4px);
    color: var(--lg-primary);
}

.lg-archives-item time {
    color: rgba(84, 98, 126, 0.78);
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: nowrap;
}

.lg-archives-item span {
    color: #30415f;
    font-size: 1rem;
    line-height: 1.75;
}

html[data-theme="dark"] .lg-archives-item span {
    color: #edf3ff;
}

html[data-theme="dark"] .lg-archives-item time {
    color: rgba(199, 211, 234, 0.76);
}

.lg-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(220px, 0.8fr);
    gap: 22px;
    padding: 30px;
    border-radius: 30px;
    background: var(--lg-panel);
    border: 1px solid var(--lg-line);
    box-shadow: var(--lg-shadow);
}

.lg-footer-brand strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.04rem;
}

.lg-footer-brand p,
.lg-footer-links p {
    margin: 0;
    color: var(--lg-muted);
    line-height: 1.75;
}

.lg-footer-links,
.lg-footer-meta {
    display: grid;
    align-content: start;
    gap: 12px;
}

.lg-footer-links h4,
.lg-footer-meta h4 {
    margin: 0;
    font-size: 0.9rem;
}

.lg-footer-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lg-footer-link-list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--lg-panel-strong);
    border: 1px solid var(--lg-line);
    color: var(--lg-muted);
}

.lg-footer-meta {
    gap: 8px;
    text-align: left;
}

.lg-backtop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.lg-backtop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 82;
    opacity: 0;
    pointer-events: none;
}

.lg-404 {
    display: grid;
    place-items: center;
    min-height: 100vh;
}

.lg-404 .lg-card {
    width: min(560px, 100%);
    padding: 32px;
    text-align: center;
}

@media (max-width: 1100px) {
    .lg-home-hero,
    .lg-layout,
    .lg-page-grid {
        grid-template-columns: 1fr;
    }

    .lg-banner-links {
        grid-template-columns: 1fr;
    }

    .lg-post-list .lg-post-card {
        grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.8fr);
        min-height: 214px;
    }

    .lg-post-list.is-style-dynamic .lg-post-card {
        min-height: 272px;
    }

    .lg-post-card-hero.is-cover-left {
        grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.45fr);
    }

    .lg-post-card.is-featured {
        height: 410px;
    }

    .lg-sidebar {
        position: static;
    }

    .lg-about-tag-grid {
        grid-template-columns: 1fr;
    }

    .lg-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg-featured-image-grid {
        gap: 14px;
    }
}

@media (max-width: 780px) {
    :root {
        --lg-shell: calc(100vw - 28px);
    }

    body.is-home .lg-layout > .lg-sidebar {
        display: none;
    }

    body.is-home .lg-layout {
        grid-template-columns: 1fr;
    }

    .lg-header-inner {
        gap: 10px;
        min-height: 64px;
    }

    .lg-header-left {
        flex: 1;
        min-width: 0;
        gap: 0;
    }

    .lg-brand {
        min-width: 0;
        flex: 1;
    }

    .lg-brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .lg-brand-text strong {
        font-size: 0.96rem;
    }

    .lg-brand-text small {
        max-width: 150px;
        font-size: 0.74rem;
    }

    .lg-mobile-entry {
        display: flex;
        align-items: center;
    }

    .lg-header-actions {
        gap: 8px;
    }

    .lg-member-entry {
        display: none;
    }

    .lg-nav-toggle {
        display: inline-flex;
        margin-left: 0;
        flex-direction: column;
        min-width: 42px;
        min-height: 38px;
    }

    body.is-home .lg-home-top.is-mobile-hero-hidden .lg-home-hero {
        display: none;
    }

    body.is-home .lg-home-top.is-mobile-hero-hidden .lg-banner-links {
        margin-top: 0;
    }

    .lg-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 14px;
        right: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: var(--lg-panel-strong);
        border: 1px solid var(--lg-line);
        border-radius: 20px;
        box-shadow: var(--lg-shadow);
    }

    .lg-nav.is-open {
        display: flex;
    }

    .lg-nav-menu,
    .lg-submenu {
        display: grid;
        position: static;
        min-width: 0;
        padding: 0;
        box-shadow: none;
        background: transparent;
        border: 0;
        gap: 8px;
    }

    .lg-nav-menu > li > a {
        justify-content: space-between;
        min-height: 44px;
        padding: 0 14px;
        background: var(--lg-panel);
        border-radius: 14px;
    }

    .lg-submenu {
        margin-top: 8px;
        padding-left: 12px;
    }

    .lg-nav-menu > li:hover .lg-submenu {
        display: grid;
    }

    .lg-theme-toggle {
        width: 42px;
        flex: 0 0 42px;
        min-height: 42px;
        min-width: 42px;
        border-radius: 999px;
        margin-left: auto;
    }

    .lg-notice .lg-shell {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 0;
    }

    .lg-notice p {
        font-size: 0.88rem;
        line-height: 1.65;
    }

    .lg-main {
        padding-top: 16px;
    }

    .lg-post-list .lg-post-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .lg-post-list.is-style-dynamic .lg-post-card {
        min-height: 232px;
        border-radius: 22px;
    }

    .lg-post-card.is-featured {
        height: 360px;
    }

    .lg-home-hero,
    .lg-post-hero,
    .lg-page-hero {
        padding: 20px;
        border-radius: 22px;
    }

    .lg-links-hero {
        min-height: 176px;
        padding: 0;
    }

    .lg-links-hero-inner {
        min-height: 176px;
        padding: 24px 22px;
    }

    .lg-home-hero h1 {
        max-width: none;
        font-size: 1.85rem;
        margin: 14px 0 10px;
    }

    .lg-home-hero {
        gap: 18px;
        min-height: 0;
    }

    .lg-post-hero {
        min-height: 220px;
        padding: 18px 18px 70px;
    }

    .lg-post-hero h1 {
        font-size: 1.6rem;
        margin: 12px 0 8px;
    }

    .lg-post-hero .lg-post-meta {
        gap: 8px 12px;
        font-size: 0.82rem;
    }

    .lg-home-hero p,
    .lg-page-hero p {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .lg-typed {
        gap: 8px;
        margin-top: 14px;
        padding: 8px 12px;
    }

    .lg-hero-actions {
        gap: 10px;
        margin-top: 20px;
    }

    .lg-hero-actions a {
        min-height: 42px;
        padding: 0 16px;
        font-size: 0.9rem;
    }

    .lg-hero-panel {
        padding: 18px;
        border-radius: 20px;
    }

    .lg-panel-head {
        margin-bottom: 14px;
    }

    .lg-panel-text {
        margin-top: 12px;
        font-size: 0.88rem;
    }

    .lg-stat-grid,
    .lg-comment-fields,
    .lg-neighbor-grid,
    .lg-featured-grid,
    .lg-featured-image-grid,
    .lg-tech-grid,
    .lg-links-grid {
        grid-template-columns: 1fr;
    }

    .lg-featured-image-card {
        border-radius: 20px;
    }

    .lg-featured-image-copy {
        left: 18px;
        right: 18px;
        bottom: 46px;
        opacity: 1;
        transform: translateY(0);
    }

    .lg-featured-image-copy strong {
        max-width: 100%;
        font-size: 1rem;
    }

    .lg-featured-image-meta {
        left: 18px;
        right: 18px;
        bottom: 16px;
        gap: 10px;
        font-size: 0.82rem;
    }

    .lg-link-card {
        flex-direction: column;
        gap: 16px;
        min-height: 0;
        padding: 20px;
        border-radius: 20px;
    }

    .lg-link-card.has-rss .lg-link-card-main {
        flex: none;
    }

    .lg-link-rss {
        padding-left: 0;
        padding-top: 14px;
        border-left: 0;
        border-top: 1px solid rgba(142, 154, 179, 0.2);
    }

    .lg-banner-links.is-quick-only .lg-quick-links {
        grid-template-columns: 1fr;
    }

    .lg-post-hero-pane {
        order: 2;
        padding: 18px 18px 20px;
        gap: 12px;
    }

    .lg-post-card-dynamic .lg-post-dynamic-link {
        height: 272px;
    }

    .lg-post-list.is-style-dynamic .lg-post-card {
        min-height: 272px;
        border-radius: 22px;
    }

    .lg-post-dynamic-meta-top {
        top: 12px;
        left: 12px;
        max-width: calc(50% - 18px);
        gap: 6px;
    }

    .lg-post-dynamic-meta-right {
        top: 12px;
        right: 12px;
        max-width: calc(50% - 18px);
        min-height: 32px;
        padding: 0 9px;
        gap: 5px;
        font-size: 0.72rem;
        overflow: hidden;
    }

    .lg-post-dynamic-pill,
    .lg-post-card-dynamic .lg-flag {
        max-width: 100%;
        min-height: 32px;
        padding: 0 10px;
        font-size: 0.76rem;
        overflow: hidden;
    }

    .lg-post-dynamic-pill time {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lg-post-dynamic-avatar {
        width: 20px;
        height: 20px;
    }

    .lg-post-dynamic-author {
        display: none;
    }

    .lg-post-dynamic-meta-right .lg-post-dynamic-stat.is-comments,
    .lg-post-dynamic-meta-right .lg-post-dynamic-stat.is-words,
    .lg-post-dynamic-meta-right .lg-post-dynamic-stat.is-time {
        display: none;
    }

    .lg-post-dynamic-meta-right .lg-post-dynamic-stat.is-hot {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lg-post-dynamic-title-pill {
        left: 14px;
        right: 14px;
        bottom: 64px;
        max-width: none;
        min-height: 46px;
        padding: 0 14px;
        border-radius: 16px;
    }

    .lg-post-dynamic-title-pill strong {
        font-size: 1.02rem;
    }

    .lg-post-dynamic-footer {
        min-height: 102px;
        padding: 30px 14px 14px;
    }

    .lg-post-dynamic-summary-head {
        font-size: 0.82rem;
    }

    .lg-post-dynamic-summary-text {
        font-size: 0.86rem;
        line-height: 1.62;
    }

    .lg-post-card-dynamic:hover .lg-post-dynamic-title-pill {
        bottom: 26px;
    }

    .lg-post-hero-pane h2 {
        font-size: 1.14rem;
        line-height: 1.36;
    }

    .lg-post-hero-pane p {
        font-size: 0.92rem;
        line-height: 1.76;
        -webkit-line-clamp: 2;
    }

    .lg-post-hero-top {
        gap: 8px;
    }

    .lg-post-hero-date,
    .lg-post-hero-hot,
    .lg-post-hero-sort {
        font-size: 0.8rem;
    }

    .lg-post-hero-cover {
        order: 1;
        clip-path: none;
        aspect-ratio: 16 / 9;
        min-height: 0;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .lg-post-card-hero.is-cover-left .lg-post-hero-pane {
        order: 2;
        padding: 18px 18px 20px;
    }

    .lg-post-card-hero.is-cover-left .lg-post-hero-cover {
        order: 1;
        margin: 0;
        border-radius: 0;
        clip-path: none;
    }

    .lg-post-card.is-featured .lg-post-body {
        margin: 0;
        padding: 18px 16px 16px;
        border-radius: 0 0 22px 22px;
    }

    .lg-loadmore-btn {
        min-width: 138px;
        min-height: 44px;
        padding: 0 18px;
        font-size: 0.92rem;
    }

    .lg-tag-cloud-float {
        min-height: 0;
        padding-inline: 0;
    }

    .lg-tag-cloud a.lg-tag-cloud-item {
        transform: none;
        animation: none;
    }

    .lg-category-list > a.lg-category-item {
        padding: 12px;
    }

    .lg-category-thumb {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .lg-category-main strong {
        font-size: 0.88rem;
    }

    .lg-category-main em {
        font-size: 0.72rem;
    }

    .lg-subcategory-inline {
        gap: 5px;
    }

    .lg-subcategory-chip {
        min-height: 22px;
        padding: 0 7px;
        font-size: 0.68rem;
    }

    .lg-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .lg-post-body,
    .lg-widget,
    .lg-article-card,
    .lg-comments,
    .lg-comment-form-wrap {
        padding: 16px;
    }

    .lg-emoji-panel {
        left: 12px;
        bottom: 52px;
        width: min(360px, calc(100% - 24px));
        padding: 14px;
        border-radius: 20px;
    }

    .lg-emoji-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        max-height: 240px;
    }

    .lg-emoji-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .lg-article-card {
        margin-top: -16px;
    }

    .lg-article-toc {
        padding: 16px 14px 14px;
        border-radius: 18px;
    }

    .lg-toc-link {
        padding: 7px 8px 7px 24px;
    }

    .lg-toc-link::before {
        left: 8px;
    }

    .lg-toc-link.is-level-2 {
        padding-left: 36px;
    }

    .lg-toc-link.is-level-2::before {
        left: 18px;
    }

    .lg-toc-link.is-level-3 {
        padding-left: 48px;
    }

    .lg-toc-link.is-level-3::before {
        left: 30px;
    }

    .lg-article-card .markdown h1 {
        font-size: 1rem;
    }

    .lg-article-card .markdown h2 {
        font-size: 0.94rem;
    }

    .lg-article-card .markdown h3 {
        font-size: 0.88rem;
    }

    .lg-post-tag-strip {
        left: 18px;
        right: 18px;
        bottom: 14px;
    }

    .lg-post-tag-spacer {
        height: 4px;
    }

    .lg-sidebar .lg-profile-card {
        display: none;
    }

    .lg-profile-card {
        padding: 0;
    }

    .lg-profile-card-v2 .lg-profile-body-shell {
        min-height: 390px;
        padding: 28px 16px 16px;
        gap: 10px;
    }

    .lg-sidecard-hero {
        padding: 62px 13px 15px;
        border-radius: 22px;
    }

    .lg-sidecard-avatar {
        width: 82px;
        height: 82px;
        top: -36px;
    }

    .lg-sidecard-avatar-img {
        border-radius: 50%;
    }

    .lg-sidecard-name-row h3 {
        font-size: 1.18rem;
    }

    .lg-sidecard-intro {
        font-size: 0.84rem;
    }

    .lg-sidecard-toolgrid,
    .lg-sidecard-toolgrid.is-admin {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg-sidecard-tool {
        min-height: 58px;
    }

    .lg-sidecard-main-actions {
        grid-template-columns: 1fr;
    }

    .lg-sidecard-stat {
        min-height: 44px;
    }

    .lg-profile-top,
    .lg-profile-body {
        padding: 16px;
    }

    .lg-profile-top {
        gap: 12px;
    }

    .lg-profile-card-v2 .lg-profile-top,
    .lg-profile-card-v2 .lg-profile-body {
        padding: 0;
    }

    .lg-profile-avatar {
        width: 60px;
        height: 60px;
        border-radius: 18px;
    }

    .lg-profile-card-v2 .lg-profile-avatar {
        width: 68px;
        height: 68px;
    }

    .lg-profile-card-v2.is-visitor .lg-profile-body-shell {
        padding-top: 24px;
    }

    .lg-profile-card-v2.is-visitor .lg-profile-avatar-wrap {
        margin-top: -44px;
    }

    .lg-profile-card-v2.is-visitor .lg-profile-avatar {
        width: 78px;
        height: 78px;
    }

    .lg-profile-stats-inline {
        gap: 8px;
    }

    .lg-profile-inline-stat {
        min-height: 68px;
        border-radius: 16px;
        padding: 10px 6px;
    }

    .lg-profile-inline-stat strong {
        font-size: 1.22rem;
    }

    .lg-profile-main-actions,
    .lg-profile-tools {
        grid-template-columns: 1fr;
    }

    .lg-profile-tools.is-user {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg-profile-tool {
        grid-template-columns: 26px 1fr;
        justify-items: start;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
    }

    .lg-profile-tool span {
        width: 26px;
        height: 26px;
    }

    .lg-profile-tool small {
        font-size: 0.8rem;
    }

    .lg-profile-primary-link {
        min-height: 46px;
        border-radius: 16px;
    }

    .lg-profile-top-actions {
        gap: 6px;
        margin-bottom: 6px;
    }

    .lg-post-action-group {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-radius: 24px;
    }

    .lg-post-action {
        min-width: 0;
        min-height: 74px;
        padding-inline: 6px;
    }

    .lg-neighbor-grid {
        grid-template-columns: 1fr;
    }

    .lg-footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
    }

    .lg-footer-link-list {
        gap: 8px;
    }

    .lg-footer-link-list a {
        min-height: 32px;
        padding: 0 10px;
        font-size: 0.82rem;
    }

    .lg-footer-meta,
    .lg-footer-links {
        text-align: left;
    }

    .lg-link-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .lg-site-bg-toolbar {
        right: 12px;
        bottom: 76px;
    }

    .lg-site-bg-refresh,
    .lg-backtop {
        width: 96px;
        min-height: 46px;
        padding: 0 12px 0 9px;
    }

    .lg-backtop {
        right: 12px;
        bottom: 16px;
    }

    .lg-float-icon {
        width: 32px;
        height: 32px;
    }

    .lg-float-copy strong {
        font-size: 0.8rem;
    }

    .lg-float-copy small {
        font-size: 0.66rem;
    }
}
