@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0");

:root {
  --cosmos-bg: #07111f;
  --cosmos-bg-deep: #030814;
  --cosmos-line: rgba(145, 184, 255, 0.18);
  --cosmos-text: #edf3ff;
  --cosmos-muted: #9eacc7;
  --cosmos-cyan: #74d9ff;
  --cosmos-teal: #85ffd5;
  --cosmos-gold: #f2ca8f;
  --cosmos-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

body.cosmos-prototype-page {
  --prototype-frame: 12px;
  --prototype-inset: 18px;
  display: block;
  place-items: initial;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  padding: 0;
  color: var(--cosmos-text);
  background:
    radial-gradient(circle at top, rgba(27, 80, 152, 0.24), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(120, 55, 120, 0.14), transparent 22%),
    linear-gradient(180deg, #0b1830 0%, #091227 20%, #070d1a 48%, #040811 74%, #010308 100%);
}

body.cosmos-prototype-page::before {
  opacity: 0.45;
}

.cosmos-prototype-header,
.cosmos-prototype-panel {
  width: auto;
  margin: 0;
}

.cosmos-prototype-header {
  position: fixed;
  top: calc(var(--prototype-frame) + var(--prototype-inset));
  left: calc(var(--prototype-frame) + var(--prototype-inset));
  z-index: 50;
  display: grid;
  gap: 0;
  width: min(360px, calc(100vw - ((var(--prototype-frame) + var(--prototype-inset)) * 2)));
  padding: 8px;
  border: 1px solid var(--cosmos-line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(7, 14, 27, 0.58);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  opacity: 0.78;
  transition: opacity 180ms ease, width 180ms ease, background 180ms ease;
}

.cosmos-prototype-header:hover,
.cosmos-prototype-header:focus-within {
  width: min(520px, calc(100vw - ((var(--prototype-frame) + var(--prototype-inset)) * 2)));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(7, 14, 27, 0.84);
  opacity: 1;
}

.cosmos-prototype-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.cosmos-prototype-back,
.cosmos-prototype-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: var(--cosmos-text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.cosmos-prototype-back:hover {
  border-color: rgba(133, 255, 213, 0.5);
  background: rgba(133, 255, 213, 0.12);
}

.cosmos-prototype-pill {
  color: var(--cosmos-gold);
}

.cosmos-prototype-copy {
  display: none;
  gap: 6px;
  max-width: 900px;
}

.cosmos-prototype-header:hover .cosmos-prototype-copy,
.cosmos-prototype-header:focus-within .cosmos-prototype-copy {
  display: grid;
  padding: 8px 4px 2px;
}

.cosmos-prototype-kicker {
  color: var(--cosmos-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cosmos-prototype-header h1 {
  margin: 0;
  color: var(--cosmos-text);
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

.cosmos-prototype-header p {
  margin: 0;
  color: var(--cosmos-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.cosmos-prototype-panel {
  position: fixed;
  inset: var(--prototype-frame);
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--cosmos-line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(5, 10, 20, 0.9);
  box-shadow: var(--cosmos-shadow);
}

.cosmos-prototype-panel > .app,
.cosmos-prototype-panel > .shell {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
}

.cosmos-prototype-panel > .app {
  min-height: 0;
}

.cosmos-prototype-page.game-frogger .app,
.cosmos-prototype-page.game-ranch-defenders .app {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  justify-items: stretch;
}

.cosmos-prototype-page.game-frogger .header,
.cosmos-prototype-page.game-ranch-defenders .header {
  display: none;
}

.cosmos-prototype-page.game-frogger .shell,
.cosmos-prototype-page.game-ranch-defenders .stage-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border-radius: 0;
}

.cosmos-prototype-page.game-ranch-defenders .stage-shell {
  display: block;
}

.cosmos-prototype-page.game-frogger canvas,
.cosmos-prototype-page.game-ranch-defenders .stage-shell canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}

.cosmos-prototype-page.game-frogger canvas {
  left: 50%;
  top: 50%;
  width: min(100%, calc((100vh - (var(--prototype-frame) * 2)) * 15 / 14)) !important;
  height: auto !important;
  aspect-ratio: 15 / 14;
  transform: translate(-50%, -50%);
}

.cosmos-prototype-page.game-frogger .topbar,
.cosmos-prototype-page.game-frogger .toolbar,
.cosmos-prototype-page.game-ranch-defenders .stage-top,
.cosmos-prototype-page.game-ranch-defenders .toolbar,
.cosmos-prototype-page.game-ranch-defenders .grid-wrap {
  position: absolute;
  z-index: 25;
}

.cosmos-prototype-page.game-frogger .topbar,
.cosmos-prototype-page.game-ranch-defenders .stage-top {
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(7, 14, 27, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.cosmos-prototype-page.game-frogger .toolbar,
.cosmos-prototype-page.game-ranch-defenders .toolbar {
  right: 18px;
  top: 18px;
  margin: 0;
  max-width: min(380px, calc(100% - 36px));
  justify-content: flex-end;
}

.cosmos-prototype-page.game-ranch-defenders .grid-wrap {
  right: 18px;
  top: 82px;
  width: min(420px, calc(100% - 36px));
  max-height: calc(100% - 210px);
  overflow: auto;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header {
  top: var(--prototype-frame);
  bottom: var(--prototype-frame);
  left: var(--prototype-frame);
  width: 360px;
  max-width: calc(100vw - var(--prototype-frame) * 2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(7, 14, 27, 0.94);
  opacity: 1;
  overflow: auto;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header:hover,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header:focus-within {
  width: 360px;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-copy,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header:hover .cosmos-prototype-copy,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header:focus-within .cosmos-prototype-copy {
  display: grid;
  padding: 0;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-panel {
  left: calc(var(--prototype-frame) + 372px);
}

.cosmos-prototype-page.game-ranch-defenders .app > .toolbar,
.cosmos-prototype-page.game-ranch-defenders .app > .grid-wrap,
.cosmos-prototype-page.game-ranch-defenders .menu-overlay {
  display: none;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .stage-top,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .toolbar,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .grid-wrap {
  display: none;
}

.cosmos-prototype-page.game-ranch-defenders .stage-shell > .stage-top {
  display: grid;
  left: 14px;
  right: auto;
  top: 14px;
  bottom: auto;
  width: min(340px, calc(100% - 28px));
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(7, 14, 27, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.cosmos-prototype-page.game-ranch-defenders .stage-shell > .stage-top .info-cluster {
  display: grid;
  gap: 10px;
}

.cosmos-prototype-page.game-ranch-defenders .stage-shell > .stage-top .effect-info {
  min-width: 0;
}

.cosmos-prototype-page.game-ranch-defenders .stage-shell > .stage-top .effect-name {
  font-size: clamp(1rem, 2.1vw, 1.25rem);
}

.cosmos-prototype-page.game-ranch-defenders .stage-shell > .stage-top .effect-desc {
  font-size: 0.82rem;
  line-height: 1.35;
}

.cosmos-prototype-page.game-ranch-defenders .stage-shell > .stage-top .stats {
  justify-content: flex-start;
}

.cosmos-prototype-page.game-ranch-defenders .stage-shell > .stage-top .stat-chip {
  padding: 7px 9px;
  border-radius: 12px;
  font-size: 0.78rem;
}

.cosmos-prototype-page.game-ranch-defenders .stage-shell > .stage-top .stat-chip:nth-child(3),
.cosmos-prototype-page.game-ranch-defenders .stage-shell > .stage-top .stat-chip:nth-child(5),
.cosmos-prototype-page.game-ranch-defenders .stage-shell > .stage-top .hint {
  display: none;
}

.cosmos-prototype-page.game-ranch-defenders .stage-loadout {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 28;
  width: min(520px, calc(100% - 28px));
  transform: translateX(-50%);
  pointer-events: none;
}

.cosmos-prototype-page.game-ranch-defenders .stage-loadout .hud-weapon-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  pointer-events: auto;
}

.cosmos-prototype-page.game-ranch-defenders .stage-loadout .hud-weapon-btn {
  width: 38px;
  height: 38px;
  min-height: 0;
  justify-content: center;
  gap: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(7, 14, 27, 0.72);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.cosmos-prototype-page.game-ranch-defenders .stage-loadout .hud-weapon-swatch {
  width: 21px;
  height: 21px;
}

.cosmos-prototype-page.game-ranch-defenders .stage-loadout .hud-weapon-name {
  display: none;
}

.cosmos-prototype-page.game-ranch-defenders .ranch-panel-section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cosmos-prototype-page.game-ranch-defenders .ranch-panel-section h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.05;
}

.cosmos-prototype-page.game-ranch-defenders .ranch-panel-section p {
  margin: 0;
  color: var(--cosmos-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .info-cluster,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .stats,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .hud-weapon-bar,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .toolbar,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .control-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .effect-info {
  min-width: 0;
  width: 100%;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .hint,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .stat-chip,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .control-pill {
  white-space: normal;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .toolbar button,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .menu-actions button {
  flex: 1 1 140px;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .selector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .trail-button {
  min-height: auto;
  grid-template-columns: 42px 1fr;
  align-items: center;
  padding: 8px;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .trail-button .thumb {
  width: 42px;
  height: 32px;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .button-labels {
  min-width: 0;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .button-title,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .button-sub,
.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header .button-meta {
  white-space: normal;
}

.cosmos-prototype-page.game-ranch-defenders .menu-overlay,
.cosmos-prototype-page.game-frogger .overlay {
  z-index: 40;
}

.cosmos-prototype-page.game-ranch-defenders .menu-overlay,
.cosmos-prototype-page.game-frogger .overlay,
.cosmos-prototype-page.game-spooky-hollow .overlay.show {
  place-items: end start;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  background: linear-gradient(90deg, rgba(4, 7, 12, 0.68), rgba(4, 7, 12, 0.08) 62%, transparent);
  backdrop-filter: none;
}

.cosmos-prototype-page.game-ranch-defenders .menu-card,
.cosmos-prototype-page.game-frogger .card,
.cosmos-prototype-page.game-spooky-hollow .card {
  width: min(420px, calc(100% - 24px));
  padding: 16px;
  border-radius: 16px;
  text-align: left;
  gap: 10px;
}

.cosmos-prototype-page.game-ranch-defenders .menu-card h2,
.cosmos-prototype-page.game-frogger .card h2,
.cosmos-prototype-page.game-spooky-hollow .card h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
}

.cosmos-prototype-page.game-ranch-defenders .menu-card p,
.cosmos-prototype-page.game-frogger .card p,
.cosmos-prototype-page.game-spooky-hollow .card p {
  font-size: 0.86rem;
  line-height: 1.35;
}

.cosmos-prototype-page.game-ranch-defenders .control-pills,
.cosmos-prototype-page.game-frogger .instruction-grid {
  gap: 6px;
}

.cosmos-prototype-page.game-task-echo .app,
.cosmos-prototype-page.game-cutie-dress-up .app,
.cosmos-prototype-page.game-spooky-hollow .shell {
  height: 100%;
  min-height: 0;
  padding: 0;
}

.cosmos-prototype-page.game-spooky-hollow .shell {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.cosmos-prototype-page.game-spooky-hollow .sidebar {
  order: initial;
  min-height: 0;
  max-height: none;
  overflow: auto;
}

.cosmos-prototype-page.game-spooky-hollow .right {
  order: initial;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
}

.cosmos-prototype-page.game-spooky-hollow .stage {
  min-height: 0;
}

.cosmos-prototype-page.game-spooky-hollow .map-controls {
  flex-direction: row;
  align-items: center;
}

.cosmos-prototype-page.game-spooky-hollow .map-controls .controls-row {
  justify-content: flex-end;
}

.cosmos-prototype-page.game-spooky-hollow .map-controls .action-btn {
  flex: 0 1 auto;
}

.cosmos-prototype-page.game-task-echo .panel {
  height: 100%;
}

@media (max-width: 700px) {
  .cosmos-prototype-page.game-spooky-hollow .shell {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .cosmos-prototype-page.game-spooky-hollow .sidebar {
    display: none;
  }

  .cosmos-prototype-page.game-spooky-hollow .right {
    grid-template-rows: auto minmax(0, 1fr) auto;
  }
}

.cosmos-prototype-page.game-kitten-rampage .cosmos-prototype-panel {
  min-height: 0;
}

.cosmos-prototype-page.game-kitten-rampage .hud,
.cosmos-prototype-page.game-kitten-rampage .controls,
.cosmos-prototype-page.game-kitten-rampage .message,
.cosmos-prototype-page.game-kitten-rampage .center-card {
  position: absolute;
}

.cosmos-prototype-page.game-kitten-rampage canvas {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  border-radius: 0;
  border: 0;
}

.cosmos-prototype-page.game-kitten-rampage .hud {
  left: 24px;
  top: 24px;
}

.cosmos-prototype-page.game-kitten-rampage .controls {
  right: 24px;
  bottom: 24px;
}

.cosmos-prototype-page.game-kitten-rampage .message {
  bottom: 30px;
}

.cosmos-prototype-page.game-kitten-rampage .center-card {
  inset: 0;
}

.cosmos-prototype-page.game-css-exhibition .shell,
.cosmos-prototype-page.game-sprite-shape .app {
  min-height: 0;
}

.cosmos-prototype-page.game-sprite-shape .app {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.cosmos-prototype-page.game-sprite-shape .canvas-backdrop {
  inset: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0;
}

.cosmos-prototype-page.game-sprite-shape .floating-panel,
.cosmos-prototype-page.game-sprite-shape .canvas-hint {
  position: absolute;
}

.cosmos-prototype-page.game-sprite-shape #documentPanel {
  left: 22px;
  top: 22px;
}

.cosmos-prototype-page.game-sprite-shape #inspectorPanel {
  right: 22px;
  top: 22px;
}

.cosmos-prototype-page.game-sprite-shape #toolboxPanel {
  left: 22px;
  top: 50%;
}

.cosmos-prototype-page.game-sprite-shape .canvas-hint {
  left: 50%;
  bottom: 22px;
}

.cosmos-prototype-page.game-voidway-field .app {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12px;
  gap: 10px;
}

.cosmos-prototype-page.game-voidway-field .hud {
  min-width: 0;
}

.cosmos-prototype-page.game-voidway-field .stage {
  min-height: 0;
}

@media (max-width: 820px) {
  body.cosmos-prototype-page {
    --prototype-frame: 8px;
    --prototype-inset: 10px;
    padding: 0;
  }

  .cosmos-prototype-header,
  .cosmos-prototype-panel {
    border-radius: 16px;
  }

  .cosmos-prototype-header {
    padding: 12px;
    width: calc(100vw - ((var(--prototype-frame) + var(--prototype-inset)) * 2));
  }

  .cosmos-prototype-panel {
    padding: 0;
    min-height: 0;
  }

  .cosmos-prototype-page.game-task-echo .app,
  .cosmos-prototype-page.game-cutie-dress-up .app,
  .cosmos-prototype-page.game-spooky-hollow .shell {
    height: 100%;
    min-height: 0;
  }

  .cosmos-prototype-page.game-kitten-rampage .hud,
  .cosmos-prototype-page.game-kitten-rampage .controls {
    left: 24px;
    right: 24px;
    max-width: none;
  }

  .cosmos-prototype-page.game-kitten-rampage .controls {
    bottom: 32px;
  }

  .cosmos-prototype-page.game-sprite-shape .app {
    height: 100%;
    min-height: 0;
  }

  .cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header {
    left: var(--prototype-frame);
    right: var(--prototype-frame);
    top: var(--prototype-frame);
    bottom: auto;
    width: auto;
    max-width: none;
    max-height: min(42vh, 320px);
  }

  .cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header:hover,
  .cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-header:focus-within {
    width: auto;
  }

  .cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-panel {
    left: var(--prototype-frame);
    top: calc(var(--prototype-frame) + min(42vh, 320px) + 8px);
  }
}

/* Shared prototype shell: collapse archive game chrome to one reusable back icon. */
.cosmos-prototype-page .cosmos-prototype-header {
  top: calc(var(--prototype-frame) + var(--prototype-inset));
  right: auto;
  bottom: auto;
  left: calc(var(--prototype-frame) + var(--prototype-inset));
  z-index: 80;
  display: block;
  width: 38px;
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  opacity: 1;
}

.cosmos-prototype-page .cosmos-prototype-header:hover,
.cosmos-prototype-page .cosmos-prototype-header:focus-within {
  width: 38px;
  background: transparent;
  opacity: 1;
}

.cosmos-prototype-page .cosmos-prototype-nav {
  display: block;
}

.cosmos-prototype-page .cosmos-prototype-back {
  display: grid;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(116, 217, 255, 0.48);
  border-radius: 999px;
  color: transparent;
  font-size: 0;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(116, 217, 255, 0.16), rgba(7, 14, 27, 0.82));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 12px 32px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(116, 217, 255, 0.16);
  backdrop-filter: blur(14px);
}

.cosmos-prototype-page .cosmos-prototype-back::before {
  content: "arrow_back";
  color: var(--cosmos-text);
  display: block;
  font-family: "Material Symbols Rounded";
  font-size: 21px;
  font-style: normal;
  font-weight: normal;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  text-shadow: 0 0 14px rgba(133, 255, 213, 0.38);
  transform: translateY(1.5px);
}

.cosmos-prototype-page .cosmos-prototype-back:hover,
.cosmos-prototype-page .cosmos-prototype-back:focus-visible {
  border-color: rgba(133, 255, 213, 0.74);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(133, 255, 213, 0.18), rgba(7, 14, 27, 0.88));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 14px 34px rgba(0, 0, 0, 0.38),
    0 0 28px rgba(133, 255, 213, 0.22);
}

.cosmos-prototype-page .cosmos-prototype-pill,
.cosmos-prototype-page .cosmos-prototype-copy,
.cosmos-prototype-page .cosmos-prototype-header:hover .cosmos-prototype-copy,
.cosmos-prototype-page .cosmos-prototype-header:focus-within .cosmos-prototype-copy {
  display: none;
}

.cosmos-prototype-page.game-ranch-defenders .cosmos-prototype-panel {
  left: var(--prototype-frame);
  top: var(--prototype-frame);
}
