/* Keep the oversized decorative marquee inside its own viewport. */
.ticker-viewport{overflow:hidden;overflow:clip;padding-block:22px;margin-block:-22px}
html{overflow-x:clip;background:var(--ink)}
/* hidden implicitly created a body scroll container, trapping sticky cards. */
body{overflow-x:clip;overflow-y:visible}
.runner-result{z-index:4}
.runner-shell{height:270px}
.runner-shell .runner-tip{text-decoration:underline;text-underline-offset:5px;color:var(--blue-text,var(--lime))}
.runner-hero .hero-bottom .intro,.runner-hero .hero-bottom .intro *{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.runner-result-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 20px;border-radius:100px;background:var(--game-accent);color:var(--ink);text-decoration:none;font-weight:700}
html[data-palette="tiger"] .runner-result-actions a{background:var(--orange);color:var(--ink)}
.runner-result-actions button{min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:100px;color:var(--cream)}
@media(max-width:620px){
  .project .project-visual,.project:first-child .project-visual{border-radius:24px}
  .project:hover .project-visual,.project:first-child:hover .project-visual{border-radius:32px}
  .wrap{max-width:calc(100% - 32px);min-width:0}
  .ticker{width:110%;margin-left:-5%}
  .hero-bottom .intro{min-width:0;flex:1}
  .hero-links{flex-shrink:0}
  .runner-shell{width:100%;min-width:0;height:280px}
  .runner-shell canvas{max-width:100%}
  .runner-result{left:8px;right:8px;top:55px;max-width:none;padding:16px;border:1px solid var(--line);border-radius:24px}
  .runner-result h3{font-size:clamp(21px,5.7vw,25px);line-height:1.15;margin-bottom:14px}
  .runner-result-kicker{margin-bottom:8px}
  .runner-result-actions{gap:10px;flex-wrap:wrap}
  .runner-result-actions a,.runner-result-actions button{font-size:14px}
  .runner-shell.is-over .runner-tip{visibility:hidden}
}
@media(max-width:900px){
  .practice-list{--stack-base:240px;--stack-step:44px;border:0;display:grid;gap:16px;background:var(--ink)}
  /* Safari extends the sticky shell's color into its browser chrome. Keep it charcoal, not transparent. */
  .practice-row{--card-surface:#8c67ff;position:sticky;top:76px;min-height:var(--stack-base);border:0;border-radius:24px;padding:26px 22px;grid-template-columns:28px minmax(0,1fr) 28px;gap:12px;background:var(--ink);color:#15131e;box-shadow:0 16px 32px rgba(0,0,0,.2);isolation:isolate;align-content:center}
  .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:120px;min-height:var(--stack-base);--card-surface:#ff82ae;z-index:2}
  .practice-row:nth-child(3){top:164px;min-height:var(--stack-base);--card-surface:#dcff57;z-index:3}
  .practice-row h3{font-size:clamp(25px,6vw,38px)}
  .practice-row :is(.index,p,.asterisk){color:#201b2d}
  .practice-row p{grid-column:2;grid-row:2;font-size:15px}
  .practice-row .asterisk{grid-column:3;grid-row:1;font-size:28px}
  .practice-row:hover{padding-left:22px}
  html[data-palette="tiger"] .practice-row{background:var(--ink);--card-surface:#022ff6;color:#ffffff}
  html[data-palette="tiger"] .practice-row :is(.index,p,.asterisk){color:#ffffff}
  html[data-palette="tiger"] .practice-row:nth-child(2){background:var(--ink);--card-surface:#ffffff;color:#161518}
  html[data-palette="tiger"] .practice-row:nth-child(3){background:var(--ink);--card-surface:#ff8a16;color:#161518}
  html[data-palette="tiger"] .practice-row:hover{background:var(--ink)}
  html[data-palette="tiger"] .practice-row:nth-child(n+2) :is(.index,p,.asterisk){color:#161518}
  .collabs{position:relative;z-index:4;background:var(--ink)}
}
@media(prefers-reduced-motion:reduce){.practice-row{position:sticky;transition:none}}
