.profile-hero-card {
    min-height: 190px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: center;
    margin-bottom: 18px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
        rgba(18, 21, 27, 0.82);
}

.profile-kicker,
.settings-card>span,
.plan-row span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.profile-hero-card h1 {
    margin: 0;
    font-size: clamp(56px, 8vw, 92px);
    line-height: 0.9;
    letter-spacing: -0.09em;
}

.profile-hero-card p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 750;
}

.profile-hero-card aside {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
}

.profile-hero-card aside span {
    display: block;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.profile-hero-card aside strong {
    display: block;
    overflow: hidden;
    font-size: 24px;
    letter-spacing: -0.05em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-hero-card aside small {
    display: block;
    overflow: hidden;
    margin-top: 6px;
    color: var(--muted);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.settings-card {
    min-height: 260px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent),
        rgba(18, 21, 27, 0.82);
}

.settings-card h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.06em;
}

.settings-card p {
    margin: 8px 0 22px;
    color: var(--muted);
    line-height: 1.45;
    font-weight: 750;
}

.settings-card label {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.settings-card input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 14px;
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 15px;
    font-weight: 850;
}

.settings-card input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.settings-card input:focus {
    border-color: rgba(43, 220, 101, 0.5);
}

.settings-button {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-weight: 900;
}

.settings-button.primary {
    border: none;
    background: var(--green);
    color: #031006;
}

.settings-button.danger {
    border-color: rgba(255, 69, 69, 0.45);
    background: rgba(255, 69, 69, 0.14);
    color: var(--red);
}

.plan-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.plan-row div {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
}

.plan-row strong {
    font-size: 22px;
    letter-spacing: -0.05em;
}

.profile-status {
    min-height: 22px;
    margin-top: 16px !important;
    color: var(--blue) !important;
    font-weight: 900 !important;
}

.danger-card {
    box-shadow: inset 0 0 0 1px rgba(255, 69, 69, 0.08);
}

@media (max-width: 980px) {

    .profile-hero-card,
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .profile-hero-card h1 {
        font-size: 64px;
    }
}