/* The menu presentation and hover/focus field are transcribed from:
   Official-Website/app/styles/eyepod.css
   Official-Website/app/components/eyepod/components/EyePodScreenPolish.module.css
   Official-Website/app/components/eyepod/components/EyePodInteractionConsistency.module.css
   The independent launcher provides its own selection/keyboard state. */
:root {
  color-scheme: dark;
  --ep-pink: #fc14fe;
  --ep-pink-soft: #ff70fd;
  --ep-icon-core: var(--ep-pink-soft);
  --ep-focus-magenta-rgb: 255, 25, 239;
  --ep-focus-violet-rgb: 126, 43, 255;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body { background: #050405; color: var(--ep-pink-soft); font-family: Inter, Arial, Helvetica, sans-serif; }
.launcher { position: relative; width: 100%; height: 100%; height: 100dvh; overflow: hidden; }
.library { display: flex; flex-direction: column; height: 100%; min-height: 0; width: 100%; container-type: inline-size; overflow: auto; }
.library[hidden], .play-view[hidden] { display: none; }

/* EyePod MENU: same 6-track/three-item columns, dimensions and spacing. */
.eyepod-menu-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(7px, 2.1cqi, 11px);
  align-content: start;
  padding: clamp(12px, 3.8cqi, 18px) clamp(14px, 4.8cqi, 22px) clamp(18px, 5.4cqi, 26px);
}
.eyepod-menu-grid > button {
  display: flex;
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-width: 0;
  min-height: clamp(76px, 27cqi, 104px);
  grid-column: span 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2.2cqi, 10px);
  padding: clamp(7px, 2.4cqi, 11px) 4px;
  border: 0;
  border-radius: clamp(7px, 2.4cqi, 10px);
  background: transparent;
  color: #eee8ed;
  box-shadow: none;
  font: inherit;
  font-size: clamp(.5rem, 2.55cqi, .7rem);
  letter-spacing: .04em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transform: none;
  translate: none;
  scale: none;
  rotate: none;
}
.eyepod-menu-grid > button::before {
  position: absolute;
  z-index: 0;
  inset: 5px 2px;
  border-radius: clamp(8px, 2.8cqi, 12px);
  background: radial-gradient(
    ellipse 72% 68% at 50% 47%,
    rgba(var(--ep-focus-magenta-rgb), .04) 0%,
    rgba(var(--ep-focus-violet-rgb), .017) 45%,
    transparent 76%
  );
  content: "";
  pointer-events: none;
  transform: none;
}
/* Use the EyePod's actual focus field, not the launcher’s old row-fill glow. */
.eyepod-menu-grid > button:is(:hover, :focus-visible, .is-selected) {
  outline: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  translate: none;
  scale: none;
  rotate: none;
}
.eyepod-menu-grid > button:is(:hover, :focus-visible, .is-selected)::before {
  background: radial-gradient(
    ellipse 72% 68% at 50% 47%,
    rgba(var(--ep-focus-magenta-rgb), .31) 0%,
    rgba(var(--ep-focus-violet-rgb), .13) 45%,
    transparent 76%
  );
}
.eyepod-menu-grid > button > * { position: relative; z-index: 1; }
.eyepod-menu-grid .game-icon {
  display: block;
  flex-shrink: 0;
  align-self: center;
  justify-self: center;
  width: clamp(30px, 10.5cqi, 42px);
  height: clamp(30px, 10.5cqi, 42px);
  color: var(--ep-icon-core);
  stroke-width: 1.65;
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}
.eyepod-menu-grid .eyecon-icon {
  background: currentColor;
  -webkit-mask: url("./assets/eye-logo-menu-icon.svg") center / contain no-repeat;
  mask: url("./assets/eye-logo-menu-icon.svg") center / contain no-repeat;
}
.eyepod-menu-grid > button:is(:hover, :focus-visible, .is-selected) .game-icon {
  color: var(--ep-icon-core);
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}
.eyepod-menu-grid > button:is(:hover, :focus-visible, .is-selected) > .game-name {
  color: var(--ep-pink);
  text-shadow: 0 0 8px rgba(var(--ep-focus-magenta-rgb), .48),
               0 0 13px rgba(var(--ep-focus-violet-rgb), .20);
}
.game-name { min-width: 0; }
.play-view { position: absolute; inset: 0; background: #030203; }
.game-frame { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
