: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;
}

body.has-site-background {
    background: transparent;
}

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);
}

body.has-site-background::before {
    display: none;
}

.lg-site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    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;
}

body.has-site-background .lg-main,
body.has-site-background .lg-footer {
    position: relative;
    z-index: 1;
}

body.has-site-background .lg-header {
    z-index: 100;
}

body.has-site-background .lg-progress {
    z-index: 120;
}

body.has-site-background .lg-backtop,
body.has-site-background .lg-site-bg-toolbar {
    z-index: 82;
}

.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: .35;
    filter: blur(8px);
    transform: scale(1.012);
    transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
    will-change: opacity, filter, transform;
}

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);
    will-change: auto;
}

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: calc(100vw - 40px);
        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;
}

html.is-route-loading,
html.is-route-loading body {
    cursor: progress;
    overflow: hidden;
}

.lg-route-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 247, 251, 0.66);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity .18s ease, visibility .18s ease;
}

html[data-theme="dark"] .lg-route-loading {
    background: rgba(15, 21, 36, 0.72);
}

html.is-route-loading .lg-route-loading {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lg-route-loading-spinner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 4px solid rgba(56, 114, 255, 0.16);
    border-top-color: var(--lg-primary);
    box-shadow: 0 12px 30px rgba(18, 38, 78, 0.08);
    animation: lg-route-spin .8s linear infinite;
}

@keyframes lg-route-spin {
    to {
        transform: rotate(360deg);
    }
}

.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 {
    position: relative;
    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;
    border-radius: 14px;
    overflow: hidden;
}

.lg-brand img {
    display: block;
    width: var(--lg-logo-max-width, 42px);
    height: var(--lg-logo-max-height, 42px);
    max-width: var(--lg-logo-max-width, 42px);
    max-height: var(--lg-logo-max-height, 42px);
    object-fit: cover;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(214, 224, 240, 0.72);
    -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}

.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-search-toggle,
.lg-theme-toggle,
.lg-backtop,
.lg-search-modal-close,
.lg-search-modal-submit,
.lg-lang-toggle-trigger,
.lg-lang-toggle-option,
.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);
}

html.is-mobile-nav-open,
body.is-mobile-nav-open {
    overflow: hidden;
}

.lg-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(12, 19, 34, 0.34);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .26s ease, visibility .26s ease;
}

.lg-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lg-mobile-drawer {
    display: none;
}

.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,
.lg-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    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);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}

.lg-theme-toggle:hover,
.lg-search-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-search-toggle {
    gap: 0;
    padding: 0;
}

.lg-search-toggle svg,
.lg-theme-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: none;
}

.lg-search-toggle-label {
    display: none;
    white-space: nowrap;
}

.lg-lang-toggle {
    position: relative;
    flex: none;
}

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

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

.lg-lang-toggle-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.lg-lang-toggle-trigger svg {
    width: 16px;
    height: 16px;
    color: var(--lg-muted);
    transition: transform .18s ease, color .18s ease;
}

.lg-lang-toggle.is-open .lg-lang-toggle-trigger svg {
    transform: rotate(180deg);
    color: var(--lg-primary);
}

.lg-lang-toggle-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 148px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(211, 222, 238, 0.92);
    box-shadow: 0 24px 46px rgba(16, 26, 45, 0.14);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    pointer-events: none;
    z-index: 70;
}

.lg-lang-toggle.is-open .lg-lang-toggle-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lg-lang-toggle-option {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--lg-text);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.lg-lang-toggle-option:hover,
.lg-lang-toggle-option.is-active {
    background: rgba(86, 130, 255, 0.1);
    color: var(--lg-primary);
}

html[data-theme="dark"] .lg-lang-toggle-menu {
    background: rgba(19, 27, 45, 0.94);
    border-color: rgba(71, 88, 120, 0.75);
}

html.is-search-modal-open,
body.is-search-modal-open {
    overflow: hidden;
}

.lg-search-modal {
    position: fixed;
    inset: 0;
    z-index: 180;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lg-search-modal[hidden] {
    display: none;
}

.lg-search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 28, 0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lg-search-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(214, 223, 238, 0.9);
    box-shadow: 0 34px 70px rgba(13, 22, 40, 0.2);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
}

html[data-theme="dark"] .lg-search-modal-dialog {
    background: rgba(16, 24, 39, 0.94);
    border-color: rgba(71, 88, 120, 0.78);
    box-shadow: 0 32px 72px rgba(0, 0, 0, 0.34);
}

.lg-search-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.lg-search-modal-titlewrap {
    display: grid;
    gap: 6px;
}

.lg-search-modal-kicker {
    color: var(--lg-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.lg-search-modal-title {
    font-size: 1.35rem;
    line-height: 1.15;
}

.lg-search-modal-close {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--lg-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    color: var(--lg-muted);
    transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}

.lg-search-modal-close:hover {
    transform: translateY(-1px);
    border-color: rgba(86, 130, 255, 0.22);
    color: var(--lg-primary);
}

.lg-search-modal-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.8px;
    border-radius: 999px;
    background: currentColor;
}

.lg-search-modal-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.lg-search-modal-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.lg-search-modal-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.lg-search-modal-input {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid rgba(208, 219, 236, 0.96);
    background: rgba(246, 249, 253, 0.96);
    color: var(--lg-text);
    font-size: 0.98rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.lg-search-modal-input:focus {
    outline: none;
    border-color: rgba(86, 130, 255, 0.4);
    box-shadow: 0 0 0 4px rgba(86, 130, 255, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

.lg-search-modal-submit {
    min-width: 104px;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 18px;
    border: 0;
    background: linear-gradient(135deg, #5c8fff, #3d6dff);
    color: #fff;
    font-size: 0.94rem;
    font-weight: 700;
    box-shadow: 0 18px 34px rgba(61, 109, 255, 0.22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.lg-search-modal-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 20px 38px rgba(61, 109, 255, 0.26);
}

.lg-search-modal-note,
.lg-search-modal-status {
    margin: 0;
    font-size: 0.88rem;
    color: var(--lg-muted);
}

.lg-search-modal-status[data-state="loading"] {
    color: var(--lg-primary);
}

.lg-search-modal-status[data-state="error"] {
    color: #ff5f57;
}

.lg-search-modal-status[data-state="success"] {
    color: #2b8a6d;
}

.lg-search-modal-results {
    min-height: 160px;
    max-height: min(52vh, 460px);
    overflow-y: auto;
    padding-right: 4px;
}

.lg-search-result-list {
    display: grid;
    gap: 12px;
}

.lg-search-result {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    padding: 12px;
    border-radius: 20px;
    background: rgba(248, 250, 253, 0.84);
    border: 1px solid rgba(219, 227, 240, 0.9);
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.lg-search-result:hover {
    transform: translateY(-1px);
    border-color: rgba(86, 130, 255, 0.22);
    box-shadow: 0 18px 34px rgba(18, 28, 45, 0.08);
}

.lg-search-result.is-no-thumb {
    grid-template-columns: minmax(0, 1fr);
}

.lg-search-result-media {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(92, 143, 255, 0.14), rgba(93, 195, 187, 0.12));
}

.lg-search-result-media img {
    width: 100%;
    height: 100%;
    min-height: 80px;
    object-fit: cover;
    transition: transform .22s ease;
}

.lg-search-result:hover .lg-search-result-media img {
    transform: scale(1.04);
}

.lg-search-result-body {
    display: grid;
    gap: 6px;
    min-width: 0;
    align-content: start;
}

.lg-search-result-meta {
    color: var(--lg-muted);
    font-size: 0.78rem;
}

.lg-search-result-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: var(--lg-text);
    font-size: 1rem;
    line-height: 1.45;
}

.lg-search-result-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    color: var(--lg-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.lg-search-empty {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 160px;
    padding: 20px;
    border-radius: 22px;
    border: 1px dashed rgba(182, 198, 222, 0.88);
    color: var(--lg-muted);
    text-align: center;
    background: rgba(246, 249, 253, 0.78);
}

.lg-search-empty strong {
    color: var(--lg-text);
    font-size: 1rem;
}

.lg-search-empty p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.7;
}

.lg-search-modal-foot {
    display: flex;
    justify-content: flex-end;
}

.lg-search-modal-more {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(86, 130, 255, 0.1);
    color: var(--lg-primary);
    font-size: 0.88rem;
    font-weight: 700;
    transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.lg-search-modal-more:hover {
    transform: translateY(-1px);
    background: rgba(86, 130, 255, 0.16);
}

.lg-search-modal-more.is-disabled {
    pointer-events: none;
    opacity: .5;
}

html[data-theme="dark"] .lg-search-modal-close {
    background: rgba(24, 33, 52, 0.7);
}

html[data-theme="dark"] .lg-search-modal-input {
    background: rgba(18, 27, 43, 0.92);
    border-color: rgba(71, 88, 120, 0.75);
}

html[data-theme="dark"] .lg-search-result {
    background: rgba(20, 30, 47, 0.84);
    border-color: rgba(71, 88, 120, 0.68);
}

html[data-theme="dark"] .lg-search-empty {
    background: rgba(19, 27, 45, 0.72);
    border-color: rgba(76, 92, 122, 0.72);
}

.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-post-hero-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.lg-post-tts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.lg-post-tts:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 12px 28px rgba(7, 12, 22, 0.18);
}

.lg-post-tts[aria-busy="true"] {
    cursor: progress;
}

.lg-post-tts[data-state="loading"] .lg-post-tts-icon {
    animation: lgPostTtsPulse .9s linear infinite;
}

.lg-post-tts-icon,
.lg-post-tts-icon svg {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.lg-post-tts-status {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.84rem;
}

.lg-post-tts-status[data-tone="error"] {
    color: #ffd1d1;
}

.lg-post-tts-status[data-tone="done"] {
    color: #d5ffea;
}

.lg-post-tts-status[data-tone="warn"] {
    color: #ffe8b0;
}

@keyframes lgPostTtsPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.72;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.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;
}

html.no-mobile-sidebar .lg-sidebar,
html.no-mobile-sidebar aside.lg-sidebar,
html.no-mobile-sidebar .lg-layout > .lg-sidebar,
html.no-mobile-sidebar .lg-page-grid > .lg-sidebar,
body.no-mobile-sidebar .lg-sidebar,
body.no-mobile-sidebar aside.lg-sidebar,
body.no-mobile-sidebar .lg-layout > .lg-sidebar,
body.no-mobile-sidebar .lg-page-grid > .lg-sidebar {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

html.no-mobile-sidebar .lg-layout,
html.no-mobile-sidebar .lg-page-grid,
body.no-mobile-sidebar .lg-layout,
body.no-mobile-sidebar .lg-page-grid {
    grid-template-columns: 1fr !important;
}

.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: 300px;
    border-radius: 12px;
    border: 0;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 31, 56, 0.1), inset 0 0 0 1px rgba(188, 201, 220, 0.24);
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}

.lg-post-list.is-style-dynamic .lg-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 52px rgba(17, 31, 56, 0.16);
}

.lg-post-card-dynamic .lg-post-dynamic-link {
    position: relative;
    display: block;
    height: 300px;
    z-index: 0;
    color: #273246;
    overflow: hidden;
    border-radius: inherit;
    background: #fff;
    clip-path: inset(0 round 12px);
}

.lg-post-card-dynamic .lg-post-dynamic-link:hover {
    color: #273246;
}

.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 {
    top: 0;
    left: 0;
    right: 0;
    height: 210px;
    display: block;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.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.07);
    filter: saturate(1.06) brightness(.92);
}

.lg-post-dynamic-overlay {
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(33, 39, 60, .12) 0%, rgba(33, 39, 60, .03) 48%, rgba(33, 39, 60, .16) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 38%, rgba(12, 18, 30, .1) 100%);
    transition: background .36s ease;
}

.lg-post-card-dynamic:hover .lg-post-dynamic-overlay {
    background:
        linear-gradient(180deg, rgba(33, 39, 60, .16) 0%, rgba(33, 39, 60, .04) 46%, rgba(33, 39, 60, .22) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 38%, rgba(12, 18, 30, .14) 100%);
}

.lg-post-dynamic-sheen {
    z-index: 2;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .24), transparent 26%),
        linear-gradient(115deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 36%);
    opacity: .62;
    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: 34px;
    padding: 0 12px;
    border-radius: 6px;
    background: rgba(96, 72, 122, .58);
    border: 1px solid rgba(255, 255, 255, .18);
    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(96, 72, 122, .66);
}

.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: 34px;
    padding: 0 12px;
    border-radius: 6px;
    background: rgba(96, 72, 122, .58);
    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;
    color: #ffd800;
}

.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;
    right: 140px;
    top: 140px;
    bottom: auto;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    max-width: none;
    min-height: 48px;
    padding: 8px 16px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .64);
    box-shadow: 0 10px 28px rgba(13, 21, 36, .08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), box-shadow .34s cubic-bezier(.22, 1, .36, 1), background .34s ease;
}

.lg-post-dynamic-title-pill strong {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #4d515c;
    font-size: clamp(1.16rem, 1.45vw, 1.36rem);
    font-style: normal;
    font-weight: 750;
    line-height: 1.22;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.lg-post-dynamic-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: grid;
    gap: 6px;
    min-height: 90px;
    padding: 20px 24px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .98));
    border-top: 0;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: 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: .98rem;
    line-height: 1.64;
    font-weight: 560;
}

.lg-post-card-dynamic:hover .lg-post-dynamic-title-pill {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(13, 21, 36, .14);
    background: rgba(255, 255, 255, .93);
}

.lg-post-card-dynamic:hover .lg-post-dynamic-footer {
    transform: translateY(0);
}

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 {
    display: block;
    position: relative;
    overflow: hidden;
    height: 0;
    min-height: 0;
    padding-top: 56.25%;
    background:
        linear-gradient(180deg, rgba(8, 13, 24, .08), rgba(8, 13, 24, .72)),
        linear-gradient(135deg, var(--lg-post-tone-1), var(--lg-post-tone-2)),
        var(--lg-post-cover);
    background-size: cover;
    background-position: center;
}

html.is-sogou-browser .lg-featured-image-card > a,
html.is-card-compat .lg-featured-image-card > a {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
}

html.is-sogou-browser .lg-featured-image-cover,
html.is-card-compat .lg-featured-image-cover {
    z-index: 0;
    opacity: .98;
}

html.is-sogou-browser .lg-featured-image-shade,
html.is-card-compat .lg-featured-image-shade {
    z-index: 1;
    background: linear-gradient(180deg, rgba(9, 14, 24, .08) 20%, rgba(9, 14, 24, .62) 74%, rgba(9, 14, 24, .84));
}

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 {
    z-index: 2;
    left: 20px;
    right: 20px;
    bottom: 42px;
    display: grid;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    color: #fff;
}

html.is-sogou-browser .lg-featured-image-meta,
html.is-card-compat .lg-featured-image-meta {
    z-index: 2;
    left: 20px;
    right: 20px;
    bottom: 16px;
    display: flex;
    opacity: .96;
    visibility: visible;
    color: rgba(255, 255, 255, .88);
}

html.is-sogou-browser .lg-featured-image-copy strong,
html.is-card-compat .lg-featured-image-copy strong {
    display: block;
    max-height: 3.1em;
    overflow: hidden;
    color: #fff;
}

html.is-sogou-browser .lg-featured-image-tag,
html.is-card-compat .lg-featured-image-tag {
    color: #fff;
}

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-list .lg-post-card-hero,
.lg-post-list .lg-post-card-hero.is-cover-left {
    display: block;
    min-height: 300px;
    height: 300px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 31, 56, 0.1), inset 0 0 0 1px rgba(188, 201, 220, 0.24);
    overflow: hidden;
    isolation: isolate;
}

.lg-post-card-hero::before,
.lg-post-card-hero::after,
.lg-post-card-hero.is-cover-left::after {
    display: none;
}

.lg-post-card-hero .lg-post-hero-cover,
.lg-post-card-hero.is-cover-left .lg-post-hero-cover {
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    display: block;
    width: 100%;
    height: 210px;
    margin: 0;
    border-radius: 12px 12px 0 0;
    clip-path: none;
    box-shadow: none;
}

.lg-post-card-hero .lg-post-hero-cover::after {
    background:
        linear-gradient(180deg, rgba(33, 39, 60, .12) 0%, rgba(33, 39, 60, .03) 48%, rgba(33, 39, 60, .16) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 38%, rgba(12, 18, 30, .1) 100%);
}

.lg-post-card-hero .lg-post-hero-pane,
.lg-post-card-hero.is-cover-left .lg-post-hero-pane {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    min-height: 0;
    padding: 0;
    color: #273246;
    background: transparent;
}

.lg-post-card-hero .lg-post-hero-top {
    position: absolute;
    top: 16px;
    left: 18px;
    right: 18px;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.lg-post-card-hero .lg-post-hero-date,
.lg-post-card-hero .lg-post-hero-stats {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    background: rgba(96, 72, 122, .58);
    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;
    text-shadow: 0 1px 8px rgba(7, 13, 24, .28);
}

.lg-post-card-hero .lg-post-hero-stats {
    justify-content: flex-end;
    max-width: 54%;
}

.lg-post-card-hero .lg-post-hero-sort .lg-category-badge {
    max-width: 8em;
}

.lg-post-card-hero .lg-post-hero-pane h2 {
    position: absolute;
    left: 24px;
    right: 140px;
    top: 154px;
    z-index: 5;
    display: flex;
    align-items: center;
    min-height: 56px;
    margin: 0;
    padding: 10px 18px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .64);
    box-shadow: 0 10px 28px rgba(13, 21, 36, .08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform .34s cubic-bezier(.22, 1, .36, 1), box-shadow .34s cubic-bezier(.22, 1, .36, 1), background .34s ease;
}

.lg-post-card-hero .lg-post-hero-pane h2 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #4d515c;
    font-size: clamp(1.16rem, 1.45vw, 1.36rem);
    font-weight: 750;
    line-height: 1.36;
}

.lg-post-card-hero .lg-post-hero-pane p {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 18px;
    z-index: 3;
    display: -webkit-box;
    margin: 0;
    max-width: none;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #586377;
    font-size: .98rem;
    line-height: 1.64;
    font-weight: 560;
}

.lg-post-card-hero .lg-post-hero-pane p::before {
    content: "AI 摘要";
    display: inline-flex;
    margin-right: 10px;
    color: #9aa4b6;
    font-size: .9rem;
    font-weight: 700;
}

.lg-post-list .lg-post-card-hero:hover .lg-post-hero-cover img {
    transform: scale(1.07);
}

.lg-post-list .lg-post-card-hero:hover .lg-post-hero-pane h2 {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 16px 34px rgba(13, 21, 36, .14);
}

html[data-theme="dark"] .lg-post-list .lg-post-card-hero {
    background: rgba(15, 23, 38, .92);
    box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .lg-post-card-hero .lg-post-hero-pane h2 {
    background: rgba(24, 34, 53, .9);
    border-color: rgba(175, 193, 221, .14);
}

html[data-theme="dark"] .lg-post-card-hero .lg-post-hero-pane h2 a {
    color: #edf3ff;
}

html[data-theme="dark"] .lg-post-card-hero .lg-post-hero-pane p {
    color: rgba(227, 235, 248, .88);
}

.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;
    padding: 18px 16px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.56);
    box-shadow: 0 3px 8px 6px rgba(7, 17, 27, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.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, .72);
    transform: scale(1.02);
}

.lg-sidebar-notice::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.74) 45%, rgba(255, 255, 255, 0.9)),
        radial-gradient(circle at 18% 72%, rgba(57, 197, 187, 0.28), transparent 30%);
}

.lg-sidebar-notice-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
}

.lg-sidebar-notice-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #242a35;
}

.lg-sidebar-notice-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #39b985;
}

.lg-sidebar-notice-title strong {
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0;
}

.lg-sidebar-notice-title svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lg-sidebar-notice-links {
    display: grid;
    gap: 12px;
    text-align: center;
}

.lg-sidebar-notice-item {
    display: grid;
    gap: 4px;
    justify-items: center;
}

.lg-sidebar-notice-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 9em;
    color: #202632;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.35;
}

.lg-sidebar-notice-label::before,
.lg-sidebar-notice-label::after {
    content: "";
    width: 22px;
    height: 1px;
    background: rgba(32, 38, 50, 0.5);
}

.lg-sidebar-notice-label i {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background:
        linear-gradient(135deg, rgba(255, 198, 82, 0.98), rgba(255, 132, 87, 0.92)),
        linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 3px 8px rgba(255, 156, 76, 0.22);
    flex: none;
}

.lg-sidebar-notice-links a {
    max-width: 100%;
    color: #54abef;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    word-break: break-all;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.lg-sidebar-client {
    position: relative;
    overflow: hidden;
    padding: 20px 16px 18px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(225, 253, 255, 0.68), rgba(232, 246, 250, 0.58)),
        rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(207, 242, 248, 0.82);
    box-shadow: 0 14px 32px rgba(78, 157, 175, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lg-sidebar-client::before {
    content: "";
    position: absolute;
    left: -18%;
    right: -18%;
    bottom: -30px;
    height: 74px;
    background: radial-gradient(ellipse at center, rgba(57, 197, 187, 0.28), rgba(57, 197, 187, 0));
    pointer-events: none;
}

.lg-sidebar-client strong {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    text-align: center;
    color: #263447;
    font-size: 1rem;
    font-weight: 800;
}

.lg-sidebar-client strong span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #39c5bb, #65d69e);
    box-shadow: 0 0 0 4px rgba(57, 197, 187, 0.12);
}

.lg-sidebar-client p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #253142;
    font-size: 0.96rem;
    line-height: 2;
    font-weight: 800;
    text-align: center;
}

.lg-sidebar-client mark {
    padding: 0 3px;
    color: #39c5bb;
    background: transparent;
    font-weight: 900;
}

.lg-sidebar-client-line {
    margin-top: 8px !important;
    font-size: 0.9rem !important;
    line-height: 1.85 !important;
    word-break: break-word;
}

html[data-theme="dark"] .lg-sidebar-notice {
    border-color: rgba(124, 147, 180, 0.24);
    background: rgba(18, 27, 43, 0.64);
}

html[data-theme="dark"] .lg-sidebar-notice::after {
    background:
        linear-gradient(180deg, rgba(16, 24, 38, 0.42), rgba(16, 24, 38, 0.74) 45%, rgba(16, 24, 38, 0.9)),
        radial-gradient(circle at 18% 72%, rgba(57, 197, 187, 0.18), transparent 30%);
}

html[data-theme="dark"] .lg-sidebar-notice-title,
html[data-theme="dark"] .lg-sidebar-notice-label,
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-label::before,
html[data-theme="dark"] .lg-sidebar-notice-label::after {
    background: rgba(233, 241, 255, 0.42);
}

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);
}

html[data-theme="dark"] .lg-sidebar-client mark {
    color: #65d6c9;
}

@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: grid;
    grid-template-columns: minmax(0, 1fr) 68px;
    align-items: center;
    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%;
    min-width: 0;
    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-search-form button {
    width: 68px;
    min-width: 68px;
    padding: 0;
    white-space: nowrap;
    word-break: keep-all;
    line-height: 1;
}

.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);
}

.is-post-layout .lg-post-hero {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.is-post-layout .lg-post-tag-spacer {
    height: 0;
}

.is-post-layout .lg-ai-summary {
    margin: 0;
    border-top: 0;
    border-radius: 0;
    box-shadow: none;
}

.is-post-layout .lg-ai-summary + .lg-article-card,
.is-post-layout .lg-post-tag-spacer + .lg-article-card {
    margin-top: 0;
}

.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: 16px 14px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(175, 188, 214, 0.18);
    box-shadow: 0 12px 28px rgba(24, 38, 67, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lg-sidebar.is-article-sidebar .lg-article-toc {
    order: -10;
}

.lg-sidebar-toc {
    margin-bottom: 0;
}

.lg-article-toc .lg-widget-head {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(175, 188, 214, 0.16);
}

.lg-article-toc .lg-widget-head h3 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #24314d;
}

.lg-toc-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #6fc48f;
}

.lg-toc-title-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.lg-article-toc-list {
    max-height: 430px;
    overflow-y: auto;
    padding-right: 4px;
}

.lg-toc-tree,
.lg-toc-sublist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lg-toc-sublist {
    margin-left: 14px;
    padding-left: 10px;
    border-left: 1px solid rgba(191, 203, 224, 0.4);
}

.lg-toc-item + .lg-toc-item {
    margin-top: 4px;
}

.lg-toc-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 10px;
    color: #5d6a82;
    line-height: 1.55;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.lg-toc-link::before {
    display: none;
}

.lg-toc-link:hover {
    background: rgba(120, 205, 146, 0.08);
    color: #2d3a56;
}

.lg-toc-link.is-active-link {
    background: linear-gradient(135deg, rgba(190, 232, 193, 0.92), rgba(207, 237, 205, 0.96));
    color: #29402f;
    box-shadow: inset 0 0 0 1px rgba(111, 196, 143, 0.2);
}

.lg-toc-link-text {
    display: block;
    width: 100%;
    font-size: 0.94rem;
    white-space: normal;
    word-break: break-word;
}

.lg-toc-link.is-level-1 .lg-toc-link-text {
    font-weight: 600;
    color: #33415d;
}

.lg-toc-link.is-level-2 .lg-toc-link-text {
    font-size: 0.92rem;
}

.lg-toc-link.is-level-3 .lg-toc-link-text,
.lg-toc-link.is-level-4 .lg-toc-link-text {
    font-size: 0.89rem;
    color: #66748c;
}

.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: rgba(19, 27, 42, 0.88);
    border-color: rgba(100, 118, 154, 0.2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .lg-article-toc .lg-widget-head {
    border-bottom-color: rgba(100, 118, 154, 0.18);
}

html[data-theme="dark"] .lg-article-toc .lg-widget-head h3,
html[data-theme="dark"] .lg-toc-link.is-level-1 .lg-toc-link-text {
    color: #eef4ff;
}

html[data-theme="dark"] .lg-toc-sublist {
    border-left-color: rgba(111, 126, 156, 0.34);
}

html[data-theme="dark"] .lg-toc-link {
    color: rgba(210, 219, 237, 0.78);
}

html[data-theme="dark"] .lg-toc-link:hover {
    background: rgba(111, 196, 143, 0.12);
    color: #edf7ef;
}

html[data-theme="dark"] .lg-toc-link.is-active-link {
    background: linear-gradient(135deg, rgba(77, 124, 95, 0.7), rgba(63, 100, 78, 0.74));
    color: #eff9f0;
    box-shadow: inset 0 0 0 1px rgba(120, 205, 146, 0.24);
}

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-code-block {
    margin: 1.35em 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #111827;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.lg-code-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 0 12px 0 14px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lg-code-lang {
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0;
}

.lg-code-copy {
    height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(226, 232, 240, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 252, 0.88);
    cursor: pointer;
    font-size: 0.76rem;
    line-height: 24px;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.lg-code-copy:hover {
    background: rgba(96, 165, 250, 0.18);
    border-color: rgba(147, 197, 253, 0.4);
    color: #ffffff;
}

.markdown .lg-code-block pre,
.lg-article-card .markdown .lg-code-block pre {
    margin: 0;
    padding: 16px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: auto;
    white-space: pre;
}

.markdown .lg-code-block code,
.lg-article-card .markdown .lg-code-block code {
    display: block;
    padding: 0;
    background: transparent;
    color: #e5e7eb;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9rem;
    line-height: 1.75;
    tab-size: 4;
}

.markdown code:not(pre > code) {
    border-radius: 6px;
    padding: 2px 6px;
    background: rgba(56, 114, 255, 0.1);
    color: #2563eb;
    font-size: 0.92em;
}

html[data-theme="dark"] .markdown code:not(pre > code) {
    background: rgba(123, 162, 255, 0.14);
    color: #9bb8ff;
}

@media (max-width: 780px) {
    .lg-code-block {
        border-radius: 12px;
    }

    .markdown .lg-code-block pre,
    .lg-article-card .markdown .lg-code-block pre {
        padding: 14px;
    }

    .markdown .lg-code-block code,
    .lg-article-card .markdown .lg-code-block code {
        font-size: 0.82rem;
        line-height: 1.68;
    }
}

.lg-post-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.lg-post-action-card {
    position: relative;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    gap: 26px;
    width: 100%;
    padding: 24px 26px;
    border-radius: 24px;
    border: 1px solid rgba(86, 130, 255, 0.12);
    box-shadow: 0 18px 40px rgba(28, 46, 88, 0.1);
    overflow: hidden;
    isolation: isolate;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.9)),
        radial-gradient(circle at 16% 12%, rgba(86, 130, 255, 0.10), transparent 38%);
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, 0 0;
    background-size: 100% 100%, 100% 100%;
}

html[data-theme="dark"] .lg-post-action-card {
    border-color: rgba(112, 154, 255, 0.12);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
    background-image:
        linear-gradient(135deg, rgba(18, 25, 42, 0.95), rgba(18, 25, 42, 0.84)),
        radial-gradient(circle at 16% 12%, rgba(123, 162, 255, 0.10), transparent 38%);
}

.lg-post-action-card::after {
    content: "";
    position: absolute;
    top: 14px;
    right: -18px;
    bottom: 14px;
    width: min(34%, 220px);
    min-width: 168px;
    border-radius: 28px 0 0 28px;
    background-image:
        linear-gradient(270deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.78)),
        var(--lg-post-action-bg);
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, center;
    background-size: 100% 100%, cover;
    opacity: 0.92;
    pointer-events: none;
    z-index: 0;
}

html[data-theme="dark"] .lg-post-action-card::after {
    background-image:
        linear-gradient(270deg, rgba(18, 25, 42, 0.08), rgba(18, 25, 42, 0.84)),
        var(--lg-post-action-bg);
    opacity: 0.82;
}

.lg-post-action-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.lg-post-action-orbit {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lg-post-action-orbit-ring {
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 2px dashed rgba(86, 130, 255, 0.22);
}

html[data-theme="dark"] .lg-post-action-orbit-ring {
    border-color: rgba(123, 162, 255, 0.24);
}

.lg-post-action-avatar {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 108px;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(86, 130, 255, 0.14);
    box-shadow: 0 12px 30px rgba(20, 28, 45, 0.14);
    overflow: hidden;
}

html[data-theme="dark"] .lg-post-action-avatar {
    background: rgba(18, 25, 42, 0.94);
    border-color: rgba(112, 154, 255, 0.16);
}

.lg-post-action-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.lg-post-action {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(86, 130, 255, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: var(--lg-primary);
    box-shadow: 0 12px 28px rgba(28, 46, 88, 0.12);
    cursor: pointer;
    text-decoration: none;
    transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.lg-post-action:hover {
    transform: translateY(-2px) scale(1.04);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 34px rgba(28, 46, 88, 0.16);
}

.lg-post-action:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

html[data-theme="dark"] .lg-post-action {
    background: rgba(18, 25, 42, 0.94);
    border-color: rgba(112, 154, 255, 0.14);
    color: #cfe0ff;
}

html[data-theme="dark"] .lg-post-action:hover {
    background: rgba(24, 32, 50, 0.98);
}

.lg-post-action.is-like {
    left: 10px;
    top: 50%;
    transform: translate(-15%, -50%);
}

.lg-post-action.is-favorite {
    right: 10px;
    top: 50%;
    transform: translate(15%, -50%);
}

.lg-post-action.is-share {
    left: 50%;
    top: 12px;
    transform: translate(-50%, -15%);
}

.lg-post-action.is-follow {
    left: 50%;
    bottom: 12px;
    transform: translate(-50%, 15%);
}

.lg-post-action:hover.is-like {
    transform: translate(-15%, -52%) scale(1.04);
}

.lg-post-action:hover.is-favorite {
    transform: translate(15%, -52%) scale(1.04);
}

.lg-post-action:hover.is-share {
    transform: translate(-50%, -17%) scale(1.04);
}

.lg-post-action:hover.is-follow {
    transform: translate(-50%, 17%) scale(1.04);
}

.lg-post-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: currentColor;
}

.lg-post-action-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lg-post-action small {
    position: absolute;
    right: -8px;
    bottom: -8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--lg-primary);
    color: #fff;
    font-size: 0.67rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(56, 114, 255, 0.24);
}

.lg-post-action-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    min-width: 0;
}

.lg-post-action-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lg-post-action-name {
    font-size: clamp(1.05rem, 1.4vw, 1.32rem);
    font-weight: 700;
    color: var(--lg-text);
}

.lg-post-action-role {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(86, 130, 255, 0.12);
    color: var(--lg-primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.lg-post-action-intro {
    margin: 0;
    color: var(--lg-muted);
    line-height: 1.8;
}

.lg-post-action-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lg-post-action-meta span,
.lg-post-action-meta .lg-post-action-meta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(86, 130, 255, 0.08);
    color: var(--lg-text);
    font-size: 0.86rem;
    font-weight: 600;
}

.lg-post-action-meta .lg-post-action-meta-link {
    text-decoration: none;
    transition: background-color .22s ease, transform .22s ease;
}

.lg-post-action-meta .lg-post-action-meta-link:hover {
    background: rgba(86, 130, 255, 0.12);
    transform: translateY(-1px);
}

.lg-post-action-meta svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--lg-primary);
}

.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: 1100px), (hover: none) and (pointer: coarse) {
    html.no-mobile-sidebar .lg-sidebar,
    html.no-mobile-sidebar aside.lg-sidebar,
    .lg-sidebar,
    aside.lg-sidebar,
    .lg-layout > .lg-sidebar,
    .lg-page-grid > .lg-sidebar,
    body.is-home .lg-layout > .lg-sidebar,
    body:not(.is-home) .lg-sidebar,
    .lg-sidebar-notice,
    .lg-sidebar-client {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        max-width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    .lg-layout,
    .lg-page-grid,
    html.no-mobile-sidebar .lg-layout,
    html.no-mobile-sidebar .lg-page-grid,
    body.is-home .lg-layout,
    body:not(.is-home) .lg-layout,
    body:not(.is-home) .lg-page-grid {
        grid-template-columns: 1fr !important;
    }
}

@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 {
    position: relative;
    margin-top: 34px;
    color: var(--lg-text);
    user-select: none;
}

.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-footer-wrap {
    position: relative;
    overflow: hidden;
    padding: 58px 0 28px;
    background:
        linear-gradient(180deg, rgba(244, 247, 251, 0), rgba(244, 247, 251, 0.74) 18%, rgba(255, 255, 255, 0.92)),
        var(--lg-footer-bg, radial-gradient(circle at top left, rgba(86, 130, 255, 0.12), transparent 28%)),
        var(--lg-bg);
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(188, 203, 226, 0.18);
}

.lg-footer-wrap.is-footer-bg-video {
    background:
        linear-gradient(180deg, rgba(244, 247, 251, 0.06), rgba(244, 247, 251, 0.42) 20%, rgba(255, 255, 255, 0.72)),
        radial-gradient(circle at top left, rgba(86, 130, 255, 0.1), transparent 28%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lg-footer-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.72) 52%, rgba(255, 255, 255, 0.2)),
        radial-gradient(circle at 18% 32%, rgba(57, 197, 187, 0.18), transparent 24%);
    pointer-events: none;
}

.lg-footer-wrap.is-footer-bg-video::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.44) 52%, rgba(255, 255, 255, 0.1)),
        radial-gradient(circle at 18% 32%, rgba(57, 197, 187, 0.12), transparent 24%);
}

.lg-footer-bg-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .86;
    pointer-events: none;
}

.lg-footer-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr) minmax(300px, 1fr);
    gap: 30px;
    align-items: start;
}

.lg-footer-block {
    min-width: 0;
    color: #273246;
}

.lg-footer-block h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #39c5bb;
    color: #243248;
    font-size: 1.18rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: 0;
}

.lg-footer-block h3 > span[aria-hidden="true"] {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: linear-gradient(135deg, #ffc957, #ff8d58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.lg-footer-title-text {
    display: inline-block;
    width: auto;
    height: auto;
    white-space: nowrap;
}

.lg-footer-map h3 > span[aria-hidden="true"] {
    background: linear-gradient(135deg, #63d5ff, #5f8dff);
}

.lg-footer-friends h3 > span[aria-hidden="true"] {
    background: linear-gradient(135deg, #ffd06a, #39c5bb);
}

.lg-footer-copy {
    display: grid;
    gap: 8px;
    max-width: 36ch;
}

.lg-footer-copy p,
.lg-footer-empty {
    margin: 0;
    color: #273246;
    font-size: 0.96rem;
    line-height: 1.86;
}

.lg-footer-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: #2877ff;
    font-weight: 700;
}

.lg-footer-map {
    text-align: center;
}

.lg-footer-map-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 14px;
    text-align: center;
}

.lg-footer-map-grid a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 28px;
    color: #2e394d;
    font-size: 0.95rem;
    line-height: 1.35;
    transition: color .18s ease, transform .18s ease;
}

.lg-footer-map-grid a:hover {
    color: #2877ff;
    transform: translateY(-1px);
}

.lg-footer-friends {
    overflow: hidden;
    text-align: right;
}

.lg-footer-friend-marquee {
    position: relative;
    overflow: hidden;
    padding: 2px 0 4px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.lg-footer-friend-track {
    display: inline-flex;
    align-items: flex-start;
    gap: 16px;
    min-width: max-content;
    animation: lgFooterFriendScroll 24s linear infinite;
}

.lg-footer-friend-marquee:hover .lg-footer-friend-track {
    animation-play-state: paused;
}

.lg-footer-friend {
    display: inline-grid;
    justify-items: center;
    gap: 7px;
    width: 78px;
    color: #2f394a;
    text-align: center;
    transition: opacity .18s ease, transform .18s ease;
}

.lg-footer-friend:hover {
    opacity: .86;
    transform: translateY(-2px);
}

.lg-footer-friend-avatar {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 10px 24px rgba(31, 45, 74, 0.16);
}

.lg-footer-friend span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    font-size: 0.82rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes lgFooterFriendScroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.lg-footer-bottom {
    padding: 18px 0 20px;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid rgba(214, 224, 240, 0.82);
}

.lg-footer-bottom-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.7;
}

.lg-footer-bottom-left,
.lg-footer-bottom-right {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
}

.lg-footer-bottom-right {
    justify-content: flex-end;
    text-align: right;
}

@media (min-width: 1025px) {
    .lg-footer-bottom-right {
        padding-right: 132px;
    }
}

.lg-footer-bottom a {
    color: #1f5fbf;
}

.lg-footer-bottom-right a + a::before {
    content: "|";
    margin-right: 12px;
    color: rgba(86, 98, 122, 0.48);
}

.lg-footer-runtime {
    flex-basis: 100%;
}

html[data-theme="dark"] .lg-footer-wrap {
    background:
        linear-gradient(180deg, rgba(15, 21, 36, 0), rgba(15, 21, 36, 0.72) 20%, rgba(15, 21, 36, 0.94)),
        var(--lg-footer-bg);
}

html[data-theme="dark"] .lg-footer-wrap.is-footer-bg-video {
    background:
        linear-gradient(180deg, rgba(15, 21, 36, 0.08), rgba(15, 21, 36, 0.46) 22%, rgba(15, 21, 36, 0.8)),
        radial-gradient(circle at top left, rgba(123, 162, 255, 0.12), transparent 28%);
}

html[data-theme="dark"] .lg-footer-wrap::before {
    background:
        linear-gradient(90deg, rgba(15, 21, 36, 0.22), rgba(15, 21, 36, 0.76) 52%, rgba(15, 21, 36, 0.22)),
        radial-gradient(circle at 18% 32%, rgba(57, 197, 187, 0.12), transparent 24%);
}

html[data-theme="dark"] .lg-footer-wrap.is-footer-bg-video::before {
    background:
        linear-gradient(90deg, rgba(15, 21, 36, 0.12), rgba(15, 21, 36, 0.5) 52%, rgba(15, 21, 36, 0.14)),
        radial-gradient(circle at 18% 32%, rgba(57, 197, 187, 0.1), transparent 24%);
}

html[data-theme="dark"] .lg-footer-block,
html[data-theme="dark"] .lg-footer-block h3,
html[data-theme="dark"] .lg-footer-copy p,
html[data-theme="dark"] .lg-footer-map-grid a,
html[data-theme="dark"] .lg-footer-friend {
    color: rgba(237, 243, 255, 0.92);
}

html[data-theme="dark"] .lg-footer-bottom {
    background: rgba(15, 21, 36, 0.94);
    border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .lg-footer-bottom-inner {
    color: rgba(237, 243, 255, 0.88);
}

html[data-theme="dark"] .lg-footer-bottom a {
    color: #8fb0ff;
}

.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;
    }

    body.is-archive .lg-layout > .lg-sidebar,
    body.is-archive .lg-page-grid > .lg-sidebar {
        display: none;
    }

    body.is-archive .lg-layout,
    body.is-archive .lg-page-grid {
        grid-template-columns: 1fr;
    }

    .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:not(.is-home) .lg-sidebar {
        display: none !important;
    }

    body:not(.is-home) .lg-layout,
    body:not(.is-home) .lg-page-grid {
        grid-template-columns: 1fr !important;
    }

    body.is-home .lg-layout > .lg-sidebar {
        display: none;
    }

    body.is-home .lg-layout {
        grid-template-columns: 1fr;
    }

    .lg-header-inner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 64px;
        padding: 10px 0;
    }

    .lg-header-left {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 1 auto;
        width: min(46vw, 180px);
        min-width: 0;
        gap: 0;
        pointer-events: none;
    }

    .lg-brand {
        min-width: 0;
        flex: 0 1 auto;
        pointer-events: auto;
    }

    .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 {
        position: static;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        margin-left: auto;
        order: 3;
    }

    .lg-header-actions {
        position: static;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-left: 0;
        gap: 8px;
        order: 1;
    }

    .lg-header-actions > :not(.lg-nav-toggle) {
        display: none !important;
    }

    .lg-member-entry {
        display: none;
    }

    .lg-mobile-entry > .lg-search-toggle {
        display: inline-flex !important;
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
    }

    .lg-mobile-entry > .lg-search-toggle .lg-search-toggle-label {
        display: none !important;
    }

    .lg-nav-toggle {
        display: inline-flex;
        margin-left: 0;
        flex-direction: column;
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        order: 1;
    }

    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: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(84vw, 340px);
        max-width: calc(100vw - 42px);
        max-height: none;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 18px 14px 18px;
        background: rgba(255, 255, 255, 0.96);
        border-right: 1px solid var(--lg-line);
        border-radius: 0 24px 24px 0;
        box-shadow: 0 24px 48px rgba(12, 22, 40, 0.18);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 140;
        transform: translate3d(-105%, 0, 0);
        transition: transform .28s ease, box-shadow .28s ease;
    }

    html[data-theme="dark"] .lg-nav {
        background: rgba(19, 27, 45, 0.98);
    }

    .lg-nav.is-open {
        transform: translate3d(0, 0, 0);
    }

    .lg-mobile-drawer {
        display: grid;
        gap: 14px;
        padding-bottom: 14px;
        margin-bottom: 2px;
        border-bottom: 1px solid var(--lg-line);
    }

    .lg-mobile-drawer-profile {
        display: grid;
        gap: 12px;
        padding: 14px;
        border-radius: 20px;
        border: 1px solid var(--lg-line);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)),
            linear-gradient(135deg, rgba(56, 114, 255, 0.14), rgba(93, 195, 187, 0.18));
    }

    html[data-theme="dark"] .lg-mobile-drawer-profile {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
            linear-gradient(135deg, rgba(123, 162, 255, 0.14), rgba(71, 178, 170, 0.16));
    }

    .lg-mobile-drawer-avatar {
        width: 68px;
        height: 68px;
    }

    .lg-mobile-drawer-avatar-img,
    .lg-mobile-drawer-avatar img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        border-radius: 50%;
        border: 3px solid rgba(255, 255, 255, 0.82);
        box-shadow: 0 14px 28px rgba(16, 30, 52, 0.16);
    }

    .lg-mobile-drawer-profile-copy {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .lg-mobile-drawer-profile-copy strong {
        font-size: 1rem;
        line-height: 1.2;
    }

    .lg-mobile-drawer-profile-copy p {
        margin: 0;
        color: var(--lg-muted);
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .lg-mobile-drawer-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .lg-mobile-drawer-stats span {
        display: grid;
        gap: 3px;
        padding: 10px 8px;
        border-radius: 14px;
        background: rgba(56, 114, 255, 0.08);
        text-align: center;
    }

    .lg-mobile-drawer-stats b {
        font-size: 0.95rem;
        line-height: 1.1;
    }

    .lg-mobile-drawer-stats small {
        color: var(--lg-muted);
        font-size: 0.72rem;
        line-height: 1.2;
    }

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

    .lg-mobile-drawer-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 12px;
        border-radius: 14px;
        background: rgba(56, 114, 255, 0.08);
        border: 1px solid rgba(56, 114, 255, 0.12);
        color: var(--lg-primary);
        font-size: 0.86rem;
        font-weight: 700;
        text-align: center;
    }

    .lg-mobile-drawer-btn.is-primary {
        background: var(--lg-primary);
        border-color: var(--lg-primary);
        color: #fff;
    }

    .lg-mobile-drawer-section {
        display: grid;
        gap: 10px;
    }

    .lg-mobile-drawer-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
    }

    .lg-mobile-drawer-head strong {
        font-size: 0.92rem;
    }

    .lg-mobile-drawer-head small {
        color: var(--lg-muted);
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

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

    .lg-mobile-drawer-chip {
        display: grid;
        gap: 4px;
        padding: 10px 12px;
        border-radius: 14px;
        background: var(--lg-panel);
        border: 1px solid var(--lg-line);
        min-width: 0;
    }

    .lg-mobile-drawer-chip span {
        font-size: 0.86rem;
        font-weight: 600;
        color: var(--lg-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lg-mobile-drawer-chip small {
        color: var(--lg-muted);
        font-size: 0.72rem;
    }

    .lg-nav-menu,
    .lg-submenu {
        display: grid;
        position: static;
        min-width: 0;
        margin: 0;
        padding: 0;
        box-shadow: none;
        background: transparent;
        border: 0;
        gap: 8px;
    }

    .lg-nav-menu > li > a {
        justify-content: space-between;
        min-height: 46px;
        padding: 0 14px;
        background: var(--lg-panel);
        border: 1px solid rgba(23, 32, 51, 0.05);
        border-radius: 14px;
    }

    .lg-submenu {
        margin-top: 8px;
        padding-left: 10px;
    }

    .lg-nav-menu > li:hover .lg-submenu {
        display: grid;
    }

    .lg-nav .lg-search-toggle,
    .lg-nav .lg-theme-toggle,
    .lg-nav .lg-lang-toggle,
    .lg-nav .lg-lang-toggle-trigger {
        width: 100%;
        min-height: 42px;
        margin-left: 0;
        align-self: stretch;
        justify-content: center;
    }

    .lg-nav .lg-search-toggle {
        justify-content: flex-start;
        gap: 10px;
        padding: 0 16px;
    }

    .lg-nav .lg-search-toggle-label {
        display: inline-flex;
        align-items: center;
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--lg-text);
    }

    .lg-nav .lg-theme-toggle {
        margin-top: 4px;
    }

    .lg-nav .lg-lang-toggle-menu {
        left: 0;
        right: 0;
        min-width: 0;
    }

    .lg-search-modal {
        padding: 14px;
    }

    .lg-search-modal-dialog {
        max-height: calc(100vh - 28px);
        padding: 18px;
        border-radius: 22px;
    }

    .lg-search-modal-form {
        grid-template-columns: 1fr;
    }

    .lg-search-modal-submit {
        width: 100%;
        min-width: 0;
    }

    .lg-search-result {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
    }

    .lg-search-result-media img {
        min-height: 84px;
    }

    .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-sidebar-weather {
        padding: 14px;
    }

    .lg-weather-scene-tabs {
        display: none;
    }

    .lg-weather-main {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 10px;
    }

    .lg-weather-icon-box {
        width: 50px;
        height: 50px;
    }

    .lg-weather-place-line {
        flex-wrap: wrap;
    }

    .lg-weather-grid {
        gap: 7px;
    }

    .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-post-hero-tools {
        gap: 10px;
        margin-top: 14px;
    }

    .lg-post-tts {
        width: 100%;
        min-height: 42px;
        padding: 0 16px;
    }

    .lg-post-tts-status {
        width: 100%;
        font-size: 0.78rem;
    }

    .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: 294px;
    }

    .lg-post-list.is-style-dynamic .lg-post-card {
        min-height: 294px;
        border-radius: 12px;
    }

    .lg-post-dynamic-bg,
    .lg-post-dynamic-overlay,
    .lg-post-dynamic-sheen {
        height: 188px;
        border-radius: 12px 12px 0 0;
    }

    .lg-post-dynamic-meta-top {
        top: 12px;
        left: 12px;
        max-width: calc(56% - 18px);
        gap: 6px;
    }

    .lg-post-dynamic-meta-right {
        top: 12px;
        right: 12px;
        max-width: calc(44% - 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-sort {
        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;
        top: 118px;
        bottom: auto;
        max-width: none;
        min-height: 42px;
        padding: 6px 10px;
        border-radius: 2px;
    }

    .lg-post-dynamic-title-pill strong {
        font-size: 0.96rem;
    }

    .lg-post-dynamic-footer {
        min-height: 106px;
        padding: 26px 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 {
        transform: translateY(-3px);
    }

    .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;
    }

    .is-post-layout .lg-ai-summary + .lg-article-card,
    .is-post-layout .lg-post-tag-spacer + .lg-article-card {
        margin-top: 0;
    }

    .lg-article-toc {
        padding: 16px 14px 14px;
        border-radius: 18px;
    }

    .lg-toc-link {
        min-height: 32px;
        padding: 6px 8px;
    }

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

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

    .lg-toc-link.is-level-4 {
        padding-left: 38px;
    }

    .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-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }

    .lg-post-action-card::after {
        top: auto;
        right: -12px;
        bottom: -12px;
        width: 136px;
        min-width: 136px;
        height: 136px;
        border-radius: 50%;
        opacity: 0.56;
    }

    .lg-post-action-visual {
        min-height: 200px;
        order: -1;
    }

    .lg-post-action-orbit {
        width: 214px;
        height: 214px;
    }

    .lg-post-action-avatar {
        width: 96px;
        height: 96px;
    }

    .lg-post-action {
        width: 50px;
        height: 50px;
    }

    .lg-post-action.is-like {
        left: 6px;
    }

    .lg-post-action.is-favorite {
        right: 6px;
    }

    .lg-post-action.is-share {
        top: 10px;
    }

    .lg-post-action.is-follow {
        bottom: 10px;
    }

    .lg-post-action-meta {
        gap: 8px;
    }

    .lg-post-action-meta span,
    .lg-post-action-meta .lg-post-action-meta-link {
        min-height: 32px;
        padding: 0 10px;
        font-size: 0.8rem;
    }

    .lg-neighbor-grid {
        grid-template-columns: 1fr;
    }

    .lg-footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
    }

    .lg-footer-wrap {
        padding: 42px 0 24px;
    }

    .lg-footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .lg-footer-block,
    .lg-footer-map,
    .lg-footer-friends {
        text-align: left;
    }

    .lg-footer-map-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        text-align: left;
    }

    .lg-footer-map-grid a {
        justify-content: flex-start;
    }

    .lg-footer-friend-marquee {
        margin-inline: -6px;
    }

    .lg-footer-bottom-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lg-footer-bottom-left,
    .lg-footer-bottom-right {
        justify-content: center;
        text-align: center;
    }

    .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;
    }
}

@media (max-width: 780px) {
    .lg-post-list .lg-post-card-hero,
    .lg-post-list .lg-post-card-hero.is-cover-left {
        display: block;
        height: 294px;
        min-height: 294px;
        border-radius: 12px;
    }

    .lg-post-card-hero .lg-post-hero-cover,
    .lg-post-card-hero.is-cover-left .lg-post-hero-cover {
        position: absolute;
        inset: 0 0 auto;
        width: 100%;
        height: 188px;
        margin: 0;
        border-radius: 12px 12px 0 0;
        aspect-ratio: auto;
    }

    .lg-post-card-hero .lg-post-hero-pane,
    .lg-post-card-hero.is-cover-left .lg-post-hero-pane {
        position: absolute;
        inset: 0;
        padding: 0;
    }

    .lg-post-card-hero .lg-post-hero-top {
        top: 12px;
        left: 12px;
        right: 12px;
        gap: 8px;
    }

    .lg-post-card-hero .lg-post-hero-date,
    .lg-post-card-hero .lg-post-hero-stats {
        min-height: 32px;
        padding: 0 9px;
        font-size: .74rem;
        overflow: hidden;
    }

    .lg-post-card-hero .lg-post-hero-stats {
        max-width: 44%;
    }

    .lg-post-card-hero .lg-post-hero-sort {
        display: none;
    }

    .lg-post-card-hero .lg-post-hero-pane h2 {
        left: 14px;
        right: 14px;
        top: 132px;
        min-height: 50px;
        padding: 8px 12px;
    }

    .lg-post-card-hero .lg-post-hero-pane h2 a {
        font-size: 1.02rem;
    }

    .lg-post-card-hero .lg-post-hero-pane p {
        left: 14px;
        right: 14px;
        bottom: 14px;
        font-size: .86rem;
        line-height: 1.62;
    }
}

@media (max-width: 780px) {
    .lg-footer {
        margin-top: 22px;
    }

    .lg-footer-wrap {
        padding: 28px 0 16px;
        background:
            linear-gradient(180deg, rgba(244, 247, 251, 0), rgba(244, 247, 251, .72) 14%, rgba(255, 255, 255, .96)),
            var(--lg-footer-bg, radial-gradient(circle at 18% 0%, rgba(56, 114, 255, .12), transparent 34%)),
            var(--lg-bg);
    }

    .lg-footer-wrap.is-footer-bg-video {
        background:
            linear-gradient(180deg, rgba(244, 247, 251, 0.08), rgba(244, 247, 251, .48) 14%, rgba(255, 255, 255, .76)),
            radial-gradient(circle at 18% 0%, rgba(56, 114, 255, .1), transparent 34%);
    }

    .lg-footer-wrap::before {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .78)),
            radial-gradient(circle at 86% 18%, rgba(57, 197, 187, .14), transparent 28%);
    }

    .lg-footer-grid {
        gap: 14px;
    }

    .lg-footer-block {
        padding: 14px;
        border: 1px solid rgba(175, 193, 221, .24);
        border-radius: 16px;
        background: rgba(255, 255, 255, .58);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .lg-footer-block h3 {
        margin: 0 0 12px;
        padding-bottom: 7px;
        font-size: 1rem;
    }

    .lg-footer-block h3 > span[aria-hidden="true"] {
        width: 15px;
        height: 15px;
        border-radius: 4px;
    }

    .lg-footer-copy {
        gap: 6px;
        max-width: none;
    }

    .lg-footer-copy p,
    .lg-footer-empty {
        font-size: .9rem;
        line-height: 1.72;
    }

    .lg-footer-arrow-link {
        margin-top: 10px;
        font-size: .92rem;
    }

    .lg-footer-map-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .lg-footer-map-grid a {
        justify-content: center;
        min-height: 34px;
        padding: 0 8px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .5);
        color: #314059;
        font-size: .82rem;
        font-weight: 650;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .lg-footer-friend-marquee {
        margin-inline: -14px;
        padding: 2px 14px 0;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    }

    .lg-footer-friend-track {
        gap: 12px;
        animation-duration: 20s;
    }

    .lg-footer-friend {
        width: 62px;
        gap: 5px;
        font-size: .76rem;
    }

    .lg-footer-friend-avatar {
        width: 44px;
        height: 44px;
        box-shadow: 0 8px 18px rgba(31, 45, 74, .14);
    }

    .lg-footer-friend span {
        font-size: .74rem;
    }

    .lg-footer-bottom {
        padding: 14px 0 84px;
        background: rgba(255, 255, 255, .96);
    }

    .lg-footer-bottom-inner {
        gap: 8px;
        font-size: .86rem;
        line-height: 1.6;
    }

    .lg-footer-bottom-left,
    .lg-footer-bottom-right {
        gap: 5px 10px;
    }

    .lg-footer-bottom-left {
        display: grid;
        justify-items: center;
    }

    .lg-footer-bottom-right a {
        min-height: 28px;
        padding: 0 8px;
        border-radius: 999px;
        background: rgba(56, 114, 255, .08);
        color: #1f5fbf;
        font-weight: 650;
    }

    .lg-footer-bottom-right a + a::before {
        display: none;
    }

    .lg-footer-runtime {
        margin-bottom: 2px;
        color: #6b7890;
    }

    html[data-theme="dark"] .lg-footer-wrap {
        background:
            linear-gradient(180deg, rgba(15, 21, 36, 0), rgba(15, 21, 36, .74) 16%, rgba(15, 21, 36, .96)),
            var(--lg-footer-bg, radial-gradient(circle at 18% 0%, rgba(123, 162, 255, .12), transparent 34%)),
            var(--lg-bg);
    }

    html[data-theme="dark"] .lg-footer-block {
        background: rgba(18, 25, 42, .58);
        border-color: rgba(255, 255, 255, .08);
    }

html[data-theme="dark"] .lg-footer-map-grid a {
        background: rgba(255, 255, 255, .07);
        color: rgba(237, 243, 255, .9);
    }
}

/* Latest post cover reveal */
@media (hover: hover) and (pointer: fine) {
    .lg-post-card-dynamic .lg-post-dynamic-link,
    .lg-post-list .lg-post-card-hero {
        transform: translateZ(0);
    }

    .lg-post-card-dynamic .lg-post-dynamic-footer,
    .lg-post-card-hero .lg-post-hero-pane p {
        transition: opacity .28s ease, transform .34s cubic-bezier(.22, 1, .36, 1);
    }

    .lg-post-card-dynamic .lg-post-dynamic-bg,
    .lg-post-card-dynamic .lg-post-dynamic-overlay,
    .lg-post-card-dynamic .lg-post-dynamic-sheen {
        height: 100%;
        border-radius: 12px;
        clip-path: inset(0 0 90px 0 round 12px);
        transition: clip-path .52s cubic-bezier(.22, 1, .36, 1), opacity .36s ease, transform .52s cubic-bezier(.22, 1, .36, 1), background .36s ease;
    }

    .lg-post-card-dynamic:hover .lg-post-dynamic-bg,
    .lg-post-card-dynamic:hover .lg-post-dynamic-overlay,
    .lg-post-card-dynamic:hover .lg-post-dynamic-sheen {
        clip-path: inset(0 round 12px);
    }

    .lg-post-card-dynamic:hover .lg-post-dynamic-overlay {
        background:
            linear-gradient(180deg, rgba(24, 31, 48, .18) 0%, rgba(24, 31, 48, .08) 42%, rgba(13, 18, 30, .68) 100%),
            linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 36%, rgba(12, 18, 30, .16) 100%);
    }

    .lg-post-card-dynamic:hover .lg-post-dynamic-title-pill {
        top: auto;
        bottom: 22px;
        right: 24px;
        min-height: 58px;
        background: rgba(21, 28, 42, .56);
        border-color: rgba(255, 255, 255, .22);
        box-shadow: 0 18px 44px rgba(8, 13, 22, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
        transform: translateY(0);
    }

    .lg-post-card-dynamic:hover .lg-post-dynamic-title-pill strong {
        color: #fff;
        text-shadow: 0 2px 14px rgba(8, 13, 22, .42);
    }

    .lg-post-card-dynamic:hover .lg-post-dynamic-footer {
        opacity: 0;
        transform: translateY(18px);
        pointer-events: none;
    }

    .lg-post-card-hero .lg-post-hero-cover,
    .lg-post-card-hero.is-cover-left .lg-post-hero-cover {
        height: 100%;
        border-radius: 12px;
        clip-path: inset(0 0 90px 0 round 12px);
        transition: clip-path .52s cubic-bezier(.22, 1, .36, 1), transform .52s cubic-bezier(.22, 1, .36, 1);
    }

    .lg-post-card-hero .lg-post-hero-cover::after {
        transition: background .36s ease;
    }

    .lg-post-list .lg-post-card-hero:hover .lg-post-hero-cover,
    .lg-post-list .lg-post-card-hero.is-cover-left:hover .lg-post-hero-cover {
        clip-path: inset(0 round 12px);
    }

    .lg-post-list .lg-post-card-hero:hover .lg-post-hero-cover::after {
        background:
            linear-gradient(180deg, rgba(24, 31, 48, .18) 0%, rgba(24, 31, 48, .08) 42%, rgba(13, 18, 30, .68) 100%),
            linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 36%, rgba(12, 18, 30, .16) 100%);
    }

    .lg-post-list .lg-post-card-hero:hover .lg-post-hero-pane h2 {
        top: auto;
        bottom: 22px;
        right: 24px;
        min-height: 58px;
        background: rgba(21, 28, 42, .56);
        border-color: rgba(255, 255, 255, .22);
        box-shadow: 0 18px 44px rgba(8, 13, 22, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
        transform: translateY(0);
    }

    .lg-post-list .lg-post-card-hero:hover .lg-post-hero-pane h2 a {
        color: #fff;
        text-shadow: 0 2px 14px rgba(8, 13, 22, .42);
    }

    .lg-post-list .lg-post-card-hero:hover .lg-post-hero-pane p {
        opacity: 0;
        transform: translateY(14px);
        pointer-events: none;
    }
}

@media (hover: none), (max-width: 780px) {
    img.lg-lazy {
        filter: none;
        transform: none;
        transition: opacity .18s ease;
        will-change: auto;
    }

    .lg-post-list-item {
        content-visibility: auto;
        contain-intrinsic-size: 320px;
    }

    .lg-post-list.is-style-dynamic .lg-post-card {
        box-shadow: 0 10px 24px rgba(17, 31, 56, .08), inset 0 0 0 1px rgba(188, 201, 220, .18);
        transform: none;
    }

    .lg-post-card-dynamic .lg-post-dynamic-sheen {
        display: none;
    }

    .lg-post-card-dynamic .lg-post-dynamic-image {
        transition: opacity .18s ease;
        will-change: auto;
    }

    .lg-post-dynamic-meta-right,
    .lg-post-dynamic-pill,
    .lg-post-card-dynamic .lg-flag,
    .lg-post-dynamic-title-pill,
    .lg-post-dynamic-footer {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .lg-post-card-dynamic:hover .lg-post-dynamic-image,
    .lg-post-list .lg-post-card-hero:hover .lg-post-hero-cover img {
        transform: none;
        filter: none;
    }

    .lg-post-card-dynamic:hover .lg-post-dynamic-title-pill,
    .lg-post-card-dynamic:hover .lg-post-dynamic-footer,
    .lg-post-list .lg-post-card-hero:hover .lg-post-hero-pane h2,
    .lg-post-list .lg-post-card-hero:hover .lg-post-hero-pane p {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
}

/* Strong hover fallback for browsers that skip hover media queries */
.lg-post-card-dynamic:hover .lg-post-dynamic-bg,
.lg-post-card-dynamic:hover .lg-post-dynamic-overlay,
.lg-post-card-dynamic:hover .lg-post-dynamic-sheen {
    height: 100% !important;
    border-radius: 12px !important;
    clip-path: none !important;
}

.lg-post-card-dynamic:hover .lg-post-dynamic-image {
    transform: scale(1.08) !important;
    filter: saturate(1.08) brightness(.96) !important;
}

.lg-post-card-dynamic:hover .lg-post-dynamic-overlay {
    background:
        linear-gradient(180deg, rgba(24, 31, 48, .08) 0%, rgba(24, 31, 48, .02) 46%, rgba(16, 22, 34, .28) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 38%, rgba(12, 18, 30, .12) 100%) !important;
}

.lg-post-card-dynamic:hover .lg-post-dynamic-title-pill {
    top: auto !important;
    right: auto !important;
    bottom: 70px !important;
    left: 24px !important;
    width: min(72%, 620px);
    min-height: 56px;
    background: rgba(255, 255, 255, .82) !important;
    border-color: rgba(255, 255, 255, .62) !important;
    box-shadow: 0 14px 34px rgba(12, 18, 32, .16) !important;
    transform: none !important;
}

.lg-post-card-dynamic:hover .lg-post-dynamic-title-pill strong {
    color: #4d515c !important;
    text-shadow: none !important;
}

.lg-post-card-dynamic:hover .lg-post-dynamic-footer {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(18px) !important;
    pointer-events: none !important;
}

.lg-post-list .lg-post-card-hero:hover .lg-post-hero-cover,
.lg-post-list .lg-post-card-hero.is-cover-left:hover .lg-post-hero-cover,
.lg-post-list .lg-post-card-hero.is-cover-right:hover .lg-post-hero-cover {
    height: 100% !important;
    border-radius: 12px !important;
    clip-path: none !important;
}

.lg-post-list .lg-post-card-hero:hover .lg-post-hero-cover img {
    transform: scale(1.08) !important;
    filter: saturate(1.08) brightness(.96) !important;
}

.lg-post-list .lg-post-card-hero:hover .lg-post-hero-cover::after {
    background:
        linear-gradient(180deg, rgba(24, 31, 48, .08) 0%, rgba(24, 31, 48, .02) 46%, rgba(16, 22, 34, .28) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 38%, rgba(12, 18, 30, .12) 100%) !important;
}

.lg-post-list .lg-post-card-hero:hover .lg-post-hero-pane h2 {
    top: auto !important;
    right: auto !important;
    bottom: 70px !important;
    left: 24px !important;
    width: min(72%, 620px);
    min-height: 56px;
    background: rgba(255, 255, 255, .82) !important;
    border-color: rgba(255, 255, 255, .62) !important;
    box-shadow: 0 14px 34px rgba(12, 18, 32, .16) !important;
    transform: none !important;
}

.lg-post-list .lg-post-card-hero:hover .lg-post-hero-pane h2 a {
    color: #4d515c !important;
    text-shadow: none !important;
}

.lg-post-list .lg-post-card-hero:hover .lg-post-hero-pane p {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(14px) !important;
    pointer-events: none !important;
}

@media (hover: none), (max-width: 780px) {
    .lg-post-card-dynamic:hover .lg-post-dynamic-bg,
    .lg-post-card-dynamic:hover .lg-post-dynamic-overlay,
    .lg-post-card-dynamic:hover .lg-post-dynamic-sheen {
        height: 188px !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .lg-post-card-dynamic:hover .lg-post-dynamic-image {
        transform: none !important;
        filter: none !important;
    }

    .lg-post-card-dynamic:hover .lg-post-dynamic-title-pill {
        top: 132px !important;
        right: 14px !important;
        bottom: auto !important;
        left: 14px !important;
        width: auto;
        background: rgba(255, 255, 255, .88) !important;
    }

    .lg-post-list .lg-post-card-hero:hover .lg-post-hero-cover,
    .lg-post-list .lg-post-card-hero.is-cover-left:hover .lg-post-hero-cover,
    .lg-post-list .lg-post-card-hero.is-cover-right:hover .lg-post-hero-cover {
        height: 188px !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .lg-post-list .lg-post-card-hero:hover .lg-post-hero-pane h2 {
        top: 132px !important;
        right: 14px !important;
        bottom: auto !important;
        left: 14px !important;
        width: auto;
        background: rgba(255, 255, 255, .88) !important;
    }

    .lg-post-card-dynamic:hover .lg-post-dynamic-footer,
    .lg-post-list .lg-post-card-hero:hover .lg-post-hero-pane p {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}
.lg-sidebar-weather {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border-radius: 20px;
    color: var(--lg-text);
    background:
        radial-gradient(circle at top right, rgba(56, 114, 255, 0.10), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 250, 255, 0.70));
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: 0 18px 40px rgba(18, 38, 78, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

html[data-theme="dark"] .lg-sidebar-weather {
    color: var(--lg-text);
    background:
        radial-gradient(circle at top right, rgba(123, 162, 255, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(18, 25, 42, 0.88), rgba(18, 25, 42, 0.78));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.26);
}

.lg-sidebar-weather[data-scene="sunny"] {
    background:
        radial-gradient(circle at top right, rgba(255, 184, 54, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 251, 255, 0.72));
}

html[data-theme="dark"] .lg-sidebar-weather[data-scene="sunny"] {
    background:
        radial-gradient(circle at top right, rgba(255, 184, 54, 0.20), transparent 26%),
        linear-gradient(180deg, rgba(42, 32, 22, 0.92), rgba(27, 25, 35, 0.82));
}

.lg-sidebar-weather[data-scene="rain"] {
    background:
        radial-gradient(circle at top right, rgba(85, 148, 255, 0.16), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 250, 255, 0.72));
}

html[data-theme="dark"] .lg-sidebar-weather[data-scene="rain"] {
    background:
        radial-gradient(circle at top right, rgba(85, 148, 255, 0.16), transparent 26%),
        linear-gradient(180deg, rgba(24, 32, 52, 0.92), rgba(18, 25, 42, 0.82));
}

.lg-sidebar-weather[data-scene="snow"] {
    background:
        radial-gradient(circle at top right, rgba(192, 219, 255, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 250, 255, 0.72));
}

html[data-theme="dark"] .lg-sidebar-weather[data-scene="snow"] {
    background:
        radial-gradient(circle at top right, rgba(192, 219, 255, 0.16), transparent 26%),
        linear-gradient(180deg, rgba(31, 38, 56, 0.92), rgba(18, 25, 42, 0.82));
}

.lg-weather-header,
.lg-weather-main,
.lg-weather-place,
.lg-weather-grid,
.lg-weather-indices,
.lg-weather-tip {
    position: relative;
    z-index: 2;
}

.lg-weather-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.lg-weather-title small {
    display: block;
    margin-bottom: 4px;
    color: var(--lg-muted);
    font-size: 0.72rem;
}

.lg-weather-title strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0;
}

.lg-weather-scene-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(56, 114, 255, 0.08);
}

.lg-weather-scene-tabs span {
    min-width: 30px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lg-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.lg-weather-scene-tabs span.is-active {
    background: var(--lg-primary);
    color: #fff;
}

.lg-weather-main {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.lg-weather-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 114, 255, 0.08);
    border: 1px solid rgba(56, 114, 255, 0.10);
}

html[data-theme="dark"] .lg-weather-icon-box {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.lg-weather-icon-mark {
    font-size: 2rem;
    line-height: 1;
}

.lg-weather-main-copy {
    min-width: 0;
}

.lg-weather-place {
    display: grid;
    gap: 2px;
}

.lg-weather-place-line {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lg-weather-place strong {
    display: block;
    min-width: 0;
    font-size: 1.08rem;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lg-weather-origin {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(56, 114, 255, 0.10);
    color: var(--lg-primary);
    font-size: 0.7rem;
    font-weight: 700;
}

.lg-weather-place p {
    margin: 0;
    color: var(--lg-muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.lg-weather-temp {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 4px;
}

.lg-weather-temp strong {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1;
    font-weight: 800;
}

.lg-weather-temp span {
    padding-top: 7px;
    color: var(--lg-muted);
    font-size: 1rem;
    font-weight: 600;
}

.lg-weather-range {
    display: flex;
    gap: 12px;
    margin-top: 5px;
    color: var(--lg-muted);
    font-size: 0.8rem;
}

.lg-weather-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.lg-weather-metric {
    padding: 10px 10px 9px;
    border-radius: 14px;
    background: rgba(56, 114, 255, 0.06);
    border: 1px solid rgba(56, 114, 255, 0.08);
}

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

.lg-weather-metric small {
    display: block;
    margin-bottom: 6px;
    color: var(--lg-muted);
    font-size: 0.72rem;
}

.lg-weather-metric strong {
    display: block;
    color: var(--lg-text);
    font-size: 0.96rem;
    font-weight: 700;
}

.lg-weather-metric.is-wind {
    --lg-windmill-duration: 5.2s;
}

.lg-weather-wind-copy {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 28px;
    line-height: 1.45;
}

.lg-weather-wind-copy > span:last-child {
    min-width: 0;
    word-break: break-word;
}

.lg-weather-windmill {
    position: relative;
    width: 24px;
    height: 24px;
    flex: none;
    opacity: .95;
}

.lg-weather-windmill-post {
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 2px;
    height: 11px;
    background: linear-gradient(180deg, rgba(98, 116, 151, 0.9), rgba(66, 82, 116, 0.88));
    border-radius: 999px;
    transform: translateX(-50%);
}

.lg-weather-windmill-post::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 8px;
    height: 4px;
    border-radius: 999px;
    background: rgba(74, 91, 128, 0.22);
    transform: translateX(-50%);
}

.lg-weather-windmill-rotor {
    position: absolute;
    left: 50%;
    top: 4px;
    width: 16px;
    height: 16px;
    transform: translateX(-50%);
    animation: lgWeatherWindmill var(--lg-windmill-duration) linear infinite;
    transform-origin: 50% 60%;
}

.lg-weather-windmill-rotor::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #5f93ff;
    box-shadow: 0 0 0 2px rgba(95, 147, 255, 0.16);
    transform: translate(-50%, -50%);
}

.lg-weather-windmill-rotor i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 3px;
    margin-left: -1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(95, 147, 255, 0.28), rgba(95, 147, 255, 0.94));
    transform-origin: 0 50%;
}

.lg-weather-windmill-rotor i:nth-child(1) {
    transform: translateY(-50%) rotate(0deg);
}

.lg-weather-windmill-rotor i:nth-child(2) {
    transform: translateY(-50%) rotate(90deg);
}

.lg-weather-windmill-rotor i:nth-child(3) {
    transform: translateY(-50%) rotate(180deg);
}

.lg-weather-windmill-rotor i:nth-child(4) {
    transform: translateY(-50%) rotate(270deg);
}

.lg-weather-metric.is-wind[data-wind-empty="1"] .lg-weather-windmill {
    opacity: .46;
}

html[data-theme="dark"] .lg-weather-windmill-post {
    background: linear-gradient(180deg, rgba(206, 219, 246, 0.86), rgba(150, 168, 208, 0.88));
}

html[data-theme="dark"] .lg-weather-windmill-post::after {
    background: rgba(160, 178, 219, 0.22);
}

html[data-theme="dark"] .lg-weather-windmill-rotor::after {
    background: #8fb0ff;
    box-shadow: 0 0 0 2px rgba(143, 176, 255, 0.18);
}

html[data-theme="dark"] .lg-weather-windmill-rotor i {
    background: linear-gradient(90deg, rgba(143, 176, 255, 0.24), rgba(143, 176, 255, 0.98));
}

.lg-weather-indices {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lg-weather-index-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(56, 114, 255, 0.06);
    border: 1px solid rgba(56, 114, 255, 0.08);
    color: var(--lg-text);
}

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

.lg-weather-index-chip i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.lg-weather-index-chip strong,
.lg-weather-index-chip em {
    font-style: normal;
    font-size: 0.74rem;
}

.lg-weather-index-chip strong {
    color: var(--lg-muted);
}

.lg-weather-index-chip em {
    color: var(--lg-text);
    font-weight: 700;
}

.lg-weather-index-chip.is-tone-1 { color: #ffb23e; }
.lg-weather-index-chip.is-tone-2 { color: #2fc7ae; }
.lg-weather-index-chip.is-tone-3 { color: #5f93ff; }
.lg-weather-index-chip.is-tone-4 { color: #bf7cff; }

.lg-weather-tip {
    margin: 10px 0 0;
    color: var(--lg-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lg-weather-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.lg-weather-cloud,
.lg-weather-sun,
.lg-weather-rain,
.lg-weather-snow {
    position: absolute;
    opacity: 0;
}

.lg-weather-cloud {
    top: 16px;
    right: 10px;
    width: 88px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    filter: blur(2px);
}

.lg-weather-cloud::before,
.lg-weather-cloud::after {
    content: "";
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.lg-weather-cloud::before {
    left: 10px;
    top: -12px;
    width: 26px;
    height: 26px;
}

.lg-weather-cloud::after {
    right: 16px;
    top: -16px;
    width: 32px;
    height: 32px;
}

.lg-weather-cloud-b {
    top: 26px;
    right: 48px;
    width: 64px;
    transform: scale(0.86);
}

.lg-weather-sun {
    top: 22px;
    right: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 78, 0.96) 0 56%, rgba(255, 166, 0, 0.72) 57% 100%);
    box-shadow: 0 0 30px rgba(255, 184, 47, 0.32);
}

.lg-weather-rain,
.lg-weather-snow {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.lg-weather-rain::before,
.lg-weather-rain::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, rgba(144, 194, 255, 0) 0%, rgba(144, 194, 255, 0.72) 100%);
    background-size: 2px 18px;
    background-repeat: repeat;
    opacity: 0.5;
    animation: lgWeatherRain 1.6s linear infinite;
}

.lg-weather-rain::after {
    background-size: 1px 14px;
    opacity: 0.32;
    animation-duration: 1.2s;
    transform: translateX(18px);
}

.lg-weather-snow::before,
.lg-weather-snow::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.94) 0 2px, transparent 2.4px);
    background-size: 42px 42px;
    animation: lgWeatherSnow 6s linear infinite;
    opacity: 0.52;
}

.lg-weather-snow::after {
    background-size: 28px 28px;
    animation-duration: 4.8s;
    opacity: 0.32;
}

.lg-weather-scene.is-scene-sunny .lg-weather-sun,
.lg-weather-scene.is-scene-cloudy .lg-weather-cloud,
.lg-weather-scene.is-scene-cloudy .lg-weather-cloud-b,
.lg-weather-scene.is-scene-rain .lg-weather-cloud,
.lg-weather-scene.is-scene-rain .lg-weather-cloud-b,
.lg-weather-scene.is-scene-rain .lg-weather-rain,
.lg-weather-scene.is-scene-snow .lg-weather-cloud,
.lg-weather-scene.is-scene-snow .lg-weather-cloud-b,
.lg-weather-scene.is-scene-snow .lg-weather-snow {
    opacity: 1;
}

.lg-weather-scene.is-scene-sunny .lg-weather-cloud-b {
    opacity: 0.55;
}

@keyframes lgWeatherWindmill {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes lgWeatherRain {
    from { transform: translateY(-8px); }
    to { transform: translateY(18px); }
}

@keyframes lgWeatherSnow {
    from { transform: translateY(-8px); }
    to { transform: translateY(22px); }
}

.lg-svparse-main {
    position: relative;
    z-index: 12;
    min-height: calc(100vh - 74px);
    margin-top: -1px;
    background: linear-gradient(180deg, rgba(244, 248, 253, 0.94), rgba(239, 245, 252, 0.9));
    isolation: isolate;
}

body.has-site-background .lg-svparse-main {
    background: rgba(244, 248, 253, 0.92);
}

.lg-svparse-page {
    position: relative;
    z-index: 2;
    width: min(100%, 1160px);
    margin: 0 auto;
    padding: 54px 16px 76px;
}

.lg-svparse-hero {
    display: grid;
    gap: 16px;
    padding: 0 0 54px;
}

.lg-svparse-kicker {
    color: #111827;
    font-size: 0.9rem;
    font-weight: 800;
}

.lg-svparse-hero h1 {
    margin: 0;
    max-width: 880px;
    color: #111827;
    font-size: clamp(3.1rem, 6vw, 5.2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
}

.lg-svparse-hero p {
    margin: 0;
    max-width: 760px;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.9;
}

.lg-svparse-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 760px;
}

.lg-svparse-platforms span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(211, 223, 238, 0.9);
    color: #2563eb;
    font-size: 0.86rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.lg-svparse-tool {
    position: relative;
    z-index: 4;
    display: grid;
    gap: 18px;
    width: min(100%, 900px);
    margin: 0 auto;
}

.lg-svparse-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 236px;
    overflow: hidden;
    min-height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(213, 224, 239, 0.96);
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.1);
}

html[data-theme="dark"] .lg-svparse-main {
    background: linear-gradient(180deg, rgba(18, 25, 38, 0.96), rgba(14, 20, 31, 0.92));
}

html[data-theme="dark"] body.has-site-background .lg-svparse-main {
    background: rgba(18, 25, 38, 0.92);
}

html[data-theme="dark"] .lg-svparse-form,
html[data-theme="dark"] .lg-svparse-result {
    background: rgba(22, 31, 46, 0.94);
    border-color: rgba(95, 112, 145, 0.36);
}

html[data-theme="dark"] .lg-svparse-platforms span {
    background: rgba(30, 41, 59, 0.78);
    border-color: rgba(96, 116, 150, 0.38);
}

.lg-svparse-input,
.lg-svparse-paste,
.lg-svparse-submit {
    border: 0;
    font: inherit;
}

.lg-svparse-input {
    min-width: 0;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    padding: 13px 20px 11px;
    background: transparent;
    color: var(--lg-title);
    outline: 0;
    resize: none;
    line-height: 1.35;
    scrollbar-width: none;
}

.lg-svparse-input::-webkit-scrollbar {
    display: none;
}

.lg-svparse-buttons {
    display: grid;
    grid-template-columns: 100px 136px;
    border-left: 1px solid rgba(222, 229, 238, 0.9);
}

.lg-svparse-paste {
    min-height: 52px;
    background: rgba(255, 255, 255, 0.5);
    border-left: 0;
    color: #111827;
    font-weight: 800;
    cursor: pointer;
}

.lg-svparse-submit {
    min-height: 52px;
    background: #05070a;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.lg-svparse-paste:hover,
.lg-svparse-submit:hover,
.lg-svparse-actions a:hover,
.lg-svparse-actions button:hover,
.lg-svparse-backups a:hover {
    transform: translateY(-1px);
}

.lg-svparse-status {
    min-height: 24px;
    margin: 0;
    color: #64748b;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.lg-svparse-status[data-tone="success"] { color: #10a36f; }
.lg-svparse-status[data-tone="error"] { color: #dc2626; }
.lg-svparse-status[data-tone="loading"] { color: var(--lg-primary); }

.lg-svparse-result {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    min-height: 218px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(213, 224, 239, 0.95);
    box-shadow: 0 22px 62px rgba(15, 23, 42, 0.09);
}

.lg-svparse-result[hidden] {
    display: none !important;
}

.lg-svparse-cover {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 180px;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(20, 184, 166, 0.12)), #eef2f7;
    color: var(--lg-primary);
    font-weight: 900;
    text-decoration: none;
}

.lg-svparse-cover.is-portrait {
    width: min(100%, 210px);
    max-height: 420px;
    aspect-ratio: 9 / 16;
    justify-self: center;
}

.lg-svparse-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(15, 23, 42, 0.04);
}

.lg-svparse-info {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 10px;
}

.lg-svparse-info small {
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-weight: 900;
}

.lg-svparse-info h2,
.lg-svparse-info p {
    margin: 0;
}

.lg-svparse-info h2 {
    color: var(--lg-title);
    font-size: 1.18rem;
    line-height: 1.45;
}

.lg-svparse-info p {
    display: -webkit-box;
    overflow: hidden;
    color: #64748b;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.lg-svparse-actions,
.lg-svparse-backups {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.lg-svparse-actions a,
.lg-svparse-actions button,
.lg-svparse-backups a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(222, 229, 238, 0.96);
    background: rgba(255, 255, 255, 0.76);
    color: #111827;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.lg-svparse-actions .lg-svparse-open {
    background: #316bff;
    border-color: #316bff;
    color: #fff;
}

.lg-svparse-backups {
    padding-top: 2px;
}

.lg-svparse-backups a {
    min-height: 30px;
    padding: 0 10px;
    color: #2563eb;
    font-size: 0.82rem;
}

@media (max-width: 720px) {
    .lg-svparse-page {
        padding: 18px 14px 48px;
    }

    .lg-svparse-hero {
        gap: 12px;
        padding-bottom: 28px;
    }

    .lg-svparse-hero h1 {
        font-size: clamp(2.25rem, 11vw, 3.35rem);
    }

    .lg-svparse-hero p {
        font-size: 0.92rem;
        line-height: 1.75;
    }

    .lg-svparse-platforms {
        gap: 8px;
    }

    .lg-svparse-platforms span {
        min-height: 28px;
        padding: 0 10px;
        font-size: 0.8rem;
    }

    .lg-svparse-form {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .lg-svparse-input {
        height: 58px;
        min-height: 58px;
        max-height: 58px;
        padding: 14px 16px;
    }

    .lg-svparse-buttons {
        grid-template-columns: 1fr 1.25fr;
        border-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(222, 229, 238, 0.9);
    }

    .lg-svparse-paste,
    .lg-svparse-submit {
        min-height: 54px;
    }

    .lg-svparse-result {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 16px;
        border-radius: 18px;
    }

    .lg-svparse-cover,
    .lg-svparse-cover.is-portrait {
        width: min(100%, 260px);
        max-height: 460px;
        justify-self: center;
    }

    .lg-svparse-cover.is-landscape {
        width: 100%;
        aspect-ratio: 16 / 10;
    }
}
