.vweb-session-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 138px;
    min-height: 38px;
    padding: 0 13px;
    overflow: hidden;
    border: 1px solid rgba(164, 193, 255, 0.16);
    border-radius: 999px;
    color: rgba(238, 244, 255, 0.74);
    background: rgba(255, 255, 255, 0.045);
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vweb-account-logged-in .vweb-session-pill {
    border-color: rgba(118, 226, 189, 0.28);
    color: #dffdf2;
    background: rgba(118, 226, 189, 0.08);
}

.vweb-account-live {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    color: var(--vweb-green);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.vweb-account [hidden] {
    display: none !important;
}

.vweb-account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: stretch;
}

.vweb-account-card,
.vweb-character-card,
.vweb-character-list-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(164, 193, 255, 0.16);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(115, 167, 255, 0.11), rgba(240, 201, 122, 0.04)),
        rgba(8, 12, 22, 0.78);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

.vweb-account-card {
    min-height: 350px;
    padding: 28px;
}

.vweb-account-card--ready {
    background:
        radial-gradient(circle at 15% 10%, rgba(118, 226, 189, 0.15), transparent 36%),
        linear-gradient(145deg, rgba(115, 167, 255, 0.10), rgba(240, 201, 122, 0.045)),
        rgba(8, 12, 22, 0.80);
}

.vweb-account-card__halo {
    position: absolute;
    right: -70px;
    top: -70px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(240, 201, 122, 0.18);
    border-radius: 78px;
    transform: rotate(22deg);
    background: radial-gradient(circle, rgba(240, 201, 122, 0.09), transparent 68%);
}

.vweb-account-card__head {
    position: relative;
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
}

.vweb-account-card__head span,
.vweb-character-list-head span {
    color: var(--vweb-gold-strong);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.vweb-account-card__head strong {
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.vweb-account-card__head em {
    color: var(--vweb-muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.vweb-account-card p {
    position: relative;
    max-width: 520px;
    margin: 0 0 26px;
    color: #aab5ca;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.7;
}

.vweb-account-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.vweb-account-actions .vweb-btn {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.vweb-account-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 24px;
}

.vweb-account-stats div {
    min-height: 82px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.18);
}

.vweb-account-stats span,
.vweb-character-metrics span {
    display: block;
    color: var(--vweb-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vweb-account-stats strong {
    display: block;
    margin-top: 9px;
    color: #fff;
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.vweb-character-card {
    min-height: 350px;
    padding: 28px;
    background:
        radial-gradient(circle at 70% 14%, rgba(115, 167, 255, 0.17), transparent 32%),
        linear-gradient(145deg, rgba(240, 201, 122, 0.08), rgba(115, 167, 255, 0.055)),
        rgba(8, 12, 22, 0.80);
}

.vweb-character-card__empty {
    min-height: 286px;
    display: grid;
    align-content: center;
    gap: 12px;
}

.vweb-character-card__empty span {
    color: var(--vweb-gold-strong);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.14em;
}

.vweb-character-card__empty strong {
    color: #fff;
    font-size: clamp(25px, 2.8vw, 38px);
    letter-spacing: -0.06em;
}

.vweb-character-card__empty p {
    max-width: 420px;
    margin: 0 0 8px;
    color: var(--vweb-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
}

.vweb-character-card__ready {
    display: grid;
    gap: 22px;
}

.vweb-character-emblem {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border: 1px solid rgba(240, 201, 122, 0.36);
    border-radius: 26px;
    color: var(--vweb-gold-strong);
    background:
        radial-gradient(circle at 50% 35%, rgba(240, 201, 122, 0.18), transparent 62%),
        rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 0 28px rgba(240, 201, 122, 0.08), 0 16px 40px rgba(0, 0, 0, 0.24);
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.vweb-character-main {
    display: grid;
    gap: 6px;
}

.vweb-character-main span {
    color: var(--vweb-gold-strong);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vweb-character-main strong {
    color: #fff;
    font-size: clamp(30px, 3.4vw, 48px);
    line-height: 1;
    letter-spacing: -0.07em;
}

.vweb-character-main em {
    color: var(--vweb-muted);
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
}

.vweb-character-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.vweb-character-metrics div {
    min-height: 86px;
    padding: 15px;
    border: 1px solid rgba(164, 193, 255, 0.13);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.18);
}

.vweb-character-metrics strong {
    display: block;
    margin-top: 9px;
    color: #fff;
    font-size: clamp(21px, 2.3vw, 32px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.vweb-equipment-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 36px;
}

.vweb-equipment-chip,
.vweb-equipment-empty {
    display: inline-flex;
    max-width: 100%;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    overflow: hidden;
    border: 1px solid rgba(240, 201, 122, 0.18);
    border-radius: 999px;
    color: #e9d4a5;
    background: rgba(240, 201, 122, 0.065);
    font-size: 12px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vweb-equipment-empty {
    color: var(--vweb-muted);
    border-color: rgba(164, 193, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.vweb-character-list-wrap {
    margin-top: 18px;
    padding: 22px;
}

.vweb-character-list-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 14px;
}

.vweb-character-list-head strong {
    color: #fff;
    font-size: 20px;
    letter-spacing: -0.04em;
}

.vweb-character-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.vweb-character-mini,
.vweb-character-list__empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 86px;
    padding: 14px;
    border: 1px solid rgba(164, 193, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.vweb-character-mini.is-primary {
    border-color: rgba(240, 201, 122, 0.22);
    background: rgba(240, 201, 122, 0.065);
}

.vweb-character-mini__emblem {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(240, 201, 122, 0.26);
    border-radius: 14px;
    color: var(--vweb-gold-strong);
    background: rgba(0, 0, 0, 0.18);
    font-size: 13px;
    font-weight: 950;
}

.vweb-character-mini__main {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.vweb-character-mini__main strong {
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vweb-character-mini__main em {
    overflow: hidden;
    color: var(--vweb-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vweb-character-mini__power {
    color: var(--vweb-gold-strong);
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.vweb-character-list__empty {
    grid-template-columns: 1fr;
    color: var(--vweb-muted);
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 1120px) {
    .vweb-session-pill {
        display: none;
    }

    .vweb-account-layout {
        grid-template-columns: 1fr;
    }

    .vweb-character-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .vweb-account-live {
        display: block;
        margin: 8px 0 0;
        white-space: normal;
    }

    .vweb-account-card,
    .vweb-character-card,
    .vweb-character-list-wrap {
        border-radius: 22px;
    }

    .vweb-account-card,
    .vweb-character-card {
        min-height: auto;
        padding: 22px;
    }

    .vweb-account-stats,
    .vweb-character-metrics,
    .vweb-character-list {
        grid-template-columns: 1fr;
    }

    .vweb-character-mini {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .vweb-character-mini__power {
        grid-column: 2;
    }
}
