/* Only the Plinko section bar sticks; the global header scrolls normally. */
body:has(.plinko-subnav) .site-header{position:relative;top:auto}
.plinko-subnav{position:sticky;top:var(--plinko-admin-offset,0px);z-index:40;background:#10121ff5;border-bottom:1px solid #393249}
.plinko-subnav__bar{display:flex;align-items:center;gap:.35rem;min-height:54px;position:relative;padding-block:4px;flex-wrap:nowrap}
.plinko-subnav a,.plinko-subnav summary{color:#eee6ff;font-size:15px;line-height:1.35;text-decoration:none;border-radius:.4rem}
.plinko-subnav__bar>a{display:flex;align-items:center;gap:.4rem;min-height:44px;padding:.5rem .75rem;white-space:nowrap}
.plinko-subnav a:hover{background:#30233f;color:#fff}
.plinko-subnav [aria-current="page"]{background:#352843;color:#fff}
.plinko-subnav :is(a,summary):focus-visible{outline:2px solid #dfbaff;outline-offset:2px}
.plinko-subnav__disclosure{margin:0 0 0 auto;padding:0;border:0;color:inherit;font-size:inherit}
.plinko-subnav summary{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.5rem .75rem;cursor:pointer;list-style:none;background:#1b1926;border:1px solid #665078;white-space:nowrap}
.plinko-subnav summary:hover{background:#282230}
.plinko-subnav summary::-webkit-details-marker{display:none}
.plinko-subnav__chevron{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .15s}
.plinko-subnav details[open] .plinko-subnav__chevron{transform:rotate(180deg)}
.plinko-subnav__panel{position:absolute;top:100%;right:0;width:min(100%,1184px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:1rem;background:#141522;border:1px solid #514362;border-radius:.65rem;box-shadow:0 16px 36px #0008;max-height:calc(100dvh - var(--plinko-panel-top,124px) - var(--plinko-bottom-inset,64px) - 8px);overflow:auto;overscroll-behavior:contain}
.plinko-subnav__group{min-width:0;padding:0;border:0;background:none}
.plinko-subnav__group>strong{display:block;margin:0 0 .5rem;color:#bca7d2;font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.plinko-subnav__cards{display:grid;gap:0}
.plinko-subnav a.plinko-subnav__card{display:flex;align-items:center;gap:.6rem;min-height:44px;padding:.65rem .4rem;border:0;border-radius:0;background:transparent;font-size:15px;box-shadow:none}
.plinko-subnav .plinko-subnav__cards>a+a{border-top:1px solid #393249}
.plinko-subnav__card-copy{min-width:0;flex:1}.plinko-subnav__card-copy>span{display:block;font-weight:500;overflow-wrap:normal}
.plinko-subnav .game-icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;color:#c4a6e0}
.plinko-subnav__bar>a .game-icon{width:16px;height:16px}
.plinko-subnav__bar>.plinko-subnav__quick-money .game-icon{color:#a4d8b9}
.plinko-link-arrow{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;margin-left:auto}
.plinko-subnav__group--play .plinko-subnav__cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.plinko-subnav__group--play .plinko-subnav__cards:has(> :nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}
.plinko-subnav__group--play a.plinko-subnav__card{flex-direction:column;justify-content:center;gap:.45rem;padding:.7rem .2rem;min-height:76px;text-align:center}
.plinko-subnav__group--play .plinko-subnav__cards>a+a{border-top:0;border-left:1px solid #393249}
.plinko-subnav__group--play .plinko-link-arrow{display:none}
.plinko-subnav__group--casino .plinko-subnav__card--primary .game-icon{color:#a4d8b9}
.plinko-subnav__group--casino .plinko-subnav__card--primary .plinko-subnav__card-copy{color:#c0dbc9}
.plinko-subnav a.plinko-subnav__card:hover{background:#292235}
.plinko-subnav a.plinko-subnav__card[aria-current="page"]{background:#352843;box-shadow:none}
.plinko-subnav__overview{grid-column:1/-1;border-top:1px solid #393249;padding-top:.4rem}
.plinko-subnav__mobile{display:none}
html:has(.plinko-subnav){scroll-padding-top:calc(var(--plinko-admin-offset,0px) + 64px)}
body.free-game-expanded-open .plinko-subnav,html:has(:fullscreen) .plinko-subnav{display:none}
.free-game-navigation:not(:has(*)),.game-navigation-wrap:not(:has(*)){display:none}
.plinko-versions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1rem 0}.plinko-version{display:flex;flex-direction:column;gap:.4rem;padding:1rem;border:1px solid #494057;border-radius:.8rem;background:#151623;text-decoration:none;color:#fff}.plinko-version small{color:#c9bfd9}.plinko-version--classic{border-color:#c7a36b;background:linear-gradient(120deg,#35243c,#211d2b)}
.plinko-compact-actions{display:flex;flex-wrap:wrap;gap:.65rem 1.4rem;margin:1rem 0 1.5rem}.plinko-model-hint{font-size:.8rem;color:#c9bfd9;line-height:1.45;margin:.5rem 0}

.plinko-subnav__version-note{display:none}
@media(min-width:768px){
 /* Keep the 44px hit area, but inset the visible button frame vertically. */
 .plinko-subnav summary{position:relative;isolation:isolate;background:transparent;border-color:transparent}
 .plinko-subnav summary::before{content:"";position:absolute;inset:5px 0;z-index:-1;pointer-events:none;border:1px solid #665078;border-radius:.4rem;background:#1b1926}
 .plinko-subnav summary:hover{background:transparent}
 .plinko-subnav summary:hover::before{background:#282230}

 .plinko-subnav__group--play .plinko-subnav__cards,.plinko-subnav__group--play .plinko-subnav__cards:has(> :nth-child(4)){grid-template-columns:1fr}
 .plinko-subnav__group--play a.plinko-subnav__card{flex-direction:row;justify-content:flex-start;gap:.6rem;padding:.65rem .4rem;min-height:58px;text-align:left}
 .plinko-subnav__group--play .plinko-subnav__cards>a+a{border-left:0;border-top:1px solid #393249}
 .plinko-subnav__group--play .plinko-link-arrow{display:block}
 .plinko-subnav__version-note{display:block;margin-top:.2rem;font-size:12px;line-height:1.4;color:#bfb4cf}
}
@media(min-width:768px) and (max-width:899px){
 .plinko-subnav__bar{gap:0}
 .plinko-subnav__bar>a,.plinko-subnav summary{padding:.5rem .4rem;font-size:14px;gap:.3rem}
}
@media(max-width:767px){
 .plinko-subnav .plinko-subnav__desktop{display:none}.plinko-subnav__mobile{display:inline}
 .plinko-subnav__bar{gap:0}.plinko-subnav__bar>a,.plinko-subnav summary{padding:.4rem .45rem;font-size:14px;gap:.3rem}
 .plinko-subnav summary{border-color:#51465f;border-radius:.35rem;gap:.25rem}
 .plinko-subnav a.plinko-subnav__card{font-size:14px}
 .plinko-subnav__panel{width:100%;grid-template-columns:1fr;gap:.75rem;padding:.75rem}
 .plinko-subnav__group--play{order:0}.plinko-subnav__group--casino{order:1}.plinko-subnav__group--learn{order:2}.plinko-subnav__overview{order:3}
 .plinko-subnav__group+.plinko-subnav__group{border-top:1px solid #393249;padding-top:.75rem}
 .plinko-subnav__group--learn .plinko-subnav__cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .plinko-subnav__group--learn .plinko-subnav__cards>a{gap:.4rem;padding:.55rem .25rem}
 .plinko-subnav__group--learn .plinko-subnav__cards>a:nth-child(2){border-top:0}
 .plinko-subnav__group--learn .plinko-subnav__cards>a:nth-child(even){border-left:1px solid #393249;padding-left:.5rem}
 .plinko-subnav__group--learn .plinko-link-arrow{width:12px;height:12px}
 .plinko-subnav .plinko-subnav__quick-unblocked{display:flex}
 .plinko-versions{grid-template-columns:1fr;gap:.5rem}.plinko-version{padding:.8rem 1rem;gap:.2rem}
}
@media(max-width:419px){
 .plinko-subnav__group--play .plinko-subnav__cards:has(> :nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}
 .plinko-subnav__group--play .plinko-subnav__cards:has(> :nth-child(4))>a:nth-child(3){border-left:0}
 .plinko-subnav__group--play .plinko-subnav__cards:has(> :nth-child(4))>a:nth-child(n+3){border-top:1px solid #393249}
}
@media(max-width:379px){.plinko-subnav .plinko-subnav__quick-unblocked{display:none}}
@media(prefers-reduced-motion:reduce){.plinko-subnav__chevron{transition:none}}

/* Shared introduction rhythm; local page backgrounds and title treatments remain. */
body:has(.plinko-subnav) :is(header.plinko-page-heading,.stake-hero,.qp-heading,.classic-intro){padding-top:1.25rem;padding-bottom:0;margin-top:0;margin-bottom:1.5rem}
body:has(.plinko-subnav) :is(.plinko-page-heading,.stake-hero,.qp-heading,.classic-intro,.game-hero) .breadcrumb{margin:0 0 1rem;padding:0}
body:has(.plinko-subnav) :is(.plinko-page-heading,.stake-hero,.qp-heading,.classic-intro,.game-hero) h1{margin-top:.75rem;margin-bottom:.75rem}
body:has(.plinko-subnav) :is(.plinko-page-heading,.stake-hero__copy,.qp-heading,.classic-title-card,.game-hero__content,.how-to-hero__content)>p{max-width:65ch;font-size:1rem;line-height:1.65;margin-top:0;margin-bottom:.65rem}
body:has(.plinko-subnav) .plinko-page-heading .how-to-hero__lede{font-size:1rem;line-height:1.65;max-width:65ch}
body:has(.plinko-subnav) .classic-stage{padding-top:0}
body:has(.plinko-subnav) :is(.simulator,.odds-tool){margin-top:0}

/* Breadcrumb spacing is measured from the section bar, including wrapper padding. */
body:has(.plinko-subnav) .qp-page{padding-top:0}
body:has(.plinko-subnav) .qp-heading .breadcrumb{font-size:.78rem;line-height:1.58}
body:has(.plinko-subnav) .qp-badge{margin-top:0;vertical-align:top}
