html, body {
    min-height: 100%;
    margin: 0;
    overflow-x: clip;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom left, #000000, #121212);
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
}

body.auth-page {
    height: 100vh;
    overflow: hidden;
}

.page {
    min-height: 100vh;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
}

.top-header {
    height: 80px;
    margin: 0 36px 24px;
    padding: 0 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.05),
        rgba(0, 0, 0, 0.2)
    );
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    position: -webkit-sticky;
    position: sticky;
    top: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-brand {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-decoration: none;
    color: inherit;
}

.header-slot {
    flex: 1;
    min-height: 1px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.user-menu {
    position: relative;
}

.user-trigger {
    background: transparent;
    border: none;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 29px);
    right: -28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.05),
        rgba(0, 0, 0, 0.2)
    );
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 20;
}

.user-menu:focus-within .user-dropdown,
.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    width: 160px;
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.user-nickname {
    white-space: nowrap;
}

.footer-telegram {
    margin-top: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    gap: 10px;
}

.footer-telegram a,
.footer-telegram a:visited,
.footer-telegram a:hover,
.footer-telegram a:active {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.content {
    min-height: calc(100vh - 158px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.email-warning {
    margin: 0 36px 16px;
    padding: 12px 16px;
    border: 1px solid #171a1f;
    border-radius: 12px;
    background: rgba(255, 160, 0, 0.08);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.email-warning a {
    color: #d3ffe8;
}

.home-content {
    min-height: calc(100vh - 158px);
    align-items: center;
    justify-content: flex-start;
    padding: 4px 24px 0;
    flex-direction: column;
    gap: 16px;
}

.profile-main {
    align-items: stretch;
}

.ban-content {
    justify-content: center !important;
    align-items: center !important;
}

.ban-card {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.22),
        rgba(255, 255, 255, 0.08),
        rgba(0, 0, 0, 0.25)
    );
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer {
    margin-top: 24px;
    margin-left: 0;
    margin-right: 0;
    padding: 16px 36px 20px;
    border: 1px solid #171a1f;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.footer-col-left {
    text-align: center;
    padding: 0 12px;
}

.footer-col-right {
    display: grid;
    gap: 8px;
    text-align: center;
    justify-items: center;
    padding: 0 12px;
}

.footer-col-right a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-col-right a:hover {
    text-decoration: underline;
}

.profile-card {
    margin: 0 50px;
    width: calc(100% - 100px);
    position: relative;
    z-index: 1;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.05),
        rgba(0, 0, 0, 0.2)
    );
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    padding: 24px;
    box-sizing: border-box;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.profile-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.avatar-menu {
    position: relative;
}

.avatar-trigger {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.avatar-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    padding: 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.05),
        rgba(0, 0, 0, 0.2)
    );
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1200;
    min-width: 260px;
}

.avatar-menu:focus-within .avatar-dropdown,
.avatar-menu:hover .avatar-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.avatar-form {
    display: grid;
    gap: 12px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #171a1f;
    background: rgba(0, 0, 0, 0.25);
}

.form-shell {
    width: min(440px, calc(100% - 48px));
    border-radius: 30px;
    border: 1px solid #171a1f;
    background: -webkit-linear-gradient(90deg, #000000, #444444);
    background: linear-gradient(90deg, #000000, #444444);
    padding: 28px;
    box-sizing: border-box;
}

.auth-stack {
    width: min(440px, calc(100% - 48px));
    display: grid;
    gap: 12px;
}

.auth-stack .form-shell {
    width: 100%;
}

.error-shell {
    width: 100%;
    border-radius: 30px;
    border: 1px solid #962c23;
    background: -webkit-linear-gradient(90deg, #ff0000, #000000);
    background: linear-gradient(90deg, #ff0000, #000000);
    padding: 16px 20px;
    box-sizing: border-box;
    color: #ffffff;
    font-weight: 600;
}

.form-title {
    margin: 0 0 18px;
    font-size: 26px;
    font-weight: 700;
}

.hero-text {
    margin: 0;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.hero-word {
    background: linear-gradient(90deg, #aea4e3, #d3ffe8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.profile-info .hero-text {
    text-align: left;
    display: block;
    max-width: 100%;
}

.profile-uid {
    margin: 6px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.profile-form {
    display: grid;
    gap: 12px;
    max-width: 420px;
}

.profile-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.profile-edit {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #171a1f;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
}

.profile-telegram {
    margin-left: 0;
}

.profile-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.profile-data {
    display: grid;
    gap: 10px;
}

.profile-bottom-row {
    margin: 16px 50px 0;
    width: calc(100% - 100px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.profile-data-card {
    margin-top: 16px;
    margin-left: 50px;
    margin-right: 50px;
    width: calc(100% - 100px);
    z-index: 0;
}

.subscriptions-card {
    margin: 0;
    width: 100%;
    height: 420px;
    display: grid;
    justify-self: start;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px;
    overflow: hidden;
}

.subscriptions-title {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    text-transform: lowercase;
}

.subscriptions-list {
    display: grid;
    gap: 12px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
    align-content: start;
    grid-auto-rows: min-content;
}

.subscriptions-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.subscriptions-list::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.subscription-item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 60px;
    height: 60px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #171a1f;
    background: linear-gradient(90deg, #101010, #1b1b1b);
}

.subscription-status {
    width: 56px;
    height: 46px;
    border-radius: 4px;
    border: 1px solid #171a1f;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscription-status img {
    max-width: 44px;
    max-height: 30px;
    object-fit: contain;
}

.subscription-body {
    min-width: 0;
}

.subscription-open {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #171a1f;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: linear-gradient(90deg, #0f0f0f, #1f1f1f);
}

.subscription-open:hover {
    filter: brightness(1.1);
}

.subscription-name {
    color: #f2f2f2;
    font-size: 17px;
    line-height: 1.05;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subscription-expire {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.1;
}

.subscription-empty {
    border-radius: 10px;
    border: 1px solid #171a1f;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    padding: 14px;
    text-align: center;
}

.game-review-card {
    margin: 0;
    width: 100%;
    height: 420px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 12px;
}

.game-review-grid {
    min-height: 0;
    overflow-y: auto;
    display: grid;
    gap: 8px;
    align-content: start;
    padding-right: 4px;
}

.game-review-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.game-review-grid::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.game-review-line {
    border: 1px solid #171a1f;
    border-radius: 10px;
    background: linear-gradient(90deg, #101010, #1b1b1b);
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.35;
    word-break: break-word;
}

.game-review-line span {
    color: rgba(255, 255, 255, 0.6);
}

.game-status-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    text-transform: lowercase;
}

.game-status-btn-disabled {
    border: 1px solid #3b3b3b;
    background: linear-gradient(90deg, #1d1d1d, #272727);
    color: rgba(255, 255, 255, 0.75);
    cursor: not-allowed;
}

.game-empty {
    align-self: start;
}

.danger-zone-card {
    margin: 16px 50px 0;
    width: calc(100% - 100px);
}

.danger-zone-title {
    margin: 0 0 12px;
    font-size: 38px;
    font-weight: 700;
    text-transform: lowercase;
}

.danger-zone-info {
    margin-bottom: 10px;
    border: 1px solid #2c7c2f;
    border-radius: 10px;
    background: rgba(24, 103, 28, 0.25);
    padding: 10px 12px;
    color: #d9ffd9;
}

.danger-zone-error {
    margin-bottom: 10px;
    border: 1px solid #962c23;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff0000, #000000);
    padding: 10px 12px;
    color: #ffffff;
}

.danger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.danger-label {
    font-size: 30px;
    line-height: 1.1;
    text-transform: lowercase;
}

.danger-btn {
    border: 1px solid #7f1e1e;
    background-image: linear-gradient(90deg, #8b0000 0%, #ff4d4d 100%);
    color: #ffffff;
    border-radius: 10px;
    min-width: 126px;
    height: 42px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    text-transform: lowercase;
    box-shadow: 0 8px 20px rgba(130, 15, 15, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.danger-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 10px 24px rgba(160, 25, 25, 0.45);
    transform: translateY(-1px);
}

.danger-confirm-form {
    margin: 0 0 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 10px;
}

.danger-cancel-form {
    margin: -4px 0 14px;
    display: flex;
    justify-content: center;
}

.danger-cancel-btn {
    min-width: 140px;
}

.profile-data-row {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.profile-data-row-form {
    grid-template-columns: 240px minmax(0, 1fr) auto;
}

.profile-data-label {
    min-height: 42px;
    border-radius: 999px;
    border: 1px solid #171a1f;
    background: #000000;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 22px;
    line-height: 1;
}

.profile-data-value {
    min-height: 42px;
    border-radius: 999px;
    border: 1px solid #171a1f;
    background: linear-gradient(90deg, #2b2b2b, #111111);
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 22px;
    line-height: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-data-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    min-width: 130px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 22px;
    line-height: 1;
    text-transform: lowercase;
    text-decoration: none;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin-top: 30px;
}

.free-mods-text {
    margin: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(16px, 2.1vw, 24px);
    font-weight: 600;
}

.hero-btn {
    text-transform: lowercase;
    width: 350px;
    text-align: center;
}


.form-grid {
    display: grid;
    gap: 12px;
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.resend-form {
    display: flex;
    justify-content: center;
}

.input-new {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #171a1f;
    padding: 12px 14px;
    box-sizing: border-box;
    color: #ffffff;
    background: -webkit-linear-gradient(90deg, #000000, #575757);
    background: linear-gradient(90deg, #000000, #575757);
}

.input-new::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.btn-new {
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #111111;
    border-radius: 10px;
    background-image: linear-gradient(to right, #000000 0%, #1a1a1a 51%, #000000 100%);
    border: 1px solid #171a1f;
    padding: 12px 14px;
    cursor: pointer;
    font-weight: 600;
}

.btn-new:hover {
    background-position: right center;
}

.hero-actions .btn-new:nth-child(2) {
    background-image: linear-gradient(to left, #000000 0%, #1a1a1a 51%, #000000 100%);
    background-position: right center;
}

.hero-actions .btn-new:nth-child(2):hover {
    background-position: left center;
}

@media (max-width: 768px) {
    .page {
        padding-top: 12px;
    }

    .top-header {
        margin: 0 12px 16px;
        padding: 0 14px;
        min-height: 68px;
        height: auto;
        gap: 10px;
        position: sticky;
        top: 12px;
        z-index: 20;
    }

    .header-brand {
        font-size: 18px;
        min-width: 0;
    }

    .header-slot {
        min-width: 0;
        gap: 6px;
    }

    .user-trigger {
        gap: 8px;
        padding: 4px 6px;
        min-width: 0;
    }

    .user-avatar {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .user-nickname {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-dropdown {
        right: 0;
        top: calc(100% + 12px);
    }

    .content,
    .home-content {
        min-height: auto;
        padding: 0 12px;
    }

    .profile-card {
        margin: 0 12px;
        width: calc(100% - 24px);
        padding: 16px;
    }

    .profile-bottom-row {
        margin: 12px 12px 0;
        width: calc(100% - 24px);
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .subscriptions-card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .profile-data-card {
        width: calc(100% - 24px);
        margin-left: 12px;
        margin-right: 12px;
    }

    .danger-zone-card {
        margin: 12px 12px 0;
        width: calc(100% - 24px);
    }

    .danger-zone-title {
        font-size: 30px;
    }

    .danger-label {
        font-size: 24px;
    }

    .danger-confirm-form {
        grid-template-columns: 1fr;
    }

    .profile-header {
        gap: 12px;
        flex-wrap: wrap;
    }

    .profile-avatar {
        width: 60px;
        height: 60px;
    }

    .profile-avatar-placeholder {
        font-size: 24px;
    }

    .profile-info {
        min-width: 0;
        flex: 1;
    }

    .profile-info .hero-text {
        font-size: clamp(20px, 6vw, 30px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .profile-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .profile-data-row,
    .profile-data-row-form {
        grid-template-columns: 1fr;
    }

    .profile-data-label,
    .profile-data-value {
        min-height: 38px;
        font-size: 18px;
    }

    .profile-data-btn {
        min-width: 100%;
        font-size: 18px;
    }

    .subscriptions-title {
        font-size: 30px;
    }

    .subscription-item {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        padding: 8px;
        min-height: 60px;
        height: 60px;
    }

    .subscription-status {
        width: 64px;
        height: 50px;
    }

    .subscription-status img {
        max-width: 52px;
        max-height: 34px;
    }

    .subscription-name {
        font-size: 16px;
    }

    .subscription-expire {
        font-size: 14px;
    }

    .subscription-open {
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .hero-actions {
        width: 100%;
        gap: 10px;
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: min(350px, 100%);
    }

    .site-footer {
        padding: 16px 12px 20px;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer-col-right,
    .footer-col-left {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .top-header {
        margin: 0 8px 12px;
        padding: 0 10px;
        min-height: 60px;
        border-radius: 18px;
        position: sticky;
        top: 8px;
        z-index: 20;
    }

    .header-brand {
        font-size: 16px;
        letter-spacing: 0.2px;
    }

    .nav-link {
        padding: 6px 9px;
        font-size: 12px;
    }

    .user-trigger {
        padding: 3px 4px;
        gap: 6px;
    }

    .user-avatar {
        width: 20px;
        height: 20px;
    }

    .user-avatar-placeholder {
        font-size: 11px;
    }

    .user-nickname {
        max-width: 72px;
        font-size: 13px;
    }

    .user-dropdown {
        padding: 12px;
        border-radius: 18px;
    }

    .user-btn {
        width: 132px;
        font-size: 13px;
    }

    .content,
    .home-content {
        padding: 0 8px;
    }

    .profile-card {
        margin: 0 8px;
        width: calc(100% - 16px);
        border-radius: 18px;
        padding: 12px;
    }

    .profile-bottom-row {
        margin: 8px 8px 0;
        width: calc(100% - 16px);
        gap: 8px;
    }

    .subscriptions-card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .profile-data-card {
        width: calc(100% - 16px);
        margin-left: 8px;
        margin-right: 8px;
    }

    .danger-zone-card {
        margin: 8px 8px 0;
        width: calc(100% - 16px);
    }

    .danger-zone-title {
        font-size: 24px;
    }

    .danger-label {
        font-size: 18px;
    }

    .danger-btn {
        min-width: 92px;
        height: 34px;
        font-size: 14px;
    }

    .profile-header {
        gap: 10px;
    }

    .profile-avatar {
        width: 48px;
        height: 48px;
    }

    .profile-avatar-placeholder {
        font-size: 20px;
    }

    .profile-info .hero-text {
        font-size: 28px;
        white-space: normal;
        word-break: break-word;
        line-height: 1.05;
    }

    .profile-uid {
        font-size: 12px;
    }

    .profile-edit {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .profile-actions {
        gap: 8px;
    }

    .profile-data {
        gap: 8px;
    }

    .profile-data-label,
    .profile-data-value {
        min-height: 34px;
        padding: 0 14px;
        font-size: 16px;
    }

    .profile-data-btn {
        min-height: 34px;
        font-size: 16px;
    }

    .subscriptions-title {
        font-size: 24px;
    }

    .subscription-item {
        grid-template-columns: 56px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 8px;
        min-height: 60px;
        height: 60px;
    }

    .subscription-status {
        width: 56px;
        height: 44px;
    }

    .subscription-status img {
        max-width: 44px;
        max-height: 30px;
    }

    .subscription-name {
        font-size: 15px;
    }

    .subscription-expire {
        font-size: 13px;
    }

    .subscription-open {
        width: 30px;
        height: 30px;
        font-size: 22px;
    }

    .hero-text {
        font-size: clamp(18px, 6vw, 24px);
    }

    .hero-btn {
        width: min(300px, 100%);
    }

    .form-shell,
    .auth-stack {
        width: calc(100% - 16px);
    }

    .form-title {
        font-size: 22px;
    }

    .btn-new {
        padding: 10px 12px;
        font-size: 14px;
    }

    .site-footer {
        padding: 12px 8px 16px;
        font-size: 12px;
    }

    .footer-telegram {
        font-size: 16px;
    }
}


