/* Account first, original Halloween artwork unframed. Load after v2. */
body.pr-halloween .pr-navbar.hw-v3nav {
  width: min(1240px, calc(100% - 28px));
  top: 10px;
  margin: 14px auto 12px;
  border-color: #63432d;
  background: linear-gradient(172deg, #32241d, #211b1c 76%);
}
body.pr-halloween .hw-v3nav .pr-navbar__inner {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "account center actions";
  min-height: 86px;
  padding: 8px 18px;
  gap: 18px;
}
body.pr-halloween .pr-navbar.hw-v3nav :is(a, button, span),
body.pr-halloween .hw-v3-cartdrop :is(a, button, span) { text-transform: uppercase; }
body.pr-halloween .hw-v3nav .hw-v3-account { grid-area: account; min-width: 0; justify-self: start; }
body.pr-halloween .hw-v3nav :is(.pr-navbar__user, .hw-v3-login) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 44px;
  min-height: 48px;
  width: auto;
  height: auto;
  padding: 3px 0;
  border: 0;
  border-radius: 5px;
  background: none;
  color: #f7e8d0;
  font-family: var(--font-body, sans-serif);
  text-decoration: none;
  box-shadow: none;
}
body.pr-halloween .hw-v3nav :is(.pr-navbar__user, .hw-v3-login):hover { background: none; color: #ffbf7b; }
body.pr-halloween .hw-v3nav .pr-navbar__user img {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 5px;
  border: 0;
  image-rendering: pixelated;
}
body.pr-halloween .hw-v3nav .hw-v3-avatar { flex: 0 0 34px; font-size: 32px; color: #df9b64; text-align: center; }
body.pr-halloween .hw-v3nav .hw-v3-accountcopy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
body.pr-halloween .hw-v3nav .hw-v3-accountlabel {
  color: #c6a98f;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .08em;
  white-space: nowrap;
}
body.pr-halloween .hw-v3nav :is(.pr-navbar__user, .hw-v3-login) .name {
  display: block;
  max-width: 180px;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .025em;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-overflow: clip;
}
body.pr-halloween .hw-v3nav .hw-v3-center { grid-area: center; display: flex; align-items: center; justify-content: center; gap: 26px; min-width: 0; }
body.pr-halloween .hw-v3nav .pr-navbar__logo.hw-v3-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body.pr-halloween .hw-v3nav .pr-navbar__logo.hw-v3-logo img {
  display: block;
  width: 68px;
  height: 68px;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  object-fit: contain;
  filter: none;
  transform: none;
}
body.pr-halloween .hw-v3nav .hw-v3-routes { gap: 28px; border: 0; }
body.pr-halloween .hw-v3nav .hw-v2-route { gap: 8px; min-height: 48px; color: #e5cbb2; font-size: 12px; font-weight: 700; letter-spacing: .055em; }
body.pr-halloween .hw-v3nav .hw-v2-store { color: #ffddb4; font-size: 14px; }
body.pr-halloween .hw-v3nav .hw-v2-caret { font-size: 11px; color: #f2b475; opacity: 1; }
body.pr-halloween .hw-v3nav .hw-v3-actions { grid-area: actions; gap: 12px; justify-self: end; }
body.pr-halloween .hw-v3nav .hw-v2-currency.hw-v3-currency {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  min-width: 96px;
  width: auto;
  min-height: 54px;
  padding: 9px 13px;
  border: 1px solid #9c6940;
  border-radius: 10px 5px 12px 5px;
  background: #463022;
  color: #ffdfad;
  box-shadow: inset 0 1px #755033;
}
body.pr-halloween .hw-v3nav .hw-v2-currency.hw-v3-currency:hover { background: #553927; border-color: #c38a55; }
body.pr-halloween .hw-v3nav .hw-v3-currencycopy { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
body.pr-halloween .hw-v3nav .hw-v3-currencylabel { color: #e0b28b; font-size: 8px; font-weight: 600; line-height: 1; letter-spacing: .1em; }
body.pr-halloween .hw-v3nav .hw-v3-currencyvalue { color: #ffe3b7; font-size: 17px; font-weight: 800; line-height: 1; letter-spacing: .035em; font-variant-numeric: tabular-nums; }
body.pr-halloween .hw-v3nav .hw-v2-cart { min-height: 48px; padding: 0 14px; }
body.pr-halloween .hw-v3nav :is(a, button):focus-visible { outline: 2px solid #ffc28a; outline-offset: 4px; }

/* The supplied logo keeps its pixels and alpha; the warm glow is static CSS. */
body.pr-halloween .pr-hero__logo.hw-v3-hero-logo {
  width: auto;
  max-width: min(82vw, 360px);
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgb(255 126 33 / .45)) drop-shadow(0 0 34px rgb(243 105 25 / .22));
  animation: none !important;
  transition: none !important;
  transform: none;
}
body.pr-halloween .pr-hero__logo.hw-v3-hero-logo:hover { transform: none; }

@media (max-width: 1100px) {
  body.pr-halloween .hw-v3nav .pr-navbar__inner { gap: 14px; padding-inline: 14px; }
  body.pr-halloween .hw-v3nav .hw-v3-center { gap: 16px; }
  body.pr-halloween .hw-v3nav .hw-v3-routes { gap: 21px; }
  body.pr-halloween .hw-v3nav .hw-v2-cartlabel { display: none; }
  body.pr-halloween .hw-v3nav .hw-v2-cart { width: 48px; height: 48px; padding: 0; }
  body.pr-halloween .hw-v3nav .pr-cartmenu__count { position: absolute; top: -5px; right: -5px; border: 2px solid #2a211f; }
}
@media (max-width: 760px) {
  body.pr-halloween .pr-navbar.hw-v3nav { top: 6px; width: calc(100% - 16px); margin-top: 8px; }
  body.pr-halloween .hw-v3nav .pr-navbar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "account actions" "center center";
    gap: 5px 12px;
    min-height: 0;
    padding: 11px 14px 5px;
  }
  body.pr-halloween .hw-v3nav .hw-v3-center { gap: 25px; padding-top: 1px; }
  body.pr-halloween .hw-v3nav .hw-v3-routes { gap: 28px; }
  body.pr-halloween .hw-v3nav .pr-navbar__logo.hw-v3-logo { flex-basis: 54px; width: 54px; height: 54px; }
  body.pr-halloween .hw-v3nav .pr-navbar__logo.hw-v3-logo img { width: 54px; height: 54px; }
  body.pr-halloween .hw-v3nav .hw-v3-actions { gap: 10px; }
  body.pr-halloween .hw-v3nav .hw-v2-currency.hw-v3-currency { min-width: 84px; min-height: 50px; padding: 8px 10px; gap: 10px; }
  body.pr-halloween .hw-v3nav .hw-v3-currencyvalue { font-size: 16px; }
}
@media (max-width: 420px) {
  body.pr-halloween .hw-v3nav .pr-navbar__inner { padding-inline: 10px; column-gap: 8px; }
  body.pr-halloween .hw-v3nav :is(.pr-navbar__user, .hw-v3-login) { gap: 7px; }
  body.pr-halloween .hw-v3nav .pr-navbar__user img { flex-basis: 28px; width: 28px; height: 28px; }
  body.pr-halloween .hw-v3nav .hw-v3-avatar { flex-basis: 28px; font-size: 27px; }
  body.pr-halloween .hw-v3nav .hw-v3-accountlabel { font-size: 8px; letter-spacing: .025em; }
  body.pr-halloween .hw-v3nav :is(.pr-navbar__user, .hw-v3-login) .name { max-width: none; font-size: 11px; }
  body.pr-halloween .hw-v3nav .hw-v3-actions { gap: 8px; }
  body.pr-halloween .hw-v3nav .hw-v2-currency.hw-v3-currency { min-width: 78px; padding-inline: 9px; }
  body.pr-halloween .hw-v3nav .hw-v2-cart { width: 44px; height: 48px; }
  body.pr-halloween .hw-v3nav .hw-v3-center { gap: 22px; }
  body.pr-halloween .hw-v3nav .hw-v3-routes { gap: 24px; }
}

/* CUSTOM v6: original Tebex rich content, with one rank and its existing commerce. */
.custom-rank {
  --cr-cream: #fff0e4;
  --cr-muted: #c4a9a6;
  --cr-orange: #ff935f;
  --cr-green: #b9e7b5;
  --cr-red: #f33d37;
  --cr-line: rgb(247 94 63 / .28);
  --cr-panel: #1d1115;
  width: 100%; max-width: 1120px; min-width: 0; margin: 0 auto; padding: 27px 0 40px;
  color: var(--cr-cream); font-family: inherit;
}
.custom-rank *, .custom-rank *::before, .custom-rank *::after { box-sizing: border-box; }
.custom-rank h1, .custom-rank h2, .custom-rank h3, .custom-rank p { margin: 0; }
.custom-rank [hidden] { display: none !important; }
.custom-rank :is(a,button,input,summary):focus-visible { outline: 3px solid #ffc1a0; outline-offset: 5px; }
.custom-rank__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.custom-rank__page-heading { margin-bottom: 23px; text-align: center; }
.custom-rank__page-heading > p { color: #fc9b80; font-size: 10px; font-weight: 700; letter-spacing: .21em; }
.custom-rank__page-heading h1 { margin-top: 9px; color: #fff0e8; font-family: 'Unbounded',system-ui,sans-serif; font-size: clamp(24px,3.2vw,36px); font-weight: 800; line-height: 1.3; letter-spacing: -.04em; }
.custom-rank__matrix { overflow: hidden; border: 1px solid #943e33; border-top: 3px solid #e26345; border-radius: 10px; background: #170f13; box-shadow: 0 20px 65px rgb(0 0 0 / .32),0 0 35px rgb(126 26 17 / .12); }
.custom-rank__matrix-heading { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); min-height: 310px; overflow: hidden; border-bottom: 1px solid #943e33; background: #251013; }
.custom-rank__matrix-heading::before { content: ''; position: absolute; z-index: -2; inset: -5%; background-image: var(--cr-inferno-art,radial-gradient(ellipse at 100% 100%,#ca4828 0,transparent 47%),radial-gradient(ellipse at 0 100%,#732d26 0,transparent 50%)); background-position: center; background-size: cover; opacity: .91; animation: cr-inferno-breathe 14s ease-in-out infinite alternate; pointer-events: none; }
.custom-rank__matrix-heading::after { content: ''; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(2px 2px at 6% 81%,#ffa468 80%,transparent),radial-gradient(2px 3px at 18% 91%,#ff8453 80%,transparent),radial-gradient(2px 2px at 52% 84%,#ffb56d 80%,transparent),radial-gradient(2px 3px at 74% 69%,#ff8255 80%,transparent),radial-gradient(2px 2px at 90% 84%,#ffd49e 80%,transparent),radial-gradient(2px 3px at 97% 61%,#ff7549 80%,transparent); opacity: .58; animation: cr-inferno-embers 8s ease-in-out infinite alternate; pointer-events: none; }
.custom-rank__matrix-intro { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 38px 42px; background: linear-gradient(90deg,rgb(19 8 12 / .58),rgb(19 8 12 / .12)); }
.custom-rank__matrix-intro::before { content: ''; width: 54px; height: 4px; margin-bottom: 23px; background: #ff674b; box-shadow: 0 0 20px rgb(255 81 44 / .48); }
.custom-rank__matrix-intro h2 { max-width: 520px; color: #fff3e8; font-family: 'Unbounded',system-ui,sans-serif; font-size: clamp(34px,4.8vw,60px); font-weight: 900; line-height: 1.12; letter-spacing: -.055em; text-shadow: 0 4px #420a12,0 0 24px rgb(62 3 10 / .8); }
.custom-rank__matrix-intro h2 > span { display: block; color: #ff513b; text-shadow: 0 4px #5b101b,0 0 25px rgb(246 67 33 / .28); }
.custom-rank__matrix-intro p { max-width: 405px; margin-top: 17px; color: #dfc5ba; font-size: 13px; line-height: 1.85; text-shadow: 0 2px 8px #160609; }
.custom-rank__pedestal { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 23px 22px 27px; border-left: 1px solid rgb(255 129 88 / .25); background: linear-gradient(180deg,rgb(56 13 14 / .1),rgb(23 5 9 / .24)); text-align: center; }
.custom-rank__pedestal-label { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; max-width: 100%; padding: 7px 17px; border: 1px solid #ee7960; border-radius: 3px; background: linear-gradient(100deg,#7b2627,#481a24); box-shadow: inset 0 1px rgb(255 211 176 / .12),0 0 20px rgb(189 44 35 / .2); color: #fff3e8; font-family: 'Unbounded',system-ui,sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .07em; line-height: 1.45; }
.custom-rank__artwork { display: block; width: min(195px,88%); height: 151px; margin: 8px auto 2px; object-fit: contain; filter: drop-shadow(0 8px 12px rgb(5 0 4 / .65)); }
.custom-rank__artwork-fallback { display: grid; place-items: center; height: 151px; color: #ffb581; font-size: 58px; }
.custom-rank__pedestal h3 { color: #ffb69a; font-family: 'Unbounded',system-ui,sans-serif; font-size: 29px; font-weight: 900; line-height: 1.25; letter-spacing: .02em; text-shadow: 0 3px #521421,0 0 23px rgb(223 57 33 / .36); }
.custom-rank__cta { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 50px; max-width: 100%; padding: 15px 25px; border: 1px solid #ffb293; border-bottom: 4px solid #8e261f; border-radius: 5px; background: linear-gradient(105deg,#f06240,#e43a35); box-shadow: inset 0 1px #ffd5bd,0 5px 18px rgb(128 27 23 / .36); color: #fff7ee; font-family: inherit; font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: .04em; text-shadow: 0 1px rgb(102 19 15 / .6); cursor: pointer; transition: background-color .15s ease,transform .15s ease; }
.custom-rank__pedestal .custom-rank__cta { width: min(265px,100%); margin-top: 18px; padding: 14px 16px; font-size: 11px; }
.custom-rank__cta:hover { background: linear-gradient(105deg,#ff8554,#f24f42); transform: translateY(-1px); }
.custom-rank__cta:active { transform: translateY(1px); }
.custom-rank__cta:disabled { opacity: .5; transform: none; cursor: not-allowed; }
.custom-rank__pedestal .custom-rank__unavailable { margin: 17px auto 0 !important; }

/* These nodes come from the package description; their words and images stay dynamic. */
.custom-rank__rich-benefits { min-width: 0; color: #ebd6cd; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.custom-rank__description-entry + .custom-rank__description-entry { border-top: 2px solid #9c4538; }
.custom-rank__source-context { padding: 12px 25px; border-bottom: 1px solid rgb(241 127 90 / .12); background: #201218; color: #ae9692; font-size: 10px; line-height: 1.7; text-align: center; }
.custom-rank__source-context strong { color: #e8b29a; font-weight: 600; }
.custom-rank__description-fallback { display: grid; gap: 15px; min-width: 0; padding: 30px; color: #d8b7ac; font-size: 13px; line-height: 1.8; }
.custom-rank__description-fallback .custom-rank__text-link { color: #ffc1a2; text-decoration: underline; text-underline-offset: 3px; }
.custom-rank__summary, .custom-rank__rich-rest { min-width: 0; padding: 30px 38px 36px; }
.custom-rank__rich-rest { border-top: 1px solid #71332e; background: #180e12; }
.custom-rank__rich-benefits p { margin: 14px 0; }
.custom-rank__rich-benefits[data-custom-benefits-enhanced] .custom-rank__empty-block { display: none !important; }
.custom-rank__rich-benefits strong, .custom-rank__rich-benefits b { color: #ffb594; font-weight: 700; }
.custom-rank__rich-benefits .custom-rank__benefit-tag { display: inline-block; margin: 0 3px; padding: 2px 8px; border: 1px solid #e86652; border-radius: 4px; background: linear-gradient(100deg,#792a30,#4f1d2c); box-shadow: inset 0 1px rgb(255 212 177 / .11); color: #ffdbc2; font-weight: 800; line-height: 1.55; vertical-align: baseline; }
.custom-rank__rich-benefits a { color: #ffc0a5; text-decoration: underline; text-underline-offset: 3px; }
.custom-rank__rich-benefits a:hover { color: #fff4e9; }
.custom-rank__rich-benefits :is(ul,ol) { margin: 17px 0; padding-left: 24px; }
.custom-rank__rich-benefits li { margin: 7px 0; padding-left: 5px; }
.custom-rank__rich-benefits li::marker { color: #f97456; }
.custom-rank__rich-benefits blockquote { margin: 22px 0; padding: 15px 20px; border-left: 3px solid #dd523e; background: rgb(219 58 41 / .055); color: #eac1b2; }
.custom-rank__rich-benefits code { padding: 3px 6px; border: 1px solid rgb(220 111 82 / .18); border-radius: 4px; background: #29161c; color: #ffc6a9; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: .92em; white-space: normal; overflow-wrap: anywhere; }
.custom-rank__rich-benefits :is(h1,h2,h3,h4,h5,h6) { margin: 28px 0 15px; color: #ffd0b5; font-family: 'Unbounded',system-ui,sans-serif; font-size: clamp(16px,2vw,23px); font-weight: 700; line-height: 1.5; letter-spacing: -.025em; }
.custom-rank__rich-benefits .custom-rank__rich-heading { position: relative; margin: 31px 0 19px; padding: 17px 22px; border: 1px solid #843c32; border-left: 4px solid #f36346; border-radius: 4px; background: linear-gradient(100deg,#4b2023,#2b151c); color: #ffe0c8; font-family: 'Unbounded',system-ui,sans-serif; font-size: 16px; font-weight: 700; line-height: 1.6; letter-spacing: -.025em; text-align: left !important; }
.custom-rank__rich-heading :is(strong,b,span) { color: inherit; font-size: inherit !important; }
.custom-rank__rich-benefits .custom-rank__rich-section { margin-top: 24px; min-width: 0; }
.custom-rank__rich-benefits .custom-rank__rich-section:first-child { margin-top: 0; }
.custom-rank__summary > .custom-rank__overview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; align-items: stretch; }
.custom-rank__summary > .custom-rank__overview > * { grid-column: 1 / -1; min-width: 0; }
.custom-rank__summary > .custom-rank__overview > p:not(.custom-rank__empty-block):not(.custom-rank__media-block):not(.custom-rank__rich-heading) { grid-column: auto; margin: 0; padding: 18px 19px; border: 1px solid rgb(181 69 52 / .26); border-left: 3px solid #db5743; border-radius: 5px; background: linear-gradient(125deg,#2b171e,#22151b); color: #dfc8bf; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.custom-rank__rewards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; margin: 22px 0 28px; }
.custom-rank__rich-benefits .custom-rank__rewards > .custom-rank__reward { display: grid; align-content: center; min-width: 0; min-height: 83px; margin: 0; padding: 17px 15px; border: 1px solid #88432e; border-bottom: 3px solid #ad5033; border-radius: 6px; background: radial-gradient(ellipse at 50% 0,rgb(166 70 37 / .15),transparent 78%),#2d1b1c; box-shadow: inset 0 1px rgb(255 207 160 / .04); color: #f7c7a0; font-size: 16px; font-weight: 600; line-height: 1.75; text-align: center !important; overflow-wrap: anywhere; }
.custom-rank__reward :is(strong,b) { color: #ffdebc; font-weight: 800; }
.custom-rank__rich-benefits .custom-rank__rich-list { margin: 17px 0; padding: 0 0 0 22px; }
.custom-rank__rich-benefits .custom-rank__rich-list li { padding: 8px 8px 8px 4px; border-bottom: 1px solid rgb(228 139 108 / .1); }
.custom-rank__rich-benefits img { max-width: 100% !important; height: auto !important; vertical-align: middle; }
.custom-rank__rich-benefits .custom-rank__description-image:not(.custom-rank__inline-icon) { display: block; max-width: 100% !important; height: auto !important; margin: 0 auto; object-fit: contain; }
.custom-rank__rich-benefits .custom-rank__inline-icon { display: inline-block; width: 19px !important; height: 19px !important; margin: 0 5px 3px 0; object-fit: contain; vertical-align: middle; }
.custom-rank__rich-benefits .custom-rank__media-block { min-width: 0; margin: 21px auto; text-align: center; }
.custom-rank__summary > .custom-rank__media-block:first-child { margin-top: 0; }
.custom-rank__source-art { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 13px 24px; margin: 0 0 27px; padding: 20px 23px; border: 1px solid #66332e; border-radius: 6px; background: #22151a; }
.custom-rank__source-art-label { grid-column: 1 / -1; margin: 0 !important; color: #d9a58b; font-size: 10px; font-weight: 700; line-height: 1.7; letter-spacing: .09em; text-align: center; }
.custom-rank__source-art-note { grid-column: 1 / -1; max-width: 600px; margin: 0 auto !important; color: #af9a92; font-size: 10px; line-height: 1.75; text-align: center; }
.custom-rank__source-art > .custom-rank__media-block { margin: 0; }
.custom-rank__source-art .custom-rank__description-image:not(.custom-rank__inline-icon) { width: auto !important; max-width: 100% !important; max-height: 115px; object-fit: contain; }
.custom-rank__media-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 18px; margin: 22px 0 27px; }
.custom-rank__media-gallery > .custom-rank__media-block { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-width: 0; margin: 0; padding: 20px; border: 1px solid #824437; border-top: 2px solid #c5734f; border-radius: 7px; background: radial-gradient(ellipse at 50% 0,rgb(133 58 39 / .18),transparent 70%),#24181a; box-shadow: inset 0 1px rgb(255 221 194 / .025),0 8px 17px rgb(0 0 0 / .15); line-height: 1.75; }
.custom-rank__media-gallery > .custom-rank__media-block .custom-rank__description-image { width: auto !important; max-width: 100% !important; height: auto !important; margin: 10px auto; }
.custom-rank__media-gallery > .custom-rank__media-block:last-child:nth-child(odd) { grid-column: 1 / -1; }
.custom-rank__media-gallery > .custom-rank__media-block:last-child:nth-child(odd) .custom-rank__description-image { max-width: min(100%,520px) !important; }

/* The complete benefit table remains the table supplied by Tebex. */
.custom-rank__rich-benefits table { width: 100% !important; max-width: 100%; margin: 22px 0; border-collapse: collapse; table-layout: fixed; }
.custom-rank__rich-benefits table :is(th,td) { padding: 13px 17px; border: 1px solid #5f302d; background: #24161b; color: #f2dcd2; font-size: 13px; font-weight: 400; line-height: 1.65; white-space: normal; overflow-wrap: anywhere; }
.custom-rank__rich-benefits table tr:nth-child(even) :is(th,td) { background: #2a181e; }
.custom-rank__rich-benefits .custom-rank__benefit-table .custom-rank__benefit-label { width: 80%; text-align: left !important; }
.custom-rank__rich-benefits .custom-rank__benefit-table .custom-rank__benefit-label span { font-size: inherit !important; }
.custom-rank__rich-benefits .custom-rank__benefit-table .custom-rank__benefit-check { width: 20%; background: #3b1b21; color: #ffe8d4; text-align: center !important; }
.custom-rank__rich-benefits .custom-rank__benefit-table tbody { display: block; }
.custom-rank__rich-benefits .custom-rank__benefit-table tr { display: grid; grid-template-columns: minmax(0,1fr) 82px; }
.custom-rank__rich-benefits .custom-rank__benefit-table .custom-rank__benefit-label { grid-column: 1; grid-row: 1; width: auto; display: block; border-right: 0; }
.custom-rank__rich-benefits .custom-rank__benefit-table .custom-rank__benefit-check { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: auto; padding: 10px; }
.custom-rank__rich-benefits .custom-rank__benefit-check:is(.is-included,.is-excluded) { font-size: 0 !important; }
.custom-rank__rich-benefits .custom-rank__benefit-check:is(.is-included,.is-excluded)::before { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #a55946; border-radius: 6px; background: #59262a; color: #ffbb96; font-family: system-ui,sans-serif; font-size: 24px; font-weight: 700; line-height: 1; }
.custom-rank__rich-benefits .custom-rank__benefit-check.is-included::before { content: '✓'; }
.custom-rank__rich-benefits .custom-rank__benefit-check.is-excluded::before { content: '×'; background: #291b21; color: #af8f91; border-color: #61424a; }
.custom-rank__benefit-check i, .custom-rank__benefit-check svg, .custom-rank__check { display: inline-grid; place-items: center; width: 31px; height: 31px; color: #ffb293; font-size: 22px; }
.custom-rank__rich-benefits .custom-rank__benefit-check img { max-width: 30px !important; height: auto !important; }

/* V6 duration cards: both prices are visible before choosing; native commerce stays below. */
.custom-rank__dialog { position: fixed; isolation: isolate; width: min(640px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 36px); margin: auto; padding: 25px; overflow: auto; border: 1px solid #e57455; border-top: 3px solid #ff956d; border-radius: 13px; background: #1f0e15; color: var(--cr-cream); box-shadow: 0 30px 110px rgb(0 0 0 / .7),0 0 55px rgb(167 38 24 / .25); }
.custom-rank__dialog::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background-image: linear-gradient(180deg,rgb(20 5 10 / .32),rgb(33 14 21 / .65) 98%),var(--cr-inferno-art,none); background-position: center; background-size: cover; opacity: .9; pointer-events: none; }
.custom-rank__dialog::backdrop { background: rgb(11 3 8 / .84); backdrop-filter: blur(6px); }
.custom-rank__dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.custom-rank__dialog-head h2 { margin: 0; color: #fff0df; font-family: 'Unbounded',system-ui,sans-serif; font-size: 25px; font-weight: 800; line-height: 1.35; letter-spacing: -.045em; text-shadow: 0 2px #6b2028; }
.custom-rank__dialog-head .custom-rank__eyebrow { margin-bottom: 5px; color: #ffad84; font-size: 9px; font-weight: 700; line-height: 1.6; letter-spacing: .1em; }
.custom-rank__dialog-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #8a473e; border-radius: 50%; background: rgb(52 14 21 / .8); color: #ffe2cc; cursor: pointer; }
.custom-rank__dialog-close:hover { border-color: #ff987a; background: #57212a; }
.custom-rank__duration { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
.custom-rank__duration legend { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.custom-rank__duration-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; margin: 0; padding: 23px 22px 20px; border: 2px solid #713837; border-radius: 8px; background: linear-gradient(145deg,#382027,#24151d); box-shadow: inset 0 1px rgb(255 202 168 / .055); text-align: left; cursor: pointer; transition: border-color .15s,background-color .15s,box-shadow .15s; }
.custom-rank__duration-card:has(input:checked) { border-color: #ffad78; background: radial-gradient(ellipse at 100% 0,rgb(255 113 56 / .22),transparent 80%),linear-gradient(145deg,#71312d,#321720); box-shadow: inset 0 0 0 1px rgb(255 211 178 / .17),0 0 22px rgb(219 70 42 / .2); }
.custom-rank__duration-card:hover { border-color: #d4745d; }
.custom-rank__duration-card:has(input:focus-visible) { outline: 3px solid #ffcdad; outline-offset: 4px; }
.custom-rank__duration-card input { position: absolute; width: 20px; height: 20px; margin: 0; opacity: 0; }
.custom-rank__radio { position: absolute; top: 16px; right: 15px; display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #b86e5c; border-radius: 50%; background: #2d1821; }
.custom-rank__duration-card input:checked + .custom-rank__radio::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #ffb990; box-shadow: 0 0 8px rgb(255 105 58 / .5); }
.custom-rank__duration-name { display: block; padding-right: 15px; color: #ffe0c8; font-family: 'Unbounded',system-ui,sans-serif; font-size: 12px; font-weight: 800; line-height: 1.65; letter-spacing: .01em; text-transform: uppercase; }
.custom-rank__duration-price { display: block; max-width: 100%; margin-top: 14px; color: #fff7e7; font-size: clamp(26px,3.4vw,36px); font-weight: 800; line-height: 1.2; letter-spacing: -.045em; text-shadow: 0 1px 10px rgb(247 164 105 / .15); white-space: normal; overflow-wrap: anywhere; }
.custom-rank__duration-price :is(strong,span) { color: inherit; font: inherit; }
.custom-rank__duration-original { display: inline-block; max-width: 100%; margin-top: 9px; color: #cfa19b; font-size: 13px; line-height: 1.6; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.custom-rank__discount-badge { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; gap: 5px; max-width: 100%; min-height: 27px; margin-top: 8px; padding: 4px 9px; border: 1px solid #ffd197; border-radius: 4px; background: linear-gradient(105deg,#ffc26e,#ff9c54); box-shadow: inset 0 1px #ffe9bd,0 2px 9px rgb(156 45 21 / .25); color: #6a201c; font-size: 11px; font-weight: 900; line-height: 1.4; letter-spacing: .02em; overflow-wrap: anywhere; }
.custom-rank__discount-badge::before { content: '🔥'; flex: 0 0 auto; font-family: 'Segoe UI Emoji','Apple Color Emoji',sans-serif; font-size: 12px; line-height: 1; }
.custom-rank__duration-billing { margin-top: 10px; color: #d3ad9e; font-size: 11px; line-height: 1.6; }
.custom-rank__purchase { margin-top: 20px; }
.custom-rank__commerce .product-actions { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; margin: 0; padding-top: 0; border-top: 0; }
.custom-rank__commerce .product-actions > a:first-child[data-tip] { display: none; }
.custom-rank__commerce .product-actions > .add, .custom-rank__commerce .product-actions > .subscribe, .custom-rank__commerce .product-actions > .open-basket-cta { flex: 1 1 220px; min-width: 0; min-height: 53px; border: 1px solid #ff9a73; border-bottom: 3px solid #842b25; border-radius: 5px; background: linear-gradient(100deg,#ee643e,#d93835); color: #fff2e1; font-size: 13px; font-weight: 800; text-transform: none; letter-spacing: 0; }
.custom-rank__commerce .product-actions > .add:hover, .custom-rank__commerce .product-actions > .subscribe:hover { background: linear-gradient(100deg,#ff8653,#ed4d3e); }
.custom-rank__commerce .product-actions .gift { width: auto; min-width: 48px; min-height: 53px; padding: 12px; border: 1px solid #9b5446; border-radius: 5px; background: #33191f; color: #ffd0b1; }
.custom-rank__commerce .product-actions .gift[data-tip]::after { position: static; display: block; margin-left: 7px; padding: 0; border: 0; background: transparent; color: inherit; font-size: 11px; white-space: normal; opacity: 1; translate: none; }
.custom-rank__commerce .product-actions .gift[data-tip]:hover::after { translate: none; }
.custom-rank__commerce .product-actions .quantity-field { flex: 1 1 220px; min-width: 0; justify-content: center; }
.custom-rank__commerce[inert] { opacity: .45; }
.custom-rank__unavailable { margin: 12px 0 !important; padding: 11px 13px; border: 1px solid #985043; border-radius: 5px; color: #f6c7af; font-size: 12px; line-height: 1.65; }
.custom-rank__final-actions { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 15px; margin: 0; padding: 28px 38px 34px; border-top: 1px solid #7c382f; background: linear-gradient(150deg,#341a1f,#211219); }
.custom-rank__final-actions .custom-rank__cta, .custom-rank__final-actions .custom-rank__more-link { width: 100%; min-width: 0; min-height: 63px; margin: 0; padding: 18px; font-family: 'Unbounded',system-ui,sans-serif; font-size: 13px; font-weight: 800; line-height: 1.45; letter-spacing: .035em; }
.custom-rank__more-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #b16a53; border-bottom: 3px solid #653a36; border-radius: 5px; background: #372027; color: #ffd4b9; text-align: center; text-decoration: none; cursor: pointer; }
.custom-rank__more-link:hover { border-color: #efac86; background: #492630; color: #fff0dc; }
.custom-rank__more-link:focus-visible { outline: 3px solid #ffc1a0; outline-offset: 4px; }
.custom-rank__nojs { margin-top: 24px; padding: 23px; border: 1px solid var(--cr-line); border-radius: 7px; color: var(--cr-muted); font-size: 13px; line-height: 1.8; }
.custom-rank__selection { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding-bottom: 15px; }
.custom-rank__price { min-width: 0; max-width: 100%; color: #ffd2b3; }
.custom-rank__price strong { font-size: 25px; line-height: 1.3; white-space: normal; overflow-wrap: anywhere; }
.custom-rank__price del { color: #c6a59d; font-size: 12px; }

@keyframes cr-inferno-breathe { from { transform: scale(1) translateY(0); opacity: .85; } to { transform: scale(1.045) translateY(-4px); opacity: 1; } }
@keyframes cr-inferno-embers { from { transform: translateY(10px); opacity: .3; } to { transform: translateY(-18px); opacity: .78; } }
.custom-rank[data-custom-rank-visible="false"] .custom-rank__matrix-heading::before, .custom-rank[data-custom-rank-visible="false"] .custom-rank__matrix-heading::after { animation-play-state: paused; }
@media(max-width:1000px) {
  .custom-rank__matrix-heading { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); }
  .custom-rank__matrix-intro { padding: 30px; }
  .custom-rank__pedestal { padding-right: 18px; padding-left: 18px; }
  .custom-rank__summary, .custom-rank__rich-rest { padding: 26px 28px 30px; }
}
@media(max-width:767px) {
  .custom-rank { padding: 22px 0 30px; }
  .custom-rank__page-heading { margin-bottom: 18px; }
  .custom-rank__matrix-heading { grid-template-columns: 1fr; }
  .custom-rank__matrix-intro { align-items: center; padding: 25px 22px 22px; background: linear-gradient(180deg,rgb(20 6 11 / .37),transparent); text-align: center; }
  .custom-rank__matrix-intro::before { margin-bottom: 17px; width: 39px; height: 3px; }
  .custom-rank__matrix-intro h2 { max-width: 420px; font-size: clamp(34px,8.5vw,46px); line-height: 1.12; }
  .custom-rank__matrix-intro p { max-width: 340px; margin-top: 10px; font-size: 12px; line-height: 1.75; }
  .custom-rank__pedestal { padding: 19px 20px 27px; border-left: 0; border-top: 1px solid rgb(255 122 81 / .25); }
  .custom-rank__pedestal-label { font-size: 12px; }
  .custom-rank__artwork { height: 145px; width: 180px; }
  .custom-rank__pedestal h3 { font-size: 28px; }
  .custom-rank__summary, .custom-rank__rich-rest { padding: 22px 20px 27px; }
  .custom-rank__rich-benefits { font-size: 13px; line-height: 1.85; }
  .custom-rank__rich-benefits .custom-rank__rich-heading { margin-top: 25px; padding: 15px 15px; font-size: 13px; }
  .custom-rank__summary > .custom-rank__overview { grid-template-columns: 1fr; gap: 13px; }
  .custom-rank__summary > .custom-rank__overview > p:not(.custom-rank__empty-block):not(.custom-rank__media-block):not(.custom-rank__rich-heading) { padding: 15px 16px; font-size: 12px; line-height: 1.8; }
  .custom-rank__rewards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin: 19px 0 24px; }
  .custom-rank__rich-benefits .custom-rank__rewards > .custom-rank__reward { min-height: 77px; padding: 14px 11px; font-size: 13px; }
  .custom-rank__source-art { gap: 11px 17px; padding: 16px; margin-bottom: 23px; }
  .custom-rank__source-art-label { font-size: 9px; }
  .custom-rank__source-art-note { font-size: 9px; }
  .custom-rank__media-gallery { grid-template-columns: 1fr; gap: 15px; margin: 19px 0 22px; }
  .custom-rank__media-gallery > .custom-rank__media-block { padding: 17px 14px; }
  .custom-rank__media-gallery > .custom-rank__media-block:last-child:nth-child(odd) { grid-column: auto; }
  .custom-rank__rich-benefits table :is(th,td) { padding: 11px 12px; font-size: 11px; }
  .custom-rank__rich-benefits .custom-rank__benefit-table tr { grid-template-columns: minmax(0,1fr) 62px; }
}
@media(max-width:380px) {
  .custom-rank__matrix-intro { padding: 23px 17px 21px; }
  .custom-rank__matrix-intro h2 { font-size: 33px; }
  .custom-rank__summary, .custom-rank__rich-rest { padding-right: 16px; padding-left: 16px; }
  .custom-rank__rich-benefits .custom-rank__rich-heading { padding: 13px 12px; font-size: 12px; }
  .custom-rank__rewards { grid-template-columns: 1fr; }
  .custom-rank__rich-benefits .custom-rank__rewards > .custom-rank__reward { min-height: 66px; font-size: 14px; }
  .custom-rank__rich-benefits table :is(th,td) { padding: 10px 8px; }
}
@media(max-width:480px) {
  .custom-rank__source-art { grid-template-columns: 1fr; }
  .custom-rank__source-art-label, .custom-rank__source-art-note { grid-column: auto; }
  .custom-rank__source-art .custom-rank__description-image:not(.custom-rank__inline-icon) { max-height: 86px; max-width: min(100%,240px) !important; }
}
@media(max-width:767px) {
  .custom-rank__dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 21px; }
  .custom-rank__dialog-head { gap: 12px; margin-bottom: 18px; }
  .custom-rank__dialog-head h2 { font-size: 22px; }
  .custom-rank__duration { gap: 11px; }
  .custom-rank__duration-card { padding: 20px 15px 16px; }
  .custom-rank__duration-name { font-size: 10px; padding-right: 11px; }
  .custom-rank__duration-price { margin-top: 14px; font-size: 28px; }
  .custom-rank__duration-original { font-size: 11px; }
  .custom-rank__discount-badge { font-size: 10px; padding: 4px 7px; }
  .custom-rank__radio { top: 13px; right: 11px; width: 17px; height: 17px; }
  .custom-rank__duration-card input:checked + .custom-rank__radio::after { width: 7px; height: 7px; }
  .custom-rank__final-actions { padding: 23px 20px 27px; gap: 12px; }
  .custom-rank__final-actions .custom-rank__cta, .custom-rank__final-actions .custom-rank__more-link { min-height: 58px; padding: 15px 12px; font-size: 11px; gap: 9px; }
}
@media(max-width:480px) {
  .custom-rank__dialog { padding: 18px; }
  .custom-rank__dialog-head h2 { font-size: 20px; }
  .custom-rank__duration-card { padding: 19px 12px 15px; }
  .custom-rank__duration-price { font-size: 25px; }
  .custom-rank__duration-name { padding-top: 11px; padding-right: 0; font-size: 9px; }
  .custom-rank__radio { top: 9px; right: 9px; width: 14px; height: 14px; }
  .custom-rank__duration-card input:checked + .custom-rank__radio::after { width: 6px; height: 6px; }
}
@media(max-width:380px) {
  .custom-rank__dialog { padding: 17px; }
  .custom-rank__duration { grid-template-columns: 1fr; gap: 10px; }
  .custom-rank__duration-card { padding: 14px 17px; }
  .custom-rank__duration-name { padding-top: 0; padding-right: 20px; font-size: 11px; }
  .custom-rank__duration-price { margin-top: 7px; font-size: 29px; }
  .custom-rank__duration-original { margin-top: 5px; }
  .custom-rank__discount-badge { position: absolute; right: 15px; bottom: 14px; max-width: 90px; margin: 0; }
  .custom-rank__duration-card:has(.custom-rank__discount-badge) .custom-rank__duration-original { max-width: calc(100% - 93px); }
  .custom-rank__radio { top: 13px; right: 13px; }
  .custom-rank__purchase { margin-top: 15px; }
  .custom-rank__final-actions { padding: 20px 16px 24px; gap: 10px; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); }
  .custom-rank__final-actions .custom-rank__cta, .custom-rank__final-actions .custom-rank__more-link { font-size: 10px; padding-right: 9px; padding-left: 9px; }
}

@media(prefers-reduced-motion:reduce) {
  .custom-rank *, .custom-rank *::before, .custom-rank *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
