.premium-content {
    max-width: 100%;}
        .bids-page { width: 100%; color: var(--premium-text-primary, #f8f7ff); }
.bids-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.bids-heading > div:first-child > span { color: #a78bfa; font-size: .66rem; font-weight: 900; letter-spacing: .14em; }
.bids-heading h1 { margin: .1rem 0 .15rem; font-size: clamp(1.55rem, 4vw, 2.25rem); font-weight: 900; }
.bids-heading p { margin: 0; color: var(--premium-text-secondary, #9992ad); font-size: .8rem; }
.bids-count { min-width: 9rem; padding: .65rem .85rem; border: 1px solid rgba(139, 92, 246, .28); border-radius: .65rem; background: rgba(20, 17, 55, .7); text-align: right; }
.bids-count strong, .bids-count span { display: block; }
.bids-count strong { color: #c4b5fd; font-size: 1.15rem; }
.bids-count span { color: #938aa8; font-size: .66rem; }
.bids-filters { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(155px, 1fr) minmax(140px, 1fr) auto auto; align-items: end; gap: .65rem; margin-bottom: 1rem; padding: .85rem; border: 1px solid rgba(139, 92, 246, .24); border-radius: .75rem; background: rgba(9, 10, 36, .78); }
.bids-filters label { display: flex; flex-direction: column; gap: .3rem; min-width: 0; color: #aaa2bd; font-size: .68rem; }
.bids-filters input, .bids-filters select { width: 100%; min-height: 2.4rem; padding: .5rem .65rem; border: 1px solid rgba(139, 92, 246, .34); border-radius: .45rem; color: inherit; background: #0b0d2d; font: inherit; font-size: .76rem; }
.bids-filters button, .bids-clear { display: inline-flex; min-height: 2.4rem; align-items: center; justify-content: center; padding: .5rem .85rem; border: 0; border-radius: .45rem; color: #fff; background: linear-gradient(105deg, #6d28d9, #8b5cf6); font-size: .73rem; font-weight: 850; text-decoration: none; }
.bids-clear { border: 1px solid rgba(139, 92, 246, .34); color: #c4b5fd; background: transparent; }
.bids-card { overflow: hidden; border: 1px solid rgba(139, 92, 246, .25); border-radius: .8rem; background: rgba(5, 7, 30, .82); box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .14); }
.bids-card-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border-bottom: 1px solid rgba(139, 92, 246, .18); color: #9189a6; font-size: .68rem; }
.bids-card-bar > div { display: flex; align-items: center; gap: .65rem; }
.bids-card-bar button { padding: .3rem .5rem; border: 1px solid rgba(139, 92, 246, .3); border-radius: .35rem; color: #c4b5fd; background: rgba(124, 58, 237, .08); font: inherit; font-weight: 800; }
.bids-table-scroll, .bid-numbers-scroll { overflow-x: auto; }
.bids-table, .bid-numbers-table { width: 100%; border-collapse: collapse; font-size: .72rem; }
.bids-table { min-width: 2307px; table-layout: fixed; }
.bids-table col.bids-col-user { width: 140px; }
.bids-table col.bids-col-id { width: 60px; }
.bids-table col.bids-col-date { width: 105px; }
.bids-table col.bids-col-market { width: 90px; }
.bids-table col.bids-col-session { width: 70px; }
.bids-table col.bids-col-result { width: 105px; }
.bids-table col.bids-col-status { width: 75px; }
.bids-table col.bids-col-message { width: 190px; }
.bids-table col.bids-col-amount { width: 92px; }
.bids-table th, .bids-table td { padding: .52rem .42rem; }
.bids-table th, .bids-table td, .bid-numbers-table th, .bid-numbers-table td { border-bottom: 1px solid rgba(139, 92, 246, .13); vertical-align: middle; }
.bid-numbers-table th, .bid-numbers-table td { padding: .65rem .6rem; }
.bids-table thead th, .bid-numbers-table thead th {
    color: #000000;
    background: rgba(238, 235, 248 , .48);
    font-size: .61rem;
    font-weight: 850;
    letter-spacing: .02em;
    line-height: 1.2;
    white-space: normal;
}
.bids-level-heading { padding-top: .42rem !important; padding-bottom: .42rem !important; text-align: center; text-transform: uppercase; letter-spacing: .1em !important; }
.bids-subheadings th { white-space: nowrap; }
.bids-subheadings th > span, .bids-subheadings th > small { display: block; }
.bids-subheadings th > small { margin-top: .12rem; color: #766d8b; font-size: .52rem; letter-spacing: 0; line-height: 1.15; white-space: normal; }
.bids-parent-row { cursor: pointer; transition: background .15s ease; }
.bids-parent-row:hover, .bids-parent-row:focus { outline: none; background: rgba(124, 58, 237, .1); }
.bids-parent-row[aria-expanded="true"] { background: rgba(124, 58, 237, .14); }
.bids-parent-row.is-deleted { opacity: .58; }
.bids-chevron { display: inline-block; color: #a78bfa; transition: transform .15s ease; }
.bids-parent-row[aria-expanded="true"] .bids-chevron { transform: rotate(90deg); }
.bids-user { min-width: 140px; }
.bids-user .bids-chevron { margin-right: .35rem; }
.bids-sticky-user, .bids-sticky-id,
.bids-parent-row > .bids-user, .bids-parent-row > .bids-id { position: sticky; z-index: 3; background: #080a26; }
.bids-sticky-user, .bids-parent-row > .bids-user { left: 0; }
.bids-sticky-id, .bids-parent-row > .bids-id { left: 140px; border-right: 2px solid rgba(139, 92, 246, .3); }
.bids-table thead .bids-sticky-user, .bids-table thead .bids-sticky-id { z-index: 5; background: #191438; }
.bids-parent-row:hover > .bids-user, .bids-parent-row:hover > .bids-id,
.bids-parent-row:focus > .bids-user, .bids-parent-row:focus > .bids-id,
.bids-parent-row[aria-expanded="true"] > .bids-user, .bids-parent-row[aria-expanded="true"] > .bids-id { background: #17113f; }
.bids-date strong, .bids-date span, .bids-parent-row td > small { display: block; white-space: nowrap; }
.bids-date span, .bids-parent-row td > small { margin-top: .13rem; color: #827a98; font-size: .61rem; }
.bids-result { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .65rem; font-weight: 800; white-space: nowrap; }
.bids-message { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bids-money { color: #000000; font-weight: 750; white-space: nowrap; }
.bids-money > strong { display: block; font: inherit; font-weight: 850; }
.bids-cell-percent { display: block; margin-top: .14rem; color: #6f687e; font-size: .56rem; font-weight: 750; }
    .bids-money.positive {
        color: #00a53c;
    }
    .bids-money.negative {
        color: #f7001f;
    }
    .bids-money.zero {
        color: #4303f9;
    }
.bids-money.final { font-weight: 900; }
.total-sale { color: #000 !important; }
.bids-parent-row td:nth-child(9), .bids-parent-row td:nth-child(13),
.bids-parent-row td:nth-child(18), .bids-parent-row td:nth-child(23),
.bids-subheadings th:nth-child(1), .bids-subheadings th:nth-child(5),
.bids-subheadings th:nth-child(10), .bids-subheadings th:nth-child(15),
.bids-level-heading { border-left: 2px solid rgba(139, 92, 246, .24); }
.bids-table thead .bids-group-user { background: rgba(149, 149, 149, .2); }
.bids-table thead .bids-group-agent { background: rgba(195,195, 195, .22); }
.bids-table thead .bids-group-master { background: rgba(212, 212, 212, .2); }
.bids-table thead .bids-group-admin { background: rgba(21, 128, 61, .18); }
.bids-parent-row .bids-group-user { background-color: rgba(30, 64, 175, .035); }
.bids-parent-row .bids-group-agent { background-color: rgba(91, 33, 182, .04); }
.bids-parent-row .bids-group-master { background-color: rgba(146, 64, 14, .035); }
.bids-parent-row .bids-group-admin { background-color: rgba(21, 128, 61, .035); }
.bids-totals th, .bids-totals td { border-top: 2px solid rgba(139, 92, 246, .35); border-bottom: 0; background: #11132f; font-size: .68rem; font-weight: 900; }
.bids-totals th { color: #c4b5fd; letter-spacing: .05em; text-align: left; }
.bids-totals th small { color: #8f87a3; font-size: .58rem; font-weight: 700; letter-spacing: 0; }
.bids-session, .bids-state { display: inline-flex; align-items: center; justify-content: center; padding: .25rem .42rem; border-radius: 999px; font-size: .61rem; font-weight: 850; }
    .bids-session.open {
        color: #000000;
        background: rgb(162 184 255 / 26%);
    }
    .bids-session.close {
        color: #7100ed;
        background: rgb(216 173 252 / 28%);
    }
    .bids-state.pending {
        color: #ffc107;
        background: rgb(224 217 217 / 24%);
    }
    .bids-state.won {
        color: #008e32;
        background: rgb(179 255 207 / 24%);
    }
    .bids-state.lost, .bids-state.deleted {
        color: #f80909;
        background: rgb(215 174 174 / 22%);
    }
.bids-detail-row > td { padding: 0; background: rgba(3, 5, 23, .72); }
.bids-detail { padding: 1rem; border-bottom: 1px solid rgba(139, 92, 246, .24); }
.bids-detail-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.bids-detail-summary section { min-width: 0; padding: .75rem; border: 1px solid rgba(139, 92, 246, .2); border-radius: .55rem; background: rgba(16, 13, 48, .58); }
.bids-detail h3 { margin: 0 0 .55rem; color: #c4b5fd; font-size: .74rem; font-weight: 850; }
.bids-detail dl { margin: 0; }
.bids-detail dl > div { display: flex; justify-content: space-between; gap: .75rem; padding: .3rem 0; border-bottom: 1px dashed rgba(139, 92, 246, .14); }
.bids-detail dl > div:last-child { border-bottom: 0; }
.bids-detail dt { color: #8f87a3; font-size: .62rem; font-weight: 650; }
.bids-detail dd { margin: 0; color: #eeeafd; font-size: .64rem; font-weight: 750; text-align: right; }
.bids-message-full { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; margin-top: .75rem; padding: .65rem .75rem; border: 1px solid rgba(139, 92, 246, .18); border-radius: .5rem; }
.bids-message-full span { color: #958ca9; font-size: .63rem; font-weight: 800; }
.bids-message-full code { overflow-wrap: anywhere; color: #ddd6fe; font-family: inherit; font-size: .68rem; }
.bid-numbers-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0 .5rem; }
.bid-numbers-heading h3 { margin: 0; }
.bid-numbers-heading div { display: flex; gap: .35rem; }
.bid-numbers-heading span { padding: .22rem .4rem; border-radius: 999px; font-size: .58rem; font-weight: 800; }
.bid-numbers-heading .pending { color: #fde68a; background: rgba(180, 83, 9, .22); }
.bid-numbers-heading .won { color: #bbf7d0; background: rgba(21, 128, 61, .22); }
.bid-numbers-heading .lost { color: #fecaca; background: rgba(185, 28, 28, .2); }
.bid-numbers-table { min-width: 1250px; border: 1px solid rgba(139, 92, 246, .17); }
.bid-account-detail-table { min-width: 1080px; table-layout: fixed; font-size: .68rem; }
.bid-account-detail-table th { text-align: center; }
.bid-account-detail-table th, .bid-account-detail-table td { padding: .58rem .45rem; }
.bid-account-detail-table td { text-align: center; font-size: .72rem; font-weight: 800; }
.bid-account-detail-table tbody tr { background: rgba(139, 92, 246, .12); }
.bid-role-detail-table { min-width: 760px; table-layout: fixed; font-size: .68rem; }
.bid-user-breakdown-table { min-width: 520px; max-width: 760px; margin: 0 auto; }
.bid-role-detail-table th, .bid-role-detail-table td { padding: .65rem .5rem; text-align: center; }
.bid-role-detail-table td { font-size: .75rem; font-weight: 820; }
.bid-role-detail-table tbody tr { background: rgba(139, 92, 246, .08); }
.bid-role-detail-table thead .bids-group-user { background: rgba(149, 149, 149, .2); }
.bid-role-detail-table thead .bids-group-agent { background: rgba(195, 195, 195, .22); }
.bid-role-detail-table thead .bids-group-master { background: rgba(212, 212, 212, .2); }
.bid-role-detail-table thead .bids-group-admin { background: rgba(21, 128, 61, .18); }
.bid-account-detail-table tfoot th, .bid-account-detail-table tfoot td,
.bid-role-detail-table tfoot th, .bid-role-detail-table tfoot td { position: sticky; bottom: 0; z-index: 2; padding: .85rem .75rem; border-top: 2px solid rgba(139, 92, 246, .32); background: #211a3d; font-weight: 900; }
.bid-numbers-table tbody tr:hover { background: rgba(124, 58, 237, .07); }
.bids-modal[hidden] { display: none; }
.bids-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 1rem; }
.bids-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(15, 11, 32, .72); cursor: default; }
.bids-modal-panel { position: relative; width: min(96vw, 1320px); max-height: 90vh; overflow: hidden; border: 1px solid rgba(139, 92, 246, .32); border-radius: .8rem; background: #151128; box-shadow: 0 24px 70px rgba(0, 0, 0, .45); font-size: .72rem; }
.bids-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid rgba(139, 92, 246, .22); }
.bids-modal-heading { min-width: 0; flex: 1; }
.bids-modal-header h2 { margin: 0 0 .5rem; color: #eeeafd; font-size: .85rem; }
.bids-modal-meta { display: grid; grid-template-columns: minmax(180px, 2fr) repeat(4, minmax(90px, 1fr)); gap: .45rem; }
.bids-modal-meta span { min-width: 0; padding: .38rem .5rem; border: 1px solid rgba(139, 92, 246, .18); border-radius: .35rem; background: rgba(139, 92, 246, .07); }
.bids-modal-meta small, .bids-modal-meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bids-modal-meta small { margin-bottom: .14rem; color: #958ca9; font-size: .55rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.bids-modal-meta strong { color: #eeeafd; font-size: .66rem; }
.bids-modal-close { width: 2rem; height: 2rem; padding: 0; border: 1px solid rgba(139, 92, 246, .28); border-radius: .45rem; color: #eeeafd; background: rgba(139, 92, 246, .14); font-size: 1.35rem; line-height: 1; cursor: pointer; }
.bids-modal-body { max-height: calc(90vh - 3.7rem); overflow: auto; }
.bids-modal-body .bids-detail { border-bottom: 0; }
body.bids-modal-open { overflow: hidden; }
.bids-empty { padding: 3rem 1rem; text-align: center; }
.bids-empty > span { display: block; margin-bottom: .6rem; font-size: 2rem; }
.bids-empty h2 { margin: 0; font-size: 1rem; }
.bids-empty p { margin: .3rem 0 0; color: #8f87a3; font-size: .72rem; }
.bids-pagination { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .8rem; border-top: 1px solid rgba(139, 92, 246, .16); }
.bids-pagination a { padding: .4rem .65rem; border: 1px solid rgba(139, 92, 246, .3); border-radius: .4rem; color: #c4b5fd; font-size: .68rem; font-weight: 800; text-decoration: none; }
.bids-pagination a.disabled { pointer-events: none; opacity: .35; }
.bids-pagination span { color: #928aa5; font-size: .67rem; }
body.light-theme .bids-page, body.forest-theme .bids-page { color: var(--premium-text, #172033); }
body.light-theme .bids-count, body.light-theme .bids-filters, body.light-theme .bids-card,
body.forest-theme .bids-count, body.forest-theme .bids-filters, body.forest-theme .bids-card { border-color: var(--premium-border, #dce3e8); background: var(--premium-panel, #fff); }
body.light-theme .bids-filters input, body.light-theme .bids-filters select,
body.forest-theme .bids-filters input, body.forest-theme .bids-filters select { border-color: var(--premium-border, #dce3e8); color: inherit; background: #fff; }
body.light-theme .bids-detail-row > td, body.forest-theme .bids-detail-row > td { background: rgba(243, 244, 246, .75); }
body.light-theme .bids-detail-summary section, body.forest-theme .bids-detail-summary section { border-color: var(--premium-border, #dce3e8); background: rgba(255, 255, 255, .75); }
body.light-theme .bids-detail dd, body.forest-theme .bids-detail dd { color: var(--premium-text, #172033); }
body.light-theme .bids-modal-panel, body.forest-theme .bids-modal-panel { border-color: var(--premium-border, #dce3e8); background: var(--premium-panel, #fff); }
body.light-theme .bids-modal-header h2, body.forest-theme .bids-modal-header h2 { color: var(--premium-text, #172033); }
body.light-theme .bids-modal-meta strong, body.forest-theme .bids-modal-meta strong { color: var(--premium-text, #172033); }
body.light-theme .bids-modal-close, body.forest-theme .bids-modal-close { color: var(--premium-text, #172033); background: #f3efff; }
body.light-theme .bid-account-detail-table tfoot th, body.light-theme .bid-account-detail-table tfoot td,
body.forest-theme .bid-account-detail-table tfoot th, body.forest-theme .bid-account-detail-table tfoot td,
body.light-theme .bid-role-detail-table tfoot th, body.light-theme .bid-role-detail-table tfoot td,
body.forest-theme .bid-role-detail-table tfoot th, body.forest-theme .bid-role-detail-table tfoot td { background: #f3efff; }
body.light-theme .bids-totals th, body.light-theme .bids-totals td,
body.forest-theme .bids-totals th, body.forest-theme .bids-totals td { background: #f3efff; }
body.light-theme .bids-sticky-user, body.light-theme .bids-sticky-id,
body.light-theme .bids-parent-row > .bids-user, body.light-theme .bids-parent-row > .bids-id,
body.forest-theme .bids-sticky-user, body.forest-theme .bids-sticky-id,
body.forest-theme .bids-parent-row > .bids-user, body.forest-theme .bids-parent-row > .bids-id { background: var(--premium-panel, #fff); }
body.light-theme .bids-parent-row:hover > .bids-user, body.light-theme .bids-parent-row:hover > .bids-id,
body.light-theme .bids-parent-row:focus > .bids-user, body.light-theme .bids-parent-row:focus > .bids-id,
body.light-theme .bids-parent-row[aria-expanded="true"] > .bids-user, body.light-theme .bids-parent-row[aria-expanded="true"] > .bids-id,
body.forest-theme .bids-parent-row:hover > .bids-user, body.forest-theme .bids-parent-row:hover > .bids-id,
body.forest-theme .bids-parent-row:focus > .bids-user, body.forest-theme .bids-parent-row:focus > .bids-id,
body.forest-theme .bids-parent-row[aria-expanded="true"] > .bids-user, body.forest-theme .bids-parent-row[aria-expanded="true"] > .bids-id { background: #f3efff; }
@media (max-width: 900px) {
    .bids-filters { grid-template-columns: 1fr 1fr; }
    .bids-filters label:first-child { grid-column: 1 / -1; }
    .bids-detail-summary { grid-template-columns: 1fr; }
    .bids-modal-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .bids-heading { align-items: stretch; flex-direction: column; }
    .bids-count { text-align: left; }
    .bids-filters { grid-template-columns: 1fr; }
    .bids-filters label:first-child { grid-column: auto; }
    .bids-card-bar { flex-direction: column; gap: .2rem; }
}
