:root {
  --xiiy-page-bg: #070b10;
  --xiiy-page-bg-2: #0d1520;
  --xiiy-page-bg-3: #111b28;
  --xiiy-panel-bg: rgba(9, 14, 21, 0.9);
  --xiiy-panel-strong: rgba(12, 19, 28, 0.96);
  --xiiy-card-bg: rgba(15, 24, 35, 0.88);
  --xiiy-card-soft: rgba(17, 26, 37, 0.72);
  --xiiy-border: rgba(64, 95, 126, 0.48);
  --xiiy-border-strong: rgba(108, 150, 195, 0.58);
  --xiiy-text: #f2ebce;
  --xiiy-muted: #8aa2b7;
  --xiiy-green: #36d7a0;
  --xiiy-blue: #37a7ff;
  --xiiy-yellow: #f3cf4f;
  --xiiy-shadow: rgba(0, 0, 0, 0.42);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--xiiy-text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(55, 167, 255, 0.14), transparent 34%),
    radial-gradient(circle at 15% 80%, rgba(54, 215, 160, 0.08), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(243, 207, 79, 0.07), transparent 26%),
    linear-gradient(180deg, var(--xiiy-page-bg) 0%, var(--xiiy-page-bg-2) 56%, var(--xiiy-page-bg-3) 100%);
}

body[data-xiiy-loader-active="true"] {
  cursor: progress;
}

body[data-game-key] {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.xiiy-route-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2000;
  transition:
    opacity 180ms ease,
    visibility 0s linear 180ms;
}

html.xiiy-loader-visible .xiiy-route-loader {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.xiiy-route-loader__chip {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: min(100%, 280px);
  padding: 16px 22px 15px;
  border: 1px solid rgba(220, 232, 255, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(28, 41, 69, 0.96), rgba(44, 66, 109, 0.92)),
    radial-gradient(circle at top, rgba(255, 232, 168, 0.1), transparent 54%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 20px 42px rgba(9, 16, 30, 0.28);
  backdrop-filter: blur(18px);
}

.xiiy-route-loader__wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f7f0d5;
  font-family: "Arial Narrow", "Franklin Gothic Medium", "Trebuchet MS", sans-serif;
  font-size: clamp(1.1rem, 2.7vw, 1.42rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.xiiy-route-loader__letter {
  display: inline-block;
  opacity: 0.24;
  animation: xiiy-loader-run 1.12s ease-in-out infinite;
  animation-delay: var(--loader-delay, 0ms);
}

.xiiy-route-loader__space {
  display: inline-block;
  width: 0.58em;
}

.xiiy-route-loader__caption {
  color: rgba(238, 244, 255, 0.82);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.xiiy-route-loader__caption::after {
  content: "...";
  display: inline-block;
  width: 1.25em;
  overflow: hidden;
  vertical-align: bottom;
  animation: xiiy-loader-dots 1.15s steps(4, end) infinite;
}

@keyframes xiiy-loader-run {
  0%,
  100% {
    opacity: 0.22;
    transform: translateY(0) scale(1);
    color: rgba(247, 240, 213, 0.62);
  }

  48% {
    opacity: 0.28;
    transform: translateY(0) scale(1);
    color: rgba(247, 240, 213, 0.72);
  }

  58% {
    opacity: 1;
    transform: translateY(-3px) scale(1.06);
    color: #fff7d7;
  }

  74% {
    opacity: 0.42;
    transform: translateY(0) scale(1);
    color: rgba(247, 240, 213, 0.84);
  }
}

@keyframes xiiy-loader-dots {
  0% {
    width: 0;
  }

  100% {
    width: 1.25em;
  }
}

body[data-game-key] :where(
  .hud,
  .hud *,
  .game-hud,
  .game-hud *,
  .topbar,
  .topbar *,
  .game-toolbar,
  .game-toolbar *,
  .xiiy-shell__toolbar,
  .xiiy-shell__toolbar *,
  .game-footer,
  .game-footer *,
  .board-hud,
  .board-hud *,
  .stage,
  .stage *,
  .board-stage,
  .board-stage *,
  .playfield,
  .playfield *,
  .xiiy-stage,
  .xiiy-stage *,
  .arena,
  .arena *,
  .screen,
  .screen *,
  .canvas-wrap,
  .canvas-wrap *,
  .touch-controls,
  .touch-controls *,
  .retro-console,
  .retro-console *,
  .overlay,
  .overlay *,
  .board-overlay,
  .board-overlay *,
  .intro-screen,
  .intro-screen *,
  .win-screen,
  .win-screen *,
  .board,
  .board *,
  .board-shell,
  .board-shell *,
  .board-wrap,
  .board-wrap *,
  .board-grid,
  .board-grid *,
  .board-mount,
  .board-mount *,
  .board-screen,
  .board-screen *,
  .board__playfield,
  .board__playfield *,
  .tile,
  .tile *,
  .cell,
  .cell *,
  button,
  button *
) {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

body[data-game-key] :where(
  .stage,
  .board-stage,
  .playfield,
  .xiiy-stage,
  .arena,
  .screen,
  .canvas-wrap,
  .touch-controls,
  .touch-zone,
  .retro-console,
  .retro-console__screen-shell,
  .overlay,
  .board-overlay,
  .intro-screen,
  .win-screen,
  .board,
  .board-shell,
  .board-wrap,
  .board-grid,
  .board-mount,
  .board-screen,
  .board__playfield,
  canvas,
  [role="grid"]
) {
  touch-action: none;
  overscroll-behavior: contain;
}

body[data-game-key] :where(
  button,
  [role="button"],
  .touch-zone,
  .controls__button,
  .retro-button,
  .overlay-button,
  .icon-button,
  .primary-button,
  .secondary-button,
  .fullscreen-toggle,
  .score-reset
) {
  -webkit-user-drag: none;
  touch-action: manipulation;
}

body[data-game-key] :is(main, .game-app, .game-shell, .app, .xiiy-app) {
  min-height: 100vh;
  min-height: 100dvh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  mix-blend-mode: soft-light;
}

.xiiy-app {
  min-height: 100vh;
  min-height: 100dvh;
  display: block;
  padding:
    calc(18px + env(safe-area-inset-top, 0px))
    14px
    calc(28px + env(safe-area-inset-bottom, 0px));
}

.xiiy-panel {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  gap: 18px;
  border-radius: 30px;
  border: 1px solid var(--xiiy-border);
  background:
    linear-gradient(180deg, rgba(15, 23, 33, 0.92), rgba(8, 13, 20, 0.96)),
    radial-gradient(circle at top, rgba(243, 207, 79, 0.05), transparent 26%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 24px 56px var(--xiiy-shadow);
  overflow: hidden;
}

.game-links-wrap {
  padding:
    18px
    14px
    calc(28px + env(safe-area-inset-bottom, 0px));
}

.game-links-panel {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.xiiy-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(55, 167, 255, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(54, 215, 160, 0.06), transparent 28%);
}

.xiiy-panel > * {
  position: relative;
  z-index: 1;
}

.xiiy-shell__nav {
  order: 1;
}

.xiiy-shell__hero {
  order: 2;
}

.xiiy-shell__toolbar {
  order: 3;
}

.xiiy-stage {
  order: 4;
}

.game-hub {
  order: 5;
}

.vinyl-cta {
  order: 6;
}

.xiiy-shell__support {
  order: 7;
}

.seo-copy {
  order: 8;
}

.xiiy-shell__nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.xiiy-shell__nav .back-link,
.xiiy-shell__nav .utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--xiiy-border);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.xiiy-shell__nav .back-link {
  color: var(--xiiy-text);
  background: linear-gradient(180deg, rgba(32, 45, 60, 0.96), rgba(13, 19, 28, 0.96));
}

.xiiy-shell__nav .back-link:hover,
.xiiy-shell__nav .back-link:focus-visible,
.xiiy-shell__nav .utility-link:hover,
.xiiy-shell__nav .utility-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--xiiy-border-strong);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
  filter: saturate(1.06);
}

.xiiy-shell__nav .utility-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.xiiy-shell__nav .utility-link {
  width: 100%;
  min-width: 0;
  gap: 8px;
  color: var(--xiiy-text);
}

.xiiy-shell__nav .utility-link--shop {
  gap: 9px;
  color: #11161d;
  border-color: rgba(211, 168, 33, 0.72);
  background: linear-gradient(180deg, #f4d864, #c89d22);
}

.xiiy-shell__nav .utility-link--shop::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background-color: currentColor;
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.2 3.5 7.2 5.1 4.4 4l-1.9 4.3 2.8 1.1 1.7-1V20h10.1V8.4l1.7 1 2.8-1.1L19.6 4l-2.8 1.1-2-1.6zM10 5h4l1.5 1.2v11.3H8.5V6.2z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.2 3.5 7.2 5.1 4.4 4l-1.9 4.3 2.8 1.1 1.7-1V20h10.1V8.4l1.7 1 2.8-1.1L19.6 4l-2.8 1.1-2-1.6zM10 5h4l1.5 1.2v11.3H8.5V6.2z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.xiiy-shell__nav .utility-link--social {
  gap: 10px;
  background: linear-gradient(180deg, rgba(43, 82, 121, 0.94), rgba(21, 46, 75, 0.94));
}

.xiiy-shell__nav .utility-link--social::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-block;
  background: center / contain no-repeat url("../assets/favicon-white.svg");
}

.xiiy-shell__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: clamp(16px, 2.4vw, 22px);
  border-radius: 24px;
  border: 1px solid var(--xiiy-border);
  background:
    linear-gradient(180deg, rgba(14, 22, 32, 0.98), rgba(9, 14, 21, 0.96)),
    radial-gradient(circle at top right, rgba(243, 207, 79, 0.06), transparent 22%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.xiiy-shell__title {
  display: grid;
  gap: 8px;
}

.xiiy-shell__hero .eyebrow,
.xiiy-shell__hero .xiiy-shell__subtitle {
  display: none;
}

.eyebrow {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xiiy-green);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
  color: var(--xiiy-text);
}

.xiiy-shell__subtitle {
  margin: 0;
  max-width: 56ch;
  color: var(--xiiy-muted);
  line-height: 1.55;
}

.xiiy-shell__stats,
.stats,
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.xiiy-shell__stat,
.stat,
.score-pill,
.hud-card,
.scoreboard__row {
  min-width: 116px;
  min-height: 68px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
  align-content: center;
  border-radius: 18px;
  border: 1px solid rgba(93, 122, 150, 0.3);
  background: var(--xiiy-card-bg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.xiiy-shell__stat span,
.stat span,
.score-pill span,
.hud-card__label,
.scoreboard span,
.scoreboard__row span {
  display: block;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--xiiy-muted);
}

.xiiy-shell__stat strong,
.stat strong,
.score-pill strong,
.hud-card strong,
.scoreboard strong,
.scoreboard__row strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
  color: var(--xiiy-text);
}

.xiiy-shell__stats--triple {
  display: grid;
  grid-template-columns: repeat(3, minmax(116px, 1fr));
  gap: 10px;
  width: min(100%, 420px);
}

.scoreboard.xiiy-shell__stats--triple,
.scoreboard--dual.xiiy-shell__stats--triple {
  min-width: 0;
  text-align: initial;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.xiiy-shell__stats-tile {
  min-width: 0;
  min-height: 68px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
  align-content: center;
  border-radius: 18px;
  border: 1px solid rgba(93, 122, 150, 0.3);
  background: var(--xiiy-card-bg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.xiiy-shell__stats-tile span {
  display: block;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--xiiy-muted);
}

.xiiy-shell__stats-tile strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1;
  color: var(--xiiy-text);
}

button.xiiy-shell__stats-sound,
.scoreboard__sound.xiiy-shell__stats-sound,
.icon-button.xiiy-shell__stats-sound {
  width: 100%;
  min-width: 0;
  min-height: 68px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(93, 122, 150, 0.3);
  background: linear-gradient(180deg, rgba(29, 39, 53, 0.96), rgba(12, 19, 28, 0.96));
  color: var(--xiiy-text);
  font-size: 1.12rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.xiiy-shell__stats-sound:hover,
.xiiy-shell__stats-sound:focus-visible {
  border-color: var(--xiiy-border-strong);
  background: linear-gradient(180deg, rgba(38, 53, 72, 0.98), rgba(15, 24, 35, 0.98));
}

.xiiy-shell__toolbar {
  display: grid;
  gap: 14px;
}

.xiiy-shell__toolbar .panel__actions,
.xiiy-shell__toolbar .settings,
.xiiy-shell__toolbar .playfield__topbar,
.xiiy-shell__toolbar .hud__actions,
.xiiy-shell__toolbar .topbar {
  margin: 0;
}

.status,
#status,
#status-text {
  margin: 0;
  min-height: 1.4em;
  color: var(--xiiy-muted);
}

.xiiy-stage {
  padding: clamp(14px, 2vw, 20px);
  border-radius: 28px;
  border: 1px solid var(--xiiy-border);
  background:
    linear-gradient(180deg, rgba(10, 16, 24, 0.98), rgba(7, 11, 16, 0.98)),
    radial-gradient(circle at top, rgba(243, 207, 79, 0.04), transparent 24%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 18px 38px rgba(0, 0, 0, 0.26);
}

.xiiy-stage > .board,
.xiiy-stage > .screen,
.xiiy-stage > .arena,
.xiiy-stage > .playfield,
.xiiy-stage > .arcade-shell,
.xiiy-stage > .game-frame,
.xiiy-stage > .canvas-wrap,
.xiiy-stage > .board-shell {
  margin: 0;
}

.xiiy-shell__support {
  display: grid;
  gap: 14px;
}

.instructions,
.scores,
.controls,
.meta-grid,
.legend,
.board-legend {
  margin: 0;
}

.instructions,
.scores,
.controls,
.meta-grid > *,
.legend,
.board-legend {
  border-radius: 20px;
}

.instructions {
  padding: 14px 16px;
  border: 1px solid rgba(93, 122, 150, 0.24);
  background: var(--xiiy-card-soft);
}

.instructions p {
  margin: 0;
  color: var(--xiiy-muted);
  line-height: 1.55;
}

.instructions p + p {
  margin-top: 8px;
}

.seo-copy {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(93, 122, 150, 0.24);
  background: var(--xiiy-card-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.seo-copy h2,
.game-hub__heading h2 {
  margin: 0;
  color: var(--xiiy-text);
}

.seo-copy p,
.game-hub__heading p,
.vinyl-cta__copy span {
  margin: 0;
  color: var(--xiiy-muted);
  line-height: 1.6;
}

.seo-copy p + p {
  margin-top: 10px;
}

.seo-copy__section {
  display: grid;
  gap: 10px;
}

.seo-copy__section + .seo-copy__section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(93, 122, 150, 0.2);
}

.seo-copy__lead {
  color: var(--xiiy-text);
}

.seo-copy__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.seo-copy__list li {
  margin: 0;
}

.seo-copy__list a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(93, 122, 150, 0.24);
  background: rgba(12, 19, 28, 0.72);
  color: var(--xiiy-text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.seo-copy__list a:hover,
.seo-copy__list a:focus-visible {
  transform: translateY(-1px);
  border-color: var(--xiiy-border-strong);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

.game-hub {
  margin-top: 0;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(93, 122, 150, 0.24);
  background: var(--xiiy-card-soft);
}

.game-hub__heading {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.game-hub__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}

.game-chip {
  flex: 1 1 calc((100% - 56px) / 5);
  min-width: 180px;
  min-height: 180px;
  padding: 18px 14px 16px;
  display: grid;
  gap: 14px;
  justify-items: center;
  align-content: center;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(93, 122, 150, 0.24);
  background: rgba(12, 19, 28, 0.94);
  text-decoration: none;
  color: var(--xiiy-text);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.game-chip:hover,
.game-chip:focus-visible {
  transform: translateY(-2px);
  border-color: var(--xiiy-border-strong);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.game-chip__image {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(243, 207, 79, 0.32);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}

.game-chip__image--skakunets,
.game-chip__image--ptakh {
  object-position: center;
  -webkit-clip-path: circle(46% at 50% 50%);
  clip-path: circle(46% at 50% 50%);
}

.game-chip__label {
  color: var(--xiiy-text);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}

.vinyl-cta {
  margin-top: 0;
  padding: 22px clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(132px, 144px) minmax(300px, 34rem);
  justify-content: center;
  justify-items: start;
  gap: 24px;
  align-items: center;
  border-radius: 24px;
  border: 1px solid rgba(93, 122, 150, 0.24);
  background: linear-gradient(180deg, rgba(18, 29, 42, 0.98), rgba(10, 16, 24, 0.98));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  text-decoration: none;
}

.vinyl-cta__disc {
  width: 132px;
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  border: 2px solid rgba(93, 122, 150, 0.4);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0 2.4%, rgba(0, 0, 0, 0.88) 2.6% 4.2%, transparent 4.3%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.035) 0 1px, rgba(0, 0, 0, 0) 1px 7px),
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(circle at 50% 50%, #2b2d34 0%, #17181c 58%, #090a0d 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
  overflow: visible;
}

.vinyl-cta__disc::before {
  content: "";
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.98), rgba(247, 239, 214, 0.96) 62%, rgba(218, 206, 168, 0.94));
  box-shadow:
    0 0 0 2px rgba(248, 240, 216, 0.22),
    0 8px 16px rgba(0, 0, 0, 0.22);
  z-index: 0;
}

.vinyl-cta__label {
  position: relative;
  z-index: 1;
  width: 42%;
}

.vinyl-cta__label img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.14));
}

.vinyl-cta__ring {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  pointer-events: none;
  overflow: visible;
  transform-origin: 50% 50%;
  animation: logo-ring-spin 22s linear infinite;
  z-index: 2;
}

.vinyl-cta__ring-text {
  fill: #c8d9ff;
  stroke: #c8d9ff;
  stroke-width: 0.4px;
  paint-order: stroke fill;
  font-size: 4.1px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vinyl-cta__ring-text--top,
.vinyl-cta__ring-text--bottom {
  stroke-width: 0.16px;
  fill: #d7e4ff;
  stroke: #d7e4ff;
}

.vinyl-cta__copy {
  display: grid;
  gap: 6px;
  width: min(100%, 34rem);
}

.vinyl-cta__copy strong {
  color: var(--xiiy-text);
  font-size: 1.05rem;
  line-height: 1.1;
}

.vinyl-cta__copy .eyebrow {
  color: var(--xiiy-blue);
}

.vinyl-cta:hover .vinyl-cta__ring,
.vinyl-cta:focus-visible .vinyl-cta__ring {
  animation-duration: 12s;
}

@keyframes logo-ring-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .xiiy-shell__hero {
    grid-template-columns: 1fr;
  }

  .xiiy-shell__stats,
  .stats,
  .scoreboard,
  .hero__stats {
    justify-content: flex-start;
  }

  .xiiy-shell__stats--triple {
    width: 100%;
  }

  .game-chip {
    flex-basis: calc((100% - 28px) / 3);
    min-width: 156px;
    min-height: 166px;
    padding: 16px 12px 14px;
    gap: 12px;
  }

  .game-chip__image {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  .game-chip__label {
    font-size: 0.92rem;
  }

  .vinyl-cta {
    grid-template-columns: minmax(124px, 132px) minmax(0, 30rem);
    gap: 20px;
  }

  .vinyl-cta__disc {
    width: 124px;
  }
}

@media (max-width: 640px) {
  .xiiy-app {
    padding-inline: 8px;
  }

  .xiiy-route-loader {
    padding: 16px;
  }

  .xiiy-route-loader__chip {
    min-width: min(100%, 248px);
    padding: 14px 18px 13px;
  }

  .xiiy-route-loader__wordmark {
    font-size: 1.04rem;
  }

  .game-links-wrap {
    padding-inline: 8px;
  }

  .xiiy-panel {
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
  }

  .xiiy-shell__nav .back-link,
  .xiiy-shell__nav .utility-link {
    min-height: 36px;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .xiiy-shell__stats--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .xiiy-shell__stats-tile,
  .xiiy-shell__stats-sound {
    min-height: 58px;
    border-radius: 16px;
  }

  .xiiy-shell__nav,
  .xiiy-shell__nav .utility-links {
    gap: 6px;
  }

  .game-chip {
    flex-basis: calc((100% - 14px) / 2);
    min-width: 0;
    min-height: 150px;
    padding: 14px 10px 12px;
    gap: 10px;
  }

  .game-chip__image {
    width: 84px;
    height: 84px;
    border-radius: 50%;
  }

  .game-chip__label {
    font-size: 0.88rem;
  }

  .vinyl-cta {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .vinyl-cta__disc {
    width: 122px;
  }

  .vinyl-cta__copy {
    justify-items: center;
    text-align: center;
    max-width: 22rem;
  }
}

@media (max-width: 480px) {
  .xiiy-route-loader__wordmark {
    letter-spacing: 0.05em;
  }

  .xiiy-route-loader__caption {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xiiy-route-loader,
  .xiiy-route-loader__chip {
    transition: none;
  }

  .xiiy-route-loader__letter,
  .xiiy-route-loader__caption::after {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
