/* Keep project hover details legible against their own banner. */
.project .project-visual:before,.project:hover .project-visual:before{display:none}
html[data-palette="tiger"] .visual-two .project-num{color:#161518}
html[data-palette="tiger"] .project:hover .visual-one .project-open{background:var(--orange);color:var(--ink)}

/* The header keeps its place in the document and returns on upward scroll. */
.top{position:sticky;top:0;z-index:30;background:var(--ink);transition:transform .3s cubic-bezier(.2,.8,.2,1);isolation:isolate}
.top:before{content:'';position:absolute;inset:0 calc((100% - 100vw)/2);z-index:-1;background:rgba(18,18,18,.9);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);pointer-events:none}
html[data-palette="original"] .top:before{background:rgba(18,18,26,.9)}
.top.header-hidden{transform:translateY(calc(-100% - 1px));pointer-events:none}
.top:focus-within{transform:none;pointer-events:auto}
html{scroll-padding-top:110px}

@media(min-width:901px){
  .runner-shell{height:360px;min-height:var(--result-min-height,360px)}
  .runner-result-actions{flex-wrap:wrap;gap:12px 20px}
  .practice-list{--stack-base:260px;--stack-step:44px;gap:20px;background:var(--ink)}
  .practice-row{--card-surface:#8c67ff;top:108px;min-height:var(--stack-base);grid-template-columns:40px minmax(220px,1fr) minmax(200px,360px) 42px;align-content:center;isolation:isolate}
  .practice-row:before{content:'';position:absolute;inset:0;z-index:-1;background:var(--card-surface);border-radius:inherit;pointer-events:none}
  .practice-row:nth-child(2){top:152px;min-height:var(--stack-base);--card-surface:#ff82ae}
  .practice-row:nth-child(3){top:196px;min-height:var(--stack-base);--card-surface:#dcff57}
  .practice-row:hover{padding-left:48px}
  html[data-palette="tiger"] .practice-row{--card-surface:#022ff6;color:#ffffff}
  html[data-palette="tiger"] .practice-row:nth-child(2){--card-surface:#ffffff;color:#161518}
  html[data-palette="tiger"] .practice-row:nth-child(3){--card-surface:#ff8a16;color:#161518}
  html[data-palette="tiger"] .practice-row:nth-child(n+2) :is(.index,p,.asterisk){color:#161518}
  html[data-palette] .practice-row,html[data-palette] .practice-row:nth-child(n),html[data-palette] .practice-row:hover{background:var(--ink)}
  html[data-palette="tiger"] .practice-row:hover :is(.index,p,.asterisk){color:inherit}
}
@media(min-width:901px) and (max-width:1100px){.practice-row{padding:32px 28px;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr) 28px;gap:16px}.practice-row:hover{padding-left:28px}.practice-row h3{font-size:35px}}
@media(prefers-reduced-motion:reduce){.top{transition:none}.practice-row{position:sticky}}
