:root[data-theme] .ah-shell .footer-banner {
    display: none;
}

:root[data-theme] .ah-shell :is(#profileSection, #photoProfileSection, #videoProfileSection, #paymentSection, #photoPaymentSection, #videoPaymentSection, #promoSection, #photoPromoSection, #videoPromoSection, #helpSection, #photoHelpSection, #videoHelpSection) :is(.back-btn, .promo-illustration) {
    display: none !important;
}

:root[data-theme] .ah-shell :is(#profileSection, #photoProfileSection, #videoProfileSection) > h2,
:root[data-theme] .ah-shell :is(#paymentSection, #photoPaymentSection, #videoPaymentSection, #promoSection, #photoPromoSection, #videoPromoSection) .promo-left > h2,
:root[data-theme] .ah-shell :is(#helpSection, #photoHelpSection, #videoHelpSection) .photo-help-hero > h2 {
    display: none;
}

:root[data-theme] .ah-shell :is(#profileSection, #photoProfileSection, #videoProfileSection):not(.hidden) {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-areas: "stats stats" "form links";
    align-items: start;
    gap: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

:root[data-theme] .ah-shell :is(#profileContent, #photoProfileContent, #videoProfileContent) {
    grid-area: stats;
}

:root[data-theme] .ah-shell .ah-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

:root[data-theme] .ah-shell .ah-stat {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid var(--ah-line);
    border-radius: 16px;
    background: var(--ah-surface);
}

:root[data-theme] .ah-shell .ah-stat-label {
    color: var(--ah-muted);
    font: 600 12px/1.2 var(--ah-font-ui);
}

:root[data-theme] .ah-shell .ah-stat-value {
    color: var(--ah-ink);
    font: 600 20px/1.2 var(--ah-font-display);
    word-break: break-word;
}

:root[data-theme] .ah-shell .ah-stat-value small {
    display: block;
    margin-top: 4px;
    color: var(--ah-muted);
    font: 500 12px/1.3 var(--ah-font-ui);
}

:root[data-theme] .ah-shell :is(#profileSection, #photoProfileSection, #videoProfileSection) .profile-form {
    grid-area: form;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius-card);
    background: var(--ah-surface);
    box-shadow: var(--ah-shadow);
}

:root[data-theme] .ah-shell .ah-field {
    display: grid;
    gap: 6px;
}

:root[data-theme] .ah-shell .ah-field-label {
    color: var(--ah-ink);
    font: 700 13px/1.2 var(--ah-font-ui);
}

:root[data-theme] .ah-shell .ah-field :is(input, textarea) {
    width: 100%;
    margin: 0;
}

:root[data-theme] .ah-shell .ah-field :is(input, textarea):not([id$="DisplayName"])::placeholder {
    color: transparent;
}

:root[data-theme] .ah-shell .promo-right > * {
    width: 100%;
    max-width: none;
}

:root[data-theme] .ah-shell .promo-right #paymentPreview strong,
:root[data-theme] .ah-shell .promo-right [id$="PaymentPreview"] strong {
    color: var(--ah-accent);
    font: 600 22px/1.2 var(--ah-font-display);
}

:root[data-theme] .ah-shell .promo-right [id$="aymentPreview"] {
    align-items: baseline;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--ah-accent-soft);
    color: var(--ah-ink);
}

:root[data-theme] .ah-shell :is(#profileSection, #photoProfileSection, #videoProfileSection) .profile-form .submit-btn {
    justify-self: start;
    width: auto;
    min-width: 160px;
    margin: 4px 0 0;
}

:root[data-theme] .ah-shell :is(#profileSection, #photoProfileSection, #videoProfileSection) .account-links-card {
    grid-area: links;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius-card);
    background: var(--ah-surface);
    box-shadow: var(--ah-shadow);
}

:root[data-theme] .ah-shell .account-links-title {
    font: 700 16px/1.3 var(--ah-font-ui);
    color: var(--ah-ink);
}

:root[data-theme] .ah-shell .account-links-subtitle {
    margin-top: 4px;
    color: var(--ah-muted);
    font: 500 13px/1.45 var(--ah-font-ui);
}

:root[data-theme] .ah-shell .account-links-badges {
    margin-top: 14px;
}

:root[data-theme] .ah-shell .account-links-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

:root[data-theme] .ah-shell .account-links-actions .ah-btn {
    width: auto;
    margin: 0;
}

:root[data-theme] .ah-shell .account-links-status:empty {
    display: none;
}

:root[data-theme] .ah-shell :is(#paymentSection, #photoPaymentSection, #videoPaymentSection, #promoSection, #photoPromoSection, #videoPromoSection):not(.hidden) {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

:root[data-theme] .ah-shell :is(#paymentSection, #photoPaymentSection, #videoPaymentSection, #promoSection, #photoPromoSection, #videoPromoSection) .promo-card {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

:root[data-theme] .ah-shell :is(#paymentSection, #photoPaymentSection, #videoPaymentSection, #promoSection, #photoPromoSection, #videoPromoSection) .promo-left {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius-card);
    background: var(--ah-surface);
    box-shadow: var(--ah-shadow);
}

:root[data-theme] .ah-shell :is(#paymentSection, #photoPaymentSection, #videoPaymentSection, #promoSection, #photoPromoSection, #videoPromoSection) .promo-left > p {
    margin: 0;
    color: var(--ah-muted);
    font: 500 14px/1.45 var(--ah-font-ui);
}

:root[data-theme] .ah-shell .promo-form {
    display: grid;
    gap: 14px;
    margin: 0;
}

:root[data-theme] .ah-shell .promo-form > input {
    height: 52px;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

:root[data-theme] .ah-shell .promo-form .submit-btn {
    width: 100%;
    margin: 0;
}

:root[data-theme] .ah-shell :is(#paymentSection, #photoPaymentSection, #videoPaymentSection, #promoSection, #photoPromoSection, #videoPromoSection) .promo-right {
    display: grid;
    align-content: start;
    justify-items: stretch;
    gap: 10px;
    padding: 24px;
    border: 1px solid var(--ah-line);
    border-radius: var(--ah-radius-card);
    background: var(--ah-surface);
    box-shadow: none;
    text-align: left;
}

:root[data-theme] .ah-shell .promo-right .promo-highlight {
    text-align: left;
    margin: 0 0 4px;
    color: var(--ah-ink);
    font: 700 16px/1.35 var(--ah-font-ui);
}

:root[data-theme] .ah-shell .promo-right .promo-status {
    display: flex;
    justify-content: space-between;
    margin: 0;
    color: var(--ah-muted);
    font: 600 14px/1.4 var(--ah-font-ui);
}

:root[data-theme] .ah-shell .promo-right .promo-status strong {
    color: var(--ah-ink);
    font: 700 16px/1.4 var(--ah-font-ui);
}

:root[data-theme] .ah-shell .ah-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

:root[data-theme] .ah-shell .ah-amount {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border: 1px solid var(--ah-line);
    border-radius: 999px;
    background: var(--ah-surface);
    color: var(--ah-ink);
    font: 700 14px/1 var(--ah-font-ui);
    cursor: pointer;
    transition: border-color 0.15s ease;
}

:root[data-theme] .ah-shell .ah-amount:hover {
    border-color: var(--ah-accent);
}

:root[data-theme] .ah-shell .ah-amount.is-active {
    border-color: var(--ah-accent);
    background: var(--ah-accent);
    color: #fff;
}

:root[data-theme] .ah-shell .ah-amount small {
    color: var(--ah-success);
    font-size: 12px;
    font-weight: 800;
}

:root[data-theme] .ah-shell .ah-amount.is-active small {
    color: #BFF5EC;
}

:root[data-theme] .ah-shell .ah-bonus-table {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--ah-line);
}

:root[data-theme] .ah-shell .ah-bonus-title {
    color: var(--ah-muted);
    font: 700 12px/1.2 var(--ah-font-ui);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

:root[data-theme] .ah-shell .ah-bonus-row {
    display: flex;
    justify-content: space-between;
    color: var(--ah-ink);
    font: 600 14px/1.4 var(--ah-font-ui);
}

:root[data-theme] .ah-shell .ah-bonus-row b {
    color: var(--ah-success);
}

:root[data-theme] .ah-shell .payment-method-card {
    box-shadow: none;
}

:root[data-theme] .ah-shell :is(#promoSection, #photoPromoSection, #videoPromoSection) .promo-card {
    grid-template-columns: minmax(0, 560px);
}

:root[data-theme] .ah-shell :is(#promoSection, #photoPromoSection, #videoPromoSection) .promo-right {
    display: none;
}

@media (max-width: 900px) {
    :root[data-theme] .ah-shell :is(#profileSection, #photoProfileSection, #videoProfileSection):not(.hidden) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "stats" "form" "links";
    }

    :root[data-theme] .ah-shell :is(#paymentSection, #photoPaymentSection, #videoPaymentSection, #promoSection, #photoPromoSection, #videoPromoSection) .promo-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    :root[data-theme] .ah-shell .ah-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    :root[data-theme] .ah-shell .ah-stat {
        padding: 12px 14px;
    }

    :root[data-theme] .ah-shell .ah-stat-value {
        font-size: 16px;
    }

    :root[data-theme] .ah-shell :is(.profile-form, .account-links-card, .promo-left, .promo-right) {
        padding: 18px !important;
    }
}
