/* Generated from bcxp-frontend.css; edit the source and rebuild. */
/* BC XP — Frontend Skin (brand: dark navy + teal)
   Works with existing shortcode markup:
   .bcxp-leaderboard, .bcxp-weekly-quests, .bcxp-quest, .bcxp-quests,
   .bcxp-profile-card, .bcxp-badges, .bcxp-referral,
   .bcxp-clan-leaderboard, .bcxp-clan-card, .bcxp-recent-activity,
   .bcxp-share-banner (prediction/tipster share CTA)
*/

/* ---------- Tokens ---------- */
:root{
  /* Brand from screenshot */
  --bcxp-brand-navy:#34495e;            /* rgb(52,73,94) */
  --bcxp-brand-navy-700:#2f4357;        /* deeper edge */
  --bcxp-brand-navy-600:#31465a;        /* mid */
  --bcxp-brand-teal:#60d5bd;            /* rgb(96,213,189) */
  --bcxp-brand-teal-weak:#e9fbf6;       /* very light teal */

  /* UI system */
  --bcxp-bg:#ffffff;
  --bcxp-surface:#ffffff;
  --bcxp-muted:#f7f9fc;
  --bcxp-text:#111827;
  --bcxp-muted-text:#4b5563;
  --bcxp-primary:var(--bcxp-brand-teal);
  --bcxp-primary-weak:var(--bcxp-brand-teal-weak);
  --bcxp-success:#16a34a;
  --bcxp-warning:#f59e0b;
  --bcxp-danger:#dc2626;
  --bcxp-border:#d9dee7;
  --bcxp-scrollbar-track:rgba(52,73,94,.16);
  --bcxp-scrollbar-thumb:var(--bcxp-brand-teal);
  --bcxp-scrollbar-thumb-hover:#7ce3cf;
  --bcxp-radius:12px;
  --bcxp-shadow:0 10px 20px rgba(0,0,0,.05),0 2px 6px rgba(0,0,0,.05);
  --bcxp-font:system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,Cantarell,Noto Sans,"Helvetica Neue",Arial,"Apple Color Emoji","Segoe UI Emoji";
}

@media (prefers-color-scheme:dark){
  :root{
    --bcxp-bg:#0b0e13;
    --bcxp-surface:#0f141b;
    --bcxp-muted:#121924;
    --bcxp-text:#e5e7eb;
    --bcxp-muted-text:#b8c0cc;
    --bcxp-primary:var(--bcxp-brand-teal);
    --bcxp-primary-weak:#0f201d;
    --bcxp-success:#34d399;
    --bcxp-warning:#fbbf24;
    --bcxp-danger:#f87171;
    --bcxp-border:#243244;
    --bcxp-scrollbar-track:rgba(15,20,27,.88);
    --bcxp-scrollbar-thumb:#4ec8b3;
    --bcxp-scrollbar-thumb-hover:#72e0cf;
    --bcxp-shadow:none;
  }
}

/* Modal scrollbars */
.bcxp-modal-body::-webkit-scrollbar{
  width:12px;
  height:12px;
}
.bcxp-modal-body::-webkit-scrollbar-track{
  background:var(--bcxp-scrollbar-track);
}
.bcxp-modal-body::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,var(--bcxp-scrollbar-thumb),#2f9f91);
  border:3px solid var(--bcxp-scrollbar-track);
  border-radius:999px;
}
.bcxp-modal-body::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,var(--bcxp-scrollbar-thumb-hover),var(--bcxp-scrollbar-thumb));
}
.bcxp-modal-body{
  scrollbar-color:var(--bcxp-scrollbar-thumb) var(--bcxp-scrollbar-track);
  scrollbar-width:thin;
}

/* Base font & color safety */
.bcxp-reset,
.bcxp-leaderboard,
.bcxp-weekly-quests,
.bcxp-quests,
.bcxp-profile,
.bcxp-profile-card,
.bcxp-user-profile-card,
.bcxp-badges,
.bcxp-badges-catalog,
.bcxp-referral,
.bcxp-clan-leaderboard,
.bcxp-clan-card,
.bcxp-clan-badges-catalog,
.bcxp-recent-activity,
.bcxp-shop{
  font-family:var(--bcxp-font);
  color:var(--bcxp-text);
  font-size:16.5px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* Links */
.bcxp-leaderboard a,
.bcxp-weekly-quests a,
.bcxp-quests a,
.bcxp-profile a,
.bcxp-badges a,
.bcxp-referral a,
.bcxp-clan-card a,
.bcxp-shop a{ color:var(--bcxp-primary); text-decoration:none; }
.bcxp-leaderboard a:hover,
.bcxp-weekly-quests a:hover,
.bcxp-quests a:hover,
.bcxp-profile a:hover,
.bcxp-badges a:hover,
.bcxp-referral a:hover,
.bcxp-clan-card a:hover,
.bcxp-shop a:hover{ text-decoration:underline; }

/* ---------- Cards ---------- */
.bcxp-card,
.bcxp-profile,
.bcxp-profile-card,
.bcxp-weekly-quests .bcxp-quest,
.bcxp-clan-card,
.bcxp-badges .bcxp-badge,
.bcxp-referral,
.bcxp-recent-activity li,
.bcxp-empty{
  background:var(--bcxp-surface);
  border:1px solid var(--bcxp-border);
  color: var(--bcxp-text);
  border-radius:var(--bcxp-radius);
  box-shadow:var(--bcxp-shadow);
}

.bcxp-section-title{ font-weight:700; margin:.25rem 0 .75rem; }

/* ---------- Quest sections ---------- */
.bcxp-shop-corner-item-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  min-width:34px;
  height:34px;
  min-height:34px;
  padding:2px;
  overflow:visible;
  border:1px solid rgba(245,158,11,.8);
  border-radius:10px;
  background:#17202c;
  color:#fff7db !important;
  box-shadow:0 3px 10px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.08);
  cursor:pointer;
  font:inherit;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}
.bcxp-shop-corner-item-btn:hover{
  border-color:#fbbf24;
  background:#202c3a;
  box-shadow:0 4px 13px rgba(180,83,9,.3),inset 0 1px 0 rgba(255,255,255,.11);
}
.bcxp-shop-corner-item-btn:focus-visible{
  outline:2px solid #f59e0b;
  outline-offset:2px;
}
.bcxp-shop-corner-item-btn .bcxp-shop-icon.small{
  width:28px;
  height:28px;
  border-width:2px;
  border-radius:7px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 2px 5px rgba(0,0,0,.22);
}
.bcxp-shop-corner-item-btn .bcxp-shop-icon.small::before{
  inset:4px;
  border-radius:5px;
}
.bcxp-shop-corner-item-btn .bcxp-shop-icon.small span{
  font-size:.52rem;
}
.bcxp-shop-corner-item-count{
  position:absolute;
  right:-7px;
  bottom:-6px;
  z-index:2;
  display:inline-grid;
  place-items:center;
  min-width:19px;
  height:19px;
  padding:0 .16rem;
  border:2px solid #17202c;
  border-radius:999px;
  background:#f59e0b;
  color:#211500;
  font-size:.58rem;
  font-weight:900;
  line-height:1;
  box-shadow:0 2px 5px rgba(0,0,0,.35);
}
.bcxp-quest .bcxp-btn,
.bcxp-guidance a.bcxp-btn:not(.ghost){
  color:#102a33;
  background:var(--bcxp-primary);
  text-decoration:none;
}
.bcxp-shop-action-modal{
  display:grid;
  gap:1rem;
  color:var(--bcxp-text);
  font-family:var(--bcxp-font);
  font-size:16px;
  line-height:1.45;
}
.bcxp-shop-action-summary{
  display:flex;
  align-items:center;
  gap:1rem;
}
.bcxp-shop-action-summary > div{
  min-width:0;
}
.bcxp-shop-action-eyebrow{
  color:#b77908;
  font-size:.72rem;
  font-weight:900;
  text-transform:uppercase;
}
.bcxp-shop-action-summary h3{
  margin:.16rem 0 .22rem;
  color:var(--bcxp-text);
  font-size:1.25rem;
  line-height:1.2;
}
.bcxp-shop-action-summary p{
  margin:0;
  color:var(--bcxp-muted-text);
  line-height:1.45;
}
.bcxp-shop-action-wallet{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.55rem;
}
.bcxp-shop-action-wallet > span{
  display:flex;
  align-items:center;
  gap:.35rem;
  min-width:0;
  padding:.58rem .7rem;
  border:1px solid var(--bcxp-border);
  border-radius:8px;
  background:var(--bcxp-muted);
  color:var(--bcxp-muted-text);
  font-size:.82rem;
}
.bcxp-shop-action-wallet b{
  color:var(--bcxp-text);
  font-size:1rem;
}
.bcxp-shop-action-buy-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  padding:.72rem;
  border:1px solid rgba(245,158,11,.34);
  border-radius:8px;
  background:rgba(245,158,11,.08);
}
.bcxp-shop-action-buy-panel > div{
  display:grid;
  gap:.08rem;
  min-width:0;
}
.bcxp-shop-action-buy-panel strong{
  color:var(--bcxp-text);
}
.bcxp-shop-action-buy-panel span,
.bcxp-shop-action-reason,
.bcxp-quest-reroll-list-head span{
  color:var(--bcxp-muted-text);
  font-size:.78rem;
}
.bcxp-shop-action-buy-panel .bcxp-btn{
  flex:0 0 auto;
  justify-content:center;
}
.bcxp-shop-action-reason{
  margin:-.65rem 0 0;
}
.bcxp-shop-action-feedback{
  min-height:0;
  color:var(--bcxp-danger);
  font-size:.84rem;
  font-weight:700;
}
.bcxp-shop-action-feedback:empty{
  display:none;
}
.bcxp-shop-action-modal .bcxp-btn:disabled{
  opacity:.5;
  cursor:not-allowed;
  filter:saturate(.45);
}
.bcxp-shop-action-modal.is-busy [data-bcxp-shop-action]{
  pointer-events:none;
}
.bcxp-quest-section.is-reroll-complete .bcxp-quest,
.bcxp-shop-action-modal.is-reroll-complete .bcxp-quest-reroll-choice{
  animation:bcxp-quest-reroll-arrive .48s ease both;
}
@keyframes bcxp-quest-reroll-spin{
  50%{transform:rotate(180deg) scale(.9)}
  100%{transform:rotate(360deg)}
}
@keyframes bcxp-quest-reroll-arrive{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}
@media (max-width:560px){
  .bcxp-shop-action-summary{align-items:flex-start}
  .bcxp-shop-action-summary .bcxp-shop-icon.large{width:58px;height:58px}
  .bcxp-shop-action-wallet{grid-template-columns:1fr}
  .bcxp-shop-action-buy-panel{align-items:stretch;flex-direction:column}
  .bcxp-shop-action-buy-panel .bcxp-btn{width:100%}
}

/* ---------- Leaderboard ---------- */
table.bcxp-leaderboard{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:var(--bcxp-radius);
  background:var(--bcxp-surface);
  box-shadow:var(--bcxp-shadow);
  border:1px solid var(--bcxp-border);
}
.bcxp-leaderboard thead th{
  text-align:left;
  font-weight:700;
  background:var(--bcxp-muted);
  color:var(--bcxp-muted-text);
  border-bottom:1px solid var(--bcxp-border);
  padding:.8rem 1rem;
}
.bcxp-leaderboard tbody td{
  padding:.85rem 1rem;
  border-bottom:1px solid var(--bcxp-border);
  color:var(--bcxp-text);
}
.bcxp-leaderboard tbody tr:nth-child(odd){ background:rgba(0,0,0,.015); }
@media (prefers-color-scheme:dark){
  .bcxp-leaderboard tbody tr:nth-child(odd){ background:rgba(255,255,255,.03); }
}
.bcxp-leaderboard tbody tr:last-child td{ border-bottom:0; }
.bcxp-leaderboard tbody tr:hover{ background:var(--bcxp-primary-weak); transition:background .18s ease; }

table.bcxp-leaderboard--seasonal{color:inherit}
table.bcxp-season-table{
  border-collapse:separate;
  border-spacing:0 6px;
  table-layout:auto;
  background:transparent;
  box-shadow:none;
  border:0;
  overflow:visible;
}
table.bcxp-season-table tbody,
table.bcxp-season-table tr,
table.bcxp-season-table td{
  overflow:visible;
}
.bcxp-season-table thead th{
  background:transparent;
  color:inherit;
  border-bottom:0;
  padding:.2rem 10px;
}
.bcxp-season-table tbody tr,
.bcxp-season-table tbody tr:nth-child(odd){
  background:#30465b;
  color:#fff;
  box-shadow:0 1px 3px rgba(17,24,39,.16);
}
.bcxp-season-table tbody tr:hover{
  background:#354d63;
}
.bcxp-season-table tbody td{
  padding:7px 8px;
  border-top:1px solid rgba(96,213,189,.28);
  border-bottom:1px solid rgba(96,213,189,.28);
  color:#fff;
}
.bcxp-season-table tbody td:first-child{
  border-left:1px solid rgba(96,213,189,.28);
  border-radius:8px 0 0 8px;
  padding-left:9px;
  padding-right:7px;
}
.bcxp-season-table tbody td:last-child{
  border-right:1px solid rgba(96,213,189,.28);
  border-radius:0 8px 8px 0;
  padding-right:10px;
}
.bcxp-season-table tbody tr:last-child td{
  border-bottom:1px solid rgba(96,213,189,.28);
}
.bcxp-season-table th:nth-child(1),
.bcxp-season-table td:nth-child(1),
.bcxp-season-table th:nth-child(3),
.bcxp-season-table td:nth-child(3),
.bcxp-season-table th:nth-child(4),
.bcxp-season-table td:nth-child(4){
  width:1%;
  white-space:nowrap;
}
.bcxp-season-table th:nth-child(3),
.bcxp-season-table td:nth-child(3),
.bcxp-season-table th:nth-child(4),
.bcxp-season-table td:nth-child(4){
  text-align:right;
}
.bcxp-season-rank-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:37px;
  min-height:27px;
  padding:0;
  border-radius:6px;
  background:#3d6873;
  color:#60d5bd;
  font-size:12px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}
.bcxp-season-user-link{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  color:#fff !important;
  font-weight:800;
  text-decoration:none;
  overflow-wrap:anywhere;
  word-break:normal;
  white-space:normal;
  line-height:1.2;
}
.bcxp-season-user-avatar{
  width:34px;
  height:34px;
  border-radius:999px;
  object-fit:cover;
  flex:0 0 auto;
  border:2px solid rgba(96,213,189,.72);
  background:#fff;
}
.bcxp-season-user-link:visited{
  color:#fff !important;
}
.bcxp-season-user-link:hover,
.bcxp-season-user-link:focus{
  color:#60d5bd !important;
  text-decoration:none;
}
.bcxp-season-xp{
  color:#60d5bd;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  line-height:1;
}
.bcxp-user-hovercard{
  position:relative;
  display:inline-flex;
  max-width:100%;
  z-index:2;
}
.bcxp-user-hovercard:hover,
.bcxp-user-hovercard:focus-within,
.bcxp-user-hovercard.is-open{
  z-index:100;
}
.bcxp-user-hover-popover{
  position:absolute;
  left:0;
  top:calc(100% + 10px);
  z-index:70;
  display:block;
  width:min(330px, calc(100vw - 32px));
  padding:.85rem;
  border:1px solid var(--bcxp-border);
  border-radius:10px;
  background:var(--bcxp-surface);
  color:var(--bcxp-text);
  box-shadow:0 18px 42px rgba(0,0,0,.2);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-4px);
  transition:opacity .15s ease,transform .15s ease,visibility .15s ease;
  text-align:left;
  overflow-wrap:anywhere;
}
.bcxp-user-hover-popover *{
  box-sizing:border-box;
  max-width:100%;
}
.bcxp-user-hovercard:hover .bcxp-user-hover-popover,
.bcxp-user-hovercard:focus-within .bcxp-user-hover-popover,
.bcxp-user-hovercard.is-open .bcxp-user-hover-popover{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}
.bcxp-user-hover-head{
  display:flex;
  align-items:center;
  gap:.65rem;
}
.bcxp-user-hover-head > span{
  min-width:0;
}
.bcxp-user-hover-avatar{
  width:52px;
  height:52px;
  border-radius:12px;
  object-fit:cover;
  border:1px solid var(--bcxp-border);
  flex:0 0 auto;
}
.bcxp-user-hover-head strong{
  display:block;
  color:var(--bcxp-text);
  font-weight:800;
  overflow-wrap:anywhere;
}
.bcxp-user-hover-head small,
.bcxp-user-hover-popover .bcxp-meta,
.bcxp-user-hover-grid small{
  color:var(--bcxp-muted-text);
}
.bcxp-user-hover-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.55rem;
  margin-top:.7rem;
}
.bcxp-user-hover-grid span{
  display:grid;
  gap:.15rem;
  min-width:0;
  padding:.55rem .6rem;
  border:1px solid var(--bcxp-border);
  border-radius:8px;
  background:var(--bcxp-muted);
}
.bcxp-user-hover-grid b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--bcxp-text);
}
.bcxp-user-hover-progress{
  margin-top:.7rem;
}
.bcxp-user-hover-badges{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  margin-top:.65rem;
}
.bcxp-popover-visit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  margin-top:.75rem;
  padding:.55rem .7rem;
  border-radius:8px;
  background:var(--bcxp-primary);
  color:#08333a !important;
  font-weight:800;
  line-height:1;
  text-decoration:none !important;
}
.bcxp-popover-visit:hover,.bcxp-popover-visit:focus{
  opacity:.92;
  text-decoration:none !important;
}
.bcxp-rank-move{
  --bcxp-move-color:var(--bcxp-muted-text);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2rem;
  height:1.8rem;
  background:var(--bcxp-move-color);
  color:#fff;
  font-size:.72rem;
  font-weight:900;
  line-height:1;
}
.bcxp-rank-move--up{ --bcxp-move-color:#16a34a; }
.bcxp-rank-move--up{ clip-path:polygon(50% 0, 100% 100%, 0 100%); }
.bcxp-rank-move--down{ --bcxp-move-color:#dc2626; }
.bcxp-rank-move--down{ clip-path:polygon(0 0, 100% 0, 50% 100%); }
.bcxp-rank-move--same{
  color:var(--bcxp-muted-text);
  width:auto;
  height:auto;
  background:transparent;
}

/* Mobile: table -> cards */
@media (max-width:640px){
  .bcxp-leaderboard thead{ display:none; }
  .bcxp-leaderboard,
  .bcxp-leaderboard tbody,
  .bcxp-leaderboard tr,
  .bcxp-leaderboard td{ display:block; width:100%; }
  .bcxp-leaderboard tr{
    border:1px solid var(--bcxp-border);
    border-radius:var(--bcxp-radius);
    margin-bottom:.75rem;
    background:var(--bcxp-surface);
    box-shadow:var(--bcxp-shadow);
  }
  .bcxp-leaderboard td{ border-bottom:1px dashed var(--bcxp-border); }
  .bcxp-leaderboard td:last-child{ border-bottom:0; }
  .bcxp-leaderboard td::before{
    content:attr(data-th);
    font-weight:600;
    display:block;
    color:var(--bcxp-muted-text);
    margin-bottom:.25rem;
  }
}

@media (max-width:640px){
  .bcxp-season-table thead{ display:table-header-group; }
  .bcxp-season-table{ display:table; width:100%; }
  .bcxp-season-table tbody{ display:table-row-group; width:auto; }
  .bcxp-season-table tr{
    display:table-row;
    border:0;
    border-radius:0;
    margin:0;
    background:#34495e;
    box-shadow:0 2px 8px rgba(52,73,94,.14);
  }
  .bcxp-season-table thead tr{background:transparent;box-shadow:none}
  .bcxp-season-table th,
  .bcxp-season-table td{ display:table-cell; width:auto; }
  .bcxp-season-table td{
    border-top:1px solid rgba(96,213,189,.38);
    border-bottom:1px solid rgba(96,213,189,.38);
  }
  .bcxp-season-table td::before{ content:none; }
}

/* ---------- Weekly Quests ---------- */
.bcxp-chip{
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.2rem .5rem; border-radius:999px; font-size:.85rem;
  background:var(--bcxp-primary-weak); color:var(--bcxp-primary);
}
.bcxp-chip.success{ background:rgba(22,163,74,.12); color:var(--bcxp-success); }
.bcxp-chip.warn{ background:rgba(245,158,11,.12); color:var(--bcxp-warning); }

/* ---------- Badges ---------- */
.bcxp-badges{ display:flex; flex-wrap:wrap; gap:.75rem; }
.bcxp-badges + .bcxp-badges{ margin-top:.75rem; }
.bcxp-badges .bcxp-badge{
  padding:.5rem .65rem;
  display:inline-flex; gap:.6rem; align-items:center;
  border-radius:var(--bcxp-radius);
  border:1px dashed var(--bcxp-border);
  background:var(--bcxp-surface);
}
.bcxp-badges .bcxp-badge img{ width:28px; height:28px; border-radius:6px; object-fit:contain; }

/* ---------- Profile ---------- */
.bcxp-profile{ padding:1rem 1.15rem; }
.bcxp-profile-card{ padding:1rem 1.1rem; }
.bcxp-profile-card strong{ font-weight:700; }
.bcxp-profile-card .bcxp-meta,
.bcxp-profile .bcxp-meta,
.bcxp-profile small{ color:var(--bcxp-muted-text); }

.bcxp-progress{
  margin-top:.5rem;
  background:var(--bcxp-muted);
  height:12px; border-radius:999px; overflow:hidden; position:relative;
}
.bcxp-progress>span{
  display:block; height:100%; width:var(--bcxp-pct,0%);
  background:linear-gradient(90deg,var(--bcxp-primary),#22c55e);
  transition:width .6s ease;
}
.bcxp-progress[data-pct]>span{ width:attr(data-pct percentage); }

/* ---------- Referral (generic card style) ---------- */
.bcxp-referral{ padding:.9rem 1rem; }
.bcxp-referral input[type="text"],
.bcxp-referral input[type="url"]{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  border:1px solid var(--bcxp-border);
  background:var(--bcxp-bg); color:var(--bcxp-text);
  padding:.55rem .6rem; border-radius:8px; outline:none;
}
.bcxp-referral input[type="text"]:focus,
.bcxp-referral input[type="url"]:focus{
  border-color:var(--bcxp-primary);
  box-shadow:0 0 0 3px rgba(96,213,189,.18);
}
.bcxp-referral .bcxp-row{ display:flex; gap:.5rem; align-items:center; }

.bcxp-btn-row {
  display: flex;
  gap: 15px;
}

.bcxp-btn{
  display:inline-flex; align-items:center; gap:.4rem; font-size: small;
  background:var(--bcxp-primary); color:#0a2230; border:0; border-radius:10px;
  padding:.5rem .75rem; cursor:pointer; text-decoration:none; font-weight:700;
}
.bcxp-btn:hover{ filter:brightness(.96); }
.bcxp-btn:focus{ outline:2px solid var(--bcxp-primary); outline-offset:2px; }
.bcxp-btn.ghost{ background:transparent; color:var(--bcxp-primary); border:1px solid var(--bcxp-primary); }
a.bcxp-btn.ghost { text-decoration: none; }

/* ---------- SHARE BANNERS (Prediction + Tipster) ---------- */
/* Works with PHP class: .bcxp-share-banner */
.bcxp-share-banner{
  position:relative;
  border-radius:16px;
  padding:14px 16px 16px;
  margin: 10px 0px 10px 0px;
  color:#ffffff;
  background:linear-gradient(180deg,var(--bcxp-brand-navy),var(--bcxp-brand-navy-700));
  box-shadow:0 10px 20px rgba(0,0,0,.12),0 2px 8px rgba(0,0,0,.08);
  border:0;
  overflow:hidden;
}
.bcxp-share-banner::before{
  content:"";
  position:absolute; left:0; right:0; top:0; height:6px;
  background:var(--bcxp-brand-teal);
}
.bcxp-share-banner strong{ font-weight:800; }
.bcxp-share-banner p{ margin:.35rem 0 .7rem; color:#e8f6f2; }
.bcxp-share-banner .button,
.bcxp-share-banner .bcxp-btn{
  background:var(--bcxp-brand-teal);
  color:#08333a;
  border:0;
  border-radius:10px;
  padding:.5rem .75rem;
  font-weight:800;
  text-decoration:none;
}
.bcxp-share-banner .button:hover,
.bcxp-share-banner .bcxp-btn:hover{ filter:brightness(.95); }
.bcxp-share-banner input[type="url"],
.bcxp-share-banner input[type="text"]{
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  color:#ffffff;
  padding:.6rem .7rem;
  border-radius:10px;
}
.bcxp-share-banner input::placeholder{ color:rgba(255,255,255,.85); }
.bcxp-share-banner .button.ghost{
  background:transparent; color:var(--bcxp-brand-teal); border:1px solid var(--bcxp-brand-teal);
}

/* Optional modifiers if you add them in PHP */
.bcxp-share-banner--tipster::before{ background:var(--bcxp-brand-teal); }
.bcxp-share-banner--prediction::before{ background:var(--bcxp-brand-teal); }

/* Stack/row layout inside banner */
.bcxp-share-banner .bcxp-share-row{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.bcxp-share-banner .bcxp-share-row input{ flex:1 1 260px; min-width:200px; }
@media (max-width:560px){
  .bcxp-share-banner .bcxp-share-row{ flex-direction:column; align-items:stretch; }
  .bcxp-share-banner .bcxp-share-row a.button,
  .bcxp-share-banner .bcxp-share-row button{ width:100%; }
}

/* ---------- Clan ---------- */
.bcxp-clan-card{ padding:.9rem 1rem; }

/* ---------- Recent activity ---------- */
.bcxp-recent-activity{ list-style:none; margin:0; padding:0; display:grid; gap:.5rem; }
.bcxp-recent-activity li{
  background:var(--bcxp-surface);
  border:1px solid var(--bcxp-border);
  border-radius:var(--bcxp-radius);
  padding:.6rem .75rem;
  box-shadow:var(--bcxp-shadow);
}
.bcxp-recent-activity code{ background:var(--bcxp-primary-weak); padding:.1rem .35rem; border-radius:6px; }
.bcxp-clan-admin .bcxp-recent-activity li{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.35rem;
  padding:.45rem .55rem;
  box-shadow:none;
}
.bcxp-clan-admin .bcxp-recent-activity strong{
  min-width:0;
  margin-right:auto;
}
.bcxp-clan-admin .bcxp-chip{
  padding:.22rem .45rem;
  font-size:.78rem;
}

/* ---------- Utilities ---------- */
.bcxp-stack>*+*{ margin-top:.75rem; }

/* Legacy inline bars nicer */

/* Mobile labels helper */
.bcxp-mobile-label{ display:none; }
@media (max-width:640px){
  .bcxp-mobile-label{ display:block; color:var(--bcxp-muted-text); font-size:.85rem; margin-bottom:.25rem; }
}

/* ---------- Empty state ---------- */
.bcxp-empty{ display:flex; align-items:center; gap:.75rem; padding:1rem 1.1rem; color:var(--bcxp-muted-text); }
.bcxp-empty-icon{
  width:36px; height:36px; border-radius:10px; display:grid; place-items:center;
  background:var(--bcxp-muted); color:var(--bcxp-primary); font-size:18px;
  flex:0 0 36px;
}
.bcxp-empty-icon svg{width:22px;height:22px}
.bcxp-empty-title{ font-weight:700; display:block; color:var(--bcxp-text); }
.bcxp-empty-desc{ color:var(--bcxp-muted-text); }

/* ---------- Streak card / chip ---------- */
.bcxp-streak-card{ padding:1rem 1.1rem; }
.bcxp-streak-header{ display:flex; justify-content:space-between; align-items:center; margin-bottom:.5rem; }
.bcxp-streak-freeze-control{
  display:inline-flex;
  align-items:center;
  padding:0 6px 5px 0;
}
.bcxp-streak-freeze-token-btn{
  border-color:rgba(125,211,252,.76);
}
.bcxp-streak-freeze-token-btn:hover{
  border-color:#7dd3fc;
  box-shadow:0 4px 13px rgba(14,116,144,.28),inset 0 1px 0 rgba(255,255,255,.11);
}
.bcxp-streak-freeze-token-btn .bcxp-shop-corner-item-count{
  background:#7dd3fc;
  color:#0c2a38;
}
.bcxp-pill{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.2rem .6rem; border-radius:999px;
  background:var(--bcxp-primary-weak); color:var(--bcxp-primary);
  font-size:.85rem; font-weight:600;
}
.bcxp-streak-metrics{ display:flex; gap:1.25rem; }
.bcxp-streak-metric{ min-width:100px; }
.bcxp-streak-value{ font-size:1.75rem; font-weight:800; line-height:1.1; }
.bcxp-streak-label{ color:var(--bcxp-muted-text); }
.bcxp-streak-note{ margin-top:.5rem; color:var(--bcxp-muted-text); font-size:.9rem; }

.bcxp-streak,
.shortcode-bcxp-streak{
  display:inline-flex; align-items:center; gap:.55rem;
  color: var(--bcxp-text);
  padding:.45rem .65rem; background:var(--bcxp-muted);
  border:1px solid var(--bcxp-border); border-radius:999px;
}
.shortcode-bcxp-streak strong{ font-weight:800; }
.bcxp-streak .bcxp-fire{
  width:18px; height:18px; border-radius:50%;
  background:radial-gradient(circle at 30% 30%,#ffcd52 0%,#f97316 60%,#ef4444 100%);
  box-shadow:0 0 10px rgba(249,115,22,.25);
}

/* ---------- Badge catalog ---------- */
.bcxp-badges-catalog{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); gap:.75rem; }
.bcxp-badge-item{ display:flex; gap:.75rem; padding:.9rem 1rem; }
.bcxp-badge-item .bcxp-badge-icon img{ width:48px; height:48px; border-radius:8px; object-fit:contain; }
.bcxp-badge-item .bcxp-desc{ margin-top:.15rem; }
.bcxp-badge-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem}
.bcxp-badge-state{display:inline-flex;align-items:center;border-radius:999px;padding:.12rem .45rem;font-size:.72rem;font-weight:800;line-height:1.4}
.bcxp-badge-state.is-earned{background:rgba(22,163,74,.12);color:var(--bcxp-success)}
.bcxp-badge-state.is-locked{background:#e5e7eb;color:#4b5563}
.bcxp-badge-item--locked{background:#f3f4f6;color:#4b5563;border-color:#d1d5db;box-shadow:none}
.bcxp-badge-item--locked .bcxp-badge-icon img{filter:grayscale(1);opacity:.42}
.bcxp-badge-item--locked .bcxp-badge-text{opacity:.82}
.bcxp-badge-item--locked strong{color:#374151}
.bcxp-badge-item--earned{border-color:rgba(22,163,74,.28)}

/* ---------- User profile card ---------- */
.bcxp-user-profile-card{
  position:relative;
  overflow:visible;
  padding:1rem;
  border-color:rgba(96,213,189,.42);
  background:linear-gradient(135deg,#29465f 0%,#172b40 48%,#0d1624 100%);
  box-shadow:0 12px 30px rgba(5,12,22,.22);
  color:#edf5ff;
  --bcxp-surface:#0d1624;
  --bcxp-muted:#132238;
  --bcxp-text:#edf5ff;
  --bcxp-muted-text:#b8c8d9;
  --bcxp-border:#29405a;
}
.post-body > p:first-child:empty:has(+ .bc-tp-row--bcxp-profile){display:none}
.post-body > .bc-tp-row--bcxp-profile:first-child,
.post-body > p:first-child:empty + .bc-tp-row--bcxp-profile{padding-top:1px}
.bcxp-card.bcxp-user-profile-card--account{
  border-top:0;
  border-top-left-radius:0;
  border-top-right-radius:0;
  background:linear-gradient(135deg,#314761 0%,#20364e 48%,#0d1624 100%);
}
.bcxp-user-profile-card--tipster{
  flex:1 1 520px;
  min-width:0;
  border-top:3px solid #1abc9d;
  background:linear-gradient(135deg,var(--primary-color,#3a536a) 0%,#294762 45%,#0d1624 100%);
}
.bcxp-user-profile-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.bcxp-user-profile-head{display:flex;align-items:center;gap:.85rem}
.bcxp-user-profile-avatar-link{display:block;flex:0 0 auto;border-radius:12px}
.bcxp-user-profile-avatar{width:72px;height:72px;border-radius:12px;object-fit:cover;border:1px solid var(--bcxp-border);flex:0 0 auto}
.bcxp-user-profile-identity{min-width:0}
.bcxp-user-profile-name-row{display:flex;align-items:center;gap:.5rem;min-width:0;flex-wrap:wrap}
.bcxp-user-profile-head .bcxp-section-title{margin:0;font-size:1.25rem;line-height:1.2}
.bcxp-user-profile-head .bcxp-section-title a{color:inherit;text-decoration:none}
.bcxp-user-profile-head .bcxp-section-title a:hover,.bcxp-user-profile-head .bcxp-section-title a:focus{color:#60d5bd;text-decoration:none}
.bcxp-user-profile-presence{display:flex;align-items:center}
.bcxp-user-profile-clan{margin-top:.25rem}
.bcxp-user-profile-tools{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;min-width:0}
.bcxp-user-profile-tools>[data-bcxp-user-active-powerups]:empty{display:none}
.bcxp-user-profile-tool-btn{
  position:relative;
  display:grid;
  place-items:center;
  flex:0 0 40px;
  width:40px;
  height:40px;
  padding:0;
  border:1px solid rgba(96,213,189,.44);
  border-radius:9px;
  background:rgba(7,16,26,.7);
  color:#edf5ff;
  cursor:pointer;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);
}
.bcxp-user-profile-tool-btn:hover,.bcxp-user-profile-tool-btn:focus-visible{border-color:#60d5bd;box-shadow:0 0 0 3px rgba(96,213,189,.16)}
.bcxp-user-profile-tool-btn.is-active{border-color:#6ee7b7;box-shadow:0 0 12px rgba(52,211,153,.42)}
.bcxp-user-profile-tool-btn .bcxp-shop-icon.small{width:32px;height:32px;border-radius:7px}
.bcxp-user-profile-tool-count{position:absolute;right:-6px;top:-7px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border:2px solid #172b40;border-radius:999px;background:#f7c948;color:#152030;font-size:.65rem;font-weight:900;line-height:1}
.bcxp-user-profile-actions{display:flex;align-items:center;justify-content:flex-start;gap:.55rem;flex-wrap:wrap;margin-top:.8rem}
.bcxp-user-profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;margin-top:.85rem}
.bcxp-user-profile-stats span{display:grid;gap:.15rem;min-width:0;padding:.55rem .6rem;border:1px solid var(--bcxp-border);border-radius:8px;background:var(--bcxp-muted)}
.bcxp-user-profile-stats b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bcxp-user-profile-stats small{font-size:.78rem;color:var(--bcxp-muted-text)}
.bcxp-user-profile-badges{display:grid;gap:.45rem;margin-top:.85rem}
.bcxp-user-profile-badge-list{display:flex;flex-wrap:wrap;gap:.45rem}
.bcxp-user-profile-badge{position:relative;display:inline-flex;align-items:center;gap:.4rem;max-width:190px;padding:.34rem .52rem;border:1px solid var(--bcxp-border);border-radius:999px;background:var(--bcxp-muted);color:var(--bcxp-text);font-size:.86rem;font-weight:700}
.bcxp-user-profile-badge img{width:24px;height:24px;border-radius:999px;object-fit:cover;flex:0 0 auto}
.bcxp-user-profile-badge-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bcxp-user-profile-badge:is([data-badge-slug^="correct_score_"],[data-badge-slug^="european_handicap_"]) .bcxp-user-profile-badge-label{white-space:normal;overflow-wrap:anywhere}
.bcxp-user-profile-badge-fallback{width:24px;height:24px;flex:0 0 auto;color:#60d5bd}
.bcxp-user-profile-badge:focus-visible{outline:2px solid #60d5bd;outline-offset:3px}
.bcxp-user-profile-badge .bcxp-badge-popover{display:none;box-sizing:border-box}
.bcxp-user-profile-badge:hover .bcxp-badge-popover,
.bcxp-user-profile-badge:focus .bcxp-badge-popover,
.bcxp-user-profile-badge.is-open .bcxp-badge-popover{display:grid}
.bcxp-user-profile-extras{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin-top:.8rem;padding-top:.75rem;border-top:1px solid var(--bcxp-border)}
.bcxp-user-profile-status{position:absolute;inset:0 auto auto 0;z-index:3}
@media (max-width:760px){.bcxp-user-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .bcxp-user-profile-topline{align-items:flex-start;flex-wrap:wrap}
  .bcxp-user-profile-head{align-items:flex-start;min-width:0}
  .bcxp-user-profile-tools{width:100%;justify-content:space-between}
  .bcxp-user-profile-tools .bcxp-shop-active-powerups{margin-left:0;padding-left:0}
}
@media (max-width:420px){
  .bcxp-user-profile-avatar{width:58px;height:58px}
  .bcxp-user-profile-head .bcxp-section-title{font-size:1.08rem}
  .bcxp-user-profile-stats{gap:.4rem}
}

/* Tipster headers keep identity, controls and XP together at every card width. */
.bcxp-user-profile-card--tipster{display:flex;flex-direction:column;gap:10px;padding:14px}
.bcxp-user-profile-card--tipster .bcxp-user-profile-topline{align-items:center;flex-wrap:wrap;gap:10px 12px}
.bcxp-user-profile-card--tipster .bcxp-user-profile-summary{flex:1 1 210px;min-width:0;display:flex;flex-direction:column;align-self:stretch;align-items:flex-start;gap:4px}
.bcxp-user-profile-card--tipster .bcxp-user-profile-head{flex:1 1 210px;min-width:0;align-items:center;gap:10px}
.bcxp-user-profile-card--tipster .bcxp-user-profile-summary>.bcxp-user-profile-head{flex:0 1 auto}
.bcxp-user-profile-summary>[data-bcxp-profile-actions]:empty{display:none}
.bcxp-user-profile-summary>.bcxp-xp-booster-launcher{display:flex;width:86px;justify-content:center;justify-self:start;grid-column:1;grid-row:2}
.bcxp-user-profile-card--tipster .bcxp-user-profile-tools:has(>[data-bcxp-user-active-powerups]:only-child:empty){display:none}
:is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-avatar-link{border-radius:50%}
:is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-avatar{display:block;box-sizing:content-box;width:80px;height:80px;border:3px solid white;border-radius:50%}
:is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-identity{overflow-wrap:anywhere}
:is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-name-row{flex-direction:column;align-items:flex-start;gap:4px}
.bcxp-user-profile-card--tipster .bcxp-user-profile-tools{width:auto;margin-left:auto;justify-content:flex-end}
.bcxp-user-profile-card--tipster .bcxp-user-profile-header-actions{margin:0 0 0 auto;gap:8px}
.bcxp-user-profile-card--tipster .bcxp-user-profile-progression{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;min-width:0}
.bcxp-user-profile-card--tipster .bcxp-user-profile-stats{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.bcxp-user-profile-card--tipster .bcxp-user-profile-stats>span{display:flex;align-items:baseline;gap:6px;padding:7px 10px}
.bcxp-user-profile-card--tipster .bcxp-user-profile-stats b{font-size:16px}
.bcxp-user-profile-card--tipster .bcxp-user-profile-stats small{font-size:12px;white-space:nowrap}
.bcxp-user-profile-card--tipster .bcxp-user-profile-meter{flex:1 1 180px;min-width:0}
.bcxp-user-profile-card--tipster .bcxp-progress{height:7px;margin:0 0 3px}
.bcxp-user-profile-card--tipster .bcxp-user-profile-meter>.bcxp-meta{display:block;font-size:12px;line-height:1.4}
:is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-badges{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0;padding-top:8px;border-top:1px solid var(--bcxp-border)}
:is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-badges>.bcxp-meta{font-size:12px;line-height:1.4}
:is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-badge-list{gap:5px}
:is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-badge{padding:3px 7px;font-size:12px}
.bcxp-user-profile-badge-list .bcxp-user-profile-badge--debut{padding-inline-end:12px}
:is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-badge img,:is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-badge-fallback,
:is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-badge>svg{width:20px;height:20px;flex:none}
.bcxp-user-profile-card--tipster .bcxp-user-profile-extras{margin:0}
.bcxp-user-profile-card--tipster .bcxp-user-profile-footer{display:grid;gap:8px}
.bcxp-user-profile-footer>[data-ts-tipster-profile-actions]:empty{display:none}
.bcxp-user-profile-footer:has(>[data-ts-tipster-profile-actions]:only-child:empty){display:none}
@media(max-width:600px){
  .bcxp-user-profile-card--tipster{padding:12px;gap:9px}
  .bcxp-user-profile-card--tipster .bcxp-user-profile-topline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .bcxp-user-profile-card--tipster .bcxp-user-profile-summary{grid-column:1/-1}
  .bcxp-user-profile-card--tipster .bcxp-user-profile-head{align-self:stretch;align-items:flex-start;gap:6px}
  .bcxp-user-profile-card--tipster .bcxp-user-profile-tools{grid-column:1/-1}
  .bcxp-user-profile-card--tipster .bcxp-section-title{font-size:1rem}
  .bcxp-user-profile-card--tipster .bcxp-user-profile-header-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));width:100%;margin:0;gap:8px}
  .bcxp-user-profile-card--tipster .bcxp-user-profile-progression{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .bcxp-user-profile-card--tipster .bcxp-user-profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .bcxp-user-profile-card--tipster .bcxp-user-profile-stats>span{flex-direction:row-reverse;justify-content:space-between;gap:4px;padding:7px 8px;line-height:1.3}
  .bcxp-user-profile-card--tipster .bcxp-user-profile-stats b{font-size:15px}
  .bcxp-user-profile-card--tipster .bcxp-user-profile-meter{min-width:0}
  :is(.bcxp-user-profile-card--tipster,.bcxp-user-profile-card--account) .bcxp-user-profile-badges{display:grid;gap:5px}
}
@media(max-width:360px){
  .bcxp-user-profile-card--tipster .bcxp-user-profile-stats>span{flex-direction:column-reverse;align-items:flex-start;gap:2px}
  .bcxp-user-profile-card--tipster .bcxp-user-profile-stats b{max-width:100%;font-size:16px}
}

/* ---------- XP booster action ---------- */
.bcxp-xp-booster-modal{display:grid;gap:1rem;color:var(--bcxp-text);font-family:var(--bcxp-font)}
.bcxp-xp-booster-modal__intro h3{margin:.18rem 0 .25rem;color:var(--bcxp-text);font-size:1.25rem;line-height:1.2}
.bcxp-xp-booster-modal__intro p{margin:0;color:var(--bcxp-muted-text)}
.bcxp-xp-booster-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.bcxp-xp-booster-option{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.75rem;align-items:start;padding:.8rem;border:1px solid var(--bcxp-border);border-radius:8px;background:var(--bcxp-muted)}
.bcxp-xp-booster-option__copy{display:grid;gap:.22rem;min-width:0}
.bcxp-xp-booster-option h4{margin:0;color:var(--bcxp-text);font-size:1rem;line-height:1.2}
.bcxp-xp-booster-option p{margin:0;color:var(--bcxp-muted-text);font-size:.82rem;line-height:1.35}
.bcxp-xp-booster-option__copy>span{display:flex;align-items:center;flex-wrap:wrap;gap:4px;color:var(--bcxp-muted-text);font-size:.76rem;font-weight:700}
.bcxp-xp-booster-option__actions{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.bcxp-xp-booster-option__actions small{color:var(--bcxp-muted-text);font-size:.74rem;line-height:1.3}
.bcxp-xp-booster-option__actions .bcxp-btn{flex:0 0 auto;justify-content:center}
.bcxp-xp-booster-option__actions .bcxp-btn:disabled{opacity:.5;cursor:not-allowed;filter:saturate(.45)}
.bcxp-xp-booster-modal.is-busy [data-bcxp-shop-action]{pointer-events:none}
@media (max-width:660px){
  .bcxp-xp-booster-options{grid-template-columns:1fr}
  .bcxp-xp-booster-option__actions{align-items:stretch;flex-direction:column}
  .bcxp-xp-booster-option__actions .bcxp-btn{width:100%}
}

/* ---------- Inline empty states ---------- */
.bcxp-badges p:only-child,
.bcxp-badge-catalog p:only-child,
.bcxp-weekly-quests p:only-child,
.bcxp-quests p:only-child,
.bcxp-clan-card p:only-child{
  display:block; padding:.85rem 1rem;
  border:1px dashed var(--bcxp-border); border-radius:var(--bcxp-radius);
  background:var(--bcxp-muted); color:var(--bcxp-muted-text);
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion:reduce){
  .bcxp-progress>span{ transition:none!important; }
  .bcxp-quest-reroll-trigger,
  .bcxp-quest-reroll-choice,
  .bcxp-prediction-spotlight-trigger{transition:none!important}
  .bcxp-shop-active-powerup::before{animation:none!important}
  .bcxp-quest-section.is-reroll-complete .bcxp-quest,
  .bcxp-shop-action-modal.is-reroll-complete .bcxp-quest-reroll-choice,
  .bcxp-quest-reroll-choice.is-rerolling .bcxp-shop-icon{animation:none!important}
}

/* ---------- Dark-mode tweaks ---------- */
@media (prefers-color-scheme:dark){
  .bcxp-btn{ box-shadow:none; }
  .bcxp-referral input[type="text"]{ background:#0b0e13; }
  .bcxp-badge{ border-color:rgba(255,255,255,.08); }
  .bcxp-badges-catalog>div{ border-color:rgba(255,255,255,.08); }
}

/* ---------- Clan forms (inputs readable) ---------- */
.bcxp-clan-form,
.bcxp-clan-admin,
.bcxp-clan-card form{
  background:var(--bcxp-surface);
  border:1px solid var(--bcxp-border);
  border-radius:var(--bcxp-radius);
  box-shadow:var(--bcxp-shadow);
  padding:1rem 1.2rem;
  color:var(--bcxp-text);
}
.bcxp-field{ margin-bottom:.9rem; }
.bcxp-field>label{ display:inline-block; font-weight:700; margin-bottom:.35rem; color:var(--bcxp-text); }
.bcxp-help{ display:block; margin-top:.35rem; font-size:.92rem; color:var(--bcxp-muted-text); }

.bcxp-input,
.bcxp-select,
.bcxp-textarea,
.bcxp-clan-form input[type="text"],
.bcxp-clan-form input[type="number"],
.bcxp-clan-form input[type="email"],
.bcxp-clan-form input[type="url"],
.bcxp-clan-form input[type="search"],
.bcxp-clan-form select,
.bcxp-clan-form textarea,
.bcxp-clan-admin input[type="text"],
.bcxp-clan-admin input[type="number"],
.bcxp-clan-admin select,
.bcxp-clan-admin textarea{
  width:100%; appearance:none;
  border:1px solid var(--bcxp-border);
  background:var(--bcxp-bg); color:var(--bcxp-text);
  border-radius:10px; padding:.6rem .7rem;
  line-height:1.45; font-size:1rem;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.bcxp-clan-form :is(input,select,textarea):focus,
.bcxp-clan-admin :is(input,select,textarea):focus{
  outline:none; border-color:var(--bcxp-primary);
  box-shadow:0 0 0 3px rgba(96,213,189,.18);
  background:var(--bcxp-surface);
}

.bcxp-members{ border:1px solid var(--bcxp-border); border-radius:var(--bcxp-radius); overflow:hidden; }
.bcxp-members table{ width:100%; border-collapse:collapse; background:var(--bcxp-surface); }
.bcxp-members th,.bcxp-members td{
  padding:.7rem .9rem; border-bottom:1px solid var(--bcxp-border);
  text-align:left; vertical-align:middle; color:var(--bcxp-text);
}
.bcxp-members th{ background:var(--bcxp-muted); color:var(--bcxp-muted-text); font-weight:700; }
.bcxp-members tr:last-child td{ border-bottom:0; }

.bcxp-clan-heading{
  display:flex;
  align-items:center;
  gap:.75rem;
}
.bcxp-clan-image-legacy{
  width:72px;
  height:72px;
  border-radius:12px;
  object-fit:cover;
  border:1px solid var(--bcxp-border);
}
.bcxp-clan-icon-builder{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:1rem;
  align-items:center;
  border:1px solid var(--bcxp-border);
  border-radius:var(--bcxp-radius);
  background:var(--bcxp-surface);
  padding:.85rem;
}
.bcxp-clan-icon-preview{
  display:grid;
  place-items:center;
}
.bcxp-clan-icon{
  --bcxp-icon-border:#60d5bd;
  --bcxp-icon-bg:#34495e;
  --bcxp-icon-fg:#ffffff;
  position:relative;
  display:inline-grid;
  place-items:center;
  width:72px;
  height:72px;
  flex:0 0 auto;
  color:var(--bcxp-icon-fg);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--bcxp-icon-bg) 88%, #fff 12%), var(--bcxp-icon-bg));
  border:5px solid var(--bcxp-icon-border);
  box-shadow:0 8px 18px rgba(0,0,0,.16), inset 0 0 0 2px rgba(255,255,255,.14);
  overflow:hidden;
}
.bcxp-clan-icon::before{
  content:"";
  position:absolute;
  inset:9px;
  opacity:.2;
  background:transparent;
}
.bcxp-clan-icon::after{
  content:"";
  position:absolute;
  width:28px;
  height:28px;
  background:var(--bcxp-icon-border);
}
.bcxp-clan-icon-inner{
  position:relative;
  z-index:2;
  display:grid;
  place-items:center;
  width:34px;
  height:30px;
  border-radius:999px;
  color:#0b1f2a;
  background:rgba(255,255,255,.86);
  font-weight:900;
  font-size:14px;
  letter-spacing:0;
}
.bcxp-clan-icon--border-gold{ --bcxp-icon-border:#f7c948; --bcxp-icon-bg:#3b2f19; }
.bcxp-clan-icon--border-ruby{ --bcxp-icon-border:#ef476f; --bcxp-icon-bg:#3a1722; }
.bcxp-clan-icon--border-violet{ --bcxp-icon-border:#9b5de5; --bcxp-icon-bg:#24113a; }
.bcxp-clan-icon--border-steel{ --bcxp-icon-border:#94a3b8; --bcxp-icon-bg:#263241; }
.bcxp-clan-icon--border-navy{ --bcxp-icon-border:#34495e; --bcxp-icon-bg:#0f2535; }
.bcxp-clan-icon--border-odds{ --bcxp-icon-border:#22c55e; --bcxp-icon-bg:#123422; }
.bcxp-clan-icon--outer-shield{ border-radius:18px 18px 24px 24px; clip-path:polygon(50% 0, 92% 16%, 86% 78%, 50% 100%, 14% 78%, 8% 16%); }
.bcxp-clan-icon--outer-circle{ border-radius:999px; }
.bcxp-clan-icon--outer-hex{ border-radius:12px; clip-path:polygon(24% 0, 76% 0, 100% 50%, 76% 100%, 24% 100%, 0 50%); }
.bcxp-clan-icon--outer-diamond{ border-radius:12px; transform:rotate(45deg); }
.bcxp-clan-icon--outer-diamond .bcxp-clan-icon-inner,
.bcxp-clan-icon--outer-diamond::before,
.bcxp-clan-icon--outer-diamond::after{ transform:rotate(-45deg); }
.bcxp-clan-icon--outer-ticket{ border-radius:16px; clip-path:polygon(0 12%, 12% 12%, 12% 0, 88% 0, 88% 12%, 100% 12%, 100% 88%, 88% 88%, 88% 100%, 12% 100%, 12% 88%, 0 88%); }
.bcxp-clan-icon--outer-crest{ border-radius:999px 999px 18px 18px; clip-path:polygon(50% 0, 92% 22%, 84% 88%, 50% 100%, 16% 88%, 8% 22%); }
.bcxp-clan-icon--pattern-stripes::before{
  background:repeating-linear-gradient(135deg, rgba(255,255,255,.9) 0 3px, transparent 3px 9px);
}
.bcxp-clan-icon--pattern-grid::before{
  background:
    linear-gradient(rgba(255,255,255,.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.9) 1px, transparent 1px);
  background-size:10px 10px;
}
.bcxp-clan-icon--pattern-burst::before{
  inset:0;
  background:conic-gradient(from 0deg, rgba(255,255,255,.75), transparent 18deg, rgba(255,255,255,.75) 36deg);
}
.bcxp-clan-icon--pattern-waves::before{
  background:radial-gradient(circle at 50% 0, transparent 0 8px, rgba(255,255,255,.85) 9px 10px, transparent 11px 19px);
  background-size:22px 16px;
}
.bcxp-clan-icon--pattern-dots::before{
  background:radial-gradient(circle, rgba(255,255,255,.85) 0 2px, transparent 3px);
  background-size:11px 11px;
}
.bcxp-clan-icon--pattern-chevrons::before{
  background:
    linear-gradient(135deg, rgba(255,255,255,.85) 25%, transparent 25%) -8px 0/16px 16px,
    linear-gradient(225deg, rgba(255,255,255,.85) 25%, transparent 25%) -8px 0/16px 16px;
}
.bcxp-clan-icon--inner-bolt::after{ clip-path:polygon(54% 0, 18% 52%, 45% 52%, 33% 100%, 82% 38%, 54% 38%); }
.bcxp-clan-icon--inner-crown::after{ clip-path:polygon(0 82%, 0 32%, 24% 58%, 50% 18%, 76% 58%, 100% 32%, 100% 82%); }
.bcxp-clan-icon--inner-star::after{ clip-path:polygon(50% 0, 62% 35%, 100% 36%, 69% 58%, 80% 96%, 50% 73%, 20% 96%, 31% 58%, 0 36%, 38% 35%); }
.bcxp-clan-icon--inner-target::after{
  border-radius:999px;
  background:radial-gradient(circle, var(--bcxp-icon-bg) 0 22%, var(--bcxp-icon-border) 23% 42%, var(--bcxp-icon-bg) 43% 58%, var(--bcxp-icon-border) 59%);
}
.bcxp-clan-icon--inner-flame::after{ border-radius:55% 45% 55% 45%; clip-path:polygon(52% 0, 82% 38%, 70% 80%, 49% 100%, 25% 82%, 14% 52%, 36% 26%); }
.bcxp-clan-icon--inner-trophy::after{ clip-path:polygon(24% 0, 76% 0, 76% 14%, 96% 14%, 86% 52%, 66% 52%, 60% 72%, 74% 72%, 74% 100%, 26% 100%, 26% 72%, 40% 72%, 34% 52%, 14% 52%, 4% 14%, 24% 14%); }
.bcxp-clan-icon--inner-check::after{ clip-path:polygon(38% 72%, 12% 47%, 0 60%, 38% 98%, 100% 22%, 85% 10%); }
.bcxp-clan-icon--inner-odds::after{
  width:34px;
  height:22px;
  border-radius:7px;
  background:var(--bcxp-icon-border);
  box-shadow:inset 0 0 0 7px var(--bcxp-icon-bg);
}
.bcxp-club-gift-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:.45rem;
  align-items:end;
}
.bcxp-club-gift-form select{
  width:100%;
  min-width:0;
  min-height:36px;
  height:36px;
  flex:0 1 auto;
  padding:.32rem .48rem;
}
.bcxp-club-gift-form .bcxp-number-stepper{
  width:auto;
  min-width:0;
  grid-template-columns:30px 78px 30px;
  gap:.28rem;
  margin:0;
}
.bcxp-club-gift-form .bcxp-number-stepper button,
.bcxp-club-gift-form .bcxp-number-stepper input{
  min-height:36px;
}
.bcxp-club-gift-form .bcxp-btn{
  width:auto;
  min-height:36px;
  justify-content:center;
  white-space:nowrap;
}
.bcxp-clan-role-note{
  border:1px dashed var(--bcxp-border);
  border-radius:var(--bcxp-radius);
  background:var(--bcxp-muted);
  padding:.8rem .9rem;
}
.bcxp-number-stepper{
  display:inline-grid;
  grid-template-columns:34px minmax(74px, 1fr) 34px;
  align-items:stretch;
  flex:1 1 150px;
  min-width:150px;
  border:1px solid var(--bcxp-border);
  border-radius:10px;
  background:var(--bcxp-bg);
  overflow:hidden;
}
.bcxp-card form .bcxp-number-stepper input[type="number"]{
  min-width:0;
  width:100%;
  border:0;
  border-radius:0;
  text-align:center;
  box-shadow:none;
  -moz-appearance:textfield;
}
.bcxp-card form .bcxp-number-stepper input[type="number"]::-webkit-outer-spin-button,
.bcxp-card form .bcxp-number-stepper input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.bcxp-number-stepper button{
  display:grid;
  place-items:center;
  border:0;
  background:var(--bcxp-muted);
  color:var(--bcxp-text);
  font:900 1.1rem/1 var(--bcxp-font);
  cursor:pointer;
}
.bcxp-number-stepper button:hover:not(:disabled){
  background:var(--bcxp-primary-weak);
  color:var(--bcxp-primary);
}
.bcxp-number-stepper button:disabled{
  opacity:.45;
  cursor:not-allowed;
}
@media (max-width:640px){
  .bcxp-clan-form-grid,
  .bcxp-clan-icon-builder{ grid-template-columns:1fr; }
  .bcxp-number-stepper{ width:100%; }
}

/* ===== Forms inside .bcxp-card ===== */
.bcxp-card form.bcxp-stack { display: grid; gap: .7rem; }
.bcxp-card form.bcxp-row   { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

.bcxp-card form input[type="text"],
.bcxp-card form input[type="number"],
.bcxp-card form input[type="email"],
.bcxp-card form input[type="url"],
.bcxp-card form input[type="search"],
.bcxp-card form select,
.bcxp-card form textarea {
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  background-color: var(--bcxp-bg);
  color: var(--bcxp-text);
  border: 1px solid var(--bcxp-border);
  border-radius: 10px;
  padding: .62rem .72rem;
  font: 400 1rem/1.45 var(--bcxp-font);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.bcxp-card form input::placeholder,
.bcxp-card form textarea::placeholder { color: var(--bcxp-muted-text); opacity: .9; }
.bcxp-card form input:focus,
.bcxp-card form select:focus,
.bcxp-card form textarea:focus {
  outline: none;
  border-color: var(--bcxp-primary);
  box-shadow: 0 0 0 3px rgba(96,213,189,.18);
  background-color: var(--bcxp-surface);
}
.bcxp-card form :is(input,select,textarea)[disabled],
.bcxp-card form :is(input,textarea)[readonly] { opacity:.65; cursor:not-allowed; }

.bcxp-card form .bcxp-btn,
.bcxp-card form button[type="submit"],
.bcxp-card form input[type="submit"]{
  display:inline-flex; align-items:center; justify-content:center; gap:.45rem;
  background-color:var(--bcxp-primary); color:#08333a;
  border:1px solid var(--bcxp-primary);
  border-radius:10px; padding:.58rem .9rem;
  font:700 1rem/1 var(--bcxp-font);
  cursor:pointer; text-decoration:none;
  transition:opacity .15s ease, transform .05s ease;
}
.bcxp-card form .bcxp-btn:hover,
.bcxp-card form button[type="submit"]:hover,
.bcxp-card form input[type="submit"]:hover{ opacity:.95; }
.bcxp-card form .bcxp-btn:active,
.bcxp-card form button[type="submit"]:active,
.bcxp-card form input[type="submit"]:active{ transform:translateY(1px); }

.bcxp-card form.bcxp-row input[type="text"],
.bcxp-card form.bcxp-row input[type="number"],
.bcxp-card form.bcxp-row input[type="email"],
.bcxp-card form.bcxp-row input[type="url"],
.bcxp-card form.bcxp-row input[type="search"],
.bcxp-card form.bcxp-row select,
.bcxp-card form.bcxp-row textarea{ flex:1 1 260px; min-width:0; }
.bcxp-card form.bcxp-row :is(.bcxp-btn,button[type="submit"],input[type="submit"]){ flex:0 0 auto; white-space:nowrap; }

.bcxp-referral .bcxp-row{
  flex-wrap:wrap;
  align-items:center;
}
.bcxp-referral .bcxp-row > form{
  flex:0 0 auto;
  margin:0;
}
.bcxp-card .bcxp-referral .bcxp-row > form .bcxp-btn,
.bcxp-card .bcxp-referral .bcxp-row > form button[type="submit"],
.bcxp-referral .bcxp-btn[data-bcxp-copy]{
  min-height:38px;
  padding:.48rem .72rem;
  font-size:.9rem;
  line-height:1;
}
.bcxp-referral .bcxp-btn[data-bcxp-copy]{
  margin-top:0 !important;
}

.bcxp-card > strong:first-child,
.bcxp-card > h4:first-child,
.bcxp-card > h5:first-child{ display:block; margin:2px 0 8px; font-weight:800; color:var(--bcxp-text); }

.bcxp-card{ background-color:var(--bcxp-surface); border:1px solid var(--bcxp-border); border-radius:var(--bcxp-radius); box-shadow:var(--bcxp-shadow); color:var(--bcxp-text); }

@media (max-width:560px){
  .bcxp-card form.bcxp-row{ flex-direction:column; align-items:stretch; }
  .bcxp-card form.bcxp-row :is(.bcxp-btn,button[type="submit"],input[type="submit"]){ width:100%; }
}
@media (prefers-color-scheme:dark){
  .bcxp-card form :is(input[type="text"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],select,textarea){
    background-color:#0b0e13;
  }
}

/* ---------- Clan leaderboard (inherits table styling) ---------- */
table.bcxp-clan-leaderboard{width:100%;border-collapse:separate;border-spacing:0;overflow:visible;border-radius:var(--bcxp-radius);background:var(--bcxp-surface);box-shadow:var(--bcxp-shadow);border:1px solid var(--bcxp-border)}
.bcxp-clan-leaderboard tbody,
.bcxp-clan-leaderboard tr,
.bcxp-clan-leaderboard td{overflow:visible}
.bcxp-clan-leaderboard thead th{text-align:left;font-weight:700;background:var(--bcxp-muted);color:var(--bcxp-muted-text);border-bottom:1px solid var(--bcxp-border);padding:.8rem 1rem}
.bcxp-clan-leaderboard tbody td{padding:.85rem 1rem;border-bottom:1px solid var(--bcxp-border);color:var(--bcxp-text)}
.bcxp-clan-leaderboard th:nth-child(1),.bcxp-clan-leaderboard td:nth-child(1){width:64px;white-space:nowrap}
.bcxp-clan-leaderboard th:nth-child(2),.bcxp-clan-leaderboard td:nth-child(2){width:auto}
.bcxp-clan-leaderboard th:nth-child(3),.bcxp-clan-leaderboard td:nth-child(3),.bcxp-clan-leaderboard th:nth-child(4),.bcxp-clan-leaderboard td:nth-child(4){width:120px;text-align:right;white-space:nowrap}
.bcxp-clan-leaderboard tbody tr:nth-child(odd){background:rgba(0,0,0,.015)}
@media (prefers-color-scheme:dark){.bcxp-clan-leaderboard tbody tr:nth-child(odd){background:rgba(255,255,255,.03)}}
.bcxp-clan-leaderboard tbody tr:last-child td{border-bottom:0}
.bcxp-clan-leaderboard tbody tr:hover{background:var(--bcxp-primary-weak);transition:background .18s ease}

/* Mobile: table → cards */
@media (max-width:640px){
  .bcxp-clan-leaderboard thead{display:none}
  .bcxp-clan-leaderboard,.bcxp-clan-leaderboard tbody,.bcxp-clan-leaderboard tr,.bcxp-clan-leaderboard td{display:block;width:100%}
  .bcxp-clan-leaderboard tr{border:1px solid var(--bcxp-border);border-radius:var(--bcxp-radius);margin-bottom:.75rem;background:var(--bcxp-surface);box-shadow:var(--bcxp-shadow)}
  .bcxp-clan-leaderboard td{border-bottom:1px dashed var(--bcxp-border)}
  .bcxp-clan-leaderboard td:last-child{border-bottom:0}
  .bcxp-clan-leaderboard td::before{content:attr(data-th);font-weight:600;display:block;color:var(--bcxp-muted-text);margin-bottom:.25rem}
}

@media (max-width:640px){
  table.bcxp-clan-leaderboard{display:table;table-layout:fixed;width:100%;min-width:0}
  .bcxp-clan-leaderboard thead{display:table-header-group}
  .bcxp-clan-leaderboard tbody{display:table-row-group;width:auto}
  .bcxp-clan-leaderboard tr{display:table-row;width:auto;border:0;border-radius:0;margin:0;box-shadow:none}
  .bcxp-clan-leaderboard th,.bcxp-clan-leaderboard td{display:table-cell;width:auto;border-bottom:1px solid var(--bcxp-border);padding:.62rem .5rem}
  .bcxp-clan-leaderboard td::before{content:none}
  .bcxp-clan-leaderboard th:nth-child(1),.bcxp-clan-leaderboard td:nth-child(1){width:46px}
  .bcxp-clan-leaderboard th:nth-child(3),.bcxp-clan-leaderboard td:nth-child(3),.bcxp-clan-leaderboard th:nth-child(4),.bcxp-clan-leaderboard td:nth-child(4){width:72px}
}

/* Optional rank flair */
.bcxp-clan-leaderboard tbody tr:nth-child(1) td:first-child{font-weight:800}
.bcxp-clan-leaderboard tbody tr:nth-child(1){box-shadow:inset 0 0 0 9999px rgba(255,215,0,.06)}
.bcxp-clan-leaderboard tbody tr:nth-child(2){box-shadow:inset 0 0 0 9999px rgba(192,192,192,.05)}
.bcxp-clan-leaderboard tbody tr:nth-child(3){box-shadow:inset 0 0 0 9999px rgba(205,127,50,.05)}

/* ---------- Clan profiles, links, and hover details ---------- */
.bcxp-clan-hovercard{position:relative;display:inline-flex;max-width:100%;z-index:2}
.bcxp-clan-hovercard:hover,.bcxp-clan-hovercard:focus-within,.bcxp-clan-hovercard.is-open{z-index:100}
.bcxp-clan-link{display:inline-flex;align-items:center;gap:.55rem;max-width:100%;color:var(--bcxp-primary);font-weight:800;text-decoration:none}
.bcxp-clan-link:hover,.bcxp-clan-link:focus{text-decoration:underline}
.bcxp-clan-link .bcxp-clan-icon,.bcxp-clan-link .bcxp-clan-image-legacy{width:34px;height:34px;border-width:3px;border-radius:9px}
.bcxp-clan-link .bcxp-clan-icon::before{inset:5px}
.bcxp-clan-link .bcxp-clan-icon::after{width:14px;height:14px}
.bcxp-clan-link .bcxp-clan-icon-inner{width:20px;height:18px;font-size:9px}
.bcxp-clan-popover{position:absolute;left:0;top:calc(100% + 10px);z-index:50;display:block;width:min(310px, calc(100vw - 32px));padding:.85rem;border:1px solid var(--bcxp-border);border-radius:10px;background:var(--bcxp-surface);color:var(--bcxp-text);box-shadow:0 18px 42px rgba(0,0,0,.18);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-4px);transition:opacity .15s ease,transform .15s ease,visibility .15s ease}
.bcxp-clan-hovercard:hover .bcxp-clan-popover,.bcxp-clan-hovercard:focus-within .bcxp-clan-popover,.bcxp-clan-hovercard.is-open .bcxp-clan-popover{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.bcxp-clan-popover-head{display:flex;align-items:center;gap:.65rem}
.bcxp-clan-popover-head .bcxp-clan-icon,.bcxp-clan-popover-head .bcxp-clan-image-legacy{width:46px;height:46px;border-width:3px}
.bcxp-clan-popover-head .bcxp-clan-icon::after{width:18px;height:18px}
.bcxp-clan-popover-head .bcxp-clan-icon-inner{width:24px;height:22px;font-size:10px}
.bcxp-clan-popover-head small,.bcxp-clan-popover-foot,.bcxp-clan-popover-desc,.bcxp-clan-popover-grid small{color:var(--bcxp-muted-text)}
.bcxp-clan-popover-head small,.bcxp-clan-popover-foot,.bcxp-clan-popover-desc{display:block}
.bcxp-clan-popover-desc{margin-top:.6rem;line-height:1.35}
.bcxp-clan-popover-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:.7rem}
.bcxp-clan-popover-grid span,.bcxp-my-clan-stats span{display:grid;gap:.15rem;min-width:0;padding:.55rem .6rem;border:1px solid var(--bcxp-border);border-radius:8px;background:var(--bcxp-muted)}
.bcxp-clan-popover-grid b,.bcxp-my-clan-stats b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bcxp-clan-popover-grid small,.bcxp-my-clan-stats small{font-size:.78rem}
.bcxp-clan-popover-foot{margin-top:.65rem;font-size:.84rem}
.bcxp-clan-recent-badges{display:flex;flex-wrap:wrap;gap:.45rem}
.bcxp-clan-mini-badge{position:relative;display:inline-flex;align-items:center;gap:.4rem;max-width:180px;padding:.32rem .5rem;border:1px solid var(--bcxp-border);border-radius:999px;background:var(--bcxp-muted);color:var(--bcxp-text);font-size:.86rem;font-weight:700}
.bcxp-clan-mini-badge img{width:22px;height:22px;border-radius:999px;object-fit:cover;flex:0 0 auto}
.bcxp-clan-mini-badge-label,
.bcxp-clan-mini-badge > span:not(.bcxp-badge-popover){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bcxp-badge-hovercard{cursor:pointer}
.bcxp-badge-item.bcxp-badge-hovercard{position:relative;overflow:visible}
.bcxp-badge-hovercard:hover,
.bcxp-badge-hovercard:focus,
.bcxp-badge-hovercard.is-open{z-index:80}
.bcxp-clan-mini-badge:nth-child(even) .bcxp-badge-popover{
  left:auto;
  right:0;
}
.bcxp-badge-popover{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  z-index:90;
  display:grid;
  gap:.3rem;
  width:min(280px, calc(100vw - 32px));
  padding:.7rem .75rem;
  border:1px solid rgba(96,213,189,.32);
  border-radius:8px;
  background:var(--bcxp-surface);
  color:var(--bcxp-text);
  box-shadow:0 16px 36px rgba(0,0,0,.26);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-4px);
  transition:opacity .15s ease,transform .15s ease,visibility .15s ease;
  white-space:normal;
}
.bcxp-badge-popover,
.bcxp-badge-popover span{overflow:visible;text-overflow:clip;white-space:normal}
.bcxp-badge-hovercard:hover .bcxp-badge-popover,
.bcxp-badge-hovercard:focus .bcxp-badge-popover,
.bcxp-badge-hovercard.is-open .bcxp-badge-popover{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}
.bcxp-badge-popover-title{font-size:.92rem;font-weight:900;line-height:1.15}
.bcxp-badge-popover-meta{color:#9be7d8;font-size:.78rem;font-weight:800;line-height:1.25}
.bcxp-badge-popover-rule{color:var(--bcxp-muted-text);font-size:.8rem;font-weight:700;line-height:1.35}
.bcxp-route-page{width:min(1120px, calc(100% - 32px));margin:2rem auto}
.bcxp-clan-hero-share{
  position:absolute;
  top:.85rem;
  right:.85rem;
  z-index:2;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  color:#dff9f3;
  background:rgba(7,15,24,.28);
  border:1px solid rgba(96,213,189,.42);
  border-radius:10px;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  cursor:pointer;
  font-size:1.12rem;
  font-weight:900;
  line-height:1;
}
.bcxp-clan-hero-share svg{
  width:22px;
  height:22px;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.bcxp-clan-hero-share:hover,
.bcxp-clan-hero-share:focus-visible{
  color:#082f34;
  background:#60d5bd;
  outline:none;
}
.bcxp-clan-badges-panel,
.bcxp-clan-info-panel,
.bcxp-clan-members-card{
  padding:1rem;
}
.bcxp-clan-facts{
  display:grid;
  gap:.65rem;
  margin:.75rem 0 0;
}
.bcxp-clan-facts div{
  display:grid;
  gap:.2rem;
  padding:.65rem .75rem;
  background:var(--bcxp-muted);
  border:1px solid var(--bcxp-border);
  border-radius:8px;
}
.bcxp-clan-facts dt{
  color:var(--bcxp-muted-text);
  font-size:.78rem;
  font-weight:900;
}
.bcxp-clan-facts dd{
  margin:0;
  color:var(--bcxp-text);
  font-weight:700;
  line-height:1.35;
}
.bcxp-clan-info-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
}
.bcxp-btn.bcxp-btn-compact{
  min-height:30px;
  padding:.34rem .58rem;
  border-radius:8px;
  font-size:.78rem;
  line-height:1;
}
.bcxp-clan-description-card-text{
  margin:.5rem 0 0;
  color:var(--bcxp-text);
  font-size:1rem;
  line-height:1.55;
}
.bcxp-clan-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.75rem;
}
.bcxp-clan-section-head .bcxp-meta{
  margin:.2rem 0 0;
}
.bcxp-clan-view-switch{
  display:inline-flex;
  align-items:center;
  gap:.42rem;
  padding:.34rem;
  border:1px solid var(--bcxp-border);
  border-radius:999px;
  background:var(--bcxp-muted);
}
.bcxp-clan-view-switch__label{
  min-height:28px;
  padding:.28rem .62rem;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--bcxp-muted-text);
  cursor:pointer;
  font-size:.82rem;
  font-weight:900;
}
.bcxp-clan-view-switch__label.is-active{
  color:var(--bcxp-text);
  background:var(--bcxp-surface);
}
.bcxp-clan-view-switch__track{
  position:relative;
  width:58px;
  height:30px;
  padding:0;
  border:1px solid rgba(96,213,189,.48);
  border-radius:999px;
  background:rgba(96,213,189,.16);
  cursor:pointer;
}
.bcxp-clan-view-switch__track span{
  position:absolute;
  top:3px;
  left:3px;
  width:22px;
  height:22px;
  border-radius:50%;
  background:var(--bcxp-primary);
  box-shadow:0 3px 10px rgba(0,0,0,.18);
  transition:transform .18s ease;
}
.bcxp-clan-view-switch[data-bcxp-clan-view="list"] .bcxp-clan-view-switch__track span{
  transform:translateX(28px);
}
.bcxp-clan-lineup{
  display:grid;
  gap:.65rem;
}
.bcxp-clan-lineup[hidden],
.bcxp-clan-members-table-wrap[hidden]{
  display:none;
}
.bcxp-clan-lineup-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.5rem;
}
.bcxp-clan-lineup-summary span{
  display:grid;
  gap:.1rem;
  min-width:0;
  padding:.52rem .65rem;
  border:1px solid rgba(96,213,189,.26);
  border-radius:8px;
  background:var(--bcxp-muted);
}
.bcxp-clan-lineup-summary__button{
  display:grid;
  gap:.1rem;
  width:100%;
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
}
.bcxp-clan-lineup-summary__button:focus-visible{
  outline:2px solid var(--bcxp-primary);
  outline-offset:2px;
}
.bcxp-clan-lineup-summary__item--button:hover{
  border-color:rgba(96,213,189,.62);
}
.bcxp-clan-lineup-summary b{
  overflow:hidden;
  color:var(--bcxp-text);
  font-size:.98rem;
  line-height:1.1;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bcxp-clan-lineup-summary small{
  color:var(--bcxp-muted-text);
  font-size:.72rem;
  font-weight:800;
}
.bcxp-clan-pitch{
  position:relative;
  width:min(100%,620px);
  min-height:780px;
  margin:0 auto;
  overflow:hidden;
  border:1px solid rgba(96,213,189,.3);
  border-radius:10px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px) 50% 0 / 32% 100%,
    radial-gradient(circle at 50% 50%,transparent 0 72px,rgba(255,255,255,.15) 73px 74px,transparent 75px),
    linear-gradient(180deg,#14532d,#0f3d23);
}
.bcxp-clan-pitch::before{
  content:"";
  position:absolute;
  inset:10px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:8px;
  pointer-events:none;
}
.bcxp-clan-slot{
  position:absolute;
  left:var(--bcxp-slot-x);
  top:var(--bcxp-slot-y);
  z-index:1;
  transform:translate(-50%,-50%);
}
.bcxp-clan-slot--st{--bcxp-slot-x:50%;--bcxp-slot-y:14%}
.bcxp-clan-slot--lw{--bcxp-slot-x:24%;--bcxp-slot-y:26%}
.bcxp-clan-slot--rw{--bcxp-slot-x:76%;--bcxp-slot-y:26%}
.bcxp-clan-slot--cm_l{--bcxp-slot-x:23%;--bcxp-slot-y:45%}
.bcxp-clan-slot--cm_c{--bcxp-slot-x:50%;--bcxp-slot-y:49%}
.bcxp-clan-slot--cm_r{--bcxp-slot-x:77%;--bcxp-slot-y:45%}
.bcxp-clan-slot--lb{--bcxp-slot-x:14%;--bcxp-slot-y:65%}
.bcxp-clan-slot--cb_l{--bcxp-slot-x:38%;--bcxp-slot-y:69%}
.bcxp-clan-slot--cb_r{--bcxp-slot-x:62%;--bcxp-slot-y:69%}
.bcxp-clan-slot--rb{--bcxp-slot-x:86%;--bcxp-slot-y:65%}
.bcxp-clan-slot--gk{--bcxp-slot-x:50%;--bcxp-slot-y:90%}
.bcxp-clan-player-card{
  position:relative;
  display:grid;
  justify-items:center;
  grid-template-rows:auto auto auto auto 1fr;
  gap:.12rem;
  width:98px;
  height:144px;
  min-width:0;
  min-height:0;
  padding:.34rem .32rem .32rem;
  overflow:hidden;
  color:#ffffff;
  text-align:center;
  text-decoration:none;
  appearance:none;
  border:2px solid var(--bcxp-player-accent,#60d5bd);
  border-radius:18px 18px 10px 10px;
  background:linear-gradient(180deg,#17395c 0%,#10233a 54%,#08131f 100%);
  box-shadow:0 10px 24px rgba(0,0,0,.28);
  cursor:pointer;
  font:inherit;
}
.bcxp-clan-player-card:hover{
  text-decoration:none;
  transform:translateY(-2px);
}
.bcxp-clan-player-card--leader{--bcxp-player-accent:#facc15}
.bcxp-clan-player-card--coleader{--bcxp-player-accent:#60d5bd}
.bcxp-clan-player-card--officer{--bcxp-player-accent:#93c5fd}
.bcxp-clan-player-card--member{--bcxp-player-accent:#cbd5e1}
.bcxp-clan-player-card--empty{
  opacity:.72;
  border-style:dashed;
  background:rgba(7,15,24,.62);
  box-shadow:none;
}
.bcxp-clan-player-card--empty .bcxp-clan-card-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  justify-items:center;
  gap:.16rem;
}
.bcxp-clan-player-card--empty .bcxp-clan-card-top b,
.bcxp-clan-player-card--empty .bcxp-clan-card-top em{
  box-sizing:border-box;
  min-width:0;
  width:100%;
  max-width:none;
  text-align:center;
}
.bcxp-clan-player-card--empty .bcxp-clan-card-empty-mark{
  justify-self:center;
  margin-left:auto;
  margin-right:auto;
}
.bcxp-clan-card-top{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.24rem;
  width:100%;
}
.bcxp-clan-card-top b,
.bcxp-clan-card-top em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:18px;
  padding:.08rem .26rem;
  overflow:hidden;
  border-radius:5px;
  background:rgba(0,0,0,.32);
  color:#fde68a;
  font-size:.58rem;
  font-style:normal;
  font-weight:900;
  line-height:1.1;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bcxp-clan-card-top b{
  flex:0 0 auto;
}
.bcxp-clan-card-top em{
  flex:1 1 auto;
  max-width:68%;
  color:#9be7d8;
}
.bcxp-clan-card-avatar{
  width:42px;
  height:42px;
  border:2px solid rgba(255,255,255,.82);
  border-radius:50%;
  object-fit:cover;
  background:#0b1220;
}
.bcxp-clan-card-empty-mark{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-top:.12rem;
  border:1px dashed rgba(155,231,216,.7);
  border-radius:50%;
  color:#9be7d8;
  font-size:1.35rem;
  font-weight:900;
}
.bcxp-clan-player-name{
  max-width:100%;
  overflow:hidden;
  color:#ffffff;
  font-size:.68rem;
  font-weight:900;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bcxp-clan-player-role{
  max-width:100%;
  overflow:hidden;
  color:#c9f7ef;
  font-size:.54rem;
  font-weight:900;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
}
.bcxp-clan-player-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.12rem;
  width:100%;
  align-self:end;
  margin-top:.08rem;
}
.bcxp-clan-player-stats span{
  display:grid;
  gap:.02rem;
  min-width:0;
  padding:.12rem .08rem;
  border-radius:5px;
  background:rgba(0,0,0,.34);
  color:#ffffff;
  font-size:.58rem;
  font-weight:900;
  line-height:1.1;
}
.bcxp-clan-player-stats small{
  overflow:hidden;
  color:#9be7d8;
  font-size:.48rem;
  font-weight:900;
  text-overflow:ellipsis;
  text-transform:uppercase;
  white-space:nowrap;
}
.bcxp-clan-player-stats b{
  color:#ffffff;
  font-size:.62rem;
}
.bcxp-clan-member-mobile-details{
  display:none;
}
.bcxp-clan-member-mobile-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.4rem;
}
.bcxp-clan-member-mobile-grid > span{
  display:grid;
  gap:.12rem;
  min-width:0;
  padding:.42rem .48rem;
  border:1px solid rgba(96,213,189,.2);
  border-radius:7px;
  background:rgba(255,255,255,.05);
}
.bcxp-clan-member-mobile-grid b{
  overflow:hidden;
  color:var(--bcxp-text);
  font-size:.78rem;
  line-height:1.1;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bcxp-clan-member-mobile-grid small{
  overflow:hidden;
  color:var(--bcxp-muted-text);
  font-size:.58rem;
  font-weight:800;
  line-height:1.1;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bcxp-clan-member-link{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  min-width:0;
  max-width:100%;
  color:var(--bcxp-primary);
  font-weight:900;
}
.bcxp-clan-member-link img{
  width:30px;
  height:30px;
  flex:0 0 30px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(96,213,189,.42);
}
.bcxp-clan-member-link span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bcxp-club-share,
.bcxp-club-description-form{
  display:grid;
  gap:.75rem;
  padding:1rem;
}
.bcxp-club-share label,
.bcxp-club-description-form label{
  display:grid;
  gap:.32rem;
  color:var(--bcxp-text);
  font-weight:800;
}
.bcxp-club-share p{
  margin:0;
  color:var(--bcxp-muted-text);
}
.bcxp-club-share-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
}
.bcxp-club-share-actions .bcxp-btn{
  flex:1 1 150px;
}
.bcxp-club-share input[type="text"],
.bcxp-club-share textarea,
.bcxp-club-description-form textarea{
  width:100%;
  min-width:0;
  appearance:none;
  color:#e5f7f4;
  background:#071018;
  border:1px solid rgba(96,213,189,.32);
  border-radius:8px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
  font:700 .95rem/1.45 var(--bcxp-font);
}
.bcxp-club-share input[type="text"],
.bcxp-club-share textarea{
  opacity:1;
  cursor:text;
}
.bcxp-club-share input[type="text"]:focus,
.bcxp-club-share textarea:focus,
.bcxp-club-description-form textarea:focus{
  outline:none;
  border-color:#60d5bd;
  box-shadow:0 0 0 3px rgba(96,213,189,.18), inset 0 1px 0 rgba(255,255,255,.04);
}
.bcxp-club-share ::selection,
.bcxp-club-description-form ::selection{
  color:#071018;
  background:#9be7d8;
}
/* Body overflow propagates to the viewport without changing sticky containers. */
html.bcxp-modal-open{scrollbar-gutter:stable}
html.bcxp-modal-open body{
  overflow:hidden;
}
html.bcxp-modal-open .menu-container-fixed,
body.bc-tp-modal-open .menu-container-fixed{z-index:55 !important}
html.bcxp-modal-open #sidebar-mobile,
body.bc-tp-modal-open #sidebar-mobile{z-index:70}
html.bcxp-modal-open #sidebarOverlay-mobile,
body.bc-tp-modal-open #sidebarOverlay-mobile{z-index:57}
.bcxp-modal-shell{
  position:fixed;
  inset:0;
  z-index:1000000;
  display:none;
}
.bcxp-modal-shell.is-open{
  display:block;
}
.bcxp-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(4,10,18,.68);
  touch-action:none;
}
.bcxp-modal-panel{
  position:relative;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  width:min(920px,calc(100vw - 28px));
  max-height:calc(100vh - 36px);
  max-height:calc(100dvh - 36px);
  margin:18px auto;
  color:var(--bcxp-text);
  background:var(--bcxp-surface);
  border:1px solid var(--bcxp-border);
  border-radius:12px;
  box-shadow:0 24px 70px rgba(0,0,0,.34);
  overflow:hidden;
}
.bcxp-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.85rem 1rem;
  border-bottom:1px solid var(--bcxp-border);
}
.bcxp-modal-head h2{
  margin:0;
  color:var(--bcxp-text);
  font-size:1.1rem;
  line-height:1.2;
}
.bcxp-modal-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  padding:0;
  color:var(--bcxp-text);
  background:var(--bcxp-muted);
  border:1px solid var(--bcxp-border);
  border-radius:8px;
  cursor:pointer;
  font-size:1.35rem;
  line-height:1;
}
.bcxp-modal-body{
  min-width:0;
  padding:1rem;
  overflow:auto;
  overscroll-behavior:contain;
}
.bcxp-modal-body > .bcxp-card{
  box-shadow:none;
}
.bcxp-modal-shell.is-open.is-compact{
  display:grid;
  place-items:center;
  padding:14px;
}
.bcxp-modal-shell.is-compact .bcxp-modal-panel{
  width:min(430px,100%);
  max-height:calc(100vh - 28px);
  max-height:calc(100dvh - 28px);
  margin:0;
}
.bcxp-modal-shell.is-compact .bcxp-modal-head{
  padding:.7rem .8rem;
}
.bcxp-modal-shell.is-compact .bcxp-modal-body{
  padding:.8rem;
}
@media (max-width:640px){
  .bcxp-clan-hero-share{top:.75rem;right:.75rem;width:38px;height:38px}
  .bcxp-clan-hero-share svg{width:20px;height:20px}
  .bcxp-clan-section-head{display:grid;gap:.55rem}
  .bcxp-clan-lineup-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bcxp-clan-lineup-summary span{padding:.42rem .45rem}
  .bcxp-clan-lineup-summary b{font-size:.84rem}
  .bcxp-clan-lineup-summary small{font-size:.6rem}
  .bcxp-clan-pitch{min-height:1100px}
  .bcxp-clan-slot--st{--bcxp-slot-y:11%}
  .bcxp-clan-slot--lw{--bcxp-slot-x:25%;--bcxp-slot-y:28%}
  .bcxp-clan-slot--rw{--bcxp-slot-x:75%;--bcxp-slot-y:28%}
  .bcxp-clan-slot--cm_l{--bcxp-slot-x:22%;--bcxp-slot-y:45%}
  .bcxp-clan-slot--cm_c{--bcxp-slot-x:50%;--bcxp-slot-y:54%}
  .bcxp-clan-slot--cm_r{--bcxp-slot-x:78%;--bcxp-slot-y:45%}
  .bcxp-clan-slot--lb{--bcxp-slot-x:15%;--bcxp-slot-y:67%}
  .bcxp-clan-slot--cb_l{--bcxp-slot-x:36%;--bcxp-slot-y:80%}
  .bcxp-clan-slot--cb_r{--bcxp-slot-x:64%;--bcxp-slot-y:80%}
  .bcxp-clan-slot--rb{--bcxp-slot-x:85%;--bcxp-slot-y:67%}
  .bcxp-clan-slot--gk{--bcxp-slot-y:94%}
  .bcxp-clan-player-card{width:76px;height:118px;padding:.28rem .24rem}
  .bcxp-badge-popover{width:min(260px, calc(100vw - 48px))}
  .bcxp-badges-catalog .bcxp-badge-popover{left:0;right:auto}
  .bcxp-clan-recent-badges .bcxp-badge-hovercard:nth-child(even) .bcxp-badge-popover{left:auto;right:0}
  .bcxp-clan-card-top b,
  .bcxp-clan-card-top em{min-height:16px;font-size:.48rem}
  .bcxp-clan-card-top{gap:.16rem}
  .bcxp-clan-card-avatar,
  .bcxp-clan-card-empty-mark{width:34px;height:34px}
  .bcxp-clan-card-empty-mark{font-size:1.05rem}
  .bcxp-clan-player-name{font-size:.6rem}
  .bcxp-clan-player-role{font-size:.46rem}
  .bcxp-clan-player-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bcxp-clan-player-stats span{padding:.08rem .04rem;font-size:.5rem}
  .bcxp-clan-player-stats small{font-size:.4rem}
  .bcxp-clan-player-stats b{font-size:.52rem}
  .bcxp-clan-member-mobile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bcxp-modal-panel{
    width:calc(100vw - 16px);
    max-height:calc(100vh - 16px);
    margin:8px auto;
    border-radius:10px;
  }
  .bcxp-modal-body{padding:.75rem}
}
@media (max-width:560px){
  .bcxp-clan-popover{
    left:50%;
    right:auto;
    width:min(280px, calc(100vw - 40px));
    transform:translate(-50%,-4px);
  }
  .bcxp-clan-hovercard:hover .bcxp-clan-popover,
  .bcxp-clan-hovercard:focus-within .bcxp-clan-popover,
  .bcxp-clan-hovercard.is-open .bcxp-clan-popover{transform:translate(-50%,0)}
  .bcxp-user-hover-popover{
    left:50%;
    width:min(280px, calc(100vw - 40px));
    transform:translate(-50%,-4px);
  }
  .bcxp-user-hovercard:hover .bcxp-user-hover-popover,
  .bcxp-user-hovercard:focus-within .bcxp-user-hover-popover,
  .bcxp-user-hovercard.is-open .bcxp-user-hover-popover{transform:translate(-50%,0)}
  .bcxp-clan-settings-panel select,
  .bcxp-number-stepper,
  .bcxp-clan-settings-panel .bcxp-btn{width:100%}
  .bcxp-number-stepper{min-width:0;grid-template-columns:44px minmax(0,1fr) 44px}
  .bcxp-club-gift-form select{
    grid-column:1 / -1;
  }
  .bcxp-club-gift-form .bcxp-number-stepper{
    width:auto;
    grid-template-columns:30px 78px 30px;
  }
  .bcxp-club-gift-form .bcxp-btn{
    width:auto;
  }
}

/* ---------- Betcoin Shop ---------- */
.bcxp-shop-icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid rgba(96,213,189,.38);
  border-radius:8px;
  background:rgba(7,16,26,.38);
  color:var(--bcxp-text);
  cursor:pointer;
}
.bcxp-shop-icon-btn:hover,
.bcxp-shop-icon-btn:focus{
  border-color:rgba(96,213,189,.72);
  color:var(--bcxp-primary);
}
.bcxp-shop-icon-btn svg{
  display:block;
  width:20px;
  height:20px;
}
.bcxp-shop-icon{
  --bcxp-shop-icon-a:#34495e;
  --bcxp-shop-icon-b:#60d5bd;
  --bcxp-shop-icon-fg:#ffffff;
  position:relative;
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
  width:58px;
  height:58px;
  overflow:hidden;
  border:3px solid var(--bcxp-shop-icon-b);
  border-radius:14px;
  color:var(--bcxp-shop-icon-fg);
  background:
    linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,0) 38%),
    linear-gradient(145deg,var(--bcxp-shop-icon-a),color-mix(in srgb,var(--bcxp-shop-icon-a) 75%,#000 25%));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 8px 18px rgba(0,0,0,.18);
}
.bcxp-shop-icon::before{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:10px;
}
.bcxp-shop-icon span{
  position:relative;
  z-index:1;
  font-size:.82rem;
  font-weight:900;
  line-height:1;
  letter-spacing:0;
}
.bcxp-shop-icon.large{
  width:76px;
  height:76px;
  border-radius:16px;
}
.bcxp-shop-icon.large span{ font-size:1rem; }
.bcxp-shop-icon.small{
  width:42px;
  height:42px;
  border-width:2px;
  border-radius:10px;
}
.bcxp-shop-icon.small span{ font-size:.66rem; }
.bcxp-shop-icon--ticket{ --bcxp-shop-icon-a:#2f4357; --bcxp-shop-icon-b:#f7c948; clip-path:polygon(0 14%,12% 14%,12% 0,88% 0,88% 14%,100% 14%,100% 86%,88% 86%,88% 100%,12% 100%,12% 86%,0 86%); }
.bcxp-shop-icon--xp{ --bcxp-shop-icon-a:#0f3a35; --bcxp-shop-icon-b:#60d5bd; }
.bcxp-shop-icon--freeze{ --bcxp-shop-icon-a:#17324d; --bcxp-shop-icon-b:#7dd3fc; }
.bcxp-shop-icon--reroll{ --bcxp-shop-icon-a:#3b2f19; --bcxp-shop-icon-b:#f59e0b; }
.bcxp-shop-icon--badge{ --bcxp-shop-icon-a:#24113a; --bcxp-shop-icon-b:#9b5de5; border-radius:999px 999px 14px 14px; }
.bcxp-shop-icon--glow{ --bcxp-shop-icon-a:#133124; --bcxp-shop-icon-b:#86efac; }
.bcxp-shop-icon--leaderboard{ --bcxp-shop-icon-a:#263241; --bcxp-shop-icon-b:#94a3b8; }
.bcxp-shop-icon--clan{ --bcxp-shop-icon-a:#123422; --bcxp-shop-icon-b:#22c55e; clip-path:polygon(24% 0,76% 0,100% 50%,76% 100%,24% 100%,0 50%); }
.bcxp-shop-icon--banner{ --bcxp-shop-icon-a:#0f2535; --bcxp-shop-icon-b:#60d5bd; border-radius:8px 18px 8px 18px; }
.bcxp-shop-icon--shield{ --bcxp-shop-icon-a:#3a1722; --bcxp-shop-icon-b:#ef476f; clip-path:polygon(50% 0,92% 16%,86% 78%,50% 100%,14% 78%,8% 16%); }
.bcxp-shop-icon--box{ --bcxp-shop-icon-a:#1f2937; --bcxp-shop-icon-b:#f7c948; }
.bcxp-shop-icon--spotlight{ --bcxp-shop-icon-a:#2d1b40; --bcxp-shop-icon-b:#c084fc; }
.bcxp-shop-icon--boost{ --bcxp-shop-icon-a:#1e3a5f; --bcxp-shop-icon-b:#38bdf8; }
.bcxp-shop-icon--cap{ --bcxp-shop-icon-a:#0f172a; --bcxp-shop-icon-b:#60d5bd; border-radius:999px 999px 14px 14px; }
.bcxp-shop-icon--cap::after{
  right:-8px;
  bottom:5px;
  width:34px;
  height:16px;
  border-radius:999px;
  transform:rotate(-12deg);
}
.bcxp-shop-icon--collectible{ --bcxp-shop-icon-a:#3b2f19; --bcxp-shop-icon-b:#fbbf24; clip-path:polygon(50% 0,62% 33%,98% 35%,69% 56%,80% 92%,50% 70%,20% 92%,31% 56%,2% 35%,38% 33%); }
.bcxp-shop-details-btn:focus-visible{
  outline:2px solid var(--bcxp-primary);
  outline-offset:3px;
}
.bcxp-shop-hot,
.bcxp-shop-discount-pill{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:1.55rem;
  padding:.2rem .5rem;
  border-radius:999px;
  background:rgba(245,158,11,.14);
  color:#b45309;
  font-size:.72rem;
  font-weight:900;
  text-transform:uppercase;
}
.bcxp-shop-discount-pill{
  background:rgba(96,213,189,.16);
  color:var(--bcxp-text);
}
.bcxp-shop-level-pill{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:1.35rem;
  padding:.16rem .44rem;
  border-radius:999px;
  background:rgba(52,73,94,.28);
  color:var(--bcxp-muted-text);
  font-size:.68rem;
  font-weight:900;
  text-transform:uppercase;
}
.bcxp-shop-lock-pill{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:1.35rem;
  padding:.16rem .44rem;
  border:1px solid rgba(245,158,11,.46);
  border-radius:999px;
  background:rgba(245,158,11,.16);
  color:#b45309;
  font-size:.68rem;
  font-weight:900;
  text-transform:uppercase;
}
.bcxp-shop-lock-pill::before{
  content:"\1F512";
  margin-right:.24rem;
  font-size:.68rem;
  line-height:1;
}
@media (prefers-color-scheme:dark){
  .bcxp-shop-lock-pill{ color:#fcd34d; }
}
.bcxp-shop-betcoin-price{
  display:inline-flex;
  align-items:center;
  gap:.36rem;
  white-space:nowrap;
  line-height:1;
}
.bcxp-shop-betcoin-price>span{display:block;line-height:1}
.bcxp-shop-betcoin-price img{
  display:block;
  width:1.25em;
  height:1.25em;
  flex:0 0 auto;
  object-fit:contain;
  filter:drop-shadow(0 1px 2px rgba(120,53,0,.3));
}
.bcxp-shop-buy-form{
  margin:0;
}
.bcxp-shop-buy-form .bcxp-btn{
  justify-content:center;
  min-height:38px;
  border-radius:8px;
}
.bcxp-shop-card button[disabled],
.bcxp-shop-buy-form button[disabled]{
  opacity:.5;
  cursor:not-allowed;
}
.bcxp-shop-modal{
  display:grid;
  gap:1rem;
}
.bcxp-shop-modal__hero{
  display:flex;
  align-items:flex-end;
  gap:1rem;
  padding:.2rem 0 .4rem;
}
.bcxp-shop-modal__hero > div{
  display:grid;
  align-content:end;
  min-height:76px;
  min-width:0;
}
.bcxp-shop-modal__hero h3{
  margin:.35rem 0 .25rem;
  color:var(--bcxp-text);
  font-size:1.35rem;
  line-height:1.2;
}
.bcxp-shop-modal__hero p{
  margin:0;
  color:var(--bcxp-muted-text);
}
.bcxp-shop-modal__pills{
  display:flex;
  align-items:center;
  gap:.45rem;
  flex-wrap:wrap;
}
.bcxp-shop-modal__pills > span:first-child{
  display:inline-flex;
  align-items:center;
  min-height:1.55rem;
  padding:.2rem .5rem;
  border-radius:999px;
  background:var(--bcxp-primary-weak);
  color:var(--bcxp-text);
  font-size:.72rem;
  font-weight:900;
  text-transform:uppercase;
}
.bcxp-shop-detail-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.65rem;
  margin:0;
}
.bcxp-shop-detail-list div{
  display:grid;
  gap:.16rem;
  min-width:0;
  padding:.65rem .75rem;
  border:1px solid var(--bcxp-border);
  border-radius:8px;
  background:var(--bcxp-muted);
}
.bcxp-shop-detail-list dt{
  color:var(--bcxp-muted-text);
  font-size:.74rem;
  font-weight:900;
  text-transform:uppercase;
}
.bcxp-shop-detail-list dd{
  margin:0;
  color:var(--bcxp-text);
  font-weight:800;
  line-height:1.35;
}
.bcxp-shop-shield-tiers{
  display:grid;
  gap:.65rem;
  padding:.8rem;
  border:1px solid var(--bcxp-border);
  border-radius:10px;
  background:linear-gradient(135deg,rgba(239,71,111,.10),rgba(59,130,246,.08));
}
.bcxp-shop-shield-tiers__head{
  display:flex;
  justify-content:space-between;
  gap:.75rem;
  align-items:flex-end;
}
.bcxp-shop-shield-tiers__head strong,
.bcxp-shop-shield-tiers__head span{
  display:block;
}
.bcxp-shop-shield-tiers__head strong{
  color:var(--bcxp-text);
  font-size:.92rem;
  font-weight:900;
}
.bcxp-shop-shield-tiers__head span{
  max-width:28rem;
  color:var(--bcxp-muted-text);
  font-size:.78rem;
  line-height:1.35;
}
.bcxp-shop-shield-tiers__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.55rem;
}
.bcxp-shop-shield-tier{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:.55rem;
  align-items:center;
  padding:.62rem;
  border:1px solid var(--bcxp-border);
  border-radius:9px;
  background:rgba(255,255,255,.05);
}
.bcxp-shop-shield-tier.is-current{
  border-color:#ef476f;
  box-shadow:inset 0 0 0 1px rgba(239,71,111,.26);
}
.bcxp-shop-shield-tier__main{
  min-width:0;
}
.bcxp-shop-shield-tier__main strong,
.bcxp-shop-shield-tier__main span{
  display:block;
}
.bcxp-shop-shield-tier__main strong{
  color:var(--bcxp-text);
  font-weight:900;
}
.bcxp-shop-shield-tier__main span{
  color:var(--bcxp-muted-text);
  font-size:.76rem;
  line-height:1.3;
}
.bcxp-shop-shield-tier__price{
  grid-column:1 / -1;
  color:var(--bcxp-text);
  font-size:.78rem;
  font-weight:900;
}
.bcxp-shop-modal__actions{
  display:flex;
  justify-content:flex-end;
  padding-top:.15rem;
}
.bcxp-shop-compact-purchase{
  display:grid;
  gap:.75rem;
  color:var(--bcxp-text);
}
.bcxp-shop-compact-purchase__summary{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:.75rem;
}
.bcxp-shop-compact-purchase__summary .bcxp-shop-icon{
  width:54px;
  height:54px;
  border-radius:13px;
}
.bcxp-shop-compact-purchase__copy{
  display:grid;
  gap:.28rem;
  min-width:0;
}
.bcxp-shop-compact-purchase__eyebrow{
  color:var(--bcxp-primary);
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.bcxp-shop-compact-purchase__copy p{
  margin:0;
  color:var(--bcxp-muted-text);
  font-size:.88rem;
  line-height:1.38;
}
.bcxp-shop-compact-purchase__status{
  justify-self:start;
  padding:.18rem .45rem;
  border:1px solid rgba(96,213,189,.36);
  border-radius:999px;
  background:rgba(96,213,189,.12);
  color:var(--bcxp-text);
  font-size:.72rem;
  font-weight:800;
}
.bcxp-shop-compact-purchase__money{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.55rem;
}
.bcxp-shop-compact-purchase__price{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  padding:.58rem .68rem;
  border:1px solid var(--bcxp-border);
  border-radius:8px;
  background:var(--bcxp-muted);
  color:var(--bcxp-muted-text);
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
}
.bcxp-shop-compact-purchase__price strong{
  color:var(--bcxp-text);
  font-size:.9rem;
  text-transform:none;
}
@media (max-width:420px){
  .bcxp-shop-compact-purchase__money{grid-template-columns:1fr}
}
.bcxp-shop-compact-purchase__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.55rem;
  padding-top:.1rem;
}
.bcxp-shop-compact-purchase__actions .bcxp-btn,
.bcxp-shop-compact-purchase__actions .bcxp-shop-buy-form{
  width:100%;
}
.bcxp-shop-compact-purchase__actions .bcxp-btn{
  min-height:40px;
  justify-content:center;
}
.bcxp-shop-compact-purchase__cancel{
  border-color:var(--bcxp-border);
}
.bcxp-shop-glow-widget{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
}
.bcxp-shop-glow-widget-portal{
  display:none !important;
}
#content .widget.widget_tipsterstats .widget_tipsterstats_updated.bcxp-tipsterstats-updated--with-glow,
.widget_tipsterstats .widget_tipsterstats_updated.bcxp-tipsterstats-updated--with-glow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  padding:7px 12px;
  text-align:right;
}
.widget_tipsterstats .bcxp-tipsterstats-user-hovercard{
  vertical-align:middle;
}
#rightSidebarDesktop.bcxp-tipsterstats-hover-active,
#right_sidebar.bcxp-tipsterstats-hover-active,
.sidebar-right-desktop.bcxp-tipsterstats-hover-active{
  overflow:visible !important;
  z-index:60 !important;
}
.widget_tipsterstats .bcxp-tipsterstats-user-hovercard:hover,
.widget_tipsterstats .bcxp-tipsterstats-user-hovercard:focus-within,
.widget_tipsterstats .bcxp-tipsterstats-user-hovercard.is-open{
  z-index:2147483000;
}
.widget_tipsterstats .bcxp-tipsterstats-user-hovercard .bcxp-user-hover-popover{
  position:fixed;
  top:0;
  right:auto;
  bottom:auto;
  left:0;
  z-index:2147483001;
  box-sizing:border-box;
  width:min(330px,calc(100vw - 24px));
  max-height:calc(100vh - 24px);
  overflow-y:auto;
  transform:translateY(-4px);
  font:400 13px/1.4 Arial,sans-serif;
}
.widget_tipsterstats .bcxp-tipsterstats-user-hovercard:hover .bcxp-user-hover-popover,
.widget_tipsterstats .bcxp-tipsterstats-user-hovercard:focus-within .bcxp-user-hover-popover,
.widget_tipsterstats .bcxp-tipsterstats-user-hovercard.is-open .bcxp-user-hover-popover{
  transform:translateY(0);
}
.widget_tipsterstats .bcxp-tipsterstats-hover-loading{
  width:auto;
  min-width:150px;
  padding:.58rem .7rem;
  font-weight:800;
  white-space:nowrap;
}
#content .widget.widget_tipsterstats table.betting a.bcxp-tipsterstats-user-link.bcxp-shop-username-glow,
.widget_tipsterstats table.betting a.bcxp-tipsterstats-user-link.bcxp-shop-username-glow{
  color:#087b65 !important;
  font-weight:900;
  text-shadow:0 0 5px rgba(45,212,191,.82),0 0 11px rgba(20,184,166,.62),0 0 17px rgba(13,148,136,.3);
}
#content .widget.widget_tipsterstats table.betting tr.bcxp-shop-leaderboard-highlight td,
.widget_tipsterstats table.betting tr.bcxp-shop-leaderboard-highlight td{
  background:linear-gradient(90deg,rgba(96,213,189,.2),rgba(96,213,189,.05)) !important;
}
#content .widget.widget_tipsterstats table.betting .bcxp-user-hover-popover .bcxp-user-hover-avatar,
.widget_tipsterstats table.betting .bcxp-user-hover-popover .bcxp-user-hover-avatar{
  width:52px !important;
  height:52px !important;
  margin:0;
  border-radius:12px;
}
#content .widget.widget_tipsterstats table.betting .bcxp-user-hover-popover .bcxp-user-profile-badge img,
.widget_tipsterstats table.betting .bcxp-user-hover-popover .bcxp-user-profile-badge img{
  width:24px !important;
  height:24px !important;
  margin:0;
  border-radius:999px;
}
#content .widget.widget_tipsterstats table.betting .bcxp-user-hover-popover a.bcxp-popover-visit,
.widget_tipsterstats table.betting .bcxp-user-hover-popover a.bcxp-popover-visit{
  display:inline-flex;
  width:100%;
  margin-top:.75rem;
  padding:.55rem .7rem;
  color:#08333a !important;
  background:var(--bcxp-primary);
}
.bcxp-shop-glow-widget__button{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.25rem;
  min-height:24px;
  padding:.2rem .42rem;
  border:1px solid #27a58d;
  border-radius:999px;
  background:#e9fbf6;
  color:#075f51;
  cursor:pointer;
  font:800 10px/1 Arial,sans-serif;
  white-space:nowrap;
}
.bcxp-shop-glow-widget__button:hover{
  background:#d5f7ee;
  border-color:#12836f;
}
.bcxp-shop-glow-widget__button.is-active{
  background:#0f766e;
  border-color:#0f766e;
  color:#fff;
  box-shadow:0 0 9px rgba(15,118,110,.35);
}
.bcxp-shop-glow-widget__button:focus-visible{
  outline:2px solid #f59e0b;
  outline-offset:2px;
}
.bcxp-shop-glow-widget__button .bcxp-shop-icon.small{
  width:20px;
  height:20px;
  border-width:1px;
  border-radius:6px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 1px 3px rgba(0,0,0,.18);
}
.bcxp-shop-glow-widget__button .bcxp-shop-icon.small::before{
  inset:3px;
  border-radius:3px;
}
.bcxp-shop-glow-widget__button .bcxp-shop-icon.small > span{
  font-size:6px;
}
.bcxp-shop-buy-form--fulfillment{
  display:grid;
  gap:.45rem;
  justify-items:stretch;
  width:min(100%, 560px);
  margin-right:auto;
}
.bcxp-shop-buy-form--fulfillment .bcxp-btn{
  justify-self:start;
  width:min(100%, 280px);
  margin-top:.05rem;
}
.bcxp-shop-buy-form:has(.bcxp-shop-fulfillment-fields){
  display:grid;
  gap:.45rem;
  justify-items:stretch;
  width:min(100%, 560px);
  margin-right:auto;
}
.bcxp-shop-buy-form:has(.bcxp-shop-fulfillment-fields) .bcxp-btn{
  justify-self:start;
  width:min(100%, 280px);
  margin-top:.05rem;
}
.bcxp-shop-variants{
  display:grid;
  gap:.75rem;
}
.bcxp-shop-variant{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:.75rem 1rem;
  align-items:center;
  padding:.85rem;
  border:1px solid var(--bcxp-border);
  border-radius:8px;
  background:var(--bcxp-muted);
}
.bcxp-shop-variant__main{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  min-width:0;
}
.bcxp-shop-variant h4{
  margin:0 0 .15rem;
  color:var(--bcxp-text);
  font-size:1rem;
  line-height:1.25;
}
.bcxp-shop-variant p{
  margin:0;
  color:var(--bcxp-muted-text);
  font-size:.9rem;
}
.bcxp-shop-variant__side{
  display:grid;
  justify-items:end;
  gap:.35rem;
  text-align:right;
}
.bcxp-shop-variant__side strong{
  white-space:nowrap;
}
.bcxp-shop-variant .bcxp-shop-buy-form{
  grid-column:1 / -1;
  justify-self:end;
}
.bcxp-shop-variant .bcxp-shop-card__reason{
  grid-column:1 / -1;
}
.bcxp-shop-variants--duel-shields{
  gap:.45rem;
}
.bcxp-shop-variant--duel-shield{
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:.28rem .7rem;
  align-items:center;
  padding:.5rem .65rem;
}
.bcxp-shop-variant--duel-shield .bcxp-shop-variant__main{
  align-items:center;
  gap:.55rem;
}
.bcxp-shop-variant--duel-shield .bcxp-shop-icon.small{
  width:38px;
  height:38px;
  border-width:2px;
}
.bcxp-shop-variant--duel-shield .bcxp-shop-icon.small span{
  font-size:.6rem;
}
.bcxp-shop-variant--duel-shield h4{
  margin:0;
  font-size:.96rem;
}
.bcxp-shop-variant--duel-shield p{
  font-size:.78rem;
  line-height:1.25;
}
.bcxp-shop-variant--duel-shield .bcxp-shop-variant__side{
  gap:.16rem;
}
.bcxp-shop-variant--duel-shield .bcxp-shop-discount-pill{
  padding:.22rem .45rem;
  font-size:.68rem;
  line-height:1;
}
.bcxp-shop-variant--duel-shield .bcxp-shop-variant__side strong{
  font-size:.82rem;
}
.bcxp-shop-variant--duel-shield .bcxp-shop-buy-form{
  grid-column:3;
  grid-row:1 / span 2;
  align-self:center;
  justify-self:end;
}
.bcxp-shop-variant--duel-shield .bcxp-shop-buy-form .bcxp-btn{
  min-height:34px;
  padding:.45rem .7rem;
  font-size:.84rem;
}
.bcxp-shop-variant--duel-shield .bcxp-shop-card__reason{
  grid-column:1 / 3;
  margin:0;
  font-size:.78rem;
  line-height:1.2;
}
.bcxp-shop-inventory{
  padding:1rem;
  border-radius:8px;
  border:1px solid var(--bcxp-border);
  background:var(--bcxp-surface);
  box-shadow:var(--bcxp-shadow);
}
.bcxp-shop-history,
.bcxp-shop-inventory-grid{
  display:grid;
  gap:.75rem;
}
.bcxp-shop-history code,
.bcxp-shop-inventory-grid code{
  display:inline-block;
  max-width:100%;
  overflow-wrap:anywhere;
}
.bcxp-shop-inventory-code{
  display:grid;
  grid-template-columns:minmax(0,1fr) 26px;
  align-items:center;
  gap:.35rem;
  min-width:0;
}
.bcxp-shop-copy-code-btn{
  display:inline-grid;
  place-items:center;
  width:26px;
  height:26px;
  padding:0;
  border:1px solid rgba(96,213,189,.34);
  border-radius:6px;
  background:rgba(7,16,26,.48);
  color:var(--bcxp-muted-text);
  cursor:pointer;
}
.bcxp-shop-copy-code-btn:hover,
.bcxp-shop-copy-code-btn:focus,
.bcxp-shop-copy-code-btn.is-copied{
  border-color:rgba(96,213,189,.72);
  color:var(--bcxp-primary);
}
.bcxp-shop-copy-code-btn svg{
  width:15px;
  height:15px;
}
.bcxp-shop-inventory-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.bcxp-shop-inventory-slot{
  position:relative;
  display:grid;
  gap:.35rem;
  min-height:116px;
  padding:.58rem;
  border:2px solid rgba(96,213,189,.24);
  border-radius:6px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,0) 42%),
    var(--bcxp-muted);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.28);
}
.bcxp-shop-inventory-slot__top{
  display:flex;
  align-items:center;
  gap:.42rem;
  min-width:0;
}
.bcxp-shop-inventory-slot__qty{
  color:#ffffff;
  font-size:1rem;
  font-weight:900;
  text-shadow:0 2px 0 rgba(0,0,0,.5);
}
.bcxp-shop-inventory-slot__title{
  color:var(--bcxp-text);
  font-size:.82rem;
  font-weight:900;
  line-height:1.2;
}
.bcxp-shop-inventory-slot__status{
  color:var(--bcxp-muted-text);
  font-size:.68rem;
  font-weight:800;
  text-transform:uppercase;
}
.bcxp-shop-inventory h3{
  margin:.1rem 0 .8rem;
  font-size:1.05rem;
}
.bcxp-shop-inventory__row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  padding:.75rem 0;
  border-top:1px solid var(--bcxp-border);
}
.bcxp-shop-inventory__row:first-of-type{
  border-top:0;
  padding-top:0;
}
.bcxp-shop-inventory__row:last-child{
  padding-bottom:0;
}
.bcxp-shop-inventory small{
  color:var(--bcxp-muted-text);
  font-weight:700;
}
.bcxp-shop-inline-form{
  display:flex;
  align-items:center;
  gap:.5rem;
  margin:.7rem 0 0;
  flex-wrap:wrap;
}
.bcxp-shop-inline-form input{
  min-width:160px;
  border:1px solid var(--bcxp-border);
  border-radius:8px;
  padding:.45rem .55rem;
  background:var(--bcxp-bg);
  color:var(--bcxp-text);
}
.bcxp-shop-inline-form button,
.bcxp-shop-inline-form .bcxp-btn{
  border-radius:8px;
}
.bcxp-leaderboard-row--highlight{
  box-shadow:inset 4px 0 0 var(--bcxp-primary), inset 0 0 0 9999px rgba(96,213,189,.1);
}
.bcxp-shop-username-glow{
  position:relative;
  z-index:1;
  color:#effffb !important;
  font-weight:900 !important;
  text-shadow:0 0 3px #0f766e,0 0 7px rgba(45,212,191,.98),0 0 13px rgba(20,184,166,.88),0 0 21px rgba(59,130,246,.5) !important;
}
.bcxp-shop-profile-boost{
  position:relative;
}
.bcxp-shop-profile-boost::after{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:0 0 0 1px rgba(96,213,189,.34),0 0 18px rgba(96,213,189,.18);
}
tr.bcxp-shop-leaderboard-highlight,
.bcxp-lb-card.bcxp-shop-leaderboard-highlight{
  background:linear-gradient(90deg,rgba(96,213,189,.16),rgba(49,71,97,.12)) !important;
}
.bcxp-shop-effect-pills{
  display:inline-flex;
  gap:.35rem;
  flex-wrap:wrap;
  align-items:center;
}
.bcxp-shop-effect-pill,
.bcxp-shop-spotlight-state,
.bcxp-shop-mini-state{
  display:inline-flex;
  align-items:center;
  gap:.25rem;
  border:1px solid rgba(96,213,189,.4);
  border-radius:999px;
  padding:.15rem .45rem;
  color:#60d5bd;
  background:rgba(96,213,189,.12);
  font-size:.72rem;
  font-weight:800;
  line-height:1.35;
}
.bcxp-shop-pinned-badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  min-width:0;
  border:1px solid rgba(247,201,72,.38);
  border-radius:10px;
  padding:.42rem .55rem;
  color:#f8fafc;
  background:rgba(247,201,72,.1);
}
.bcxp-shop-pinned-badge img{
  width:30px;
  height:30px;
  border-radius:8px;
  object-fit:cover;
}
.bcxp-shop-pinned-badge span{
  display:grid;
  min-width:0;
}
.bcxp-shop-pinned-badge small,
.bcxp-shop-collectible-shelf__label{
  color:#c5d0e0;
  font-size:.68rem;
  font-weight:800;
  text-transform:uppercase;
}
.bcxp-shop-pinned-badge strong,
.bcxp-shop-collectible span:last-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bcxp-shop-collectible-shelf{
  display:flex;
  gap:.4rem;
  flex-wrap:wrap;
  align-items:center;
}
.bcxp-shop-collectible{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  max-width:190px;
  border:1px solid rgba(251,191,36,.28);
  border-radius:10px;
  padding:.32rem .45rem;
  color:#fef3c7;
  background:rgba(251,191,36,.08);
  font-size:.78rem;
  font-weight:800;
}
.bcxp-shop-profile-extras{
  display:flex;
  gap:.55rem;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}
.bcxp-shop-active-powerups{
  display:flex;
  align-items:center;
  gap:.55rem;
  min-width:0;
  margin-left:auto;
  padding-left:.5rem;
}
.bcxp-shop-active-powerups__label{
  color:#c5d0e0;
  font-size:.67rem;
  font-weight:800;
  line-height:1.15;
  white-space:nowrap;
}
.bcxp-shop-active-powerups__icons{
  display:flex;
  align-items:center;
  gap:.45rem;
  min-width:0;
}
.bcxp-shop-active-powerup{
  --bcxp-active-powerup-color:#60d5bd;
  position:relative;
  z-index:2;
  display:inline-grid;
  place-items:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  border-radius:10px;
  outline:none;
}
.bcxp-shop-active-powerup::before{
  content:"";
  position:absolute;
  inset:-3px;
  border:1px solid var(--bcxp-active-powerup-color);
  border:1px solid color-mix(in srgb,var(--bcxp-active-powerup-color) 78%,white 22%);
  border-radius:12px;
  box-shadow:0 0 0 2px rgba(96,213,189,.18),0 0 13px var(--bcxp-active-powerup-color);
  box-shadow:0 0 0 2px color-mix(in srgb,var(--bcxp-active-powerup-color) 18%,transparent),0 0 13px color-mix(in srgb,var(--bcxp-active-powerup-color) 44%,transparent);
  animation:bcxp-active-powerup-ring 2.4s ease-in-out infinite;
  pointer-events:none;
}
.bcxp-shop-active-powerup--username_glow{--bcxp-active-powerup-color:#86efac}
.bcxp-shop-active-powerup--xp_boost{--bcxp-active-powerup-color:#60d5bd}
.bcxp-shop-active-powerup--leaderboard_highlight{--bcxp-active-powerup-color:#94a3b8}
.bcxp-shop-active-powerup--duel_entry_shield{--bcxp-active-powerup-color:#ef476f}
.bcxp-shop-active-powerup--prediction_spotlight{--bcxp-active-powerup-color:#c084fc}
.bcxp-shop-active-powerup--tipster_profile_boost{--bcxp-active-powerup-color:#38bdf8}
.bcxp-shop-active-powerup .bcxp-shop-icon.small{
  width:34px;
  height:34px;
  border-width:2px;
  border-radius:9px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 4px 12px rgba(0,0,0,.28);
}
.bcxp-shop-active-powerup__status{
  position:absolute;
  right:-4px;
  bottom:-4px;
  width:10px;
  height:10px;
  border:2px solid #314761;
  border-radius:50%;
  background:#60d5bd;
  box-shadow:0 0 8px rgba(96,213,189,.8);
}
.bcxp-shop-active-powerup__count{
  position:absolute;
  top:-7px;
  left:-7px;
  display:grid;
  place-items:center;
  min-width:18px;
  height:18px;
  padding:0 4px;
  border:2px solid #314761;
  border-radius:999px;
  background:#f7c948;
  color:#152030;
  font-size:.62rem;
  font-weight:900;
  line-height:1;
}
.bcxp-shop-active-powerup__tooltip{
  position:absolute;
  top:calc(100% + 9px);
  right:0;
  z-index:20;
  display:grid;
  gap:.15rem;
  width:max-content;
  max-width:min(240px,75vw);
  padding:.5rem .6rem;
  border:1px solid rgba(96,213,189,.35);
  border-radius:7px;
  background:#0d1724;
  box-shadow:0 10px 24px rgba(0,0,0,.35);
  color:#edf5ff;
  opacity:0;
  visibility:hidden;
  transform:translateY(-3px);
  transition:opacity .15s ease,transform .15s ease,visibility .15s ease;
  pointer-events:none;
}
.bcxp-shop-active-powerup__tooltip strong{
  font-size:.75rem;
  line-height:1.25;
}
.bcxp-shop-active-powerup__tooltip small{
  color:#aebed0;
  font-size:.68rem;
  line-height:1.3;
}
.bcxp-shop-active-powerup:hover,
.bcxp-shop-active-powerup:focus-visible{
  z-index:21;
}
.bcxp-shop-active-powerup:focus-visible::before{
  outline:2px solid #f7c948;
  outline-offset:2px;
}
.bcxp-shop-active-powerup:hover .bcxp-shop-active-powerup__tooltip,
.bcxp-shop-active-powerup:focus-visible .bcxp-shop-active-powerup__tooltip{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
@keyframes bcxp-active-powerup-ring{
  0%,100%{opacity:.62;transform:scale(.96)}
  50%{opacity:1;transform:scale(1.04)}
}
@media (max-width:640px){
  .bcxp-shop-active-powerups{
    gap:0;
    padding-left:.25rem;
  }
  .bcxp-shop-active-powerups__label{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    white-space:nowrap;
  }
  .bcxp-shop-active-powerups__icons{
    max-width:min(128px,36vw);
    padding:4px;
    flex-wrap:wrap;
    justify-content:flex-end;
  }
}
.bcxp-shop-fulfillment-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:.55rem 2rem;
  width:100%;
}
.bcxp-shop-fulfillment-fields label{
  display:grid;
  gap:.22rem;
  color:#cbd5e1;
  font-size:.76rem;
  font-weight:800;
}
.bcxp-shop-fulfillment-fields input,
.bcxp-shop-fulfillment-fields select,
.bcxp-shop-fulfillment-fields textarea{
  box-sizing:border-box;
  width:100%;
  border:1px solid var(--bcxp-border);
  border-radius:8px;
  color:var(--bcxp-text);
  background:var(--bcxp-bg);
  min-height:0;
  height:38px;
  padding:.38rem .55rem;
}
.bcxp-shop-fulfillment-fields textarea{
  min-height:38px;
  max-height:38px;
  resize:none;
}
.bcxp-shop-prediction-action-bar{
  display:flex;
  gap:.4rem;
  flex-wrap:nowrap;
  align-items:center;
  white-space:nowrap;
}
.bcxp-shop-row-spotlighted{
  box-shadow:inset 3px 0 0 #c084fc;
  background:rgba(192,132,252,.08);
}
.bcxp-prediction-spotlight-launcher{
  position:relative;
  display:inline-flex;
  align-items:center;
}
.bcxp-prediction-spotlight-trigger{
  position:relative;
  display:inline-grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  padding:0;
  border:1px solid rgba(192,132,252,.5);
  border-radius:8px;
  background:rgba(192,132,252,.09);
  cursor:pointer;
  transition:border-color .18s ease,background-color .18s ease,transform .18s ease;
}
.bcxp-prediction-spotlight-trigger:hover,
.bcxp-prediction-spotlight-trigger:focus-visible{
  border-color:#c084fc;
  background:rgba(192,132,252,.17);
  transform:translateY(-1px);
}
.bcxp-prediction-spotlight-trigger:focus-visible{
  outline:2px solid #c084fc;
  outline-offset:2px;
}
.bcxp-prediction-spotlight-trigger .bcxp-shop-icon.small{
  width:27px;
  height:27px;
  border-width:2px;
  border-radius:7px;
  box-shadow:none;
}
.bcxp-prediction-spotlight-trigger__count{
  position:absolute;
  top:-6px;
  right:-6px;
  display:grid;
  place-items:center;
  min-width:18px;
  height:18px;
  padding:0 4px;
  border:2px solid #2b3f57;
  border-radius:999px;
  background:#c084fc;
  color:#17111f;
  font-size:.65rem;
  font-weight:900;
  line-height:1;
}
.bcxp-profile-badge-pin-ready{
  display:grid;
  gap:.22rem;
  margin:.8rem 0;
  padding:.7rem .8rem;
  border:1px solid rgba(155,93,229,.34);
  border-radius:8px;
  color:#d8c6eb;
  background:rgba(36,17,58,.32);
}
.bcxp-profile-badge-pin-ready strong{
  color:#f1e8ff;
  font-size:.86rem;
}
.bcxp-profile-badge-pin-ready span{
  font-size:.76rem;
  line-height:1.35;
}
.bcxp-profile-badge-pin-choices{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:.55rem;
}
.bcxp-profile-badge-pin-choice{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:.6rem;
  align-items:center;
  min-width:0;
  padding:.58rem;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  color:#eef2f8;
  background:#172232;
  text-align:left;
  cursor:pointer;
}
.bcxp-profile-badge-pin-choice:hover:not(:disabled),
.bcxp-profile-badge-pin-choice:focus-visible:not(:disabled){
  border-color:#b878ff;
  background:#21162d;
  outline:none;
}
.bcxp-profile-badge-pin-choice.is-pinned{
  border-color:#c084fc;
  background:#21162d;
  box-shadow:inset 3px 0 0 #c084fc;
}
.bcxp-profile-badge-pin-choice:disabled{
  opacity:.46;
  cursor:not-allowed;
}
.bcxp-profile-badge-pin-choice img,
.bcxp-profile-badge-pin-choice__placeholder{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;
  object-fit:contain;
  background:rgba(255,255,255,.05);
}
.bcxp-profile-badge-pin-choice > span:last-child{
  display:grid;
  gap:2px;
  min-width:0;
}
.bcxp-profile-badge-pin-choice strong{
  overflow:hidden;
  color:#f8fafc;
  font-size:.8rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bcxp-profile-badge-pin-choice small{
  color:#c9a7f5;
  font-size:.7rem;
  font-weight:800;
}
@media (max-width:520px){
  .bcxp-profile-badge-pin-choices{grid-template-columns:1fr}
}
.bcntf-toast-stack .bcntf-toast.bcxp-prediction-spotlight-selection-toast{
  width:min(390px,calc(100vw - 30px));
  max-width:calc(100vw - 30px);
  max-height:none;
  padding:14px 12px;
}
.bcxp-prediction-spotlight-selection-toast .bcntf-toast__body{
  cursor:default;
}
.bcxp-prediction-spotlight-selection-toast .bcntf-toast__msg{
  line-height:1.4;
  overflow-wrap:anywhere;
}
.bcxp-prediction-spotlight-selection-toast .bcntf-toast__actions,
.bcxp-prediction-spotlight-selection-toast .bcntf-toast__progress{
  display:none;
}
.bcxp-shop-spotlight-state .bcxp-shop-icon.small{
  width:25px;
  height:25px;
  border-width:1px;
  border-radius:6px;
  box-shadow:none;
}
.bcxp-prediction-spotlight-ready{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.8rem;
  padding:.75rem;
  border:1px solid rgba(192,132,252,.34);
  border-radius:8px;
  background:rgba(192,132,252,.08);
}
.bcxp-prediction-spotlight-ready > div{
  display:grid;
  gap:.12rem;
  min-width:0;
}
.bcxp-prediction-spotlight-ready strong{
  color:var(--bcxp-text);
}
.bcxp-prediction-spotlight-ready span{
  color:var(--bcxp-muted-text);
  font-size:.8rem;
}
.bcxp-prediction-spotlight-ready .bcxp-btn{
  flex:0 0 auto;
  justify-content:center;
}
.bcxp-prediction-spotlight-preview{
  display:grid;
  gap:.22rem;
  padding:.75rem 0 .75rem .85rem;
  border-left:4px solid #c084fc;
}
.bcxp-prediction-spotlight-preview > span,
.bcxp-prediction-spotlight-preview small{
  color:var(--bcxp-muted-text);
  font-size:.8rem;
}
.bcxp-prediction-spotlight-preview strong{
  color:var(--bcxp-text);
  font-size:1rem;
}
.bcxp-prediction-spotlight-confirm.is-busy .bcxp-prediction-spotlight-preview{
  opacity:.62;
}
.bcxp-prediction-spotlight-confirm{
  display:grid;
  gap:1rem;
  color:var(--bcxp-text);
  font-family:var(--bcxp-font);
}
.bcxp-prediction-spotlight-confirm > p{
  margin:0;
  color:var(--bcxp-muted-text);
}
.bcxp-prediction-spotlight-confirm__actions{
  display:flex;
  justify-content:flex-end;
  gap:.65rem;
}
.bcxp-prediction-spotlight-confirm__actions .bcxp-btn{
  justify-content:center;
}
.bcxp-prediction-spotlight-confirm__feedback{
  margin:0;
  color:var(--bcxp-danger);
  font-size:.84rem;
  font-weight:700;
}
.bcxp-prediction-spotlight-confirm__feedback:empty{
  display:none;
}
@media (max-width:560px){
  .bcxp-prediction-spotlight-ready,
  .bcxp-prediction-spotlight-confirm__actions{
    align-items:stretch;
    flex-direction:column;
  }
  .bcxp-prediction-spotlight-ready .bcxp-btn,
  .bcxp-prediction-spotlight-confirm__actions .bcxp-btn{
    width:100%;
  }
}
.bcxp-shop-spotlight-showcase{
  padding:1rem;
  background:linear-gradient(180deg,#13263d,#0f1722);
  border-color:rgba(96,213,189,.24);
}
.bcxp-shop-spotlight-showcase__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.8rem;
}
.bcxp-shop-spotlight-showcase__head h3{
  margin:0;
  color:#f8fafc;
}
.bcxp-shop-spotlight-kicker{
  color:#60d5bd;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.bcxp-shop-spotlight-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:.7rem;
}
.bcxp-shop-spotlight-card{
  border:1px solid rgba(96,213,189,.22);
  border-radius:10px;
  padding:.8rem;
  background:rgba(7,15,24,.68);
}
.bcxp-shop-spotlight-card__top,
.bcxp-shop-spotlight-card__foot,
.bcxp-shop-spotlight-card__meta{
  display:flex;
  gap:.45rem;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}
.bcxp-shop-spotlight-card__top span{
  color:#60d5bd;
  font-weight:900;
}
.bcxp-shop-spotlight-card h4{
  margin:.55rem 0;
  color:#f8fafc;
  font-size:1rem;
}
.bcxp-shop-spotlight-card a{
  color:inherit;
  text-decoration:none;
}
.bcxp-shop-spotlight-card__meta span,
.bcxp-shop-spotlight-card__top small,
.bcxp-shop-spotlight-empty{
  color:#a7b4c6;
}
.bcxp-shop-mini-action{
  display:inline-flex;
  width:max-content;
  border:1px solid rgba(96,213,189,.42);
  border-radius:999px;
  padding:.2rem .5rem;
  color:#60d5bd;
  background:transparent;
  font-size:.72rem;
  font-weight:900;
  cursor:pointer;
}
.bcxp-shop-badge-card--pinned{
  border-color:rgba(247,201,72,.62) !important;
  box-shadow:0 0 0 1px rgba(247,201,72,.18);
}
.bcxp-shop-club-colorway--teal{
  border-color:rgba(96,213,189,.46) !important;
  background:
    radial-gradient(circle at top right,rgba(96,213,189,.2),transparent 34%),
    linear-gradient(180deg,rgba(19,57,73,.98),rgba(13,30,48,.98)) !important;
}
.bcxp-shop-club-colorway--teal .bcxp-clan-profile-kicker,
.bcxp-shop-club-colorway--teal .bcxp-clan-browser-title{
  color:#60d5bd;
}
.bcxp-shop-quest-reroll{
  display:flex;
  justify-content:flex-end;
  margin-top:.55rem;
}
.bcxp-shop-inventory-hint{
  color:#a7b4c6;
}
@media (max-width:560px){
  .bcxp-shop-card__identity,
  .bcxp-shop-variant__main{
    align-items:flex-start;
  }
  .bcxp-shop-modal__hero{
    align-items:flex-end;
  }
  .bcxp-shop-detail-list,
  .bcxp-shop-shield-tiers__grid,
  .bcxp-shop-variant{
    grid-template-columns:1fr;
  }
  .bcxp-shop-variant--duel-shield{
    grid-template-columns:minmax(0,1fr) auto;
    gap:.35rem .6rem;
  }
  .bcxp-shop-variant--duel-shield .bcxp-shop-buy-form{
    grid-column:2;
    grid-row:1 / span 2;
    width:auto;
  }
  .bcxp-shop-variant--duel-shield .bcxp-shop-buy-form .bcxp-btn{
    width:auto;
    min-width:92px;
  }
  .bcxp-shop-variant--duel-shield .bcxp-shop-variant__side{
    grid-column:1;
    justify-items:start;
    text-align:left;
  }
  .bcxp-shop-variant--duel-shield .bcxp-shop-card__reason{
    grid-column:1;
  }
  .bcxp-shop-shield-tiers__head{
    align-items:flex-start;
    flex-direction:column;
  }
  .bcxp-shop-variant__side{
    justify-items:start;
    text-align:left;
  }
  .bcxp-shop-variant .bcxp-shop-buy-form,
  .bcxp-shop-modal__actions .bcxp-shop-buy-form,
  .bcxp-shop-modal__actions,
  .bcxp-shop-buy-form .bcxp-btn{
    width:100%;
  }
  .bcxp-shop-variant--duel-shield .bcxp-shop-buy-form{
    width:auto;
  }
  .bcxp-shop-variant--duel-shield .bcxp-shop-buy-form .bcxp-btn{
    width:auto;
  }
  .bcxp-shop-fulfillment-fields{
    grid-template-columns:1fr;
  }
  .bcxp-shop-fulfillment-fields label:last-child{
    grid-column:auto;
    grid-row:auto;
  }
  .bcxp-shop__bar,
  .bcxp-shop-inventory__row{
    align-items:flex-start;
    flex-direction:column;
  }
  .bcxp-shop-history__filters,
  .bcxp-shop-inventory-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bcxp-shop-inline-form,
  .bcxp-shop-inline-form input,
  .bcxp-shop-inline-form button{
    width:100%;
  }
  .bcxp-shop-profile-extras{
    justify-content:flex-start;
    width:100%;
  }
  .bcxp-shop-spotlight-showcase__head{
    display:grid;
  }
  .bcxp-shop-prediction-action-bar{
    align-items:flex-start;
  }
}

/* Member guidance reuses the existing card, button and quest progress components. */
.bcxp-guidance{display:block}
.bcxp-guidance>summary{cursor:pointer;font-weight:700;font-size:16px;line-height:1.5}
.bcxp-guidance>summary::marker{color:var(--bcxp-primary)}
.bcxp-guidance>summary:focus-visible{outline:2px solid var(--bcxp-primary);outline-offset:4px}
.bcxp-guidance-content{display:grid;gap:12px;margin-top:14px}
.bcxp-guidance h2,.bcxp-guidance h3,.bcxp-guidance p,.bcxp-personal-rank h3{margin:0 0 8px}
.bcxp-guidance [data-bcxp-level],.bcxp-guidance [data-bcxp-next-action],.bcxp-guidance [data-bcxp-reward-goal]{padding-top:12px;border-top:1px solid rgba(128,128,128,.2)}
.bcxp-guidance .bcxp-quest-progress{margin-top:10px;width:100%}
.bcxp-personal-rank__you{font-weight:700;background:rgba(34,197,94,.1)}
.bcxp-history-scroll{overflow-x:auto}
.bcxp-guidance .bcxp-btn{margin-top:6px}
.bcxp-guidance,.bcxp-personal-rank,[data-bcxp-reward-history]{padding:16px}
.bcxp-personal-rank .bcxp-season-table thead th{color:var(--bcxp-text);background:var(--bcxp-surface)}
.bcxp-personal-rank--summary{display:flex;align-items:baseline;gap:4px 12px;flex-wrap:wrap;padding:8px 10px;background:#30465b;color:#fff;border-color:rgba(96,213,189,.28);font-family:var(--bcxp-font);font-size:12px;line-height:1.4}
.bcxp-personal-rank--summary h3,.bcxp-personal-rank--summary p{margin:0;color:inherit;font-size:12px;line-height:1.4}
.bcxp-personal-rank--summary .bcxp-meta{color:#c5dfdc}

/* Account rewards and quest cards share the existing profile's navy palette. */
.bcxp-quest,
.bcxp-rewards-wallet,
.bcxp-rewards-activity,
.bcxp-reward-history,
.bcxp-shop,
.bcxp-shop-modal,
.bcxp-shop-compact-purchase,
.bcxp-referral,
.bcxp-empty,
.bcxp-badges .bcxp-badge,
.bcxp-badges-catalog>.bcxp-card,
#bcxp-rewards-hub{
  --bcxp-surface:#20364e;
  --bcxp-muted:#15263b;
  --bcxp-text:#edf5ff;
  --bcxp-muted-text:#b8c8d9;
  --bcxp-border:#35516b;
}
.bcxp-quest,.bcxp-rewards-wallet,.bcxp-rewards-activity,.bcxp-reward-history,.bcxp-referral,.bcxp-empty,.bcxp-badges .bcxp-badge,.bcxp-badges-catalog>.bcxp-card{background:linear-gradient(135deg,#29465f 0%,#172b40 65%,#142338 100%);color:var(--bcxp-text);border-color:var(--bcxp-border)}
.bcxp-badges-catalog .bcxp-badge-item--locked strong{color:#c5d5e6}
.bcxp-badges-catalog .bcxp-badge-item--locked .bcxp-badge-text{opacity:1}
.bcxp-badges-catalog .bcxp-desc{color:var(--bcxp-muted-text)}
.bcxp-badges-catalog .bcxp-badge-state.is-earned{background:#153c37;color:#9ce8d7}
.bcxp-badges-catalog .bcxp-badge-state.is-locked{background:#263d53;color:#c5d5e6}
.bcxp-badges-catalog .bcxp-badge-popover{display:none;box-sizing:border-box}
.bcxp-badges-catalog .bcxp-badge-hovercard:hover .bcxp-badge-popover,
.bcxp-badges-catalog .bcxp-badge-hovercard:focus .bcxp-badge-popover,
.bcxp-badges-catalog .bcxp-badge-hovercard.is-open .bcxp-badge-popover{display:grid}
.bcxp-rewards-wallet{padding:16px}
.bcxp-rewards-wallet__head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.bcxp-rewards-wallet__head h3{margin:0;font-size:15px;font-weight:700;color:inherit}
.bcxp-rewards-wallet__head>span{padding:2px 7px;border:1px solid #47796f;border-radius:5px;color:#9ce8d7;font-size:11px;white-space:nowrap}
.bcxp-rewards-wallet__balances{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:8px;margin:0}
.bcxp-rewards-wallet__balances>div{min-width:0}
.bcxp-rewards-wallet__balances dt{margin:0 0 3px;font-size:11px;font-weight:500;color:var(--bcxp-muted-text)}
.bcxp-rewards-wallet__balances dd{margin:0;font-size:21px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.bcxp-rewards-wallet__balances dd{display:flex;align-items:center;gap:6px}
.bcxp-currency-icon{display:inline-block;flex:0 0 auto;object-fit:contain;vertical-align:middle}
.bcxp-rewards-wallet .bcxp-currency-icon{width:28px;height:28px}
.bcxp-rewards-activity{padding:14px 16px}
.bcxp-rewards-activity__periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bcxp-rewards-activity__periods>div+div{padding-left:12px;border-left:1px solid var(--bcxp-border)}
.bcxp-rewards-activity__periods h4{margin:0 0 6px;font-size:12px;font-weight:600;color:var(--bcxp-muted-text)}
.bcxp-rewards-activity__periods strong{display:block;font-size:21px;font-weight:800;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.bcxp-rewards-activity__periods strong small{font-size:11px;color:var(--bcxp-muted-text)}
.bcxp-rewards-activity__periods>div>span{display:block;margin-top:3px;font-size:11px;color:var(--bcxp-muted-text)}
.bcxp-rewards-activity__note{display:block;margin-top:10px;text-align:right;font-size:10px;color:var(--bcxp-muted-text)}
.bcxp-rewards-overview{display:grid;gap:12px}
body:has([data-bcxp-sidebar-rewards]:not([hidden])) [data-bcxp-dashboard][data-bcxp-owner="1"]>[data-bcxp-sidebar-fallback]{display:none}
#bcxp-rewards-hub>.bcxp-card{padding:16px;background:linear-gradient(135deg,#29465f 0%,#20364e 60%,#172b40 100%);color:var(--bcxp-text)}
#bcxp-rewards-hub>.bcxp-card>.bcxp-section-title{margin-top:0}
#bcxp-rewards-hub>.bcxp-card h2,#bcxp-rewards-hub>.bcxp-card h3{color:var(--bcxp-text)}
.bcxp-reward-history h3{font-size:16px;font-weight:700;margin:0 0 14px;color:var(--bcxp-text)}
.bcxp-reward-history .bcxp-reward-log{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.bcxp-reward-log__item{--bcxp-log-accent:#60d5bd;display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--bcxp-border);border-left:3px solid var(--bcxp-log-accent);border-radius:8px;background:rgba(7,20,35,.35)}
.bcxp-reward-log__item--quest{--bcxp-log-accent:#f6c75c}
.bcxp-reward-log__item--badge{--bcxp-log-accent:#b9a1ff}
.bcxp-reward-log__item--spend{--bcxp-log-accent:#e6a0a9}
.bcxp-reward-log__icon{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--bcxp-log-accent);border-radius:50%;color:var(--bcxp-log-accent);background:#15263b}
.bcxp-reward-log__icon svg{width:20px;height:20px}
.bcxp-reward-log__details{min-width:0;overflow-wrap:anywhere}
.bcxp-reward-log__details>strong{display:block;font-size:14px;line-height:1.4;color:var(--bcxp-text)}
.bcxp-reward-log__details>span{display:block;margin-top:3px;font-size:11px;line-height:1.5;color:var(--bcxp-muted-text)}
.bcxp-reward-log__amounts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}
.bcxp-reward-amount{padding:4px 8px;border:1px solid #396d62;border-radius:5px;background:#153c37;color:#a0ead8;font-size:12px;line-height:1.3;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
.bcxp-reward-amount--betcoins{border-color:#7c6538;background:#3c3422;color:#ffe2a8}
.bcxp-reward-amount--coins{border-color:#68558b;background:#302a46;color:#d8c8ff}
.bcxp-reward-amount.is-debit{border-color:#85535e;background:#3f2a35;color:#ffc0c9}
@media(max-width:480px){
  .bcxp-reward-log__item{grid-template-columns:28px minmax(0,1fr);padding:10px;gap:7px 9px}
  .bcxp-reward-log__icon{width:28px;height:28px}
  .bcxp-reward-log__amounts{grid-column:2;justify-content:flex-start}
}

.bcxp-referral{position:relative;padding:12px 14px}
.bcxp-referral-label{display:block;margin-bottom:6px;font-size:12px;line-height:1.4}
.bcxp-referral-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.bcxp-referral-controls input[type="text"]{flex:1 1 180px;width:auto;min-width:0;margin:0;padding:8px 10px;font-size:12px;line-height:1.5;background:#15263b}
.bcxp-referral-controls .bcxp-btn[data-bcxp-copy]{flex:0 0 auto;margin:0;min-height:36px;padding:8px 12px;font-size:12px;line-height:1.5}
.bcxp-referral-controls>small{flex:1 1 220px;margin:0;min-width:0;font-size:12px;line-height:1.4;color:var(--bcxp-muted-text)}
.bcxp-referral-copy-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
.bcxp-referral-copy-status.is-error{position:static;display:block;width:auto;height:auto;clip-path:none;margin-top:8px;font-size:12px;color:var(--bcxp-text)}

/* Compact progress uses its own markup, without duplicate full-card IDs or controls. */
.widget.bcxp-sidebar-rewards{--bcxp-border:#35516b;--bcxp-muted-text:#b8c8d9}
.widget.bcxp-sidebar-rewards>.bcxp-rewards-wallet,.widget.bcxp-sidebar-rewards>.bcxp-rewards-activity{padding:0;border:0;background:none;box-shadow:none;border-radius:0}
.widget.bcxp-sidebar-rewards>.bcxp-rewards-activity{margin-top:12px;padding-top:12px;border-top:1px solid var(--bcxp-border)}

/* Cadence frames group quests without increasing the cards' own height. */

/* Keep the catalog's artwork inside its card while leaving detail popovers free. */
.bcxp-badge-item--art{position:relative;isolation:isolate}
.bcxp-badge-art{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;z-index:0}
.bcxp-badge-art img{position:absolute;right:-6%;top:50%;transform:translateY(-50%);width:66%;height:180%;object-fit:contain;opacity:.26;filter:saturate(.65)}
.bcxp-badge-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(24,46,65,.96),rgba(24,46,65,.54) 65%,rgba(24,46,65,.35))}
.bcxp-badge-item--art>.bcxp-badge-icon{display:none}
.bcxp-badge-item--art>.bcxp-badge-text{position:relative;z-index:1}
.bcxp-badge-item--locked .bcxp-badge-art img{filter:grayscale(1);opacity:.23}
.bcxp-badge-item--earned .bcxp-badge-art img{filter:sepia(1) saturate(2.8) hue-rotate(105deg);opacity:.88}
.bcxp-badge-item--earned .bcxp-badge-art::after{background:linear-gradient(90deg,rgba(24,46,65,.98),rgba(24,46,65,.82) 60%,rgba(24,46,65,.22))}
.bcxp-badges-catalog>.bcxp-badge-item--earned{border-color:#477c77}

.bcxp-user-profile-stats>.bcxp-profile-history-trigger{display:grid;gap:.15rem;min-width:0;padding:.55rem .6rem;border:1px solid var(--bcxp-border);border-radius:8px;background:var(--bcxp-muted);color:var(--bcxp-text);font:inherit;text-align:left;cursor:pointer}
.bcxp-profile-history-trigger:hover,.bcxp-profile-history-trigger:focus-visible{border-color:#60d5bd;outline:2px solid #60d5bd;outline-offset:2px}
.bcxp-history-dialog-ready body:has(.bcxp-profile-history-trigger) [data-bcxp-dashboard][data-bcxp-owner="1"]>[data-bcxp-reward-history]{display:none}
.bcxp-modal-panel:has([data-bcxp-reward-history]){width:min(800px,100%)}
.bcxp-modal-body>[data-bcxp-reward-history]{margin:0;border:0;box-shadow:none}
.bcxp-goal-message{display:block;font-size:12px;color:inherit;margin-top:6px}
.bcxp-modal-panel:has(.bcxp-shop-modal,.bcxp-shop,.bcxp-shop-history,.bcxp-shop-inventory-grid){--bcxp-text:#edf5ff;--bcxp-muted-text:#b8c8d9;--bcxp-surface:#20364e;--bcxp-muted:#172b40;--bcxp-border:#35516b;--bcxp-danger:#ffb4b8;--bcxp-primary-weak:rgba(96,213,189,.12);background:#20364e;color:#edf5ff}
.bcxp-modal-shell.is-open:has(.bcxp-shop-modal,.bcxp-shop-history,.bcxp-shop-inventory-grid),.bcxp-modal-shell.is-open:has([data-bcxp-reward-history]){display:grid;place-items:center;padding:14px}
.bcxp-modal-shell:has(.bcxp-shop-modal,.bcxp-shop-history,.bcxp-shop-inventory-grid)>.bcxp-modal-panel,.bcxp-modal-shell:has([data-bcxp-reward-history])>.bcxp-modal-panel{margin:0;width:min(920px,100%);max-height:calc(100dvh - 28px)}
.bcxp-modal-shell:has([data-bcxp-reward-history])>.bcxp-modal-panel{width:min(800px,100%)}
.bcxp-modal-panel:has(.bcxp-shop-modal){--bcxp-surface:#193249;--bcxp-muted:#142b40;--bcxp-border:#36576d;background:#193249;border-color:#47697b;box-shadow:0 20px 70px rgba(3,12,22,.45)}
.bcxp-modal-panel:has(.bcxp-shop-modal)>.bcxp-modal-head{background:#12283a;border-bottom:1px solid #36576d}
.bcxp-modal-panel:has(.bcxp-shop-modal)>.bcxp-modal-head h2{display:flex;align-items:center;gap:9px;font-size:14px;letter-spacing:.04em}
.bcxp-modal-panel:has(.bcxp-shop-modal)>.bcxp-modal-head h2::before{content:"";width:4px;height:18px;border-radius:2px;background:#60d5bd}
.bcxp-shop-modal{padding:0;gap:14px}
.bcxp-shop-modal__hero{position:relative;align-items:center;gap:18px;padding:18px;border:1px solid #426576;border-radius:10px;background:repeating-linear-gradient(115deg,transparent 0 40px,rgba(166,219,223,.035) 41px 42px),linear-gradient(115deg,#25495b,#142b40);isolation:isolate}
.bcxp-shop-modal__hero>.bcxp-shop-icon{flex-shrink:0;box-shadow:0 7px 0 rgba(4,17,27,.35),0 12px 24px rgba(4,17,27,.25);transform:rotate(-5deg)}
.bcxp-shop-modal__hero>.bcxp-shop-icon>span{transform:rotate(5deg)}
.bcxp-shop-modal__hero>.bcxp-shop-modal__intro{flex:1}
.bcxp-shop-modal__hero h3{font-size:20px;line-height:1.3}
.bcxp-shop-modal__hero p{font-size:13px;line-height:1.5}
.bcxp-shop-modal__hero .bcxp-shop-modal__pills>span:first-child{padding:0;background:none;border:0;font-size:10px;color:#9ce8d7;letter-spacing:.08em}
.bcxp-shop-modal__hero>.bcxp-shop-modal__wallet{box-sizing:border-box;max-width:100%;flex-shrink:0;align-content:center;gap:6px;min-height:0;padding:12px 14px;border:1px solid #53684f;border-radius:8px;background:#122b38}
.bcxp-shop-modal__wallet>span:first-child{font-size:11px;color:#b8c8d9}
.bcxp-shop-modal__wallet .bcxp-shop-betcoin-price{font-size:23px;font-weight:800;color:#ffe2a8}
.bcxp-shop-modal__wallet .bcxp-shop-betcoin-price img{width:28px;height:28px}
.bcxp-shop-modal .bcxp-shop-detail-list{margin-top:12px;gap:8px}
.bcxp-shop-modal .bcxp-shop-detail-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.bcxp-shop-modal .bcxp-shop-detail-list>div{padding:10px 12px}
.bcxp-shop-modal-wallet{padding:12px;border:1px solid #35516b;border-radius:8px;background:#172b40}
.bcxp-shop-modal-wallet>div:first-child{display:flex;align-items:center;gap:7px;font-size:12px;color:#b8c8d9}
.bcxp-shop-modal-wallet strong{color:#ffe2a8;font-size:22px}
.bcxp-shop-modal-wallet small{margin-left:auto;font-size:12px}
.bcxp-shop-modal-wallet .bcxp-reward-goal__progress{margin-top:10px;height:5px}
.bcxp-shop-modal__actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.bcxp-shop-modal__actions .bcxp-shop-buy-form{margin:0}
.bcxp-shop-modal__actions .bcxp-shop-buy-form:not(.bcxp-shop-buy-form--fulfillment){width:auto;flex:0 0 auto}
.bcxp-shop-redeem{padding:14px;border:1px solid #50736e;border-top:3px solid #60d5bd;border-radius:10px;background:#122b3d}
.bcxp-shop-redeem>.bcxp-shop-modal-wallet{padding:0;border:0;background:none}
.bcxp-shop-redeem__foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:12px}
.bcxp-shop-availability{margin:0;font-size:12px;line-height:1.4;color:#f2d09b}
.bcxp-shop-availability.is-ready{color:#9ce8d7}
.bcxp-shop-plan-notes{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--bcxp-muted-text)}
.bcxp-shop-plan-notes strong{color:var(--bcxp-text);font-size:13px}
.bcxp-shop-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bcxp-shop-plan{display:grid;grid-template-rows:auto auto auto 1fr auto;gap:10px;padding:0;overflow:hidden;border:1px solid #527270;border-radius:10px;background:var(--bcxp-muted)}
.bcxp-shop-plan.is-ready{border-color:#60d5bd}
.bcxp-shop-plan>header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px dashed #698782;background:linear-gradient(115deg,#2c4d59,#1d3748)}
.bcxp-shop-plan>header::before,.bcxp-shop-plan>header::after{content:"";position:absolute;bottom:-6px;width:10px;height:10px;border:1px solid #527270;border-radius:50%;background:#193249}
.bcxp-shop-plan>header::before{left:-6px}
.bcxp-shop-plan>header::after{right:-6px}
.bcxp-shop-plan__brand{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#b8d3d3}
.bcxp-shop-plan h4{margin:3px 0 0;color:#edf5ff;font-size:23px;line-height:1.2}
.bcxp-shop-plan .bcxp-shop-discount-pill{display:grid;justify-items:center;align-content:center;gap:0;min-width:76px;padding:0;border:0;border-radius:0;background:none;color:#ffe2a8;white-space:nowrap;line-height:1}
.bcxp-shop-plan .bcxp-shop-discount-pill strong{font-size:33px;letter-spacing:-.04em}
.bcxp-shop-plan .bcxp-shop-discount-pill>span{margin-top:3px;font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.bcxp-shop-plan__cost{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin:2px 14px 0}
.bcxp-shop-plan__cost>span{font-size:11px;color:#b8c8d9}
.bcxp-shop-plan__price{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:22px;font-weight:800;color:#ffe2a8}
.bcxp-shop-plan__progress{height:5px;margin:0 14px;overflow:hidden;border-radius:3px;background:#081c2c}
.bcxp-shop-plan__progress>span{display:block;height:100%;border-radius:inherit;background:#60d5bd}
.bcxp-shop-plan>.bcxp-shop-availability{margin:0 14px;font-size:11px;color:#c5d6e4}
.bcxp-shop-plan>.bcxp-shop-availability.is-ready{color:#9ce8d7}
.bcxp-shop-plan__expiry{margin:0 14px;font-size:11px;color:var(--bcxp-muted-text)}
.bcxp-shop-plan__actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0 14px 13px}
.bcxp-shop-plan__actions .bcxp-goal-message{order:1;flex-basis:100%;margin:0;text-align:right;font-size:11px;overflow-wrap:anywhere}
.bcxp-shop-plan__actions .bcxp-shop-buy-form{display:block;width:auto;margin:0}
.bcxp-shop-plan__actions .bcxp-btn{width:auto;min-height:36px;padding:7px 12px;font-size:12px;border-radius:6px}
.bcxp-shop-plan__actions .bcxp-goal-button{margin-right:auto}
.bcxp-shop-plan__actions .bcxp-shop-buy-form .bcxp-btn:not([disabled]){background:#60d5bd;color:#0a2630}
.bcxp-shop-plan__actions .bcxp-shop-buy-form .bcxp-btn[disabled]{background:#263f51;color:#a6b8c8;border:1px solid #446173;opacity:1}
.bcxp-shop-plan__actions .bcxp-goal-button[aria-pressed="true"]{border-color:#60d5bd}
.bcxp-shop-state{display:inline-flex;align-items:center;justify-self:start;width:max-content;max-width:100%;padding:3px 7px;border:1px solid #477087;border-radius:5px;font-size:11px;font-weight:700;line-height:1.3;background:#263e55;color:#c5d5e6}
.bcxp-shop-state--active,.bcxp-shop-state--fulfilled{background:#153c37;color:#9ce8d7;border-color:#396d62}
.bcxp-shop-state--stored{background:#302a46;color:#d8c8ff;border-color:#68558b}
.bcxp-shop-state--pending,.bcxp-shop-state--pending_fulfillment{background:#3c3422;color:#ffe2a8;border-color:#7c6538}
.bcxp-shop-state--expired,.bcxp-shop-state--failed,.bcxp-shop-state--refunded{background:#3f2a35;color:#ffc0c9;border-color:#85535e}
.bcxp-shop-expiry.is-expired{color:#f0b9ad}
.bcxp-shop-inventory-slot{gap:8px;align-content:start;border-radius:9px}
.bcxp-shop-inventory-slot__top{justify-content:space-between}
.bcxp-shop-inventory-slot__qty{padding:3px 7px;border:1px solid #477087;border-radius:5px;background:#20364e;font-size:13px;text-shadow:none}
.bcxp-shop-inventory-slot__title{font-size:14px;line-height:1.4}
.bcxp-shop-inventory-slot[data-shop-state="active"]{border-color:#477c77}
.bcxp-shop-inventory-slot[data-shop-state="stored"]{border-color:#68558b}
.bcxp-shop-inventory-slot[data-shop-state="expired"]{border-color:#6d515e}
.bcxp-shop-inventory-slot>.bcxp-shop-expiry{font-size:11px;line-height:1.5}
.bcxp-shop-history .bcxp-shop-inventory-code,.bcxp-shop-inventory-slot .bcxp-shop-inventory-code{grid-template-columns:minmax(0,1fr) 32px}
.bcxp-shop-history .bcxp-shop-copy-code-btn,.bcxp-shop-inventory-slot .bcxp-shop-copy-code-btn{width:32px;height:32px}
@media(max-width:640px){
  .bcxp-shop-plans{grid-template-columns:1fr;gap:10px}
  .bcxp-shop-plan{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:none;gap:10px}
  .bcxp-shop-plan>header,.bcxp-shop-plan__cost,.bcxp-shop-plan__progress,.bcxp-shop-plan>.bcxp-shop-availability,.bcxp-shop-plan__expiry,.bcxp-shop-plan__actions{grid-column:1/-1}
  .bcxp-shop-plan>header{padding:11px 14px}
  .bcxp-shop-plan h4{font-size:22px}
  .bcxp-shop-plan .bcxp-shop-discount-pill strong{font-size:30px}
  .bcxp-shop-plan__price{font-size:21px}
  .bcxp-shop-modal--subscriptions>.bcxp-shop-modal__hero{flex-wrap:wrap}
  .bcxp-shop-modal__hero>.bcxp-shop-modal__wallet{flex-basis:100%;display:flex;justify-content:space-between;align-items:center;padding:10px 12px}
  .bcxp-shop-redeem__foot>.bcxp-shop-modal__actions{margin-left:auto}
}
.bcxp-shop-lock-pill::before{content:none}
.bcxp-shop-modal__balance{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;color:#b8c8d9}
/* Shop surfaces use the same navy/teal tokens as the XP cards. */
.bcxp-shop .bcxp-shop-betcoin-price img,
.bcxp-shop-modal .bcxp-shop-betcoin-price img,
.bcxp-shop-history .bcxp-shop-betcoin-price img,
.bcxp-shop-inventory-grid .bcxp-shop-betcoin-price img{width:24px;height:24px}
.bcxp-shop-modal-wallet .bcxp-currency-icon{width:26px;height:26px}
.bcxp-goal-button.bcxp-btn{background:transparent;color:#9ce8d7;border:1px solid #47796f;box-shadow:none}
.bcxp-goal-button[aria-pressed="true"]{background:#153c37;color:#a0ead8}
@media(max-width:640px){
  .bcxp-shop-modal__hero .bcxp-shop-icon.large{width:56px;height:56px;flex:0 0 56px}
  .bcxp-shop-modal__hero h3{font-size:18px}
  .bcxp-shop-modal--subscriptions .bcxp-shop-modal__pills{display:none}
  .bcxp-shop-modal__hero{align-items:center;gap:10px}
}
