/* Community / Profile hub — left sidebar + content */

.vl-community-page {
    min-height: 100vh;
}

.vl-hub {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.75rem;
    max-width: 1760px;
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 3rem;
    align-items: start;
    box-sizing: border-box;
}

.vl-hub__side {
    position: sticky;
    top: calc(var(--vl-chrome-h, 4.25rem) + 0.85rem);
    padding: 0.85rem 0.7rem;
    border-radius: 18px;
    border: var(--vl-panel-border, 1px solid rgba(var(--vl-accent-rgb), 0.22));
    background: var(--vl-panel-bg, linear-gradient(160deg, var(--vl-surface) 0%, var(--vl-surface-dark) 100%));
    backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    -webkit-backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    box-shadow: var(--vl-panel-shadow, 0 12px 28px rgba(0, 0, 0, 0.28));
}

.vl-hub__side-block + .vl-hub__side-block {
    margin-top: 0.55rem;
    padding-top: 0;
    border-top: 0;
}

.vl-hub__side-label {
    margin: 0 0 0.45rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* Collapsible side categories (profile + admin) */
.vl-hub__side-block--fold {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--vl-surface-muted, rgba(0, 0, 0, 0.22));
    overflow: hidden;
}

.vl-hub__side-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0.7rem 0.8rem;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-family: "Onest", system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: left;
}

.vl-hub__side-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.vl-hub__side-caret {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.vl-hub__side-block--fold.is-open > .vl-hub__side-toggle .vl-hub__side-caret {
    transform: rotate(180deg);
}

.vl-hub__side-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.2s ease;
    padding: 0 0.35rem;
}

.vl-hub__side-body-inner {
    overflow: hidden;
    min-height: 0;
}

.vl-hub__side-block--fold.is-open > .vl-hub__side-body {
    grid-template-rows: 1fr;
}

.vl-hub__side-block--fold.is-open > .vl-hub__side-body > .vl-hub__side-body-inner {
    padding-bottom: 0.45rem;
}

.vl-hub__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vl-hub__link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    opacity: 0.85;
}

.vl-hub__link:hover {
    color: #fff;
    background: rgba(var(--vl-accent-rgb), 0.12);
    text-decoration: none;
}

.vl-hub__link.is-active {
    color: #fff;
    background: rgba(var(--vl-accent-rgb), 0.2);
    border-color: rgba(var(--vl-accent-light-rgb), 0.4);
}

.vl-hub__main {
    min-width: 0;
    text-align: left;
}

.vl-hub__head {
    margin: 0 0 1.15rem;
}

.vl-hub__head--bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vl-hub__head--bar .vl-admin__menu-btn {
    flex: 0 0 auto;
}

.vl-hub__head h1 {
    margin: 0 0 0.3rem;
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
}

.vl-hub__head--bar h1 {
    margin: 0;
}

.vl-hub__head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
}

.vl-hub__back {
    margin: 0 0 0.85rem;
}

.vl-hub__back a {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 650;
    text-decoration: none;
}

.vl-hub__back a:hover {
    color: var(--vl-green-light, #14cf00);
}

.vl-hub__card {
    padding: 1rem 1.1rem;
    margin: 0 0 0.85rem;
    border-radius: 16px;
    border: var(--vl-panel-border, 1px solid rgba(var(--vl-accent-rgb), 0.22));
    background: var(--vl-panel-bg, linear-gradient(160deg, var(--vl-surface) 0%, var(--vl-surface-dark) 100%));
    backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    -webkit-backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    box-shadow: var(--vl-panel-shadow, 0 12px 28px rgba(0, 0, 0, 0.28));
}

.vl-hub__card--profile {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.vl-hub__profile-main {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.vl-hub__profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    margin-left: auto;
    flex: 0 1 auto;
    max-width: 100%;
}

@media (max-width: 720px) {
    .vl-hub__card--profile {
        flex-wrap: wrap;
    }

    .vl-hub__profile-actions {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

.vl-hub__avatar {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.vl-hub__profile-meta h2 {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
}

.vl-hub__status {
    margin: 0.4rem 0 0;
    color: rgba(255, 255, 255, 0.65);
}

.vl-hub__card--section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vl-hub__section-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
}

.vl-hub__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.vl-hub__stats strong {
    color: var(--vl-green-light, #14cf00);
}

.vl-hub__profile-meta .vl-hub__status {
    margin: 0.15rem 0 0.55rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    line-height: 1.35;
}

.vl-hub__profile-meta .vl-hub__badges {
    margin-top: 0.15rem;
}

.vl-hub__profile-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem;
    margin: 0 0 1rem;
}

.vl-hub__ptile {
    border-radius: var(--adm-radius, 14px);
    border: var(--vl-panel-border, 1px solid rgba(var(--vl-accent-rgb), 0.22));
    background: var(--vl-panel-bg, rgba(8, 14, 12, 0.72));
    backdrop-filter: var(--vl-panel-blur, blur(14px));
    -webkit-backdrop-filter: var(--vl-panel-blur, blur(14px));
    box-shadow: var(--vl-panel-shadow, 0 10px 28px rgba(0, 0, 0, 0.35));
    padding: 0.95rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.vl-hub__ptile-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vl-hub__ptile-icon svg {
    width: 22px;
    height: 22px;
}

.vl-hub__ptile-icon--green {
    background: rgba(var(--vl-accent-rgb), 0.18);
    color: var(--vl-green-light, #14cf00);
}

.vl-hub__ptile-icon--orange {
    background: rgba(255, 140, 66, 0.18);
    color: #ff8c42;
}

.vl-hub__ptile-icon--blue {
    background: rgba(0, 188, 212, 0.18);
    color: #00bcd4;
}

.vl-hub__ptile-icon--gold {
    background: rgba(255, 193, 7, 0.18);
    color: #ffc107;
}

.vl-hub__ptile-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1 1 auto;
}

.vl-hub__ptile-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.vl-hub__ptile-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.vl-hub__ptile-meta {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.vl-hub__badge {
    display: inline-flex;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(var(--vl-accent-rgb), 0.18);
    border: 1px solid rgba(var(--vl-accent-rgb), 0.35);
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
}

.vl-hub__badge--muted {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}

.vl-hub__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
}

.vl-hub__badge.vl-season-badge {
    border: 1px solid transparent;
}

.vl-hub__badge.vl-season-badge.is-dim {
    opacity: 0.72;
    filter: saturate(0.85);
}

.vl-hub__badge.vl-season-badge--rainbow {
    background: linear-gradient(135deg, #ff6b6b55, #fbbf2455, #4ade8055, #60a5fa55, #c084fc55) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    background-size: 200% 200%;
    animation: vl-badge-rainbow 3.2s ease infinite;
}

@keyframes vl-badge-rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.vl-hub__empty {
    margin: 0;
    padding: 1.35rem 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.vl-hub__icon-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.vl-hub__icon-btn svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.vl-hub__comment-form {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0;
}

.vl-hub__comment-form .vl-hub__icon-btn {
    align-self: flex-start;
}

.vl-hub__comment-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.vl-hub__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.vl-hub__search {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 420px;
}

.vl-hub__search .form-control {
    flex: 1 1 auto;
    min-width: 0;
    height: 2.75rem;
    margin: 0;
    box-sizing: border-box;
}

.vl-hub__card textarea.form-control,
.vl-hub__card textarea.form-control:focus,
.vl-lft textarea.form-control,
.vl-lft textarea.form-control:focus {
    background: var(--vl-field-bg, rgba(0, 0, 0, 0.35));
    color: var(--vl-field-color, #fff);
    border-color: var(--vl-field-border, rgba(var(--vl-accent-rgb), 0.18));
}

.vl-hub__search .btn,
.vl-hub__search .vl-btn {
    flex: 0 0 auto;
    height: 2.75rem;
    margin: 0;
    padding: 0 1.1rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
}

.vl-hub__news-list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.vl-hub__titles {
    width: 100%;
}

.vl-hub__panel-body {
    min-width: 0;
}

.vl-hub__panel-body > .card,
.vl-hub__panel-body > .vl-form-card {
    margin: 0 0 1rem;
    max-width: none;
}

.vl-hub__panel-body > .card:last-child,
.vl-hub__panel-body > .vl-form-card:last-child {
    margin-bottom: 0;
}

.vl-hub__link .vl-admin__nav-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    opacity: 0.85;
}

.vl-hub__link.is-active .vl-admin__nav-icon {
    opacity: 1;
}

/* ── Titles (community / profile) ── */

.vl-title-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.35rem;
}

.vl-title-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--vl-surface-muted, rgba(0, 0, 0, 0.25));
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none !important;
    font-size: 0.86rem;
    font-weight: 700;
    font-family: "Onest", system-ui, sans-serif;
    box-sizing: border-box;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.vl-title-tabs a:hover {
    border-color: rgba(var(--vl-accent-light-rgb), 0.45);
    color: #fff;
    background: rgba(var(--vl-accent-rgb), 0.12);
    transform: translateY(-1px);
}

.vl-title-tabs a.is-active {
    color: #fff;
    background: rgba(var(--vl-accent-rgb), 0.22);
    border-color: rgba(var(--vl-accent-light-rgb), 0.5);
    box-shadow: 0 6px 18px rgba(var(--vl-accent-rgb), 0.18);
}

.vl-title-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.vl-title-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 14px;
    border: var(--vl-panel-border, 1px solid rgba(var(--vl-accent-rgb), 0.22));
    background: var(--vl-panel-bg, linear-gradient(160deg, var(--vl-surface) 0%, var(--vl-surface-dark) 100%));
    backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    -webkit-backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    box-shadow: var(--vl-panel-shadow, 0 12px 28px rgba(0, 0, 0, 0.28));
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.vl-title-card:hover {
    border-color: rgba(var(--vl-accent-light-rgb), 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32), 0 0 24px rgba(var(--vl-accent-rgb), 0.12);
    transform: translateY(-2px);
}

.vl-title-card__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    padding: 1.25rem 0.85rem 0;
    background:
        radial-gradient(ellipse 70% 45% at 50% 100%, rgba(var(--vl-accent-rgb), 0.2) 0%, transparent 62%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.36) 100%);
    overflow: visible;
}

.vl-title-card__nameplate {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.45em;
    max-width: calc(100% - 0.5rem);
    padding: 0.42em 0.75em;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.78);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
    font-family: "Press Start 2P", "Courier New", monospace;
    font-size: 10px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
}

.vl-title-card__prefix {
    display: inline-block;
    flex: 0 0 auto;
    max-width: none;
    overflow: visible;
    white-space: nowrap;
    vertical-align: baseline;
}

.vl-title-card__nick {
    display: inline-block;
    flex: 1 1 auto;
    min-width: 2.2rem;
    max-width: 6.5rem;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.95;
}

.vl-title-card__skin-wrap {
    position: relative;
    z-index: 1;
    width: 96px;
    height: 88px;
    overflow: hidden;
    margin-bottom: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.vl-title-card__skin {
    display: block;
    width: 96px;
    height: 192px;
    object-fit: contain;
    object-position: top center;
    image-rendering: pixelated;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4));
}

/* legacy aliases */
.vl-title-card__plate,
.vl-title-card__player {
    display: contents;
}

.vl-title-card__foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.85rem 0.95rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vl-title-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.vl-title-card__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.vl-title-card__status {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0.18rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(var(--vl-accent-rgb), 0.3);
    background: rgba(var(--vl-accent-rgb), 0.14);
    color: var(--vl-green-light, #14cf00);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vl-title-card__status.is-rejected,
.vl-title-card__status.is-archived {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.65);
}

.vl-title-card__status.is-accepted {
    border-color: rgba(var(--vl-accent-light-rgb), 0.45);
    background: rgba(var(--vl-accent-rgb), 0.22);
}

.vl-title-card__meta {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    white-space: nowrap;
}

.vl-title-card__info .vl-title-card__meta {
    padding-left: 0.1rem;
}

.vl-title-card__votes {
    display: flex;
    gap: 0.45rem;
    width: 100%;
}

.vl-title-card__votes form {
    margin: 0;
    flex: 1 1 0;
    min-width: 0;
}

.vl-title-vote {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 2.55rem;
    padding: 0.5rem 0.7rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--vl-surface-muted, rgba(0, 0, 0, 0.25));
    color: #fff;
    font-family: "Onest", system-ui, sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.vl-title-vote svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.vl-title-vote:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--vl-accent-light-rgb), 0.45);
    background: rgba(var(--vl-accent-rgb), 0.14);
}

.vl-title-vote.is-like.is-active {
    background: rgba(var(--vl-accent-rgb), 0.28);
    border-color: rgba(var(--vl-accent-light-rgb), 0.55);
    box-shadow: 0 6px 16px rgba(var(--vl-accent-rgb), 0.22);
    color: #fff;
}

.vl-title-vote.is-dislike.is-active {
    background: rgba(198, 40, 40, 0.3);
    border-color: rgba(239, 83, 80, 0.55);
    box-shadow: 0 6px 16px rgba(198, 40, 40, 0.22);
}

.vl-title-vote:disabled,
span.vl-title-vote {
    opacity: 0.85;
    cursor: default;
    transform: none;
}

.vl-title-card__delete {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(239, 83, 80, 0.4);
    background: rgba(198, 40, 40, 0.16);
    color: #ffcdd2;
    font-family: "Onest", system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.vl-title-card__delete:hover {
    background: rgba(198, 40, 40, 0.3);
    border-color: rgba(239, 83, 80, 0.65);
}

.vl-title-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.86rem;
    font-weight: 600;
}

.vl-title-pager a {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.35rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(var(--vl-accent-rgb), 0.3);
    background: rgba(var(--vl-accent-rgb), 0.12);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
}

.vl-title-pager a:hover {
    background: rgba(var(--vl-accent-rgb), 0.22);
}

/* Propose editor + live preview */
.vl-title-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 900px) {
    .vl-title-layout { grid-template-columns: 1fr; }
}

.vl-title-editor {
    padding: 1.15rem 1.2rem 1.25rem;
    border-radius: 18px;
    border: var(--vl-panel-border, 1px solid rgba(var(--vl-accent-rgb), 0.22));
    background: var(--vl-panel-bg, linear-gradient(160deg, var(--vl-surface) 0%, var(--vl-surface-dark) 100%));
    backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    -webkit-backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    box-shadow: var(--vl-panel-shadow, 0 12px 28px rgba(0, 0, 0, 0.28));
}

.vl-title-editor .form-group { margin-bottom: 1rem; }
.vl-title-editor label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.vl-title-editor .form-control {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--vl-surface-input, rgba(0, 0, 0, 0.35));
    color: #fff;
    min-height: 2.75rem;
}

.vl-title-editor .form-control:focus {
    border-color: rgba(var(--vl-accent-light-rgb), 0.5);
    box-shadow: 0 0 0 3px rgba(var(--vl-accent-rgb), 0.18);
    outline: none;
}

.vl-title-editor .text-muted,
.vl-title-editor small {
    color: rgba(255, 255, 255, 0.48) !important;
    font-size: 0.8rem;
}

.vl-title-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.vl-title-modes label {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    margin: 0 !important;
    padding: 0.55rem 0.85rem;
    min-height: 2.45rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--vl-surface-muted, rgba(0, 0, 0, 0.25));
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vl-title-modes input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vl-title-modes label:has(input:checked),
.vl-title-modes label.is-active {
    background: rgba(var(--vl-accent-rgb), 0.22);
    border-color: rgba(var(--vl-accent-light-rgb), 0.5);
    color: #fff;
    box-shadow: 0 6px 16px rgba(var(--vl-accent-rgb), 0.18);
}

.vl-title-char-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-height: 2rem;
}

.vl-title-char-colors label {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin: 0 !important;
    padding: 0.35rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: rgba(255, 255, 255, 0.7);
}

.vl-title-char-colors input[type="color"],
.vl-title-grad input[type="color"],
.vl-title-editor input[type="color"] {
    width: 42px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.vl-title-grad {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.vl-title-grad label {
    margin: 0 !important;
    font-size: 0.8rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.75);
}

.vl-title-editor .vl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 2.85rem;
    margin-top: 0.35rem;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    font-family: "Onest", system-ui, sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
}

.vl-title-preview-card {
    position: sticky;
    top: calc(var(--vl-chrome-h, 4.25rem) + 0.85rem);
    padding: 1rem 1rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(var(--vl-accent-rgb), 0.24);
    background:
        radial-gradient(ellipse 90% 55% at 50% 100%, rgba(var(--vl-accent-rgb), 0.22) 0%, transparent 58%),
        linear-gradient(180deg, rgba(10, 16, 12, 0.96) 0%, rgba(6, 10, 8, 0.98) 100%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
    overflow: hidden;
}

.vl-title-preview-card__hint {
    margin: 0 0 1rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(var(--vl-accent-light-rgb), 0.85);
}

.vl-mc-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    min-height: 200px;
    margin: 0 auto;
    padding: 0.5rem 0.4rem 0;
    box-sizing: border-box;
}

.vl-mc-stage::before {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 0;
    height: 28%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(var(--vl-accent-rgb), 0.22) 0%, transparent 72%);
    filter: blur(6px);
    pointer-events: none;
}

.vl-mc-nameplate {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.5em;
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 0.5em 0.85em;
    background: rgba(0, 0, 0, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 3px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    overflow: hidden;
    font-family: "Press Start 2P", "Courier New", monospace;
    font-size: 12px;
    line-height: 1.5;
}

.vl-mc-nameplate__title {
    display: inline-block;
    flex: 0 0 auto;
    overflow: visible;
    white-space: nowrap;
}

.vl-mc-nameplate__nick {
    display: inline-block;
    flex: 1 1 auto;
    min-width: 2.5rem;
    max-width: 8rem;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vl-mc-skin-wrap {
    position: relative;
    z-index: 1;
    width: 148px;
    height: 130px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
}

.vl-mc-body {
    display: block;
    width: 148px;
    height: 296px;
    object-fit: contain;
    object-position: top center;
    image-rendering: pixelated;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.vl-titles-empty,
.vl-hub .vl-empty-history {
    text-align: center;
    padding: 2.75rem 1.25rem;
    border-radius: 18px;
    border: var(--vl-panel-border, 1px solid rgba(var(--vl-accent-rgb), 0.22));
    background: var(--vl-panel-bg, linear-gradient(160deg, var(--vl-surface) 0%, var(--vl-surface-dark) 100%));
    backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    -webkit-backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    box-shadow: var(--vl-panel-shadow, 0 12px 28px rgba(0, 0, 0, 0.28));
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

/* Inside an existing card — plain text, no nested empty panel */
.vl-hub .card .vl-empty-history,
.vl-hub .vl-form-card .vl-empty-history,
.vl-hub .vl-cab-panel .vl-empty-history,
.vl-admin .card .vl-empty-history,
.vl-admin .vl-form-card .vl-empty-history {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: left;
    font-weight: 600;
    color: var(--adm-text-muted, rgba(255, 255, 255, 0.55));
}

.vl-titles-note {
    margin: 0 0 1.15rem;
    padding: 0.95rem 1.05rem;
    border-radius: 14px;
    border: var(--vl-panel-border, 1px solid rgba(var(--vl-accent-rgb), 0.22));
    background: var(--vl-panel-bg, linear-gradient(160deg, var(--vl-surface) 0%, var(--vl-surface-dark) 100%));
    backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    -webkit-backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.45;
}

.vl-titles-note a {
    color: var(--vl-green-light, #14cf00);
    font-weight: 700;
    text-decoration: none;
}

.vl-titles-note a:hover {
    text-decoration: underline;
}

.vl-title-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    border: 1px solid rgba(var(--vl-accent-light-rgb), 0.45);
    background: rgba(var(--vl-accent-rgb), 0.22);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.vl-hub__grid {
    display: grid;
    gap: 0.55rem;
}

.vl-hub__grid--titles {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.vl-hub__row,
.vl-hub__tile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    border: var(--vl-panel-border, 1px solid rgba(var(--vl-accent-rgb), 0.22));
    background: var(--vl-panel-bg, linear-gradient(160deg, var(--vl-surface) 0%, var(--vl-surface-dark) 100%));
    backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    -webkit-backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    box-shadow: var(--vl-panel-shadow, 0 12px 28px rgba(0, 0, 0, 0.28));
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.vl-hub__row:hover {
    border-color: rgba(var(--vl-accent-light-rgb), 0.5);
    background-image: linear-gradient(rgba(var(--vl-accent-rgb), 0.16), rgba(var(--vl-accent-rgb), 0.16));
    transform: translateY(-1px);
    color: inherit;
    text-decoration: none;
}

.vl-hub__row img {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vl-hub__row-body,
.vl-hub__tile {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.vl-hub__tile {
    align-items: flex-start;
}

.vl-hub__row-body em,
.vl-hub__tile span {
    font-style: normal;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.vl-hub__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 54px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35) center / cover no-repeat;
}

.vl-hub__thumb.is-empty {
    background: linear-gradient(135deg, rgba(var(--vl-accent-rgb), 0.2), rgba(0, 0, 0, 0.4));
}

.vl-hub__sub {
    margin: 1.25rem 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.vl-hub__comment {
    padding: 0.75rem 0.9rem;
    margin: 0 0 0.45rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.16);
}

.vl-hub__comment a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.vl-hub__comment small {
    margin-left: 0.35rem;
    color: rgba(255, 255, 255, 0.4);
}

.vl-hub__comment div {
    margin-top: 0.35rem;
    white-space: pre-wrap;
}

.vl-hub .form-hint a {
    color: var(--vl-green-light, #14cf00);
}

.vl-hub__main .vl-form-card,
.vl-hub__main .card.vl-form-card {
    margin: 0;
    width: 100%;
    max-width: none;
}

.vl-hub__main .vl-title-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.vl-hub__reviews {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.vl-hub__review-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.vl-hub__review-head > div {
    flex: 1;
    min-width: 0;
}

.vl-hub__review-mod {
    margin: 0 0 0 auto;
    flex: 0 0 auto;
}

.vl-hub__review-mod .vl-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    min-height: 0;
    height: auto;
}

.vl-hub__review-head img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    image-rendering: pixelated;
}

.vl-hub__review-head strong {
    display: block;
    font-size: 0.95rem;
}

.vl-hub__review-head small {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
}

.vl-hub__review-stars {
    color: #ffd54f;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.vl-hub__review p {
    margin: 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.vl-community-page .vl-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.15rem;
}

.vl-community-page .vl-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vl-community-page .vl-stars label {
    cursor: pointer;
    font-size: 1.55rem;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
}

.vl-community-page .vl-stars input:checked ~ label,
.vl-community-page .vl-stars label:hover,
.vl-community-page .vl-stars label:hover ~ label {
    color: #ffd54f;
}

.vl-hub__inline-form {
    display: inline;
    margin: 0;
}

.vl-hub__rep-label {
    font-style: normal;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.vl-lft__create {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.vl-lft__label {
    display: block;
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}

.vl-lft__create .vl-dropdown,
.vl-lft__create select.vl-select {
    margin-bottom: 0.35rem;
    z-index: 1;
}

.vl-lft__create .vl-dropdown.is-open {
    z-index: 40;
}

.vl-lft__table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: var(--vl-panel-border, 1px solid rgba(var(--vl-accent-rgb), 0.22));
    background: var(--vl-panel-bg, linear-gradient(160deg, var(--vl-surface) 0%, var(--vl-surface-dark) 100%));
    backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    -webkit-backdrop-filter: var(--vl-panel-blur, blur(16px) saturate(1.12));
    box-shadow: var(--vl-panel-shadow, 0 12px 28px rgba(0, 0, 0, 0.28));
}

.vl-lft__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.vl-lft__table th,
.vl-lft__table td {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    vertical-align: middle;
}

.vl-lft__table th {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(0, 0, 0, 0.18);
}

.vl-lft__table tr:last-child td {
    border-bottom: none;
}

.vl-lft__table td a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.vl-lft__table td a:hover {
    color: var(--vl-green-light, #14cf00);
}

.vl-lft__skin {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    vertical-align: middle;
    margin-right: 0.45rem;
    image-rendering: pixelated;
    border: 1px solid rgba(var(--vl-accent-rgb), 0.3);
}

.vl-lft__reason {
    color: rgba(255, 255, 255, 0.7);
    max-width: 22rem;
}

.vl-lft__table td.vl-lft__empty,
.vl-lft__empty {
    text-align: center !important;
    color: rgba(255, 255, 255, 0.45);
    padding: 2rem 1rem !important;
    font-weight: 600;
}

.vl-lft__detail-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.vl-lft__detail-head h1 {
    margin: 0;
    font-size: 1.35rem;
}

.vl-lft__face img {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.vl-lft__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.vl-lft__body {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    white-space: pre-wrap;
}

.vl-lft__close {
    margin-top: 0.85rem;
}

.vl-lft__thread {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.vl-lft__msg {
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
}

.vl-lft__msg.is-mine {
    border-color: rgba(var(--vl-accent-rgb), 0.28);
    background: rgba(var(--vl-accent-rgb), 0.1);
}

.vl-lft__msg a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.vl-lft__msg small {
    margin-left: 0.35rem;
    color: rgba(255, 255, 255, 0.4);
}

.vl-lft__msg div {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}

.vl-lft__composer {
    margin-top: 0.35rem;
}

@media (max-width: 860px) {
    .vl-hub {
        grid-template-columns: 1fr;
    }

    .vl-hub__side {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.85rem;
        align-items: flex-start;
    }

    .vl-hub__side-block {
        flex: 1 1 160px;
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
    }
}
