.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-divider {
    position: relative;
}

.card-divider::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid var(--vt-color-border);
    pointer-events: none;
}

.vt-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    inline-size: 100%;
    block-size: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 9999px;
    border: 3px solid rgba(148, 163, 184, 0.35);
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.92), rgba(7, 13, 26, 0.9));
    color: var(--vt-color-text-secondary);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(1.25rem, 0.42 * min(12vw, 7rem), 2.75rem);
    box-shadow: inset 0 0 24px rgba(4, 9, 20, 0.45);
    text-shadow: 0 2px 8px rgba(2, 6, 23, 0.45);
}

.vt-admin-shell .vt-avatar-placeholder {
    inline-size: 3.25rem;
    block-size: 3.25rem;
    font-size: 1.1rem;
    border-width: 2px;
    box-shadow: inset 0 0 18px rgba(4, 9, 20, 0.35);
}

.vt-avatar-upload {
    inline-size: 6rem;
    block-size: 6rem;
}

@media (min-width: 640px) {
    .vt-avatar-upload {
        inline-size: 7rem;
        block-size: 7rem;
    }
}

.vt-admin-shell .vt-avatar-upload {
    inline-size: 3.5rem;
    block-size: 3.5rem;
}

@media (min-width: 640px) {
    .vt-admin-shell .vt-avatar-upload {
        inline-size: 3.75rem;
        block-size: 3.75rem;
    }
}

.vt-avatar-upload__image {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    border-radius: 9999px;
    border: 2px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 36px -28px rgba(2, 6, 23, 0.6);
}

.vt-admin-shell .vt-avatar-upload__image {
    padding: 0.15rem;
    object-fit: contain;
    border-width: 2px;
}

.vt-avatar-upload__remove {
    display: inline-flex;
    align-items: center;
    gap: var(--vt-space-2);
    margin-top: var(--vt-space-3);
}

.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem;
    border-radius: 1.75rem;
    border: 1px solid var(--vt-color-border);
    background: linear-gradient(130deg, rgba(15, 23, 42, 0.9), rgba(7, 13, 26, 0.9));
    box-shadow: 0 18px 42px -28px rgba(2, 6, 23, 0.6);
}

.stat-card__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 600;
    color: var(--vt-color-accent);
}

.stat-card__value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--vt-color-heading);
    line-height: 1.1;
}

.stat-card__value--small {
    font-size: 1.125rem;
    font-weight: 600;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: var(--vt-color-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.highlight-card {
    position: relative;
    border-radius: 1.75rem;
    background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 55%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.14), transparent 50%),
        rgba(9, 15, 27, 0.9);
}

.highlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(96, 165, 250, 0.28);
    pointer-events: none;
}

.filter-glass {
    border: 1px solid var(--vt-color-border);
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.9), rgba(9, 15, 27, 0.9) 55%, rgba(6, 12, 24, 0.88));
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px -30px rgba(2, 6, 23, 0.55);
    position: relative;
    isolation: isolate;
    z-index: 0;
    border-radius: var(--vt-radius-xl);
    padding: var(--vt-space-6);
}

.filter-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(96, 165, 250, 0.25);
    pointer-events: none;
    z-index: -1;
}

.filter-glass > * {
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .filter-glass {
        padding: var(--vt-space-7);
    }
}

.input-glass {
    background: rgba(15, 23, 42, 0.75);
    border-color: var(--vt-color-border);
    box-shadow: inset 0 0 0 1px rgba(71, 85, 105, 0.4);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.input-glass:focus {
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
    background: rgba(37, 99, 235, 0.12);
    outline: none;
}

.ghost-button {
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: var(--vt-color-accent);
    background: rgba(37, 99, 235, 0.12);
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.ghost-button:hover,
.ghost-button:focus {
    border-color: rgba(96, 165, 250, 0.45);
    color: var(--vt-color-accent);
    background: rgba(37, 99, 235, 0.2);
}

.chip-pill {
    border-radius: 9999px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(59, 130, 246, 0.18));
    box-shadow: 0 14px 34px -28px rgba(96, 165, 250, 0.45);
}

.chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: var(--vt-color-accent);
    box-shadow: inset 0 0 12px rgba(96, 165, 250, 0.28);
}

.type-pill {
    border-radius: 9999px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(59, 130, 246, 0.16));
    box-shadow: 0 14px 32px -24px rgba(96, 165, 250, 0.4);
    display: inline-flex;
    align-items: center;
    gap: var(--vt-space-2);
    padding: 0.45rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--vt-color-accent);
}

.accent-cta {
    position: relative;
    border: 1px solid rgba(96, 165, 250, 0.35);
    box-shadow: 0 20px 48px -28px rgba(96, 165, 250, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accent-cta:hover,
.accent-cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 28px 70px -32px rgba(96, 165, 250, 0.55);
    outline: none;
}

.neon-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 1.75rem;
    border: 1px solid var(--vt-color-border);
    background: linear-gradient(145deg, rgba(9, 15, 27, 0.95), rgba(15, 23, 42, 0.92) 50%, rgba(6, 12, 24, 0.9));
    box-shadow: 0 24px 64px -36px rgba(2, 6, 23, 0.6);
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.neon-panel::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.32), rgba(129, 140, 248, 0.2));
    opacity: 0.35;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.neon-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 120% at 0% 0%, rgba(96, 165, 250, 0.18), transparent 55%),
        radial-gradient(120% 120% at 100% 100%, rgba(148, 163, 255, 0.18), transparent 60%);
    opacity: 0.45;
    z-index: 0;
    transition: opacity 0.35s ease;
}

.neon-panel > * {
    position: relative;
    z-index: 1;
}

.neon-panel__media {
    position: relative;
    display: block;
    overflow: hidden;
    border-bottom: 1px solid rgba(96, 165, 250, 0.18);
}

.neon-panel__image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.neon-panel:hover .neon-panel__image,
.neon-panel:focus-within .neon-panel__image {
    transform: scale(1.05);
}

.neon-panel__content {
    display: flex;
    flex-direction: column;
    gap: var(--vt-space-4);
    padding: var(--vt-space-6);
    height: 100%;
}

.neon-panel__header {
    display: flex;
    flex-direction: column;
    gap: var(--vt-space-3);
}

.neon-panel__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--vt-color-heading);
    transition: color var(--vt-transition);
}

.neon-panel__title a {
    color: inherit;
}

.neon-panel__title a:hover,
.neon-panel__title a:focus-visible {
    color: var(--vt-color-accent);
}

.neon-panel__excerpt {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--vt-color-text-secondary);
}

.neon-panel__meta {
    margin-top: auto;
    padding-top: var(--vt-space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--vt-space-4);
    flex-wrap: wrap;
    border-top: 1px solid var(--vt-color-border);
    font-size: 0.85rem;
    color: var(--vt-color-text-muted);
}

.neon-panel__author {
    color: var(--vt-color-text-secondary);
    font-weight: 600;
    transition: color var(--vt-transition);
}

.neon-panel__author:hover,
.neon-panel__author:focus-visible {
    color: var(--vt-color-accent);
}

.neon-panel__date {
    color: var(--vt-color-text-muted);
}

.neon-panel:hover,
.neon-panel:focus-within {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.35);
    box-shadow: 0 36px 96px -44px rgba(96, 165, 250, 0.45);
}

.neon-panel:hover::before,
.neon-panel:focus-within::before {
    opacity: 0.55;
}

.neon-panel:hover::after,
.neon-panel:focus-within::after {
    opacity: 0.7;
}

.vt-checkbox {
    appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 0.45rem;
    border: 1px solid var(--vt-color-border);
    background: rgba(15, 23, 42, 0.7);
    display: inline-grid;
    place-content: center;
    transition: border-color var(--vt-transition), background var(--vt-transition), box-shadow var(--vt-transition);
}

.vt-checkbox::after {
    content: '';
    width: 0.35rem;
    height: 0.6rem;
    border-right: 2px solid var(--vt-color-accent-contrast);
    border-bottom: 2px solid var(--vt-color-accent-contrast);
    transform: scale(0) rotate(45deg);
    transform-origin: bottom left;
    transition: transform var(--vt-transition);
}

.vt-checkbox:checked {
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(37, 99, 235, 0.35);
}

.vt-checkbox:checked::after {
    transform: scale(1) rotate(45deg);
}

.vt-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
    border-color: rgba(96, 165, 250, 0.45);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
