.hero-playground{position:relative;width:min(680px,100%);height:300px;margin:-40px auto 10px;isolation:isolate}
#gitship-charms{display:block;width:100%!important;height:100%!important;touch-action:pan-y;cursor:grab;outline:none;opacity:0;transition:opacity .7s ease}
#gitship-charms.ready{opacity:1}#gitship-charms:active{cursor:grabbing}#gitship-charms:focus-visible{outline:2px solid #fff9;outline-offset:3px;border-radius:32px}
.playground-hint{position:absolute;bottom:2px;left:50%;transform:translateX(-50%);font-size:13px;letter-spacing:.025em;color:#ffffffb8;pointer-events:none;transition:opacity .5s}
.hero-playground:has(canvas:active) .playground-hint{opacity:0}
.scene-fallback{position:absolute;width:120px;height:120px;left:50%;top:50%;transform:translate(-50%,-50%);z-index:-1;opacity:.7}.hero-playground:has(.ready) .scene-fallback{display:none}
.ambient-atmosphere{position:fixed;inset:-15%;pointer-events:none;z-index:0;overflow:hidden;contain:strict}
.ambient-atmosphere i{position:absolute;display:block;width:65vw;height:65vw;max-width:1000px;max-height:1000px;border-radius:50%;background:radial-gradient(circle,#24e2f566,transparent 65%);will-change:transform;left:-15%;top:-20%}
.ambient-atmosphere i+ i{background:radial-gradient(circle,#f0ccff77,transparent 65%);left:auto;right:-15%;top:20%}
.read-progress{position:fixed;left:0;top:0;width:100%;height:3px;z-index:90;pointer-events:none;transform-origin:left;transform:scaleX(0);background:linear-gradient(90deg,#48ecf1,#fff,#e4c4ff);box-shadow:0 0 12px #fff5}
.headline-mask{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.1em;margin-bottom:-.1em}.headline-word{display:inline-block;will-change:transform}
article{transform-style:preserve-3d;will-change:auto}article[data-tilting]{will-change:transform;transition:box-shadow .3s ease,border-color .3s ease}
@media(max-width:639px){.hero-playground{height:240px;margin:12px auto 16px}.playground-hint{bottom:0;font-size:12px}.ambient-atmosphere i{width:120vw;height:120vw}}
@media(prefers-reduced-motion:reduce){.playground-hint{display:none}.headline-word{will-change:auto}#gitship-charms{transition:none}}

/* Keep the reference homepage's original content positions. */
.hero-playground{position:absolute;width:270px;height:300px;top:76px;right:calc((720px - 100vw)/2 + 5px);margin:0;z-index:0}
.hero-playground .playground-hint{display:none}
#hero{position:relative}#hero>div:not(.hero-playground){position:relative;z-index:1}
@media(max-width:1399px){.hero-playground{display:none}}
#homepage-grid{scroll-margin-top:90px}#homepage-notice{margin:0 0 16px;padding:14px 18px;font-size:14px;line-height:1.6;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--foreground)}
[hidden]{display:none!important}
