:root {
    --ll-bg: #F5F7F5;
    --ll-surface: #ffffff;
    --ll-surface-soft: #F7F8F6;
    --ll-border: rgba(15, 23, 42, 0.08);
    --ll-border-soft: rgba(15, 23, 42, 0.05);
    --ll-border-strong: rgba(15, 23, 42, 0.10);
    --ll-text: #0F172A;
    --ll-muted: #64748B;
    --ll-accent: #1D6F68;
    --ll-accent-soft: rgba(29, 111, 104, 0.08);
    --ll-accent-alt: #7C6A2F;
    --ll-accent-alt-soft: rgba(124, 106, 47, 0.08);
    --ll-shadow-soft: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
    --ll-shadow: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
    --ll-shadow-hero: 0 8px 32px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@view-transition {
    navigation: auto;
}

@keyframes llViewOld {
    to {
        opacity: 0;
        transform: translateY(10px) scale(0.992);
        filter: blur(4px);
    }
}

@keyframes llViewNew {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.996);
        filter: blur(6px);
    }
}

@keyframes llTopbarIn {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.34s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

::view-transition-old(root) {
    animation-name: llViewOld;
}

::view-transition-new(root) {
    animation-name: llViewNew;
}

body.ll-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, var(--ll-bg) 100%);
    color: var(--ll-text);
    font-family: "Microsoft YaHei UI", "PingFang SC", "Segoe UI Variable Display", sans-serif;
}

a {
    color: inherit;
}

.ll-shell {
    width: min(1260px, calc(100% - 32px));
    margin: 0 auto;
}

.ll-topbar-wrap {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 40;
    border-bottom: 1px solid var(--ll-border-soft);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: var(--ll-shadow-soft);
    animation: llTopbarIn 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ll-topbar-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ll-border), transparent);
}

.ll-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
}

.ll-topbar .ll-header-links {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.ll-topbar .ll-header-links::-webkit-scrollbar {
    display: none;
}

.ll-topbar .ll-header-actions {
    flex: 0 0 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.ll-topbar .ll-header-actions::-webkit-scrollbar {
    display: none;
}

.ll-main {
    padding-top: 136px;
    padding-bottom: 52px;
}

.ll-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
}

.ll-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #101828 0%, #374151 100%);
    color: #fff;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.ll-brand-name,
.ll-page-title,
.ll-card-title,
.ll-side-title,
.ll-auth-title,
.ll-section-title {
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
}

.ll-brand-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ll-header-links,
.ll-header-actions,
.ll-category-links,
.ll-inline-actions,
.ll-card-meta,
.ll-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.ll-header-links {
    color: var(--ll-muted);
    font-size: 0.95rem;
}

.ll-header-link,
.ll-category-link,
.ll-side-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--ll-muted);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.ll-header-link::after,
.ll-category-link::after,
.ll-side-link::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: var(--ll-accent);
    opacity: 0;
    transform: scaleX(0.45);
    transform-origin: center;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.ll-header-link:hover,
.ll-category-link:hover,
.ll-side-link:hover {
    color: var(--ll-text);
    background: rgba(15, 23, 42, 0.04);
    transform: translateY(-1px);
}

.ll-header-link:hover::after,
.ll-category-link:hover::after,
.ll-side-link:hover::after,
.ll-header-link.is-active::after,
.ll-category-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.ll-header-link.is-active {
    color: var(--ll-text);
    font-weight: 700;
    background: var(--ll-accent-soft);
}

.ll-header-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.ll-inline-form {
    margin: 0;
}

.ll-search {
    width: clamp(128px, 18vw, 180px);
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--ll-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
}

.ll-search:focus,
.ll-input:focus,
.ll-textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.32);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.08);
}

.ll-search-submit,
.ll-btn,
.ll-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.ll-search-submit,
.ll-btn {
    border: 0;
    color: #fff;
    background: var(--ll-accent);
    box-shadow: 0 2px 8px rgba(59, 111, 212, 0.20);
}

.ll-btn-secondary {
    border: 1px solid var(--ll-border);
    background: var(--ll-surface);
    color: var(--ll-text);
}

.ll-search-submit:hover,
.ll-btn:hover,
.ll-btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.ll-search-submit:active,
.ll-btn:active,
.ll-btn-secondary:active,
.ll-like-button:active {
    transform: translateY(1px) scale(0.99);
}

.ll-search-submit:disabled,
.ll-btn:disabled,
.ll-btn-secondary:disabled,
.ll-btn.is-disabled,
.ll-btn-secondary.is-disabled {
    opacity: 0.52;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
}

:where(
    .ll-header-link,
    .ll-category-link,
    .ll-side-link,
    .ll-search-submit,
    .ll-btn,
    .ll-btn-secondary,
    .ll-link-badge,
    .ll-rank-tab,
    .ll-like-button,
    .ll-status a,
    .ll-empty a
):focus-visible {
    outline: none;
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.ll-button-reset {
    border: 0;
    background: transparent;
    font: inherit;
}

.ll-category-row {
    margin-top: 4px;
    padding: 10px 0 8px;
}

.ll-category-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.ll-category-links::-webkit-scrollbar {
    display: none;
}

.ll-category-link {
    padding: 0 14px;
    font-size: 0.97rem;
    color: #101828;
    flex: 0 0 auto;
    white-space: nowrap;
}

.ll-category-link.is-active {
    color: var(--ll-accent);
    font-weight: 700;
    background: rgba(37, 99, 235, 0.08);
}

.ll-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.ll-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--ll-border-strong);
    background: var(--ll-surface);
    box-shadow: var(--ll-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ll-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.ll-card-media {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.ll-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.55), transparent 26%),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.08) 100%);
}

.ll-card-media--a {
    background: #EFF6FF;
}

.ll-card-media--b {
    background: #F0FDF4;
}

.ll-card-media--c {
    background: #F5F3FF;
}

.ll-card-media--d {
    background: #F8FAFC;
}

.ll-media-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #111827;
    font-size: 0.78rem;
    font-weight: 600;
}

.ll-media-mark {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.96);
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ll-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 20px 22px 22px;
}

.ll-card-title {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.5;
    font-weight: 700;
}

.ll-card-title a {
    text-decoration: none;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ll-card-excerpt {
    margin: 0;
    color: var(--ll-muted);
    line-height: 1.75;
    flex: 1;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ll-card-meta {
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    color: #667085;
    font-size: 0.9rem;
}

.ll-card-meta .ll-side-link {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #f8fafc;
}

.ll-card-meta .ll-side-link:last-child {
    color: #1d4ed8;
}

.ll-card--browse {
    border-radius: 8px;
}

.ll-card--search {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.97));
}

.ll-card-media--browse {
    min-height: 0;
    aspect-ratio: 16 / 8.9;
}

.ll-card--browse .ll-card-body {
    gap: 14px;
    padding: 22px 22px 20px;
}

.ll-card-topline--browse {
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    margin-bottom: 0;
}

.ll-card-context {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ll-card-context--search {
    background: rgba(14, 165, 233, 0.1);
    color: #0369a1;
}

.ll-card-date {
    color: var(--ll-muted);
    font-size: 0.84rem;
    white-space: nowrap;
}

.ll-card-excerpt--browse {
    line-height: 1.72;
    -webkit-line-clamp: 4;
}

.ll-card-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ll-card-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(248, 250, 252, 0.96);
    color: #475569;
    font-size: 0.83rem;
    line-height: 1;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

a.ll-card-chip:hover {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.18);
    background: #ffffff;
}

.ll-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.ll-card-footer-note {
    color: var(--ll-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.ll-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.ll-browse-hero {
    position: relative;
    align-items: stretch;
    gap: 22px;
    overflow: hidden;
    margin-bottom: 28px;
    padding: clamp(28px, 3vw, 32px);
    border-radius: 28px;
    border: 1px solid var(--ll-border-strong);
    background: var(--ll-surface);
    box-shadow: var(--ll-shadow-hero);
}

.ll-browse-hero--search {
    background:
        radial-gradient(circle at top right, rgba(15, 23, 42, 0.08), transparent 22%),
        radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.12), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 255, 0.98) 100%);
}

.ll-browse-hero--plans {
    background:
        radial-gradient(circle at top right, rgba(21, 50, 67, 0.1), transparent 24%),
        radial-gradient(circle at bottom left, rgba(208, 90, 51, 0.1), transparent 26%),
        linear-gradient(135deg, rgba(255, 251, 248, 0.98) 0%, rgba(247, 245, 255, 0.98) 100%);
}

.ll-browse-hero--drafts {
    background:
        radial-gradient(circle at top right, rgba(15, 23, 42, 0.08), transparent 22%),
        radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.1), transparent 24%),
        linear-gradient(135deg, rgba(255, 252, 248, 0.98) 0%, rgba(247, 250, 255, 0.98) 100%);
}

.ll-browse-hero-panel {
    position: relative;
    z-index: 1;
    min-width: min(100%, 310px);
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.86));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), var(--ll-shadow-soft);
}

.ll-browse-hero-label {
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ll-browse-hero-panel strong {
    display: block;
    margin-top: 10px;
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.22rem;
    line-height: 1.42;
}

.ll-browse-hero-panel p {
    margin: 10px 0 0;
    color: var(--ll-muted);
    line-height: 1.75;
}

.ll-browse-hero-panel .ll-inline-actions {
    margin-top: 16px;
}

.ll-plan-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.ll-plan-list-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
    box-shadow: var(--ll-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ll-plan-list-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.ll-plan-list-cover {
    display: block;
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 16 / 9.2;
    margin: -22px -22px 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.ll-plan-list-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.ll-plan-list-card:hover .ll-plan-list-cover img {
    transform: scale(1.03);
}

.ll-plan-list-cover-copy {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    color: #0f172a;
}

.ll-plan-list-cover-copy span {
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ll-plan-list-cover-copy strong {
    max-width: 18rem;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.3rem;
    line-height: 1.45;
}

.ll-plan-list-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-top: 18px;
    color: var(--ll-muted);
    font-size: 0.9rem;
}

.ll-plan-list-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
}

.ll-plan-list-status.is-complete {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.ll-plan-list-status.is-paused {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.ll-plan-list-title {
    margin: 14px 0 0;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.2rem;
    line-height: 1.45;
}

.ll-plan-list-title a {
    color: #0f172a;
    text-decoration: none;
}

.ll-plan-list-desc {
    margin: 10px 0 0;
    color: var(--ll-muted);
    line-height: 1.78;
}

.ll-plan-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.ll-plan-list-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.ll-plan-list-footer .ll-link-group {
    margin-top: 0;
}

.ll-plan-detail-overview {
    margin-top: 24px;
}

.ll-plan-detail-metrics {
    margin-top: 18px;
}

.ll-plan-progress-track {
    position: relative;
    margin-top: 18px;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.08);
}

.ll-plan-progress-bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
}

.ll-plan-detail-roadmap {
    margin-top: 24px;
    padding: 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
    box-shadow: var(--ll-shadow);
}

.ll-plan-detail-rail {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.ll-plan-detail-step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.86);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ll-plan-detail-step:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.ll-plan-detail-step-order {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    color: #fff;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.2);
}

.ll-plan-detail-step-copy strong {
    display: block;
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.05rem;
    line-height: 1.45;
}

.ll-plan-detail-step-copy span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.65;
}

.ll-page-title {
    margin: 0;
    font-size: clamp(1.96rem, 3vw, 2.72rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.08;
    text-wrap: balance;
}

.ll-page-desc {
    max-width: 62ch;
    margin: 10px 0 0;
    color: var(--ll-muted);
    line-height: 1.8;
}

.ll-kicker--soft {
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
}

.ll-rank-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 26px;
}

.ll-rank-header,
.ll-rank-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ll-rank-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
}

.ll-rank-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--ll-muted);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ll-rank-tab.is-active,
.ll-rank-tab:hover {
    background: #fff;
    color: var(--ll-text);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ll-rank-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ll-rank-card {
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: var(--ll-shadow);
}

.ll-rank-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.ll-rank-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--ll-border-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    text-decoration: none;
    box-shadow: var(--ll-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ll-rank-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.ll-rank-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.ll-rank-index {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
    color: #fff;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-weight: 700;
    flex-shrink: 0;
}

.ll-rank-title {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.5;
}

.ll-rank-subtitle {
    margin-top: 4px;
    color: var(--ll-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ll-rank-value {
    color: #1d4ed8;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1rem;
    white-space: nowrap;
}

.ll-rank-empty {
    margin-top: 18px;
}

.ll-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.ll-section-card,
.ll-side-card,
.ll-article-card,
.ll-auth-card,
.ll-auth-side {
    border-radius: 18px;
    border: 1px solid var(--ll-border-soft);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.97));
    box-shadow: var(--ll-shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.ll-side-card,
.ll-section-card,
.ll-article-card {
    padding: clamp(22px, 2vw, 26px);
}

.ll-side-card,
.ll-guide-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ll-border-strong);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.ll-side-card::before,
.ll-guide-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.48), rgba(14, 165, 233, 0.16));
}

.ll-side-card--article {
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.ll-side-title,
.ll-section-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.ll-side-text {
    margin-top: 10px;
    color: var(--ll-muted);
    line-height: 1.8;
}

.ll-side-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.ll-side-list li {
    position: relative;
    padding: 10px 0 10px 16px;
    color: var(--ll-muted);
}

.ll-side-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--ll-accent);
}

.ll-article-card {
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.ll-article-card--body {
    padding: clamp(24px, 2.4vw, 32px);
    border-color: rgba(59, 130, 246, 0.12);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.96));
}

.ll-article-body-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 28px;
    margin-bottom: 28px;
}

.ll-article-body-note {
    max-width: 520px;
    margin-top: 10px;
    color: var(--ll-muted);
    line-height: 1.82;
}

.ll-article-progress-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: min(100%, 220px);
    color: #475569;
    font-size: 0.9rem;
}

.ll-article-progress-track {
    position: relative;
    width: min(220px, 100%);
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.08);
}

.ll-article-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
    transition: width 0.18s ease;
}

.ll-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 16px;
    color: var(--ll-muted);
    font-size: 0.92rem;
}

.ll-article-body {
    margin-top: 24px;
    color: #314155;
    font-family: "Georgia", "Source Han Serif SC", "Songti SC", serif;
    font-size: clamp(1.08rem, 0.2vw + 1.03rem, 1.14rem);
    line-height: 1.85;
    letter-spacing: 0.012em;
    max-width: 72ch;
}

.ll-article-card--body .ll-article-body {
    margin-top: 0;
}

.ll-article-card--body .ll-markdown > p:first-of-type {
    margin-top: 0;
    margin-bottom: 1.35em;
    color: #0f172a;
    font-size: clamp(1.18rem, 0.18vw + 1.12rem, 1.28rem);
    line-height: 1.94;
}

.ll-article-card--body .ll-markdown h2 {
    position: relative;
    padding-bottom: 10px;
}

.ll-article-card--body .ll-markdown h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 68px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.8), rgba(14, 165, 233, 0.3));
}

.ll-article-card--body .ll-markdown h3 {
    color: #172554;
}

.ll-markdown > :first-child {
    margin-top: 0;
}

.ll-markdown h1,
.ll-markdown h2,
.ll-markdown h3,
.ll-markdown h4 {
    margin: 1.72em 0 0.78em;
    color: #0f172a;
    line-height: 1.28;
    letter-spacing: -0.012em;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    scroll-margin-top: 112px;
}

.ll-markdown p,
.ll-markdown ul,
.ll-markdown ol,
 .ll-markdown blockquote,
 .ll-markdown figure,
 .ll-markdown details,
 .ll-markdown table,
 .ll-markdown pre {
    margin: 1.12em 0;
}

.ll-markdown h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.ll-markdown h2 {
    font-size: 1.55rem;
}

.ll-markdown h3 {
    font-size: 1.24rem;
}

.ll-markdown h4 {
    font-size: 1.05rem;
}

.ll-markdown a {
    color: #0f766e;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.15em;
}

.ll-markdown strong {
    color: #0f172a;
}

.ll-markdown p {
    text-wrap: pretty;
}

.ll-markdown hr {
    border: 0;
    height: 1px;
    margin: 2.2rem 0;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.5), rgba(148, 163, 184, 0));
}

.ll-markdown ul,
.ll-markdown ol {
    padding-left: 1.6rem;
}

.ll-markdown li {
    padding-left: 0.08rem;
    line-height: 1.92;
}

.ll-markdown li + li {
    margin-top: 0.55rem;
}

.ll-markdown img {
    max-width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.ll-card-media img {
    transition: transform 0.28s ease;
}

.ll-card:hover .ll-card-media img {
    transform: scale(1.03);
}

.ll-markdown figure,
.ll-markdown picture {
    display: block;
    margin: 1.6em 0;
}

.ll-markdown figure img,
.ll-markdown picture img {
    display: block;
}

.ll-markdown figcaption {
    margin-top: 12px;
    color: var(--ll-muted);
    font-size: 0.92rem;
    line-height: 1.72;
    text-align: center;
}

.ll-markdown details {
    padding: 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.ll-markdown summary {
    cursor: pointer;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.5;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
}

.ll-markdown summary + * {
    margin-top: 14px;
}

.ll-markdown pre {
    position: relative;
    overflow: auto;
    padding: 20px 22px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.78;
    scrollbar-color: rgba(148, 163, 184, 0.42) rgba(15, 23, 42, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ll-markdown code {
    padding: 0.18em 0.44em;
    border-radius: 8px;
    background: #eef2ff;
    color: #1e3a8a;
    font-size: 0.92em;
}

.ll-markdown pre code {
    display: block;
    min-width: max-content;
    padding: 0;
    background: transparent;
    color: inherit;
    tab-size: 4;
}

.ll-markdown table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    -webkit-overflow-scrolling: touch;
}

.ll-markdown th,
.ll-markdown td {
    padding: 13px 15px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    text-align: left;
    line-height: 1.72;
}

.ll-markdown th {
    background: #f8fbff;
    color: #0f172a;
    font-weight: 700;
    white-space: nowrap;
}

.ll-markdown tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.88);
}

.ll-markdown caption {
    margin-bottom: 12px;
    color: var(--ll-muted);
    font-size: 0.9rem;
    text-align: left;
}

.ll-markdown blockquote {
    margin-left: 0;
    padding: 18px 22px;
    border-left: 4px solid #2563eb;
    border-radius: 0 14px 14px 0;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
    color: #334155;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.ll-markdown blockquote > :first-child {
    margin-top: 0;
}

.ll-markdown blockquote > :last-child {
    margin-bottom: 0;
}

.ll-input,
.ll-textarea,
.ll-select {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--ll-border);
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.ll-textarea {
    min-height: 320px;
    padding: 14px;
    resize: vertical;
    line-height: 1.8;
}

.ll-select {
    appearance: none;
}

.ll-input-shell {
    position: relative;
}

.ll-input-shell .ll-input {
    padding-right: 82px;
}

.ll-input-action {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    color: #334155;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ll-input-action:hover {
    transform: translateY(calc(-50% - 1px));
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.ll-input-action:active {
    transform: translateY(-50%);
}

.ll-input-action:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.ll-form-field + .ll-form-field {
    margin-top: 18px;
}

.ll-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.ll-form-note,
.ll-field-error,
.ll-field-helper {
    margin-top: 8px;
    font-size: 0.92rem;
    line-height: 1.55;
}

.ll-form-note {
    color: var(--ll-muted);
}

.ll-field-error {
    color: #e11d48;
}

.ll-field-helper {
    color: var(--ll-muted);
}

.ll-field-helper[data-tone="good"] {
    color: #166534;
}

.ll-field-helper[data-tone="warn"] {
    color: #9a3412;
}

.ll-input[aria-invalid="true"],
.ll-textarea[aria-invalid="true"],
.ll-select[aria-invalid="true"] {
    border-color: rgba(225, 29, 72, 0.58);
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
    background: linear-gradient(180deg, rgba(255, 247, 250, 0.98), rgba(255, 255, 255, 0.98));
}

.ll-form-progress {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
    color: #475467;
    font-size: 0.92rem;
    line-height: 1.65;
}

.ll-form-progress::before {
    content: "";
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 4px;
    border-radius: 999px;
    background: rgba(71, 84, 103, 0.52);
    box-shadow: 0 0 0 5px rgba(148, 163, 184, 0.18);
}

.ll-form-progress[data-tone="good"] {
    border-color: rgba(34, 197, 94, 0.22);
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.98), rgba(255, 255, 255, 0.98));
    color: #166534;
}

.ll-form-progress[data-tone="good"]::before {
    background: rgba(22, 163, 74, 0.88);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.16);
}

.ll-form-progress[data-tone="warn"] {
    border-color: rgba(217, 119, 6, 0.24);
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(255, 255, 255, 0.98));
    color: #9a3412;
}

.ll-form-progress[data-tone="warn"]::before {
    background: rgba(217, 119, 6, 0.88);
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.18);
}

.ll-form-progress[data-tone="busy"] {
    border-color: rgba(37, 99, 235, 0.24);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
    color: #1d4ed8;
}

.ll-form-progress[data-tone="busy"]::before {
    background: rgba(37, 99, 235, 0.9);
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.16);
}

.ll-form-actions {
    margin-top: 22px;
}

.ll-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.84rem;
    font-weight: 700;
}

.ll-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
    gap: 18px;
}

.ll-editor-pane {
    padding: 20px;
    border: 1px solid var(--ll-border);
    border-radius: 16px;
    background: #fff;
}

.ll-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.ll-editor-toolbar button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--ll-border);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}

.ll-editor-toolbar-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -2px 0 14px;
}

.ll-toolbar-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: #475467;
    font-size: 0.9rem;
}

.ll-toolbar-status[data-tone="success"] {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.ll-toolbar-status[data-tone="error"] {
    background: rgba(244, 63, 94, 0.12);
    color: #be123c;
}

.ll-preview-surface {
    min-height: 320px;
    max-height: 820px;
    margin-top: 0;
    overflow: auto;
    padding-right: 8px;
}

.ll-editor-panel--preview .ll-preview-surface {
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
}

.ll-profile-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

.ll-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 14px;
    color: var(--ll-muted);
}

.ll-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ll-stat {
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--ll-shadow);
}

.ll-stat strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.ll-editor-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ll-editor-hero {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(234, 247, 245, 0.98) 52%, rgba(240, 246, 255, 0.98) 100%);
    box-shadow: var(--ll-shadow);
}

.ll-editor-hero::after {
    display: none;
}

.ll-editor-metrics,
.ll-article-snapshot {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.ll-editor-rhythm {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.ll-editor-rhythm-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 118, 110, 0.13);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.ll-editor-rhythm-card strong {
    display: block;
    color: #0f172a;
}

.ll-editor-rhythm-card span {
    display: block;
    margin-top: 8px;
    color: var(--ll-muted);
    line-height: 1.65;
    font-size: 0.92rem;
}

.ll-metric-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 118, 110, 0.13);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.ll-metric-card strong {
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.5rem;
    color: #0f172a;
}

.ll-metric-label {
    color: #475467;
    font-size: 0.84rem;
    font-weight: 700;
}

.ll-metric-note {
    color: var(--ll-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.ll-editor-topline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.ll-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 700;
}

.ll-editor-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.ll-editor-stage[data-sidebar-state="collapsed"] {
    grid-template-columns: 1fr;
}

.ll-editor-stage[data-sidebar-state="collapsed"] .ll-editor-sidebar {
    display: none;
}

.ll-editor-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ll-editor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.ll-editor-card {
    padding: clamp(22px, 2vw, 26px);
    border-radius: 18px;
    border: 1px solid var(--ll-border-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 250, 0.98));
    box-shadow: var(--ll-shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.ll-editor-settings-overview {
    margin: 18px 0 4px;
}

.ll-editor-settings-overview .ll-space-overview-metric strong {
    font-size: 1.28rem;
    line-height: 1.3;
}

.ll-settings-grid--editor-loose {
    margin-top: 2px;
}

.ll-form-field--wide {
    grid-column: 1 / -1;
}

.ll-editor-workspace {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.ll-editor-title-input {
    width: 100%;
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    background: transparent;
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 700;
}

.ll-editor-title-input:focus {
    outline: none;
    border-bottom-color: rgba(15, 118, 110, 0.48);
}

.ll-editor-subline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 14px;
    color: var(--ll-muted);
}

.ll-toolbar-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: #f7fbfa;
    color: #243b53;
    font-size: 0.88rem;
}

.ll-editor-mode-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.ll-editor-panel-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.ll-editor-mode-button {
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #475467;
    cursor: pointer;
    font: inherit;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ll-editor-mode-button.is-active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.ll-editor-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ll-editor-sidebar-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
    box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.08);
}

.ll-editor-sidebar-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.1);
}

.ll-editor-stage[data-sidebar-state="collapsed"] .ll-editor-sidebar-toggle {
    border-color: rgba(15, 118, 110, 0.2);
    background: linear-gradient(180deg, #fbfffd 0%, #eaf7f5 100%);
}

.ll-editor-stage[data-sidebar-state="collapsed"] .ll-editor-sidebar-toggle::before {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    box-shadow: 0 0 0 5px rgba(148, 163, 184, 0.12);
}

.ll-editor-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 18px;
}

.ll-editor-panels[data-mode="write"] {
    grid-template-columns: 1fr;
}

.ll-editor-panels[data-mode="write"] .ll-editor-panel--preview {
    display: none;
}

.ll-editor-panels[data-mode="preview"] {
    grid-template-columns: 1fr;
}

.ll-editor-panels[data-mode="preview"] .ll-editor-panel--write {
    display: none;
}

.ll-editor-panel {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 18px;
    border: 1px solid rgba(15, 118, 110, 0.11);
    border-radius: 18px;
    background: #fff;
}

.ll-editor-textarea {
    flex: 1 1 auto;
    min-height: 0;
    min-height: 680px;
    border: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    font-size: 1.02rem;
    resize: none;
}

.ll-editor-textarea:focus {
    box-shadow: none;
}

.ll-editor-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.ll-editor-caption {
    color: var(--ll-muted);
    font-size: 0.9rem;
}

.ll-editor-guide {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ll-guide-card {
    padding: 18px;
    border-radius: 18px;
    box-shadow: var(--ll-shadow);
}

.ll-editor-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.ll-editor-check-item {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #f8fafc;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.ll-editor-check-item strong {
    display: block;
    color: #0f172a;
}

.ll-editor-check-item span {
    display: block;
    margin-top: 8px;
    color: var(--ll-muted);
    line-height: 1.68;
    font-size: 0.92rem;
}

.ll-editor-check-item[data-tone="good"] {
    border-color: rgba(34, 197, 94, 0.18);
    background: rgba(240, 253, 244, 0.92);
}

.ll-editor-check-item[data-tone="neutral"] {
    border-color: rgba(14, 165, 233, 0.18);
    background: rgba(240, 249, 255, 0.92);
}

.ll-editor-check-item[data-tone="warn"] {
    border-color: rgba(245, 158, 11, 0.18);
    background: rgba(255, 251, 235, 0.92);
}

.ll-guide-card p {
    margin: 8px 0 0;
    color: var(--ll-muted);
    line-height: 1.75;
}

.ll-guide-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.ll-guide-list li + li {
    margin-top: 10px;
}

.ll-guide-statlist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.ll-guide-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border-radius: 16px;
    background: #f8fafc;
}

.ll-guide-stat span {
    color: var(--ll-muted);
    font-size: 0.84rem;
}

.ll-guide-stat strong {
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.1rem;
}

.ll-upload-box--editor {
    margin-top: 24px;
}

.ll-editor-submit-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ll-editor-submit-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ll-editor-submit-item {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #f8fafc;
}

.ll-editor-submit-item span {
    display: block;
    color: var(--ll-muted);
    font-size: 0.84rem;
}

.ll-editor-submit-item strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.08rem;
    line-height: 1.38;
}

.ll-form-actions--editor-submit {
    margin-top: 0;
}

.ll-space-cover {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(37, 99, 235, 0.88)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
    color: #fff;
    box-shadow: var(--ll-shadow);
}

.ll-space-cover::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -30px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 66%);
}

.ll-space-cover::after {
    content: "";
    position: absolute;
    inset: auto auto -40px -20px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.2), transparent 68%);
}

.ll-space-head {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
}

.ll-avatar-xl {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.ll-space-title {
    margin: 10px 0 8px;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
}

.ll-space-copy {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
}

.ll-space-summary {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    max-width: 780px;
}

.ll-space-statline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ll-meta-pill {
    display: inline-flex;
    min-height: 32px;
    padding: 0 12px;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.88rem;
    font-weight: 700;
}

.ll-space-cover .ll-meta-pill {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.ll-space-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.ll-space-actions .ll-btn-secondary {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ll-like-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: #fff;
    cursor: pointer;
    font: inherit;
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.2);
}

.ll-like-button.is-disabled,
.ll-like-button:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    box-shadow: none;
}

.ll-space-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
}

.ll-feed {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ll-feed-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--ll-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ll-feed-card:hover {
    transform: translateY(-2px);
}

.ll-feed-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.ll-feed-title {
    margin: 0;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
}

.ll-feed-title a {
    text-decoration: none;
}

.ll-feed-excerpt {
    margin: 0;
    color: var(--ll-muted);
    line-height: 1.8;
}

.ll-feed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--ll-muted);
    font-size: 0.92rem;
}

.ll-feed-action {
    margin-left: auto;
    color: var(--ll-accent-alt);
    font-weight: 700;
    text-decoration: none;
}

.ll-article-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
    min-height: 286px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: var(--ll-shadow);
}

.ll-article-hero > .ll-feed-top,
.ll-article-hero > .ll-page-title,
.ll-article-hero > .ll-author-strip {
    margin-right: min(360px, 34vw);
}

.ll-author-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.ll-avatar-md {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
    color: #fff;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.18);
}

.ll-author-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ll-author-name {
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none;
}

.ll-author-name:hover {
    color: var(--ll-accent-alt);
}

.ll-author-strip .ll-inline-actions {
    margin-left: auto;
}

.ll-dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #94a3b8;
}

.ll-side-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.ll-article-side {
    position: sticky;
    top: 128px;
    align-self: start;
    max-height: calc(100vh - 144px);
    overflow: hidden;
    padding-right: 0;
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ll-article-side > .ll-side-card {
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.ll-stack,
.ll-side-card p,
.ll-side-card li,
.ll-guide-card p,
.ll-guide-card li,
.ll-outline-link {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ll-side-card.is-sticky {
    position: sticky;
    top: 128px;
}

.ll-outline-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 14px;
}

.ll-outline-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #334155;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ll-outline-link:hover {
    background: #eff6ff;
    color: #1d4ed8;
    transform: translateX(2px);
}

.ll-outline-link.is-active {
    background: linear-gradient(90deg, rgba(219, 234, 254, 0.9), rgba(239, 246, 255, 0.95));
    color: #1d4ed8;
    transform: translateX(4px);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.ll-outline-link--level-2 {
    margin-left: 10px;
}

.ll-outline-link--level-3 {
    margin-left: 20px;
}

.ll-outline-empty,
.ll-preview-placeholder {
    padding: 16px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--ll-muted);
    line-height: 1.75;
}

.ll-link-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.ll-link-group--center {
    justify-content: center;
}

.ll-author-card-inline .ll-profile-inline {
    align-items: center;
}

.ll-author-card-inline .ll-form-actions {
    margin-top: 18px;
}

.ll-link-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f7fbfa;
    color: #243b53;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

a.ll-link-badge:hover {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.18);
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.ll-page-jump-links {
    margin-top: 16px;
}

.ll-comment-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 0;
}

.ll-comment-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.96));
    box-shadow: var(--ll-shadow);
}

.ll-comment-card--composer {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.97));
}

.ll-comment-card--composer::after {
    content: "";
    position: absolute;
    inset: auto -40px -72px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 68%);
    pointer-events: none;
}

.ll-comment-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 18px;
    margin-bottom: 16px;
}

.ll-comment-form textarea {
    min-height: 136px;
}

.ll-comment-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-top: 16px;
}

.ll-comment-toolbar-note {
    color: var(--ll-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.ll-btn-secondary--compact {
    min-height: 36px;
    padding: 0 12px;
}

.ll-comment-toolbar .ll-btn-secondary.is-active {
    border-color: rgba(37, 99, 235, 0.24);
    background: #eef4ff;
    color: #1d4ed8;
}

.ll-emoji-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(248, 251, 255, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.ll-emoji-button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    font-size: 1.15rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ll-emoji-button:hover {
    transform: translateY(-1px);
    background: #eef4ff;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.1);
}

.ll-comment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ll-comment-item {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.96));
}

.ll-comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
    color: #fff;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.ll-comment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: var(--ll-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.ll-comment-meta span:last-child {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

.ll-comment-author {
    color: #0f172a;
    font-weight: 700;
}

.ll-comment-text {
    margin-top: 12px;
    padding: 15px 17px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    color: #334155;
    line-height: 1.82;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    white-space: pre-wrap;
}

.ll-comment-empty {
    margin: 0;
}

.ll-status {
    position: relative;
    margin-bottom: 16px;
    min-height: 52px;
    padding: 14px 16px 14px 58px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    line-height: 1.7;
    box-shadow: var(--ll-shadow);
}

.ll-status::before {
    content: "i";
    position: absolute;
    left: 16px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: currentColor;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ll-status a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-left: 6px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid currentColor;
    color: inherit;
    text-decoration: none;
    opacity: 0.9;
}

.ll-status--success {
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.96), rgba(220, 252, 231, 0.9));
    color: #15803d;
    border-color: rgba(34, 197, 94, 0.18);
}

.ll-status--success::before {
    content: "OK";
}

.ll-status--error {
    background: linear-gradient(180deg, rgba(255, 241, 242, 0.96), rgba(255, 228, 230, 0.9));
    color: #be123c;
    border-color: rgba(244, 63, 94, 0.18);
}

.ll-status--error::before {
    content: "!";
}

.ll-auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    gap: 28px;
    align-items: stretch;
}

.ll-auth-side,
.ll-auth-card {
    padding: 32px;
}

.ll-auth-side {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
}

.ll-auth-kicker {
    display: inline-flex;
    min-height: 30px;
    padding: 0 12px;
    align-items: center;
    border-radius: 999px;
    background: var(--ll-accent-alt-soft);
    color: var(--ll-accent-alt);
    font-size: 0.84rem;
    font-weight: 700;
}

.ll-auth-title {
    margin: 18px 0 10px;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.18;
    font-weight: 700;
}

.ll-auth-copy {
    color: var(--ll-muted);
    line-height: 1.85;
}

.ll-auth-layout--entry {
    align-items: start;
}

.ll-auth-layout--entry .ll-auth-side,
.ll-auth-layout--entry .ll-auth-card {
    min-height: 100%;
}

.ll-auth-side--entry {
    display: flex;
    flex-direction: column;
    gap: 22px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 28%),
        radial-gradient(circle at 12% 84%, rgba(14, 165, 233, 0.10), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.ll-auth-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ll-glance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ll-glance-card,
.ll-auth-quick-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(15, 118, 110, 0.12);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ll-glance-card span,
.ll-auth-quick-card span {
    display: block;
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ll-glance-card strong,
.ll-auth-quick-card strong {
    display: block;
    margin-top: 10px;
    color: #0f172a;
    font-size: 1.04rem;
    line-height: 1.45;
}

.ll-glance-card p,
.ll-auth-quick-card p {
    margin: 10px 0 0;
    color: var(--ll-muted);
    font-size: 0.92rem;
    line-height: 1.72;
}

.ll-auth-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ll-auth-highlight {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ll-auth-highlight strong {
    display: block;
    color: #0f172a;
    font-size: 1.02rem;
}

.ll-auth-highlight p {
    margin: 10px 0 0;
    color: var(--ll-muted);
    line-height: 1.7;
    font-size: 0.92rem;
}

.ll-auth-guide-card {
    margin-top: auto;
}

.ll-auth-step-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.ll-auth-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.ll-auth-step strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.10);
    color: #0f766e;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 0.96rem;
    letter-spacing: 0.06em;
}

.ll-auth-step span {
    color: var(--ll-muted);
    line-height: 1.72;
    font-size: 0.94rem;
}

.ll-auth-card--entry {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.ll-auth-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ll-auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ll-auth-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ll-auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ll-auth-form-grid-wide {
    grid-column: 1 / -1;
}

.ll-auth-card-note {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(248, 250, 252, 0.92);
    color: var(--ll-muted);
    line-height: 1.72;
    font-size: 0.92rem;
}

.ll-auth-inline-card {
    margin-top: 4px;
}

.ll-auth-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--ll-muted);
    font-size: 0.92rem;
}

.ll-auth-mini-links a {
    color: #0f172a;
    text-decoration: none;
}

.ll-auth-mini-links a:hover {
    color: #2563eb;
}

.ll-content-grid--plan-form {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.ll-plan-form-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ll-plan-form-summary {
    width: min(360px, 100%);
}

.ll-plan-form-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ll-plan-form-summary-grid .ll-space-overview-metric strong {
    font-size: 1.35rem;
    line-height: 1.3;
}

.ll-plan-form-card {
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.ll-plan-form-card--guide {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
}

.ll-plan-form-grid {
    gap: 18px;
}

.ll-plan-form-textarea {
    min-height: 240px;
}

.ll-plan-form-preview {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ll-plan-form-preview-name {
    display: block;
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    line-height: 1.18;
}

.ll-plan-form-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ll-plan-form-step-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ll-plan-form-step {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.ll-plan-form-step strong {
    display: block;
    color: #0f172a;
}

.ll-plan-form-step span {
    display: block;
    margin-top: 8px;
    color: var(--ll-muted);
    line-height: 1.68;
    font-size: 0.92rem;
}

.ll-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.ll-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--ll-border);
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
}

.ll-page-link.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--ll-accent) 0%, var(--ll-accent-alt) 100%);
    color: #fff;
}

.ll-footer {
    margin-top: 34px;
}

.ll-footer-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.96));
    box-shadow: var(--ll-shadow);
    color: var(--ll-muted);
    font-size: 0.92rem;
}

.ll-footer-brand {
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-weight: 700;
}

.ll-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ll-footer-tags span,
.ll-footer-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
    color: #475467;
    text-decoration: none;
}

.ll-plan-context {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
}

.ll-plan-context::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.5), rgba(14, 165, 233, 0.18));
}

.ll-plan-context-head {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ll-plan-context-title {
    margin: 0;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.18rem;
    line-height: 1.42;
}

.ll-plan-context-title a {
    color: #1d4ed8;
    text-decoration: none;
}

.ll-plan-context-order {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.72);
    color: #334155;
    font-size: 0.86rem;
}

.ll-plan-context-order strong {
    margin: 0 4px;
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
}

.ll-plan-context-meta,
.ll-plan-context-desc {
    position: relative;
    z-index: 1;
}

.ll-plan-context-meta {
    margin: 14px 0 0;
    color: #475467;
    font-size: 0.92rem;
}

.ll-plan-context-desc {
    margin: 12px 0 0;
    color: var(--ll-muted);
    line-height: 1.8;
}

.ll-plan-context-actions {
    position: relative;
    z-index: 1;
    margin-top: 18px;
}

.ll-footer-tags a {
    color: #1d4ed8;
}

.ll-stack {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.ll-stack.ll-article-side {
    height: calc(100vh - 144px);
    max-height: calc(100vh - 144px);
    overflow: hidden;
    padding-right: 0;
    gap: 18px;
}

.ll-stack.ll-article-side > .ll-side-card {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.ll-empty {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: var(--ll-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.74);
    color: var(--ll-muted);
    text-align: center;
    line-height: 1.75;
}

.ll-empty::before {
    content: "";
    display: block;
    width: 46px;
    height: 46px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.84), transparent 40%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.14));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.ll-empty a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-left: 6px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: rgba(255, 255, 255, 0.88);
    color: #1d4ed8;
    text-decoration: none;
}

.ll-empty--actionable {
    border: 1px dashed rgba(148, 163, 184, 0.22);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), var(--ll-shadow);
}

.ll-fade {
    animation: llFade 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--ll-fade-delay, 0s);
}

@keyframes llFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

:where(
    .ll-auth-layout > *,
    .ll-content-grid > *,
    .ll-space-layout > *,
    .ll-plan-form-main > *,
    .ll-editor-main > *,
    .ll-editor-sidebar > *,
    .ll-stack > *
):nth-child(2) {
    --ll-fade-delay: 0.04s;
}

:where(
    .ll-auth-layout > *,
    .ll-content-grid > *,
    .ll-space-layout > *,
    .ll-plan-form-main > *,
    .ll-editor-main > *,
    .ll-editor-sidebar > *,
    .ll-stack > *
):nth-child(3) {
    --ll-fade-delay: 0.08s;
}

:where(
    .ll-auth-layout > *,
    .ll-content-grid > *,
    .ll-space-layout > *,
    .ll-plan-form-main > *,
    .ll-editor-main > *,
    .ll-editor-sidebar > *,
    .ll-stack > *
):nth-child(4) {
    --ll-fade-delay: 0.12s;
}

:where(
    .ll-auth-layout > *,
    .ll-content-grid > *,
    .ll-space-layout > *,
    .ll-plan-form-main > *,
    .ll-editor-main > *,
    .ll-editor-sidebar > *,
    .ll-stack > *
):nth-child(5) {
    --ll-fade-delay: 0.16s;
}

:where(
    .ll-auth-layout > *,
    .ll-content-grid > *,
    .ll-space-layout > *,
    .ll-plan-form-main > *,
    .ll-editor-main > *,
    .ll-editor-sidebar > *,
    .ll-stack > *
):nth-child(6) {
    --ll-fade-delay: 0.2s;
}

@media (hover: hover) {
    .ll-section-card:hover,
    .ll-side-card:hover,
    .ll-guide-card:hover,
    .ll-editor-card:hover,
    .ll-space-overview-card:hover,
    .ll-auth-card:hover,
    .ll-auth-side:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
        border-color: rgba(37, 99, 235, 0.16);
    }

    .ll-space-overview-metric:hover {
        transform: translateY(-2px);
        border-color: rgba(37, 99, 235, 0.16);
        background: #ffffff;
        box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
    }
}

@media (max-width: 1080px) {
    .ll-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ll-rank-grid,
    .ll-content-grid,
    .ll-auth-layout,
    .ll-editor-grid,
    .ll-editor-stage,
    .ll-editor-panels,
    .ll-space-layout {
        grid-template-columns: 1fr;
    }

    .ll-editor-metrics,
    .ll-article-snapshot {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ll-editor-rhythm,
    .ll-auth-highlight-grid,
    .ll-plan-form-summary-grid,
    .ll-editor-submit-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ll-article-hero {
        min-height: 0;
    }

    .ll-article-hero > .ll-feed-top,
    .ll-article-hero > .ll-page-title,
    .ll-article-hero > .ll-author-strip {
        margin-right: 0;
    }

    .ll-article-cover {
        position: static;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .ll-article-side {
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .ll-article-side > .ll-side-card {
        overflow: visible;
        padding-right: 0;
    }

    .ll-header-form {
        display: none;
    }

    .ll-stack.ll-article-side {
        height: auto;
        max-height: none;
        overflow: visible;
        padding-right: 0;
        gap: 18px;
    }

    .ll-stack.ll-article-side > .ll-side-card {
        flex: none;
        overflow: visible;
        padding-right: 0;
    }
}

@media (max-width: 780px) {
    .ll-shell {
        width: min(100% - 16px, 100%);
    }

    .ll-main {
        padding-top: 122px;
    }

    .ll-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .ll-stat-grid {
        grid-template-columns: 1fr;
    }

    .ll-side-card.is-sticky {
        position: static;
    }

    .ll-card-media {
        min-height: 170px;
    }

    .ll-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ll-rank-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ll-space-summary,
    .ll-author-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .ll-editor-mode-switch {
        width: 100%;
        justify-content: space-between;
    }

    .ll-editor-panel-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .ll-editor-sidebar-toggle {
        width: 100%;
        justify-content: center;
    }

    .ll-author-strip .ll-inline-actions {
        margin-left: 0;
    }

    .ll-feed-action {
        margin-left: 0;
    }

    .ll-auth-form-grid {
        grid-template-columns: 1fr;
    }

    .ll-editor-settings-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .ll-topbar {
        height: auto;
        min-height: 64px;
        padding: 10px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .ll-main {
        padding-top: 176px;
    }

    .ll-header-links,
    .ll-header-actions,
    .ll-category-links {
        width: 100%;
    }

    .ll-grid {
        grid-template-columns: 1fr;
    }

    .ll-editor-metrics,
    .ll-article-snapshot,
    .ll-guide-statlist {
        grid-template-columns: 1fr;
    }

    .ll-editor-rhythm,
    .ll-auth-highlight-grid,
    .ll-plan-form-summary-grid,
    .ll-editor-settings-overview,
    .ll-editor-submit-summary {
        grid-template-columns: 1fr;
    }

    .ll-header-links,
    .ll-header-actions,
    .ll-category-links {
        gap: 6px;
    }

    .ll-page-head--about,
    .ll-browse-hero,
    .ll-home-copy,
    .ll-home-highlight {
        padding: 22px;
    }

    .ll-home-stream-head,
    .ll-footer-shell,
    .ll-browse-hero,
    .ll-plan-context-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ll-auth-step {
        grid-template-columns: 42px minmax(0, 1fr);
    }
}

:root {
    --ll-editor-font: "HarmonyOS Sans SC", "HarmonyOS Sans", "Microsoft YaHei UI", sans-serif;
    --ll-article-font: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
}

.ll-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
    margin-bottom: 28px;
}

.ll-home-copy,
.ll-home-highlight,
.ll-rank-page-hero {
    padding: clamp(26px, 3vw, 30px);
    border-radius: 24px;
    border: 1px solid var(--ll-border-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
    box-shadow: var(--ll-shadow-hero);
}

.ll-home-copy {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 248, 246, 0.98));
}

.ll-home-copy--story {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ll-border-strong);
}

.ll-home-copy--story::after {
    display: none;
}

.ll-home-copy--story .ll-page-title {
    max-width: 11ch;
    line-height: 1.08;
    text-wrap: balance;
}

.ll-home-copy--story .ll-page-desc {
    max-width: 46rem;
    font-size: 1.02rem;
}

.ll-home-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.ll-home-feature {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #334155;
    font-size: 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.ll-home-feature::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
}

.ll-home-actions {
    margin-top: 20px;
}

.ll-home-stream-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.ll-home-stream-title {
    margin: 12px 0 0;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: clamp(1.34rem, 2.4vw, 1.72rem);
    line-height: 1.25;
}

.ll-home-stream-note {
    max-width: 26rem;
    margin: 0;
    color: var(--ll-muted);
    line-height: 1.75;
}

.ll-grid--home {
    margin-top: 6px;
}

.ll-grid--browse {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 14px;
}

.ll-empty--browse {
    margin-top: 12px;
}

.ll-glance-grid--browse {
    margin-bottom: 30px;
}

.ll-home-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ll-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ll-mini-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8fafc;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.ll-mini-link:hover {
    background: #eef8f6;
    transform: translateY(-1px);
}

.ll-mini-title {
    font-weight: 700;
    color: #0f172a;
}

.ll-mini-meta {
    color: var(--ll-muted);
    font-size: 0.88rem;
}

.ll-home-highlight {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.ll-home-highlight::after {
    display: none;
}

.ll-home-highlight--accent {
    background:
        linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
    color: #fff;
}

.ll-home-highlight--accent::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
}

.ll-home-highlight--accent .ll-side-title,
.ll-home-highlight--accent .ll-side-text,
.ll-home-highlight--accent .ll-side-link {
    color: #fff;
}

.ll-home-highlight--accent .ll-side-link--solid {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.14);
}

.ll-side-link--solid {
    margin-top: 14px;
    width: 100%;
    justify-content: flex-start;
    background: #f8fafc;
}

.ll-page-head--about {
    position: relative;
    align-items: stretch;
    gap: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 32px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 24%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.1), transparent 26%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 255, 0.98) 100%);
    box-shadow: var(--ll-shadow);
}

.ll-page-head--about::after {
    content: "";
    position: absolute;
    inset: auto -42px -64px auto;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 72%);
}

.ll-page-head-note {
    position: relative;
    z-index: 1;
    min-width: min(100%, 290px);
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.ll-page-head-note span {
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ll-page-head-note strong {
    display: block;
    margin-top: 10px;
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.26rem;
    line-height: 1.45;
}

.ll-page-head-note p {
    margin: 10px 0 0;
    color: var(--ll-muted);
    line-height: 1.75;
}

.ll-section-card--feature {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.98));
}

.ll-section-card--feature::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.56), rgba(14, 165, 233, 0.18));
}

.ll-side-card--about {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.ll-rank-page-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 26px;
}

.ll-rank-grid--page .ll-rank-card {
    min-height: 100%;
}

.ll-rank-item--wide {
    padding: 16px 18px;
}

.ll-rank-page-panel {
    width: min(100%, 360px);
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(37, 99, 235, 0.10));
}

.ll-rank-overview-card,
.ll-admin-summary-card {
    margin-bottom: 28px;
}

.ll-rank-lead {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 246, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ll-rank-lead--likes {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 255, 0.96));
}

.ll-rank-lead-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.ll-rank-lead-value {
    color: #0f766e;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.56rem;
    line-height: 1;
    white-space: nowrap;
}

.ll-rank-item--wide .ll-rank-main {
    align-items: flex-start;
}

.ll-rank-item-note {
    margin-top: 6px;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.65;
}

.ll-content-grid--admin {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.ll-admin-note-strip {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.96));
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.75;
}

.ll-admin-queue-grid,
.ll-admin-note-list,
.ll-admin-record-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ll-admin-queue-grid {
    margin-top: 18px;
}

.ll-admin-queue-card,
.ll-admin-record-item,
.ll-admin-note {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

.ll-admin-queue-card,
.ll-admin-record-item {
    padding: 18px;
}

.ll-admin-note {
    padding: 16px;
}

.ll-admin-queue-card::before,
.ll-admin-record-item::before,
.ll-admin-note::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.52), rgba(14, 165, 233, 0.16));
}

.ll-admin-queue-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.ll-admin-meta-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.ll-admin-meta-row {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.88);
}

.ll-admin-meta-row span {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
}

.ll-admin-meta-row strong {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 0.95rem;
    line-height: 1.55;
    word-break: break-word;
}

.ll-admin-note strong {
    display: block;
    color: #0f172a;
    font-size: 0.98rem;
}

.ll-admin-note span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
}

.ll-admin-record-item .ll-profile-inline {
    align-items: flex-start;
    margin-top: 12px;
}

.ll-admin-record-item .ll-side-text {
    margin: 6px 0 0;
}

.ll-admin-queue-card .ll-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.ll-admin-queue-card .ll-form-actions > * {
    flex: 1 1 160px;
}

.ll-admin-queue-card .ll-form-actions form,
.ll-admin-queue-card .ll-form-actions a {
    margin: 0;
}

.ll-admin-queue-card .ll-btn,
.ll-admin-queue-card .ll-btn-secondary {
    width: 100%;
    justify-content: center;
}

.ll-admin-search-box {
    width: min(100%, 520px);
}

.ll-admin-search-box .ll-inline-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.ll-admin-users-grid {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.ll-admin-user-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.ll-admin-user-meta {
    min-width: 0;
}

.ll-admin-user-meta strong,
.ll-admin-user-meta span {
    display: block;
}

.ll-admin-user-meta strong {
    color: #0f172a;
    font-size: 1rem;
}

.ll-admin-user-meta > span {
    margin-top: 4px;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.ll-admin-password-note {
    margin-top: 10px;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.65;
}

.ll-admin-user-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(88px, 1fr));
    gap: 10px;
    min-width: 210px;
}

.ll-admin-user-stats span {
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    color: #64748b;
    font-size: 0.82rem;
    text-align: center;
}

.ll-admin-user-stats strong {
    display: block;
    color: #1d4ed8;
    font-size: 1.35rem;
    line-height: 1.1;
}

.ll-admin-password-form {
    grid-column: 2 / -1;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.ll-admin-password-fields {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) auto;
    gap: 10px;
    margin-top: 8px;
}

.ll-section-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.ll-section-foot-note {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.75;
}

.ll-section-foot .ll-link-group {
    margin-top: 0;
}

.ll-card-media--image {
    min-height: 228px;
    background: #0f172a;
}

.ll-card-media--image::after {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.44) 100%);
}

.ll-card-media--image img,
.ll-feed-cover img,
.ll-article-cover img,
.ll-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ll-card-topline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--ll-muted);
    font-size: 0.88rem;
}

.ll-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ll-upload-box {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
    gap: 18px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: #f8fafc;
}

.ll-upload-box--profile {
    align-items: center;
    margin-bottom: 22px;
}

.ll-upload-preview {
    overflow: hidden;
    border-radius: 22px;
    min-height: 220px;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.ll-upload-preview--cover {
    aspect-ratio: 16 / 9;
}

.ll-upload-preview--avatar {
    width: min(100%, 220px);
    min-height: auto;
    aspect-ratio: 1;
    justify-self: center;
    border-radius: 30px;
}

.ll-upload-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ll-input[type="file"] {
    padding: 10px 14px;
}

.ll-input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    cursor: pointer;
}

.ll-input[type="file"]::file-selector-button:hover {
    background: #f8fafc;
}

.ll-default-cover-selector {
    margin-top: 18px;
}

.ll-cover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.ll-cover-option {
    display: grid;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    color: #334155;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ll-cover-option:hover,
.ll-cover-option:focus-visible,
.ll-cover-option.is-selected {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.58);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.14);
    outline: none;
}

.ll-cover-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    object-fit: cover;
    background: #e2e8f0;
}

.ll-cover-label {
    padding: 0 2px 2px;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 700;
}

.ll-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #334155;
}

.ll-link-button {
    display: inline-flex;
    margin-left: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.ll-scrolltop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 36;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.94);
    color: #fff;
    cursor: pointer;
    font: inherit;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ll-scrolltop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ll-stack-sm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ll-btn-block {
    width: 100%;
}

.ll-editor-textarea {
    font-family: var(--ll-editor-font);
    font-size: 1.04rem;
    line-height: 1.95;
    color: #0f172a;
}

.ll-preview-surface,
.ll-article-body {
    font-family: var(--ll-article-font);
}

.ll-article-cover {
    position: absolute;
    top: 28px;
    right: 28px;
    width: min(320px, 30vw);
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    background: linear-gradient(135deg, #eef4ff 0%, #f8fbff 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
}

.ll-article-cover img[src$="default-cover.svg"] {
    object-fit: contain;
    padding: 20px;
    opacity: 0.92;
    filter: saturate(0.88);
}

.ll-avatar-photo {
    display: block;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
}

.ll-avatar-photo--xl {
    width: 92px;
    height: 92px;
}

.ll-avatar-photo--lg {
    width: 72px;
    height: 72px;
}

.ll-avatar-photo--md {
    width: 56px;
    height: 56px;
    border-radius: 18px;
}

.ll-avatar-photo--sm {
    width: 48px;
    height: 48px;
    border-radius: 16px;
}

.ll-profile-inline {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ll-feed-cover {
    overflow: hidden;
    min-height: 220px;
    margin: -22px -22px 0;
    border-radius: 20px 20px 0 0;
}

.ll-feed-cover--draft {
    min-height: 180px;
    margin: -22px -22px 16px;
    border-radius: 20px;
}

.ll-draft-summary-card {
    margin-top: 24px;
}

.ll-draft-summary-grid {
    margin-top: 18px;
}

.ll-draft-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ll-draft-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ll-draft-card {
    padding: 22px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--ll-shadow);
}

.ll-draft-card--enhanced {
    border: 1px solid rgba(148, 163, 184, 0.14);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ll-draft-card--enhanced:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.ll-draft-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--ll-muted);
    font-size: 0.9rem;
}

.ll-draft-posts-panel {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
}

.ll-draft-import-card {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
}

.ll-draft-guide-card {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.ll-comment-item {
    grid-template-columns: 56px minmax(0, 1fr);
}

.ll-status--warning {
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(254, 243, 199, 0.94));
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.2);
}

.ll-status--warning::before {
    content: "!";
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ll-topbar-wrap,
    .ll-fade {
        animation: none;
    }

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
}

@media (max-width: 1080px) {
    .ll-home-hero,
    .ll-rank-page-hero,
    .ll-content-grid--admin,
    .ll-upload-box,
    .ll-settings-grid,
    .ll-draft-grid,
    .ll-draft-grid--compact {
        grid-template-columns: 1fr;
    }

    .ll-rank-page-hero {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 780px) {
    .ll-upload-preview--avatar {
        width: 180px;
    }

    .ll-section-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .ll-rank-lead-main,
    .ll-admin-queue-head {
        flex-direction: column;
    }

    .ll-admin-meta-list {
        grid-template-columns: 1fr;
    }

    .ll-profile-inline {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .ll-home-copy,
    .ll-home-highlight,
    .ll-rank-page-hero {
        padding: 22px;
    }

    .ll-feed-cover,
    .ll-article-cover,
    .ll-card-media--image {
        min-height: 180px;
    }
}

.ll-header-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ll-header-bell:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.ll-header-bell.has-unread {
    border-color: rgba(37, 99, 235, 0.28);
}

.ll-header-bell svg,
.ll-header-bell svg path {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.ll-header-bell-text {
    font-size: 0.92rem;
    font-weight: 700;
}

.ll-header-bell-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(239, 68, 68, 0.26);
}

.ll-space-hero-v2 {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 3vw, 34px);
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 24%),
        radial-gradient(circle at bottom right, rgba(125, 211, 252, 0.22), transparent 22%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 52%, #38bdf8 100%);
    box-shadow: 0 28px 54px rgba(15, 23, 42, 0.18);
}

.ll-space-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 22px;
    align-items: stretch;
}

.ll-profile-inline--hero {
    align-items: center;
    margin-top: 18px;
}

.ll-space-display-name {
    color: #fff;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.ll-space-handle,
.ll-space-card-handle,
.ll-author-handle,
.ll-comment-handle {
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.9rem;
}

.ll-space-card-handle,
.ll-comment-handle,
.ll-author-handle {
    color: #64748b;
}

.ll-space-hero-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(9, 18, 38, 0.18);
    color: #fff;
    backdrop-filter: blur(16px);
}

.ll-space-panel-label {
    color: rgba(191, 219, 254, 0.92);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ll-space-panel-title {
    margin-top: 18px;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.5;
}

.ll-space-panel-copy {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.78;
}

.ll-hero-glance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.ll-hero-glance-card {
    display: flex;
    min-height: 148px;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(14px);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ll-hero-glance-card span {
    color: rgba(191, 219, 254, 0.92);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ll-hero-glance-card strong {
    color: #fff;
    font-size: 1.02rem;
    line-height: 1.46;
}

.ll-hero-glance-card p {
    margin: 0;
    color: rgba(226, 232, 240, 0.88);
    font-size: 0.92rem;
    line-height: 1.7;
}

.ll-hero-glance-card:hover,
.ll-hero-glance-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(191, 219, 254, 0.28);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.ll-space-overview-card {
    padding: clamp(22px, 2vw, 24px);
    border-radius: 22px;
    border: 1px solid var(--ll-border-strong);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 250, 255, 0.97));
    box-shadow: var(--ll-shadow);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.ll-space-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.ll-space-overview-metric {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--ll-border-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    box-shadow: var(--ll-shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.ll-space-overview-metric strong {
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.7rem;
}

.ll-space-overview-label {
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ll-space-overview-note {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.65;
}

.ll-space-layout {
    margin-top: 34px;
    gap: 34px;
}

.ll-feed,
.ll-side-stack {
    gap: 28px;
}

.ll-space-section-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.ll-space-section-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.ll-space-workbench {
    padding: 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
    box-shadow: var(--ll-shadow);
}

.ll-space-workbench-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.ll-space-workbench-link {
    position: relative;
    display: flex;
    min-height: 180px;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.82);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ll-space-workbench-link:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.ll-space-workbench-kicker {
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ll-space-workbench-link strong {
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.08rem;
    line-height: 1.5;
}

.ll-space-workbench-link span:last-child {
    color: #64748b;
    line-height: 1.7;
}

.ll-space-highlight {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    padding: 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
    box-shadow: var(--ll-shadow);
}

.ll-space-highlight-cover {
    display: block;
    overflow: hidden;
    min-height: 0;
    border-radius: 20px;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.ll-space-highlight-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.ll-space-highlight:hover .ll-space-highlight-cover img {
    transform: scale(1.03);
}

.ll-space-highlight-copy {
    min-width: 0;
}

.ll-space-highlight-copy .ll-feed-title {
    margin-top: 12px;
    font-size: 1.28rem;
    line-height: 1.45;
}

.ll-space-highlight-copy .ll-feed-excerpt {
    margin-top: 12px;
    color: #64748b;
    line-height: 1.8;
}

.ll-space-highlight-copy .ll-link-group {
    margin-top: 16px;
}

.ll-space-highlight-copy .ll-inline-actions {
    margin-top: 18px;
}

.ll-plan-detail-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.ll-plan-detail-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.ll-plan-detail-item-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.ll-plan-detail-item-order {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eff6ff;
    color: #1d4ed8;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.ll-plan-detail-item-copy {
    min-width: 0;
}

.ll-plan-detail-item-title {
    margin: 0;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.05rem;
    line-height: 1.5;
}

.ll-plan-detail-item-title a {
    color: #0f172a;
    text-decoration: none;
}

.ll-plan-detail-item-copy .ll-link-group {
    margin-top: 12px;
}

.ll-plan-detail-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    color: var(--ll-muted);
    font-size: 0.9rem;
}

.ll-settings-hero {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 24%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.18), transparent 22%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 46%, #38bdf8 100%);
}

.ll-content-grid--settings {
    margin-top: 34px;
}

.ll-settings-form-card {
    padding: 30px;
}

.ll-settings-form-card form {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.ll-settings-jump-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ll-settings-jump-link {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--ll-border-strong);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
    box-shadow: var(--ll-shadow-soft);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ll-settings-jump-link span {
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ll-settings-jump-link strong {
    color: #0f172a;
    font-size: 1.04rem;
    line-height: 1.44;
}

.ll-settings-jump-link p {
    margin: 0;
    color: var(--ll-muted);
    font-size: 0.92rem;
    line-height: 1.72;
}

.ll-settings-jump-link:hover,
.ll-settings-jump-link:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.ll-form-section + .ll-form-section {
    margin-top: 34px;
    padding-top: 34px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.ll-form-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.ll-form-section-copy {
    margin: 8px 0 0;
    color: var(--ll-muted);
    line-height: 1.8;
}

.ll-settings-status-card {
    margin-bottom: 20px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
}

.ll-settings-profile-card {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
}

.ll-space-posts-panel {
    padding: 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
    box-shadow: var(--ll-shadow);
}

.ll-space-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.ll-feed-card--space {
    gap: 12px;
    height: 100%;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.ll-feed-card--space:hover {
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.1);
}

.ll-feed-card--space .ll-feed-title {
    font-size: 1.05rem;
    line-height: 1.55;
}

.ll-feed-card--space .ll-feed-excerpt {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.72;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ll-feed-card--space .ll-feed-meta {
    gap: 8px 12px;
    font-size: 0.88rem;
}

.ll-feed-card--space .ll-feed-action {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef4ff;
}

.ll-feed-card--space .ll-tag {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.78rem;
}

.ll-feed-cover--space {
    display: block;
    overflow: hidden;
    min-height: 0;
    aspect-ratio: 16 / 9.2;
    margin: -18px -18px 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.ll-feed-cover--space img {
    transition: transform 0.25s ease;
}

.ll-feed-card--space:hover .ll-feed-cover--space img {
    transform: scale(1.03);
}

.ll-space-feed-head {
    padding: 0 4px;
}

.ll-space-nameplate {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
}

.ll-notice-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
    box-shadow: var(--ll-shadow);
}

.ll-notice-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.ll-notice-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #fff;
    box-shadow: var(--ll-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ll-notice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.ll-notice-card.is-unread {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.08);
}

.ll-notice-body {
    min-width: 0;
}

.ll-notice-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.ll-notice-time {
    margin-left: auto;
    color: var(--ll-muted);
    font-size: 0.9rem;
}

.ll-notice-title {
    display: block;
    margin-top: 12px;
    color: #0f172a;
    font-family: "Bahnschrift", "Trebuchet MS", sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    text-decoration: none;
}

.ll-notice-text {
    margin: 10px 0 0;
    color: var(--ll-muted);
    line-height: 1.75;
}

.ll-notice-summary {
    margin-top: 24px;
    padding: 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
    box-shadow: var(--ll-shadow);
}

.ll-notice-summary-grid {
    margin-top: 18px;
}

.ll-comment-item {
    margin-left: calc(var(--ll-comment-indent, 0) * 24px);
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.96));
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.ll-comment-item.is-reply {
    background: linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
}

.ll-comment-item.is-reply::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 12px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.34), rgba(14, 165, 233, 0.08));
}

.ll-comment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.ll-comment-actions .ll-link-button {
    margin-left: 0;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.04);
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ll-comment-actions .ll-link-button:hover {
    background: #eef4ff;
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-1px);
}

.ll-comment-replying {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 15px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
    color: #1d4ed8;
    line-height: 1.72;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.ll-comment-replying strong {
    display: inline-block;
    margin-right: 8px;
}

.ll-comment-replying-snippet {
    display: inline-block;
    color: #475467;
}

.ll-comment-replying .ll-link-button {
    margin-left: 0;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #1d4ed8;
    text-decoration: none;
}

@media (max-width: 1080px) {
    .ll-plan-list-grid,
    .ll-space-workbench-grid,
    .ll-space-hero-grid,
    .ll-space-overview-grid {
        grid-template-columns: 1fr;
    }

    .ll-glance-grid,
    .ll-hero-glance-grid,
    .ll-settings-jump-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ll-space-highlight {
        grid-template-columns: 1fr;
    }

    .ll-plan-detail-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .ll-plan-detail-item-meta {
        justify-content: flex-start;
    }

    .ll-space-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ll-notice-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .ll-article-body-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ll-admin-user-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .ll-admin-user-stats,
    .ll-admin-password-form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    .ll-space-hero-v2,
    .ll-notice-hero {
        padding: 24px;
    }

    .ll-auth-layout,
    .ll-auth-form-grid,
    .ll-auth-quick-grid,
    .ll-glance-grid,
    .ll-hero-glance-grid,
    .ll-settings-jump-grid {
        grid-template-columns: 1fr;
    }

    .ll-auth-side,
    .ll-auth-card {
        padding: 24px;
    }

    .ll-space-layout {
        margin-top: 24px;
    }

    .ll-space-posts-panel {
        padding: 22px;
    }

    .ll-space-post-grid {
        grid-template-columns: 1fr;
    }

    .ll-space-workbench,
    .ll-space-highlight,
    .ll-notice-summary {
        padding: 22px;
    }

    .ll-plan-detail-roadmap,
    .ll-settings-form-card {
        padding: 22px;
    }

    .ll-comment-item {
        margin-left: calc(var(--ll-comment-indent, 0) * 12px);
    }

    .ll-scrolltop {
        right: 16px;
        bottom: 18px;
    }

    .ll-notice-time {
        margin-left: 0;
    }

    .ll-plan-list-cover {
        aspect-ratio: 16 / 9.6;
    }

    .ll-plan-detail-step {
        grid-template-columns: 1fr;
    }

    .ll-admin-search-box,
    .ll-admin-search-box .ll-inline-form {
        width: 100%;
        justify-content: stretch;
    }

    .ll-admin-search-box .ll-inline-form > * {
        flex: 1 1 100%;
    }

    .ll-admin-password-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .ll-header-bell {
        padding: 0 12px;
    }

    .ll-header-bell-text {
        display: none;
    }

    .ll-space-overview-grid {
        grid-template-columns: 1fr;
    }

    .ll-space-posts-panel {
        padding: 18px;
    }

    .ll-feed-cover--space {
        aspect-ratio: 16 / 9.6;
        margin: -18px -18px 0;
    }

    .ll-notice-card {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   精选 / 置顶标签
   ============================================================ */
.ll-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: .04em;
    white-space: nowrap;
    vertical-align: middle;
}

.ll-tag--featured {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
}

.ll-tag--pinned {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

/* 置顶卡片左侧红色竖线 */
.ll-card--pinned {
    border-left: 3px solid #EF4444;
}

/* 卡片标签行 */
.ll-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

/* Web 端卡片悬停效果 */
.ll-card--browse {
    transition: transform .22s ease, box-shadow .22s ease;
}

.ll-card--browse:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

/* 置顶区块 */
.ll-pinned-section {
    margin-bottom: 2rem;
}

.ll-pinned-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    color: #991B1B;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.ll-pinned-section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: #EF4444;
    border-radius: 2px;
}

/* 精选区块 */
.ll-featured-section {
    margin-bottom: 2rem;
}

.ll-featured-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    color: #92400E;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.ll-featured-section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: #F59E0B;
    border-radius: 2px;
}

/* 管理员文章控制台表格 */
.ll-admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.ll-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.ll-admin-table th,
.ll-admin-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--ll-border, #E2E8F0);
}

.ll-admin-table th {
    font-weight: 600;
    color: var(--ll-muted, #64748B);
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ll-admin-table tr:hover td {
    background: var(--ll-hover, #F8FAFC);
}

.ll-admin-btn {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: opacity .15s;
}

.ll-admin-btn:hover { opacity: .8; }

.ll-admin-btn--pin {
    background: #FEE2E2;
    color: #991B1B;
    border-color: #FCA5A5;
}

.ll-admin-btn--pin.is-active {
    background: #EF4444;
    color: #fff;
    border-color: #EF4444;
}

.ll-admin-btn--feature {
    background: #FEF3C7;
    color: #92400E;
    border-color: #FCD34D;
}

.ll-admin-btn--feature.is-active {
    background: #F59E0B;
    color: #fff;
    border-color: #F59E0B;
}

/* ============================================================
   弹窗 Modal
   ============================================================ */
.ll-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 16px;
}

.ll-modal {
    background: var(--ll-surface, #fff);
    border-radius: 12px;
    padding: 28px 24px 24px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
}

.ll-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ll-muted, #64748B);
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.ll-modal-close:hover { color: var(--ll-text, #0F172A); }

.ll-modal-tags { margin-bottom: 10px; display: flex; gap: 6px; }

.ll-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ll-text, #0F172A);
    margin-bottom: 10px;
    line-height: 1.4;
}

.ll-modal-excerpt {
    font-size: .9rem;
    color: var(--ll-muted, #64748B);
    line-height: 1.6;
    margin-bottom: 12px;
}

.ll-modal-meta {
    display: flex;
    gap: 16px;
    font-size: .8rem;
    color: var(--ll-muted, #64748B);
}

/* 筛选面板（Web 侧边栏） */
.ll-filter-panel {
    background: var(--ll-surface, #fff);
    border: 1px solid var(--ll-border, #E2E8F0);
    border-radius: 8px;
    padding: 16px;
}

.ll-filter-label {
    font-size: .75rem;
    font-weight: 700;
    color: var(--ll-muted, #64748B);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ll-filter-section { margin-bottom: 4px; }

.ll-filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ll-filter-chip {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 500;
    border: 1px solid var(--ll-border, #E2E8F0);
    background: var(--ll-surface, #fff);
    color: var(--ll-text, #0F172A);
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.ll-filter-chip:hover {
    border-color: var(--ll-accent, #3B6FD4);
    color: var(--ll-accent, #3B6FD4);
}

.ll-filter-chip.is-active {
    background: var(--ll-accent, #3B6FD4);
    color: #fff;
    border-color: var(--ll-accent, #3B6FD4);
}

/* Space style customization */
.ll-custom-space {
    min-height: 100vh;
}

.ll-custom-space .ll-space-hero-v2,
.ll-custom-space .ll-space-section-card,
.ll-custom-space .ll-side-card {
    font-family: var(--space-font, inherit);
}

.ll-custom-space .ll-space-hero-v2 {
    border: 1px solid rgba(255, 255, 255, .72);
    background:
            linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(248, 250, 252, .82)),
            radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--space-theme, #2563eb) 18%, transparent), transparent 22rem);
    color: #0f172a;
    backdrop-filter: blur(20px);
}

.ll-custom-space .ll-space-title,
.ll-custom-space .ll-space-display-name {
    color: #0f172a;
}

.ll-custom-space .ll-side-title,
.ll-custom-space .ll-feed-title a {
    color: #111827;
}

.ll-custom-space .ll-space-copy,
.ll-custom-space .ll-space-handle {
    color: #475569;
}

.ll-custom-space .ll-space-hero-panel {
    border-color: rgba(148, 163, 184, .24);
    background: rgba(255, 255, 255, .62);
    color: #0f172a;
}

.ll-custom-space .ll-space-panel-label {
    color: var(--space-theme, var(--ll-accent, #3B6FD4));
}

.ll-custom-space .ll-space-panel-copy {
    color: #475569;
}

.ll-custom-space .ll-space-actions .ll-btn {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .18);
}

.ll-custom-space .ll-space-actions .ll-btn-secondary {
    border-color: rgba(148, 163, 184, .34);
    background: rgba(255, 255, 255, .62);
    color: #1e293b;
}

.ll-custom-space .ll-tag,
.ll-custom-space .ll-meta-pill {
    border-color: color-mix(in srgb, var(--space-theme, #2563eb) 24%, #cbd5e1);
    background: color-mix(in srgb, var(--space-theme, #2563eb) 10%, #ffffff);
    color: #1e40af;
}

.ll-space-signature {
    margin: 14px 0 0;
    color: var(--space-theme, var(--ll-accent, #3B6FD4));
    font-weight: 700;
}

.ll-space-interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.ll-space-interest-tags span {
    border-radius: 999px;
    padding: 6px 12px;
    color: #0f172a;
    border: 1px solid color-mix(in srgb, var(--space-theme, #2563eb) 24%, #cbd5e1);
    background: color-mix(in srgb, var(--space-theme, #2563eb) 12%, #ffffff);
    font-size: .78rem;
    font-weight: 700;
}

.ll-style-page {
    background:
            radial-gradient(circle at 12% 0, rgba(79, 70, 229, .12), transparent 28rem),
            linear-gradient(180deg, #f8fafc, #eef2ff 58%, #f8fafc);
}

.ll-style-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    padding: 34px 0 24px;
}

.ll-style-hero .ll-space-title {
    margin: 8px 0 12px;
}

.ll-style-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ll-style-editor {
    display: grid;
    grid-template-columns: minmax(320px, 430px) 1fr;
    gap: 24px;
    align-items: start;
    padding-bottom: 48px;
}

.ll-style-panel,
.ll-style-preview {
    border: 1px solid rgba(148, 163, 184, .28);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

.ll-style-panel {
    border-radius: 16px;
    padding: 22px;
}

.ll-style-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ll-style-panel-head h2 {
    margin: 0;
    font-size: 1.15rem;
}

.ll-style-panel-head p {
    color: var(--ll-muted, #64748B);
    margin: 4px 0 0;
    line-height: 1.5;
}

.ll-style-status {
    min-width: 120px;
    color: var(--ll-muted, #64748B);
    font-size: .82rem;
    text-align: right;
}

.ll-style-status[data-type="success"] { color: #15803d; }
.ll-style-status[data-type="error"] { color: #dc2626; }

.ll-style-section {
    padding: 18px 0;
    border-top: 1px solid rgba(148, 163, 184, .22);
}

.ll-style-section h3 {
    margin: 0 0 12px;
    font-size: .92rem;
}

.ll-style-section label {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--ll-text, #0F172A);
    font-size: .85rem;
    font-weight: 700;
}

.ll-style-template-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ll-style-template-grid button,
.ll-style-mini-action,
.ll-style-tag,
.ll-style-version {
    border: 1px solid rgba(148, 163, 184, .34);
    background: #fff;
    color: var(--ll-text, #0F172A);
    border-radius: 10px;
    cursor: pointer;
}

.ll-style-template-grid button {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-weight: 700;
}

.ll-style-template-grid button span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.ll-style-template-grid button.is-active {
    border-color: var(--ll-accent, #3B6FD4);
    box-shadow: 0 0 0 3px rgba(59, 111, 212, .14);
}

.ll-style-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ll-style-field-grid input[type="color"] {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(148, 163, 184, .42);
    border-radius: 8px;
    background: #fff;
}

.ll-style-upload {
    border: 1px dashed rgba(59, 111, 212, .48);
    border-radius: 12px;
    padding: 14px;
    background: rgba(59, 111, 212, .06);
}

.ll-style-mini-action {
    height: 36px;
    padding: 0 12px;
}

.ll-style-tag-list,
.ll-style-preview-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ll-style-tag {
    padding: 6px 10px;
    font-size: .8rem;
}

.ll-style-version-list {
    display: grid;
    gap: 8px;
}

.ll-style-version {
    text-align: left;
    padding: 10px 12px;
}

.ll-style-version strong,
.ll-style-version span {
    display: block;
}

.ll-style-version span {
    color: var(--ll-muted, #64748B);
    margin-top: 4px;
    font-size: .78rem;
}

.ll-style-empty {
    color: var(--ll-muted, #64748B);
    font-size: .85rem;
    line-height: 1.6;
}

.ll-style-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, .22);
}

.ll-style-preview {
    min-height: 680px;
    border-radius: 18px;
    padding: 44px;
    background-size: cover;
    background-position: center;
    transition: background .2s ease, color .2s ease;
}

.ll-style-preview-card {
    max-width: 720px;
    padding: 34px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, .16);
}

.ll-style-preview-card h2 {
    margin: 24px 0 10px;
    color: var(--space-theme, #4f46e5);
}

.ll-style-signature {
    color: var(--space-theme, #4f46e5);
    font-weight: 800;
}

.ll-style-profile {
    color: #475569;
    line-height: 1.8;
}

.ll-style-preview-tags span {
    color: #fff;
    background: var(--space-theme, #4f46e5);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .8rem;
    font-weight: 700;
}

.ll-style-preview-metrics {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.ll-style-preview-metrics span {
    border: 1px solid rgba(148, 163, 184, .34);
    border-radius: 999px;
    padding: 8px 14px;
    color: #334155;
    background: #fff;
}

@media (max-width: 980px) {
    .ll-style-hero {
        display: block;
    }

    .ll-style-editor {
        grid-template-columns: 1fr;
    }

    .ll-style-preview {
        min-height: 520px;
        padding: 24px;
    }
}

/* CSDN-like composing surface */
.ll-compose-page {
    height: 100vh;
    margin: 0;
    overflow: hidden;
    background: #f4f5f7;
    color: #111827;
}

.ll-compose-form {
    height: 100vh;
    display: grid;
    grid-template-rows: 56px 58px minmax(0, 1fr) 64px;
}

.ll-compose-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #edf0f3;
}

.ll-compose-brand,
.ll-compose-user,
.ll-compose-actions,
.ll-compose-counts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ll-compose-logo {
    color: #fc5531;
    font-size: 1.55rem;
    font-weight: 800;
    text-decoration: none;
}

.ll-compose-back {
    color: #111827;
    text-decoration: none;
    font-size: 1.8rem;
    line-height: 1;
}

.ll-compose-topbar strong {
    font-size: 1.2rem;
    font-weight: 600;
}

.ll-compose-top-select {
    height: 34px;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
}

.ll-compose-user a {
    color: #111827;
    text-decoration: none;
    font-size: .95rem;
}

.ll-compose-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 132px;
    background: #f6f7f9;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
}

.ll-compose-toolbar button {
    width: 92px;
    height: 50px;
    display: grid;
    place-items: center;
    gap: 2px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
}

.ll-compose-toolbar button:hover {
    background: #eef0f3;
    color: #111827;
}

.ll-compose-toolbar strong {
    font-size: 1.05rem;
    line-height: 1;
}

.ll-compose-toolbar span {
    font-size: .76rem;
    white-space: nowrap;
}

.ll-compose-toolbar-divider {
    width: 1px;
    height: 36px;
    margin: 0 8px;
    background: #d7dbe2;
}

.ll-compose-main {
    min-height: 0;
    display: grid;
    grid-template-columns: 280px minmax(720px, 1100px);
    justify-content: center;
    gap: 28px;
    padding: 28px 20px 0;
    overflow: auto;
}

.ll-compose-outline {
    height: calc(100vh - 178px);
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}

.ll-compose-panel-head {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #eceff3;
    color: #111827;
}

.ll-compose-panel-head button {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
}

.ll-compose-outline-list {
    padding: 20px;
}

.ll-compose-outline-empty {
    min-height: 420px;
    display: grid;
    place-items: center;
    color: #4b5563;
    text-align: center;
}

.ll-compose-outline-link {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    color: #374151;
    padding: 8px 0;
    cursor: pointer;
}

.ll-compose-outline-link.level-2 { padding-left: 12px; }
.ll-compose-outline-link.level-3 { padding-left: 24px; color: #6b7280; }

.ll-compose-paper {
    position: relative;
    min-height: calc(100vh - 178px);
    background: #fff;
    padding: 40px 80px 56px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}

.ll-compose-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.ll-compose-title-input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #111827;
    font-size: 1.72rem;
    font-weight: 800;
    line-height: 1.4;
}

.ll-compose-title-input::placeholder {
    color: #a3a9b4;
}

.ll-compose-title-help {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111827;
    font-size: .88rem;
}

.ll-compose-title-line {
    height: 1px;
    margin: 28px 0 34px;
    background: #e5e7eb;
}

.ll-compose-placeholder {
    display: grid;
    gap: 14px;
    color: #b4bac4;
    font-size: 1rem;
    pointer-events: none;
}

.ll-compose-placeholder strong {
    font-size: 1.05rem;
}

.ll-compose-placeholder span::before {
    content: "• ";
}

.ll-compose-textarea {
    width: 100%;
    min-height: 560px;
    margin-top: 18px;
    border: 0;
    outline: 0;
    resize: none;
    color: #111827;
    background: transparent;
    font-family: var(--ll-editor-font, "Inter", system-ui, sans-serif);
    font-size: 1.02rem;
    line-height: 1.9;
}

.ll-compose-ai {
    width: 130px;
    align-self: start;
    margin-top: 2px;
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .1);
}

.ll-compose-ai strong {
    color: #111827;
}

.ll-compose-ai button {
    border: 0;
    background: transparent;
    color: #111827;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
}

.ll-compose-settings {
    position: fixed;
    left: 360px;
    right: 360px;
    bottom: 82px;
    z-index: 20;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
}

.ll-compose-settings-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ll-compose-settings label {
    display: grid;
    gap: 8px;
    color: #374151;
    font-size: .84rem;
    font-weight: 700;
}

.ll-compose-checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.ll-compose-cover-grid {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    overflow-x: auto;
}

.ll-compose-cover-option {
    width: 126px;
    flex: 0 0 auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
    cursor: pointer;
}

.ll-compose-cover-option.is-selected {
    border-color: #fc5531;
    box-shadow: 0 0 0 3px rgba(252, 85, 49, .12);
}

.ll-compose-cover-option img {
    width: 100%;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
}

.ll-compose-cover-option span {
    display: block;
    margin-top: 4px;
    color: #4b5563;
    font-size: .78rem;
}

.ll-compose-bottombar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 394px 0 382px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.ll-compose-counts {
    color: #111827;
}

.ll-compose-counts button,
.ll-compose-secondary,
.ll-compose-primary {
    height: 50px;
    border-radius: 8px;
    padding: 0 22px;
    font-weight: 800;
    cursor: pointer;
}

.ll-compose-counts button {
    border: 0;
    background: transparent;
}

.ll-compose-secondary {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
}

.ll-compose-primary {
    border: 0;
    background: #fc5531;
    color: #fff;
}

.is-outline-collapsed .ll-compose-main {
    grid-template-columns: 0 minmax(680px, 1020px) 1fr;
}

.is-outline-collapsed .ll-compose-outline {
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.is-compose-wide .ll-compose-main {
    grid-template-columns: 0 minmax(900px, 1180px) 0;
    justify-content: center;
}

.is-compose-wide .ll-compose-outline,
.is-compose-wide .ll-compose-ai {
    display: none;
}

@media (max-width: 1200px) {
    .ll-compose-toolbar {
        padding: 0 16px;
    }

    .ll-compose-main {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 20px;
    }

    .ll-compose-ai {
        display: none;
    }

    .ll-compose-bottombar {
        padding: 0 24px;
    }

    .ll-compose-settings {
        left: 24px;
        right: 24px;
    }
}

.ll-compose-placeholder {
    position: absolute;
    top: 154px;
    left: 80px;
    right: 80px;
    z-index: 0;
}

.ll-compose-placeholder span::before {
    content: "\2022  ";
}

.ll-compose-textarea {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 350px);
    margin-top: 0;
}

.ll-compose-settings,
.ll-compose-preview {
    position: fixed;
    top: 144px;
    right: 24px;
    bottom: 76px;
    left: auto;
    z-index: 20;
    width: min(560px, calc(100vw - 48px));
    overflow: auto;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
}

.ll-compose-settings-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    color: #111827;
}

.ll-compose-settings-head button {
    height: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    cursor: pointer;
}

.ll-compose-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ll-compose-cover-option {
    width: 112px;
}

.ll-compose-cover-option img {
    height: 48px;
}

.ll-compose-preview-body {
    color: #334155;
    line-height: 1.85;
}

.ll-compose-preview-body img {
    max-width: 100%;
    height: auto;
}

.ll-compose-preview-empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    color: #94a3b8;
}

.ll-compose-bottombar {
    padding: 0 24px;
}

.is-outline-collapsed .ll-compose-main {
    grid-template-columns: 0 minmax(720px, 1100px);
}

.is-compose-wide .ll-compose-main {
    grid-template-columns: minmax(900px, 1180px);
}

.is-compose-wide .ll-compose-outline {
    display: none;
}

@media (max-width: 1200px) {
    .ll-compose-settings,
    .ll-compose-preview {
        right: 16px;
        width: min(520px, calc(100vw - 32px));
    }
}

/* Compose layout final pass: keep editor text inside the white paper. */
.ll-compose-page {
    height: 100vh;
    overflow: hidden;
    background: #f4f5f7;
}

.ll-compose-form {
    height: 100vh;
    display: grid;
    grid-template-rows: 56px 58px minmax(0, 1fr) 64px;
}

.ll-compose-toolbar {
    min-height: 0;
    padding: 0 132px;
}

.ll-compose-main {
    min-height: 0;
    height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1040px);
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    padding: 24px 24px 16px;
    background: #f4f5f7;
}

.ll-compose-outline {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ll-compose-outline-list {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.ll-compose-outline-empty {
    min-height: 0;
    height: 100%;
}

.ll-compose-paper {
    height: auto;
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    padding: 36px 72px 24px;
    background: #fff;
}

.ll-compose-title-row,
.ll-compose-title-line {
    flex: 0 0 auto;
}

.ll-compose-textarea {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
    margin: 0;
    padding: 0;
    background: #fff;
}

.ll-compose-placeholder,
.ll-compose-ai {
    display: none !important;
}

.ll-compose-bottombar {
    height: 64px;
    box-sizing: border-box;
    padding: 0 24px;
    position: relative;
    z-index: 30;
}

.is-outline-collapsed .ll-compose-main {
    grid-template-columns: 0 minmax(0, 1040px);
}

.is-outline-collapsed .ll-compose-outline {
    display: none;
}

.is-compose-wide .ll-compose-main {
    grid-template-columns: minmax(0, 1160px);
}

.is-compose-wide .ll-compose-outline {
    display: none;
}

@media (max-width: 1080px) {
    .ll-compose-toolbar {
        padding: 0 16px;
    }

    .ll-compose-main {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }

    .ll-compose-outline {
        display: none;
    }

    .ll-compose-paper {
        padding: 28px 32px 20px;
    }
}

.ll-compose-preview-surface {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow: auto;
    color: #1f2937;
    background: #fff;
    font-family: var(--ll-editor-font, "Inter", system-ui, sans-serif);
    font-size: 1.02rem;
    line-height: 1.9;
}

.ll-compose-preview-surface[hidden],
.ll-compose-textarea[hidden] {
    display: none !important;
}

.ll-compose-preview-surface h1,
.ll-compose-preview-surface h2,
.ll-compose-preview-surface h3 {
    scroll-margin-top: 24px;
    color: #111827;
    line-height: 1.45;
}

.ll-compose-preview-surface h1 {
    font-size: 1.9rem;
}

.ll-compose-preview-surface h2 {
    margin-top: 1.8em;
    font-size: 1.5rem;
}

.ll-compose-preview-surface h3 {
    margin-top: 1.4em;
    font-size: 1.25rem;
}

.ll-compose-preview-surface p,
.ll-compose-preview-surface ul,
.ll-compose-preview-surface ol,
.ll-compose-preview-surface blockquote,
.ll-compose-preview-surface pre {
    margin: 0 0 1.1em;
}

.ll-compose-preview-surface img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.ll-compose-preview-surface blockquote {
    padding: 10px 16px;
    border-left: 4px solid #ff5630;
    background: #fff7ed;
    color: #4b5563;
}

.ll-compose-preview-surface pre {
    overflow: auto;
    padding: 14px 16px;
    border-radius: 8px;
    background: #0f172a;
    color: #e5e7eb;
}

.ll-compose-outline-link.is-active {
    color: #ff4d2e;
    font-weight: 700;
}

.is-compose-previewing .ll-compose-paper {
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03), inset 0 0 0 1px rgba(255, 77, 46, .08);
}
