#appBg,#appBg .fade,.card-loading{top:0;right:0;bottom:0;left:0}body{font-family:'BR Omny',sans-serif;background:var(--background-color)}[x-cloak]{display:none!important}.container{max-width:var(--content-width)!important}.bg-content{background:var(--content-color)}.bg-content-light{background:var(--content-light-color)}.bg-secondary{background:var(--secondary-color)}.bg-primary{background:var(--primary-color)}.text-primary{color:var(--primary-color)}.border-content-light{border-color:rgb(255 255 255 / 10%)!important}.btn-shine{position:relative;overflow:hidden}#appBg,#appBg .fade,.card-loading{position:absolute}.btn-shine:hover:before{animation:.5s linear shine;background-color:rgba(255,255,255,10%);content:"";height:300px;left:-100px;position:absolute;top:-100px;transform:rotate(30deg);width:10%}.custom-avatar{overflow:hidden;border-radius:10px}#paynow{max-width:38px;margin:0 auto;padding-top:5px}#paynow path{fill:#ffffff}#appBg{max-height:400px;overflow:hidden;opacity:var(--hero-opacity)}#appBg img{width:100%;height:100%;object-fit:cover;object-position:var(--hero-position)}#appBg .fade{background:linear-gradient(0deg,var(--background-color),transparent)}#storeApp{position:relative;z-index:5}.gift-icon{box-shadow:0 0 20px #29292ed6;cursor:pointer;background:#ffffff29;font-size:14px!important;backdrop-filter:blur(15px);border:1px solid #ffffff36}.modal-nav{padding-right:15px!important;padding-left:5px!important}.modal-nav::-webkit-scrollbar{width:8px!important;border-radius:100px!important;overflow:hidden}.modal-nav::-webkit-scrollbar-track{background:#3f3f46;border-radius:100px!important}.modal-nav::-webkit-scrollbar-thumb{background:#888;border-radius:100px!important}.modal-nav i{color:#fff}.card-loading{background:var(--background-color);z-index:5;opacity:.85}.loader{width:48px;height:48px;border:5px solid #fff;border-bottom-color:transparent;border-radius:50%;display:inline-block;box-sizing:border-box;animation:1s linear infinite rotation}#notification-alert .font-medium{text-transform:capitalize}.sidebar .top-customer{order:2}.sidebar .recent-payments{order:3}.sidebar .giftcards{order:10}.sidebar .text-block{order:15}@keyframes shine{0%{left:-100px}to{left:calc(100% + 100px)}}@keyframes rotation{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@media only screen and (max-width:768px){.sidebar .store-menu-toggle,.bc-home-page #mobile-secondary{display:none!important}}button, .btn {cursor: pointer;}
/* =============================================================
   BossCraft Simple Homepage v1
   Inspired by the clean MCSMP layout. Uses only the configured
   logo + hero background; everything else is HTML/CSS.
   ============================================================= */



.bc-home-page #content{padding:0 0 54px!important}
.bc-home-page #content>.container{display:block!important;max-width:1240px!important;width:calc(100% - 36px)!important;padding:0!important}
.bc-home-page footer{margin-top:auto}

.bc-hero-simple{padding:38px 0 22px}
.bc-hero-top{max-width:1240px!important;display:grid;grid-template-columns:1fr 360px 1fr;align-items:center;gap:34px}
.bc-main-logo{display:flex;justify-content:center;align-items:center;height:210px}
.bc-main-logo img{max-width:340px;max-height:205px;object-fit:contain;filter:drop-shadow(0 14px 28px rgba(0,0,0,.5))}
.bc-community-card{position:relative;min-height:98px;padding:18px 22px;border:1px solid rgba(112,170,218,.28);border-radius:16px;background:linear-gradient(135deg,rgba(7,18,32,.95),rgba(10,29,49,.92));box-shadow:0 18px 50px rgba(0,0,0,.35);display:flex;align-items:center;gap:16px;color:#fff;text-align:left;transition:.22s ease}
.bc-community-card:hover{transform:translateY(-3px);border-color:rgba(255,70,75,.55)}
.bc-community-icon{width:58px;height:58px;border-radius:13px;background:linear-gradient(145deg,#ef343b,#9d1016);display:grid;place-items:center;font-size:29px;flex:none;box-shadow:inset 0 1px rgba(255,255,255,.18),0 8px 24px rgba(224,32,39,.2)}
.bc-community-copy{display:block;min-width:0}
.bc-community-copy strong,.bc-community-copy small{display:block}.bc-community-copy strong{text-transform:uppercase;font-size:18px;color:#fff;white-space:nowrap}.bc-community-copy small{font-size:13px;color:#bac7d6;margin-top:3px}
.bc-community-count{position:absolute;right:18px;top:-11px;background:#05080d;border-radius:999px;padding:4px 11px;font-size:11px;color:#fff}
.bc-server-card .bc-community-copy strong{text-transform:uppercase}

.bc-storebar{max-width:1240px!important;min-height:102px;border:1px solid rgba(229,47,53,.55);border-radius:17px;background:linear-gradient(135deg,rgba(4,11,20,.97),rgba(9,18,31,.96));box-shadow:0 22px 60px rgba(0,0,0,.42);display:flex;align-items:center;justify-content:space-between;padding:14px 18px!important}
.bc-storemenu-trigger{display:flex;align-items:center;gap:17px;color:#fff;text-transform:uppercase;font-size:21px;font-weight:900}
.bc-storemenu-trigger>span,.bc-square-action{width:56px;height:56px;border-radius:12px;background:linear-gradient(145deg,#d72c33,#8b0d13);display:grid;place-items:center;border:1px solid rgba(255,82,88,.55);color:#fff;font-size:22px}
.bc-storebar-actions{display:flex;align-items:center;gap:12px}.bc-square-action{width:58px}
.bc-currency-form select{height:56px;border-radius:12px;background:#101a29;border:1px solid rgba(255,255,255,.1);color:#fff;font-weight:900;padding:0 18px}
.bc-storebar .user-block{height:72px!important;min-width:255px!important;background:rgba(255,255,255,.035)!important;border-radius:12px!important;overflow:hidden!important}
.bc-storebar .user-block .custom-avatar{margin-left:10px!important;width:46px!important;height:46px!important}.bc-storebar .user-block .text{padding-right:16px!important}.bc-storebar .user-block h2{font-size:17px!important}

.bc-simple-home{display:grid;grid-template-columns:280px minmax(0,1fr);gap:28px;margin-top:26px}
.bc-simple-sidebar{display:flex;flex-direction:column;gap:14px}.bc-vote-button{min-height:78px;border-radius:13px;background:linear-gradient(135deg,#e33d43,#951018);box-shadow:0 14px 36px rgba(0,0,0,.3);display:grid;grid-template-columns:42px 1fr 18px;align-items:center;gap:12px;padding:14px 18px;color:#fff}.bc-vote-button>i:first-child{font-size:25px}.bc-vote-button strong,.bc-vote-button small{display:block}.bc-vote-button strong{text-transform:uppercase;font-size:17px}.bc-vote-button small{font-size:12px;color:#ffdfe0}
.bc-simple-modules{display:flex;flex-direction:column;gap:14px}.bc-simple-modules>div{padding:20px!important;border:1px solid rgba(114,161,208,.18)!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(7,17,30,.96),rgba(10,23,39,.96))!important;box-shadow:0 14px 38px rgba(0,0,0,.26)!important}.bc-simple-modules h1,.bc-simple-modules h2,.bc-simple-modules h3{font-size:18px!important}.bc-simple-modules .title{gap:12px!important}.bc-simple-modules .w-10,.bc-simple-modules .w-12{width:42px!important;height:42px!important}.bc-simple-modules .h-7{height:12px!important}.bc-simple-modules input{background:#111c2c!important;border-color:rgba(255,255,255,.1)!important}

.bc-simple-main{min-width:0}.bc-welcome-panel{min-height:385px;border:1px solid rgba(94,156,208,.3);border-radius:18px;background:linear-gradient(100deg,rgba(7,17,30,.98) 0%,rgba(9,23,40,.94) 52%,rgba(8,17,30,.64) 100%);box-shadow:0 24px 70px rgba(0,0,0,.37);display:grid;grid-template-columns:1.2fr .8fr;overflow:hidden;position:relative}.bc-welcome-panel:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 45%,rgba(224,45,51,.14),transparent 40%);pointer-events:none}.bc-welcome-copy{padding:42px 40px;position:relative;z-index:2}.bc-welcome-copy>span{text-transform:uppercase;color:#ff4147;font-size:12px;font-weight:900;letter-spacing:.08em}.bc-welcome-copy h1{text-transform:uppercase;font-size:40px;line-height:1.05;color:#fff;font-weight:950;margin:18px 0}.bc-welcome-copy h1 b{color:#ef353b}.bc-welcome-copy p{max-width:590px;color:#c3ceda;font-size:15px;line-height:1.55;margin:0 0 14px}.bc-welcome-brand{display:grid;place-items:center;padding:35px;position:relative;z-index:2}.bc-welcome-brand img{max-width:290px;max-height:270px;object-fit:contain;filter:drop-shadow(0 18px 32px rgba(0,0,0,.5))}
.bc-category-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}.bc-category-card{min-height:105px;border-radius:15px;border:1px solid currentColor;background:rgba(4,10,18,.92);box-shadow:0 12px 32px rgba(0,0,0,.26);display:grid;grid-template-columns:58px 1fr 18px;align-items:center;padding:15px 18px;transition:.22s}.bc-category-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(0,0,0,.36)}.bc-category-card>i:first-child{font-size:35px}.bc-category-card strong,.bc-category-card small{display:block}.bc-category-card strong{text-transform:uppercase;font-size:17px}.bc-category-card small{font-size:12px;color:#c1c9d3}.bc-coins{color:#f5b927;background:linear-gradient(135deg,rgba(65,42,4,.92),rgba(11,12,16,.96))}.bc-ranks{color:#ef3e46;background:linear-gradient(135deg,rgba(55,9,12,.94),rgba(10,11,16,.96))}.bc-bundles{color:#a95cf0;background:linear-gradient(135deg,rgba(37,13,60,.94),rgba(9,11,17,.96))}.bc-giftcards{color:#28aaff;background:linear-gradient(135deg,rgba(3,37,63,.94),rgba(8,12,18,.96))}
.bc-simple-trust{display:grid;grid-template-columns:repeat(4,1fr);margin-top:18px;border:1px solid rgba(98,148,190,.2);border-radius:15px;background:rgba(4,12,22,.9);overflow:hidden}.bc-simple-trust>div{display:flex;align-items:center;gap:14px;padding:18px;border-right:1px solid rgba(255,255,255,.07)}.bc-simple-trust>div:last-child{border-right:0}.bc-simple-trust i{font-size:27px;color:#ef3e46}.bc-simple-trust strong,.bc-simple-trust small{display:block}.bc-simple-trust strong{text-transform:uppercase;font-size:12px;color:#fff}.bc-simple-trust small{font-size:11px;color:#9cabbc;margin-top:3px}

@media(max-width:1050px){.bc-hero-top{grid-template-columns:1fr 260px 1fr}.bc-main-logo img{max-width:260px}.bc-community-copy strong{font-size:14px}.bc-simple-home{grid-template-columns:240px minmax(0,1fr)}.bc-category-row{grid-template-columns:repeat(2,1fr)}.bc-simple-trust{grid-template-columns:repeat(2,1fr)}.bc-simple-trust>div:nth-child(2){border-right:0}}
@media(max-width:820px){.bc-hero-top{grid-template-columns:1fr}.bc-community-card{display:none}.bc-main-logo{height:165px}.bc-storebar{flex-direction:column;gap:12px;align-items:stretch}.bc-storebar-actions{justify-content:space-between}.bc-storebar .user-block{min-width:0!important}.bc-simple-home{display:block}.bc-simple-sidebar{margin-bottom:18px}.bc-simple-modules{display:grid;grid-template-columns:repeat(2,1fr)}.bc-welcome-panel{grid-template-columns:1fr}.bc-welcome-brand{display:none}}
@media(max-width:570px){.bc-home-page #content>.container{width:calc(100% - 18px)!important}.bc-hero-simple{padding-top:10px}.bc-main-logo{height:135px}.bc-main-logo img{max-height:130px}.bc-storemenu-trigger strong{font-size:16px}.bc-storebar-actions{flex-wrap:wrap}.bc-storebar .user-block{width:100%!important;order:3}.bc-simple-modules{grid-template-columns:1fr}.bc-welcome-copy{padding:30px 24px}.bc-welcome-copy h1{font-size:30px}.bc-category-row{grid-template-columns:1fr}.bc-simple-trust{grid-template-columns:1fr}.bc-simple-trust>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.07)}.bc-simple-trust>div:last-child{border-bottom:0}}


/* Homepage information blocks controlled by schema settings */
.bc-home-information {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.bc-info-section {
  background: linear-gradient(145deg, rgba(18, 29, 52, .96), rgba(9, 18, 34, .96));
  border: 1px solid rgba(100, 181, 255, .24);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

.bc-info-section h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 12px;
}

.bc-config-richtext {
  color: #d4dfed;
  line-height: 1.65;
}

.bc-config-richtext p {
  margin: 0 0 12px;
}

.bc-config-richtext p:last-child {
  margin-bottom: 0;
}

.bc-help-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bc-info-copy {
  min-width: 0;
  flex: 1;
}

.bc-help-button {
  flex: 0 0 auto;
  min-width: 150px;
  min-height: 54px;
  border-radius: 13px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #667bed, #554ad8);
  color: #fff !important;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(92, 86, 221, .32);
  transition: transform .2s ease, filter .2s ease;
}

.bc-help-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.bc-refund-section {
  border-color: rgba(255, 78, 91, .32);
}

.bc-refund-section h2 {
  color: #ff5966;
}

.bc-minecraft-disclaimer {
  margin: 0;
  padding: 0 18px 6px;
  text-align: center;
  color: #8395ad;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .bc-info-section {
    padding: 22px 20px;
  }

  .bc-help-section {
    align-items: stretch;
    flex-direction: column;
  }

  .bc-help-button {
    width: 100%;
  }
}


/* =========================================================
   BossCraft schema-driven homepage
   ========================================================= */
.bc-home-page {
  background: #080c12 !important;
}

.bc-home-page #appBg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.bc-home-page #appBg.bc-bg-fixed {
  position: fixed;
}

.bc-home-page #appBg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center var(--bc-home-bg-position, center);
  opacity: var(--bc-home-bg-opacity, .5);
}

.bc-home-page #appBg .fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4,8,13,.18), rgba(4,8,13,.44) 42%, #080c12 100%),
    radial-gradient(circle at 50% 20%, transparent, rgba(4,8,13,.38) 72%);
}

.bc-home-page #content {
  padding-top: 26px !important;
  padding-bottom: 34px !important;
}

.bc-home-page #content > .container {
  max-width: 1240px !important;
  width: calc(100% - 32px) !important;
  padding: 0 !important;
  display: block !important;
}

.bc-home-hero {
  padding: 28px 0 0;
}

.bc-home-hero-row {
  max-width: 1240px !important;
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  gap: 24px;
  align-items: center;
}

.bc-header-card {
  min-height: 100px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 18px 22px;
  border: 1px solid rgba(107, 139, 176, .26);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(9,18,31,.96), rgba(5,12,22,.96));
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.34);
  transition: transform .2s ease, border-color .2s ease;
}

.bc-header-card:hover {
  transform: translateY(-3px);
  border-color: rgba(227,41,50,.6);
}

.bc-header-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  background: linear-gradient(145deg, #ed343c, #991118);
  box-shadow: inset 0 1px rgba(255,255,255,.18), 0 10px 26px rgba(216,33,41,.2);
}

.bc-header-card-copy strong,
.bc-header-card-copy small {
  display: block;
}

.bc-header-card-copy strong {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.bc-header-card-copy small {
  margin-top: 3px;
  color: #c3cedb;
  font-size: 12px;
  text-transform: uppercase;
}

.bc-header-count {
  position: absolute;
  top: -11px;
  right: 17px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #05080d;
  color: #fff;
  font-size: 11px;
}

.bc-header-server {
  width: 100%;
  text-align: left;
}

.bc-home-logo {
  min-height: 190px;
  display: grid;
  place-items: center;
}

.bc-home-logo img {
  max-width: 355px;
  max-height: 195px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.58));
}

.bc-home-logo-fallback {
  color: #fff;
  font-size: 48px;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 8px 25px rgba(0,0,0,.55);
}

.bc-home-storebar {
  max-width: 1240px !important;
  min-height: 102px;
  margin-top: 12px;
  padding: 14px 18px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(227,41,50,.5);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(6,13,23,.98), rgba(9,18,31,.97));
  box-shadow: 0 22px 60px rgba(0,0,0,.4);
}

.bc-store-menu-button {
  display: flex;
  align-items: center;
  gap: 17px;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  text-transform: uppercase;
}

.bc-store-menu-button > span,
.bc-home-square-action {
  width: 57px;
  height: 57px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,78,86,.55);
  background: linear-gradient(145deg, #d92b33, #8c0e14);
  color: #fff;
  font-size: 22px;
}

.bc-home-store-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bc-home-currency select {
  height: 57px;
  min-width: 90px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: #101a29;
  color: #fff;
  font-weight: 900;
}

.bc-home-storebar .user-block {
  min-width: 250px !important;
  height: 72px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.035) !important;
}

.bc-home-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 26px;
}

.bc-home-sidebar,
.bc-home-modules {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bc-voting-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(246,72,80,.48);
  background: linear-gradient(145deg, rgba(146,14,22,.98), rgba(99,7,13,.98));
  box-shadow: 0 15px 38px rgba(0,0,0,.3);
}

.bc-voting-card {
  min-height: 82px;
  padding: 15px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}

.bc-voting-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  border-color: rgba(255, 110, 116, .72);
}

.bc-voting-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bc-voting-main > i {
  font-size: 28px;
}

.bc-voting-main strong,
.bc-voting-main small {
  display: block;
}

.bc-voting-main strong {
  font-size: 18px;
  text-transform: uppercase;
}

.bc-voting-main small {
  max-width: 190px;
  margin-top: 3px;
  color: #ffd9db;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.bc-home-module {
  border: 1px solid rgba(102,139,179,.24);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(8,17,29,.97), rgba(4,11,20,.98));
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

.bc-module-heading {
  min-height: 58px;
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(29,44,75,.72);
}

.bc-module-heading strong {
  color: #fff;
  font-size: 16px;
}

.bc-module-heading i {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #e32b33, #8f0e15);
  color: #fff;
}

.bc-module-body {
  padding: 16px;
  color: #d1dce8;
  line-height: 1.55;
}

.bc-module-giftcard form {
  padding-bottom: 14px;
}

.bc-module-giftcard input {
  width: calc(100% - 28px);
  height: 45px;
  margin: 14px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  background: #0b1421;
  color: #fff;
  text-align: center;
}

.bc-module-giftcard button {
  width: calc(100% - 28px);
  min-height: 45px;
  margin: 0 14px;
  border-radius: 9px;
  background: linear-gradient(145deg, #ee343c, #a21017);
  color: #fff;
  font-weight: 900;
}

.bc-module-alert {
  margin: 14px 14px 0;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
}

.bc-module-error { background: rgba(235,55,65,.14); color: #ff8a90; }
.bc-module-success { background: rgba(61,219,121,.13); color: #6ee59a; }

.bc-goal-percent {
  padding: 17px 16px 8px;
  color: #ef343c;
  font-size: 22px;
  font-weight: 900;
}

.bc-goal-percent small {
  font-size: 14px;
}

.bc-goal-track {
  height: 12px;
  margin: 0 16px 13px;
  border-radius: 999px;
  background: #182230;
  overflow: hidden;
}

.bc-goal-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ef343c, #bd151c);
}

.bc-goal-money {
  padding: 0 16px 17px;
  text-align: right;
  color: #d5dfeb;
}

.bc-top-customer-row,
.bc-recent-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
}

.bc-module-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border-radius: 8px;
  background: #182331;
}

.bc-module-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bc-top-customer-row strong,
.bc-top-customer-row small,
.bc-recent-row strong,
.bc-recent-row small {
  display: block;
}

.bc-top-customer-row strong {
  color: #ef343c;
  font-size: 17px;
}

.bc-top-customer-row small,
.bc-recent-row small {
  color: #98a9bb;
}

.bc-recent-list {
  display: flex;
  flex-direction: column;
}

.bc-recent-row {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.bc-recent-row:last-child {
  border-bottom: 0;
}

.bc-module-empty {
  padding: 20px 15px;
  text-align: center;
  color: #9aabba;
  font-size: 12px;
}

.bc-main-panel,
.bc-content-panel {
  border: 1px solid rgba(104,148,194,.27);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(9,19,33,.97), rgba(5,12,22,.97));
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}

.bc-main-panel {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(240px,.85fr);
  overflow: hidden;
}

.bc-main-panel-copy {
  padding: 40px;
}

.bc-main-panel-copy > span {
  color: #ef343c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bc-main-panel h1 {
  margin: 14px 0 18px;
  color: #ef343c;
  font-size: 42px;
  font-weight: 950;
  line-height: 1.02;
  text-transform: uppercase;
}

.bc-main-panel h1 b {
  color: #fff;
}

.bc-richtext {
  color: #d2dce8;
  line-height: 1.62;
}

.bc-richtext p {
  margin: 0 0 13px;
}

.bc-richtext p:last-child {
  margin-bottom: 0;
}

.bc-main-panel-image {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px;
  background: radial-gradient(circle at 50% 50%, rgba(227,41,50,.17), transparent 62%);
}

.bc-main-panel-image img {
  max-width: 100%;
  max-height: 285px;
  object-fit: contain;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.55));
}

.bc-content-panel {
  margin-top: 18px;
  padding: 24px 27px;
}

.bc-content-panel h2 {
  margin: 0 0 10px;
  color: #ef343c;
  font-size: 20px;
  font-weight: 900;
}

.bc-help-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.bc-discord-help-button {
  flex: 0 0 auto;
  min-width: 145px;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff !important;
  background: linear-gradient(145deg, #ed343c, #9d1017);
  font-weight: 900;
}

.bc-support-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #ff7278;
  font-weight: 800;
}

.bc-refund-panel {
  border-color: rgba(227,41,50,.42);
}

.bc-home-disclaimers {
  margin-top: 20px;
  padding: 22px 24px 4px;
  text-align: center;
}

.bc-home-disclaimers p {
  max-width: 900px;
  margin: 0 auto 10px;
  color: #9fb1c7;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}

.bc-home-disclaimers a {
  color: #ff5159;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(255, 81, 89, .48);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.bc-home-disclaimers a:hover {
  color: #ffffff;
  text-decoration-color: #ff5159;
}

.bc-home-disclaimers .bc-home-copyright {
  margin-top: 12px;
  color: #d2dce8;
  font-size: 14px;
  font-weight: 800;
}

.bc-home-footer {
  margin-top: 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(5,8,13,.94);
}

.bc-home-footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bc-home-footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.bc-home-footer-brand strong,
.bc-home-footer-brand small {
  display: block;
}

.bc-home-footer-brand strong {
  color: #fff;
}

.bc-home-footer-brand small {
  margin-top: 4px;
  color: #8697aa;
}

@media (max-width: 1050px) {
  .bc-home-hero-row {
    grid-template-columns: 1fr 280px 1fr;
  }

  .bc-home-logo img {
    max-width: 275px;
  }

  .bc-home-grid {
    grid-template-columns: 250px minmax(0,1fr);
  }
}

@media (max-width: 820px) {
  .bc-home-hero-row {
    grid-template-columns: 1fr;
  }

  .bc-header-card {
    display: none;
  }

  .bc-home-logo {
    min-height: 155px;
  }

  .bc-home-storebar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .bc-home-store-actions {
    justify-content: space-between;
  }

  .bc-home-grid {
    display: block;
  }

  .bc-home-sidebar {
    margin-bottom: 18px;
  }

  .bc-home-modules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .bc-main-panel {
    grid-template-columns: 1fr;
  }

  .bc-main-panel-image {
    min-height: 230px;
  }
}

@media (max-width: 580px) {
  .bc-home-page #content > .container {
    width: calc(100% - 18px) !important;
  }

  .bc-home-logo img {
    max-width: 260px;
  }

  .bc-home-store-actions {
    flex-wrap: wrap;
  }

  .bc-home-storebar .user-block {
    width: 100% !important;
    min-width: 0 !important;
    order: 3;
  }

  .bc-home-modules {
    grid-template-columns: 1fr;
  }

  .bc-main-panel-copy {
    padding: 28px 22px;
  }

  .bc-main-panel h1 {
    font-size: 32px;
  }

  .bc-help-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .bc-discord-help-button {
    width: 100%;
  }
}

/* v2 critical homepage fallback */
body.bc-home-page #content > .container, body:has(.bc-home-grid) #content > .container {
  max-width:1240px!important; width:calc(100% - 32px)!important; padding:0!important; display:block!important;
}
body:has(.bc-home-grid) #content { padding-top:26px!important; padding-bottom:34px!important; }


@media (max-width: 580px) {
  .bc-home-disclaimers {
    padding-left: 8px;
    padding-right: 8px;
  }

  .bc-home-disclaimers p,
  .bc-home-disclaimers .bc-home-copyright {
    font-size: 13px;
  }
}


/* Explicit two-line legal disclaimer layout */
.bc-home-disclaimers .bc-disclaimer-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bc-home-disclaimers .bc-disclaimer-block > span {
  display: block;
}


/* Server address copied-state feedback */
.bc-header-server .bc-copy-status {
  transition: color .2s ease;
}

.bc-header-server.bc-copy-success {
  border-color: rgba(66, 219, 121, .72);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, .34),
    0 0 0 1px rgba(66, 219, 121, .16),
    0 0 26px rgba(66, 219, 121, .12);
}

.bc-header-server.bc-copy-success .bc-header-icon {
  background: linear-gradient(145deg, #42db79, #168b46);
}

.bc-header-server.bc-copy-success .bc-copy-status {
  color: #6ee59a;
}

.bc-header-server.bc-copy-error {
  border-color: rgba(255, 126, 132, .72);
}

.bc-header-server.bc-copy-error .bc-copy-status {
  color: #ff8a90;
}


/* Header spacing refinement — match the tighter BossCraft reference layout */
.bc-home-hero {
  padding-top: 8px;
}

.bc-home-hero-row {
  grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr);
  gap: 45px;
  align-items: center;
}

.bc-header-discord {
  width: 100%;
  max-width: 390px;
  justify-self: start;
}

.bc-header-server {
  width: 100%;
  max-width: 390px;
  justify-self: end;
}

.bc-home-logo {
  min-height: 150px;
}

.bc-home-logo img {
  width: 100%;
  max-width: 300px;
  max-height: 170px;
}

.bc-home-storebar {
  margin-top: -4px;
}

@media (max-width: 1050px) {
  .bc-home-hero-row {
    grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr);
    gap: 24px;
  }

  .bc-header-discord,
  .bc-header-server {
    max-width: 340px;
  }

  .bc-home-logo {
    min-height: 135px;
  }

  .bc-home-logo img {
    max-width: 260px;
    max-height: 145px;
  }
}


/* Larger MCSMP-style hero spacing */
.bc-home-hero {
  padding-top: 42px;
}

.bc-home-hero-row {
  grid-template-columns: minmax(330px, 1fr) 430px minmax(330px, 1fr);
  gap: 85px;
  align-items: center;
}

.bc-header-discord {
  width: 100%;
  max-width: 430px;
  min-height: 112px;
  justify-self: start;
}

.bc-header-server {
  width: 100%;
  max-width: 430px;
  min-height: 112px;
  justify-self: end;
}

.bc-home-logo {
  min-height: 260px;
}

.bc-home-logo img {
  width: 100%;
  max-width: 430px;
  max-height: 250px;
}

.bc-home-storebar {
  margin-top: 34px;
}

@media (max-width: 1180px) {
  .bc-home-hero-row {
    grid-template-columns: minmax(280px, 1fr) 360px minmax(280px, 1fr);
    gap: 48px;
  }

  .bc-header-discord,
  .bc-header-server {
    max-width: 380px;
  }

  .bc-home-logo {
    min-height: 220px;
  }

  .bc-home-logo img {
    max-width: 360px;
    max-height: 210px;
  }

  .bc-home-storebar {
    margin-top: 28px;
  }
}

@media (max-width: 920px) {
  .bc-home-hero-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bc-header-discord,
  .bc-header-server {
    display: none;
  }

  .bc-home-logo {
    min-height: 210px;
  }

  .bc-home-logo img {
    max-width: 360px;
    max-height: 200px;
  }

  .bc-home-storebar {
    margin-top: 18px;
  }
}


/* =========================================================
   Schema-driven homepage background — final override
   ========================================================= */
.bc-home-page {
  position: relative;
  min-height: 100vh;
  background: #080c12 !important;
}

.bc-home-page #appBg {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100vh !important;
  max-height: none !important;
  display: block !important;
  overflow: hidden !important;
  opacity: 1 !important;
  z-index: -2 !important;
  pointer-events: none !important;
  background: #080c12 !important;
}

.bc-home-page #appBg.bc-bg-fixed {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
}

.bc-home-page #appBg img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center var(--bc-home-bg-position, center) !important;
  filter: none !important;
}

.bc-home-page #appBg .fade {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(
      180deg,
      rgba(4, 8, 13, .08) 0%,
      rgba(4, 8, 13, .28) 42%,
      rgba(8, 12, 18, .88) 100%
    ) !important;
}


/* Background opacity is controlled directly by the schema value inline. */
.bc-home-page #appBg img {
  transition: opacity .2s ease;
}


/* =========================================================
   Gift Card Balance — BossCraft card style
   ========================================================= */
.bc-module-giftcard {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(111, 145, 184, .26) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(14, 27, 47, .98), rgba(6, 16, 29, .99)) !important;
  box-shadow:
    0 16px 42px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255,255,255,.02);
}

.bc-giftcard-form {
  margin: 0;
}

.bc-giftcard-header {
  min-height: 64px;
  padding: 13px 14px 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background:
    linear-gradient(90deg, rgba(24, 41, 70, .94), rgba(17, 31, 53, .92));
}

.bc-giftcard-header strong {
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.bc-giftcard-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  font-size: 17px;
  background:
    linear-gradient(145deg, #ef3942, #b7121a);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 8px 18px rgba(202, 24, 34, .22);
}

.bc-giftcard-body {
  padding: 15px 14px 16px;
}

.bc-giftcard-body input {
  width: 100% !important;
  height: 46px !important;
  margin: 0 0 13px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(131, 157, 188, .24) !important;
  border-radius: 9px !important;
  outline: none !important;
  background: rgba(8, 19, 34, .92) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center !important;
  box-shadow: inset 0 1px 7px rgba(0,0,0,.18);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.bc-giftcard-body input::placeholder {
  color: #8392a7;
  opacity: 1;
}

.bc-giftcard-body input:focus {
  border-color: rgba(239, 57, 66, .72) !important;
  background: rgba(10, 23, 40, .98) !important;
  box-shadow:
    0 0 0 3px rgba(239, 57, 66, .10),
    inset 0 1px 7px rgba(0,0,0,.18);
}

.bc-giftcard-body button {
  width: 100% !important;
  min-height: 46px !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 99, 106, .34) !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    linear-gradient(180deg, #ee3740, #c31720) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    0 10px 24px rgba(192, 19, 29, .19);
  transition:
    transform .18s ease,
    filter .18s ease,
    box-shadow .18s ease;
}

.bc-giftcard-body button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    0 13px 28px rgba(192, 19, 29, .26);
}

.bc-giftcard-body button:active {
  transform: translateY(0);
}

.bc-giftcard-message {
  margin-bottom: 12px;
  padding: 10px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.bc-giftcard-error {
  border: 1px solid rgba(255, 91, 98, .24);
  background: rgba(180, 22, 31, .15);
  color: #ff9095;
}

.bc-giftcard-success {
  border: 1px solid rgba(76, 222, 127, .24);
  background: rgba(26, 145, 72, .14);
  color: #7be9a1;
}


/* =========================================================
   Gift Card Balance — full red Vote-card style
   ========================================================= */
.bc-module-giftcard.bc-giftcard-red {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 82, 92, .55) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(145deg, #b20f18 0%, #8b0911 58%, #68060c 100%) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .32),
    0 0 0 1px rgba(255, 68, 78, .06) !important;
}

.bc-giftcard-red-form {
  margin: 0 !important;
  padding: 16px !important;
}

.bc-giftcard-red-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.bc-giftcard-red-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 19px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

.bc-giftcard-red-copy {
  min-width: 0;
}

.bc-giftcard-red-copy strong,
.bc-giftcard-red-copy small {
  display: block;
}

.bc-giftcard-red-copy strong {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
}

.bc-giftcard-red-copy small {
  margin-top: 4px;
  color: #ffd8da;
  font-size: 11px;
  line-height: 1.35;
}

.bc-giftcard-red-controls {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.bc-giftcard-red-controls input {
  width: 100% !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 9px !important;
  outline: none !important;
  background: rgba(8, 12, 19, .78) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center !important;
  box-shadow: inset 0 1px 7px rgba(0,0,0,.22) !important;
}

.bc-giftcard-red-controls input::placeholder {
  color: #bfc7d2 !important;
  opacity: 1 !important;
}

.bc-giftcard-red-controls input:focus {
  border-color: rgba(255,255,255,.55) !important;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.08),
    inset 0 1px 7px rgba(0,0,0,.22) !important;
}

.bc-giftcard-red-controls button {
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,.13) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.11),
    0 8px 20px rgba(0,0,0,.15) !important;
  transition:
    background .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

.bc-giftcard-red-controls button:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.20) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 11px 24px rgba(0,0,0,.20) !important;
}

.bc-giftcard-red-message {
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.bc-giftcard-red-error {
  background: rgba(0,0,0,.18);
  color: #ffd4d7;
}

.bc-giftcard-red-success {
  background: rgba(29, 164, 84, .28);
  color: #d7ffe5;
}


/* =========================================================
   Gift Card Balance — blue utility card with red accents
   ========================================================= */
.bc-module-giftcard.bc-giftcard-blue {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(105, 144, 188, .28) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(11, 24, 43, .98), rgba(5, 14, 26, .99)) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.bc-giftcard-blue-form {
  margin: 0 !important;
}

.bc-giftcard-blue-header {
  min-height: 76px;
  padding: 14px 14px 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background:
    linear-gradient(90deg, rgba(27, 45, 77, .96), rgba(17, 31, 53, .94));
}

.bc-giftcard-blue-heading {
  min-width: 0;
}

.bc-giftcard-blue-heading strong,
.bc-giftcard-blue-heading small {
  display: block;
}

.bc-giftcard-blue-heading strong {
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
}

.bc-giftcard-blue-heading small {
  margin-top: 5px;
  color: #9fb0c5;
  font-size: 11px;
  line-height: 1.35;
}

.bc-giftcard-blue-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #ffffff;
  font-size: 18px;
  background:
    linear-gradient(145deg, #ef3942, #b7121a);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 9px 20px rgba(202, 24, 34, .24);
}

.bc-giftcard-blue-body {
  padding: 15px 14px 16px;
}

.bc-giftcard-blue-body input {
  width: 100% !important;
  height: 47px !important;
  margin: 0 0 13px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(126, 157, 191, .26) !important;
  border-radius: 9px !important;
  outline: none !important;
  background: rgba(6, 15, 27, .96) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center !important;
  box-shadow: inset 0 1px 7px rgba(0,0,0,.22) !important;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.bc-giftcard-blue-body input::placeholder {
  color: #8392a7 !important;
  opacity: 1 !important;
}

.bc-giftcard-blue-body input:focus {
  border-color: rgba(239, 57, 66, .72) !important;
  background: rgba(8, 19, 34, .99) !important;
  box-shadow:
    0 0 0 3px rgba(239, 57, 66, .10),
    inset 0 1px 7px rgba(0,0,0,.22) !important;
}

.bc-giftcard-blue-body button {
  width: 100% !important;
  min-height: 47px !important;
  margin: 0 !important;
  border: 1px solid rgba(255, 91, 98, .32) !important;
  border-radius: 9px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    linear-gradient(180deg, #ef3942, #c21720) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 10px 24px rgba(192, 19, 29, .22) !important;
  transition:
    transform .18s ease,
    filter .18s ease,
    box-shadow .18s ease;
}

.bc-giftcard-blue-body button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    0 13px 30px rgba(192, 19, 29, .30) !important;
}

.bc-giftcard-blue-body button:active {
  transform: translateY(0);
}

.bc-giftcard-blue-message {
  margin-bottom: 12px;
  padding: 10px 11px;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.bc-giftcard-blue-error {
  border: 1px solid rgba(255, 91, 98, .24);
  background: rgba(180, 22, 31, .15);
  color: #ff9095;
}

.bc-giftcard-blue-success {
  border: 1px solid rgba(76, 222, 127, .24);
  background: rgba(26, 145, 72, .14);
  color: #7be9a1;
}


/* =========================================================
   Community Goal — animated circular progress ring
   ========================================================= */
.bc-community-goal {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(105, 144, 188, .28) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(11, 24, 43, .98), rgba(5, 14, 26, .99)) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255, 255, 255, .025) !important;
}

.bc-community-goal-header {
  min-height: 64px;
  padding: 13px 15px 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background:
    linear-gradient(90deg, rgba(27, 45, 77, .96), rgba(17, 31, 53, .94));
}

.bc-community-goal-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-community-goal-title strong {
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.bc-community-goal-heart {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #ef3942;
  background: rgba(239, 57, 66, .11);
  font-size: 16px;
}

.bc-community-goal.is-complete .bc-community-goal-heart {
  color: #ff5962;
  background: rgba(239, 57, 66, .18);
  box-shadow: 0 0 18px rgba(239, 57, 66, .22);
}

.bc-community-goal-status {
  padding: 5px 9px;
  border-radius: 999px;
  color: #9fb0c5;
  background: rgba(255, 255, 255, .04);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bc-community-goal.is-complete .bc-community-goal-status {
  color: #ff9da2;
  background: rgba(239, 57, 66, .11);
}

.bc-community-goal-ring {
  --goal-circumference: 351.858;
  position: relative;
  width: 174px;
  height: 174px;
  margin: 20px auto 10px;
  display: grid;
  place-items: center;
}

.bc-community-goal-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.bc-community-goal-ring circle {
  fill: none;
  stroke-width: 11;
}

.bc-goal-ring-track {
  stroke: rgba(255, 255, 255, .075);
}

.bc-goal-ring-progress {
  stroke: url(#none);
  stroke: #ef3942;
  stroke-linecap: round;
  stroke-dasharray: var(--goal-circumference);
  stroke-dashoffset: var(--goal-circumference);
  filter: drop-shadow(0 0 5px rgba(239, 57, 66, .36));
  transition: stroke-dashoffset .9s cubic-bezier(.22, .8, .25, 1);
}

.bc-community-goal-value {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.bc-community-goal-value strong {
  color: #ffffff;
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.04em;
  text-shadow: 0 5px 18px rgba(0, 0, 0, .42);
  transition:
    font-size .35s ease,
    text-shadow .35s ease,
    transform .35s ease;
}

.bc-community-goal.is-complete .bc-community-goal-ring {
  animation: bcGoalGlow 4s ease-in-out infinite;
}

.bc-community-goal.is-complete .bc-goal-ring-progress {
  stroke: #ff3e48;
  filter:
    drop-shadow(0 0 7px rgba(255, 62, 72, .65))
    drop-shadow(0 0 18px rgba(239, 57, 66, .32));
}

.bc-community-goal.is-complete .bc-community-goal-value strong {
  font-size: 54px;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, .12),
    0 0 24px rgba(239, 57, 66, .45),
    0 6px 18px rgba(0, 0, 0, .45);
}

.bc-community-goal-copy {
  padding: 0 18px 20px;
  text-align: center;
}

.bc-community-goal-copy strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.bc-community-goal-copy p {
  margin: 0;
  color: #9fb0c5;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.bc-community-goal-copy p i {
  margin-left: 3px;
  color: #ef3942;
}

.bc-goal-sparkle {
  position: absolute;
  z-index: 3;
  color: #ff858b;
  font-size: 9px;
  opacity: .72;
  animation: bcGoalSparkle 2.8s ease-in-out infinite;
}

.bc-goal-sparkle-one {
  top: 15px;
  right: 26px;
}

.bc-goal-sparkle-two {
  bottom: 31px;
  left: 13px;
  animation-delay: -.9s;
}

.bc-goal-sparkle-three {
  top: 55px;
  left: 3px;
  animation-delay: -1.7s;
}

@keyframes bcGoalGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(239, 57, 66, 0));
  }
  50% {
    filter: drop-shadow(0 0 13px rgba(239, 57, 66, .22));
  }
}

@keyframes bcGoalSparkle {
  0%, 100% {
    opacity: .25;
    transform: scale(.72) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) rotate(22deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-community-goal.is-complete .bc-community-goal-ring,
  .bc-goal-sparkle {
    animation: none !important;
  }

  .bc-goal-ring-progress {
    transition: none !important;
  }
}


/* =========================================================
   Community Goal — clean Gift Card Balance matching style
   ========================================================= */
.bc-community-goal-clean {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(105, 144, 188, .28) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(11, 24, 43, .98), rgba(5, 14, 26, .99)) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.bc-community-goal-clean-header {
  min-height: 76px;
  padding: 14px 14px 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(90deg, rgba(27, 45, 77, .96), rgba(17, 31, 53, .94));
}

.bc-community-goal-clean-heading strong {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
}

.bc-community-goal-clean-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  font-size: 18px;
  background:
    linear-gradient(145deg, #ef3942, #b7121a);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 9px 20px rgba(202,24,34,.24);
}

.bc-community-goal-clean-body {
  padding: 18px 14px 20px;
}

.bc-community-goal-clean-ring {
  position: relative;
  width: 176px;
  height: 176px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}

.bc-community-goal-clean-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}

.bc-community-goal-clean-ring circle {
  fill: none;
  stroke-width: 11;
}

.bc-goal-clean-track {
  stroke: rgba(255,255,255,.08);
}

.bc-goal-clean-progress {
  stroke: #ef3942;
  stroke-linecap: round;
  stroke-dasharray: 351.858;
  stroke-dashoffset: 351.858;
  filter: drop-shadow(0 0 5px rgba(239,57,66,.38));
  transition: stroke-dashoffset .9s cubic-bezier(.22,.8,.25,1);
}

.bc-community-goal-clean-value {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.bc-community-goal-clean-value strong {
  color: #fff;
  font-size: 44px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.04em;
  text-shadow: 0 5px 18px rgba(0,0,0,.42);
  transition:
    font-size .35s ease,
    text-shadow .35s ease,
    transform .35s ease;
}

.bc-community-goal-clean.is-complete .bc-goal-clean-progress {
  stroke: #ff3e48;
  filter:
    drop-shadow(0 0 7px rgba(255,62,72,.65))
    drop-shadow(0 0 18px rgba(239,57,66,.32));
}

.bc-community-goal-clean.is-complete .bc-community-goal-clean-value strong {
  font-size: 54px;
  text-shadow:
    0 0 10px rgba(255,255,255,.12),
    0 0 24px rgba(239,57,66,.45),
    0 6px 18px rgba(0,0,0,.45);
}

.bc-community-goal-clean-copy {
  text-align: center;
}

.bc-community-goal-clean-copy strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.bc-community-goal-clean-copy p {
  margin: 0;
  color: #9fb0c5;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.bc-community-goal-clean-copy p i {
  margin-left: 3px;
  color: #ef3942;
}

.bc-goal-clean-sparkle {
  position: absolute;
  z-index: 3;
  color: #ff858b;
  font-size: 9px;
  opacity: .72;
  animation: bcGoalCleanSparkle 2.8s ease-in-out infinite;
}

.bc-goal-clean-sparkle-one {
  top: 16px;
  right: 26px;
}

.bc-goal-clean-sparkle-two {
  bottom: 31px;
  left: 13px;
  animation-delay: -.9s;
}

.bc-goal-clean-sparkle-three {
  top: 55px;
  left: 3px;
  animation-delay: -1.7s;
}

.bc-community-goal-clean.is-complete .bc-community-goal-clean-ring {
  animation: bcGoalCleanGlow 4s ease-in-out infinite;
}

@keyframes bcGoalCleanGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(239,57,66,0));
  }

  50% {
    filter: drop-shadow(0 0 13px rgba(239,57,66,.22));
  }
}

@keyframes bcGoalCleanSparkle {
  0%, 100% {
    opacity: .25;
    transform: scale(.72) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.15) rotate(22deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-community-goal-clean.is-complete .bc-community-goal-clean-ring,
  .bc-goal-clean-sparkle {
    animation: none !important;
  }

  .bc-goal-clean-progress {
    transition: none !important;
  }
}


/* =========================================================
   Top Supporter — clean centered profile card
   ========================================================= */
.bc-top-supporter-card {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(105, 144, 188, .28) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(11, 24, 43, .98), rgba(5, 14, 26, .99)) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.bc-top-supporter-header {
  min-height: 76px;
  padding: 14px 14px 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(90deg, rgba(27, 45, 77, .96), rgba(17, 31, 53, .94));
}

.bc-top-supporter-header strong {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
}

.bc-top-supporter-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  font-size: 18px;
  background:
    linear-gradient(145deg, #ef3942, #b7121a);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 9px 20px rgba(202,24,34,.24);
}

.bc-top-supporter-body {
  min-height: 205px;
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bc-top-supporter-skin {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(97, 173, 255, .38);
  background:
    radial-gradient(circle at 50% 32%, rgba(66, 142, 224, .16), transparent 62%),
    rgba(4, 13, 25, .88);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .34),
    0 0 0 1px rgba(66, 142, 224, .06),
    0 0 24px rgba(35, 126, 224, .10);
}

.bc-top-supporter-skin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  transform: scale(1.08);
}

.bc-top-supporter-name {
  margin-top: 15px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  word-break: break-word;
  text-shadow: 0 4px 14px rgba(0,0,0,.34);
}

.bc-top-supporter-empty {
  min-height: 170px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8fa1b6;
  text-align: center;
}

.bc-top-supporter-empty-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #71859e;
  font-size: 23px;
}


/* =========================================================
   Top Supporter — horizontal cropped skin render
   Only overrides the Top Supporter module.
   ========================================================= */
.bc-top-supporter-bust-card .bc-top-supporter-bust-body {
  min-height: 142px !important;
  padding: 12px 18px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  overflow: hidden !important;
}

.bc-top-supporter-bust-card .bc-top-supporter-bust-viewport {
  position: relative !important;
  width: 92px !important;
  height: 118px !important;
  flex: 0 0 92px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bc-top-supporter-bust-card .bc-top-supporter-bust-viewport::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 2px;
  left: 5px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .34);
  filter: blur(7px);
  z-index: 0;
}

.bc-top-supporter-bust-card .bc-top-supporter-bust-viewport img {
  position: absolute !important;
  z-index: 1 !important;
  top: -9px !important;
  left: 50% !important;
  width: 118px !important;
  height: 158px !important;
  max-width: none !important;
  object-fit: contain !important;
  image-rendering: pixelated !important;
  transform: translateX(-50%) !important;
  transform-origin: center center !important;
  filter: drop-shadow(0 9px 10px rgba(0, 0, 0, .42)) !important;
  transition: transform .2s ease !important;
}

.bc-top-supporter-bust-card:hover .bc-top-supporter-bust-viewport img {
  transform: translateX(-50%) translateY(-2px) scale(1.025) !important;
}

.bc-top-supporter-bust-card .bc-top-supporter-bust-name {
  min-width: 0 !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 21px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  text-align: left !important;
  word-break: break-word !important;
  text-shadow: 0 4px 14px rgba(0, 0, 0, .34) !important;
}

@media (max-width: 580px) {
  .bc-top-supporter-bust-card .bc-top-supporter-bust-body {
    gap: 14px !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .bc-top-supporter-bust-card .bc-top-supporter-bust-name {
    font-size: 18px !important;
  }
}


/* =========================================================
   Recent Buyers — compact list
   ========================================================= */
.bc-recent-buyers-compact {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(105, 144, 188, .28) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(11, 24, 43, .98), rgba(5, 14, 26, .99)) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.bc-recent-buyers-header {
  min-height: 60px;
  padding: 10px 11px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(90deg, rgba(27, 45, 77, .96), rgba(17, 31, 53, .94));
}

.bc-recent-buyers-header strong {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.bc-recent-buyers-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  font-size: 15px;
  background: linear-gradient(145deg, #ef3942, #b7121a);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 8px 18px rgba(202,24,34,.22);
}

.bc-recent-buyers-list {
  display: flex;
  flex-direction: column;
}

.bc-recent-buyer-row {
  min-height: 50px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .16s ease;
}

.bc-recent-buyer-row:last-child {
  border-bottom: 0;
}

.bc-recent-buyer-row:hover {
  background: rgba(255,255,255,.025);
}

.bc-recent-buyer-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.045);
}

.bc-recent-buyer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.bc-recent-buyer-copy {
  min-width: 0;
  flex: 1;
}

.bc-recent-buyer-copy strong,
.bc-recent-buyer-copy small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bc-recent-buyer-copy strong {
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.1;
}

.bc-recent-buyer-copy small {
  margin-top: 2px;
  color: #9fb0c5;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
}

@media (max-width: 580px) {
  .bc-recent-buyer-row {
    min-height: 48px;
    padding: 5px 9px;
  }

  .bc-recent-buyer-avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .bc-recent-buyer-copy strong {
    font-size: 12px;
  }

  .bc-recent-buyer-copy small {
    font-size: 9px;
  }
}


/* =========================================================
   Top Supporter — compact horizontal card
   Final override so later versions do not revert it.
   ========================================================= */
.bc-top-supporter-card {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(105, 144, 188, .28) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(11, 24, 43, .98), rgba(5, 14, 26, .99)) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.bc-top-supporter-header {
  min-height: 62px !important;
  padding: 10px 12px 10px 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  background:
    linear-gradient(90deg, rgba(27,45,77,.96), rgba(17,31,53,.94)) !important;
}

.bc-top-supporter-header strong {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.bc-top-supporter-icon {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-size: 16px !important;
  background: linear-gradient(145deg, #ef3942, #b7121a) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 8px 18px rgba(202,24,34,.22) !important;
}

.bc-top-supporter-bust-card .bc-top-supporter-bust-body {
  height: 88px !important;
  min-height: 88px !important;
  padding: 2px 14px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  overflow: hidden !important;
}

.bc-top-supporter-bust-card .bc-top-supporter-bust-viewport {
  position: relative !important;
  width: 92px !important;
  height: 88px !important;
  flex: 0 0 92px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bc-top-supporter-bust-card .bc-top-supporter-bust-viewport img {
  position: absolute !important;
  left: 50% !important;
  top: -10px !important;
  width: 118px !important;
  height: 138px !important;
  max-width: none !important;
  object-fit: contain !important;
  image-rendering: pixelated !important;
  transform:
    translateX(-50%)
    scaleX(1.03)
    scaleY(.92) !important;
  transform-origin: bottom center !important;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.42)) !important;
  transition: transform .2s ease !important;
}

.bc-top-supporter-bust-card:hover .bc-top-supporter-bust-viewport img {
  transform:
    translateX(-50%)
    translateY(-1px)
    scaleX(1.05)
    scaleY(.94) !important;
}

.bc-top-supporter-bust-card .bc-top-supporter-bust-name {
  min-width: 0 !important;
  height: 88px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  color: #fff !important;
  font-size: 21px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-align: left !important;
  word-break: break-word !important;
  text-shadow: 0 4px 14px rgba(0,0,0,.34) !important;
}

.bc-top-supporter-empty {
  min-height: 88px !important;
  padding: 12px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  color: #8fa1b6 !important;
  text-align: center !important;
}

@media (max-width: 580px) {
  .bc-top-supporter-bust-card .bc-top-supporter-bust-body {
    padding-right: 10px !important;
    padding-left: 10px !important;
    gap: 6px !important;
  }

  .bc-top-supporter-bust-card .bc-top-supporter-bust-name {
    font-size: 18px !important;
  }
}


/* =========================================================
   Recent Buyers — compact avatar grid with hover details
   ========================================================= */
.bc-recent-grid-card {
  padding: 0 !important;
  overflow: visible !important;
  border: 1px solid rgba(105, 144, 188, .28) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(180deg, rgba(11, 24, 43, .98), rgba(5, 14, 26, .99)) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.bc-recent-grid-header {
  min-height: 60px;
  padding: 10px 11px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  border-radius: 14px 14px 0 0;
  background:
    linear-gradient(90deg, rgba(27,45,77,.96), rgba(17,31,53,.94));
}

.bc-recent-grid-header strong {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.bc-recent-grid-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  font-size: 15px;
  background: linear-gradient(145deg, #ef3942, #b7121a);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 8px 18px rgba(202,24,34,.22);
}

.bc-recent-grid-list {
  position: relative;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
}

.bc-recent-grid-item {
  position: relative;
  min-width: 0;
  outline: none;
}

.bc-recent-grid-avatar {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(116, 155, 199, .18);
  border-radius: 9px;
  background: rgba(255,255,255,.035);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 6px 14px rgba(0,0,0,.16);
  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.bc-recent-grid-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  image-rendering: pixelated;
}

.bc-recent-grid-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #72859d;
  font-size: 16px;
}

.bc-recent-grid-item:hover .bc-recent-grid-avatar,
.bc-recent-grid-item:focus-visible .bc-recent-grid-avatar {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(239,57,66,.58);
  box-shadow:
    0 0 0 3px rgba(239,57,66,.08),
    0 10px 22px rgba(0,0,0,.25),
    0 0 20px rgba(239,57,66,.11);
}

.bc-recent-grid-tooltip {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: calc(100% + 9px);
  width: max-content;
  max-width: 190px;
  padding: 9px 11px;
  border: 1px solid rgba(113, 152, 196, .28);
  border-radius: 9px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  background:
    linear-gradient(180deg, rgba(17,31,53,.99), rgba(6,15,27,.99));
  box-shadow:
    0 14px 32px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.03);
  transition:
    opacity .16s ease,
    visibility .16s ease,
    transform .16s ease;
}

.bc-recent-grid-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -5px) rotate(45deg);
  border-right: 1px solid rgba(113, 152, 196, .28);
  border-bottom: 1px solid rgba(113, 152, 196, .28);
  background: rgba(6,15,27,.99);
}

.bc-recent-grid-tooltip strong,
.bc-recent-grid-tooltip span {
  display: block;
}

.bc-recent-grid-tooltip strong {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.bc-recent-grid-tooltip span {
  margin-top: 3px;
  color: #9fb0c5;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.bc-recent-grid-item:hover .bc-recent-grid-tooltip,
.bc-recent-grid-item:focus-visible .bc-recent-grid-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 580px) {
  .bc-recent-grid-list {
    padding: 12px;
    gap: 9px;
  }

  .bc-recent-grid-tooltip {
    display: none;
  }
}


/* =========================================================
   Store Menu modal only — does not affect homepage layout
   ========================================================= */
.bc-menu-only {
  padding: 24px;
}

.bc-menu-only-header {
  margin-bottom: 18px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.bc-menu-only-header strong,
.bc-menu-only-header small {
  display: block;
}

.bc-menu-only-header strong {
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  line-height: 1.1;
}

.bc-menu-only-header small {
  margin-top: 5px;
  color: #91a3b9;
  font-size: 12px;
  font-weight: 600;
}

.bc-menu-only-header button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: #9eacbd;
  font-size: 16px;
}

.bc-menu-only-header button:hover {
  color: #fff;
  border-color: rgba(239,57,66,.36);
  background: rgba(239,57,66,.10);
}

.bc-menu-only-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.bc-menu-only-item {
  min-height: 68px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(106,145,190,.22);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(18,34,59,.97), rgba(8,18,33,.99));
  color: #fff;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.bc-menu-only-item:hover {
  transform: translateY(-1px);
  border-color: rgba(239,57,66,.46);
  background:
    linear-gradient(180deg, rgba(27,43,70,.98), rgba(11,22,39,.99));
}

.bc-menu-only-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 17px;
  background: linear-gradient(145deg, #ef3942, #b7121a);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    0 8px 18px rgba(202,24,34,.20);
}

.bc-menu-only-name {
  min-width: 0;
  flex: 1;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.bc-menu-only-arrow {
  color: #718399;
  font-size: 12px;
  transition: transform .18s ease, color .18s ease;
}

.bc-menu-only-item:hover .bc-menu-only-arrow {
  color: #ef5961;
  transform: translateX(3px);
}


/* =========================================================
   Store-bar account block
   Matches the guest reference: text left, avatar right.
   ========================================================= */
.bc-home-storebar .bc-account-block {
  position: relative !important;
  width: 286px !important;
  min-width: 286px !important;
  height: 72px !important;
  margin-left: 0 !important;
  padding: 0 12px 0 18px !important;

  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;

  border: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;

  background:
    linear-gradient(
      100deg,
      rgba(31, 38, 61, .98),
      rgba(25, 31, 51, .98)
    ) !important;

  color: #ffffff !important;
  text-align: left !important;
  cursor: pointer !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 10px 24px rgba(0,0,0,.18) !important;

  transition:
    transform .18s ease,
    background .18s ease,
    box-shadow .18s ease !important;
}

.bc-home-storebar .bc-account-block::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 68px;
  width: 46px;
  transform: skewX(-13deg);
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.035),
      rgba(255,255,255,0)
    );
  pointer-events: none;
}

.bc-home-storebar .bc-account-block:hover {
  transform: translateY(-1px) !important;
  background:
    linear-gradient(
      100deg,
      rgba(36, 44, 70, .99),
      rgba(28, 35, 57, .99)
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 13px 28px rgba(0,0,0,.23) !important;
}

.bc-home-storebar .bc-account-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1;
}

.bc-home-storebar .bc-account-copy strong,
.bc-home-storebar .bc-account-copy small {
  display: block;
}

.bc-home-storebar .bc-account-copy strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.05;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bc-home-storebar .bc-account-copy strong span {
  color: #60708c;
}

.bc-home-storebar .bc-account-copy small {
  margin-top: 5px;
  color: #a9b3c3;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}

.bc-home-storebar .bc-account-avatar {
  position: relative;
  z-index: 2;
  width: 64px !important;
  height: 64px !important;
  flex: 0 0 64px !important;
  align-self: flex-end;

  display: grid !important;
  place-items: end center !important;

  margin: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bc-home-storebar .bc-account-avatar img {
  display: block;
  max-width: none !important;
  image-rendering: pixelated;
}

.bc-home-storebar .bc-account-guest .bc-account-avatar img {
  width: 58px !important;
  height: 72px !important;
  object-fit: contain !important;
  transform: translateY(5px);
  filter: drop-shadow(0 7px 8px rgba(0,0,0,.34));
}

.bc-home-storebar .bc-account-logged .bc-account-avatar {
  align-self: center;
  width: 54px !important;
  height: 54px !important;
  flex-basis: 54px !important;
  place-items: center !important;
}

.bc-home-storebar .bc-account-logged .bc-account-avatar img {
  width: 48px !important;
  height: 48px !important;
  object-fit: cover !important;
  border-radius: 9px !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 7px 16px rgba(0,0,0,.25);
}

.bc-home-storebar .bc-account-avatar i {
  color: #ffffff;
  font-size: 22px;
}

@media (max-width: 580px) {
  .bc-home-storebar .bc-account-block {
    width: 100% !important;
    min-width: 0 !important;
    order: 3;
  }
}


/* =========================================================
   Store-bar user card — polished BossCraft style
   ========================================================= */
.bc-home-storebar .bc-account-card {
  position: relative !important;
  width: 286px !important;
  min-width: 286px !important;
  height: 72px !important;
  padding: 0 12px 0 18px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;

  overflow: hidden !important;

  border: 1px solid rgba(105, 144, 188, .18) !important;
  border-radius: 12px !important;

  background:
    linear-gradient(
      100deg,
      rgba(24, 38, 66, .98) 0%,
      rgba(18, 29, 50, .98) 63%,
      rgba(12, 22, 39, .99) 100%
    ) !important;

  color: #fff !important;
  text-align: left !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 10px 24px rgba(0,0,0,.20) !important;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease !important;
}

.bc-home-storebar .bc-account-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 64px;
  bottom: 0;
  width: 40px;

  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.035),
      rgba(255,255,255,0)
    );

  transform: skewX(-14deg);
  pointer-events: none;
}

.bc-home-storebar .bc-account-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  width: 52px;
  height: 52px;

  transform: translateY(-50%);
  border-radius: 12px;

  background:
    radial-gradient(circle at 50% 45%, rgba(239,57,66,.16), rgba(239,57,66,.03) 70%);

  box-shadow:
    inset 0 0 0 1px rgba(239,57,66,.10),
    0 0 18px rgba(239,57,66,.07);

  pointer-events: none;
}

.bc-home-storebar .bc-account-card:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(239,57,66,.28) !important;
  background:
    linear-gradient(
      100deg,
      rgba(28, 44, 75, .99) 0%,
      rgba(21, 34, 57, .99) 63%,
      rgba(14, 25, 43, 1) 100%
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 13px 28px rgba(0,0,0,.24),
    0 0 20px rgba(239,57,66,.05) !important;
}

.bc-home-storebar .bc-account-card-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  flex: 1;
  padding-right: 6px;
}

.bc-home-storebar .bc-account-card-copy strong,
.bc-home-storebar .bc-account-card-copy small {
  display: block;
}

.bc-home-storebar .bc-account-card-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.05;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bc-home-storebar .bc-account-card-copy strong span {
  color: #667793;
}

.bc-home-storebar .bc-account-card-copy small {
  margin-top: 5px;
  color: #a8b4c5;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
}

.bc-home-storebar .bc-account-card-render {
  position: relative;
  z-index: 4;

  width: 68px !important;
  height: 72px !important;
  flex: 0 0 68px !important;

  align-self: flex-end;

  display: grid !important;
  place-items: end center !important;

  overflow: visible !important;
  background: transparent !important;
}

.bc-home-storebar .bc-account-card-render img {
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  max-width: none !important;

  object-fit: contain !important;
  object-position: center bottom !important;
  image-rendering: pixelated;

  transform: translateY(6px) scale(1.02);

  filter:
    drop-shadow(0 7px 8px rgba(0,0,0,.38))
    drop-shadow(0 0 10px rgba(239,57,66,.08));
}

.bc-home-storebar .bc-account-card-guest .bc-account-card-render img {
  transform: translateY(7px) scale(1.02);
}

.bc-home-storebar .bc-account-card-logged .bc-account-card-render img {
  transform: translateY(6px) scale(1.06);
}

@media (max-width: 580px) {
  .bc-home-storebar .bc-account-card {
    width: 100% !important;
    min-width: 0 !important;
    order: 3;
  }
}

/* =========================================================
   BossCraft category page — MCSMP-inspired red version
   ========================================================= */
.bc-category-page {
  min-width: 0;
}

.bc-category-panel {
  padding: 28px;
  border: 1px solid rgba(105,144,188,.24);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(10,23,40,.985), rgba(5,14,26,.995));
  box-shadow:
    0 20px 48px rgba(0,0,0,.31),
    inset 0 1px 0 rgba(255,255,255,.025);
}

.bc-category-panel-heading {
  margin-bottom: 28px;
  text-align: center;
}

.bc-category-kicker {
  display: block;
  margin-bottom: 7px;
  color: #ef3942;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bc-category-panel-heading h1 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}

.bc-category-underline {
  width: 66px;
  height: 3px;
  margin: 9px auto 0;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef3942, #8e1118);
  box-shadow: 0 0 14px rgba(239,57,66,.24);
}

.bc-category-panel-heading p {
  max-width: 620px;
  margin: 12px auto 0;
  color: #91a3b9;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.bc-category-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bc-product-card {
  min-width: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(105,144,188,.26);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(11,24,43,.99), rgba(5,14,26,.995));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 12px 28px rgba(0,0,0,.21);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.bc-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239,57,66,.48);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 16px 34px rgba(0,0,0,.28),
    0 0 22px rgba(239,57,66,.07);
}

.bc-product-card-name {
  width: 100%;
  min-height: 38px;
  padding: 0 4px 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.bc-product-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1.08;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 44%, rgba(239,57,66,.08), transparent 62%),
    linear-gradient(180deg, rgba(31,38,58,.88), rgba(18,24,39,.95));
}

.bc-product-image-box img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  transition: transform .22s ease;
}

.bc-product-card:hover .bc-product-image-box img {
  transform: scale(1.045);
}

.bc-product-image-box > i {
  color: #ef5961;
  font-size: 45px;
}

.bc-product-sale-badge,
.bc-product-out-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.bc-product-sale-badge {
  background: linear-gradient(180deg, #ef3942, #b7121a);
}

.bc-product-out-badge {
  right: auto;
  left: 8px;
  background: rgba(0,0,0,.72);
}

.bc-product-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 38px;
  gap: 8px;
}

.bc-product-add,
.bc-product-info {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.bc-product-add {
  gap: 7px;
  border: 1px solid rgba(255,91,98,.30);
  background: linear-gradient(180deg, #ef3942, #c21720);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    0 8px 18px rgba(192,19,29,.18);
}

.bc-product-add:hover {
  filter: brightness(1.08);
}

.bc-product-add:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.bc-product-info {
  border: 1px solid rgba(105,144,188,.24);
  background: linear-gradient(180deg, rgba(42,72,112,.95), rgba(22,43,74,.98));
  color: #dce8f6;
}

.bc-product-info:hover {
  border-color: rgba(239,57,66,.34);
  color: #fff;
}

.bc-product-price {
  margin-top: 14px;
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  border-top: 1px solid rgba(255,255,255,.055);
}

.bc-product-price strong {
  color: #ff4b54;
  font-size: 20px;
  font-weight: 950;
  text-shadow: 0 0 13px rgba(239,57,66,.20);
}

.bc-product-price small {
  color: #c4cfdd;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.bc-product-price-old {
  color: #738397;
  font-size: 10px;
  font-weight: 800;
  text-decoration: line-through;
}

.bc-category-empty {
  padding: 62px 20px;
  text-align: center;
}

.bc-category-empty i {
  color: #ef5961;
  font-size: 48px;
}

.bc-category-empty h3 {
  margin: 15px 0 0;
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.bc-category-empty p {
  margin: 6px 0 0;
  color: #91a3b9;
  font-size: 12px;
}

/* =========================================================
   Individual product page
   ========================================================= */
.bc-product-page {
  width: 100%;
}

.bc-product-page-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(105,144,188,.24);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(10,23,40,.985), rgba(5,14,26,.995));
  box-shadow:
    0 22px 54px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.025);
}

.bc-product-page-media {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 50% 45%, rgba(239,57,66,.11), transparent 63%),
    linear-gradient(180deg, rgba(26,35,55,.96), rgba(13,20,34,.99));
}

.bc-product-page-image {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.30));
}

.bc-product-page-placeholder {
  color: #ef5961;
  font-size: 84px;
}

.bc-product-page-sale {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ef3942, #b7121a);
  color: #fff;
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.bc-product-page-content {
  padding: 34px;
}

.bc-product-page-kicker {
  display: block;
  margin-bottom: 8px;
  color: #ef3942;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bc-product-page-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.bc-product-page-title-row h1 {
  margin: 0;
  color: #fff;
  font-size: 31px;
  font-weight: 950;
  line-height: 1.06;
}

.bc-product-page-title-row p {
  margin: 8px 0 0;
  color: #91a3b9;
  font-size: 12px;
  line-height: 1.5;
}

.bc-product-page-price {
  flex: 0 0 auto;
  text-align: right;
}

.bc-product-page-price span,
.bc-product-page-price strong {
  display: block;
}

.bc-product-page-price span {
  color: #77889c;
  font-size: 12px;
  font-weight: 800;
  text-decoration: line-through;
}

.bc-product-page-price strong {
  margin-top: 4px;
  color: #ff4b54;
  font-size: 25px;
  font-weight: 950;
}

.bc-product-page-stock {
  margin-top: 18px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,91,98,.22);
  border-radius: 9px;
  background: rgba(180,22,31,.10);
  color: #ff7a80;
  font-size: 12px;
  font-weight: 900;
}

.bc-product-page-options {
  margin-top: 24px;
  display: grid;
  gap: 15px;
}

.bc-product-page-options label > span {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.bc-product-page-options label > span i {
  color: #ef5961;
}

.bc-product-page-options select,
.bc-product-page-options input,
.bc-product-page-gift-actions input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(126,157,191,.24);
  border-radius: 9px;
  outline: none;
  background: rgba(6,15,27,.96);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.bc-product-page-options select:focus,
.bc-product-page-options input:focus,
.bc-product-page-gift-actions input:focus {
  border-color: rgba(239,57,66,.67);
  box-shadow: 0 0 0 3px rgba(239,57,66,.09);
}

.bc-product-page-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bc-product-page-primary,
.bc-product-page-secondary,
.bc-product-page-gift {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.bc-product-page-primary {
  flex: 1;
  border: 1px solid rgba(255,91,98,.30);
  background: linear-gradient(180deg, #ef3942, #c21720);
}

.bc-product-page-secondary,
.bc-product-page-gift {
  border: 1px solid rgba(105,144,188,.20);
  background: rgba(255,255,255,.04);
}

.bc-product-page-primary:hover,
.bc-product-page-secondary:hover,
.bc-product-page-gift:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.bc-product-page-gift-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: 8px;
}

.bc-product-page-gift-actions button {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  background: linear-gradient(180deg, #ef3942, #c21720);
}

.bc-product-page-gift-actions button:last-child {
  background: rgba(255,255,255,.05);
}

.bc-product-description {
  margin-top: 18px;
  padding: 26px 28px;
  border: 1px solid rgba(105,144,188,.20);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(11,24,43,.98), rgba(5,14,26,.99));
}

.bc-product-description-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-product-description-heading i {
  color: #ef5961;
}

.bc-product-description-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

@media (max-width: 1100px) {
  .bc-category-products {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .bc-category-panel {
    padding: 20px;
  }

  .bc-category-products {
    grid-template-columns: 1fr;
  }

  .bc-product-page-card {
    grid-template-columns: 1fr;
  }

  .bc-product-page-media {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .bc-product-page-content {
    padding: 24px 20px;
  }

  .bc-product-page-title-row {
    flex-direction: column;
  }

  .bc-product-page-price {
    text-align: left;
  }

  .bc-product-page-gift-actions {
    grid-template-columns: 1fr;
  }
}


.bc-home-disclaimers {
  margin-top: 20px;
  padding: 22px 24px 4px;
  text-align: center;
}
.bc-home-disclaimers p {
  max-width: 900px;
  margin: 0 auto 10px;
  color: #9fb1c7;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}
.bc-home-disclaimers a {
  color: #c9c5c5;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(223, 217, 217, 0.48);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.bc-home-disclaimers a:hover {
  color: #ffffff;
  text-decoration-color: #c9c5c5;
}
.bc-home-disclaimers .bc-home-copyright {
  margin-top: 12px;
  color: #d2dce8;
  font-size: 14px;
  font-weight: 800;
}


/* =========================================================
   Category and product pages — no homepage sidebar modules
   ========================================================= */
.bc-store-content-full {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 1 1 100% !important;
}

.bc-category-page .bc-category-panel,
.bc-product-page .bc-product-page-card,
.bc-product-page .bc-product-description {
  width: 100%;
}


/* =========================================================
   Product information modal — BossCraft website style
   ========================================================= */
.bc-product-modal-shell {
  overflow: hidden !important;
  border: 1px solid rgba(105, 144, 188, .28) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(
      180deg,
      rgba(11, 24, 43, .995),
      rgba(5, 14, 26, .995)
    ) !important;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, .52),
    inset 0 1px 0 rgba(255, 255, 255, .025) !important;
}

.bc-product-modal-shell > button {
  top: 16px !important;
  right: 16px !important;
  width: 40px !important;
  height: 40px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, .04) !important;
  color: #96a6b9 !important;
  font-size: 0 !important;
}

.bc-product-modal-shell > button i {
  font-size: 16px !important;
}

.bc-product-modal-shell > button:hover {
  color: #ffffff !important;
  border-color: rgba(239, 57, 66, .36) !important;
  background: rgba(239, 57, 66, .11) !important;
}

.bc-product-modal {
  padding: 28px !important;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(239, 57, 66, .07),
      transparent 36%
    );
}

.bc-product-modal > .text-center:first-child {
  margin: -28px -28px 22px !important;
  padding: 28px 28px 22px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
  background:
    linear-gradient(
      90deg,
      rgba(27, 45, 77, .96),
      rgba(17, 31, 53, .94)
    ) !important;
}

.bc-product-modal > .text-center:first-child > div:first-child {
  width: 76px !important;
  height: 76px !important;
  margin-bottom: 14px !important;
  border: 1px solid rgba(255, 91, 98, .28) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(
      145deg,
      #ef3942,
      #b7121a
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 12px 28px rgba(202, 24, 34, .26),
    0 0 24px rgba(239, 57, 66, .08) !important;
}

.bc-product-modal > .text-center:first-child > div:first-child > i {
  color: #ffffff !important;
  font-size: 24px !important;
}

.bc-product-modal .gift-icon {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(105, 144, 188, .22) !important;
  background:
    linear-gradient(
      180deg,
      rgba(31, 49, 79, .98),
      rgba(17, 31, 53, .99)
    ) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .30) !important;
}

.bc-product-modal h2 {
  color: #ffffff !important;
  font-size: 25px !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
}

.bc-product-modal .price {
  margin-top: 10px !important;
}

.bc-product-modal .price p:first-child {
  color: #ff4b54 !important;
  font-size: 24px !important;
  font-weight: 950 !important;
  text-shadow: 0 0 14px rgba(239, 57, 66, .20);
}

.bc-product-modal .price p:last-child {
  color: #c4cfdd !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.bc-product-modal .vat > div {
  border: 1px solid rgba(105, 144, 188, .16) !important;
  background: rgba(5, 14, 26, .58) !important;
  color: #8fa1b6 !important;
  box-shadow: none !important;
}

.bc-product-modal .vat p {
  color: #ff626a !important;
}

.bc-product-modal .bg-content-light {
  border: 1px solid rgba(105, 144, 188, .18) !important;
  background:
    linear-gradient(
      180deg,
      rgba(17, 32, 55, .96),
      rgba(8, 18, 32, .98)
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .025),
    0 10px 24px rgba(0, 0, 0, .18) !important;
}

.bc-product-modal h4 {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

.bc-product-modal h4 i {
  color: #ef5961 !important;
}

.bc-product-modal .text-muted,
.bc-product-modal .prose {
  color: #9fb0c5 !important;
}

.bc-product-modal .prose strong,
.bc-product-modal .prose h1,
.bc-product-modal .prose h2,
.bc-product-modal .prose h3,
.bc-product-modal .prose h4 {
  color: #ffffff !important;
}

.bc-product-modal input,
.bc-product-modal select {
  border: 1px solid rgba(126, 157, 191, .24) !important;
  border-radius: 9px !important;
  background: rgba(6, 15, 27, .96) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, .22) !important;
}

.bc-product-modal input:focus,
.bc-product-modal select:focus {
  border-color: rgba(239, 57, 66, .67) !important;
  box-shadow:
    0 0 0 3px rgba(239, 57, 66, .09),
    inset 0 1px 8px rgba(0, 0, 0, .22) !important;
}

.bc-product-modal .bg-primary,
.bc-product-modal .bg-emerald-500 {
  border: 1px solid rgba(255, 91, 98, .30) !important;
  background:
    linear-gradient(
      180deg,
      #ef3942,
      #c21720
    ) !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 11px 26px rgba(192, 19, 29, .24) !important;
}

.bc-product-modal .bg-primary:hover,
.bc-product-modal .bg-emerald-500:hover {
  filter: brightness(1.07) !important;
  opacity: 1 !important;
  transform: translateY(-1px);
}

.bc-product-modal button.bg-content-light {
  color: #b8c4d2 !important;
}

.bc-product-modal button.bg-content-light:hover {
  color: #ffffff !important;
  border-color: rgba(239, 57, 66, .28) !important;
  background: rgba(239, 57, 66, .08) !important;
}

.bc-product-modal .bg-emerald-500\/10,
.bc-product-modal .bg-yellow-500\/10,
.bc-product-modal .bg-blue-500\/10,
.bc-product-modal .bg-red-500\/10 {
  border-radius: 10px !important;
  background: rgba(8, 18, 32, .82) !important;
}

@media (max-width: 580px) {
  .bc-product-modal {
    padding: 22px 18px !important;
  }

  .bc-product-modal > .text-center:first-child {
    margin: -22px -18px 18px !important;
    padding: 24px 18px 20px !important;
  }

  .bc-product-modal h2 {
    font-size: 22px !important;
  }
}


/* =========================================================
   Product options modal — refined server selection
   ========================================================= */
.bc-product-modal .bc-product-option-help {
  margin: -3px 0 9px;
  color: #8395ab;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
}

.bc-product-modal .bc-product-server-select {
  min-height: 50px !important;
  padding-left: 15px !important;
  padding-right: 42px !important;
  border: 1px solid rgba(239, 57, 66, .48) !important;
  border-radius: 10px !important;
  background:
    linear-gradient(
      180deg,
      rgba(7, 17, 31, .99),
      rgba(4, 12, 23, .99)
    ) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  box-shadow:
    inset 0 1px 8px rgba(0, 0, 0, .24),
    0 0 0 3px rgba(239, 57, 66, .035) !important;
}

.bc-product-modal .bc-product-server-select:hover {
  border-color: rgba(239, 57, 66, .67) !important;
}

.bc-product-modal .bc-product-server-select:focus {
  border-color: #ef3942 !important;
  box-shadow:
    0 0 0 3px rgba(239, 57, 66, .12),
    inset 0 1px 8px rgba(0, 0, 0, .24) !important;
}

.bc-product-modal .bc-product-server-select option {
  background: #091524;
  color: #ffffff;
  font-weight: 750;
}

.bc-product-modal .bc-product-server-select option:checked {
  background: #c21720;
  color: #ffffff;
}

.bc-product-modal [x-show="modal.showOptions && !showGift"] > .bg-content-light {
  padding: 18px !important;
  border-color: rgba(105, 144, 188, .22) !important;
  border-radius: 12px !important;
}

.bc-product-modal [x-show="modal.showOptions && !showGift"] h4 {
  margin-bottom: 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.bc-product-modal [x-show="modal.showOptions && !showGift"] label {
  font-size: 12px !important;
  font-weight: 900 !important;
}

.bc-product-modal [x-show="modal.showOptions && !showGift"] label i {
  color: #ef5961 !important;
}

@media (max-width: 580px) {
  .bc-product-modal .bc-product-server-select {
    min-height: 48px !important;
    font-size: 12px !important;
  }
}


/* =========================================================
   Product cards — premium BossCraft layout
   ========================================================= */
.bc-category-products {
  gap: 20px !important;
}

.bc-product-card {
  padding: 18px !important;
  border-color: rgba(105, 144, 188, .30) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(
      180deg,
      rgba(11, 24, 43, .995),
      rgba(5, 14, 26, .999)
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.028),
    0 14px 32px rgba(0,0,0,.24) !important;
}

.bc-product-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(239,57,66,.52) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 20px 40px rgba(0,0,0,.31),
    0 0 26px rgba(239,57,66,.08) !important;
}

.bc-product-card-name {
  min-height: auto !important;
  padding: 0 4px !important;
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

.bc-product-card-name:hover {
  color: #ff626a !important;
}

.bc-product-card-price-top {
  min-height: 36px;
  margin: 7px 0 15px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.bc-product-card-price-top strong {
  color: #ff4b54;
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 14px rgba(239,57,66,.22);
}

.bc-product-card-price-top small {
  color: #c4cfdd;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.bc-product-card-price-old {
  color: #718297;
  font-size: 11px;
  font-weight: 800;
  text-decoration: line-through;
}

.bc-product-image-box {
  aspect-ratio: 1.05 !important;
  border-color: rgba(255,255,255,.065) !important;
  border-radius: 11px !important;
  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(239,57,66,.13),
      rgba(239,57,66,.035) 42%,
      transparent 70%
    ),
    linear-gradient(
      180deg,
      rgba(31,38,58,.92),
      rgba(16,23,38,.98)
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    inset 0 0 28px rgba(239,57,66,.025) !important;
}

.bc-product-image-box img {
  width: 96% !important;
  height: 96% !important;
  object-fit: contain !important;
  filter:
    drop-shadow(0 13px 18px rgba(0,0,0,.24))
    drop-shadow(0 0 10px rgba(239,57,66,.05));
}

.bc-product-card:hover .bc-product-image-box img {
  transform: scale(1.06) !important;
}

.bc-product-actions {
  margin-top: 14px !important;
  grid-template-columns: minmax(0,1fr) 44px !important;
  gap: 9px !important;
}

.bc-product-add {
  min-height: 50px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 11px 24px rgba(192,19,29,.23) !important;
}

.bc-product-info {
  min-height: 50px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  background:
    linear-gradient(
      180deg,
      rgba(30,53,88,.98),
      rgba(17,34,59,.99)
    ) !important;
}

.bc-product-info:hover {
  border-color: rgba(239,57,66,.52) !important;
  background:
    linear-gradient(
      180deg,
      #ef3942,
      #b7121a
    ) !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 10px 22px rgba(192,19,29,.21) !important;
}

.bc-product-price {
  display: none !important;
}

/* Remove spacing previously reserved for the deleted header cart button. */
.bc-home-store-actions {
  gap: 12px !important;
}

/* Dynamic category heading remains bold and readable. */
.bc-category-panel-heading h1 {
  max-width: 100%;
  word-break: break-word;
}

@media (max-width: 760px) {
  .bc-product-card-name {
    font-size: 18px !important;
  }

  .bc-product-card-price-top strong {
    font-size: 23px !important;
  }

  .bc-product-image-box img {
    width: 92% !important;
    height: 92% !important;
  }
}


/* =========================================================
   Category page — description sidebar + product grid
   Inspired by the reference layout, using BossCraft styling.
   ========================================================= */
.bc-category-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.bc-category-description-card {
  position: sticky;
  top: 24px;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(105, 144, 188, .24);
  border-radius: 15px;
  background:
    linear-gradient(
      180deg,
      rgba(11, 24, 43, .99),
      rgba(5, 14, 26, .995)
    );
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .025);
}

.bc-category-description-heading {
  margin-bottom: 20px;
  text-align: center;
}

.bc-category-description-kicker {
  display: block;
  margin-bottom: 6px;
  color: #ef3942;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bc-category-description-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 27px;
  font-weight: 950;
  line-height: 1.05;
  text-transform: none;
}

.bc-category-description-underline {
  width: 60px;
  height: 3px;
  margin: 10px auto 0;
  display: block;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #ef3942,
      #8e1118
    );
  box-shadow: 0 0 14px rgba(239, 57, 66, .24);
}

.bc-category-description-content {
  color: #c4cfdd;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
  text-align: center;
}

.bc-category-description-content > *:first-child {
  margin-top: 0 !important;
}

.bc-category-description-content > *:last-child {
  margin-bottom: 0 !important;
}

.bc-category-description-content h1,
.bc-category-description-content h2,
.bc-category-description-content h3,
.bc-category-description-content h4 {
  margin: 24px 0 10px;
  color: #ffffff !important;
  font-weight: 950 !important;
  line-height: 1.2;
}

.bc-category-description-content h2 {
  font-size: 21px !important;
}

.bc-category-description-content h3 {
  font-size: 18px !important;
}

.bc-category-description-content p {
  margin: 0 0 16px;
  color: #c4cfdd !important;
}

.bc-category-description-content strong {
  color: #ffffff !important;
  font-weight: 900 !important;
}

.bc-category-description-content a {
  color: #c9c5c5 !important;
  font-weight: 850 !important;
  text-decoration: underline;
  text-decoration-color: rgba(223, 217, 217, .48);
  text-underline-offset: 3px;
}

.bc-category-description-content img {
  width: 100%;
  height: auto;
  margin: 22px auto 0;
  display: block;
  border: 1px solid rgba(105, 144, 188, .18);
  border-radius: 10px;
  object-fit: contain;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .26),
    inset 0 1px 0 rgba(255, 255, 255, .02);
}

.bc-category-layout .bc-category-panel {
  min-width: 0;
  padding: 28px !important;
}

.bc-category-layout .bc-category-panel-full {
  grid-column: 1 / -1;
}

.bc-category-layout .bc-category-panel-heading {
  margin-bottom: 30px !important;
}

.bc-category-layout .bc-category-products {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

@media (max-width: 1240px) {
  .bc-category-layout {
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  }

  .bc-category-layout .bc-category-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .bc-category-layout {
    grid-template-columns: 1fr;
  }

  .bc-category-description-card {
    position: static;
  }

  .bc-category-layout .bc-category-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .bc-category-description-card,
  .bc-category-layout .bc-category-panel {
    padding: 20px !important;
  }

  .bc-category-layout .bc-category-products {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   Global Ranks — unique progression presentation
   ========================================================= */
.bc-rank-flow {
  margin-bottom: 26px;
  padding: 20px;
  border: 1px solid rgba(239,57,66,.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 0%, rgba(239,57,66,.13), transparent 34%),
    linear-gradient(180deg, rgba(18,34,59,.98), rgba(8,18,32,.99));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 14px 32px rgba(0,0,0,.22);
}

.bc-rank-flow-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.bc-rank-flow-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg,#ef3942,#b7121a);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 9px 20px rgba(202,24,34,.22);
}

.bc-rank-flow-heading strong {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.bc-rank-flow-heading p {
  margin: 4px 0 0;
  color: #9fb0c5;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.bc-rank-flow-steps {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 10px;
}

.bc-rank-flow-steps > div {
  min-height: 98px;
  padding: 13px;
  border: 1px solid rgba(105,144,188,.16);
  border-radius: 11px;
  background: rgba(4,13,24,.52);
}

.bc-rank-flow-steps > div > span {
  width: 25px;
  height: 25px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: rgba(239,57,66,.18);
  font-size: 11px;
  font-weight: 950;
}

.bc-rank-flow-steps strong,
.bc-rank-flow-steps small {
  display: block;
}

.bc-rank-flow-steps strong {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.bc-rank-flow-steps small {
  margin-top: 4px;
  color: #8597ad;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.4;
}

.bc-rank-flow-steps > i {
  color: #ef5961;
  font-size: 11px;
}

.bc-rank-card-status {
  min-height: 28px;
  margin: -7px 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bc-rank-card-status span {
  max-width: 100%;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.25;
}

.bc-rank-card-status .is-current {
  color: #8ce6ab;
  background: rgba(45,175,91,.13);
}

.bc-rank-card-status .is-pending {
  color: #f0cf78;
  background: rgba(205,148,27,.13);
}

.bc-rank-card-status .is-credit {
  color: #ff9da2;
  background: rgba(239,57,66,.11);
}

.bc-tier-credit-callout {
  margin-bottom: 14px;
  padding: 13px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid rgba(239,57,66,.25);
  border-radius: 11px;
  background:
    linear-gradient(180deg,rgba(52,24,34,.44),rgba(27,16,25,.48));
}

.bc-tier-credit-callout > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg,#ef3942,#b7121a);
}

.bc-tier-credit-callout strong {
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.bc-tier-credit-callout p {
  margin: 4px 0 0;
  color: #a9b6c7;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .bc-rank-flow-steps {
    grid-template-columns: 1fr;
  }

  .bc-rank-flow-steps > i {
    transform: rotate(90deg);
    justify-self: center;
  }
}


/* =========================================================
   Rank product modal — premium layout
   Only applies to products in a PayNow tier group.
   ========================================================= */
.bc-rank-product-modal-shell {
  width: min(980px, calc(100vw - 28px)) !important;
  max-width: 980px !important;
  max-height: 92vh !important;
}

.bc-rank-product-modal-shell > button {
  z-index: 30 !important;
}

.bc-rank-premium-modal {
  display: grid;
  grid-template-columns: minmax(290px, .82fr) minmax(0, 1.18fr);
  min-height: 620px;
  background:
    radial-gradient(circle at 0% 0%, rgba(239,57,66,.10), transparent 34%),
    linear-gradient(180deg, rgba(8,19,34,.998), rgba(4,12,23,.999));
}

.bc-rank-premium-hero {
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.065);
  background:
    radial-gradient(circle at 50% 27%, rgba(239,57,66,.15), transparent 36%),
    linear-gradient(180deg, rgba(23,39,67,.97), rgba(10,21,38,.995));
}

.bc-rank-premium-art {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(105,144,188,.20);
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 50%, rgba(239,57,66,.15), transparent 58%),
    rgba(4,13,24,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 16px 34px rgba(0,0,0,.25);
}

.bc-rank-premium-art::after {
  content: "";
  position: absolute;
  right: 13%;
  bottom: 9%;
  left: 13%;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,.38);
  filter: blur(12px);
}

.bc-rank-premium-art img {
  position: relative;
  z-index: 2;
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter:
    drop-shadow(0 16px 22px rgba(0,0,0,.34))
    drop-shadow(0 0 16px rgba(239,57,66,.09));
}

.bc-rank-premium-badge {
  position: absolute;
  z-index: 4;
  top: 13px;
  left: 13px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,91,98,.26);
  border-radius: 999px;
  background: rgba(180,22,31,.18);
  color: #ff9da2;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bc-rank-premium-placeholder {
  position: relative;
  z-index: 2;
  color: #ef5961;
  font-size: 78px;
}

.bc-rank-premium-summary {
  padding: 24px 4px 0;
  text-align: center;
}

.bc-rank-premium-kicker {
  display: block;
  margin-bottom: 7px;
  color: #ef5961;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.bc-rank-premium-summary h2 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.05;
}

.bc-rank-premium-price {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.bc-rank-premium-price strong {
  color: #ff4b54;
  font-size: 27px;
  font-weight: 950;
  text-shadow: 0 0 15px rgba(239,57,66,.22);
}

.bc-rank-premium-old-price {
  color: #718297;
  font-size: 12px;
  font-weight: 800;
  text-decoration: line-through;
}

.bc-rank-premium-status {
  margin-top: 14px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.bc-rank-premium-status.is-current {
  color: #8ce6ab;
  background: rgba(45,175,91,.13);
}

.bc-rank-premium-status.is-pending {
  color: #f0cf78;
  background: rgba(205,148,27,.13);
}

.bc-rank-premium-credit {
  margin-top: 17px;
  padding: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(239,57,66,.22);
  border-radius: 11px;
  background: rgba(48,20,30,.35);
  text-align: left;
}

.bc-rank-premium-credit > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg,#ef3942,#b7121a);
}

.bc-rank-premium-credit strong {
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.bc-rank-premium-credit p {
  margin: 4px 0 0;
  color: #a8b5c6;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.5;
}

.bc-rank-premium-content {
  min-width: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.bc-rank-premium-content-heading {
  padding-bottom: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.065);
}

.bc-rank-premium-content-heading > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg,#ef3942,#b7121a);
}

.bc-rank-premium-content-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 950;
}

.bc-rank-premium-content-heading p {
  margin: 4px 0 0;
  color: #8fa1b6;
  font-size: 10px;
  font-weight: 650;
}

.bc-rank-premium-description {
  flex: 1;
  margin-top: 18px;
  padding: 18px;
  overflow: auto;
  border: 1px solid rgba(105,144,188,.18);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(17,32,55,.96), rgba(8,18,32,.98));
  color: #b6c3d2 !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(239,57,66,.48) rgba(255,255,255,.03);
}

.bc-rank-premium-description h1,
.bc-rank-premium-description h2,
.bc-rank-premium-description h3,
.bc-rank-premium-description h4,
.bc-rank-premium-description strong {
  color: #fff !important;
  font-weight: 950 !important;
}

.bc-rank-premium-description h1,
.bc-rank-premium-description h2,
.bc-rank-premium-description h3 {
  margin-top: 21px !important;
  margin-bottom: 9px !important;
}

.bc-rank-premium-description p {
  margin: 0 0 10px !important;
}

.bc-rank-premium-description img {
  max-width: 100%;
  height: auto;
  margin: 13px 0;
  border-radius: 8px;
}

.bc-rank-premium-actions {
  margin-top: 16px;
}

.bc-rank-premium-primary,
.bc-rank-premium-secondary,
.bc-rank-premium-owned {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 950;
}

.bc-rank-premium-primary {
  border: 1px solid rgba(255,91,98,.30);
  background: linear-gradient(180deg,#ef3942,#c21720);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 11px 26px rgba(192,19,29,.24);
}

.bc-rank-premium-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.bc-rank-premium-secondary {
  border: 1px solid rgba(255,91,98,.20);
  background: rgba(180,22,31,.10);
  color: #ff8187;
}

.bc-rank-premium-owned {
  color: #8ce6ab;
  background: rgba(45,175,91,.11);
  border: 1px solid rgba(45,175,91,.20);
}

.bc-rank-premium-notice {
  margin: 13px 0 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  color: #8fa1b6;
  font-size: 9px;
  font-weight: 650;
  text-align: center;
}

@media (max-width: 780px) {
  .bc-rank-product-modal-shell {
    width: min(620px, calc(100vw - 20px)) !important;
  }

  .bc-rank-premium-modal {
    grid-template-columns: 1fr;
  }

  .bc-rank-premium-hero {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.065);
  }

  .bc-rank-premium-art {
    min-height: 270px;
  }
}

@media (max-width: 520px) {
  .bc-rank-premium-hero,
  .bc-rank-premium-content {
    padding: 20px;
  }

  .bc-rank-premium-summary h2 {
    font-size: 25px;
  }

  .bc-rank-premium-description {
    max-height: 390px;
  }
}


/* =========================================================
   Global Ranks page — premium rank panels
   Only applies to the category whose name contains "rank".
   ========================================================= */
.bc-rank-page-banner {
  margin-bottom: 24px;
  padding: 17px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(239,57,66,.25);
  border-radius: 13px;
  background:
    radial-gradient(circle at 0 0, rgba(239,57,66,.12), transparent 34%),
    linear-gradient(180deg, rgba(20,37,63,.98), rgba(9,19,34,.99));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 13px 28px rgba(0,0,0,.22);
}

.bc-rank-page-banner-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg,#ef3942,#b7121a);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 9px 20px rgba(202,24,34,.22);
}

.bc-rank-page-banner > div {
  min-width: 0;
  flex: 1;
}

.bc-rank-page-banner strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
}

.bc-rank-page-banner p {
  margin: 4px 0 0;
  color: #9fb0c5;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
}

.bc-rank-page-banner-badge {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  color: #ff9da2;
  background: rgba(239,57,66,.11);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.bc-rank-premium-page-grid {
  grid-template-columns: 1fr !important;
  gap: 22px !important;
}

.bc-rank-premium-page-card {
  position: relative;
  padding: 22px !important;
  display: grid !important;
  grid-template-columns: minmax(220px, .78fr) minmax(0, 1.22fr) !important;
  grid-template-areas:
    "title title"
    "price price"
    "status status"
    "image benefits"
    "image actions" !important;
  column-gap: 22px !important;
  row-gap: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

.bc-rank-premium-page-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: linear-gradient(180deg,#ef3942,#7d0d13);
  box-shadow: 0 0 18px rgba(239,57,66,.20);
}

.bc-rank-premium-page-card .bc-product-card-name {
  grid-area: title;
  padding: 0 !important;
  font-size: 26px !important;
  text-align: left !important;
}

.bc-rank-premium-page-card .bc-product-card-price-top {
  grid-area: price;
  margin: 7px 0 14px !important;
  justify-content: flex-start !important;
}

.bc-rank-premium-page-card .bc-rank-card-status {
  grid-area: status;
  min-height: 0;
  margin: 0 0 14px !important;
  justify-content: flex-start;
}

.bc-rank-premium-page-card .bc-product-image-box {
  grid-area: image;
  width: 100%;
  height: 100%;
  min-height: 390px;
  aspect-ratio: auto !important;
  align-self: stretch;
  border-radius: 13px !important;
  background:
    radial-gradient(circle at 50% 43%, rgba(239,57,66,.16), transparent 57%),
    linear-gradient(180deg,rgba(30,38,59,.96),rgba(15,22,37,.99)) !important;
}

.bc-rank-premium-page-card .bc-product-image-box img {
  width: 94% !important;
  height: 94% !important;
  object-fit: contain !important;
}

.bc-rank-page-benefits {
  grid-area: benefits;
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(105,144,188,.18);
  border-radius: 13px;
  background:
    linear-gradient(180deg,rgba(17,32,55,.97),rgba(8,18,32,.99));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.bc-rank-page-benefits-heading {
  padding-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.bc-rank-page-benefits-heading > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg,#ef3942,#b7121a);
}

.bc-rank-page-benefits-heading strong,
.bc-rank-page-benefits-heading small {
  display: block;
}

.bc-rank-page-benefits-heading strong {
  color: #fff;
  font-size: 16px;
  font-weight: 950;
}

.bc-rank-page-benefits-heading small {
  margin-top: 3px;
  color: #8395ab;
  font-size: 9px;
  font-weight: 650;
}

.bc-rank-page-benefits-content {
  max-height: 300px;
  margin-top: 14px;
  padding-right: 7px;
  overflow-y: auto;
  color: #b6c3d2 !important;
  font-size: 11px !important;
  line-height: 1.65 !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(239,57,66,.48) rgba(255,255,255,.03);
}

.bc-rank-page-benefits-content h1,
.bc-rank-page-benefits-content h2,
.bc-rank-page-benefits-content h3,
.bc-rank-page-benefits-content h4,
.bc-rank-page-benefits-content strong {
  color: #fff !important;
  font-weight: 950 !important;
}

.bc-rank-page-benefits-content h1,
.bc-rank-page-benefits-content h2,
.bc-rank-page-benefits-content h3 {
  margin: 18px 0 7px !important;
}

.bc-rank-page-benefits-content p {
  margin: 0 0 8px !important;
}

.bc-rank-page-benefits-content img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: 7px;
}

.bc-rank-premium-page-card .bc-product-actions {
  grid-area: actions;
  margin-top: 13px !important;
  align-self: end;
}

.bc-rank-premium-page-card .bc-product-add {
  min-height: 52px !important;
}

.bc-rank-premium-page-card .bc-product-info {
  min-height: 52px !important;
}

@media (max-width: 860px) {
  .bc-rank-premium-page-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "title"
      "price"
      "status"
      "image"
      "benefits"
      "actions" !important;
  }

  .bc-rank-premium-page-card .bc-product-image-box {
    min-height: 300px;
    margin-bottom: 15px;
  }

  .bc-rank-page-benefits-content {
    max-height: 360px;
  }
}

@media (max-width: 560px) {
  .bc-rank-page-banner {
    align-items: flex-start;
  }

  .bc-rank-page-banner-badge {
    display: none;
  }

  .bc-rank-premium-page-card {
    padding: 17px !important;
  }

  .bc-rank-premium-page-card .bc-product-card-name {
    font-size: 22px !important;
  }
}


/* =========================================================
   Global Ranks — horizontal premium cards
   ========================================================= */
.bc-rank-premium-page-grid {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

.bc-rank-premium-page-card {
  position: relative !important;
  min-height: 260px !important;
  padding: 18px !important;
  display: grid !important;
  grid-template-columns: 210px minmax(0, 1fr) !important;
  grid-template-rows: auto auto 1fr auto !important;
  grid-template-areas:
    "image title"
    "image price"
    "image benefits"
    "image actions" !important;
  column-gap: 20px !important;
  row-gap: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(105,144,188,.28) !important;
  border-radius: 15px !important;
  background:
    radial-gradient(circle at 0% 50%, rgba(239,57,66,.10), transparent 32%),
    linear-gradient(180deg, rgba(11,24,43,.995), rgba(5,14,26,.999)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 14px 32px rgba(0,0,0,.24) !important;
}

.bc-rank-premium-page-card::before {
  width: 4px !important;
  background: linear-gradient(180deg,#ef3942,#8e1118) !important;
}

.bc-rank-premium-page-card .bc-product-card-name {
  grid-area: title !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 3px 0 0 !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  text-align: left !important;
}

.bc-rank-premium-page-card .bc-product-card-price-top {
  grid-area: price !important;
  min-height: 0 !important;
  margin: 7px 0 13px !important;
  justify-content: flex-start !important;
}

.bc-rank-premium-page-card .bc-product-card-price-top strong {
  font-size: 24px !important;
}

.bc-rank-premium-page-card .bc-rank-card-status {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  min-height: 0 !important;
  margin: 0 !important;
  z-index: 5 !important;
}

.bc-rank-premium-page-card .bc-product-image-box {
  grid-area: image !important;
  width: 210px !important;
  height: 224px !important;
  min-height: 224px !important;
  aspect-ratio: auto !important;
  align-self: center !important;
  border-radius: 12px !important;
  background:
    radial-gradient(circle at 50% 45%, rgba(239,57,66,.15), transparent 58%),
    linear-gradient(180deg, rgba(31,38,58,.94), rgba(16,23,38,.99)) !important;
}

.bc-rank-premium-page-card .bc-product-image-box img {
  width: 94% !important;
  height: 94% !important;
  object-fit: contain !important;
}

.bc-rank-page-benefits {
  grid-area: benefits !important;
  min-height: 118px !important;
  max-height: 138px !important;
  padding: 14px !important;
  overflow: hidden !important;
  border-radius: 11px !important;
}

.bc-rank-page-benefits-heading {
  padding-bottom: 10px !important;
}

.bc-rank-page-benefits-heading > span {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
}

.bc-rank-page-benefits-heading strong {
  font-size: 14px !important;
}

.bc-rank-page-benefits-heading small {
  font-size: 8px !important;
}

.bc-rank-page-benefits-content {
  max-height: 72px !important;
  margin-top: 10px !important;
  padding-right: 6px !important;
  overflow-y: auto !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
}

.bc-rank-page-benefits-content h1,
.bc-rank-page-benefits-content h2,
.bc-rank-page-benefits-content h3,
.bc-rank-page-benefits-content h4 {
  margin: 10px 0 5px !important;
  font-size: 12px !important;
}

.bc-rank-page-benefits-content p {
  margin: 0 0 5px !important;
}

.bc-rank-page-benefits-content img {
  display: none !important;
}

.bc-rank-premium-page-card .bc-product-actions {
  grid-area: actions !important;
  margin-top: 12px !important;
  grid-template-columns: minmax(0, 1fr) 44px !important;
  gap: 9px !important;
}

.bc-rank-premium-page-card .bc-product-add,
.bc-rank-premium-page-card .bc-product-info {
  min-height: 46px !important;
}

.bc-rank-premium-page-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(239,57,66,.46) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 18px 38px rgba(0,0,0,.28),
    0 0 22px rgba(239,57,66,.06) !important;
}

@media (max-width: 900px) {
  .bc-rank-premium-page-card {
    grid-template-columns: 170px minmax(0, 1fr) !important;
  }

  .bc-rank-premium-page-card .bc-product-image-box {
    width: 170px !important;
    height: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 700px) {
  .bc-rank-premium-page-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto auto !important;
    grid-template-areas:
      "title"
      "price"
      "image"
      "benefits"
      "actions" !important;
  }

  .bc-rank-premium-page-card .bc-product-image-box {
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
  }

  .bc-rank-premium-page-card .bc-rank-card-status {
    position: static !important;
    margin: 0 0 10px !important;
    justify-content: flex-start !important;
  }

  .bc-rank-page-benefits {
    max-height: none !important;
  }

  .bc-rank-page-benefits-content {
    max-height: 180px !important;
  }
}


/* =========================================================
   Global Ranks — premium vertical sections
   One full-width rank panel per row, inspired by the mockup.
   ========================================================= */
.bc-rank-premium-page-grid {
  grid-template-columns: 1fr !important;
  gap: 26px !important;
}

.bc-rank-premium-page-card {
  position: relative !important;
  min-height: 560px !important;
  padding: 24px !important;

  display: grid !important;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr) !important;
  grid-template-rows: auto auto auto 1fr auto !important;
  grid-template-areas:
    "title title"
    "price price"
    "status status"
    "image benefits"
    "image actions" !important;

  column-gap: 24px !important;
  row-gap: 0 !important;

  overflow: hidden !important;

  border: 1px solid rgba(105, 144, 188, .28) !important;
  border-radius: 18px !important;

  background:
    radial-gradient(circle at 12% 25%, rgba(239, 57, 66, .12), transparent 34%),
    linear-gradient(180deg, rgba(11, 24, 43, .995), rgba(5, 14, 26, .999)) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 20px 44px rgba(0,0,0,.30) !important;
}

.bc-rank-premium-page-card::before {
  width: 5px !important;
  background: linear-gradient(180deg, #ef3942, #8e1118) !important;
  box-shadow: 0 0 18px rgba(239,57,66,.22) !important;
}

.bc-rank-premium-page-card .bc-product-card-name {
  grid-area: title !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;

  color: #fff !important;
  font-size: 31px !important;
  font-weight: 950 !important;
  line-height: 1.05 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.bc-rank-premium-page-card .bc-product-card-price-top {
  grid-area: price !important;
  min-height: 0 !important;
  margin: 10px 0 18px !important;
  justify-content: center !important;
}

.bc-rank-premium-page-card .bc-product-card-price-top strong {
  padding: 8px 13px;
  border: 1px solid rgba(239,57,66,.24);
  border-radius: 9px;
  background: rgba(239,57,66,.08);
  color: #ff4b54 !important;
  font-size: 23px !important;
}

.bc-rank-premium-page-card .bc-product-card-price-top small {
  color: #d1dae5 !important;
  font-size: 9px !important;
}

.bc-rank-premium-page-card .bc-rank-card-status {
  grid-area: status !important;
  position: static !important;
  min-height: 0 !important;
  margin: 0 0 18px !important;
  justify-content: center !important;
}

.bc-rank-premium-page-card .bc-product-image-box {
  grid-area: image !important;

  width: 100% !important;
  height: 100% !important;
  min-height: 410px !important;
  aspect-ratio: auto !important;

  align-self: stretch !important;

  border: 1px solid rgba(105,144,188,.20) !important;
  border-radius: 15px !important;

  background:
    radial-gradient(circle at 50% 42%, rgba(239,57,66,.18), transparent 58%),
    linear-gradient(180deg, rgba(31,38,58,.95), rgba(14,22,37,.99)) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 16px 34px rgba(0,0,0,.24) !important;
}

.bc-rank-premium-page-card .bc-product-image-box img {
  width: 96% !important;
  height: 96% !important;
  object-fit: contain !important;
  filter:
    drop-shadow(0 18px 24px rgba(0,0,0,.34))
    drop-shadow(0 0 18px rgba(239,57,66,.08)) !important;
}

.bc-rank-page-benefits {
  grid-area: benefits !important;

  min-height: 360px !important;
  max-height: none !important;

  padding: 18px !important;

  overflow: hidden !important;

  border: 1px solid rgba(105,144,188,.18) !important;
  border-radius: 14px !important;

  background:
    linear-gradient(180deg, rgba(17,32,55,.97), rgba(8,18,32,.99)) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.bc-rank-page-benefits-heading {
  padding-bottom: 14px !important;
}

.bc-rank-page-benefits-heading > span {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
}

.bc-rank-page-benefits-heading strong {
  font-size: 17px !important;
}

.bc-rank-page-benefits-heading small {
  font-size: 9px !important;
}

.bc-rank-page-benefits-content {
  max-height: 305px !important;

  margin-top: 14px !important;
  padding-right: 9px !important;

  overflow-y: auto !important;

  color: #b6c3d2 !important;
  font-size: 11px !important;
  line-height: 1.65 !important;
}

.bc-rank-page-benefits-content h1,
.bc-rank-page-benefits-content h2,
.bc-rank-page-benefits-content h3,
.bc-rank-page-benefits-content h4 {
  margin: 17px 0 7px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

.bc-rank-page-benefits-content p {
  margin: 0 0 8px !important;
}

.bc-rank-page-benefits-content strong {
  color: #fff !important;
  font-weight: 900 !important;
}

.bc-rank-page-benefits-content img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 12px 0 !important;
  border-radius: 7px !important;
}

.bc-rank-premium-page-card .bc-product-actions {
  grid-area: actions !important;
  margin-top: 16px !important;
  grid-template-columns: minmax(0, 1fr) 48px !important;
  gap: 10px !important;
}

.bc-rank-premium-page-card .bc-product-add,
.bc-rank-premium-page-card .bc-product-info {
  min-height: 52px !important;
}

.bc-rank-premium-page-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(239,57,66,.48) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 24px 50px rgba(0,0,0,.34),
    0 0 28px rgba(239,57,66,.07) !important;
}

@media (max-width: 900px) {
  .bc-rank-premium-page-card {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "title"
      "price"
      "status"
      "image"
      "benefits"
      "actions" !important;
  }

  .bc-rank-premium-page-card .bc-product-image-box {
    min-height: 330px !important;
    margin-bottom: 18px !important;
  }

  .bc-rank-page-benefits {
    min-height: 0 !important;
  }

  .bc-rank-page-benefits-content {
    max-height: 360px !important;
  }
}

@media (max-width: 560px) {
  .bc-rank-premium-page-card {
    padding: 18px !important;
  }

  .bc-rank-premium-page-card .bc-product-card-name {
    font-size: 24px !important;
  }

  .bc-rank-premium-page-card .bc-product-image-box {
    min-height: 280px !important;
  }
}


/* =========================================================
   Global Ranks — compact cards + comparison table
   ========================================================= */
.bc-rank-premium-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.bc-rank-premium-page-card {
  min-height: 0 !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 14px !important;
}

.bc-rank-premium-page-card .bc-product-card-name {
  width: 100% !important;
  padding: 0 !important;
  font-size: 18px !important;
  text-align: center !important;
  text-transform: none !important;
}

.bc-rank-premium-page-card .bc-product-card-price-top {
  margin: 8px 0 14px !important;
  justify-content: center !important;
}

.bc-rank-premium-page-card .bc-rank-card-status {
  position: static !important;
  margin: 0 0 10px !important;
  justify-content: center !important;
}

.bc-rank-premium-page-card .bc-product-image-box {
  width: 100% !important;
  height: 245px !important;
  min-height: 245px !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
}

.bc-rank-premium-page-card .bc-rank-page-benefits {
  display: none !important;
}

.bc-rank-premium-page-card .bc-product-actions {
  width: 100% !important;
  margin-top: 12px !important;
  grid-template-columns: minmax(0,1fr) 44px !important;
}

.bc-rank-comparison {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(105,144,188,.24);
  border-radius: 16px;
  background: linear-gradient(180deg,rgba(11,24,43,.99),rgba(5,14,26,.995));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025),0 18px 42px rgba(0,0,0,.28);
}

.bc-rank-comparison-heading {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.065);
  background: linear-gradient(90deg,rgba(27,45,77,.96),rgba(17,31,53,.94));
}

.bc-rank-comparison-heading > div:first-child > span {
  display: block;
  margin-bottom: 5px;
  color: #ef5961;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bc-rank-comparison-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

.bc-rank-comparison-heading p {
  margin: 5px 0 0;
  color: #91a3b9;
  font-size: 10px;
  font-weight: 650;
}

.bc-rank-comparison-credit {
  max-width: 250px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(239,57,66,.22);
  border-radius: 10px;
  background: rgba(239,57,66,.08);
  color: #ffb1b5;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.4;
}

.bc-rank-comparison-scroll {
  overflow-x: auto;
}

.bc-rank-comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  color: #fff;
}

.bc-rank-comparison-table th,
.bc-rank-comparison-table td {
  padding: 13px 14px;
  border-right: 1px solid rgba(255,255,255,.045);
  border-bottom: 1px solid rgba(255,255,255,.045);
  text-align: center;
  font-size: 10px;
  font-weight: 750;
}

.bc-rank-comparison-table thead th {
  background: rgba(24,40,68,.98);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.bc-rank-comparison-table thead th:first-child {
  text-align: left;
}

.bc-rank-comparison-table tbody th {
  width: 230px;
  background: rgba(17,31,53,.82);
  color: #d9e2ee;
  text-align: left;
  font-weight: 900;
}

.bc-rank-comparison-table tbody td {
  background: rgba(6,15,27,.78);
  color: #b9c6d5;
}

.bc-rank-comparison-table tbody tr:nth-child(even) th {
  background: rgba(20,36,61,.88);
}

.bc-rank-comparison-table tbody tr:nth-child(even) td {
  background: rgba(10,21,37,.86);
}

.bc-rank-comparison-table .is-yes {
  color: #38d978;
  font-size: 15px;
}

.bc-rank-comparison-table .is-no {
  color: #526173;
  font-size: 14px;
}

@media (max-width: 900px) {
  .bc-rank-premium-page-grid {
    grid-template-columns: 1fr !important;
  }

  .bc-rank-comparison-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .bc-rank-comparison-credit {
    max-width: none;
  }
}

/* Rank comparison readability */
.bc-rank-comparison-heading{padding:26px 28px!important}
.bc-rank-comparison-heading>div:first-child>span{font-size:11px!important}
.bc-rank-comparison-heading h2{font-size:30px!important}
.bc-rank-comparison-heading p{margin-top:7px!important;font-size:13px!important;line-height:1.5!important}
.bc-rank-comparison-credit{max-width:310px!important;padding:13px 15px!important;font-size:12px!important;line-height:1.45!important}
.bc-rank-comparison-table{min-width:900px!important}
.bc-rank-comparison-table th,.bc-rank-comparison-table td{padding:17px 18px!important;font-size:14px!important;line-height:1.45!important}
.bc-rank-comparison-table thead th{font-size:15px!important}
.bc-rank-comparison-table tbody th{width:290px!important;font-size:14px!important}
.bc-rank-comparison-table tbody td{color:#d1dbe7!important;font-weight:750!important}
.bc-rank-comparison-table .is-yes{font-size:19px!important}
.bc-rank-comparison-table .is-no{font-size:18px!important}
.bc-rank-premium-page-card .bc-product-card-name{font-size:21px!important}
.bc-rank-premium-page-card .bc-product-card-price-top strong{font-size:26px!important}
.bc-rank-premium-page-card .bc-product-add{font-size:13px!important}
@media(max-width:900px){
  .bc-rank-comparison-heading h2{font-size:26px!important}
  .bc-rank-comparison-table th,.bc-rank-comparison-table td{padding:15px 16px!important;font-size:13px!important}
}


/* Patreon comparison values */
.bc-rank-comparison-table .bc-rank-table-note {
  color: #8494a8;
  font-weight: 800;
}

.bc-rank-comparison-table code {
  padding: 3px 6px;
  border: 1px solid rgba(239,57,66,.18);
  border-radius: 6px;
  background: rgba(239,57,66,.07);
  color: #ff9da2;
  font-family: inherit;
  font-size: .92em;
  font-weight: 900;
}


/* =========================================================
   Rank page correction
   Keeps the finalized table/disclaimers from v49.
   Cards: Sponsor -> Superior -> Patreon
   ========================================================= */
.bc-rank-price-sub {
  display: block;
  flex-basis: 100%;
  margin-top: 3px;
  color: #ff7b83;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .06em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.bc-rank-premium-page-card .bc-product-card-price-top {
  flex-wrap: wrap !important;
}

/* Fit the finalized table inside the page without changing its rows. */
.bc-rank-comparison-scroll {
  overflow-x: hidden !important;
}

.bc-rank-comparison-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
}

.bc-rank-comparison-table thead th:first-child,
.bc-rank-comparison-table tbody th {
  width: 28% !important;
  min-width: 0 !important;
  max-width: none !important;
  white-space: normal !important;
}

.bc-rank-comparison-table thead th:not(:first-child),
.bc-rank-comparison-table tbody td {
  width: 24% !important;
  min-width: 0 !important;
  max-width: none !important;
}

.bc-rank-comparison-table th,
.bc-rank-comparison-table td {
  padding-right: 12px !important;
  padding-left: 12px !important;
  overflow-wrap: anywhere;
  word-break: normal;
}


/* =========================================================
   Product gift action
   ========================================================= */
.bc-product-gift {
  width: 44px;
  min-height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(105, 144, 188, .28);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(30, 53, 88, .98), rgba(17, 34, 59, .99));
  color: #ffffff;
  font-size: 15px;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.bc-product-gift:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 57, 66, .55);
  background: linear-gradient(180deg, #ef3942, #b7121a);
  box-shadow: 0 10px 22px rgba(192, 19, 29, .22);
}

.bc-gift-actions {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(105, 144, 188, .20);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(17, 32, 55, .97), rgba(8, 18, 32, .99));
}

.bc-gift-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.bc-gift-heading-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(145deg, #ef3942, #b7121a);
}

.bc-gift-heading strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
}

.bc-gift-heading p {
  margin: 3px 0 0;
  color: #8fa1b6;
  font-size: 10px;
  font-weight: 650;
}

.bc-gift-label {
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.bc-gift-input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(126, 157, 191, .24);
  border-radius: 10px;
  outline: none;
  background: rgba(6, 15, 27, .96);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, .22);
}

.bc-gift-input:focus {
  border-color: #ef3942;
  box-shadow:
    0 0 0 3px rgba(239, 57, 66, .10),
    inset 0 1px 8px rgba(0, 0, 0, .22);
}

.bc-gift-bedrock {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: 1px solid rgba(105, 144, 188, .16);
  border-radius: 10px;
  background: rgba(5, 14, 26, .55);
}

.bc-gift-bedrock input {
  width: 17px;
  height: 17px;
  accent-color: #ef3942;
}

.bc-gift-bedrock strong,
.bc-gift-bedrock small {
  display: block;
}

.bc-gift-bedrock strong {
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
}

.bc-gift-bedrock small {
  margin-top: 2px;
  color: #8395ab;
  font-size: 9px;
  font-weight: 650;
}

.bc-gift-warning {
  margin: 0;
  padding: 10px 11px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 9px;
  background: rgba(239, 57, 66, .075);
  color: #b7c3d2;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
}

.bc-gift-warning i {
  margin-top: 2px;
  color: #ff626a;
}

.bc-gift-buttons {
  display: flex;
  gap: 10px;
}

.bc-gift-back,
.bc-gift-submit {
  min-height: 48px;
  border-radius: 10px;
  font-weight: 950;
}

.bc-gift-back {
  width: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(105, 144, 188, .20);
  background: rgba(255, 255, 255, .04);
  color: #ffffff;
}

.bc-gift-submit {
  flex: 1;
  border: 1px solid rgba(255, 91, 98, .30);
  background: linear-gradient(180deg, #ef3942, #c21720);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 11px 26px rgba(192, 19, 29, .24);
}

.bc-gift-submit:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

/* Rank product note inside the info modal */
.bc-rank-modal-note {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(239, 57, 66, .22);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(20, 37, 63, .96), rgba(8, 18, 32, .98));
}

.bc-rank-modal-note-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(145deg, #ef3942, #b7121a);
}

.bc-rank-modal-note strong {
  display: block;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
}

.bc-rank-modal-note p {
  margin: 5px 0 0;
  color: #9fb1c7;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}


/* =========================================================
   Working gift checkout flow
   ========================================================= */
.bc-gift-recipient-summary {
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(239, 57, 66, .24);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(52, 24, 34, .42), rgba(27, 16, 25, .48));
}

.bc-gift-recipient-summary-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #ef3942, #b7121a);
}

.bc-gift-recipient-summary small,
.bc-gift-recipient-summary strong {
  display: block;
}

.bc-gift-recipient-summary small {
  color: #9fb1c7;
  font-size: 9px;
  font-weight: 700;
}

.bc-gift-recipient-summary strong {
  margin-top: 2px;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.bc-gift-checkout-note {
  margin: 0;
  padding: 10px 11px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 9px;
  background: rgba(105, 144, 188, .07);
  color: #9fb1c7;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
}

.bc-gift-checkout-note i {
  margin-top: 2px;
  color: #7ea5d0;
}


/* =========================================================
   One-screen gifting
   ========================================================= */
.bc-gift-field {
  display: grid;
  gap: 7px;
}

.bc-gift-field-help {
  color: #8193a9;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.4;
}

.bc-gift-server-select {
  width: 100% !important;
  min-height: 48px;
  padding: 0 42px 0 14px !important;
  border: 1px solid rgba(126, 157, 191, .24) !important;
  border-radius: 10px !important;
  outline: none !important;
  background-color: rgba(6, 15, 27, .96) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.bc-gift-server-select:focus {
  border-color: #ef3942 !important;
  box-shadow: 0 0 0 3px rgba(239, 57, 66, .10) !important;
}

.bc-gift-custom-options {
  display: grid;
  gap: 13px;
}

.bc-gift-submit-full {
  width: 100%;
  min-height: 50px;
}

.bc-gift-actions .bc-gift-buttons {
  display: none !important;
}


/* =========================================================
   BossCraft Vote Page
   ========================================================= */
.bc-vote-page {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 8px 0 30px;
}

.bc-vote-page-hero {
  position: relative;
  margin-bottom: 22px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(239, 57, 66, .30);
  border-radius: 17px;
  background:
    radial-gradient(circle at 8% 20%, rgba(239, 57, 66, .17), transparent 35%),
    linear-gradient(135deg, rgba(24, 42, 70, .99), rgba(7, 17, 31, .995));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .035),
    0 18px 42px rgba(0, 0, 0, .30);
}

.bc-vote-page-hero::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -20px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(239, 57, 66, .065);
  filter: blur(4px);
  pointer-events: none;
}

.bc-vote-page-hero-icon {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  font-size: 27px;
  background: linear-gradient(145deg, #ef3942, #a90f17);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .17),
    0 12px 26px rgba(192, 19, 29, .28);
}

.bc-vote-page-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.bc-vote-page-hero-copy > span {
  display: block;
  margin-bottom: 5px;
  color: #ff7f86;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.bc-vote-page-hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 950;
  line-height: 1.02;
}

.bc-vote-page-description {
  margin-top: 9px;
  color: #9fb1c7;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
}

.bc-vote-page-description p {
  margin: 0;
}

.bc-vote-page-list {
  display: grid;
  gap: 12px;
}

.bc-vote-page-card {
  min-height: 88px;
  padding: 14px 17px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(105, 144, 188, .24);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(21, 38, 65, .98), rgba(9, 20, 36, .995));
  color: #ffffff;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .025),
    0 12px 28px rgba(0, 0, 0, .22);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.bc-vote-page-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  background: linear-gradient(145deg, #ef3942, #a90f17);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .15),
    0 9px 20px rgba(192, 19, 29, .23);
}

.bc-vote-page-site {
  min-width: 0;
}

.bc-vote-page-site strong,
.bc-vote-page-site small {
  display: block;
}

.bc-vote-page-site strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bc-vote-page-site small {
  margin-top: 5px;
  overflow: hidden;
  color: #8fa2b9;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bc-vote-page-action {
  min-width: 108px;
  min-height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(239, 57, 66, .20);
  border-radius: 10px;
  background: rgba(239, 57, 66, .08);
  color: #ff969c;
  font-size: 11px;
  font-weight: 950;
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.bc-vote-page-card:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 57, 66, .48);
  background:
    linear-gradient(90deg, rgba(26, 45, 76, .99), rgba(10, 22, 39, .995));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .035),
    0 17px 34px rgba(0, 0, 0, .28),
    0 0 23px rgba(239, 57, 66, .06);
}

.bc-vote-page-card:hover .bc-vote-page-action {
  transform: translateX(2px);
  background: linear-gradient(145deg, #ef3942, #b7121a);
  color: #ffffff;
}

.bc-vote-page-footer {
  margin-top: 20px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(105, 144, 188, .16);
  border-radius: 12px;
  background: rgba(9, 20, 36, .72);
  color: #9fb1c7;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.bc-vote-page-footer i {
  color: #ef4a53;
}

@media (max-width: 640px) {
  .bc-vote-page-hero {
    padding: 22px;
    align-items: flex-start;
  }

  .bc-vote-page-hero-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    font-size: 22px;
  }

  .bc-vote-page-card {
    grid-template-columns: 48px minmax(0, 1fr) 38px;
    gap: 12px;
    min-height: 78px;
    padding: 12px;
  }

  .bc-vote-page-number {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }

  .bc-vote-page-site strong {
    font-size: 14px;
  }

  .bc-vote-page-site small {
    font-size: 9px;
  }

  .bc-vote-page-action {
    min-width: 38px;
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    font-size: 0;
  }

  .bc-vote-page-action i {
    font-size: 13px;
  }
}

/* =========================================================
   BossCraft Vote Page — large landing-page style
   Paste this entire block at the bottom of app.css
   ========================================================= */

   .bc-vote-landing {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 10px 0 34px;
  }
  
  .bc-vote-landing-panel {
    overflow: hidden;
    border: 1px solid rgba(239, 57, 66, .55);
    border-radius: 20px;
    background:
      linear-gradient(
        180deg,
        rgba(5, 15, 28, .985),
        rgba(4, 12, 23, .995)
      );
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .025),
      0 24px 56px rgba(0, 0, 0, .36);
  }
  
  /* =========================================================
     Hero
     Keeps the main BossCraft logo on the right while placing
     the castle artwork behind the full hero.
     ========================================================= */
  
  .bc-vote-landing-hero {
    position: relative;
    min-height: 430px;
    padding: 38px 42px 34px;
  
    display: grid;
    grid-template-columns:
      minmax(0, .95fr)
      minmax(360px, 1.05fr);
    align-items: center;
    gap: 28px;
  
    overflow: hidden;
    isolation: isolate;
  
    border-bottom: 1px solid rgba(239, 57, 66, .22);
  
    background:
      linear-gradient(
        90deg,
        rgba(3, 10, 20, .94) 0%,
        rgba(3, 10, 20, .86) 30%,
        rgba(3, 10, 20, .58) 57%,
        rgba(3, 10, 20, .34) 78%,
        rgba(3, 10, 20, .24) 100%
      ),
      linear-gradient(
        180deg,
        rgba(3, 10, 20, .18),
        rgba(3, 10, 20, .38)
      ),
      url("https://i.imgur.com/21UndTU.png")
        center center / cover no-repeat;
  }
  
  /* Extra atmosphere over the background image */
  .bc-vote-landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
  
    background:
      radial-gradient(
        circle at 73% 47%,
        rgba(239, 57, 66, .14),
        transparent 34%
      ),
      radial-gradient(
        circle at 84% 15%,
        rgba(72, 139, 228, .13),
        transparent 29%
      );
  
    pointer-events: none;
  }
  
  /* Bottom vignette for cleaner blending */
  .bc-vote-landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
  
    background:
      linear-gradient(
        180deg,
        transparent 60%,
        rgba(3, 10, 20, .34) 100%
      );
  
    pointer-events: none;
  }
  
  .bc-vote-landing-copy,
  .bc-vote-landing-art {
    position: relative;
    z-index: 2;
  }
  
  /* =========================================================
     Breadcrumb
     ========================================================= */
  
  .bc-vote-breadcrumb {
    margin-bottom: 34px;
  
    display: flex;
    align-items: center;
    gap: 10px;
  
    color: #9dafc4;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
  }
  
  .bc-vote-breadcrumb a {
    color: #dbe5f1;
    text-decoration: none;
  }
  
  .bc-vote-breadcrumb a:hover {
    color: #ffffff;
  }
  
  .bc-vote-breadcrumb i {
    color: #63758b;
    font-size: 8px;
  }
  
  .bc-vote-breadcrumb span {
    color: #ff5a64;
  }
  
  /* =========================================================
     Hero copy
     ========================================================= */
  
  .bc-vote-brand {
    display: block;
    margin-bottom: 8px;
  
    color: #ffffff;
    font-size: 34px;
    font-weight: 950;
    line-height: 1;
  
    text-shadow:
      0 4px 18px rgba(0, 0, 0, .62);
  }
  
  .bc-vote-landing-copy h1 {
    margin: 0;
  
    color: #ff4f59;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 950;
    line-height: .95;
    letter-spacing: -.045em;
    text-transform: uppercase;
  
    text-shadow:
      0 12px 34px rgba(0, 0, 0, .52),
      0 0 20px rgba(239, 57, 66, .08);
  }
  
  .bc-vote-title-line {
    width: 175px;
    margin: 22px 0 26px;
  
    display: grid;
    grid-template-columns: 1fr 8px 1fr;
    align-items: center;
    gap: 8px;
  }
  
  .bc-vote-title-line b {
    height: 2px;
    background:
      linear-gradient(
        90deg,
        #ef3942,
        rgba(239, 57, 66, .16)
      );
  }
  
  .bc-vote-title-line b:last-child {
    background:
      linear-gradient(
        90deg,
        rgba(239, 57, 66, .16),
        #ef3942
      );
  }
  
  .bc-vote-title-line i {
    width: 7px;
    height: 7px;
  
    border: 2px solid #ef3942;
  
    transform: rotate(45deg);
  }
  
  .bc-vote-landing-description {
    max-width: 520px;
  
    color: #d7e0eb;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.65;
  
    text-shadow:
      0 3px 12px rgba(0, 0, 0, .82);
  }
  
  .bc-vote-landing-description p {
    margin: 0 0 15px;
  }
  
  /* =========================================================
     Main BossCraft logo on the right
     ========================================================= */
  
  .bc-vote-landing-art {
    min-height: 300px;
  
    display: grid;
    place-items: center;
  }
  
  .bc-vote-landing-art::before {
    content: "";
    position: absolute;
  
    width: 420px;
    height: 260px;
  
    border-radius: 50%;
  
    background:
      radial-gradient(
        circle,
        rgba(8, 23, 42, .68),
        rgba(8, 23, 42, .22) 56%,
        transparent 74%
      );
  
    filter: blur(22px);
  }
  
  .bc-vote-landing-art img {
    position: relative;
    z-index: 1;
  
    width: min(500px, 94%);
    max-height: 320px;
  
    object-fit: contain;
  
    filter:
      drop-shadow(0 18px 26px rgba(0, 0, 0, .56))
      drop-shadow(0 0 22px rgba(239, 57, 66, .12));
  }
  
  /* =========================================================
     Vote list container
     ========================================================= */
  
  .bc-vote-landing-list {
    margin: 24px;
    padding: 14px;
  
    display: grid;
    gap: 11px;
  
    border: 1px solid rgba(239, 57, 66, .22);
    border-radius: 16px;
  
    background:
      rgba(7, 18, 33, .82);
  }
  
  /* =========================================================
     Vote cards
     ========================================================= */
  
  .bc-vote-landing-card {
    min-height: 90px;
    padding: 13px 15px;
  
    display: grid;
    grid-template-columns:
      64px
      minmax(0, 1fr)
      auto;
    align-items: center;
    gap: 18px;
  
    border: 1px solid rgba(239, 57, 66, .34);
    border-radius: 13px;
  
    background:
      linear-gradient(
        90deg,
        rgba(25, 45, 75, .98),
        rgba(8, 19, 34, .995)
      );
  
    color: #ffffff;
    text-decoration: none;
  
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .025),
      0 10px 24px rgba(0, 0, 0, .20);
  
    transition:
      transform .2s ease,
      border-color .2s ease,
      box-shadow .2s ease,
      background .2s ease;
  }
  
  .bc-vote-landing-number {
    width: 58px;
    height: 58px;
  
    display: grid;
    place-items: center;
  
    border: 1px solid rgba(255, 92, 101, .68);
    border-radius: 12px;
  
    background:
      linear-gradient(
        145deg,
        #c91c27,
        #7c0b12
      );
  
    color: #ffffff;
    font-size: 23px;
    font-weight: 950;
  
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .14),
      0 8px 18px rgba(178, 16, 25, .26);
  }
  
  .bc-vote-landing-site {
    min-width: 0;
  }
  
  .bc-vote-landing-site strong,
  .bc-vote-landing-site small {
    display: block;
  }
  
  .bc-vote-landing-site strong {
    overflow: hidden;
  
    color: #ffffff;
    font-size: 19px;
    font-weight: 950;
    line-height: 1.15;
  
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .bc-vote-landing-site small {
    margin-top: 6px;
    overflow: hidden;
  
    color: #aab9ca;
    font-size: 12px;
    font-weight: 700;
  
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .bc-vote-landing-action {
    min-width: 142px;
    min-height: 50px;
    padding: 0 18px;
  
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
  
    border: 1px solid rgba(255, 93, 102, .52);
    border-radius: 10px;
  
    background:
      linear-gradient(
        145deg,
        #a90f18,
        #62080d
      );
  
    color: #ffffff;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
  
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .08),
      0 8px 18px rgba(154, 12, 20, .18);
  
    transition:
      transform .2s ease,
      filter .2s ease,
      box-shadow .2s ease;
  }
  
  .bc-vote-landing-card:hover {
    transform: translateY(-2px);
  
    border-color: rgba(255, 85, 95, .74);
  
    background:
      linear-gradient(
        90deg,
        rgba(30, 52, 86, .995),
        rgba(10, 22, 40, .995)
      );
  
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .035),
      0 16px 32px rgba(0, 0, 0, .28),
      0 0 24px rgba(239, 57, 66, .07);
  }
  
  .bc-vote-landing-card:hover .bc-vote-landing-action {
    transform: translateX(2px);
  
    filter: brightness(1.12);
  
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .12),
      0 10px 22px rgba(181, 15, 24, .26);
  }
  
  /* =========================================================
     Thank-you footer
     ========================================================= */
  
  .bc-vote-landing-thanks {
    padding: 8px 24px 28px;
  
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  
    color: #aebccc;
    font-size: 14px;
    font-weight: 650;
    text-align: center;
  }
  
  .bc-vote-landing-thanks i,
  .bc-vote-landing-thanks strong {
    color: #ef3942;
  }

  /* =========================================================
   Vote Daily — secondary blue action
   ========================================================= */
.bc-voting-card {
  min-height: 82px !important;
  padding: 14px 18px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;

  border: 1px solid rgba(105, 144, 188, .28) !important;
  border-radius: 16px !important;

  background:
    linear-gradient(
      90deg,
      rgba(27, 45, 77, .96),
      rgba(17, 31, 53, .94)
    ) !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .03),
    0 12px 28px rgba(0, 0, 0, .24) !important;

  color: #ffffff !important;
  text-decoration: none !important;

  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease !important;
}

.bc-voting-main {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.bc-voting-main > i {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;

  display: grid !important;
  place-items: center !important;

  border-radius: 11px !important;

  color: #ffffff !important;
  font-size: 21px !important;

  background:
    linear-gradient(145deg, #ef3942, #b7121a) !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 9px 20px rgba(202, 24, 34, .22) !important;
}

.bc-voting-main > span {
  min-width: 0 !important;
}

.bc-voting-main strong {
  display: block !important;

  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
}

.bc-voting-main small {
  display: block !important;

  margin-top: 5px !important;

  color: #9fb1c7 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.bc-voting-card > .fa-chevron-right {
  color: #91a5bd !important;
  font-size: 16px !important;

  transition:
    transform .2s ease,
    color .2s ease !important;
}

.bc-voting-card:hover {
  transform: translateY(-2px) !important;

  border-color: rgba(239, 57, 66, .45) !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 16px 34px rgba(0, 0, 0, .28),
    0 0 20px rgba(239, 57, 66, .07) !important;
}

.bc-voting-card:hover > .fa-chevron-right {
  color: #ffffff !important;
  transform: translateX(3px) !important;
}

/* =========================================================
   Store Menu — primary red action
   ========================================================= */
   .bc-store-menu-button {
    min-height: 82px !important;
    padding: 14px 18px !important;
  
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
  
    border: 1px solid rgba(255, 89, 98, .72) !important;
    border-radius: 16px !important;
  
    background:
      linear-gradient(135deg, #b80f1a, #7f0c14) !important;
  
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.10),
      0 12px 28px rgba(155, 14, 23, .28) !important;
  }
  
  .bc-store-menu-button > span {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
  
    display: grid !important;
    place-items: center !important;
  
    border-radius: 11px !important;
    color: #fff !important;
    background: rgba(255,255,255,.10) !important;
  
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.12) !important;
  }
  
  .bc-store-menu-button > span i {
    font-size: 21px !important;
  }
  
  .bc-store-menu-button strong {
    flex: 1 !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 950 !important;
    text-align: left !important;
    line-height: 1 !important;
  }
  
  .bc-store-menu-button::before,
  .bc-store-menu-button::after {
    content: none !important;
  }
  
  .bc-store-menu-button:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.06) !important;
  
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.12),
      0 16px 34px rgba(155, 14, 23, .34) !important;
  }

  /* Force 100% to fit completely inside the Community Goal ring */
.bc-community-goal-clean-value {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  pointer-events: none !important;
}

.bc-community-goal-clean-value .bc-goal-count {
  display: block !important;
  width: auto !important;
  max-width: 76% !important;
  margin: 0 !important;

  color: #fff !important;
  font-size: 42px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: -3px !important;
  white-space: nowrap !important;
  text-align: center !important;

  transform: translateX(-1px) scaleX(.88) !important;
  transform-origin: center !important;

  text-shadow:
    0 4px 14px rgba(0, 0, 0, .48),
    0 0 18px rgba(255, 75, 84, .20) !important;
}

/* =========================================================
   FINAL RESPONSIVE PASS
   Mobile + tablet only. Desktop appearance is unchanged.
   ========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

button,
a,
select,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

@media (hover: none) {
  .bc-product-card:hover,
  .bc-vote-landing-card:hover,
  .bc-voting-card:hover,
  .bc-store-menu-button:hover,
  .bc-header-card:hover {
    transform: none !important;
  }
}

/* =========================================================
   TABLET — 1180px and below
   ========================================================= */
@media (max-width: 1180px) {
  #content > .container,
  .bc-home-hero-row,
  .bc-home-storebar {
    width: 100% !important;
    max-width: 100% !important;
  }

  #content > .container {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .bc-home-hero-row,
  .bc-home-storebar {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .bc-home-grid {
    grid-template-columns: minmax(245px, 300px) minmax(0, 1fr) !important;
    gap: 22px !important;
  }

  .bc-main-panel {
    gap: 24px !important;
  }

  .bc-main-panel-copy,
  .bc-main-panel-image {
    min-width: 0 !important;
  }

  .bc-category-layout {
    grid-template-columns: minmax(220px, 285px) minmax(0, 1fr) !important;
    gap: 20px !important;
  }

  .bc-category-products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .bc-rank-premium-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .bc-rank-premium-page-card {
    min-width: 0 !important;
  }

  .bc-rank-comparison {
    max-width: 100% !important;
  }

  .bc-rank-comparison-scroll {
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .bc-rank-comparison-table {
    min-width: 760px !important;
  }

  .bc-vote-landing {
    width: 100% !important;
  }

  .bc-vote-landing-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr) !important;
    padding: 34px !important;
  }

  .bc-vote-landing-art img {
    width: min(430px, 100%) !important;
  }
}

/* =========================================================
   SMALL TABLET — 960px and below
   ========================================================= */
@media (max-width: 960px) {
  #content {
    padding-top: 24px !important;
  }

  #content > .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .bc-home-hero {
    padding-top: 16px !important;
  }

  .bc-home-hero-row {
    grid-template-columns: 1fr auto 1fr !important;
    gap: 14px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .bc-header-card {
    min-width: 0 !important;
    padding: 12px !important;
  }

  .bc-header-card-copy strong {
    font-size: 11px !important;
  }

  .bc-header-card-copy small,
  .bc-header-count {
    font-size: 8px !important;
  }

  .bc-home-logo img {
    max-width: 220px !important;
    max-height: 140px !important;
  }

  .bc-home-storebar {
    gap: 14px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .bc-store-menu-button {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .bc-home-store-actions {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  .bc-home-storebar .bc-account-block,
  .bc-home-storebar .bc-account-card,
  .bc-home-storebar .user-block {
    min-width: 220px !important;
    max-width: 280px !important;
  }

  .bc-home-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .bc-home-sidebar {
    width: 100% !important;
    max-width: none !important;
  }

  .bc-home-modules {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .bc-voting-card {
    width: 100% !important;
  }

  .bc-home-main {
    width: 100% !important;
    min-width: 0 !important;
  }

  .bc-main-panel {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr) !important;
  }

  .bc-category-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  .bc-category-description-card {
    width: 100% !important;
    position: static !important;
  }

  .bc-category-description-content img {
    max-height: 360px !important;
    object-fit: contain !important;
  }

  .bc-product-page-card {
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr) !important;
  }

  .bc-product-page-image {
    width: 100% !important;
    height: auto !important;
    max-height: 430px !important;
    object-fit: contain !important;
  }

  .bc-vote-landing-hero {
    min-height: 0 !important;
    grid-template-columns: 1fr 1fr !important;
    padding: 30px !important;
  }

  .bc-vote-landing-copy h1 {
    font-size: clamp(42px, 7vw, 62px) !important;
  }

  .bc-vote-landing-description {
    font-size: 14px !important;
  }

  .bc-vote-landing-art {
    min-height: 240px !important;
  }
}

/* =========================================================
   LARGE PHONE / PORTRAIT TABLET — 760px and below
   ========================================================= */
@media (max-width: 760px) {
  #content {
    padding-top: 18px !important;
    padding-bottom: 56px !important;
  }

  #content > .container,
  .bc-home-hero-row,
  .bc-home-storebar {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .bc-home-hero-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "logo logo"
      "discord server" !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .bc-home-logo {
    grid-area: logo !important;
    margin: 0 auto 4px !important;
  }

  .bc-header-discord {
    grid-area: discord !important;
  }

  .bc-header-server {
    grid-area: server !important;
  }

  .bc-home-logo img {
    width: min(250px, 74vw) !important;
    max-width: 100% !important;
    max-height: 150px !important;
  }

  .bc-header-card {
    min-height: 72px !important;
    width: 100% !important;
    padding: 10px !important;
  }

  .bc-header-icon {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
  }

  .bc-header-card-copy {
    min-width: 0 !important;
  }

  .bc-header-card-copy strong,
  .bc-header-card-copy small {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .bc-header-count {
    display: none !important;
  }

  .bc-home-storebar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .bc-store-menu-button {
    width: 100% !important;
    min-height: 70px !important;
    padding: 12px 14px !important;
  }

  .bc-store-menu-button > span {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
  }

  .bc-store-menu-button strong {
    font-size: 18px !important;
  }

  .bc-home-store-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(80px, 110px) minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .bc-home-currency,
  .bc-home-currency select {
    width: 100% !important;
    min-width: 0 !important;
  }

  .bc-home-storebar .bc-account-block,
  .bc-home-storebar .bc-account-card,
  .bc-home-storebar .user-block {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .bc-home-modules {
    grid-template-columns: 1fr !important;
  }

  .bc-main-panel,
  .bc-help-panel {
    display: flex !important;
    flex-direction: column !important;
  }

  .bc-main-panel {
    padding: 24px !important;
  }

  .bc-main-panel-copy h1,
  .bc-main-panel h1 {
    font-size: clamp(30px, 9vw, 46px) !important;
  }

  .bc-main-panel-image {
    width: 100% !important;
    min-height: 180px !important;
  }

  .bc-main-panel-image img {
    max-height: 280px !important;
  }

  .bc-content-panel,
  .bc-help-panel,
  .bc-refund-panel {
    padding: 22px !important;
  }

  .bc-discord-help-button,
  .bc-support-email {
    width: 100% !important;
    justify-content: center !important;
  }

  .bc-home-disclaimers {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .bc-category-panel,
  .bc-category-description-card {
    padding: 20px !important;
  }

  .bc-category-panel-heading h1 {
    font-size: clamp(28px, 8vw, 40px) !important;
  }

  .bc-category-products,
  .bc-rank-premium-page-grid {
    grid-template-columns: 1fr !important;
  }

  .bc-product-card {
    min-width: 0 !important;
  }

  .bc-product-image-box img {
    max-height: 330px !important;
  }

  .bc-product-page-card {
    grid-template-columns: 1fr !important;
  }

  .bc-product-page-media,
  .bc-product-page-content {
    padding: 22px !important;
  }

  .bc-product-page-title-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .bc-product-page-price {
    text-align: left !important;
  }

  .bc-product-page-actions {
    flex-wrap: wrap !important;
  }

  .bc-product-page-primary,
  .bc-product-page-secondary,
  .bc-product-page-gift {
    min-width: 0 !important;
    flex: 1 1 180px !important;
  }

  .bc-rank-page-banner {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
  }

  .bc-rank-page-banner-badge {
    margin-left: 0 !important;
  }

  .bc-rank-comparison {
    padding: 16px !important;
  }

  .bc-rank-comparison-table {
    min-width: 700px !important;
  }

  .bc-rank-disclaimers p {
    text-align: left !important;
  }

  /* Modal sizing */
  [x-show="modal.isOpen"] > div,
  .modal-content,
  .bc-modal-panel {
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
  }

  .fixed.inset-0 > .relative,
  .fixed.inset-0 > div {
    max-width: calc(100vw - 24px);
  }

  .bc-gift-actions {
    padding: 14px !important;
  }

  .bc-gift-server-select,
  .bc-gift-input {
    font-size: 16px !important;
  }

  /* Cart */
  .bc-cart-item,
  .bc-cart-line {
    min-width: 0 !important;
  }

  .bc-cart-item-main {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }

  /* Vote page */
  .bc-vote-landing {
    padding: 0 0 24px !important;
  }

  .bc-vote-landing-panel {
    border-radius: 15px !important;
  }

  .bc-vote-landing-hero {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    padding: 26px 22px !important;
    background-position: 68% center !important;
  }

  .bc-vote-breadcrumb {
    margin-bottom: 22px !important;
  }

  .bc-vote-brand {
    font-size: 26px !important;
  }

  .bc-vote-landing-copy h1 {
    max-width: 100% !important;
    font-size: clamp(38px, 13vw, 54px) !important;
    overflow-wrap: anywhere;
  }

  .bc-vote-title-line {
    margin: 18px 0 20px !important;
  }

  .bc-vote-landing-description {
    max-width: 100% !important;
    font-size: 13px !important;
  }

  .bc-vote-landing-art {
    min-height: 190px !important;
  }

  .bc-vote-landing-art img {
    width: min(340px, 90vw) !important;
    max-height: 230px !important;
  }

  .bc-vote-landing-list {
    margin: 14px !important;
    padding: 10px !important;
  }

  .bc-vote-landing-card {
    min-height: 76px !important;
    grid-template-columns: 48px minmax(0, 1fr) 42px !important;
    gap: 11px !important;
    padding: 10px !important;
  }

  .bc-vote-landing-number {
    width: 44px !important;
    height: 44px !important;
    font-size: 16px !important;
  }

  .bc-vote-landing-site strong {
    font-size: 14px !important;
  }

  .bc-vote-landing-site small {
    font-size: 9px !important;
  }

  .bc-vote-landing-action {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }

  .bc-vote-landing-action i {
    font-size: 13px !important;
  }
}

/* =========================================================
   SMALL PHONE — 480px and below
   ========================================================= */
@media (max-width: 480px) {
  #content > .container,
  .bc-home-hero-row,
  .bc-home-storebar {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .bc-home-hero-row {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "logo"
      "discord"
      "server" !important;
  }

  .bc-header-card {
    min-height: 64px !important;
  }

  .bc-header-count {
    display: block !important;
    margin-left: auto !important;
    font-size: 7px !important;
  }

  .bc-home-logo img {
    width: min(220px, 80vw) !important;
  }

  .bc-home-store-actions {
    grid-template-columns: 88px minmax(0, 1fr) !important;
  }

  .bc-home-storebar .bc-account-copy strong,
  .bc-home-storebar .bc-account-card-copy strong {
    font-size: 13px !important;
  }

  .bc-home-storebar .bc-account-copy small,
  .bc-home-storebar .bc-account-card-copy small {
    font-size: 9px !important;
  }

  .bc-home-storebar .bc-account-avatar,
  .bc-home-storebar .bc-account-card-render {
    width: 54px !important;
    min-width: 54px !important;
  }

  .bc-voting-card {
    min-height: 72px !important;
    padding: 12px !important;
  }

  .bc-voting-main > i {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  .bc-voting-main strong {
    font-size: 16px !important;
  }

  .bc-voting-main small {
    max-width: 190px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .bc-main-panel,
  .bc-content-panel,
  .bc-help-panel,
  .bc-refund-panel,
  .bc-category-panel,
  .bc-category-description-card {
    padding: 17px !important;
    border-radius: 13px !important;
  }

  .bc-category-products {
    gap: 14px !important;
  }

  .bc-product-card-price-top strong {
    font-size: 25px !important;
  }

  .bc-product-actions {
    gap: 8px !important;
  }

  .bc-product-add {
    min-width: 0 !important;
    font-size: 12px !important;
  }

  .bc-product-gift,
  .bc-product-info {
    width: 44px !important;
    flex: 0 0 44px !important;
  }

  .bc-product-page-media,
  .bc-product-page-content {
    padding: 17px !important;
  }

  .bc-product-page-title-row h1 {
    font-size: 27px !important;
  }

  .bc-product-page-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .bc-product-page-primary,
  .bc-product-page-secondary,
  .bc-product-page-gift {
    width: 100% !important;
  }

  .bc-community-goal-clean-body {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .bc-community-goal-clean-ring {
    max-width: 210px !important;
    max-height: 210px !important;
  }

  .bc-community-goal-clean-value .bc-goal-count {
    font-size: 37px !important;
    letter-spacing: -2px !important;
  }

  .bc-vote-landing-hero {
    padding: 21px 17px !important;
  }

  .bc-vote-breadcrumb {
    font-size: 9px !important;
  }

  .bc-vote-landing-copy h1 {
    font-size: 38px !important;
  }

  .bc-vote-landing-art {
    min-height: 160px !important;
  }

  .bc-vote-landing-art img {
    max-height: 190px !important;
  }

  .bc-vote-landing-list {
    margin: 10px !important;
    padding: 8px !important;
  }

  .bc-vote-landing-card {
    grid-template-columns: 42px minmax(0, 1fr) 38px !important;
    gap: 9px !important;
  }

  .bc-vote-landing-number {
    width: 38px !important;
    height: 38px !important;
    font-size: 14px !important;
  }

  .bc-vote-landing-site strong {
    font-size: 12px !important;
  }

  .bc-vote-landing-action {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
  }

  /* Make all long text safe on narrow screens */
  .bc-richtext,
  .prose,
  .bc-category-description-content,
  .bc-product-description,
  .bc-home-disclaimers {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}

/* =========================================================
   VERY SMALL PHONE — 360px and below
   ========================================================= */
@media (max-width: 360px) {
  .bc-home-store-actions {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  .bc-header-card-copy strong {
    font-size: 10px !important;
  }

  .bc-header-card-copy small {
    font-size: 7px !important;
  }

  .bc-store-menu-button strong {
    font-size: 16px !important;
  }

  .bc-vote-landing-copy h1 {
    font-size: 34px !important;
  }

  .bc-vote-landing-card {
    grid-template-columns: 36px minmax(0, 1fr) 34px !important;
    gap: 7px !important;
    padding: 8px !important;
  }

  .bc-vote-landing-number {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
  }

  .bc-vote-landing-action {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
  }
}


/* =========================================================
   Server option + modal responsive safeguards
   ========================================================= */
.bc-product-server-select,
#gameServerDropdown {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
}

@media (max-width: 760px) {
  .bc-product-server-select,
  #gameServerDropdown,
  select[id^="customVariables"],
  input[id^="customVariables"] {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 50px !important;
    font-size: 16px !important;
  }

  .bc-product-option-help {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  .bc-modal-panel,
  [x-show="modal.isOpen"] .relative {
    width: min(100%, calc(100vw - 20px)) !important;
    max-height: calc(100dvh - 20px) !important;
    overflow-y: auto !important;
  }
}


/* Final mobile safeguards for option selectors and cart promotion */
@media (max-width: 520px) {
  .bc-cart-promo {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .bc-cart-promo-copy {
    min-width: 0;
  }

  .bc-cart-promo-copy p {
    overflow-wrap: anywhere;
  }

  .bc-product-server-select,
  select[id="gameServerDropdown"] {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 50px !important;
    font-size: 16px !important;
  }
}
