/* Boot Scootin v96.4.56 targeted repair: no layout/entry-page changes */
:root{--bs-bg:#080505;--bs-panel:#100809;--bs-panel2:#170b0c;--bs-red:#e52a35;--bs-cream:#fff4e8;--bs-muted:#d7c7bb;--bs-border:#67272c}
body:not(.admin-page):not(.ranch-page):not(.hq-page) .about-training-note,
body:not(.admin-page):not(.ranch-page):not(.hq-page) .library-progress-preview>div,
body:not(.admin-page):not(.ranch-page):not(.hq-page) .library-youtube-cta,
body:not(.admin-page):not(.ranch-page):not(.hq-page) .diary-archive-tools,
body:not(.admin-page):not(.ranch-page):not(.hq-page) .reward-benefits,
body:not(.admin-page):not(.ranch-page):not(.hq-page) .reward-join-card,
body:not(.admin-page):not(.ranch-page):not(.hq-page) .terms-card,
body:not(.admin-page):not(.ranch-page):not(.hq-page) .business-transparency-card{
  background:var(--bs-panel2)!important;color:var(--bs-cream)!important;border-color:var(--bs-border)!important;box-shadow:none!important}
body:not(.admin-page):not(.ranch-page):not(.hq-page) .about-training-note,
body:not(.admin-page):not(.ranch-page):not(.hq-page) .about-training-note *{color:var(--bs-muted)!important}
body:not(.admin-page):not(.ranch-page):not(.hq-page) .section.paper :is(h1,h2,h3,h4,strong,label,legend){color:var(--bs-cream)!important}
body:not(.admin-page):not(.ranch-page):not(.hq-page) .section.paper :is(p,li,small){color:var(--bs-muted)!important}
body:not(.admin-page):not(.ranch-page):not(.hq-page) .section.paper a:not(.button){color:#f15a61!important}
#menu45 .menu45-submenu>a{color:#f0e5dc!important}
#menu45 .menu45-summary-copy small{color:#cdb7a8!important}
.library-actions-three{display:flex!important;flex-wrap:wrap!important;gap:.85rem 1.1rem!important;align-items:center!important}
.bootstepper-link{font-weight:700!important}
/* Keep form controls usable while eliminating beige fills */
body:not(.admin-page):not(.ranch-page):not(.hq-page) .section.paper :is(input,select,textarea){background:#080505!important;color:#fff!important;border-color:#713037!important}


/* v96.4.57 targeted repairs */
.moonshine-title-stacked{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:.02em!important;line-height:.92!important;max-width:100%!important}
.moonshine-title-stacked>span{display:block!important;max-width:100%!important}
.moonshine-title-stacked .moonshine-amp{font-size:.72em!important;line-height:.72!important;color:#f3e8dc!important;text-shadow:0 0 18px rgba(209,25,35,.55)!important;margin:.06em 0!important}
.global-ip-notice{max-width:1100px;margin:0 auto;padding:32px clamp(24px,5vw,70px) 42px;text-align:center;background:#030202;color:#a99589;border-top:1px solid #5b1e23;font-size:14px;line-height:1.55}
.global-ip-notice strong{color:#f5ece6}.global-ip-notice p{max-width:900px;margin:0 auto 10px}.global-ip-notice .ip-small{font-size:12px}
.home-mailing-section{border-top:1px solid #5b1e23;border-bottom:1px solid #5b1e23}
.home-mailing-section .mailing-box{max-width:1100px;margin:0 auto}
@media(max-width:700px){.moonshine-title-stacked{font-size:clamp(54px,15vw,88px)!important}.global-ip-notice{padding:28px 28px 110px;font-size:12px}.global-ip-notice .ip-small{font-size:10px}}


/* v96.4.58 — mobile Explore drill-down: one section at a time, no bleed into neighbours */
@media (max-width:950px){
  #nav.menu45-overlay.open{overscroll-behavior:contain!important;overflow-y:auto!important}
  #menu45.menu58-drilldown .menu45-first,
  #menu45.menu58-drilldown .menu45-home,
  #menu45.menu58-drilldown .menu45-section:not(.menu58-active){display:none!important}
  #menu45.menu58-drilldown .menu45-sections{display:block!important}
  #menu45.menu58-drilldown details.menu45-section.menu58-active{display:block!important;min-height:calc(100dvh - 115px)!important;border:0!important}
  #menu45.menu58-drilldown details.menu45-section.menu58-active>summary{position:sticky!important;top:88px!important;z-index:8!important;background:#080505!important;border-bottom:1px solid #6b292d!important}
  #menu45.menu58-drilldown details.menu45-section.menu58-active .menu45-submenu{display:block!important;padding-bottom:48px!important}
  body.menu-open{overflow:hidden!important;touch-action:none!important}
  #nav.menu45-overlay.open{touch-action:pan-y!important}
}
/* Nora's Choreography link is an intentional one-dance view */
body.nora-original-only .library-controls .filter-row{display:none!important}

/* v96.4.59 — menu first-link persistence guard. Prevent Safari/history navigation from hiding the first entries. */
@media (max-width:950px){
  #menu45 details.menu45-section[open] > .menu45-submenu > a,
  #menu45 details.menu45-section.menu58-active > .menu45-submenu > a{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    max-height:none!important;
    height:auto!important;
    transform:none!important;
  }
  #menu45 details.menu45-section.menu58-active > .menu45-submenu > a:nth-child(1),
  #menu45 details.menu45-section.menu58-active > .menu45-submenu > a:nth-child(2){
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
  }
}
