/* DINKRYO motion: opt-in routes, existing palette and visible-by-default content. */
[data-dinkryo-motion] { --motion-scale:1; --motion-fast:calc(160ms * var(--motion-scale)); --motion-enter:calc(540ms * var(--motion-scale)); --motion-ease:cubic-bezier(.2,.7,.2,1); }
[data-motion-speed="25"] { --motion-scale:4; }
[data-motion-speed="50"] { --motion-scale:2; }
[data-motion-speed="75"] { --motion-scale:1.333333; }
[data-motion-speed="125"] { --motion-scale:.8; }
[data-motion-speed="150"] { --motion-scale:.666667; }
body[data-dinkryo-motion="public"] main { overflow:clip; }
[data-dinkryo-motion] .button,[data-dinkryo-motion] input,[data-dinkryo-motion] select,[data-dinkryo-motion] textarea,[data-dinkryo-motion] summary { transition:transform var(--motion-fast) ease,box-shadow var(--motion-fast) ease,border-color var(--motion-fast) ease,background-color var(--motion-fast) ease; }
[data-dinkryo-motion] .button:active { transform:translateY(1px) scale(.98); }
[data-dinkryo-motion] input:focus-visible,[data-dinkryo-motion] select:focus-visible,[data-dinkryo-motion] textarea:focus-visible { box-shadow:0 0 0 4px var(--soft); }
[data-dinkryo-motion] summary:focus-visible { outline-offset:5px; }
body[data-dinkryo-motion="public"] :is(.listing-card,.store-product-card,.store-shop-card,.tournament-card) { transition:box-shadow calc(220ms * var(--motion-scale,1)) ease,translate calc(220ms * var(--motion-scale,1)) ease; }
body[data-dinkryo-motion="public"] :is(.card-image,.community-photo) { overflow:hidden; }
body[data-dinkryo-motion="public"] :is(.card-image,.community-photo) img { transition:scale calc(600ms * var(--motion-scale,1)) var(--motion-ease); }
body[data-dinkryo-motion="public"] .shop-product { transition:box-shadow calc(220ms * var(--motion-scale,1)) ease; }
body[data-dinkryo-motion="public"] .shop-product-picture { overflow:hidden; }
body[data-dinkryo-motion="public"] .shop-product-picture img { transition:scale calc(500ms * var(--motion-scale,1)) var(--motion-ease); }
@media(hover:hover) and (pointer:fine) {
 body[data-dinkryo-motion="public"] .shop-product:hover { box-shadow:0 12px 30px #060c2012; }
 body[data-dinkryo-motion="public"] .shop-product:hover .shop-product-picture img { scale:1.035; }
}
@media(hover:hover) and (pointer:fine) {
 body[data-dinkryo-motion="public"] :is(.listing-card,.store-product-card,.store-shop-card,.tournament-card):hover { translate:0 -4px; box-shadow:0 16px 38px #060c2012; }
 body[data-dinkryo-motion="public"] :is(.card-image,.community-photo):hover img { scale:1.035; }
}
body[data-dinkryo-motion="public"] :is(.listing-card,.store-product-card,.store-shop-card,.tournament-card):focus-within { box-shadow:0 0 0 2px var(--lime),0 14px 32px #060c2010; }
[data-motion-state="on"] .motion-enter { animation:motion-rise var(--motion-enter) var(--motion-ease) both; animation-delay:calc(var(--motion-delay,0ms) * var(--motion-scale,1)); }
[data-motion-state="on"] .motion-enter[data-motion-kind="image"] { animation-name:motion-image; animation-duration:calc(700ms * var(--motion-scale,1)); }
@keyframes motion-rise { from { opacity:.65; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes motion-image { from { clip-path:inset(0 5% 0 0 round 20px); transform:translateX(-10px); } to { clip-path:inset(0 round 20px); transform:translateX(0); } }
.motion-preference { display:flex;align-items:center;gap:9px;background:transparent;color:inherit;border:1px solid currentColor;border-radius:30px;padding:9px 14px;font-size:11px;font-weight:600;margin-top:20px; }
.motion-preference[hidden] { display:none; }
.motion-preference::before { content:'';width:7px;height:7px;background:var(--lime);border-radius:50%; }
.motion-preference[aria-pressed="false"]::before { background:currentColor; }
/* Original supplementary art sits above the existing banner; the banner is retained. */
.home-premium .home-hero { position:relative; }
.home-premium .hero-inner { position:relative;z-index:2; }
.home-premium .hero-line { display:block; }
.home-premium .hero-art { position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1; }
.home-premium .hero-art-court { position:absolute;right:-6%;bottom:13%;width:45%;color:#ffffff;opacity:.08;transform:perspective(600px) rotateX(50deg) rotateZ(-22deg); }
.home-premium .hero-orbit { position:absolute;width:260px;height:260px;right:13%;top:5%;border:1px solid #ffffff38;border-radius:50%;transform:rotate(-30deg); }
.home-premium .hero-orbit::after { content:'';position:absolute;inset:20px;border:1px dashed #ffffff30;border-radius:50%; }
.home-premium .hero-ball { position:absolute;width:76px;right:35%;top:11%;filter:drop-shadow(0 12px 18px #060c2055); }
.home-premium .hero-paddle { position:absolute;width:70px;left:57%;bottom:16%;transform:rotate(25deg);filter:drop-shadow(0 18px 22px #060c2055); }
.home-premium .hero-trail { position:absolute;right:34%;top:27%;height:1px;width:120px;background:linear-gradient(90deg,transparent,var(--lime));transform:rotate(-28deg);opacity:.6; }
.home-premium .hero-caption { z-index:2; }
.home-premium .feature-icon img { width:48px;height:48px;object-fit:contain; }
.home-premium .feature-icon { display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:18px;background:var(--navy);border:1px solid #cbf60040; }
.home-premium .feature:focus-visible { outline:3px solid var(--ink);outline-offset:5px; }
.home-premium .feature.navy:focus-visible { outline-color:var(--lime); }
.home-premium .home-community .community-photo { position:relative; }
.home-premium .community-rally { position:absolute;right:18px;top:24px;width:88px;height:auto;pointer-events:none;filter:drop-shadow(0 12px 14px #060c2020); }
.home-premium .home-events .section-heading { position:relative; }
.home-premium .event-art { position:absolute;right:1%;bottom:8px;width:95px;opacity:.5;pointer-events:none; }
.home-premium .app-orbit { position:absolute;inset:-30px;border:1px dashed #0b303b30;border-radius:50%;pointer-events:none; }
.home-premium .android-art { position:relative; }
.home-premium .android-art .app-ball { position:absolute;right:-20px;top:15px;width:64px;height:auto;padding:0;pointer-events:none; }
.home-premium .android-art .app-paddle { position:absolute;left:-28px;bottom:20px;width:67px;height:auto;padding:0;transform:rotate(-25deg);pointer-events:none; }
.home-premium .home-app .android-art { overflow:visible; }
.home-premium .rally-finish { position:absolute;right:8%;top:20%;width:105px;transform:rotate(-20deg);pointer-events:none;opacity:.25; }
.about-rally-art { float:right;width:min(25%,180px);margin:0 0 20px 35px;transform:rotate(16deg);pointer-events:none; }
.about-rally-art img { width:100%;height:190px;object-fit:contain; }
.download-brand { position:relative; }
.download-brand .download-motion-ball { position:absolute;right:10%;top:8%;width:66px;pointer-events:none; }
/* Persistent motion only runs when enabled, visible and inside the viewport. */
[data-motion-scene] .motion-float { animation:motion-float calc(7s * var(--motion-scale,1)) ease-in-out infinite alternate;animation-play-state:paused; }
[data-motion-scene] .motion-float-slow { animation:motion-sway calc(10s * var(--motion-scale,1)) ease-in-out infinite alternate;animation-play-state:paused; }
body[data-motion-state="on"][data-motion-visible="true"] [data-motion-scene].is-in-view :is(.motion-float,.motion-float-slow) { animation-play-state:running; }
@keyframes motion-float { from { translate:0 0;rotate:-5deg; } to { translate:0 -14px;rotate:7deg; } }
@keyframes motion-sway { from { translate:0 0;rotate:-3deg; } to { translate:7px -7px;rotate:4deg; } }
@media(max-width:900px) { .home-premium .hero-ball{right:15%;width:54px;top:8%}.home-premium .hero-paddle{display:none}.home-premium .hero-orbit{right:-10%;opacity:.45}.home-premium .hero-art-court{width:65%;right:-20%}.home-premium .hero-trail{display:none}.home-premium .event-art{display:none} }
@media(max-width:600px) { .home-premium .hero-ball{width:42px;top:28px;right:7%}.home-premium .hero-orbit{width:160px;height:160px;right:-70px;top:10px}.home-premium .hero-art-court{bottom:10%;width:90%;right:-40%;opacity:.1}.home-premium .community-rally{width:60px;right:10px}.home-premium .app-orbit{inset:-12px}.home-premium .android-art .app-ball{right:8px;width:45px}.home-premium .android-art .app-paddle{left:8px;width:48px}.about-rally-art{width:90px;margin-left:14px}.about-rally-art img{height:150px}.home-premium .rally-finish{width:65px;right:2%;top:12%} }
body[data-motion-state="off"] :is(.motion-enter,.motion-float,.motion-float-slow),body[data-motion-state="off"] [data-home-atmosphere]::after { animation:none!important; }
body[data-motion-state="off"][data-dinkryo-motion] *,body[data-motion-state="off"][data-dinkryo-motion] *::before,body[data-motion-state="off"][data-dinkryo-motion] *::after { transition:none!important; }
@media(prefers-reduced-motion:reduce) { html:has(body[data-dinkryo-motion]){scroll-behavior:auto}[data-dinkryo-motion] *,[data-dinkryo-motion] *::before,[data-dinkryo-motion] *::after { animation:none!important;transition:none!important;scroll-behavior:auto!important; } }
