/* FlexiPets Account — module polish (coins, orders, dashboard, forms)
   Layout + navigation: css/account/layout-topnav.css, css/account/navigation.css
   Loaded only on /account/* via inc/fp-account-design.php */

body.fp-account-page,
body.page-account,
body.um-page-account {
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 114, 170, .18), transparent 24%),
        radial-gradient(circle at 8% 6%, rgba(155, 124, 255, .16), transparent 28%),
        linear-gradient(180deg, #fff3ed 0%, #fff8f2 48%, #fff1ea 100%) !important;
}

body.fp-account-page .fp-main-content,
body.page-account .fp-main-content,
body.um-page-account .fp-main-content {
    width: var(--fp-page-width, 100%) !important;
    max-width: var(--fp-page-max-width, 1320px) !important;
    margin: 0 auto !important;
    padding: 42px var(--fp-page-gutter, 26px) 76px !important;
    box-sizing: border-box !important;
}

/* —— Grid layout (sidebar + content) —— */
body.fp-account-page .um-account,
body.page-account .um-account,
body.um-page-account .um-account,
body.fp-account-page .um .um-account,
body.page-account .um .um-account,
body.um-page-account .um .um-account {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* UM wrapper div — volle Breite, kein Grid (sonst wird das Formular auf ~320px gequetscht) */
body.fp-account-page .um-account > .um-form:not(form),
body.page-account .um-account > .um-form:not(form),
body.um-page-account .um-account > .um-form:not(form) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* Grid nur auf dem eigentlichen Formular — Sidebar-Layout (nicht Top-Nav) */
body.fp-account-page:not(.fp-account-topnav) .um-account > form,
body.fp-account-page:not(.fp-account-topnav) .um-account form.um-form,
body.fp-account-page:not(.fp-account-topnav) .um-account .um-form > form,
body.fp-account-page:not(.fp-account-topnav) .um-account > .um-form > form,
body.page-account:not(.fp-account-topnav) .um-account > form,
body.page-account:not(.fp-account-topnav) .um-account form.um-form,
body.page-account:not(.fp-account-topnav) .um-account .um-form > form,
body.page-account:not(.fp-account-topnav) .um-account > .um-form > form,
body.um-page-account:not(.fp-account-topnav) .um-account > form,
body.um-page-account:not(.fp-account-topnav) .um-account form.um-form,
body.um-page-account:not(.fp-account-topnav) .um-account .um-form > form,
body.um-page-account:not(.fp-account-topnav) .um-account > .um-form > form {
    display: grid !important;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    float: none !important;
    box-sizing: border-box !important;
}

body.fp-account-page .um-account > .um-form > form > p.um_request_name,
body.fp-account-page .um-account > .um-form > form > .um-account-meta,
body.page-account .um-account > .um-form > form > .um-account-meta {
    display: none !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account > .um-form > form > .um-account-side,
body.fp-account-page:not(.fp-account-topnav) .um-account > form > .um-account-side,
body.fp-account-page:not(.fp-account-topnav) .um-account form > .um-account-side,
body.fp-account-page:not(.fp-account-topnav) .um-account > .um-form > .um-account-side,
body.page-account:not(.fp-account-topnav) .um-account > .um-form > form > .um-account-side,
body.page-account:not(.fp-account-topnav) .um-account > form > .um-account-side,
body.page-account:not(.fp-account-topnav) .um-account form > .um-account-side,
body.page-account:not(.fp-account-topnav) .um-account > .um-form > .um-account-side,
body.um-page-account:not(.fp-account-topnav) .um-account > .um-form > form > .um-account-side,
body.um-page-account:not(.fp-account-topnav) .um-account > form > .um-account-side,
body.um-page-account:not(.fp-account-topnav) .um-account form > .um-account-side,
body.um-page-account:not(.fp-account-topnav) .um-account > .um-form > .um-account-side {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    float: none !important;
    padding: 22px 18px !important;
    background: rgba(255, 255, 255, .82) !important;
    border: 1px solid rgba(255, 255, 255, .9) !important;
    border-radius: 32px !important;
    box-shadow: 0 22px 54px rgba(91, 62, 149, .11) !important;
    position: sticky !important;
    top: 92px !important;
    box-sizing: border-box !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account-side .um-account-meta,
body.page-account:not(.fp-account-topnav) .um-account-side .um-account-meta {
    display: block !important;
    margin: 0 0 18px !important;
    padding: 18px 12px 20px !important;
    text-align: center !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 248, 253, .88)) !important;
    border: 1px solid rgba(155, 124, 255, .12) !important;
    border-radius: 24px !important;
}

body.fp-account-page .um-account-profile-link img,
body.page-account .um-account-profile-link img {
    width: 112px !important;
    height: 112px !important;
    border-radius: 50% !important;
    border: 5px solid #fff !important;
    box-shadow: 0 12px 28px rgba(91, 62, 149, .14) !important;
    object-fit: cover !important;
}

body.fp-account-page .um-account-name,
body.page-account .um-account-name,
body.um-page-account .um-account-name {
    margin-top: 14px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #8b63ff !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: break-word !important;
}

body.fp-account-page .um-account-profile-link a,
body.page-account .um-account-profile-link a {
    margin-top: 6px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #ff67a8 !important;
    text-decoration: none !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account-side ul,
body.page-account:not(.fp-account-topnav) .um-account-side ul,
body.um-page-account:not(.fp-account-topnav) .um-account-side ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account-side ul li,
body.page-account:not(.fp-account-topnav) .um-account-side ul li,
body.um-page-account:not(.fp-account-topnav) .um-account-side ul li {
    margin: 0 !important;
    padding: 0 !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account-side ul li a,
body.page-account:not(.fp-account-topnav) .um-account-side ul li a,
body.um-page-account:not(.fp-account-topnav) .um-account-side ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 50px !important;
    padding: 12px 16px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .96) !important;
    border: 1px solid rgba(255, 255, 255, .92) !important;
    color: #3a3648 !important;
    text-decoration: none !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    box-shadow:
        0 10px 24px rgba(91, 62, 149, .11),
        0 2px 6px rgba(91, 62, 149, .06) !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account-side ul li a span:not(.um-account-arrow),
body.page-account:not(.fp-account-topnav) .um-account-side ul li a span:not(.um-account-arrow),
body.um-page-account:not(.fp-account-topnav) .um-account-side ul li a span:not(.um-account-arrow),
body.fp-account-page:not(.fp-account-topnav) .um-account-side ul li a .title,
body.page-account:not(.fp-account-topnav) .um-account-side ul li a .title,
body.um-page-account:not(.fp-account-topnav) .um-account-side ul li a .title {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    white-space: normal !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account-side ul li a:hover,
body.page-account:not(.fp-account-topnav) .um-account-side ul li a:hover,
body.um-page-account:not(.fp-account-topnav) .um-account-side ul li a:hover {
    transform: translateY(-2px) !important;
    background: #fff !important;
    border-color: rgba(155, 124, 255, .18) !important;
    box-shadow:
        0 16px 32px rgba(91, 62, 149, .15),
        0 4px 10px rgba(91, 62, 149, .08) !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account-side li.current a,
body.fp-account-page:not(.fp-account-topnav) .um-account-side li.is-active a,
body.page-account:not(.fp-account-topnav) .um-account-side li.current a,
body.page-account:not(.fp-account-topnav) .um-account-side li.is-active a,
body.um-page-account:not(.fp-account-topnav) .um-account-side li.current a,
body.um-page-account:not(.fp-account-topnav) .um-account-side li.is-active a {
    background: linear-gradient(135deg, #8f6cff 0%, #ff72aa 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow:
        0 16px 36px rgba(143, 108, 255, .32),
        0 6px 14px rgba(255, 114, 170, .18) !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account-side li.current a span,
body.fp-account-page:not(.fp-account-topnav) .um-account-side li.is-active a span,
body.fp-account-page:not(.fp-account-topnav) .um-account-side li.current a .title,
body.fp-account-page:not(.fp-account-topnav) .um-account-side li.is-active a .title,
body.page-account:not(.fp-account-topnav) .um-account-side li.current a span,
body.page-account:not(.fp-account-topnav) .um-account-side li.is-active a span,
body.page-account:not(.fp-account-topnav) .um-account-side li.current a .title,
body.page-account:not(.fp-account-topnav) .um-account-side li.is-active a .title,
body.um-page-account:not(.fp-account-topnav) .um-account-side li.current a span,
body.um-page-account:not(.fp-account-topnav) .um-account-side li.is-active a span,
body.um-page-account:not(.fp-account-topnav) .um-account-side li.current a .title,
body.um-page-account:not(.fp-account-topnav) .um-account-side li.is-active a .title {
    color: #fff !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account-side li i,
body.page-account:not(.fp-account-topnav) .um-account-side li i,
body.um-page-account:not(.fp-account-topnav) .um-account-side li i {
    flex: 0 0 34px !important;
    width: 34px !important;
    text-align: center !important;
    font-size: 16px !important;
    color: #8f6cff !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account-side li.current i,
body.fp-account-page:not(.fp-account-topnav) .um-account-side li.is-active i,
body.page-account:not(.fp-account-topnav) .um-account-side li.current i,
body.page-account:not(.fp-account-topnav) .um-account-side li.is-active i {
    color: #fff !important;
}

body.fp-account-page .um-account-side li .um-account-arrow,
body.page-account .um-account-side li .um-account-arrow,
body.um-page-account .um-account-side li .um-account-arrow {
    display: none !important;
}

/* Nur ein Icon pro Menüpunkt (UM + FlexiPets) */
body.fp-account-page .um-account-side ul li a .um-account-title i,
body.page-account .um-account-side ul li a .um-account-title i,
body.um-page-account .um-account-side ul li a .um-account-title i,
body.fp-account-page .um-account-side ul li a span.title i,
body.page-account .um-account-side ul li a span.title i,
body.um-page-account .um-account-side ul li a span.title i {
    display: none !important;
}

body.fp-account-page .um-account-side ul li a > i ~ i,
body.page-account .um-account-side ul li a > i ~ i,
body.um-page-account .um-account-side ul li a > i ~ i {
    display: none !important;
}

body.fp-account-page .um-account-side ul li a:has(> .um-account-icon) > i:first-child,
body.page-account .um-account-side ul li a:has(> .um-account-icon) > i:first-child,
body.um-page-account .um-account-side ul li a:has(> .um-account-icon) > i:first-child {
    display: none !important;
}

body.fp-account-page:not(.fp-account-topnav) .um-account > .um-form > form > .um-account-main,
body.fp-account-page:not(.fp-account-topnav) .um-account > form > .um-account-main,
body.fp-account-page:not(.fp-account-topnav) .um-account form > .um-account-main,
body.fp-account-page:not(.fp-account-topnav) .um-account > .um-form > .um-account-main,
body.page-account:not(.fp-account-topnav) .um-account > .um-form > form > .um-account-main,
body.page-account:not(.fp-account-topnav) .um-account > form > .um-account-main,
body.page-account:not(.fp-account-topnav) .um-account form > .um-account-main,
body.page-account:not(.fp-account-topnav) .um-account > .um-form > .um-account-main,
body.um-page-account:not(.fp-account-topnav) .um-account > .um-form > form > .um-account-main,
body.um-page-account:not(.fp-account-topnav) .um-account > form > .um-account-main,
body.um-page-account:not(.fp-account-topnav) .um-account form > .um-account-main,
body.um-page-account:not(.fp-account-topnav) .um-account > .um-form > .um-account-main,
body.fp-account-page:not(.fp-account-topnav) .um-account .um-account-main,
body.page-account:not(.fp-account-topnav) .um-account .um-account-main,
body.um-page-account:not(.fp-account-topnav) .um-account .um-account-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    flex: 1 1 auto !important;
    min-height: 560px !important;
    padding: 36px 40px !important;
    background: rgba(255, 255, 255, .9) !important;
    border: 1px solid rgba(255, 255, 255, .92) !important;
    border-radius: 32px !important;
    box-shadow: 0 24px 64px rgba(91, 62, 149, .11) !important;
    box-sizing: border-box !important;
}

/* UM Standard-Floats deaktivieren — sonst wird .um-account-main auf ~80px gequetscht */
body.fp-account-page .um-account .um-account-side,
body.page-account .um-account .um-account-side,
body.um-page-account .um-account .um-account-side {
    float: none !important;
    clear: none !important;
}

body.fp-account-page .um-account .um-account-main,
body.page-account .um-account .um-account-main,
body.um-page-account .um-account .um-account-main {
    float: none !important;
    clear: none !important;
    overflow: visible !important;
}

body.fp-account-page .um-account-main > .um-account-nav,
body.page-account .um-account-main > .um-account-nav {
    display: none !important;
}

body.fp-account-page .um-account-main > .um-account-tab:not(.active):not(.fp-um-tab-active),
body.page-account .um-account-main > .um-account-tab:not(.active):not(.fp-um-tab-active) {
    display: none !important;
}

body.fp-account-page .um-account-main > .um-account-tab.active,
body.fp-account-page .um-account-main > .um-account-tab.fp-um-tab-active,
body.page-account .um-account-main > .um-account-tab.active {
    display: block !important;
}

body.fp-account-page .um-profile-note,
body.page-account .um-profile-note,
body.um-page-account .um-profile-note {
    display: none !important;
}

body.fp-account-page .um-account-heading,
body.page-account .um-account-heading {
    margin: 0 0 24px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid rgba(155, 124, 255, .14) !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #2e2845 !important;
}

body.fp-account-page .um-account-heading i,
body.page-account .um-account-heading i,
body.um-page-account .um-account-heading i {
    margin-right: 10px !important;
    color: #9b7cff !important;
}

/* Duplicate titles: UM tab heading is canonical; hide module H2/H3 in account tabs */
body.fp-account-page .um-account-tab .um-account-heading ~ .um-account-heading,
body.page-account .um-account-tab .um-account-heading ~ .um-account-heading,
body.um-page-account .um-account-tab .um-account-heading ~ .um-account-heading {
    display: none !important;
}

body.fp-account-page .um-account-tab[data-tab="flexicoins"] .fp-coins-title,
body.page-account .um-account-tab[data-tab="flexicoins"] .fp-coins-title,
body.um-page-account .um-account-tab[data-tab="flexicoins"] .fp-coins-title,
body.fp-account-page .um-account-tab[data-tab="flexipets_orders"] .fp-orders-header,
body.page-account .um-account-tab[data-tab="flexipets_orders"] .fp-orders-header,
body.um-page-account .um-account-tab[data-tab="flexipets_orders"] .fp-orders-header,
body.fp-account-page .um-account-tab[data-tab="flexipets_coin_shop"] .fp-coin-shop > h2:first-of-type,
body.page-account .um-account-tab[data-tab="flexipets_coin_shop"] .fp-coin-shop > h2:first-of-type,
body.um-page-account .um-account-tab[data-tab="flexipets_coin_shop"] .fp-coin-shop > h2:first-of-type,
body.fp-account-page .um-account-tab[data-tab="flexipets_achievements"] .fp-achievements-box > h2:first-of-type,
body.page-account .um-account-tab[data-tab="flexipets_achievements"] .fp-achievements-box > h2:first-of-type,
body.um-page-account .um-account-tab[data-tab="flexipets_achievements"] .fp-achievements-box > h2:first-of-type,
body.fp-account-page .um-account-tab[data-tab="flexipets_missions"] .fp-missions-box > h2:first-of-type,
body.page-account .um-account-tab[data-tab="flexipets_missions"] .fp-missions-box > h2:first-of-type,
body.um-page-account .um-account-tab[data-tab="flexipets_missions"] .fp-missions-box > h2:first-of-type,
body.fp-account-page .um-account-tab[data-tab="flexipets_leaderboards"] .fp-leaderboards-box > h2:first-of-type,
body.page-account .um-account-tab[data-tab="flexipets_leaderboards"] .fp-leaderboards-box > h2:first-of-type,
body.um-page-account .um-account-tab[data-tab="flexipets_leaderboards"] .fp-leaderboards-box > h2:first-of-type,
body.fp-account-page .um-account-tab[data-tab="flexipets_card_duel"] .fp-card-duel-box > h2:first-of-type,
body.page-account .um-account-tab[data-tab="flexipets_card_duel"] .fp-card-duel-box > h2:first-of-type,
body.um-page-account .um-account-tab[data-tab="flexipets_card_duel"] .fp-card-duel-box > h2:first-of-type,
body.fp-account-page .um-account-main .fp-um-duplicate-title,
body.page-account .um-account-main .fp-um-duplicate-title,
body.um-page-account .um-account-main .fp-um-duplicate-title {
    display: none !important;
}

/* —— Content panel tokens —— */
body.fp-account-page .um-account-main,
body.page-account .um-account-main {
    --fp-purple: #8f6cff;
    --fp-purple-dark: #7448f1;
    --fp-pink: #ff72aa;
    --fp-ink: #2e2845;
    --fp-muted: #6f7285;
    --fp-border: rgba(155, 124, 255, .24);
    --fp-panel: #ffffff;
    --fp-soft: 0 12px 32px rgba(72, 42, 128, .14), 0 2px 8px rgba(72, 42, 128, .06);
    --fp-btn: linear-gradient(135deg, var(--fp-purple) 0%, var(--fp-pink) 100%);
    font-family: 'Poppins', sans-serif;
}

/* UM form fields */
body.fp-account-page .um-account-main .um-field-label label,
body.page-account .um-account-main .um-field-label label {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #4b4564 !important;
}

body.fp-account-page .um-account-main input[type='text'],
body.fp-account-page .um-account-main input[type='email'],
body.fp-account-page .um-account-main input[type='password'],
body.page-account .um-account-main input[type='text'],
body.page-account .um-account-main input[type='email'],
body.page-account .um-account-main input[type='password'],
body.fp-account-page .um-account-main select.um-form-field,
body.page-account .um-account-main select.um-form-field,
body.fp-account-page .um-account-main textarea.um-form-field,
body.page-account .um-account-main textarea.um-form-field {
    max-width: 620px !important;
    width: 100% !important;
    border-radius: 16px !important;
    border: 1px solid var(--fp-border) !important;
    background: #fbf8ff !important;
    box-sizing: border-box !important;
}

body.fp-account-page .um-account-main input[type='text'],
body.fp-account-page .um-account-main input[type='email'],
body.fp-account-page .um-account-main input[type='password'],
body.page-account .um-account-main input[type='text'],
body.page-account .um-account-main input[type='email'],
body.page-account .um-account-main input[type='password'] {
    height: 50px !important;
    padding: 0 16px !important;
}

/* Primary buttons (all tabs) */
body.fp-account-page .um-account-main .um-button,
body.page-account .um-account-main .um-button,
body.fp-account-page .um-account-main input[type='submit'],
body.page-account .um-account-main input[type='submit'],
body.fp-account-page .um-account-main .fp-coin-shop-buy,
body.page-account .um-account-main .fp-coin-shop-buy,
body.fp-account-page .um-account-main .fp-daily-coin-button,
body.page-account .um-account-main .fp-daily-coin-button,
body.fp-account-page .um-account-main .fp-card-duel-button,
body.page-account .um-account-main .fp-card-duel-button,
body.fp-account-page .um-account-main .um-request-button,
body.page-account .um-account-main .um-request-button,
body.fp-account-page .um-account-main .fp-mission-footer button,
body.page-account .um-account-main .fp-mission-footer button,
body.fp-account-page .um-account-main .fp-coin-shop-success-actions a:first-child,
body.page-account .um-account-main .fp-coin-shop-success-actions a:first-child,
body.fp-account-page .um-account-main .fp-profile-actions a,
body.page-account .um-account-main .fp-profile-actions a,
body.fp-account-page .um-account-main .fp-dashboard-actions a:not(.fp-dashboard-action-card),
body.page-account .um-account-main .fp-dashboard-actions a:not(.fp-dashboard-action-card) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 12px 22px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--fp-btn) !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(143, 108, 255, .22) !important;
    cursor: pointer !important;
    transition: transform .16s ease, box-shadow .16s ease !important;
}

body.fp-account-page .um-account-main .fp-order-card a,
body.page-account .um-account-main .fp-order-card a,
body.fp-account-page .um-account-main .fp-coin-shop-success-actions a:nth-child(2),
body.page-account .um-account-main .fp-coin-shop-success-actions a:nth-child(2) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--fp-purple-dark) !important;
    border: 2px solid rgba(155, 124, 255, .22) !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

/* Module wrappers: no double box (dashboard keeps plugin styling) */
body.fp-account-page .um-account-main .fp-coin-shop,
body.fp-account-page .um-account-main .fp-account-coins-hub,
body.fp-account-page .um-account-main .fp-orders-box,
body.fp-account-page .um-account-main .fp-achievements-box,
body.fp-account-page .um-account-main .fp-missions-box,
body.fp-account-page .um-account-main .fp-leaderboards-box,
body.fp-account-page .um-account-main .fp-collector-profile,
body.fp-account-page .um-account-main .fp-card-duel-box,
body.fp-account-page .um-account-main .fp-album-shop,
body.page-account .um-account-main .fp-coin-shop,
body.page-account .um-account-main .fp-account-coins-hub,
body.page-account .um-account-main .fp-orders-box,
body.page-account .um-account-main .fp-achievements-box,
body.page-account .um-account-main .fp-missions-box,
body.page-account .um-account-main .fp-leaderboards-box,
body.page-account .um-account-main .fp-collector-profile,
body.page-account .um-account-main .fp-card-duel-box,
body.page-account .um-account-main .fp-album-shop {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
}

body.fp-account-page .um-account-main h2,
body.page-account .um-account-main h2 {
    margin: 0 0 16px !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    color: var(--fp-ink) !important;
}

body.fp-account-page .um-account-main p,
body.page-account .um-account-main p {
    color: var(--fp-muted) !important;
    line-height: 1.55 !important;
}

/* Dashboard: plugin styles from flexipets-konfigurator/style.css */
body.fp-account-page .um-account-main .fp-user-dashboard h2,
body.page-account .um-account-main .fp-user-dashboard h2 {
    margin: 0 0 6px !important;
    font-size: 38px !important;
    font-weight: inherit !important;
    color: #7448f1 !important;
    font-family: 'Baloo 2', 'Poppins', sans-serif !important;
}

body.fp-account-page .um-account-main .fp-user-dashboard .fp-dashboard-section-title,
body.page-account .um-account-main .fp-user-dashboard .fp-dashboard-section-title {
    margin: 10px 0 16px !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #7448f1 !important;
    font-family: 'Baloo 2', 'Poppins', sans-serif !important;
}

body.fp-account-page .um-account-main .fp-user-dashboard .fp-dashboard-hero p,
body.page-account .um-account-main .fp-user-dashboard .fp-dashboard-hero p {
    color: #5f6273 !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
}

/* Coins hub inside account tab — must fit content column, not full page width */
body.fp-account-page .um-account-main .fp-account-coins-hub,
body.page-account .um-account-main .fp-account-coins-hub,
body.um-page-account .um-account-main .fp-account-coins-hub {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

body.fp-account-page .um-account-tab[data-tab="flexicoins"],
body.page-account .um-account-tab[data-tab="flexicoins"],
body.um-page-account .um-account-tab[data-tab="flexicoins"] {
    min-width: 0 !important;
    overflow: visible !important;
}

body.fp-account-page .um-account-main .fp-account-coins-section,
body.fp-account-page .um-account-main .fp-account-coins-hero,
body.fp-account-page .um-account-main .fp-account-coins-daily,
body.page-account .um-account-main .fp-account-coins-section,
body.page-account .um-account-main .fp-account-coins-hero,
body.page-account .um-account-main .fp-account-coins-daily,
body.um-page-account .um-account-main .fp-account-coins-section,
body.um-page-account .um-account-main .fp-account-coins-hero,
body.um-page-account .um-account-main .fp-account-coins-daily {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.fp-account-page .um-account-main .fp-account-coins-daily__btn,
body.page-account .um-account-main .fp-account-coins-daily__btn,
body.um-page-account .um-account-main .fp-account-coins-daily__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 56px !important;
    min-width: 180px !important;
    padding: 18px 30px !important;
    border: 1px solid rgba(176, 128, 12, 0.38) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #ffe08a 0%, #f3c842 42%, #d4a012 100%) !important;
    color: #4a2f00 !important;
    font-family: 'Baloo 2', 'Poppins', sans-serif !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    box-shadow: 0 12px 26px rgba(168, 118, 16, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
    white-space: nowrap !important;
}

body.fp-account-page .um-account-main .fp-account-coins-daily__btn:hover,
body.page-account .um-account-main .fp-account-coins-daily__btn:hover,
body.um-page-account .um-account-main .fp-account-coins-daily__btn:hover {
    color: #3f2800 !important;
    filter: brightness(1.04) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 30px rgba(168, 118, 16, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}

body.fp-account-page .um-account-main .fp-account-coins-shop-grid,
body.fp-account-page .um-account-main .fp-account-coins-buy-grid,
body.page-account .um-account-main .fp-account-coins-shop-grid,
body.page-account .um-account-main .fp-account-coins-buy-grid,
body.um-page-account .um-account-main .fp-account-coins-shop-grid,
body.um-page-account .um-account-main .fp-account-coins-buy-grid {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)) !important;
}

body.fp-account-page .um-account-main .fp-account-coins-shop-card,
body.fp-account-page .um-account-main .fp-account-coins-buy-card,
body.page-account .um-account-main .fp-account-coins-shop-card,
body.page-account .um-account-main .fp-account-coins-buy-card,
body.um-page-account .um-account-main .fp-account-coins-shop-card,
body.um-page-account .um-account-main .fp-account-coins-buy-card {
    min-width: 0 !important;
    max-width: 100% !important;
}

/* Coins */
body.fp-account-page .um-account-tab[data-tab="flexicoins"] .um-account-heading + img,
body.fp-account-page .um-account-tab[data-tab="flexicoins"] .fp-coins-header img,
body.fp-account-page .um-account-tab[data-tab="flexicoins"] .fp-coins-icon,
body.page-account .um-account-tab[data-tab="flexicoins"] .um-account-heading + img,
body.page-account .um-account-tab[data-tab="flexicoins"] .fp-coins-header img,
body.page-account .um-account-tab[data-tab="flexicoins"] .fp-coins-icon,
body.um-page-account .um-account-tab[data-tab="flexicoins"] .um-account-heading + img,
body.um-page-account .um-account-tab[data-tab="flexicoins"] .fp-coins-header img,
body.um-page-account .um-account-tab[data-tab="flexicoins"] .fp-coins-icon {
    display: none !important;
}

body.fp-account-page .um-account-main .fp-coins-wrap,
body.page-account .um-account-main .fp-coins-wrap,
body.um-page-account .um-account-main .fp-coins-wrap {
    width: 100% !important;
    max-width: none !important;
}

body.fp-account-page .um-account-main .fp-coins-box,
body.page-account .um-account-main .fp-coins-box,
body.um-page-account .um-account-main .fp-coins-box {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 32px 36px !important;
    border-radius: 28px !important;
    background: linear-gradient(135deg, #fff8e7 0%, #fff2fb 55%, #fffaf5 100%) !important;
    border: 1px solid rgba(255, 255, 255, .95) !important;
    box-shadow: var(--fp-soft) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px 28px !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

body.fp-account-page .um-account-main .fp-coins-box > :not(button):not(.fp-daily-coin-button):not(input[type='submit']),
body.page-account .um-account-main .fp-coins-box > :not(button):not(.fp-daily-coin-button):not(input[type='submit']),
body.um-page-account .um-account-main .fp-coins-box > :not(button):not(.fp-daily-coin-button):not(input[type='submit']) {
    grid-column: 1 !important;
}

body.fp-account-page .um-account-main .fp-coins-box > button,
body.fp-account-page .um-account-main .fp-coins-box > .fp-daily-coin-button,
body.fp-account-page .um-account-main .fp-coins-box > input[type='submit'],
body.page-account .um-account-main .fp-coins-box > button,
body.page-account .um-account-main .fp-coins-box > .fp-daily-coin-button,
body.page-account .um-account-main .fp-coins-box > input[type='submit'],
body.um-page-account .um-account-main .fp-coins-box > button,
body.um-page-account .um-account-main .fp-coins-box > .fp-daily-coin-button,
body.um-page-account .um-account-main .fp-coins-box > input[type='submit'] {
    grid-column: 2 !important;
    grid-row: 1 / -1 !important;
}

body.fp-account-page .um-account-main .fp-coins-box > img,
body.fp-account-page .um-account-main .fp-coins-box > .fp-coins-emoji,
body.page-account .um-account-main .fp-coins-box > img,
body.page-account .um-account-main .fp-coins-box > .fp-coins-emoji,
body.um-page-account .um-account-main .fp-coins-box > img,
body.um-page-account .um-account-main .fp-coins-box > .fp-coins-emoji {
    display: none !important;
}

body.fp-account-page .um-account-main .fp-coins-count,
body.page-account .um-account-main .fp-coins-count,
body.um-page-account .um-account-main .fp-coins-count {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.fp-account-page .um-account-main .fp-coins-count strong,
body.page-account .um-account-main .fp-coins-count strong,
body.um-page-account .um-account-main .fp-coins-count strong {
    display: inline-block !important;
    margin: 0 8px 0 0 !important;
    font-size: clamp(42px, 5vw, 58px) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    color: var(--fp-ink) !important;
    letter-spacing: -.02em !important;
}

body.fp-account-page .um-account-main .fp-coins-count,
body.fp-account-page .um-account-main .fp-coins-label,
body.fp-account-page .um-account-main .fp-coins-box > p,
body.page-account .um-account-main .fp-coins-count,
body.page-account .um-account-main .fp-coins-label,
body.page-account .um-account-main .fp-coins-box > p,
body.um-page-account .um-account-main .fp-coins-count,
body.um-page-account .um-account-main .fp-coins-label,
body.um-page-account .um-account-main .fp-coins-box > p {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--fp-muted) !important;
    line-height: 1.45 !important;
}

body.fp-account-page .um-account-main .fp-coins-box .fp-coins-subtitle,
body.fp-account-page .um-account-main .fp-coins-box h3,
body.fp-account-page .um-account-main .fp-coins-meta,
body.page-account .um-account-main .fp-coins-box .fp-coins-subtitle,
body.page-account .um-account-main .fp-coins-box h3,
body.page-account .um-account-main .fp-coins-meta,
body.um-page-account .um-account-main .fp-coins-box .fp-coins-subtitle,
body.um-page-account .um-account-main .fp-coins-box h3,
body.um-page-account .um-account-main .fp-coins-meta {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--fp-purple-dark) !important;
}

body.fp-account-page .um-account-main .fp-daily-coin-button,
body.fp-account-page .um-account-main .fp-coins-box .fp-daily-coin-button,
body.fp-account-page .um-account-main .fp-coins-box button,
body.page-account .um-account-main .fp-daily-coin-button,
body.page-account .um-account-main .fp-coins-box .fp-daily-coin-button,
body.page-account .um-account-main .fp-coins-box button,
body.um-page-account .um-account-main .fp-daily-coin-button,
body.um-page-account .um-account-main .fp-coins-box .fp-daily-coin-button,
body.um-page-account .um-account-main .fp-coins-box button {
    justify-self: end !important;
    align-self: center !important;
    width: auto !important;
    max-width: min(100%, 320px) !important;
    min-width: 0 !important;
    min-height: 52px !important;
    height: auto !important;
    aspect-ratio: auto !important;
    padding: 14px 24px !important;
    border-radius: 999px !important;
    border: none !important;
    background: var(--fp-btn) !important;
    color: #fff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-align: center !important;
    box-shadow: 0 12px 28px rgba(143, 108, 255, .24) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

body.fp-account-page .um-account-main .fp-daily-coin-button:hover,
body.page-account .um-account-main .fp-daily-coin-button:hover,
body.um-page-account .um-account-main .fp-daily-coin-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 32px rgba(143, 108, 255, .28) !important;
}

@media (max-width: 720px) {
    body.fp-account-page .um-account-main .fp-coins-box,
    body.page-account .um-account-main .fp-coins-box,
    body.um-page-account .um-account-main .fp-coins-box {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 24px 20px !important;
    }

    body.fp-account-page .um-account-main .fp-coins-box > button,
    body.fp-account-page .um-account-main .fp-coins-box > .fp-daily-coin-button,
    body.fp-account-page .um-account-main .fp-coins-box > input[type='submit'],
    body.page-account .um-account-main .fp-coins-box > button,
    body.page-account .um-account-main .fp-coins-box > .fp-daily-coin-button,
    body.page-account .um-account-main .fp-coins-box > input[type='submit'],
    body.um-page-account .um-account-main .fp-coins-box > button,
    body.um-page-account .um-account-main .fp-coins-box > .fp-daily-coin-button,
    body.um-page-account .um-account-main .fp-coins-box > input[type='submit'] {
        grid-column: 1 !important;
        grid-row: auto !important;
        justify-self: stretch !important;
        max-width: none !important;
    }
}

/* Coin shop */
body.fp-account-page .um-account-main .fp-coin-shop-grid,
body.page-account .um-account-main .fp-coin-shop-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    gap: 16px !important;
}

body.fp-account-page .um-account-main .fp-coin-shop-card,
body.page-account .um-account-main .fp-coin-shop-card {
    padding: 20px !important;
    border-radius: 24px !important;
    background: var(--fp-panel) !important;
    border: 1px solid var(--fp-border) !important;
    box-shadow: var(--fp-soft) !important;
    text-align: center !important;
}

body.fp-account-page .um-account-main .fp-coin-shop-price,
body.page-account .um-account-main .fp-coin-shop-price {
    display: inline-flex !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--fp-purple-dark) !important;
    font-weight: 900 !important;
}

body.fp-account-page .um-account-main .fp-coin-shop-buy,
body.page-account .um-account-main .fp-coin-shop-buy {
    width: 100% !important;
    margin-top: 8px !important;
}

/* Orders */
body.fp-account-page .um-account-main .fp-orders-wrap,
body.page-account .um-account-main .fp-orders-wrap,
body.um-page-account .um-account-main .fp-orders-wrap {
    margin-top: 4px !important;
}

body.fp-account-page .um-account-tab[data-tab="flexipets_orders"] .um-account-heading + img,
body.fp-account-page .um-account-tab[data-tab="flexipets_orders"] .fp-orders-header img,
body.fp-account-page .um-account-tab[data-tab="flexipets_orders"] .fp-orders-header .fp-orders-icon,
body.fp-account-page .um-account-tab[data-tab="flexipets_orders"] .fp-order-module-icon,
body.page-account .um-account-tab[data-tab="flexipets_orders"] .um-account-heading + img,
body.page-account .um-account-tab[data-tab="flexipets_orders"] .fp-orders-header img,
body.page-account .um-account-tab[data-tab="flexipets_orders"] .fp-orders-header .fp-orders-icon,
body.page-account .um-account-tab[data-tab="flexipets_orders"] .fp-order-module-icon,
body.um-page-account .um-account-tab[data-tab="flexipets_orders"] .um-account-heading + img,
body.um-page-account .um-account-tab[data-tab="flexipets_orders"] .fp-orders-header img,
body.um-page-account .um-account-tab[data-tab="flexipets_orders"] .fp-orders-header .fp-orders-icon,
body.um-page-account .um-account-tab[data-tab="flexipets_orders"] .fp-order-module-icon {
    display: none !important;
}

body.fp-account-page .um-account-main .fp-orders-wrap > h3,
body.fp-account-page .um-account-main .fp-orders-header h3,
body.fp-account-page .um-account-tab[data-tab="flexipets_orders"] h3,
body.page-account .um-account-main .fp-orders-wrap > h3,
body.page-account .um-account-main .fp-orders-header h3,
body.page-account .um-account-tab[data-tab="flexipets_orders"] h3,
body.um-page-account .um-account-main .fp-orders-wrap > h3,
body.um-page-account .um-account-main .fp-orders-header h3,
body.um-page-account .um-account-tab[data-tab="flexipets_orders"] h3 {
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: none !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: var(--fp-ink) !important;
}

body.fp-account-page .um-account-main .fp-orders-list,
body.page-account .um-account-main .fp-orders-list,
body.um-page-account .um-account-main .fp-orders-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

body.fp-account-page .um-account-main .fp-order-card,
body.page-account .um-account-main .fp-order-card,
body.um-page-account .um-account-main .fp-order-card {
    display: grid !important;
    grid-template-columns: minmax(190px, 1.4fr) minmax(110px, 0.85fr) minmax(88px, 0.65fr) auto !important;
    gap: 14px 18px !important;
    align-items: center !important;
    padding: 18px 22px !important;
    border-radius: 20px !important;
    background: #fff !important;
    border: 1px solid rgba(155, 124, 255, .16) !important;
    box-shadow: 0 8px 22px rgba(91, 62, 140, .07) !important;
    transition: transform .15s ease, box-shadow .15s ease !important;
}

body.fp-account-page .um-account-main .fp-order-card:hover,
body.page-account .um-account-main .fp-order-card:hover,
body.um-page-account .um-account-main .fp-order-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(91, 62, 140, .11) !important;
}

body.fp-account-page .um-account-main .fp-order-card strong,
body.fp-account-page .um-account-main .fp-order-card .fp-order-number,
body.page-account .um-account-main .fp-order-card strong,
body.page-account .um-account-main .fp-order-card .fp-order-number,
body.um-page-account .um-account-main .fp-order-card strong,
body.um-page-account .um-account-main .fp-order-card .fp-order-number {
    display: block !important;
    margin: 0 0 4px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    color: var(--fp-ink) !important;
    line-height: 1.2 !important;
}

body.fp-account-page .um-account-main .fp-order-card small,
body.fp-account-page .um-account-main .fp-order-card .fp-order-date,
body.fp-account-page .um-account-main .fp-order-card time,
body.page-account .um-account-main .fp-order-card small,
body.page-account .um-account-main .fp-order-card .fp-order-date,
body.page-account .um-account-main .fp-order-card time,
body.um-page-account .um-account-main .fp-order-card small,
body.um-page-account .um-account-main .fp-order-card .fp-order-date,
body.um-page-account .um-account-main .fp-order-card time {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--fp-muted) !important;
    line-height: 1.3 !important;
}

body.fp-account-page .um-account-main .fp-order-card .fp-order-status,
body.page-account .um-account-main .fp-order-card .fp-order-status,
body.um-page-account .um-account-main .fp-order-card .fp-order-status {
    justify-self: start !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: rgba(155, 124, 255, .1) !important;
    color: var(--fp-purple-dark) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

body.fp-account-page .um-account-main .fp-order-card .fp-order-total,
body.page-account .um-account-main .fp-order-card .fp-order-total,
body.um-page-account .um-account-main .fp-order-card .fp-order-total {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: var(--fp-ink) !important;
    white-space: nowrap !important;
}

body.fp-account-page .um-account-main .fp-order-card a,
body.fp-account-page .um-account-main .fp-order-card .fp-order-details,
body.page-account .um-account-main .fp-order-card a,
body.page-account .um-account-main .fp-order-card .fp-order-details,
body.um-page-account .um-account-main .fp-order-card a,
body.um-page-account .um-account-main .fp-order-card .fp-order-details {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 2px solid rgba(143, 108, 255, .35) !important;
    color: var(--fp-purple-dark) !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

body.fp-account-page .um-account-main .fp-order-card a:hover,
body.fp-account-page .um-account-main .fp-order-card .fp-order-details:hover,
body.page-account .um-account-main .fp-order-card a:hover,
body.page-account .um-account-main .fp-order-card .fp-order-details:hover,
body.um-page-account .um-account-main .fp-order-card a:hover,
body.um-page-account .um-account-main .fp-order-card .fp-order-details:hover {
    background: rgba(143, 108, 255, .08) !important;
    transform: none !important;
}

/* Order detail view inside account tab */
body.fp-account-page .um-account-main .fp-order-detail-view,
body.page-account .um-account-main .fp-order-detail-view,
body.um-page-account .um-account-main .fp-order-detail-view {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
}

body.fp-account-page .um-account-main .fp-order-detail-back,
body.page-account .um-account-main .fp-order-detail-back,
body.um-page-account .um-account-main .fp-order-detail-back {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: fit-content !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background: rgba(155, 124, 255, .08) !important;
    color: var(--fp-purple-dark) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: background .15s ease !important;
}

body.fp-account-page .um-account-main .fp-order-detail-back:hover,
body.page-account .um-account-main .fp-order-detail-back:hover,
body.um-page-account .um-account-main .fp-order-detail-back:hover {
    background: rgba(155, 124, 255, .14) !important;
}

body.fp-account-page .um-account-main .fp-order-detail-head,
body.page-account .um-account-main .fp-order-detail-head,
body.um-page-account .um-account-main .fp-order-detail-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 20px 22px !important;
    border-radius: 22px !important;
    background: linear-gradient(135deg, #fff 0%, #f8f5ff 100%) !important;
    border: 1px solid rgba(155, 124, 255, .14) !important;
    box-shadow: 0 8px 22px rgba(91, 62, 140, .07) !important;
}

body.fp-account-page .um-account-main .fp-order-detail-title,
body.page-account .um-account-main .fp-order-detail-title,
body.um-page-account .um-account-main .fp-order-detail-title {
    margin: 0 0 4px !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    color: var(--fp-ink) !important;
}

body.fp-account-page .um-account-main .fp-order-detail-date,
body.page-account .um-account-main .fp-order-detail-date,
body.um-page-account .um-account-main .fp-order-detail-date {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--fp-muted) !important;
}

body.fp-account-page .um-account-main .fp-order-detail-section,
body.page-account .um-account-main .fp-order-detail-section,
body.um-page-account .um-account-main .fp-order-detail-section {
    padding: 18px 20px !important;
    border-radius: 20px !important;
    background: #fff !important;
    border: 1px solid rgba(155, 124, 255, .12) !important;
    box-shadow: 0 6px 18px rgba(91, 62, 140, .05) !important;
}

body.fp-account-page .um-account-main .fp-order-detail-section h4,
body.page-account .um-account-main .fp-order-detail-section h4,
body.um-page-account .um-account-main .fp-order-detail-section h4 {
    margin: 0 0 14px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    color: var(--fp-ink) !important;
}

body.fp-account-page .um-account-main .fp-order-items,
body.page-account .um-account-main .fp-order-items,
body.um-page-account .um-account-main .fp-order-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

body.fp-account-page .um-account-main .fp-order-item,
body.page-account .um-account-main .fp-order-item,
body.um-page-account .um-account-main .fp-order-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px 16px !important;
    align-items: start !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    background: rgba(248, 245, 255, .72) !important;
    border: 1px solid rgba(155, 124, 255, .1) !important;
}

body.fp-account-page .um-account-main .fp-order-item-main strong,
body.page-account .um-account-main .fp-order-item-main strong,
body.um-page-account .um-account-main .fp-order-item-main strong {
    display: block !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: var(--fp-ink) !important;
}

body.fp-account-page .um-account-main .fp-order-item-qty,
body.page-account .um-account-main .fp-order-item-qty,
body.um-page-account .um-account-main .fp-order-item-qty {
    display: inline-block !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--fp-muted) !important;
}

body.fp-account-page .um-account-main .fp-order-item-total,
body.page-account .um-account-main .fp-order-item-total,
body.um-page-account .um-account-main .fp-order-item-total {
    font-size: 14px !important;
    font-weight: 900 !important;
    color: var(--fp-purple-dark) !important;
    white-space: nowrap !important;
}

body.fp-account-page .um-account-main .fp-order-item-meta,
body.page-account .um-account-main .fp-order-item-meta,
body.um-page-account .um-account-main .fp-order-item-meta {
    grid-column: 1 / -1 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: var(--fp-muted) !important;
}

body.fp-account-page .um-account-main .fp-order-detail-grid,
body.page-account .um-account-main .fp-order-detail-grid,
body.um-page-account .um-account-main .fp-order-detail-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

body.fp-account-page .um-account-main .fp-order-address,
body.fp-account-page .um-account-main .fp-order-note,
body.page-account .um-account-main .fp-order-address,
body.page-account .um-account-main .fp-order-note,
body.um-page-account .um-account-main .fp-order-address,
body.um-page-account .um-account-main .fp-order-note {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: var(--fp-ink) !important;
}

body.fp-account-page .um-account-main .fp-order-totals-list,
body.page-account .um-account-main .fp-order-totals-list,
body.um-page-account .um-account-main .fp-order-totals-list {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

body.fp-account-page .um-account-main .fp-order-total-row,
body.page-account .um-account-main .fp-order-total-row,
body.um-page-account .um-account-main .fp-order-total-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(155, 124, 255, .1) !important;
}

body.fp-account-page .um-account-main .fp-order-total-row:last-child,
body.page-account .um-account-main .fp-order-total-row:last-child,
body.um-page-account .um-account-main .fp-order-total-row:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

body.fp-account-page .um-account-main .fp-order-total-row dt,
body.page-account .um-account-main .fp-order-total-row dt,
body.um-page-account .um-account-main .fp-order-total-row dt,
body.fp-account-page .um-account-main .fp-order-total-row dd,
body.page-account .um-account-main .fp-order-total-row dd,
body.um-page-account .um-account-main .fp-order-total-row dd {
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

body.fp-account-page .um-account-main .fp-order-detail-error,
body.page-account .um-account-main .fp-order-detail-error,
body.um-page-account .um-account-main .fp-order-detail-error {
    padding: 16px 18px !important;
    border-radius: 16px !important;
    background: rgba(255, 114, 170, .08) !important;
    border: 1px solid rgba(255, 114, 170, .18) !important;
    color: #8a3158 !important;
}

body.fp-account-page .um-account-main .fp-orders-empty,
body.page-account .um-account-main .fp-orders-empty,
body.um-page-account .um-account-main .fp-orders-empty {
    margin: 0 !important;
    padding: 16px 18px !important;
    border-radius: 16px !important;
    background: rgba(248, 245, 255, .72) !important;
    color: var(--fp-muted) !important;
}

/* Achievements / missions / leaderboards */
body.fp-account-page .um-account-main .fp-achievements-grid,
body.fp-account-page .um-account-main .fp-missions-list,
body.fp-account-page .um-account-main .fp-leaderboards-grid,
body.page-account .um-account-main .fp-achievements-grid,
body.page-account .um-account-main .fp-missions-list,
body.page-account .um-account-main .fp-leaderboards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    gap: 14px !important;
}

body.fp-account-page .um-account-main .fp-achievement-card,
body.fp-account-page .um-account-main .fp-mission-card,
body.fp-account-page .um-account-main .fp-leaderboard-card,
body.page-account .um-account-main .fp-achievement-card,
body.page-account .um-account-main .fp-mission-card,
body.page-account .um-account-main .fp-leaderboard-card {
    padding: 18px !important;
    border-radius: 22px !important;
    background: var(--fp-panel) !important;
    border: 1px solid var(--fp-border) !important;
    box-shadow: var(--fp-soft) !important;
}

body.fp-account-page .um-account-main .fp-achievement-card.is-unlocked,
body.fp-account-page .um-account-main .fp-mission-card.fp-mission-completed,
body.page-account .um-account-main .fp-achievement-card.is-unlocked,
body.page-account .um-account-main .fp-mission-card.fp-mission-completed {
    border-color: rgba(143, 108, 255, .4) !important;
    background: linear-gradient(135deg, #fffaf2, #f7efff) !important;
}

body.fp-account-page .um-account-main .fp-progress-bar,
body.fp-account-page .um-account-main .fp-achievement-progress,
body.page-account .um-account-main .fp-progress-bar,
body.page-account .um-account-main .fp-achievement-progress {
    height: 10px !important;
    border-radius: 999px !important;
    background: #ece6ff !important;
    overflow: hidden !important;
}

body.fp-account-page .um-account-main .fp-progress-fill,
body.fp-account-page .um-account-main .fp-achievement-progress div,
body.page-account .um-account-main .fp-progress-fill,
body.page-account .um-account-main .fp-achievement-progress div {
    height: 100% !important;
    background: linear-gradient(90deg, var(--fp-purple), var(--fp-pink)) !important;
}

body.fp-account-page .um-account-main .fp-leaderboard-row,
body.page-account .um-account-main .fp-leaderboard-row {
    background: #fff !important;
    border-radius: 14px !important;
    padding: 10px 12px !important;
}

/* Collector profile */
body.fp-account-page .um-account-main .fp-profile-hero,
body.page-account .um-account-main .fp-profile-hero {
    padding: 22px !important;
    margin-bottom: 18px !important;
    border-radius: 26px !important;
    background: linear-gradient(135deg, #f7f5ff, #fff7e8) !important;
    border: 1px solid var(--fp-border) !important;
}

body.fp-account-page .um-account-main .fp-profile-sections,
body.page-account .um-account-main .fp-profile-sections {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 14px !important;
}

body.fp-account-page .um-account-main .fp-profile-section,
body.page-account .um-account-main .fp-profile-section {
    padding: 16px !important;
    border-radius: 20px !important;
    background: var(--fp-panel) !important;
    border: 1px solid var(--fp-border) !important;
}

body.fp-account-page .um-account-main .fp-profile-pet-grid,
body.page-account .um-account-main .fp-profile-pet-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
    gap: 10px !important;
}

body.fp-account-page .um-account-main .fp-profile-pet-card,
body.page-account .um-account-main .fp-profile-pet-card {
    padding: 10px !important;
    border-radius: 16px !important;
    background: #fff !important;
    text-align: center !important;
    text-decoration: none !important;
    color: var(--fp-ink) !important;
    box-shadow: var(--fp-soft) !important;
}

/* Card duel */
body.fp-account-page .um-account-main .fp-duel-progress,
body.page-account .um-account-main .fp-duel-progress {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 16px 0 20px !important;
}

body.fp-account-page .um-account-main .fp-duel-progress span,
body.page-account .um-account-main .fp-duel-progress span {
    padding: 9px 13px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .85) !important;
    border: 1px solid var(--fp-border) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    color: var(--fp-muted) !important;
}

body.fp-account-page .um-account-main .fp-duel-progress span.active,
body.page-account .um-account-main .fp-duel-progress span.active {
    background: var(--fp-btn) !important;
    color: #fff !important;
    border-color: transparent !important;
}

body.fp-account-page .um-account-main .fp-duel-stage,
body.page-account .um-account-main .fp-duel-stage {
    padding: 22px !important;
    margin-bottom: 14px !important;
    border-radius: 24px !important;
    background: var(--fp-panel) !important;
    border: 1px solid var(--fp-border) !important;
    box-shadow: var(--fp-soft) !important;
}

body.fp-account-page .um-account-main .fp-duel-pet-select-grid,
body.fp-account-page .um-account-main .fp-duel-trait-grid,
body.fp-account-page .um-account-main .fp-duel-tactic-grid,
body.page-account .um-account-main .fp-duel-pet-select-grid,
body.page-account .um-account-main .fp-duel-trait-grid,
body.page-account .um-account-main .fp-duel-tactic-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
    gap: 12px !important;
}

body.fp-account-page .um-account-main .fp-duel-pet-option-card,
body.fp-account-page .um-account-main .fp-duel-trait-choice,
body.fp-account-page .um-account-main .fp-duel-tactic,
body.page-account .um-account-main .fp-duel-pet-option-card,
body.page-account .um-account-main .fp-duel-trait-choice,
body.page-account .um-account-main .fp-duel-tactic {
    border-radius: 20px !important;
    background: #fff !important;
    border: 2px solid rgba(155, 124, 255, .14) !important;
    box-shadow: var(--fp-soft) !important;
}

body.fp-account-page .um-account-main .fp-duel-pet-option input:checked + .fp-duel-pet-option-card,
body.fp-account-page .um-account-main .fp-duel-trait-choice.active,
body.fp-account-page .um-account-main .fp-duel-tactic.active,
body.page-account .um-account-main .fp-duel-pet-option input:checked + .fp-duel-pet-option-card,
body.page-account .um-account-main .fp-duel-trait-choice.active,
body.page-account .um-account-main .fp-duel-tactic.active {
    border-color: var(--fp-purple) !important;
    box-shadow: 0 0 0 4px rgba(143, 108, 255, .12), var(--fp-soft) !important;
}

/* Album inside account */
body.fp-account-page .um-account-main .fp-album-shop,
body.page-account .um-account-main .fp-album-shop {
    --fp-album-width: 100%;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.fp-account-page .um-account-main .fp-album-tab.active,
body.page-account .um-account-main .fp-album-tab.active {
    background: var(--fp-btn) !important;
    color: #fff !important;
}

body.fp-account-page .um-account-main .fp-album-shop-small-btn,
body.page-account .um-account-main .fp-album-shop-small-btn {
    background: var(--fp-btn) !important;
    color: #fff !important;
    border-radius: 999px !important;
}

@media (max-width: 900px) {
    body.fp-account-page .um-account > form,
    body.fp-account-page .um-account form.um-form,
    body.fp-account-page .um-account .um-form > form,
    body.fp-account-page .um-account > .um-form > form,
    body.page-account .um-account > form,
    body.page-account .um-account form.um-form,
    body.page-account .um-account .um-form > form,
    body.page-account .um-account > .um-form > form,
    body.um-page-account .um-account > form,
    body.um-page-account .um-account form.um-form,
    body.um-page-account .um-account .um-form > form,
    body.um-page-account .um-account > .um-form > form {
        display: block !important;
    }

    body.fp-account-page .um-account > .um-form > form > .um-account-side,
    body.fp-account-page .um-account > form > .um-account-side,
    body.fp-account-page .um-account form > .um-account-side,
    body.page-account .um-account > .um-form > form > .um-account-side,
    body.page-account .um-account > form > .um-account-side,
    body.page-account .um-account form > .um-account-side,
    body.um-page-account .um-account > .um-form > form > .um-account-side,
    body.um-page-account .um-account > form > .um-account-side,
    body.um-page-account .um-account form > .um-account-side {
        width: 100% !important;
        max-width: none !important;
        position: static !important;
        margin-bottom: 14px !important;
    }

    body.fp-account-page .um-account > .um-form > form > .um-account-main,
    body.fp-account-page .um-account > form > .um-account-main,
    body.fp-account-page .um-account form > .um-account-main,
    body.page-account .um-account > .um-form > form > .um-account-main,
    body.page-account .um-account > form > .um-account-main,
    body.page-account .um-account form > .um-account-main,
    body.um-page-account .um-account > .um-form > form > .um-account-main,
    body.um-page-account .um-account > form > .um-account-main,
    body.um-page-account .um-account form > .um-account-main,
    body.fp-account-page .um-account .um-account-main,
    body.page-account .um-account .um-account-main,
    body.um-page-account .um-account .um-account-main {
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        padding: 22px 16px !important;
    }

    body.fp-account-page .um-account-main > .um-account-nav,
    body.page-account .um-account-main > .um-account-nav {
        display: block !important;
    }

    body.fp-account-page .um-account-main .fp-order-card,
    body.page-account .um-account-main .fp-order-card {
        grid-template-columns: 1fr !important;
    }

    body.fp-account-page .um-account-main .fp-order-detail-grid,
    body.page-account .um-account-main .fp-order-detail-grid {
        grid-template-columns: 1fr !important;
    }

    body.fp-account-page .um-account-main .fp-order-detail-head,
    body.page-account .um-account-main .fp-order-detail-head {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}
