/* Milo's library. Navy surfaces, white reading text, yellow navigation accents. */
:root{--bg:#141e2b;--surface:#1e2d40;--surface-hover:#2c425b;--ink:#f4f7fb;--muted:#bac8d8;--line:#3b5068;--green:#f4d35e;--blue:#85c5ff;--ease:cubic-bezier(.16,1,.3,1)}
body{background:var(--bg);color:var(--ink)}a,button{transition:background-color .18s,color .18s,border-color .18s,transform .24s var(--ease)}.wrap{width:min(1280px,calc(100% - 64px))}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--green);outline-offset:4px}html{scrollbar-color:#637e9b #111a26}::selection{background:#f4d35e;color:#111a26}
.header{width:100%;height:86px;padding-inline:max(32px,calc((100vw - 1280px)/2));background:#101822;gap:64px;border-bottom:1px solid #314359}.brand{font-size:36px;letter-spacing:-.035em}.brand span{color:var(--green)}nav{gap:28px}nav a{color:#c7d5e3;font-size:14px;min-height:44px;display:inline-flex;align-items:center}nav a.nav-active{color:var(--green)}nav a:hover{color:#fff}.about-link{font-size:12px;color:var(--muted);padding-block:12px}.presence-bar{padding-top:16px;padding-bottom:0;color:var(--muted)}.online-dot{background:#8acbff;box-shadow:0 0 0 3px #85c5ff1f,0 0 10px #85c5ff80}.live-status,.active-count.is-live,.owner-status .active-count{color:#b5deff}.owner-status{color:#bac8d8}.presence-caption{color:#bac8d8}.intro{padding-top:34px;padding-bottom:26px;align-items:end}.intro h1{font-size:clamp(30px,3.4vw,46px);font-weight:700;letter-spacing:-.035em}.intro h1 span{color:var(--green)}.intro-aside p{font-size:13px;line-height:1.65}.intro-aside a{font-size:13px;color:var(--blue);min-height:32px}.intro-aside a:hover{color:#c4e5ff}
.featured{grid-template-columns:1.65fr 1fr;grid-template-rows:190px 190px;gap:16px}.spot{border-radius:12px;background:#0e1722}.spot:after{background:linear-gradient(0deg,#080f1df5,#080f1d11 83%)}.spot:not(.spot-main):after{background:linear-gradient(90deg,#091321f5,#091321b5 50%,#09132114)}.spot-main img{object-position:center 38%}.spot-main h2{font-size:32px}.spot h2{font-size:25px}.spot-content{left:24px;bottom:22px}.spot p{color:#e0e8f2;font-size:13px;line-height:1.6}.spot-category{font-size:12px;color:var(--blue)}.spot .round-arrow{background:var(--green);color:#131d2a}.spot:hover .round-arrow{background:#ffeaa0}.spot:not(.spot-main) .spot-content{max-width:72%}.spot-main .spot-content{right:76px}.round-arrow{width:40px;height:40px;right:20px;bottom:22px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{margin:0 0 5px;font-size:23px;letter-spacing:-.025em}.section-heading p{margin:0;color:var(--muted);font-size:13px}.new-section{padding-top:42px}.new-projects{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/4);gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 4px 16px;margin-inline:-4px;scrollbar-color:#637e9b #111a26}.new-project{display:block;min-width:0;background:#1e2d40;scroll-snap-align:start;border-radius:12px;overflow:hidden}.new-project:hover{background:#2c425b}.new-media{aspect-ratio:1.7;position:relative;background:#101b29;overflow:hidden}.new-media>img{width:100%;height:100%;object-fit:cover}.new-copy{padding:14px 16px 16px}.new-copy>span{font-size:11px;color:#bac8d8}.new-copy h3{font-size:15px;line-height:1.4;margin:6px 0 12px;font-weight:700}.new-copy>small{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--blue)}.new-copy .icon{width:16px;height:16px}.collection{padding-top:44px}.collection-top{margin-bottom:22px}.collection h2{font-size:27px}.collection h2 span{color:#f4d35e;background:#28394d;padding:5px 9px}.categories button{color:#c5d2e1;min-height:44px;border-radius:5px;font-size:13px;padding:10px 15px}.categories button.active{background:#304a65;color:#ffe185;box-shadow:inset 0 -2px #f4d35e}.categories button:hover,.categories button.active:hover{background:#3e5d7a;color:#fff}.categories button small{font-size:11px;opacity:1}.filter-bar{padding:10px 0;background:#192638;border-block:1px solid var(--line);gap:12px}.categories{padding-left:8px}.filter-bar>.icon-button{margin-right:10px}.icon-button{min-height:44px;min-width:44px;border-radius:5px}.icon-button:hover,.icon-button[aria-pressed=true]{background:#37516a;color:#ffe58c}.tools{gap:16px;flex-wrap:wrap}.search{background:#101b29;border:1px solid #506984;max-width:480px}.search input{height:46px;font-size:14px}.search kbd{font-size:11px;background:#30445b;color:#cfdeed}.right-tools{font-size:12px;gap:16px;flex-wrap:wrap}select{font-size:12px;min-height:44px;border:1px solid #506984;background:#1e2d40;border-radius:5px}.availability-label{min-height:44px;font-size:12px}.result-line p,.text-button{font-size:12px}.text-button{padding:10px;min-height:44px}.view-switch button{width:38px;height:38px}.view-switch button.active{background:#3d5570;color:#ffe17a}.project-grid{gap:22px;grid-template-columns:repeat(3,minmax(0,1fr))}.project-card{background:#1e2d40;border-radius:12px;overflow:hidden;animation:none;transition:background-color .2s,transform .2s}.project-card:hover{background:#2b4058}.card-media{border-radius:0;aspect-ratio:1.75;background:#101b29}.card-body{padding:17px 18px}.card-label{font-size:11px;color:var(--blue);margin-bottom:7px}.card-title-line h3{font-size:18px;line-height:1.35}.card-title-line h3 a:hover{color:#ffe185}.card-body>p{font-size:13px;line-height:1.7;color:#c1cedd;margin:9px 0 14px}.card-meta{font-size:11px;gap:8px;flex-wrap:wrap;padding-top:12px}.card-community{font-size:11px;gap:10px;color:#c2d0df;flex-wrap:wrap}.quality{background:#101a29eb;color:#f4d35e;font-size:11px;padding:6px 10px}.favorite{width:38px;height:38px;background:#0b1423ed;color:#edf4ff}.favorite:hover{background:#416387;color:#fff}.favorite[aria-pressed=true]{color:#ffe185}.favorite[aria-pressed=true] .icon{fill:#ffe185}.card-open{background:#101a29eb;color:#d2e8ff}.card-media:hover .card-open{background:#f4d35e;color:#142032}.version-link:hover{color:#ffe185}.status.public:before{background:#85c5ff}.status{color:#cfdae6}.button{background:#f4d35e;color:#142032;font-size:13px;border-radius:5px;min-height:44px}.button:hover{background:#ffe89b}.button.secondary{background:#2d435c;color:#f4f7fb}.button.secondary:hover,.subtle-button:hover{background:#3e5d7a;color:#fff}.subtle-button{font-size:12px;min-height:44px;border-radius:5px;background:#263c54;color:#e3edf7}.project-grid.list-mode .project-card{border-radius:0;background:transparent;padding:18px}.list-mode .project-card:hover{background:#23364c;transform:none}.list-mode .card-body{padding:0}.list-mode .card-media{border-radius:6px}.placeholder-media{color:#a6ceff;background:#17283d}.placeholder-media span{font-size:11px;color:#c4d3e6;opacity:1}.new-media .placeholder-media{padding:16px}.new-media .placeholder-media strong{font-size:20px}.detail-description,.detail-notes{color:#c5d3e2}.detail-art{background:#0e1724}.detail .detail-badges span{background:#2c415b;color:#dfeeff}.community-panel{background:#1b2a3d}.stars button{color:#778aa3}.stars button.selected,.stars button:hover{color:#f4d35e}.community-totals>strong,.text-review>div>span{color:#ffe185}.review-area input,.review-area textarea,.upload-section input,.upload-section textarea,.management-dialog input:not([type=checkbox]){background:#111c2c;border-color:#60758e}.review-empty,.file-field{background:#1b2a3e}.file-field{border-color:#8196b1}.file-field input::file-selector-button{background:#34516f;color:#fff}.footer-admin{color:#bdcadd;font-size:11px}.footer-admin:hover{color:#ffe185}.management-dialog{background:#172537;border-color:#506984}.management-dialog::backdrop{background:#060e1bcc}.upload-section,.info-section{margin-top:56px;padding-block:54px}.info-section>div>p,.info-details p,.info-details summary{font-size:13px}.footer p,.footer>a:nth-last-child(2){font-size:12px}.footer{padding-top:24px}.nav-new{color:#f4d35e}.arcade-heading h1 span{color:#f4d35e}.arcade-filters button.active{background:#304a65;color:#ffe185}.arcade-filters button:hover{background:#3e5d7a;color:#fff}.arcade-card{background:#1e2d40}.arcade-card:hover{background:#2b4058}.game-setup,.game-pause,.game-shell{color:#f4f7fb}.arcade-count{color:#f4d35e}.game-stage-title{color:#f4f7fb}
@media(min-width:1500px){.project-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.header{gap:32px}nav{gap:20px}.about-link{display:none}.intro-aside{max-width:260px}.featured{grid-template-rows:180px 180px}.spot-main h2{font-size:29px}.spot h2{font-size:23px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.new-projects{grid-auto-columns:calc((100% - 32px)/3)}}
@media(max-width:760px){.wrap{width:calc(100% - 32px)}.header{height:auto;min-height:104px;padding:18px 16px 8px;gap:10px;flex-wrap:wrap;align-items:center}.header .brand{font-size:32px;flex:0 0 100%}.header nav{gap:24px;width:100%;overflow:auto;scrollbar-width:none}.header nav a{font-size:13px;min-height:40px;flex-shrink:0;padding:8px 0}.presence-bar{padding-top:14px;gap:12px;flex-wrap:wrap}.presence-caption{display:none}.owner-status{font-size:11px}.intro{display:block;padding-top:26px;padding-bottom:22px}.intro h1{font-size:36px;line-height:1.2;max-width:16ch}.intro-aside{max-width:none;margin-top:14px;display:flex;justify-content:space-between;align-items:center;gap:16px}.intro-aside p{font-size:12px;margin:0}.intro-aside a{font-size:12px;max-width:100px;gap:8px}.featured{grid-template-columns:1fr 1fr;grid-template-rows:300px 164px;gap:12px}.spot-main{grid-column:span 2;grid-row:span 1}.spot-main h2{font-size:28px}.spot:not(.spot-main) img{width:100%;object-position:center;opacity:.75}.spot:not(.spot-main):after{background:linear-gradient(0deg,#081120ed,#08112045)}.spot:not(.spot-main) .spot-content{left:14px;right:12px;bottom:18px;max-width:100%}.spot:not(.spot-main) h2{font-size:18px;line-height:1.3}.spot:not(.spot-main) p,.spot:not(.spot-main) .round-arrow{display:none}.spot-category{font-size:11px}.spot-content{left:20px;bottom:20px}.spot-main p{font-size:12px}.spot-main .spot-content{right:62px}.round-arrow{right:14px;bottom:20px;width:36px;height:36px}.new-section{padding-top:32px}.section-heading{align-items:start;gap:12px;margin-bottom:14px}.section-heading h2{font-size:21px}.section-heading p{font-size:12px}.section-heading .subtle-button{font-size:11px;padding:10px;white-space:nowrap}.section-heading .subtle-button .icon{display:none}.new-projects{grid-auto-columns:76%;gap:12px}.new-copy h3{font-size:16px}.collection{padding-top:32px}.collection h2{font-size:25px}.collection-top{align-items:start}.collection-actions .subtle-button{font-size:11px;padding:10px}.collection-heading p{font-size:12px;max-width:28ch}.categories button{padding-inline:12px;font-size:12px}.tools{display:block}.search{max-width:none;width:100%}.right-tools{margin-top:12px;justify-content:space-between;gap:8px}.sort-label{gap:8px}.sort-label>span{display:none}.sort-label select{max-width:210px}.availability-label{font-size:11px}.view-switch{display:none}.result-line{gap:8px}.result-line p,.text-button{font-size:11px}.project-grid{grid-template-columns:1fr;gap:20px}.card-body{padding:17px 18px}.card-body>p{font-size:13px}.card-title-line h3{font-size:20px}.card-meta,.card-community{font-size:12px}.project-grid.list-mode .project-card{padding:16px 0;grid-template-columns:110px 1fr;gap:14px}.list-mode .card-title-line h3{font-size:16px}.list-mode .favorite{left:70px;width:30px;height:30px}.list-mode .card-body>p{display:none}.upload-section,.info-section{padding-block:34px;margin-top:40px;gap:28px}.footer{gap:16px}.footer p{max-width:180px;font-size:11px}.owner-status{margin-left:0}.game-shell{max-width:100%}.arcade-heading h1{font-size:40px}.arcade-heading p{font-size:13px}}
@media(prefers-reduced-motion:reduce){html:not([data-motion=full]) *,html:not([data-motion=full]) *:before,html:not([data-motion=full]) *:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(any-hover:none){.project-card:hover,.new-project:hover,.button:hover{transform:none}}
.spot-main:after{background:linear-gradient(0deg,#08101dfc 0%,#08101de6 34%,#08101d00 84%)}
.section-heading>div,.collection-heading{min-width:0}.section-heading .subtle-button{flex-shrink:0}
@media(max-width:760px){.header.wrap{width:100%}.header nav a:nth-child(n){display:inline-flex}.intro-aside a{display:inline-flex}.intro-aside br{display:block}.section-heading h2{overflow-wrap:normal}.section-heading p{max-width:27ch}.collection-top{flex-wrap:wrap}.collection-heading{flex:1 1 200px}.collection-actions{flex:0 0 auto}.intro-aside p{max-width:26ch}}
.arcade-stage-heading h2{font-size:24px;margin:0;line-height:1.3}.online-dot{background:#8acbff}.live-status .online-dot,.active-count .online-dot{background:#8acbff}.active-count.is-live .online-dot{background:#8acbff}
body{overflow-x:clip}.new-section,.collection{min-width:0}

html{overflow-x:clip}

.spot-category{background:#0e1828;color:#a6d5ff;padding:5px 8px;border-radius:4px;width:fit-content}
/* Cover-first browsing: names on the shelf, information on the project page. */
.project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 18px}.project-card{background:transparent;border-radius:0;overflow:visible}.project-card:hover{background:transparent}.card-media{aspect-ratio:16/9;border-radius:8px;background:#101b29;outline:1px solid #ffffff0a}.card-media>img{width:100%;height:100%;object-fit:cover}.card-body{padding:12px 1px 0}.card-body h3{font-size:15px;font-weight:650;line-height:1.4;letter-spacing:0;margin:0;color:#edf4fc}.card-body h3 a:hover{color:#ffe185}.card-media:hover{outline:2px solid #85c5ff}.new-project{background:transparent;overflow:visible;border-radius:0}.new-project:hover{background:transparent}.new-media{border-radius:8px;aspect-ratio:16/9}.new-project h3{font-size:15px;line-height:1.4;margin:12px 0 0;padding:0 1px;color:#edf4fc}.new-project:hover h3{color:#ffe185}.spot-main:after{background:linear-gradient(0deg,#08101df5 0%,#08101d95 20%,transparent 56%)}.spot:after,.spot:not(.spot-main):after{background:linear-gradient(0deg,#08101df2,transparent 75%)}.spot:not(.spot-main) img{width:100%;object-position:center;opacity:1}.spot-main .spot-content{right:76px}.spot:not(.spot-main) .spot-content{max-width:none;right:66px}.spot-content{left:24px;bottom:23px}.spot-main h2{font-size:32px;max-width:24ch}.spot h2{font-size:24px}.spot h2,.spot-main h2{margin:0;color:white}.spot img{filter:none}.round-arrow{border-radius:8px}.featured{grid-template-rows:190px 190px}.categories button{gap:9px;padding:12px 15px;border-radius:6px}.categories button .icon{width:24px;height:24px;stroke-width:1.8;flex:0 0 24px}.categories button>span{line-height:1.3}.categories button small{color:#b6c9df;font-size:11px;margin-left:2px}.categories button.active{color:#ffe185;background:#304a65;box-shadow:inset 0 -2px #f4d35e}.categories button.active small{color:#ffe6a1}.categories button:hover .icon{color:#c1e3ff}.categories button.active .icon{color:#ffe185}.header nav a{gap:6px}.detail-badges>span{padding:7px 10px;border-radius:5px;line-height:1.3}.arcade-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 18px}.arcade-card{display:block;background:transparent;border:0;border-radius:0;padding:0;color:#edf4fc;text-align:left;overflow:visible}.arcade-card:hover{background:transparent}.arcade-card .arcade-art{aspect-ratio:16/9;border-radius:8px;overflow:hidden;margin:0;background:#101b29;height:auto}.arcade-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 250ms var(--ease)}.arcade-card:hover .arcade-art{outline:2px solid #85c5ff}.arcade-card>strong{display:block;font-size:15px;font-weight:650;line-height:1.4;margin:12px 1px 0;padding:0}.arcade-card:hover>strong{color:#ffe185}.project-grid.list-mode .project-card{grid-template-columns:190px 1fr;padding:14px 0;border-bottom:1px solid #3b5068}.list-mode .card-body{padding:0}.list-mode .card-body h3{font-size:17px}.list-mode .card-media{border-radius:6px}
@media(min-width:1600px){.project-grid,.arcade-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px){.project-grid,.arcade-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.spot-main h2{font-size:29px}}
@media(max-width:760px){.project-grid,.arcade-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.card-body h3,.arcade-card>strong,.new-project h3{font-size:14px;line-height:1.45}.card-body{padding-top:10px}.featured{grid-template-rows:260px 150px}.spot-content{left:16px;bottom:18px}.spot-main h2{font-size:25px}.spot-main .spot-content{right:60px}.spot:not(.spot-main) .spot-content{left:13px;right:13px;bottom:15px}.spot:not(.spot-main) h2{font-size:17px}.spot:not(.spot-main) .round-arrow{display:none}.categories button{padding:12px;gap:8px}.categories button .icon{width:22px;height:22px;flex-basis:22px}.categories button small{display:none}.new-projects{grid-auto-columns:65%;gap:12px}.project-grid.list-mode .project-card{grid-template-columns:125px 1fr;gap:15px}.intro h1{font-size:32px}.intro-aside{margin-top:12px}.collection-heading p{max-width:none}.collection-top{margin-bottom:16px}.arcade-heading h1{font-size:36px}}
@media(max-width:350px){.project-grid,.arcade-grid{grid-template-columns:1fr}.new-projects{grid-auto-columns:84%}}

/* Expressive artwork: one hover performance, still labels and hit targets. */
.collection-top{flex-wrap:wrap;gap:14px 24px}.collection-heading{flex:1 1 240px}.collection-actions{flex:0 0 auto;max-width:100%}.collection-actions .subtle-button{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;padding:12px 16px}
.filter-bar{align-items:center;min-width:0}.categories{min-width:0;flex:1 1 0;scroll-padding:10px}.categories button{flex-shrink:0;min-height:48px}.categories .icon{overflow:visible;stroke-linecap:round;stroke-linejoin:round}
/* Fill-box origins keep the tiny moving parts attached to their artwork. */
.categories .icon,.header nav .icon,.icon-dpad,.icon-key,.icon-tile,.icon-code,.icon-meridian,.icon-clapper,.icon-cube-part,.icon-person-head,.icon-friend,.icon-spark{transform-box:fill-box;transform-origin:center;transition:transform 160ms var(--ease),opacity 160ms ease}
.icon-key{fill:currentColor;stroke:none}.icon-clapper{transform-origin:5% 95%}.icon-friend{transform-origin:10% 95%}.icon-person-head{transform-origin:50% 90%}
.icon-tile-one{--tile-x:3px;--tile-y:-3px}.icon-tile-two{--tile-x:3px;--tile-y:3px}.icon-tile-three{--tile-x:-3px;--tile-y:-3px}.icon-tile-four{--tile-x:-3px;--tile-y:3px}
.card-media,.new-media,.arcade-art{position:relative;isolation:isolate;overflow:hidden}.card-media>img,.new-media>img,.arcade-art img,.spot img{transition:transform 250ms var(--ease);filter:none}
.project-card,.new-project,.arcade-card{transition:none}.project-card:hover,.new-project:hover,.arcade-card:hover,.spot:hover .round-arrow{transform:none}
.card-body h3,.new-project h3,.arcade-card>strong{min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cover-action{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:36px;height:36px;background:#edf4fc;color:#122237;border-radius:6px;opacity:0;transform:translateX(-8px) rotate(-12deg);transition:opacity 200ms ease,transform 200ms var(--ease);pointer-events:none}.cover-action .icon{width:20px;height:20px}
.card-media:focus-visible,.new-project:focus-visible,.arcade-card:focus-visible,.categories button:focus-visible{outline:2px solid #ffe185;outline-offset:4px}
:where(a,button):focus-visible .cover-action{opacity:1;transform:none}
:where(.button,.subtle-button,.icon-button,.categories button){transition:background-color 160ms ease,color 160ms ease,transform 160ms var(--ease)}
:where(.button,.subtle-button,.icon-button,.categories button):active{transform:scale(.98)}
/* Every sequence ends at rest and runs only once per pointer entry. */
@media(any-hover:hover) and (any-pointer:fine){
 :where(.categories button,.header nav a):hover .icon-game{animation:controller-rock 900ms ease-in-out 1}
 :where(.categories button,.header nav a):hover .icon-dpad{animation:controller-steer 900ms ease-in-out 1}
 :where(.categories button,.header nav a):hover .icon-key-a{animation:controller-press-a 900ms ease-in-out 1}
 :where(.categories button,.header nav a):hover .icon-key-b{animation:controller-press-b 900ms ease-in-out 1}
 .categories button:hover .icon-tile{animation:tiles-orbit 800ms ease-in-out 1}
 .categories button:hover .icon-app-icon{animation:window-rock 800ms ease-in-out 1}
 .categories button:hover .icon-code{animation:code-slide 800ms ease-in-out 1}
 .categories button:hover .icon-meridian{animation:globe-turn 900ms ease-in-out 1}
 :where(.categories button,.header nav a):hover .icon-clapper{animation:clapper-action 850ms ease-in-out 1}
 .categories button:hover .icon-cube-part{animation:cube-tumble 850ms ease-in-out 1}
 .categories button:hover .icon-person-head{animation:friend-nod 800ms ease-in-out 1}
 .categories button:hover .icon-friend{animation:friend-wave 800ms ease-in-out 1}
 .categories button:hover .icon-spark{animation:spark-turn 900ms var(--ease) 1}
 .project-card:hover .card-media>img,.new-project:hover .new-media>img,.arcade-card:hover .arcade-art img,.spot:hover img{transform:scale(1.04);animation:cover-greeting 650ms ease-in-out 1;filter:none}
 :where(.project-card,.new-project,.arcade-card):hover .cover-action{opacity:1;transform:none}
 :where(.project-card,.new-project,.arcade-card):hover .cover-action .icon,.spot:hover .round-arrow .icon,:where(.button,.subtle-button):hover .icon-arrow{animation:arrow-nudge 400ms var(--ease) 1}
 .project-card:hover h3 a,.new-project:hover h3,.arcade-card:hover>strong{color:#ffe185}
 .project-card:hover .card-media,.new-project:hover .new-media,.arcade-card:hover .arcade-art{outline:2px solid #85c5ff;outline-offset:2px}
 #favs:hover .icon,:where(.detail-save,.favorite,.arcade-save):hover .icon-heart{animation:heart-beat 500ms ease-in-out 1}
 :where(.detail-actions a,.version a,.download-video):hover .icon-download{animation:download-dip 450ms var(--ease) 1}
 :where(.detail-actions a,.version a):hover .icon-external{animation:external-nudge 450ms var(--ease) 1}
 .button:hover,.subtle-button:hover{transform:none}
}
@keyframes controller-rock{0%,100%{transform:translateY(0) rotate(0)}20%{transform:translateY(-2px) rotate(-18deg)}43%{transform:translateY(-1px) rotate(14deg)}65%{transform:translateY(-1px) rotate(-9deg)}82%{transform:rotate(4deg)}}
@keyframes controller-steer{0%,45%,100%{transform:translate(0)}20%{transform:translate(-2px,1px)}67%{transform:translate(2px,-1px)}}
@keyframes controller-press-a{0%,8%,37%,54%,85%,100%{transform:scale(1);opacity:1}20%,67%{transform:translateY(1px) scale(.55);opacity:.45}}
@keyframes controller-press-b{0%,29%,57%,73%,100%{transform:scale(1);opacity:1}43%,85%{transform:translateY(1px) scale(.55);opacity:.45}}
@keyframes tiles-orbit{0%,100%{transform:translate(0) rotate(0)}35%{transform:translate(var(--tile-x),var(--tile-y)) rotate(18deg)}68%{transform:translate(calc(var(--tile-x)*-.45),calc(var(--tile-y)*-.45)) rotate(-8deg)}}
@keyframes window-rock{0%,100%{transform:rotate(0)}28%{transform:rotate(-8deg)}60%{transform:rotate(6deg)}80%{transform:rotate(-2deg)}}
@keyframes code-slide{0%,100%{transform:translateX(0)}30%{transform:translateX(3px)}63%{transform:translateX(-2px)}}
@keyframes globe-turn{0%{transform:rotateY(0)}80%,100%{transform:rotateY(180deg)}}
@keyframes clapper-action{0%,100%{transform:rotate(0)}24%{transform:rotate(-28deg)}43%{transform:rotate(0)}65%{transform:rotate(-18deg)}82%{transform:rotate(0)}}
@keyframes cube-tumble{0%,100%{transform:rotate(0) scale(1)}22%{transform:rotate(-15deg) scale(1.08)}48%{transform:rotate(25deg) scale(1.12)}74%{transform:rotate(-10deg) scale(1.04)}}
@keyframes friend-nod{0%,100%{transform:translateY(0) rotate(0)}28%{transform:translateY(2px) rotate(-10deg)}55%{transform:translateY(-1px) rotate(8deg)}78%{transform:translateY(1px) rotate(-4deg)}}
@keyframes friend-wave{0%,100%{transform:rotate(0)}22%{transform:rotate(-20deg)}44%{transform:rotate(16deg)}66%{transform:rotate(-13deg)}83%{transform:rotate(7deg)}}
@keyframes spark-turn{0%{transform:rotate(0) scale(1)}45%{transform:rotate(200deg) scale(1.22)}75%{transform:rotate(335deg) scale(.94)}100%{transform:rotate(360deg) scale(1)}}
@keyframes cover-greeting{0%{transform:rotate(0) scale(1)}30%{transform:rotate(-1.5deg) scale(1.06)}65%{transform:rotate(1deg) scale(1.06)}100%{transform:rotate(0) scale(1.04)}}
@keyframes heart-beat{0%,100%{transform:scale(1)}30%{transform:scale(1.24) rotate(-8deg)}60%{transform:scale(.94) rotate(5deg)}80%{transform:scale(1.08)}}
@keyframes download-dip{0%,100%{transform:translateY(0)}45%{transform:translateY(4px)}75%{transform:translateY(-1px)}}
@keyframes external-nudge{0%,100%{transform:translate(0)}45%{transform:translate(3px,-3px)}}
@keyframes arrow-nudge{0%,100%{transform:translateX(0)}45%{transform:translateX(4px)}}
@media(any-hover:none){.card-media:hover>img,.project-card:hover .card-media>img,.new-project:hover .new-media>img,.arcade-card:hover .arcade-art img,.spot:hover img{transform:none;filter:none}.cover-action{transform:none}}
@media(max-width:760px){.collection-actions .subtle-button{font-size:12px;padding:10px 12px}.collection-top{gap:12px}.collection-heading{flex-basis:190px}.categories button{min-height:48px}.card-body h3,.new-project h3,.arcade-card>strong{min-height:2.9em}.cover-action{width:30px;height:30px;right:8px;bottom:8px}}
@media(prefers-reduced-motion:reduce){
 html:not([data-motion=full]) :is(.categories .icon,.header nav .icon,.icon-dpad,.icon-key,.icon-tile,.icon-code,.icon-meridian,.icon-clapper,.icon-cube-part,.icon-person-head,.icon-friend,.icon-spark,.card-media>img,.new-media>img,.arcade-art img,.spot img,.cover-action){transform:none!important;transition:opacity 120ms ease!important}
 html:not([data-motion=full]) :where(.button,.subtle-button,.icon-button,.categories button):active{transform:none}
}
/* Text buttons must not inherit the old 35px icon-only mobile width. */
.subtle-button{width:auto;height:auto;min-height:44px}
@media(max-width:760px){.section-heading .subtle-button{padding:10px 12px}.collection-actions .subtle-button{width:auto;height:auto}.collection-heading{flex:1 1 170px}}

.service-notice{padding:14px 16px;background:#253448;color:#e2ecf8;border-radius:8px;font-size:13px;line-height:1.6;margin-top:18px}.service-notice[hidden]{display:none}

/* A game owns its view. Library scroll stays untouched underneath. */
body.arcade-playing{overflow:hidden}
body.arcade-playing #arcade-stage{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;margin:0;padding:0;border:0;border-radius:0;background:#111d2c;height:100dvh;max-height:none;overflow:hidden}
body.arcade-playing #arcade-stage[hidden]{display:none}
.arcade-stage-heading{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;background:#1e2d40;margin:0!important}
.arcade-stage-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.arcade-playing #arcade-host{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
body.arcade-playing #arcade-fullscreen-status{margin:0;padding:0 20px;color:#ffe185;font-size:12px}
body.arcade-playing #arcade-fullscreen-status:empty{display:none}
body.arcade-playing #arcade-community:not([hidden]){position:absolute;inset:72px 0 0;z-index:5;overflow:auto;background:#111d2c;padding:24px max(20px,calc((100% - 1200px)/2))}
body.arcade-playing #arcade-community[hidden]{display:none}
body.arcade-reviews-open #arcade-host{visibility:hidden;pointer-events:none}
body.arcade-playing .game-shell{height:100%;min-height:0;display:flex;flex-direction:column;margin:0;border-radius:0;max-width:none}
body.arcade-playing .game-surface{flex:1;min-height:0}
body.arcade-playing .game-surface canvas{width:100%;height:100%;object-fit:contain}
body.arcade-playing .game-save-note{display:none}
.motion-preference{display:flex;align-items:center;gap:10px;font-size:12px;color:#bac8d8}
.motion-preference select{font-size:12px;padding:8px;min-height:44px}
html[data-motion=reduced] *,html[data-motion=reduced] *::before,html[data-motion=reduced] *::after{animation:none!important;scroll-behavior:auto!important;transition:opacity 120ms ease!important}
html[data-motion=reduced] :is(.categories .icon,.card-media img,.new-media img,.arcade-art img,.spot img){transform:none!important}
@media(max-width:760px){.arcade-stage-heading{gap:8px;padding:8px 12px}.arcade-stage-heading h2{font-size:16px}.arcade-stage-actions{gap:5px}.arcade-stage-actions .subtle-button{font-size:11px;padding:8px;min-height:44px}.arcade-stage-heading{flex-wrap:wrap}.motion-preference{flex-basis:100%}body.arcade-playing #arcade-community:not([hidden]){inset:106px 0 0;padding:16px}}
