/* BLINKBUN v3.9.3 — Home UX reset. Scoped, final overlay; no DOM reparenting. */
:root{
  --bb393-max:1180px;
  --bb393-pad:24px;
  --bb393-bg:#061827;
  --bb393-panel:#0a2034;
  --bb393-panel2:#0d2740;
  --bb393-line:rgba(111,205,244,.22);
  --bb393-line2:rgba(98,231,215,.30);
  --bb393-text:#eef8ff;
  --bb393-muted:#8faec1;
  --bb393-cyan:#66e8d9;
}

/* Header: one clean line, no injected retention copy inside nav. */
body.bb393-ready .bb393-header{
  width:min(var(--bb393-max),calc(100% - 40px))!important;
  max-width:var(--bb393-max)!important;
  margin:0 auto!important;
  min-height:68px!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:minmax(190px,1fr) auto minmax(240px,1fr)!important;
  align-items:center!important;
  gap:22px!important;
  border-bottom:1px solid rgba(132,190,220,.14)!important;
}
body.bb393-ready .bb393-header .v230-brand,
body.bb393-ready .bb393-header > a:first-child{justify-self:start!important;}
body.bb393-ready .bb393-nav{
  justify-self:center!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}
body.bb393-ready .bb393-nav > a,
body.bb393-ready .bb393-nav > details > summary{
  min-height:38px!important;
  padding:0 11px!important;
  display:inline-flex!important;
  align-items:center!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#cce0ec!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
body.bb393-ready .bb393-nav > a:hover,
body.bb393-ready .bb393-nav > details > summary:hover{
  background:rgba(75,185,220,.08)!important;
  color:#fff!important;
}
body.bb393-ready .bb393-nav > a[href*="/watch/"]{
  color:#fff!important;
  border-color:rgba(90,224,211,.30)!important;
  background:rgba(25,117,128,.12)!important;
}
body.bb393-ready .bb393-header .v230-actions,
body.bb393-ready .bb393-header .v260-actions,
body.bb393-ready .bb393-header .bb393-actions{
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
}
body.bb393-ready .bb393-header .bb391-watch-note,
body.bb393-ready .bb393-header .bb393-remove,
body.bb393-ready .bb391-strip{display:none!important;}

/* Main rhythm: same left/right edges for all important home blocks. */
body.bb393-ready .bb393-home-shell{
  width:min(var(--bb393-max),calc(100% - 40px))!important;
  max-width:var(--bb393-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.bb393-ready .bb393-hero{
  width:min(var(--bb393-max),calc(100% - 40px))!important;
  max-width:var(--bb393-max)!important;
  margin:30px auto 0!important;
  padding:52px 54px 38px!important;
  box-sizing:border-box!important;
  border-radius:26px!important;
  overflow:hidden!important;
}
body.bb393-ready .bb393-hero h1{
  max-width:760px!important;
  margin:0 auto 16px!important;
  font-size:clamp(42px,4.6vw,66px)!important;
  line-height:1.06!important;
  letter-spacing:-.04em!important;
  text-align:center!important;
}
body.bb393-ready .bb393-hero .bb393-hero-description{
  max-width:790px!important;
  margin:0 auto 24px!important;
  text-align:center!important;
  font-size:16px!important;
  line-height:1.65!important;
  color:#b9d0df!important;
}
body.bb393-ready .bb393-search{
  width:100%!important;
  max-width:1040px!important;
  margin:0 auto!important;
}
body.bb393-ready .bb393-search input{
  min-height:56px!important;
  font-size:15px!important;
}
body.bb393-ready .bb393-quick-grid{
  width:100%!important;
  max-width:1040px!important;
  margin:24px auto 0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
body.bb393-ready .bb393-quick-grid > *{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
body.bb393-ready .bb393-quick-grid a,
body.bb393-ready .bb393-quick-grid button{
  min-height:56px!important;
  border-radius:14px!important;
}
body.bb393-ready .bb393-hide-helper{display:none!important;}

/* Returning section: fill the width, cards 3-up instead of left-stacked. */
body.bb393-ready .bb393-return{
  width:min(var(--bb393-max),calc(100% - 40px))!important;
  max-width:var(--bb393-max)!important;
  margin:28px auto 0!important;
  padding:24px!important;
  box-sizing:border-box!important;
  border-radius:22px!important;
}
body.bb393-ready .bb393-return .bb393-return-heading{
  margin-bottom:8px!important;
}
body.bb393-ready .bb393-return-grid{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}
body.bb393-ready .bb393-return-card{
  width:auto!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  padding:16px!important;
  box-sizing:border-box!important;
  border-radius:15px!important;
  background:rgba(6,25,42,.72)!important;
  border:1px solid rgba(113,197,230,.16)!important;
}
body.bb393-ready .bb393-return-card .bb391-watch-note,
body.bb393-ready .bb393-return-card .bb393-card-helper{display:none!important;}
body.bb393-ready .bb393-return-card a,
body.bb393-ready .bb393-return-card button{white-space:nowrap!important;}

/* Lower home sections use the same visual axis. */
body.bb393-ready .bb393-wide-section{
  width:min(var(--bb393-max),calc(100% - 40px))!important;
  max-width:var(--bb393-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Stop old 3.9.2 overlay from affecting the new hierarchy if references remain cached. */
body.bb393-ready .bb-v3922-guide,
body.bb393-ready .bb-v3922-return,
body.bb393-ready .bb-v3922-hero{
  max-width:none;
}

@media(max-width:1120px){
  body.bb393-ready .bb393-header{
    grid-template-columns:auto 1fr auto!important;
    gap:12px!important;
  }
  body.bb393-ready .bb393-nav{gap:2px!important;}
  body.bb393-ready .bb393-nav > a,
  body.bb393-ready .bb393-nav > details > summary{padding:0 8px!important;font-size:12px!important;}
}
@media(max-width:900px){
  body.bb393-ready .bb393-header{
    width:calc(100% - 24px)!important;
    grid-template-columns:1fr auto!important;
    min-height:62px!important;
  }
  body.bb393-ready .bb393-nav{display:none!important;}
  body.bb393-ready .bb393-hero,
  body.bb393-ready .bb393-return,
  body.bb393-ready .bb393-home-shell,
  body.bb393-ready .bb393-wide-section{width:calc(100% - 24px)!important;}
  body.bb393-ready .bb393-hero{padding:36px 20px 24px!important;}
  body.bb393-ready .bb393-quick-grid,
  body.bb393-ready .bb393-return-grid{grid-template-columns:1fr!important;}
}
