body.user-shell {
    display: block !important;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(28, 94, 109, 0.34), transparent 34%),
        radial-gradient(circle at top right, rgba(203, 104, 65, 0.18), transparent 28%),
        linear-gradient(180deg, #081318 0%, #091015 42%, #05080b 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%, 100% 100%;
    background-attachment: fixed;
    color: #edf3f2;
}

body.user-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.035), transparent 0 22%),
        radial-gradient(circle at 78% 24%, rgba(122, 197, 209, 0.06), transparent 0 18%),
        radial-gradient(circle at 50% 70%, rgba(211, 122, 70, 0.05), transparent 0 24%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 0.9;
    z-index: 0;
}

body.user-shell #header,
body.user-shell #bottomContainer {
    position: relative;
    z-index: 1;
}

body.user-shell #header {
    width: 100%;
    background: rgba(5, 12, 16, 0.86);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(145, 200, 210, 0.12);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

body.user-shell #top {
    height: auto;
    min-height: 76px;
    align-items: center;
    gap: 16px;
    padding: 14px 24px 10px;
}

body.user-shell #logo {
    gap: 14px;
    padding-left: 0;
}

body.user-shell #logoImage img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

body.user-shell #siteTitle {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    font-size: 2rem;
    line-height: 1;
}

body.user-shell #siteLink {
    font-size: 2rem;
    letter-spacing: 0.04em;
}

body.user-shell .user-shell-kicker {
    color: rgba(215, 240, 244, 0.78);
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

body.user-shell #profileActions {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
    height: auto;
}

body.user-shell .profileAction {
    margin-right: 0;
    line-height: normal;
}

body.user-shell .profileAction a,
body.user-shell .profileAction button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(147, 199, 208, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fffe;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

body.user-shell .profileAction a:hover,
body.user-shell .profileAction button:hover {
    transform: translateY(-1px);
    background: rgba(147, 199, 208, 0.14);
    border-color: rgba(147, 199, 208, 0.35);
}

body.user-shell .profileAction.user-switch a {
    background: linear-gradient(135deg, rgba(49, 124, 140, 0.92), rgba(217, 118, 77, 0.92));
    border-color: transparent;
}

body.user-shell #categoryContainer {
    padding: 0 24px 18px;
    height: auto;
}

body.user-shell #categoryFader {
    overflow: hidden;
    width: 100%;
}

body.user-shell #categoriesHolder {
    gap: 12px;
}

body.user-shell .categoryItem {
    height: auto;
    margin-right: 0;
    line-height: normal;
}

body.user-shell .categoryItem a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(147, 199, 208, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: #d5e7e8;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body.user-shell .categoryItem a:hover,
body.user-shell .categoryItem a.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(37, 117, 132, 0.86), rgba(202, 103, 62, 0.84));
    border-color: transparent;
    transform: translateY(-1px);
}

body.user-shell #headerBehindSpacer {
    height: 0;
    margin-bottom: 0;
}

body.user-shell #bottomContainer {
    width: calc(100vw - 32px);
    max-width: none;
    margin: 0 16px 56px;
}

body.user-shell .user-hero {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border: 1px solid rgba(145, 200, 210, 0.16);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(202, 103, 62, 0.24), transparent 34%),
        linear-gradient(135deg, rgba(12, 30, 36, 0.96), rgba(8, 17, 22, 0.98));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

body.user-shell .user-hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -28% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(145, 200, 210, 0.18), transparent 66%);
    pointer-events: none;
}

body.user-shell .user-eyebrow {
    margin: 0 0 10px;
    color: #7ac5d1;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

body.user-shell .user-hero h1,
body.user-shell .paymentsPage h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #ffffff;
}

body.user-shell .user-hero p,
body.user-shell .paymentsIntro,
body.user-shell .paymentMeta {
    color: rgba(222, 237, 238, 0.84);
    line-height: 1.65;
}

body.user-shell .user-hero p {
    max-width: 640px;
    margin: 16px 0 0;
    font-size: 1.03rem;
}

body.user-shell .user-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

body.user-shell .user-pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(145, 200, 210, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #f3fbfb;
    font-weight: 700;
    transition: transform 0.18s ease, background 0.18s ease;
}

body.user-shell .user-pill-link:hover {
    background: rgba(145, 200, 210, 0.14);
    transform: translateY(-1px);
}

body.user-shell .user-pill-link.is-danger {
    border-color: rgba(237, 114, 114, 0.26);
    color: #ffd1d1;
}

body.user-shell .user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 26px;
}

body.user-shell .user-card,
body.user-shell .paymentCard,
body.user-shell .paymentsPage {
    border: 1px solid rgba(145, 200, 210, 0.14);
    border-radius: 24px;
    background: rgba(8, 20, 25, 0.84);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

body.user-shell .paymentsPage {
    padding: 28px;
}

body.user-shell .user-card,
body.user-shell .paymentCard {
    padding: 24px;
}

body.user-shell .paymentsPage,
body.user-shell .entitlementsPage,
body.user-shell .supportPage {
    max-width: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

body.user-shell .user-card h2,
body.user-shell .user-card h3,
body.user-shell .paymentCard h3 {
    margin: 0 0 14px;
    color: #ffffff;
}

body.user-shell .user-card p,
body.user-shell .paymentCard p {
    color: rgba(222, 237, 238, 0.82);
    line-height: 1.6;
}

body.user-shell .user-stat {
    display: grid;
    gap: 8px;
}

body.user-shell .user-stat-label,
body.user-shell .dataTitle {
    color: #7ac5d1;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

body.user-shell .user-stat-value,
body.user-shell .dataValue,
body.user-shell .dataValue-no-height {
    color: #ffffff;
    font-size: 1.02rem;
    min-height: 0;
    height: auto;
    overflow-wrap: anywhere;
}

body.user-shell .dataItem,
body.user-shell .row.dataItem,
body.user-shell .row.dataItem-no-height {
    height: auto;
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(145, 200, 210, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

body.user-shell #message {
    min-height: 20px;
    margin-bottom: 16px;
    color: #ffd37d;
}

body.user-shell .submitButton {
    min-height: 50px;
    padding: 0 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #257584, #d37a46);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

body.user-shell .submitButton:hover {
    filter: brightness(1.06);
}

body.user-shell input[type="text"],
body.user-shell input[type="password"],
body.user-shell input[type="number"],
body.user-shell input[type="date"],
body.user-shell input[type="time"],
body.user-shell input[type="url"],
body.user-shell input[type="email"],
body.user-shell input[type="datetime-local"],
body.user-shell select,
body.user-shell textarea {
    border: 1px solid rgba(145, 200, 210, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: #f4fbfb;
    padding: 12px 14px;
}

body.user-shell input::placeholder,
body.user-shell textarea::placeholder {
    color: rgba(220, 235, 236, 0.44);
}

body.user-shell .paymentOptions {
    gap: 22px;
}

body.user-shell .paymentCard a {
    color: #8ad8e2;
}

body.user-shell .user-login-card {
    max-width: 580px;
    margin: 0 auto;
}

body.user-shell {
    --dt-surface: #fff8f5;
    --dt-surface-2: #fffdfc;
    --dt-border: #ead8d2;
    --dt-border-strong: #d9bfb4;
    --dt-text: #2f2222;
    --dt-text-soft: #71595a;
    --dt-accent: #b5515c;
    --dt-accent-strong: #8d3040;
    --dt-accent-soft: rgba(181, 81, 92, 0.10);
    --dt-success: #238a52;
    --dt-success-soft: rgba(35, 138, 82, 0.14);
    --dt-danger: #bf4557;
    --dt-danger-soft: rgba(191, 69, 87, 0.14);
    --dt-shadow: 0 16px 34px rgba(70, 37, 42, 0.10);
}

body.user-shell #table,
body.user-shell .creditsTable {
    width: 100%;
    color: var(--dt-text);
    border-collapse: collapse;
    margin-top: 6px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 245, 0.98));
    border: 1px solid var(--dt-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--dt-shadow);
}

body.user-shell #table.table-state-loading,
body.user-shell #table.table-state-empty {
    display: none;
}

body.user-shell #table th,
body.user-shell #table td,
body.user-shell .creditsTable th,
body.user-shell .creditsTable td {
    border-right: 1px solid var(--dt-border);
    border-bottom: 1px solid var(--dt-border);
    padding: 12px 14px;
    text-align: left;
    vertical-align: middle;
    color: var(--dt-text);
}

body.user-shell #table tr td:last-child,
body.user-shell #table tr th:last-child,
body.user-shell .creditsTable tr td:last-child,
body.user-shell .creditsTable tr th:last-child {
    border-right: none;
}

body.user-shell #table tbody tr:last-child td,
body.user-shell .creditsTable tbody tr:last-child td {
    border-bottom: none;
}

body.user-shell #table th,
body.user-shell .creditsTable th {
    padding: 14px;
    background: linear-gradient(180deg, #fff7f4, #fdf0eb);
    color: var(--dt-text);
    border-bottom: 1px solid var(--dt-border-strong);
}

body.user-shell #table tr:hover,
body.user-shell .creditsTable tr:hover {
    background-color: #fff4ef;
}

body.user-shell .onRow {
    background-color: var(--dt-surface-2);
}

body.user-shell .offRow {
    background-color: var(--dt-surface);
}

body.user-shell .header-wrapper {
    gap: 12px;
}

body.user-shell .column-name {
    font-size: 13px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dt-text-soft);
}

body.user-shell .sort-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid var(--dt-border);
    background: var(--dt-surface-2);
    font-size: 12px;
    color: var(--dt-text-soft);
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

body.user-shell .sort-icon:hover {
    color: var(--dt-accent-strong);
    border-color: #e0aaa1;
    background: #fff3ef;
    transform: translateY(-1px);
}

body.user-shell #filters {
    gap: 12px;
    margin: 14px 0 8px 0;
}

body.user-shell .button2 {
    min-height: 42px;
    background: linear-gradient(180deg, #fff7f4, #fff0ea);
    border: 1px solid var(--dt-border-strong);
    padding: 0 14px;
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(70, 37, 42, 0.08);
}

body.user-shell .button2:hover {
    background: #fff3ee;
    transform: translateY(-1px);
}

body.user-shell .clear-filter-button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--dt-border-strong);
    background: var(--dt-surface-2);
    color: var(--dt-text);
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(70, 37, 42, 0.06);
}

body.user-shell .clear-filter-button:hover {
    background: #fff1ec;
    border-color: #ddaa9f;
}

body.user-shell .active-filter-text {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--dt-border);
    background: var(--dt-accent-soft);
    font-size: 14px;
    font-weight: 700;
    color: var(--dt-accent-strong);
}

body.user-shell .data-table-manage-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff2ec, #ffe9e0);
    border: 1px solid #efc4b6;
    color: var(--dt-accent-strong) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
}

body.user-shell .data-table-manage-link:hover {
    background: linear-gradient(180deg, #ffece4, #ffdccc);
}

body.user-shell .data-table-bool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--dt-border);
    background: #fff;
    color: var(--dt-text-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.user-shell .data-table-bool.is-true {
    background: var(--dt-success-soft);
    border-color: rgba(35, 138, 82, 0.28);
    color: var(--dt-success);
}

body.user-shell .data-table-bool.is-false {
    background: var(--dt-danger-soft);
    border-color: rgba(191, 69, 87, 0.24);
    color: var(--dt-danger);
}

body.user-shell #showing,
body.user-shell #pages,
body.user-shell #previous,
body.user-shell #next,
body.user-shell .creditsTableMessage {
    color: rgba(222, 237, 238, 0.84);
}

body.user-shell #showing {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
}

body.user-shell #pages,
body.user-shell #previous,
body.user-shell #next {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

body.user-shell #pages > div {
    margin-right: 4px !important;
    font-weight: 700;
}

body.user-shell .entitlementsPage,
body.user-shell .supportPage {
    border: 1px solid rgba(145, 200, 210, 0.14);
    border-radius: 24px;
    background: rgba(8, 20, 25, 0.84);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    padding: 28px;
}

body.user-shell .entitlementsPage h1,
body.user-shell .supportPage h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #ffffff;
}

body.user-shell .entitlementsIntro,
body.user-shell .support-intro {
    color: rgba(222, 237, 238, 0.84);
    line-height: 1.65;
}

body.user-shell .entitlementCard {
    border: 1px solid rgba(145, 200, 210, 0.14);
    border-radius: 24px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body.user-shell .entitlementCard h3 {
    color: #ffffff;
}

body.user-shell .entitlementCard p {
    color: rgba(222, 237, 238, 0.82);
}

body.user-shell .entitlementCard a {
    color: #8ad8e2;
    font-weight: 700;
}

body.user-shell .support-hero-actions {
    display: flex;
    margin-bottom: 22px;
}

body.user-shell .support-copy-button {
    border: 0;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #257584, #d37a46);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    cursor: pointer;
}

body.user-shell .support-copy-button:hover {
    filter: brightness(1.06);
}

body.user-shell #entitlements {
    margin: 12px 0 0;
    padding-left: 20px;
}

body.user-shell #entitlements li {
    color: #ffffff;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    body.user-shell #top {
        padding: 14px 16px 10px;
    }

    body.user-shell #categoryContainer {
        padding: 0 16px 16px;
    }

    body.user-shell #headerBehindSpacer {
        height: 0;
    }

    body.user-shell #bottomContainer {
        width: calc(100vw - 20px);
        margin: 0 10px 40px;
    }

    body.user-shell .user-hero,
    body.user-shell .paymentsPage,
    body.user-shell .entitlementsPage,
    body.user-shell .supportPage,
    body.user-shell .user-card,
    body.user-shell .paymentCard {
        padding: 22px;
        border-radius: 22px;
    }
}

@media (max-width: 640px) {
    body.user-shell #siteLink {
        font-size: 1.7rem;
    }

    body.user-shell .user-shell-kicker {
        letter-spacing: 0.16em;
    }

    body.user-shell #profileActions {
        width: 100%;
        justify-content: flex-start;
    }

    body.user-shell .user-grid {
        grid-template-columns: 1fr;
    }
}
