/* The Beast Den — dedicated collector hub, scoped to prevent WooCommerce account bleed. */
.stb-vault-shell{color:inherit}
.stb-vault-shell .stb-unified-collector{width:100%;max-width:none}
.stb-vault-shell .stb-collector-collection-heading{padding:clamp(18px,3vw,36px);background:linear-gradient(135deg,#1d1420,#352036 72%,#1d1524);border:1px solid #56384d;border-radius:18px;margin-bottom:18px;color:#fff}
.stb-vault-shell .stb-collector-collection-heading h2{font-size:clamp(26px,4vw,44px);color:#fff;line-height:1.12}
.stb-vault-shell .stb-collector-collection-heading p{color:#e3d9e3}
.stb-vault-shell .stb-unified-tabs{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;padding:7px 0 15px;margin:0 0 18px;border:0}
.stb-vault-shell .stb-unified-tabs .stb-unified-tab{min-height:44px;min-width:unset;flex:1 1 145px;border:1px solid #513747;border-radius:10px;padding:11px 12px;font-size:13px;line-height:1.3;white-space:normal;cursor:pointer}
.stb-vault-shell .stb-unified-tabs .stb-unified-tab.is-active{background:#b92f49;color:#fff;border-color:#de6477}
.stb-vault-shell [hidden]{display:none!important}
.stb-vault-guest{max-width:750px;margin:40px auto;padding:clamp(24px,5vw,48px);background:linear-gradient(140deg,#1e1724,#382336);border:1px solid #674055;border-radius:18px;color:#fff}
.stb-vault-guest h2{font-size:clamp(25px,4vw,42px);color:#fff;margin:10px 0}.stb-vault-guest p{color:#eee}
.stb-vault-eyebrow{color:#e88597;letter-spacing:2px;font-size:12px}
.stb-vault-main-button,.stb-vault-guest .stb-vault-main-button{display:inline-flex;margin-top:15px;background:#ba304d;color:#fff!important;padding:12px 18px;border-radius:10px;font-weight:800;text-decoration:none!important}
.stb-vault-overview{border:1px solid #524052;border-radius:16px;background:#1e1723;color:#f7f2f6;padding:clamp(16px,3vw,30px)}
.stb-vault-overview h3{color:#fff;margin:8px 0;font-size:clamp(21px,3vw,30px)}.stb-vault-overview p{color:#ded2df}
.stb-vault-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}
.stb-vault-stats>div{display:flex;flex-direction:column;background:#322338;padding:16px;border-radius:12px;gap:4px}
.stb-vault-stats small{font-size:10px;letter-spacing:1px;color:#cdbdcd;font-weight:700}.stb-vault-stats strong{font-size:28px;color:#fff}
.stb-vault-action-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.stb-vault-action-card{position:relative;background:#2c2231;border:1px solid #5c3e53;color:#fff!important;border-radius:13px;display:flex;flex-direction:column;text-decoration:none!important;padding:19px;min-height:152px;gap:8px;transition:background .2s,border-color .2s}
.stb-vault-action-card:hover,.stb-vault-action-card:focus-visible{background:#3d2942;border-color:#d14d6a}.stb-vault-action-icon{font-size:24px;color:#f0879b}.stb-vault-action-card strong{font-size:17px}.stb-vault-action-card small{color:#d4c9d5;line-height:1.5}.stb-vault-action-arrow{position:absolute;right:16px;top:16px}
.stb-vault-shop-cta{margin:23px 0 0!important}.stb-vault-shop-cta a{color:#ffb5c5!important}
.stb-vault-shell .stb-die-choices{display:none!important}
.stb-vault-die-pref{margin:14px 0;line-height:1.6;font-size:13px}.stb-vault-die-pref a{font-weight:bold}
.stb-vault-utilities{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.stb-vault-utilities a{font-size:13px;color:#fff!important;border:1px solid #87576f;border-radius:9px;padding:9px 12px;text-decoration:none!important}
.stb-vault-utilities a:hover,.stb-vault-utilities a:focus-visible{background:#633149}
.stb-vault-panel .stb-wallet,.stb-vault-panel .stb-rules-page{max-width:none}
.stb-vault-preferences fieldset{display:flex;gap:15px;flex-wrap:wrap;border:0;padding:0;margin:20px 0}
.stb-vault-preferences legend{width:100%;margin-bottom:12px}.stb-vault-pref-choice{display:inline-flex;align-items:center;gap:9px;border:1px solid #71506b;border-radius:10px;padding:15px;cursor:pointer}
.stb-vault-saved{padding:12px;border:1px solid #539c79;border-radius:8px}
@media(max-width:600px){.stb-vault-shell .stb-unified-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stb-vault-shell .stb-unified-tabs .stb-unified-tab{min-width:0;font-size:12px;padding:10px 5px}.stb-vault-stats{gap:6px}.stb-vault-stats>div{padding:10px}.stb-vault-stats strong{font-size:23px}.stb-vault-action-cards{grid-template-columns:1fr}.stb-vault-action-card{min-height:unset;padding:16px}.stb-vault-shell .stb-collector-collection-heading{margin-bottom:15px}}

.stb-vault-utilities button{background:#392639!important;color:#fff!important;border:1px solid #87576f!important;border-radius:9px!important;padding:9px 12px!important;min-height:42px;cursor:pointer;font:700 13px system-ui,sans-serif}
.stb-vault-utilities button:hover,.stb-vault-utilities button:focus-visible{background:#633149!important}

/* v1.8.0: the plugin no longer fights the theme. Set the page to "Full width / no sidebar" in Blocksy (see upgrade guide).
   Page-wide tokens live on .stb-scope; the shell only limits its own width. */
:root{--stb-shell-max:1280px;--stb-header-offset:var(--header-height,0px)}
.stb-vault-shell{box-sizing:border-box;width:min(100%,var(--stb-shell-max));min-width:0;margin:16px auto 52px;--stb-ink:#151116;--stb-card:#211b23;--stb-card-alt:#29212b;--stb-crimson:#da343f;--stb-ivory:#f5eee8;--stb-muted:#c7b8c2;--stb-line:#51404e;--stb-pink:#e8929d}
.stb-beast-vault-page .entry-content,.stb-beast-vault-page .wp-block-post-content{max-width:none}
.stb-vault-shell .stb-vault-panel,.stb-vault-shell .stb-unified-tabs{scroll-margin-top:calc(var(--stb-header-offset) + 16px)}
.stb-vault-layout-warning{margin:0 0 14px;padding:12px 14px;border:1px solid #d9a441;border-radius:10px;background:#3a2c10;color:#fff3d6;font-size:14px;line-height:1.5}
.stb-vault-shell .stb-unified-collector{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;min-width:0;width:100%}
.stb-vault-shell .stb-unified-collector>*{min-width:0;max-width:100%;box-sizing:border-box}
.stb-vault-shell .stb-collector-collection-heading{margin:0;padding:clamp(20px,3vw,36px)}
.stb-vault-shell .stb-collector-collection-heading h2{margin:10px 0 14px;letter-spacing:-.025em}
.stb-vault-shell .stb-rank-panel{margin:0}
.stb-vault-shell .stb-rank-heading{min-width:0}
.stb-vault-shell .stb-vault-panel{min-width:0;overflow-wrap:break-word}
.stb-vault-shell :is(img,video,canvas,svg){max-width:100%}
.stb-vault-shell .stb-unified-tabs{width:100%;box-sizing:border-box;margin:0;padding:0 0 14px}
.stb-vault-shell .stb-unified-tabs .stb-unified-tab{flex:1 1 150px;min-width:0;max-width:100%;box-sizing:border-box}
.stb-vault-shell .stb-vault-utilities{gap:8px}
.stb-vault-shell .stb-vault-utilities :is(a,button){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;text-align:center}
.stb-vault-is-locked{pointer-events:none;filter:blur(2px);opacity:.42;user-select:none}
.stb-vault-locked-preview{padding:clamp(22px,4vw,42px);border:1px solid #734657;border-radius:18px;background:linear-gradient(130deg,#281b2c,#151118);color:#fff}
.stb-vault-locked-preview h2{color:#fff;font-size:clamp(28px,5vw,46px);margin:12px 0}
.stb-vault-locked-preview p{color:#dac9d6}
.stb-vault-locked-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:30px}
.stb-vault-locked-tiles span{background:#392a3b;border-radius:12px;padding:22px 10px;text-align:center;font-weight:700}
@media(max-width:760px){.stb-vault-shell .stb-unified-collector{gap:14px}.stb-vault-locked-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.stb-vault-shell .stb-rank-heading{align-items:flex-start}.stb-vault-shell .stb-collector-collection-heading{border-radius:13px}.stb-vault-shell .stb-collector-collection-heading h2{font-size:clamp(26px,7vw,36px)}}
@media(max-width:480px){body.stb-beast-vault-page :is(.entry-content,.wp-block-post-content){padding-inline:12px}.stb-vault-shell .stb-unified-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stb-vault-shell .stb-unified-tabs .stb-unified-tab{font-size:12px;min-height:46px;padding:10px 6px;white-space:normal;line-height:1.3}.stb-vault-shell .stb-rank-heading{gap:10px}.stb-vault-shell .stb-rank-count{flex-shrink:0}.stb-vault-shell .stb-collector-collection-heading p{font-size:14px}.stb-vault-shell .stb-vault-utilities :is(a,button){flex:1 1 calc(50% - 8px);padding:10px 6px;font-size:12px}}

/* v1.8.0 navigation: Home · Collection · Roll · More. Bottom bar on phones. */
.stb-vault-shell .stb-vault-nav{position:relative;display:flex;align-items:stretch;gap:8px;flex-wrap:nowrap;padding:0;margin:0 0 18px;border:0}
.stb-vault-shell .stb-vault-nav-main{display:flex;flex:1 1 auto;gap:8px;min-width:0}
.stb-vault-shell .stb-vault-nav .stb-unified-tab,.stb-vault-shell .stb-vault-more-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 1 0;min-height:48px;padding:10px 16px;font-size:15px;font-weight:700;white-space:nowrap;background:var(--stb-card,#211b23);color:var(--stb-ivory,#f5eee8);border:1px solid var(--stb-line,#51404e);border-radius:12px;cursor:pointer}
.stb-vault-shell .stb-vault-more{position:relative;flex:0 0 auto}
.stb-vault-shell .stb-vault-more-toggle{min-width:104px;width:100%;height:100%}
.stb-vault-shell .stb-vault-nav .stb-unified-tab.is-active,.stb-vault-shell .stb-vault-more-toggle.is-active{background:#b92f49;color:#fff;border-color:#e88597}
.stb-vault-shell .stb-vault-nav :is(button,a):focus-visible{outline:3px solid #f5a7b1;outline-offset:2px}
.stb-vault-shell .stb-nav-count{font-size:12px;padding:1px 7px;border-radius:999px;background:#0006;color:#fff}
.stb-vault-shell .stb-vault-more-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:60;display:flex;flex-direction:column;min-width:230px;padding:6px;background:#241c27;border:1px solid var(--stb-line,#51404e);border-radius:12px;box-shadow:0 14px 40px #000a}
.stb-vault-shell .stb-vault-more-item{display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--stb-ivory,#f5eee8)!important;font:600 15px/1.2 inherit;text-align:left;text-decoration:none!important;cursor:pointer}
.stb-vault-shell .stb-vault-more-item:hover,.stb-vault-shell .stb-vault-more-item:focus-visible{background:#3a2a3d}
.stb-vault-shell .stb-vault-more-item.is-active{background:#4a2a3a;box-shadow:inset 3px 0 0 var(--stb-pink,#e8929d)}
.stb-vault-hero-cta{position:relative;display:flex;flex-direction:column;gap:6px;margin:20px 0 4px;padding:clamp(18px,3vw,28px) 64px clamp(18px,3vw,28px) clamp(18px,3vw,28px);background:linear-gradient(135deg,#b92f49,#8e2238);border-radius:14px;color:#fff!important;text-decoration:none!important}
.stb-vault-hero-cta strong{font-size:clamp(19px,3vw,26px);line-height:1.2}
.stb-vault-hero-cta span{font-size:15px;line-height:1.5;color:#fff}
.stb-vault-hero-cta .stb-vault-action-arrow{top:50%;right:22px;transform:translateY(-50%);font-size:26px}
.stb-vault-hero-cta:hover,.stb-vault-hero-cta:focus-visible{background:linear-gradient(135deg,#cf3a55,#9c2640);outline:3px solid #f5a7b1;outline-offset:2px}
.stb-vault-checklist{margin:6px 0 18px;padding:16px 18px;border:1px dashed var(--stb-line,#51404e);border-radius:12px}
.stb-vault-checklist h4{margin:0 0 8px;color:#fff;font-size:15px;letter-spacing:.4px}
.stb-vault-checklist ol{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.stb-vault-checklist li a{display:flex;align-items:center;gap:10px;min-height:44px;color:var(--stb-ivory,#f5eee8)!important;text-decoration:none!important}
.stb-vault-checklist li.is-done a{color:var(--stb-muted,#c7b8c2)!important}
.stb-vault-checklist .stb-check{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;border:2px solid var(--stb-pink,#e8929d);color:var(--stb-pink,#e8929d);font-weight:900}
.stb-vault-checklist li.is-done .stb-check{background:var(--stb-pink,#e8929d);color:#151116}
@media(max-width:760px){
  .stb-vault-shell{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
  .stb-vault-shell .stb-vault-nav{position:fixed;left:0;right:0;bottom:0;z-index:50;margin:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));gap:6px;background:#17121bf2;border-top:1px solid var(--stb-line,#51404e);backdrop-filter:blur(8px)}
  .stb-vault-shell .stb-vault-nav-main{gap:6px}
  .stb-vault-shell .stb-vault-nav .stb-unified-tab,.stb-vault-shell .stb-vault-more-toggle{flex-direction:column;gap:2px;min-height:56px;padding:6px 4px;font-size:12px;border-radius:10px;min-width:0}
  .stb-vault-shell .stb-nav-icon{font-size:20px;line-height:1}
  .stb-vault-shell .stb-nav-count{display:none}
  .stb-vault-shell .stb-vault-more{flex:0 0 22%}
  .stb-vault-shell .stb-vault-more-menu{top:auto;bottom:calc(100% + 10px);right:0;min-width:min(260px,86vw)}
  .stb-vault-hero-cta{padding-right:52px}
}
@media(prefers-reduced-motion:reduce){.stb-vault-shell *{scroll-behavior:auto!important}}
.stb-vault-shell .stb-vault-nav :is(.stb-nav-icon,.stb-nav-label){background:none!important;padding:0!important;border-radius:0!important;margin:0!important;min-width:0!important;color:inherit!important}
.stb-vault-shell .stb-vault-nav .stb-nav-count{background:#0006!important;padding:1px 7px!important;border-radius:999px!important}
.stb-vault-checklist .stb-check{text-decoration:none!important;display:inline-grid}

/* v1.10: smaller rank panel in the Den; badges live under My Account */
.stb-vault-shell .stb-rank-panel--compact{padding:10px 14px;margin:8px 0;border-radius:14px}
.stb-vault-shell .stb-rank-panel--compact .stb-collector-kicker,.stb-vault-shell .stb-rank-panel--compact .stb-rank-labels p{display:none}
.stb-vault-shell .stb-rank-panel--compact .stb-rank-labels h3{margin:0;font-size:16px;line-height:1.2}
.stb-vault-shell .stb-rank-panel--compact .stb-rank-current-badge img{width:34px;height:34px}
.stb-vault-shell .stb-rank-panel--compact .stb-rank-heading{gap:10px;margin:0}
.stb-vault-shell .stb-rank-panel--compact .stb-rank-count strong{font-size:18px}
.stb-vault-shell .stb-rank-panel--compact .stb-rank-count span,.stb-vault-shell .stb-rank-panel--compact .stb-rank-next{font-size:12px}
.stb-vault-shell .stb-rank-panel--compact .stb-rank-meter{height:6px;margin:8px 0 4px}

/* Collector Den home */
.stb-den-head{margin-bottom:4px}
.stb-den-hero{align-items:center;flex-direction:row!important;gap:16px!important;margin-top:14px!important}
.stb-den-hero-num{flex:none;display:grid;place-items:center;width:clamp(56px,14vw,76px);height:clamp(56px,14vw,76px);border-radius:16px;background:rgba(0,0,0,.28);font-size:clamp(28px,7vw,40px);font-weight:800;line-height:1;color:#fff}
.stb-den-hero-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.stb-den-hero.is-empty{background:linear-gradient(135deg,#3a2a40,#2b2030);border:1px solid #5c3e53;padding-right:clamp(18px,3vw,28px)}
.stb-den-hero-link{margin-left:auto;flex:none;background:#e13d52;color:#fff!important;font-weight:700;text-decoration:none!important;padding:11px 16px;border-radius:10px;font-size:14px;white-space:nowrap}
.stb-den-section{margin:18px 0 0;padding:16px 18px;border:1px solid #4a3a4a;border-radius:14px;background:#251c29}
.stb-den-section h4{margin:0;color:#fff;font-size:16px}
.stb-den-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px}
.stb-den-section-head a,.stb-den-earn a{color:#f5a7b1}
.stb-den-rank-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.stb-den-rank .stb-rank-meter{margin:12px 0 6px}
.stb-den-rank .stb-rank-next{margin:0;font-size:13px}
.stb-den-badges{display:flex;gap:6px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.stb-den-badges li{width:38px;height:38px;border-radius:10px;background:#322338;display:grid;place-items:center;overflow:hidden;color:#f0879b}
.stb-den-badges img{width:100%;height:100%;object-fit:cover;display:block}
.stb-den-recent{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px;list-style:none;margin:0 0 6px;padding:0}
.stb-den-recent a{display:flex;flex-direction:column;gap:3px;text-decoration:none!important;color:#fff!important}
.stb-den-recent-art{aspect-ratio:5/7;border-radius:8px;background:#322338;overflow:hidden;display:grid;place-items:center;border:1px solid #5c3e53}
.stb-den-recent-art img{width:100%;height:100%;object-fit:cover;display:block}
.stb-den-recent strong{font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.stb-den-recent small{font-size:11px;color:#cdbdcd}
.stb-den-empty{margin:0 0 6px}.stb-den-totals{margin:6px 0 10px;font-size:13px;color:#cdbdcd}
.stb-den-earn ul{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.stb-den-earn li{display:flex;gap:10px;align-items:flex-start;line-height:1.45;color:#ded2df}
.stb-den-earn .stb-check{color:#f0879b;flex:none}.stb-den-earn li.is-done .stb-check{color:#6ee09a}
@media(max-width:600px){.stb-den-hero{padding-right:44px!important}.stb-den-hero.is-empty{flex-wrap:wrap}.stb-den-hero-link{margin-left:0;width:100%;text-align:center}.stb-den-section{padding:14px}}
