.bp-fantasy-wrap {
    width: min(100%, 1080px);
    margin: 0 auto 28px;
    color: #172033;
    font-family: inherit;
}

.bp-fantasy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    border-bottom: 1px solid #e4e8ef;
    padding-bottom: 14px;
}

.bp-fantasy-header h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    color: #101827;
}

.bp-fantasy-header p {
    margin: 5px 0 0;
    color: #657386;
    font-size: 14px;
}

.bp-fantasy-header span,
.bp-fantasy-notice {
    border: 1px solid #d7dee8;
    background: #f7f9fc;
    border-radius: 8px;
    padding: 8px 10px;
}

.bp-fantasy-header > span {
    white-space: nowrap;
    font-weight: 700;
    color: #124734;
    background: #eaf7ef;
    border-color: #b8e2c8;
}

.bp-notice-success {
    background: #eaf7ef;
    border-color: #b8e2c8;
    color: #124734;
}

.bp-notice-error {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #9f1239;
}

.bp-card-grid,
.bp-market-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.bp-card,
.bp-market-item {
    border: 1px solid #d7dee8;
    border-radius: 8px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .07);
}

.bp-card {
    position: relative;
    display: grid;
    gap: 12px;
    min-height: 210px;
    border-top: 5px solid #64748b;
    overflow: hidden;
}

.bp-rarity-rare,
.bp-rarity-rare-gold {
    border-top-color: #d6a11d;
}

.bp-rarity-epic {
    border-top-color: #7c3aed;
}

.bp-rarity-legendary {
    border-top-color: #dc2626;
}

.bp-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 17px;
    line-height: 1.25;
}

.bp-card-top strong {
    color: #111827;
}

.bp-card-top span,
.bp-card-team {
    color: #64748b;
    font-size: 13px;
}

.bp-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0;
}

.bp-card-stats div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.bp-card-stats dt,
.bp-card-stats dd {
    margin: 0;
}

.bp-card-stats dt {
    font-size: 11px;
    color: #64748b;
}

.bp-card-stats dd {
    font-weight: 700;
}

.bp-card-meta {
    display: grid;
    gap: 7px;
    font-size: 13px;
    color: #334155;
}

.bp-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.bp-trade-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin: 12px 0;
}

.bp-trade-form select,
.bp-trade-form input,
.bp-trade-form button,
.bp-offer-row button {
    min-height: 40px;
    border-radius: 8px;
}

.bp-trade-form select,
.bp-trade-form input {
    width: 100%;
    border: 1px solid #cbd5e1;
    padding: 0 10px;
}

.bp-trade-form button,
.bp-offer-row button,
.bp-inline-trade-form button {
    border: 0;
    background: #0f766e;
    color: #fff;
    padding: 0 14px;
    cursor: pointer;
    font-weight: 700;
    transition: transform .15s ease, background .15s ease;
}

.bp-trade-form button:hover,
.bp-offer-row button:hover,
.bp-inline-trade-form button:hover {
    background: #115e59;
    transform: translateY(-1px);
}

.bp-inline-trade-form {
    margin: 0;
}

.bp-inline-trade-form button {
    min-height: 38px;
    border-radius: 8px;
}

.bp-inline-trade-form-secondary button {
    background: #475569;
}

.bp-inline-trade-form-secondary button:hover {
    background: #334155;
}

.bp-card-badge,
.bp-card-muted {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
}

.bp-card-badge {
    color: #713f12;
    background: #fef3c7;
    border: 1px solid #fde68a;
}

.bp-card-muted {
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.bp-market-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
}

.bp-market-toolbar span {
    font-weight: 700;
}

.bp-market-toolbar a {
    color: #0f766e;
    font-weight: 700;
    text-decoration: none;
}

.bp-offer-row {
    display: grid;
    gap: 8px;
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
    margin-top: 10px;
}

.bp-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.bp-admin-box {
    display: grid;
    gap: 10px;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    background: #fff;
    padding: 14px;
}

.bp-admin-box h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.bp-import-box {
    border-color: rgba(134, 239, 172, .32) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(134, 239, 172, .14), transparent 35%),
        linear-gradient(145deg, rgba(3, 12, 24, .96), rgba(6, 55, 48, .9)) !important;
}

.bp-import-box p {
    margin: 0;
    color: #bde7dd;
    line-height: 1.45;
}

.bp-admin-box label {
    display: grid;
    gap: 5px;
    font-size: 13px;
    color: #475569;
}

.bp-admin-box input,
.bp-admin-box select {
    min-height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 10px;
    background: #fff;
    color: #172033;
}

.bp-admin-box button {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    background: #0f766e;
    color: #fff;
    padding: 0 14px;
    cursor: pointer;
}

.bp-inline-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bp-inline-check input {
    min-height: auto;
}

.bp-team-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.bp-team-row {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.bp-team-row img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.bp-team-row div {
    display: grid;
}

.bp-team-row span {
    font-size: 13px;
    color: #64748b;
}

.bp-fantasy-wrap {
    color: #e8f7ff;
}

.bp-fantasy-header {
    border-bottom-color: rgba(34, 211, 238, .25);
}

.bp-fantasy-header h2 {
    color: #f8fbff;
    font-weight: 800;
}

.bp-fantasy-header p {
    color: #9fb7c7;
}

.bp-fantasy-header > span {
    color: #04111d;
    background: linear-gradient(135deg, #67e8f9, #e0f2fe);
    border-color: rgba(103, 232, 249, .65);
    box-shadow: 0 8px 22px rgba(8, 145, 178, .22);
}

.bp-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 320px));
    align-items: stretch;
}

.bp-market-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.bp-card,
.bp-market-item,
.bp-admin-box,
.bp-team-row,
.bp-market-toolbar,
.bp-trade-feed-row {
    border: 1px solid rgba(103, 232, 249, .22);
    background: linear-gradient(145deg, rgba(5, 15, 29, .95), rgba(12, 28, 47, .92));
    color: #e8f7ff;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
}

.bp-card {
    min-height: 240px;
    border-top: 0;
}

.bp-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(34, 211, 238, .75), rgba(20, 184, 166, .2), rgba(255, 255, 255, .12));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.bp-card-top {
    position: relative;
    align-items: flex-start;
}

.bp-card-top strong {
    color: #f8fbff;
    font-size: 20px;
    text-transform: capitalize;
}

.bp-card-top span,
.bp-card-team {
    color: #7dd3fc;
}

.bp-card-top span {
    border: 1px solid rgba(125, 211, 252, .35);
    border-radius: 999px;
    padding: 4px 8px;
    background: rgba(14, 165, 233, .12);
    font-size: 12px;
}

.bp-card-team {
    width: fit-content;
    border-radius: 8px;
    background: rgba(15, 118, 110, .22);
    color: #bff8ee;
    padding: 5px 9px;
    font-weight: 700;
}

.bp-card-meta {
    grid-template-columns: 1fr;
    gap: 8px;
    color: #d7e8f3;
}

.bp-card-meta span {
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: rgba(15, 23, 42, .38);
    padding: 7px 9px;
}

.bp-fantasy-notice {
    color: #dbeafe;
    background: rgba(15, 23, 42, .82);
    border-color: rgba(125, 211, 252, .25);
}

.bp-notice-success {
    color: #dcfce7;
    background: rgba(20, 83, 45, .82);
    border-color: rgba(134, 239, 172, .35);
}

.bp-notice-error {
    color: #ffe4e6;
    background: rgba(136, 19, 55, .82);
    border-color: rgba(251, 113, 133, .35);
}

.bp-admin-box h3,
.bp-admin-box label,
.bp-team-row strong,
.bp-market-toolbar span {
    color: #f8fbff;
}

.bp-team-row span {
    color: #a7bed0;
}

.bp-admin-box input,
.bp-admin-box select,
.bp-trade-form select,
.bp-trade-form input {
    box-sizing: border-box;
    min-height: 46px;
    height: 46px;
    background: #f8fbff !important;
    color: #0f172a !important;
    border-color: rgba(148, 163, 184, .55);
    box-shadow: none;
}

.bp-admin-box input::placeholder,
.bp-trade-form input::placeholder {
    color: #64748b;
}

.bp-admin-box button,
.bp-trade-form button,
.bp-offer-row button,
.bp-inline-trade-form button,
.bp-offer-actions button {
    min-height: 44px;
    background: linear-gradient(135deg, #06b6d4, #0f766e);
    color: #ffffff;
    border-radius: 8px;
}

.bp-inline-trade-form-secondary button,
.bp-offer-actions button[value="reject"] {
    background: linear-gradient(135deg, #64748b, #334155);
}

.bp-market-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
}

.bp-market-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid rgba(125, 211, 252, .24);
    border-radius: 8px;
    background: rgba(15, 23, 42, .75);
    color: #d7f4ff;
    padding: 0 13px;
    text-decoration: none;
    font-weight: 800;
}

.bp-market-tabs a.is-active {
    color: #04111d;
    background: linear-gradient(135deg, #67e8f9, #e0f2fe);
    border-color: rgba(103, 232, 249, .75);
}

.bp-market-tabs span {
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    min-height: 24px;
    border-radius: 999px;
    background: rgba(2, 6, 23, .18);
    padding: 0 6px;
    font-size: 12px;
}

.bp-market-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.bp-market-item-head span {
    border-radius: 999px;
    background: rgba(20, 184, 166, .18);
    color: #99f6e4;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 800;
}

.bp-market-item-head small {
    color: #9fb7c7;
}

.bp-trade-feed {
    display: grid;
    gap: 12px;
}

.bp-trade-feed-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    align-items: center;
    gap: 14px;
    border-radius: 8px;
    padding: 14px;
}

.bp-trade-feed-row div {
    display: grid;
    gap: 3px;
}

.bp-trade-feed-row strong {
    color: #f8fbff;
}

.bp-trade-feed-row span,
.bp-trade-feed-row small {
    color: #9fb7c7;
}

.bp-trade-feed-row.is-done {
    border-color: rgba(134, 239, 172, .25);
    background: linear-gradient(145deg, rgba(6, 78, 59, .78), rgba(12, 28, 47, .92));
}

.bp-offer-actions {
    display: flex;
    gap: 8px;
    justify-content: end;
}

.bp-offer-actions button {
    border: 0;
    padding: 0 13px;
    cursor: pointer;
    font-weight: 800;
}

@media (max-width: 640px) {
    .bp-fantasy-header,
    .bp-trade-form {
        grid-template-columns: 1fr;
        display: grid;
    }

    .bp-fantasy-header {
        align-items: stretch;
    }

    .bp-fantasy-header > span {
        width: fit-content;
    }

    .bp-market-toolbar {
        display: grid;
    }

    .bp-card-grid,
    .bp-market-list {
        grid-template-columns: 1fr;
    }

    .bp-trade-feed-row {
        grid-template-columns: 1fr;
    }

    .bp-offer-actions {
        justify-content: start;
    }
}

/* v1.4 hard UI reset for the gaming theme */
.bp-fantasy-wrap,
.bp-fantasy-wrap * {
    box-sizing: border-box;
}

.bp-fantasy-wrap {
    width: min(100% - 28px, 1160px) !important;
    margin: 0 auto 34px !important;
    color: #eef9ff !important;
}

.bp-fantasy-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 0 0 18px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid rgba(34, 211, 238, .22) !important;
}

.bp-fantasy-header h2 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
}

.bp-fantasy-header p {
    margin: 7px 0 0 !important;
    color: #9fb7c7 !important;
}

.bp-fantasy-header > span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 48px !important;
    border-radius: 8px !important;
    padding: 0 18px !important;
    color: #04111d !important;
    background: linear-gradient(135deg, #67e8f9, #dff8ff) !important;
    border: 1px solid rgba(103, 232, 249, .75) !important;
    font-weight: 900 !important;
}

.bp-card-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 18px !important;
}

.bp-card {
    position: relative !important;
    display: grid !important;
    gap: 14px !important;
    min-height: 270px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(103, 232, 249, .28) !important;
    background:
        radial-gradient(circle at 18% 12%, rgba(34, 211, 238, .18), transparent 30%),
        linear-gradient(145deg, rgba(4, 14, 28, .98), rgba(12, 28, 47, .96)) !important;
    color: #e8f7ff !important;
    padding: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 22px 38px rgba(0, 0, 0, .34) !important;
}

.bp-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .08), transparent);
    transform: translateX(-55%);
    pointer-events: none;
}

.bp-card-identity {
    position: relative;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
}

.bp-card-avatar {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    color: #04111d;
    background: linear-gradient(135deg, #67e8f9, #99f6e4);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0;
}

.bp-card-identity strong {
    display: block;
    color: #ffffff !important;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.12;
    text-transform: capitalize;
}

.bp-card-identity span {
    display: inline-flex;
    width: fit-content;
    margin-top: 6px;
    border-radius: 999px;
    background: rgba(34, 211, 238, .13);
    border: 1px solid rgba(103, 232, 249, .22);
    color: #bff7ff !important;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 800;
}

.bp-card-teamline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bp-card-teamline span {
    border-radius: 8px;
    background: rgba(15, 118, 110, .24);
    border: 1px solid rgba(45, 212, 191, .2);
    color: #ccfbf1 !important;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 800;
}

.bp-card-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.bp-card-meta-grid div {
    display: grid;
    gap: 2px;
    border-radius: 8px;
    background: rgba(15, 23, 42, .48);
    border: 1px solid rgba(148, 163, 184, .16);
    padding: 9px 10px;
}

.bp-card-meta-grid span {
    color: #7dd3fc !important;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.bp-card-meta-grid strong {
    color: #f8fbff !important;
    font-size: 14px;
    font-weight: 800;
}

.bp-card-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: auto !important;
}

.bp-team-card-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 16px !important;
}

.bp-team-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    gap: 14px;
    border-radius: 8px;
    border: 1px solid rgba(103, 232, 249, .25);
    background: linear-gradient(145deg, rgba(5, 15, 29, .96), rgba(12, 28, 47, .94));
    box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
    padding: 16px;
}

.bp-team-logo {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    color: #04111d;
    background: linear-gradient(135deg, #67e8f9, #99f6e4);
    font-size: 20px;
    font-weight: 900;
}

.bp-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.bp-team-card-body {
    display: grid;
    gap: 5px;
}

.bp-team-card-body strong {
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 900;
}

.bp-team-card-body span,
.bp-team-card-body small {
    color: #a7bed0 !important;
    font-size: 14px;
}

.bp-market-shell .bp-trade-form {
    display: grid !important;
    grid-template-columns: 1fr 120px auto !important;
    gap: 10px !important;
    align-items: center !important;
}

.bp-market-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 0 0 18px !important;
}

.bp-market-tabs a {
    min-height: 44px !important;
}

.bp-admin-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}

.bp-admin-box {
    min-height: 0 !important;
}

.bp-admin-box input,
.bp-admin-box select,
.bp-trade-form select,
.bp-trade-form input {
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    background: #f8fbff !important;
    color: #0f172a !important;
    border: 1px solid rgba(203, 213, 225, .9) !important;
    border-radius: 8px !important;
    padding: 0 12px !important;
}

@media (max-width: 720px) {
    .bp-fantasy-header,
    .bp-market-shell .bp-trade-form {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .bp-card-grid,
    .bp-team-card-list {
        grid-template-columns: 1fr !important;
    }
}

/* v1.5 premium fantasy console UI */
.bp-fantasy-wrap {
    --bp-ink: #f4fbff;
    --bp-soft: #9fb7c7;
    --bp-cyan: #22d3ee;
    --bp-teal: #2dd4bf;
    --bp-panel: rgba(3, 12, 24, .82);
    --bp-panel-2: rgba(8, 22, 40, .92);
    --bp-line: rgba(103, 232, 249, .24);
}

.bp-fantasy-wrap::before {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    margin-bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--bp-cyan), var(--bp-teal), transparent);
    opacity: .75;
}

.bp-fantasy-header {
    border: 1px solid var(--bp-line) !important;
    border-radius: 8px !important;
    padding: 18px !important;
    background:
        radial-gradient(circle at 15% 20%, rgba(34, 211, 238, .14), transparent 35%),
        linear-gradient(135deg, rgba(3, 12, 24, .72), rgba(8, 22, 40, .82)) !important;
    box-shadow: 0 20px 42px rgba(0, 0, 0, .26) !important;
}

.bp-fantasy-header h2 {
    font-size: clamp(30px, 3.4vw, 48px) !important;
    letter-spacing: 0 !important;
}

.bp-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
}

.bp-card {
    isolation: isolate;
    min-height: 310px !important;
    padding: 0 !important;
    border: 1px solid rgba(103, 232, 249, .34) !important;
    background:
        linear-gradient(155deg, rgba(4, 13, 28, .98), rgba(11, 31, 52, .98) 58%, rgba(7, 56, 62, .9)) !important;
}

.bp-card::after {
    content: "";
    position: absolute;
    inset: auto 14px 14px 14px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(34, 211, 238, .12), rgba(45, 212, 191, .08));
    z-index: -1;
}

.bp-card-shine {
    transform: none !important;
    background:
        radial-gradient(circle at 78% 12%, rgba(103, 232, 249, .25), transparent 24%),
        linear-gradient(125deg, transparent 10%, rgba(255, 255, 255, .08), transparent 38%) !important;
}

.bp-card-identity {
    grid-template-columns: 76px 1fr !important;
    gap: 14px !important;
    padding: 18px 18px 0 !important;
}

.bp-card-avatar {
    width: 76px !important;
    height: 76px !important;
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .08), 0 16px 28px rgba(0,0,0,.22);
    font-size: 24px !important;
}

.bp-card-identity strong {
    font-size: 24px !important;
}

.bp-card-teamline {
    padding: 0 18px !important;
}

.bp-card-teamline span:first-child::before {
    content: "Base ";
    color: rgba(204, 251, 241, .7);
}

.bp-card-teamline span:last-child::before {
    content: "Squad ";
    color: rgba(204, 251, 241, .7);
}

.bp-card-meta-grid {
    padding: 0 18px 18px !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

.bp-card-license-badge {
    margin: 0 18px 18px !important;
    min-height: 76px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(103, 232, 249, .28);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(45, 212, 191, .12));
    color: #ccfbf1 !important;
    font-weight: 900;
    text-transform: uppercase;
}

.bp-card-meta-grid div {
    min-height: 76px;
    align-content: center;
    background: rgba(2, 6, 23, .36) !important;
}

.bp-card-actions {
    padding: 0 18px 18px !important;
}

.bp-inline-trade-form button,
.bp-offer-actions button,
.bp-trade-form button,
.bp-admin-box button {
    box-shadow: 0 12px 24px rgba(34, 211, 238, .16);
}

.bp-team-card-list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
}

.bp-team-card {
    position: relative;
    overflow: hidden;
    grid-template-columns: 82px 1fr !important;
    min-height: 126px;
    border-color: rgba(103, 232, 249, .32) !important;
    background:
        radial-gradient(circle at 90% 0%, rgba(34, 211, 238, .16), transparent 32%),
        linear-gradient(145deg, rgba(3, 12, 24, .96), rgba(11, 31, 52, .94)) !important;
}

.bp-team-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bp-cyan), var(--bp-teal));
}

.bp-team-logo {
    width: 82px !important;
    height: 82px !important;
    box-shadow: 0 0 0 5px rgba(34, 211, 238, .08);
}

.bp-team-card-body strong {
    font-size: 25px !important;
}

.bp-team-card-body span {
    line-height: 1.35;
}

.bp-admin-grid {
    gap: 18px !important;
}

.bp-admin-box {
    padding: 18px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, .12), transparent 35%),
        linear-gradient(145deg, rgba(3, 12, 24, .96), rgba(11, 31, 52, .94)) !important;
}

.bp-admin-box h3 {
    font-size: 20px !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(103, 232, 249, .18);
    padding-bottom: 10px;
}

.bp-admin-box label {
    font-weight: 800;
}

.bp-admin-box:has(input[name="is_licensed"]:checked) .bp-non-license-fields {
    display: none;
}

.bp-market-toolbar,
.bp-market-tabs,
.bp-trade-feed,
.bp-market-list {
    margin-top: 16px !important;
}

.bp-market-toolbar {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.bp-market-toolbar span {
    display: grid;
    place-items: center;
    min-height: 72px;
    border: 1px solid var(--bp-line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(3, 12, 24, .88), rgba(11, 31, 52, .9));
    color: var(--bp-ink) !important;
}

.bp-market-tabs a {
    min-height: 52px !important;
    padding: 0 18px !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.bp-trade-feed-row {
    min-height: 92px;
    padding: 18px !important;
}

@media (max-width: 820px) {
    .bp-card-meta-grid,
    .bp-market-toolbar {
        grid-template-columns: 1fr !important;
    }

    .bp-card-identity,
    .bp-team-card {
        grid-template-columns: 64px 1fr !important;
    }

    .bp-card-avatar,
    .bp-team-logo {
        width: 64px !important;
        height: 64px !important;
    }
}

/* v1.7 same-page refresh + team drill-down UI */
.bp-team-card-link {
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bp-team-card-link:hover,
.bp-team-card-link:focus,
.bp-team-card-link.is-selected {
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, .78) !important;
    box-shadow: 0 22px 44px rgba(0, 0, 0, .32), 0 0 0 1px rgba(34, 211, 238, .24) inset;
    outline: none;
}

.bp-team-card-link.is-selected::before {
    content: "Selected";
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, .45);
    background: rgba(13, 148, 136, .22);
    color: #ccfbf1;
    font-size: 12px;
    font-weight: 800;
}

.bp-team-detail {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(103, 232, 249, .28);
    border-radius: 8px;
    background:
        radial-gradient(circle at 8% 0%, rgba(34, 211, 238, .13), transparent 34%),
        linear-gradient(145deg, rgba(3, 12, 24, .9), rgba(10, 31, 50, .92));
    box-shadow: 0 22px 48px rgba(0, 0, 0, .28);
}

.bp-team-detail-head {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.bp-team-detail-head h3 {
    margin: 0 0 6px !important;
    color: #ffffff !important;
    font-size: 30px !important;
    letter-spacing: 0 !important;
}

.bp-team-detail-head p,
.bp-team-detail-head small {
    display: block;
    margin: 0;
    color: #cbd5e1 !important;
    line-height: 1.45;
}

.bp-team-player-grid {
    margin-top: 14px;
}

.bp-team-assignment-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 20px;
}

.bp-team-assignment-bar > div {
    min-height: 82px;
    padding: 14px;
    border: 1px solid rgba(103, 232, 249, .24);
    border-radius: 8px;
    background:
        radial-gradient(circle at 85% 0%, rgba(45, 212, 191, .12), transparent 34%),
        linear-gradient(145deg, rgba(3, 12, 24, .88), rgba(11, 31, 52, .9));
}

.bp-team-assignment-bar span {
    display: block;
    margin-bottom: 6px;
    color: #9fb7c7 !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.bp-team-assignment-bar strong {
    display: block;
    color: #ffffff !important;
    font-size: 22px;
    line-height: 1.2;
}

.bp-reset-box {
    border-color: rgba(248, 113, 113, .38) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(248, 113, 113, .16), transparent 34%),
        linear-gradient(145deg, rgba(24, 6, 12, .94), rgba(11, 31, 52, .9)) !important;
}

.bp-reset-box button {
    background: #b91c1c !important;
}

.bp-my-trades {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.bp-my-trade-section {
    padding: 16px;
    border: 1px solid rgba(103, 232, 249, .24);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(3, 12, 24, .86), rgba(11, 31, 52, .9));
}

.bp-my-trade-section h3 {
    margin: 0 0 12px !important;
    color: #ffffff !important;
    font-size: 24px !important;
    letter-spacing: 0 !important;
}

/* v2.2 team roster page + admin card editor */
.bp-team-back-link {
    display: inline-grid;
    place-items: center;
    min-height: 44px;
    margin: 0 0 16px;
    padding: 0 16px;
    border: 1px solid rgba(103, 232, 249, .28);
    border-radius: 8px;
    background: rgba(3, 12, 24, .72);
    color: #ccfbf1 !important;
    font-weight: 900;
    text-decoration: none !important;
}

.bp-team-detail-page {
    margin-top: 0;
}

.bp-player-admin-form {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(103, 232, 249, .18);
}

.bp-player-admin-form .bp-non-license-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bp-player-admin-form:has(input[name="is_licensed"]:checked) .bp-non-license-fields {
    display: none;
}

.bp-player-admin-form input {
    width: 100% !important;
    min-height: 42px !important;
    border-radius: 8px !important;
}

.bp-player-admin-form button {
    min-height: 42px !important;
}

@media (max-width: 820px) {
    .bp-team-detail-head,
    .bp-team-assignment-bar,
    .bp-player-admin-form .bp-non-license-fields {
        grid-template-columns: 1fr !important;
    }

    .bp-team-detail-head {
        text-align: left;
    }
}

/* v2.3 compact cards + listing demands */
.bp-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
}

.bp-card.bp-card-compact {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.bp-card.bp-card-compact::after,
.bp-card.bp-card-compact .bp-card-shine {
    display: none !important;
}

.bp-card-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
}

.bp-card-summary::-webkit-details-marker {
    display: none;
}

.bp-card-summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-left: 4px;
    border-radius: 999px;
    background: rgba(103, 232, 249, .14);
    color: #bff7ff;
    font-weight: 900;
}

.bp-card[open] > .bp-card-summary::after {
    content: "-";
}

.bp-card-mini-main {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.bp-card-mini-main strong {
    color: #ffffff !important;
    font-size: 17px !important;
    line-height: 1.22;
    text-transform: capitalize;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.bp-card-mini-main small,
.bp-card-mini-team {
    color: #9fb7c7 !important;
    font-size: 12px;
    font-weight: 800;
}

.bp-card-mini-team {
    max-width: 86px;
    overflow: hidden;
    padding: 5px 8px;
    border: 1px solid rgba(45, 212, 191, .22);
    border-radius: 999px;
    background: rgba(15, 118, 110, .18);
    color: #ccfbf1 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-card-expanded {
    display: grid;
    gap: 12px;
    padding: 0 14px 14px;
    border-top: 1px solid rgba(103, 232, 249, .16);
}

.bp-card-expanded .bp-card-teamline {
    padding: 12px 0 0 !important;
}

.bp-card-expanded .bp-card-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 0 !important;
}

.bp-card-expanded .bp-card-meta-grid div {
    min-height: 58px !important;
}

.bp-card-expanded .bp-card-license-badge {
    min-height: 50px !important;
    margin: 0 !important;
}

.bp-card-expanded .bp-card-actions {
    padding: 0 !important;
}

.bp-inline-trade-form {
    display: grid;
    gap: 8px;
    width: 100%;
}

.bp-list-demand-fields {
    display: grid;
    grid-template-columns: minmax(120px, .7fr) 1fr;
    gap: 8px;
    width: 100%;
}

.bp-list-demand-fields input {
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(203, 213, 225, .9) !important;
    border-radius: 8px !important;
    background: #f8fbff !important;
    color: #0f172a !important;
    padding: 0 10px !important;
}

.bp-listing-demand {
    display: grid;
    gap: 3px;
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid rgba(103, 232, 249, .18);
    border-radius: 8px;
    background: rgba(2, 6, 23, .3);
}

.bp-listing-demand span {
    color: #7dd3fc !important;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.bp-listing-demand strong {
    color: #f8fbff !important;
    font-size: 14px;
}

.bp-market-list {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
}

.bp-market-item {
    padding: 12px !important;
}

.bp-market-shell .bp-trade-form {
    grid-template-columns: 1fr 110px auto !important;
}

@media (max-width: 720px) {
    .bp-card-summary,
    .bp-list-demand-fields,
    .bp-market-shell .bp-trade-form {
        grid-template-columns: 1fr !important;
    }

    .bp-card-mini-team {
        width: fit-content;
    }
}

/* v2.4.2 minimalist market */
.bp-market-shell::before {
    display: none !important;
}

.bp-market-shell {
    width: min(100% - 28px, 1180px) !important;
}

.bp-market-compact-header {
    min-height: 0 !important;
    margin-bottom: 10px !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(103, 232, 249, .18) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.bp-market-compact-header h2 {
    font-size: clamp(24px, 2.4vw, 34px) !important;
}

.bp-market-compact-header > span {
    min-height: 34px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
}

.bp-market-shell .bp-market-tabs {
    margin: 10px 0 14px !important;
    gap: 8px !important;
}

.bp-market-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid rgba(103, 232, 249, .28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(3, 12, 24, .74), rgba(8, 47, 73, .48));
    color: #d7f4ff;
}

.bp-market-timer span {
    color: #9fb7c7;
    font-size: 13px;
    font-weight: 800;
}

.bp-market-timer strong {
    display: inline-grid;
    place-items: center;
    min-width: 92px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(103, 232, 249, .14);
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.bp-market-admin-row {
    display: flex;
    justify-content: flex-end;
    margin: -2px 0 12px;
}

.bp-market-admin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(103, 232, 249, .36);
    border-radius: 999px;
    background: rgba(3, 12, 24, .72);
    color: #d7f4ff !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

.bp-market-admin-button:hover {
    background: rgba(103, 232, 249, .18);
}

.bp-market-shell .bp-market-tabs a {
    min-height: 36px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    background: rgba(3, 12, 24, .56) !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

.bp-market-shell .bp-market-tabs a.is-active {
    background: #67e8f9 !important;
}

.bp-market-shell .bp-market-tabs span {
    min-width: 20px !important;
    min-height: 20px !important;
    font-size: 11px !important;
}

.bp-market-shell .bp-market-list {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 10px !important;
    margin-top: 0 !important;
}

.bp-market-shell .bp-market-item {
    padding: 10px !important;
    border-color: rgba(103, 232, 249, .18) !important;
    background: rgba(3, 12, 24, .62) !important;
    box-shadow: none !important;
}

.bp-market-shell .bp-market-item-head {
    margin-bottom: 8px !important;
}

.bp-market-shell .bp-market-item-head span {
    padding: 3px 8px !important;
    font-size: 11px !important;
}

.bp-market-shell .bp-market-item-head small {
    font-size: 12px !important;
}

.bp-market-shell .bp-card.bp-card-compact {
    border-color: rgba(103, 232, 249, .2) !important;
    background: rgba(8, 22, 40, .74) !important;
    box-shadow: none !important;
}

.bp-market-shell .bp-card-summary {
    min-height: 56px !important;
    padding: 10px !important;
}

.bp-market-shell .bp-card-mini-main strong {
    font-size: 15px !important;
}

.bp-market-shell .bp-card-mini-team {
    max-width: 78px !important;
    padding: 4px 7px !important;
    font-size: 11px !important;
}

.bp-market-shell .bp-listing-demand {
    margin-top: 8px !important;
    padding: 8px 10px !important;
    background: rgba(2, 6, 23, .22) !important;
}

.bp-market-shell .bp-trade-form {
    margin: 8px 0 0 !important;
    grid-template-columns: 1fr 86px auto !important;
    gap: 6px !important;
}

.bp-market-shell .bp-trade-form select,
.bp-market-shell .bp-trade-form input,
.bp-market-shell .bp-trade-form button {
    min-height: 36px !important;
    height: 36px !important;
    font-size: 13px !important;
}

@media (max-width: 720px) {
    .bp-market-compact-header {
        display: flex !important;
    }

    .bp-market-timer {
        align-items: flex-start;
        flex-direction: column;
    }

    .bp-market-shell .bp-trade-form {
        grid-template-columns: 1fr !important;
    }
}

/* v2.5.1 centered logo treatment */
.bp-team-logo {
    padding: 8px !important;
    background: rgba(255, 255, 255, .96) !important;
}

.bp-team-logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: transparent !important;
    border-radius: 4px !important;
}

.bp-team-card {
    align-items: center !important;
}

/* v2.6.0 closed market, image cards, and mobile tightening */
.bp-market-tabs.bp-market-tabs-single {
    grid-template-columns: minmax(180px, 280px) !important;
}

.bp-market-tabs.bp-market-tabs-single a {
    justify-content: center !important;
}

.bp-market-timer {
    min-height: 48px !important;
    border-radius: 12px !important;
}

.bp-market-timer strong {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08) !important;
}

.bp-card.has-team-logo .bp-card-summary {
    grid-template-columns: 42px minmax(0, 1fr) auto !important;
}

.bp-card-team-logo {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, .22);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
}

.bp-card-team-logo img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
    object-position: center;
}

.bp-team-player-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
}

.bp-team-player-grid .bp-card.has-team-logo .bp-card-summary {
    grid-template-columns: 44px minmax(0, 1fr) !important;
}

.bp-team-player-grid .bp-card-mini-team {
    grid-column: 2;
    justify-self: start;
    max-width: 150px !important;
}

.bp-team-page .bp-fantasy-header {
    min-height: 0 !important;
}

@media (max-width: 760px) {
    .bp-market-shell {
        width: min(100% - 20px, 1180px) !important;
    }

    .bp-market-timer {
        flex-direction: row !important;
        align-items: center !important;
        padding: 9px 10px !important;
    }

    .bp-market-timer span {
        font-size: 12px !important;
    }

    .bp-market-timer strong {
        min-width: 86px !important;
        min-height: 32px !important;
        padding: 0 10px !important;
        font-size: 14px !important;
    }

    .bp-market-shell .bp-market-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .bp-market-shell .bp-market-tabs.bp-market-tabs-single {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .bp-market-shell .bp-market-tabs a {
        justify-content: center !important;
        min-height: 40px !important;
        padding: 0 10px !important;
        font-size: 13px !important;
    }

    .bp-market-shell .bp-market-list {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .bp-market-shell .bp-market-item {
        padding: 9px !important;
    }

    .bp-market-shell .bp-card-summary {
        min-height: 54px !important;
    }

    .bp-market-shell .bp-trade-form {
        grid-template-columns: minmax(0, .9fr) minmax(76px, .7fr) minmax(112px, 1fr) !important;
    }

    .bp-market-shell .bp-trade-form select,
    .bp-market-shell .bp-trade-form input,
    .bp-market-shell .bp-trade-form button {
        min-width: 0 !important;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .bp-team-page .bp-fantasy-header {
        margin-bottom: 10px !important;
        padding: 14px !important;
        border-radius: 10px !important;
    }

    .bp-team-page .bp-fantasy-header h2 {
        font-size: 30px !important;
        line-height: 1.05 !important;
    }

    .bp-team-page .bp-fantasy-header p {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    .bp-team-page .bp-fantasy-header > span {
        min-height: 36px !important;
        width: fit-content !important;
        padding: 0 14px !important;
        font-size: 13px !important;
    }

    .bp-team-assignment-bar {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin: 10px 0 12px !important;
    }

    .bp-team-assignment-bar > div {
        min-height: 64px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
    }

    .bp-team-assignment-bar span {
        margin-bottom: 3px !important;
        font-size: 10px !important;
        letter-spacing: .04em !important;
    }

    .bp-team-assignment-bar strong {
        font-size: 22px !important;
        line-height: 1.15 !important;
    }

    .bp-card-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .bp-card-summary {
        min-height: 62px !important;
        padding: 10px !important;
        gap: 10px !important;
    }

    .bp-card.has-team-logo .bp-card-summary {
        grid-template-columns: 38px minmax(0, 1fr) auto !important;
    }

    .bp-card-team-logo {
        width: 38px !important;
        height: 38px !important;
        border-radius: 9px !important;
    }

    .bp-card-mini-main strong {
        font-size: 17px !important;
    }

    .bp-card-mini-team {
        max-width: 92px !important;
        font-size: 11px !important;
    }

    .bp-team-player-grid {
        grid-template-columns: 1fr !important;
    }

    .bp-team-player-grid .bp-card-mini-team {
        max-width: 140px !important;
    }
}

/* v2.6.2 cleaner market panels + legacy logo cleanup */
.bp-market-shell,
.bp-fantasy-wrap {
    background-color: rgba(2, 10, 20, .82) !important;
}

.bp-market-timer,
.bp-market-shell .bp-market-item,
.bp-trade-feed-row,
.bp-my-trade-section,
.bp-team-card,
.bp-team-detail {
    background:
        linear-gradient(135deg, rgba(5, 17, 32, .96), rgba(6, 37, 50, .92)) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.bp-trade-feed-row.is-done {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr) !important;
    border-color: rgba(45, 212, 191, .4) !important;
    background:
        linear-gradient(135deg, rgba(6, 78, 59, .9), rgba(5, 22, 39, .96)) !important;
}

.bp-trade-feed-row.is-done div:first-child::before {
    content: "Trade done";
    display: inline-flex;
    width: fit-content;
    margin-bottom: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(20, 184, 166, .18);
    color: #99f6e4;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.bp-trade-feed-row.is-done span {
    color: #bdd6e5 !important;
}

.bp-team-logo,
.bp-card-team-logo {
    background: #ffffff !important;
}

.bp-team-logo img[src*="adelaide-strikers-clean"],
.bp-team-logo img[src*="melbourne-renegades-clean"],
.bp-card-team-logo img[src*="adelaide-strikers-clean"],
.bp-card-team-logo img[src*="melbourne-renegades-clean"] {
    padding: 0 !important;
}

@media (max-width: 760px) {
    .bp-trade-feed-row.is-done {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* v2.7.0 user squad view + personal offer notifications */
.bp-market-shell .bp-market-tabs a span:empty {
    display: none !important;
}

.bp-market-owned-note {
    border-color: rgba(251, 191, 36, .26) !important;
    background: rgba(69, 26, 3, .28) !important;
}

.bp-user-squads-page .bp-team-card-body strong {
    text-transform: none !important;
}

.bp-squad-admin-actions {
    margin: 0 !important;
}

.bp-squad-admin-actions button {
    width: 100%;
    min-height: 38px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.bp-danger-inline button {
    background: #991b1b !important;
}

/* v2.7.2 offer bell badge + live action stream */
.bp-offer-tab-alert {
    position: relative;
    display: inline-grid !important;
    place-items: center;
    width: 24px;
    height: 24px;
    min-width: 24px !important;
    min-height: 24px !important;
    margin-left: 5px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.bp-offer-tab-alert svg {
    width: 23px;
    height: 23px;
    fill: #0ea5e9;
    stroke: #0ea5e9;
    stroke-width: 1.5;
}

.bp-offer-tab-alert b {
    position: absolute;
    top: -8px;
    right: -10px;
    display: grid;
    place-items: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .25);
}

.bp-market-shell .bp-market-tabs a.is-active .bp-offer-tab-alert svg {
    fill: #0284c7;
    stroke: #0284c7;
}
