/* Home-only micro-interactions. No scene, layout, labels or action changes. */
html.island-ui #start-screen :is(#new-game-button,#dressing-room-start) {
  position:relative;
  overflow:hidden;
}
html.island-ui #start-screen :is(#new-game-button,#dressing-room-start)::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(110deg,transparent 38%,#fff0 42%,#fff5 49%,#fff1 54%,transparent 60%) 200% 0 / 250% 100% no-repeat;
  opacity:0;
  animation:home-button-sheen 8s ease-in-out infinite paused;
}
html.island-ui #start-screen #dressing-room-start::before {
  animation-delay:2.5s;
  animation-duration:10s;
}
html.island-ui #start-screen.showing-home:not(.hidden):not(.menu-intro-playing) :is(#new-game-button,#dressing-room-start):not(:disabled)::before {
  animation-play-state:running;
}
/* Overlays keep their existing actions and receive all taps, including during a sheen. */
html.island-ui:has(.modal-overlay:not(.hidden)) #start-screen :is(#new-game-button,#dressing-room-start)::before,
html.island-ui.menu-intro-active #start-screen :is(#new-game-button,#dressing-room-start)::before {
  animation-play-state:paused!important;
  opacity:0;
}
html.island-ui #start-screen :is(#new-game-button,#dressing-room-start,#island-store-button,#island-worlds-button,#remove-ads-menu,#daily-gift-menu,.island-home-nav>button) {
  transition:filter .16s ease,transform .12s ease,border-color .16s ease,background-color .16s ease,box-shadow .16s ease;
}
@media(hover:hover) and (pointer:fine) {
  html.island-ui #start-screen.showing-home :is(#new-game-button,#dressing-room-start,#island-store-button,#island-worlds-button,#remove-ads-menu,#daily-gift-menu,.island-home-nav>button):not(:disabled):hover {
    filter:brightness(1.1);
  }
}
html.island-ui #start-screen.showing-home :is(#new-game-button,#dressing-room-start,#island-store-button,#island-worlds-button,#remove-ads-menu,#daily-gift-menu,.island-home-nav>button):not(:disabled):active {
  transform:translateY(1px) scale(.985);
  filter:brightness(1.06);
}
@keyframes home-button-sheen {
  0%,72% {background-position:200% 0;opacity:0}
  75% {opacity:.65}
  87% {background-position:-100% 0;opacity:.65}
  90%,100% {background-position:-100% 0;opacity:0}
}
@media(prefers-reduced-motion:reduce) {
  html.island-ui #start-screen :is(#new-game-button,#dressing-room-start)::before {animation:none;content:none}
  html.island-ui #start-screen.showing-home :is(#new-game-button,#dressing-room-start,#island-store-button,#island-worlds-button,#remove-ads-menu,#daily-gift-menu,.island-home-nav>button) {transition:none}
  html.island-ui #start-screen.showing-home :is(#new-game-button,#dressing-room-start,#island-store-button,#island-worlds-button,#remove-ads-menu,#daily-gift-menu,.island-home-nav>button):active {transform:none}
}
