@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  scrollbar-color: #18213d #02040b;
  scrollbar-width: thin;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 12px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #02040b;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  border: 3px solid #02040b;
  border-radius: 999px;
  background: linear-gradient(180deg, #151d39, #040814);
}
body {
  margin: 0;
  min-height: 100vh;
  color: #d8ecff;
  font-family: "Rajdhani", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 24% 16%, rgba(185, 78, 255, 0.22), transparent 32%), radial-gradient(circle at 78% 76%, rgba(0, 213, 255, 0.12), transparent 30%), #02040b;
}
a,
button {
  color: inherit;
  font: inherit;
}
a {
  text-decoration: none;
}
h1,
h2,
p {
  margin: 0;
}
.home-shell {
  height: 100vh;
  padding: clamp(12px, 1.6vw, 24px);
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.72fr);
  gap: clamp(14px, 1.5vw, 24px);
  overflow: hidden;
  background: linear-gradient(rgba(0, 229, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 78, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}
.currency-symbol,
.currency-label {
  color: black;
}
.hero-console,
.briefing-console {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(185, 78, 255, 0.5);
  background: linear-gradient(180deg, rgba(3, 8, 22, 0.82), rgba(1, 3, 11, 0.94));
  box-shadow: 0 0 38px rgba(139, 92, 255, 0.25), inset 0 0 80px rgba(0, 0, 0, 0.58);
  overflow: hidden;
}
.hero-console::before,
.briefing-console::before,
.hero-console::after,
.briefing-console::after {
  position: absolute;
  inset: 10px;
  z-index: 4;
  border: 1px solid rgba(0, 213, 255, 0.26);
  pointer-events: none;
  content: "";
}
.hero-console::after,
.briefing-console::after {
  border-color: rgba(185, 78, 255, 0.28);
  inset: 20px;
}
.hero-console {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.hero-console::before {
  border-color: rgba(99, 255, 87, 0.6);
  clip-path: polygon(0 0, 74px 0, 74px 2px, 2px 2px, 2px 74px, 0 74px, 0 0, 100% 0, 100% 74px, calc(100% - 2px) 74px, calc(100% - 2px) 2px, calc(100% - 74px) 2px, calc(100% - 74px) 0, 100% 0, 100% 100%, calc(100% - 74px) 100%, calc(100% - 74px) calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) calc(100% - 74px), 100% calc(100% - 74px), 100% 100%, 0 100%, 0 calc(100% - 74px), 2px calc(100% - 74px), 2px calc(100% - 2px), 74px calc(100% - 2px), 74px 100%, 0 100%);
  box-shadow: 0 0 18px rgba(99, 255, 87, 0.42), inset 0 0 22px rgba(99, 255, 87, 0.08);
}
.hero-logo {
  position: absolute;
  top: clamp(24px, 4vw, 58px);
  left: 50%;
  z-index: 3;
  width: min(72%, 440px);
  max-height: 24vh;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(99, 255, 87, 0.72)) drop-shadow(0 0 28px rgba(185, 78, 255, 0.42));
  transform: translateX(-50%);
  pointer-events: none;
}
.title-audio-toggle {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(99, 255, 87, 0.82);
  border-radius: 5px;
  color: #63ff57;
  background: linear-gradient(180deg, rgba(10, 38, 12, 0.7), rgba(1, 6, 4, 0.9));
  box-shadow: inset 0 0 18px rgba(99, 255, 87, 0.16), 0 0 18px rgba(99, 255, 87, 0.2);
  cursor: pointer;
}
.mobile-home-menu-trigger,
.mobile-home-menu {
  display: none;
}
.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}
.main-actions {
  position: relative;
  z-index: 2;
  padding: 0 clamp(24px, 4vw, 54px) clamp(34px, 5vw, 70px);
  display: grid;
  gap: 14px;
}
.menu-button {
  --button-color: #63ff57;
  min-height: 65px;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "label" "sub";
  align-content: center;
  justify-items: center;
  gap: 4px;
  border: 1px solid var(--button-color);
  border-radius: 4px;
  color: var(--button-color);
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--button-color) 18%, transparent), transparent), linear-gradient(180deg, rgba(1, 12, 8, 0.86), rgba(2, 4, 13, 0.92));
  box-shadow: 0 0 20px color-mix(in srgb, var(--button-color) 36%, transparent), inset 0 0 26px color-mix(in srgb, var(--button-color) 16%, transparent);
  transition: transform 140ms ease, filter 140ms ease;
}
.menu-button::after {
  content: none;
}
.menu-button:hover,
.menu-button:focus-visible,
.menu-button.is-active {
  outline: 0;
  filter: brightness(1.18);
  transform: translateY(-1px);
}
.menu-button i {
  display: none;
}
.menu-button span {
  grid-area: label;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.45rem, 1vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1;
  text-shadow: 0 0 16px currentColor;
}
.menu-button small {
  grid-area: sub;
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}
.menu-button--begin {
  --button-color: #63ff57;
  background: linear-gradient(90deg, rgba(1, 8, 3, 0.72), rgba(6, 24, 8, 0.5), rgba(1, 8, 3, 0.76)), url("https://assets.worldweavergames.com/images/level-select/snake-texture-3.png") center / cover no-repeat, linear-gradient(180deg, rgba(1, 12, 8, 0.86), rgba(2, 4, 13, 0.92));
}
.menu-button--begin span {
  font-size: clamp(1.45rem, 1vw, 2rem);
}
.menu-button--how {
  --button-color: #b76cff;
  background: linear-gradient(90deg, rgba(5, 1, 13, 0.74), rgba(19, 4, 33, 0.52), rgba(5, 1, 13, 0.78)), url("https://assets.worldweavergames.com/images/level-select/snake-texture-6.png") center / cover no-repeat, linear-gradient(180deg, rgba(1, 12, 8, 0.86), rgba(2, 4, 13, 0.92));
}
.menu-button--upgrades {
  --button-color: #20ffd7;
  background: linear-gradient(90deg, rgba(1, 7, 13, 0.74), rgba(0, 34, 52, 0.5), rgba(1, 7, 13, 0.78)), url("https://assets.worldweavergames.com/images/level-select/snake-texture-4.png") center / cover no-repeat, linear-gradient(180deg, rgba(1, 12, 8, 0.86), rgba(2, 4, 13, 0.92));
}
.menu-button--skin {
  --button-color: #24c8ff;
  background: linear-gradient(90deg, rgba(15, 8, 1, 0.74), rgba(54, 34, 0, 0.5), rgba(15, 8, 1, 0.78)), url("https://assets.worldweavergames.com/images/level-select/snake-texture-5.png") center / cover no-repeat, linear-gradient(180deg, rgba(1, 12, 8, 0.86), rgba(2, 4, 13, 0.92));
}
.menu-button--skin span {
  color: var(--button-color);
}
.briefing-console {
  padding: clamp(28px, 3vw, 54px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
}
.briefing-header {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  align-items: center;
  gap: 20px;
}
.briefing-header span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #b94eff, #00d5ff, transparent);
  box-shadow: 0 0 14px rgba(185, 78, 255, 0.6);
}
.briefing-header h1 {
  color: #f6f0ff;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 0 8px #ffffff, 0 0 28px rgba(185, 78, 255, 0.95);
}
.tab-panel {
  display: none;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding-top: 24px;
  padding-right: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-margin-top: 110px;
}
.tab-panel.is-active {
  display: block;
}
.tagline {
  margin-bottom: 18px;
  color: white;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-align: center;
  text-transform: uppercase;
}
.intro-card,
.legend-card,
.play-grid article,
.upgrade-card {
  border: 1px solid rgba(0, 213, 255, 0.32);
  border-radius: 8px;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px), linear-gradient(180deg, rgba(7, 14, 34, 0.94), rgba(2, 5, 15, 0.98));
  box-shadow: inset 0 0 28px rgba(139, 92, 255, 0.14), 0 0 24px rgba(0, 213, 255, 0.08);
}
.intro-card {
  max-width: 520px;
  margin: 0 auto 34px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.intro-card img {
  width: 100%;
  max-width: 120px;
}
.intro-card i {
  color: #d85bff;
  font-size: 4rem;
  text-shadow: 0 0 24px rgba(216, 91, 255, 0.8);
}
.intro-card p {
  font-size: 1.18rem;
  line-height: 1.42;
}
.tips-carousel {
  position: relative;
  min-width: 0;
  max-width: 980px;
  margin: 0 auto 34px;
  padding: 44px 74px 34px;
  overflow: hidden;
  border: 1px solid rgba(99, 255, 87, 0.58);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(4, 12, 9, 0.98) 18%, rgba(1, 3, 8, 0.98) 50%, rgba(4, 12, 9, 0.98) 82%, rgba(0, 0, 0, 0.92)), repeating-linear-gradient(0deg, rgba(99, 255, 87, 0.045) 0 1px, transparent 1px 4px);
  box-shadow: inset 0 0 34px rgba(99, 255, 87, 0.13), 0 0 28px rgba(99, 255, 87, 0.12);
}
.tips-carousel::before,
.tips-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 148px;
  pointer-events: none;
  opacity: 0.62;
  background: radial-gradient(circle at 14px 50%, rgba(99, 255, 87, 0.95) 0 3px, transparent 4px), repeating-linear-gradient(90deg, rgba(99, 255, 87, 0.28) 0 2px, transparent 2px 10px);
  mask-image: linear-gradient(90deg, #000, transparent);
}
.tips-carousel::before {
  left: 0;
}
.tips-carousel::after {
  right: 0;
  transform: scaleX(-1);
}
.tips-carousel__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.tips-carousel__header span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 255, 87, 0.95), transparent);
}
.tips-carousel__header h2 {
  color: white;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(0, 213, 255, 0.76);
}
.tips-carousel__viewport {
  min-height: 132px;
  display: grid;
  align-items: center;
}
.tip-terminal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  min-height: 132px;
  padding: 22px 26px;
  border: 1px solid rgba(99, 255, 87, 0.36);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(2, 8, 5, 0.88)), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 0 24px rgba(99, 255, 87, 0.12), 0 0 22px rgba(99, 255, 87, 0.1);
}
.tip-terminal::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(99, 255, 87, 0.18);
  pointer-events: none;
}
.tip-terminal p {
  grid-column: 1 / -1;
  align-self: center;
  min-height: 2.8em;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.42;
  text-align: center;
}
.tip-terminal p::after {
  content: "_";
  display: inline-block;
  margin-left: 4px;
  color: #63ff57;
  animation: tipCursorBlink 0.85s steps(1) infinite;
}
.tip-terminal__status,
.tip-terminal__number {
  position: relative;
  z-index: 1;
  color: #63ff57;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tip-terminal__number {
  color: #63ff57;
  text-align: right;
}
.tips-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #63ff57;
  cursor: pointer;
  font-size: 2.4rem;
  filter: drop-shadow(0 0 10px rgba(99, 255, 87, 0.85));
  transform: translateY(-50%);
}
.tips-carousel__arrow:hover,
.tips-carousel__arrow:focus-visible {
  color: #ffffff;
  outline: none;
}
.tips-carousel__arrow--prev {
  left: 18px;
}
.tips-carousel__arrow--next {
  right: 18px;
}
.tips-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.tips-carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(99, 255, 87, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.tips-carousel__dots button.is-active {
  background: #63ff57;
  box-shadow: 0 0 12px rgba(99, 255, 87, 0.95);
}
@keyframes tipCursorBlink {
  50% {
    opacity: 0;
  }
}
.play-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.play-grid article {
  min-height: 170px;
  padding: 18px 14px;
  display: grid;
  gap: 10px;
  align-content: start;
  text-align: center;
}
.play-grid i {
  color: #63ff57;
  font-size: 2rem;
  text-shadow: 0 0 18px rgba(99, 255, 87, 0.7);
}
.play-grid strong {
  color: white;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  text-transform: uppercase;
}
.play-grid p {
  color: #b9d8f4;
  line-height: 1.35;
}
.how-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 380px), 0.85fr);
  gap: clamp(16px, 1.8vw, 28px);
  align-items: stretch;
  margin-bottom: 28px;
}
.legend-card {
  min-width: 0;
  border-color: rgba(185, 78, 255, 0.58);
  box-shadow: inset 0 0 30px rgba(139, 92, 255, 0.2), 0 0 24px rgba(185, 78, 255, 0.12);
  padding: 22px;
}
.legend-card h2 {
  margin-bottom: 16px;
  color: #a66cff;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(166, 108, 255, 0.7);
}
.legend-list {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.legend-list div {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 46px;
}
.legend-list b,
.legend-list small {
  text-transform: uppercase;
}
.legend-list small {
  color: #a9ddff;
  font-weight: 800;
}
.node {
  width: 50px;
  height: 50px;
  display: block;
  background: var(--node-image) center / contain no-repeat;
  filter: drop-shadow(0 0 10px var(--node-glow));
}
.node-data {
  --node-image: url("https://assets.worldweavergames.com/images/pickup-nodes/data-node.png");
  --node-glow: #43e8ff;
}
.node-blue {
  --node-image: url("https://assets.worldweavergames.com/images/pickup-nodes/blue-node.png");
  --node-glow: #4f8cff;
}
.node-gold {
  --node-image: url("https://assets.worldweavergames.com/images/pickup-nodes/gold-node.png");
  --node-glow: #ffd166;
}
.node-trim {
  --node-image: url("https://assets.worldweavergames.com/images/pickup-nodes/trim-node.png");
  --node-glow: #ff8a2a;
}
.node-virus {
  --node-image: url("https://assets.worldweavergames.com/images/pickup-nodes/virus-node.png");
  --node-glow: #b94eff;
}
.node-clock {
  --node-image: url("https://assets.worldweavergames.com/images/pickup-nodes/clock-node.png");
  --node-glow: #5ee173;
}
.node-icebreaker {
  --node-image: url("https://assets.worldweavergames.com/images/pickup-nodes/pickaxe-node.png");
  --node-glow: #7ed8ff;
}
.skin-header {
  margin-bottom: clamp(16px, 2.2vw, 26px);
  text-align: center;
}
.skin-header span {
  color: white;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.skin-header h2 {
  margin: 8px 0;
  color: #f6f0ff;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 8px #ffffff, 0 0 28px rgba(185, 78, 255, 0.95);
}
.skin-header p {
  color: #b9d8f4;
  line-height: 1.4;
}
.skin-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.skin-active-card,
.skin-card {
  border: 1px solid color-mix(in srgb, var(--skin-color, #b94eff) 72%, #10233f);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(5, 10, 24, 0.76), rgba(1, 4, 12, 0.95)), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  box-shadow: inset 0 0 34px color-mix(in srgb, var(--skin-color, #b94eff) 14%, transparent), 0 0 22px color-mix(in srgb, var(--skin-color, #b94eff) 16%, transparent);
}
.skin-active-card {
  --skin-color: var(--active-skin-color, #b94eff);
  min-height: 100%;
  padding: clamp(16px, 2vw, 22px);
  display: grid;
  grid-template-rows: auto minmax(280px, 1fr) auto auto auto;
  gap: 12px;
  text-align: center;
}
.skin-active-card > span {
  color: white;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.skin-active-card strong {
  color: white;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.skin-active-card p {
  color: #c5def5;
  line-height: 1.38;
}
.skin-active-card button {
  min-height: 46px;
  color: #b3ff99;
  border: 1px solid rgba(99, 255, 87, 0.82);
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(16, 70, 17, 0.28), rgba(2, 8, 6, 0.84));
  box-shadow: inset 0 0 20px rgba(99, 255, 87, 0.14), 0 0 18px rgba(99, 255, 87, 0.18);
}
.skin-active-card button:disabled {
  cursor: not-allowed;
  color: rgba(210, 218, 232, 0.78);
  border-color: rgba(180, 190, 208, 0.38);
  background: linear-gradient(180deg, rgba(80, 86, 102, 0.18), rgba(2, 5, 14, 0.78));
  box-shadow: none;
}
.skin-active-art {
  min-height: 320px;
  border: 1px solid rgba(0, 213, 255, 0.24);
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--active-skin-color, #b94eff) 28%, transparent), transparent 42%), linear-gradient(180deg, rgba(2, 5, 14, 0.06), rgba(2, 5, 14, 0.54)), var(--active-skin-art) center / cover no-repeat;
  box-shadow: inset 0 -80px 90px rgba(2, 5, 14, 0.78), inset 0 0 40px color-mix(in srgb, var(--active-skin-color, #b94eff) 18%, transparent);
}
.skin-active-art::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(2, 5, 14, 0.72), transparent 24%, transparent 76%, rgba(2, 5, 14, 0.72)), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  content: "";
}
.skin-active-art.is-preview-locked {
  filter: grayscale(0.84);
}
.skin-active-art.is-preview-locked::before {
  background: linear-gradient(90deg, rgba(2, 5, 14, 0.78), transparent 24%, transparent 76%, rgba(2, 5, 14, 0.78)), linear-gradient(180deg, rgba(2, 5, 14, 0.34), rgba(2, 5, 14, 0.52)), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 5px);
}
.skin-snake-body,
.skin-snake-head {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 10px var(--active-skin-color, #b94eff)) drop-shadow(0 0 22px color-mix(in srgb, var(--active-skin-color, #b94eff) 45%, transparent));
  pointer-events: none;
}
.skin-snake-body {
  width: clamp(50px, 4.6vw, 72px);
  aspect-ratio: 1.6;
  background-image: var(--active-skin-body);
}
.skin-snake-body.has-video {
  background-image: none;
}
.skin-snake-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transform: rotate(var(--active-skin-body-video-rotation, 0deg));
}
.skin-snake-head {
  width: clamp(64px, 5.6vw, 88px);
  aspect-ratio: 1.35;
  background-image: var(--active-skin-head);
  transform: translate(-50%, 146%) rotate(var(--active-skin-head-rotation, 90deg));
}
.skin-snake-body--1 {
  transform: translate(-50%, -364%) rotate(90deg);
}
.skin-snake-body--2 {
  transform: translate(-50%, -256%) rotate(90deg);
}
.skin-snake-body--3 {
  transform: translate(-50%, -148%) rotate(90deg);
}
.skin-snake-body--4 {
  transform: translate(-50%, -40%) rotate(90deg);
}
.skin-snake-body--5 {
  transform: translate(-50%, 68%) rotate(90deg);
}
.skin-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.skin-card {
  --skin-color: #b94eff;
  min-height: 300px;
  padding: 12px;
  display: grid;
  grid-template-rows: auto minmax(92px, 1fr) auto auto auto;
  gap: 7px;
  color: #d8ecff;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.skin-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 5, 14, 0.08), rgba(2, 5, 14, 0.7)), var(--skin-art) center / cover no-repeat;
  opacity: 0.68;
  content: "";
}
.skin-card > * {
  position: relative;
  z-index: 1;
}
.skin-card span {
  color: #f6f0ff;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px var(--skin-color);
}
.skin-card > i {
  width: min(82%, 150px);
  min-height: 116px;
  margin: 0 auto;
  background: var(--skin-head) center / contain no-repeat;
  filter: drop-shadow(0 0 14px var(--skin-color)) drop-shadow(0 0 24px color-mix(in srgb, var(--skin-color) 40%, transparent));
  transform: rotate(var(--skin-head-rotation, 90deg));
}
.skin-card strong {
  color: color-mix(in srgb, var(--skin-color) 70%, #ffffff);
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--skin-color);
}
.skin-card small,
.skin-card em {
  text-align: center;
  text-transform: uppercase;
}
.skin-card small {
  color: #c5def5;
  font-weight: 700;
}
.skin-card em {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(0, 213, 255, 0.72);
  border-radius: 5px;
  color: #a9ddff;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, rgba(0, 116, 160, 0.16), rgba(2, 5, 14, 0.78));
}
.skin-card em i {
  min-height: 0;
  width: 1em;
  display: inline-flex;
  justify-content: center;
  color: currentColor;
  filter: none;
}
.skin-card.is-selected {
  outline: 2px solid #63ff57;
  box-shadow: inset 0 0 34px rgba(99, 255, 87, 0.18), 0 0 28px rgba(99, 255, 87, 0.3);
}
.skin-card.is-selected em {
  border-color: rgba(99, 255, 87, 0.82);
  color: #b3ff99;
  background: linear-gradient(180deg, rgba(16, 70, 17, 0.32), rgba(2, 8, 6, 0.84));
}
.skin-card.is-previewed:not(.is-selected) {
  outline: 2px solid color-mix(in srgb, var(--skin-color) 78%, #ffffff);
  box-shadow: inset 0 0 34px color-mix(in srgb, var(--skin-color) 18%, transparent), 0 0 24px color-mix(in srgb, var(--skin-color) 24%, transparent);
}
.skin-card.is-locked {
  cursor: pointer;
  filter: grayscale(1);
  opacity: 0.52;
}
.skin-card.is-locked::before {
  opacity: 0.34;
}
.skin-card.is-locked em {
  border-color: rgba(180, 190, 208, 0.38);
  color: rgba(210, 218, 232, 0.78);
  background: linear-gradient(180deg, rgba(80, 86, 102, 0.18), rgba(2, 5, 14, 0.76));
}
.upgrade-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.upgrade-library {
  margin-top: 30px;
}
.upgrade-library h2 {
  margin-bottom: 16px;
  color: #00e5ff;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
}
.release-panel {
  min-width: 0;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.release-card {
  min-height: 190px;
  padding: 22px 18px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  text-align: center;
  border: 1px solid rgba(185, 78, 255, 0.34);
  border-radius: 8px;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px), linear-gradient(180deg, rgba(8, 12, 32, 0.94), rgba(2, 5, 15, 0.98));
  box-shadow: inset 0 0 22px rgba(185, 78, 255, 0.08);
}
.release-card > i {
  color: #00e5ff;
  font-size: 2rem;
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.72));
}
.release-card strong {
  color: white;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.release-card p {
  margin: 0;
  color: #a9ddff;
  font-size: 0.98rem;
  line-height: 1.42;
}
.feedback-link {
  min-height: 42px;
  padding: 10px 16px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0, 229, 255, 0.68);
  border-radius: 5px;
  color: #f6f0ff;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.1), rgba(4, 9, 24, 0.9));
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.18);
}
.paypal-shell {
  width: min(100%, 280px);
  display: grid;
  justify-items: center;
}
.paypal-shell form {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.5rem;
  width: 100%;
}
.paypal-shell img {
  max-width: 150px;
}
.paypal-shell section {
  color: rgba(213, 236, 255, 0.72);
  font-size: 0.75rem;
}
.paypal-shell section img {
  height: 0.875rem;
  vertical-align: middle;
}
html.is-electron .release-card--donate {
  display: none;
}
.paypal-donate-button {
  min-width: 11.625rem;
  height: 2.625rem;
  padding: 0 2rem;
  border: 1px solid #000000;
  border-radius: 1.5rem;
  color: #000000;
  background-color: #ffffff;
  cursor: pointer;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
}
.support-payment-note {
  max-width: 240px;
  color: rgba(213, 236, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}
.site-footer {
  position: relative;
  z-index: 3;
  padding: 16px;
  color: rgba(213, 236, 255, 0.66);
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.coming-soon-card {
  max-width: 680px;
  min-height: 330px;
  margin: 28px auto 0;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  place-items: center;
  gap: 16px;
  border: 1px solid rgba(185, 78, 255, 0.62);
  border-radius: 8px;
  text-align: center;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px), radial-gradient(circle at 50% 30%, rgba(185, 78, 255, 0.2), transparent 42%), linear-gradient(180deg, rgba(7, 14, 34, 0.94), rgba(2, 5, 15, 0.98));
  box-shadow: inset 0 0 44px rgba(139, 92, 255, 0.18), 0 0 34px rgba(185, 78, 255, 0.16);
}
.coming-soon-card i {
  color: #b94eff;
  font-size: clamp(3.2rem, 8vw, 5.2rem);
  text-shadow: 0 0 28px rgba(185, 78, 255, 0.9);
}
.coming-soon-card h2 {
  color: #f6f0ff;
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(185, 78, 255, 0.86);
}
.coming-soon-card p {
  max-width: 520px;
  color: #b9d8f4;
  font-size: 1.16rem;
  line-height: 1.45;
}
.os-panel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid rgba(99, 255, 87, 0.72);
  border-radius: 8px;
  color: #63ff57;
  background: linear-gradient(rgba(99, 255, 87, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 255, 87, 0.04) 1px, transparent 1px), radial-gradient(circle at 50% 0, rgba(99, 255, 87, 0.18), transparent 30%), rgba(1, 8, 3, 0.86);
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: 0 0 34px rgba(99, 255, 87, 0.22), inset 0 0 55px rgba(99, 255, 87, 0.08);
  font-family: "Courier New", monospace;
}
.os-panel::before,
.os-panel::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
}
.os-panel::before {
  background: repeating-linear-gradient(0deg, rgba(179, 255, 153, 0.04) 0 1px, transparent 1px 4px), radial-gradient(circle at var(--os-noise-x, 30%) var(--os-noise-y, 25%), rgba(99, 255, 87, 0.12), transparent 18%);
  mix-blend-mode: screen;
  opacity: 0.42;
  animation: os-static 2.4s steps(4, end) infinite;
}
.os-panel::after {
  background: linear-gradient(180deg, transparent 0 42%, rgba(179, 255, 153, 0.14) 50%, transparent 58%), linear-gradient(90deg, transparent, rgba(99, 255, 87, 0.08), transparent);
  opacity: 0.42;
  transform: translateY(-115%);
  animation: os-scanline 5.4s linear infinite;
}
.os-panel > * {
  position: relative;
  z-index: 1;
}
.os-header {
  margin-bottom: 24px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-transform: uppercase;
}
.os-header h2 {
  max-width: 100%;
  color: #63ff57;
  font-family: "Courier New", monospace;
  font-size: clamp(1.9rem, 3.1vw, 3.9rem);
  line-height: 0.9;
  letter-spacing: 0.045em;
  text-align: center;
  text-shadow: 0 0 16px rgba(99, 255, 87, 0.72);
  animation: os-title-flicker 6.8s steps(1, end) infinite;
}
.os-header span {
  width: min(100%, 980px);
  padding: 6px 0;
  border-block: 1px solid rgba(99, 255, 87, 0.72);
  color: #8dff6d;
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  letter-spacing: 0.08em;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  animation: os-type-reveal 1.45s steps(32, end) 180ms both;
}
.os-header span::after {
  display: inline-block;
  width: 0.65em;
  color: #b3ff99;
  content: "_";
  animation: os-cursor-blink 0.85s steps(1, end) infinite;
}
.os-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.68fr) minmax(0, 2.1fr) minmax(150px, 0.68fr);
  gap: clamp(16px, 1.8vw, 28px);
  min-width: 0;
}
.os-sidebar,
.os-summary {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 24px;
  border-inline: 1px dashed rgba(99, 255, 87, 0.28);
  padding: 0 16px;
}
.os-sidebar h3,
.os-summary h3 {
  overflow-wrap: anywhere;
  color: #8dff6d;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 9px rgba(99, 255, 87, 0.42);
  animation: os-text-blip 7.2s steps(1, end) infinite;
}
.os-sidebar p,
.os-summary p,
.os-sidebar small,
.os-summary small {
  overflow-wrap: anywhere;
  color: #8dff6d;
  font-size: 0.95rem;
  line-height: 1.45;
}
.os-loadout {
  position: relative;
  padding: 16px;
  border: 1px dashed rgba(99, 255, 87, 0.55);
  box-shadow: inset 0 0 18px rgba(99, 255, 87, 0.06);
  overflow: hidden;
}
.os-loadout::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(99, 255, 87, 0.16), transparent);
  opacity: 0;
  transform: translateX(-100%);
  content: "";
  animation: os-panel-sweep 7.8s ease-in-out infinite;
}
.os-loadout > * {
  position: relative;
  z-index: 1;
}
.os-loadout strong {
  display: block;
  margin-bottom: 12px;
  color: #b3ff99;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.os-loadout ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}
.os-loadout li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 8px;
}
.os-loadout span {
  display: grid;
  place-items: center;
  min-height: 32px;
  border: 1px solid rgba(99, 255, 87, 0.58);
}
.os-loadout b {
  overflow-wrap: anywhere;
  color: #8dff6d;
  font-weight: 700;
  text-transform: uppercase;
}
.os-status {
  display: grid;
  gap: 10px;
}
.os-status strong,
.os-status b {
  color: #b3ff99;
  text-transform: uppercase;
}
.os-modules {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}
.os-modules h3 {
  overflow-wrap: anywhere;
  color: #8dff6d;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 9px rgba(99, 255, 87, 0.42);
  animation: os-text-blip 7.2s steps(1, end) infinite;
}
.os-module-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.os-module-card {
  position: relative;
  min-width: 0;
  min-height: 180px;
  padding: 18px 14px 16px clamp(74px, 5.4vw, 86px);
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(99, 255, 87, 0.62);
  border-radius: 4px;
  color: #8dff6d;
  text-align: left;
  background: radial-gradient(circle at 20% 50%, rgba(99, 255, 87, 0.16), transparent 34%), rgba(3, 14, 6, 0.78);
  box-shadow: inset 0 0 22px rgba(99, 255, 87, 0.08), 0 0 16px rgba(99, 255, 87, 0.08);
  cursor: pointer;
  animation: os-card-idle 5.8s ease-in-out infinite;
  animation-delay: calc(var(--os-card-index, 0) * -0.43s);
}
.os-module-card:nth-child(1) {
  --os-card-index: 1;
}
.os-module-card:nth-child(2) {
  --os-card-index: 2;
}
.os-module-card:nth-child(3) {
  --os-card-index: 3;
}
.os-module-card:nth-child(4) {
  --os-card-index: 4;
}
.os-module-card:nth-child(5) {
  --os-card-index: 5;
}
.os-module-card:nth-child(6) {
  --os-card-index: 6;
}
.os-module-card:nth-child(7) {
  --os-card-index: 7;
}
.os-module-card:nth-child(8) {
  --os-card-index: 8;
}
.os-module-card:nth-child(9) {
  --os-card-index: 9;
}
.os-module-card:hover,
.os-module-card:focus-visible {
  outline: 0;
  border-color: rgba(179, 255, 153, 0.96);
  filter: brightness(1.12);
}
.os-module-card.is-selected {
  border-color: #b3ff99;
  box-shadow: inset 0 0 28px rgba(99, 255, 87, 0.18), 0 0 22px rgba(99, 255, 87, 0.24);
}
.os-module-card.is-selected em::before {
  background: #63ff57;
  box-shadow: 0 0 10px rgba(99, 255, 87, 0.8);
}
.os-module-card.is-locked {
  opacity: 0.38;
  cursor: not-allowed;
  filter: grayscale(0.6);
}
.os-module-card i {
  position: absolute;
  top: 50%;
  left: clamp(10px, 1vw, 14px);
  width: clamp(48px, 3.7vw, 56px);
  height: clamp(48px, 3.7vw, 56px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(99, 255, 87, 0.5);
  border-radius: 50%;
  color: #63ff57;
  font-size: 2rem;
  text-shadow: 0 0 14px rgba(99, 255, 87, 0.9);
  transform: translateY(-50%);
  animation: os-icon-pulse 2.8s ease-in-out infinite;
}
.os-module-card strong {
  overflow-wrap: anywhere;
  color: #b3ff99;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.os-module-card p {
  overflow-wrap: anywhere;
  color: #8dff6d;
  line-height: 1.32;
}
.os-module-card em {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b3ff99;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.os-module-card em::before {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(99, 255, 87, 0.78);
  content: "";
}
.os-module-number {
  position: absolute;
  top: 12px;
  right: 14px;
  color: #b3ff99;
  font-weight: 900;
}
.os-summary {
  text-align: center;
}
.os-summary .os-snake {
  position: relative;
  min-width: 0;
  min-height: 230px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(99, 255, 87, 0.45);
  overflow: hidden;
  background: #000;
}
.os-summary .os-snake img {
  position: relative;
  width: min(82%, 190px);
  max-height: 190px;
  object-fit: contain;
}
.os-summary strong,
.os-summary b {
  color: #b3ff99;
  text-transform: uppercase;
}
.os-summary button {
  min-height: 48px;
  border: 1px solid rgba(99, 255, 87, 0.58);
  color: #63ff57;
  text-transform: uppercase;
  background: rgba(8, 22, 8, 0.76);
  cursor: pointer;
}
.os-summary button:hover,
.os-summary button:focus-visible {
  outline: 0;
  border-color: #b3ff99;
  color: #b3ff99;
}
.os-footer {
  margin-top: 26px;
  padding-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr;
  align-items: center;
  gap: 14px;
  min-width: 0;
  border-top: 1px solid rgba(99, 255, 87, 0.44);
  color: #8dff6d;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  animation: os-footer-tick 4.8s steps(1, end) infinite;
}
.os-footer span:nth-of-type(2) {
  text-align: center;
}
.os-footer span:nth-of-type(3) {
  text-align: right;
}
.sync-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 20px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(99, 255, 87, 0.14), transparent 38%), rgba(1, 4, 8, 0.82);
  backdrop-filter: blur(10px);
}
.sync-dialog.is-hidden {
  display: none;
}
.sync-dialog__panel {
  position: relative;
  width: min(720px, 100%);
  padding: clamp(22px, 4vw, 36px);
  display: grid;
  gap: 16px;
  border: 1px solid rgba(99, 255, 87, 0.78);
  border-radius: 8px;
  color: #8dff6d;
  font-family: "Courier New", monospace;
  background: linear-gradient(rgba(99, 255, 87, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 255, 87, 0.045) 1px, transparent 1px), linear-gradient(180deg, rgba(2, 14, 6, 0.98), rgba(0, 4, 2, 0.98));
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: 0 0 38px rgba(99, 255, 87, 0.24), inset 0 0 46px rgba(99, 255, 87, 0.08);
}
.sync-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(99, 255, 87, 0.7);
  color: #b3ff99;
  font-size: 1.35rem;
  background: rgba(1, 8, 3, 0.82);
  cursor: pointer;
}
.sync-dialog__eyebrow,
.sync-code-field span,
.sync-email-field span {
  color: #b3ff99;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sync-dialog h2 {
  margin-right: 46px;
  color: #63ff57;
  font-family: "Courier New", monospace;
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(99, 255, 87, 0.72);
}
.sync-dialog p {
  color: #b3ff99;
  line-height: 1.5;
}
.sync-cloud-panel {
  padding: 12px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(99, 255, 87, 0.32);
  border-radius: 6px;
  background: rgba(2, 8, 6, 0.42);
}
.sync-code-field,
.sync-email-field {
  display: grid;
  gap: 8px;
}
.sync-email-field input {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(99, 255, 87, 0.56);
  border-radius: 4px;
  color: #e1ffd6;
  background: rgba(0, 0, 0, 0.42);
  outline: none;
}
.sync-email-field input:focus {
  border-color: #63ff57;
  box-shadow: 0 0 14px rgba(99, 255, 87, 0.24);
}
.sync-code-field textarea {
  width: 100%;
  min-height: 170px;
  padding: 14px;
  border: 1px dashed rgba(99, 255, 87, 0.64);
  border-radius: 4px;
  color: #e1ffd6;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1.45;
  resize: vertical;
  background: rgba(1, 8, 3, 0.72);
  box-shadow: inset 0 0 18px rgba(99, 255, 87, 0.08);
}
.sync-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.sync-actions button {
  min-height: 44px;
  border: 1px solid rgba(99, 255, 87, 0.68);
  color: #b3ff99;
  font-family: "Courier New", monospace;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(8, 22, 8, 0.78);
  cursor: pointer;
}
.sync-actions button:hover,
.sync-actions button:focus-visible {
  outline: 0;
  border-color: #b3ff99;
  color: #ffffff;
}
.sync-actions--cloud {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sync-status {
  min-height: 24px;
  font-size: 0.92rem;
}
.sync-status.is-error {
  color: #ff7d9a;
}
.upgrade-card {
  --upgrade-color: #00e5ff;
  min-height: 230px;
  padding: 20px 12px;
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: center;
  text-align: center;
  border-color: color-mix(in srgb, var(--upgrade-color) 58%, transparent);
}
.upgrade-card i {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  color: var(--upgrade-color);
  font-size: 3rem;
  text-shadow: 0 0 22px var(--upgrade-color);
}
.upgrade-card strong {
  color: var(--upgrade-color);
  font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.08;
  text-transform: uppercase;
}
.upgrade-card p {
  color: #b9d8f4;
  line-height: 1.34;
}
.upgrade-overclock,
.upgrade-repair {
  --upgrade-color: #ff8a2a;
}
.upgrade-compression {
  --upgrade-color: #22ff7a;
}
.upgrade-magnet {
  --upgrade-color: #00e5ff;
}
.upgrade-ghost {
  --upgrade-color: #b94eff;
}
.upgrade-storm {
  --upgrade-color: #4f8cff;
}
.upgrade-cache {
  --upgrade-color: #ffd166;
}
.upgrade-warp {
  --upgrade-color: #ff4fc3;
}
.upgrade-surge {
  --upgrade-color: #43e8ff;
}
.upgrade-lightning {
  --upgrade-color: #f6f0ff;
}
.upgrade-blackhole {
  --upgrade-color: #8d68ff;
}
.upgrade-hunter {
  --upgrade-color: #ff153f;
}
@keyframes os-static {
  0% {
    --os-noise-x: 16%;
    --os-noise-y: 24%;
    opacity: 0.32;
  }
  25% {
    --os-noise-x: 68%;
    --os-noise-y: 18%;
    opacity: 0.48;
  }
  50% {
    --os-noise-x: 42%;
    --os-noise-y: 78%;
    opacity: 0.36;
  }
  75% {
    --os-noise-x: 86%;
    --os-noise-y: 44%;
    opacity: 0.5;
  }
  100% {
    --os-noise-x: 28%;
    --os-noise-y: 62%;
    opacity: 0.38;
  }
}
@keyframes os-scanline {
  from {
    transform: translateY(-115%);
  }
  to {
    transform: translateY(115%);
  }
}
@keyframes os-title-flicker {
  0%,
  8%,
  10%,
  12%,
  62%,
  64%,
  100% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(99, 255, 87, 0.72), 0 0 24px rgba(99, 255, 87, 0.38);
  }
  9%,
  63% {
    opacity: 0.74;
    text-shadow: 0 0 7px rgba(99, 255, 87, 0.54);
  }
}
@keyframes os-type-reveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes os-cursor-blink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}
@keyframes os-text-blip {
  0%,
  21%,
  22%,
  23%,
  100% {
    opacity: 1;
  }
  21.5%,
  22.5% {
    opacity: 0.62;
  }
}
@keyframes os-panel-sweep {
  0%,
  72% {
    opacity: 0;
    transform: translateX(-100%);
  }
  82% {
    opacity: 0.62;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}
@keyframes os-card-idle {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.06);
  }
}
@keyframes os-icon-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(99, 255, 87, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(99, 255, 87, 0.18);
  }
}
@keyframes os-snake-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(99, 255, 87, 0.42));
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(99, 255, 87, 0.72));
  }
}
@keyframes os-footer-tick {
  0%,
  96%,
  100% {
    opacity: 1;
  }
  97% {
    opacity: 0.72;
  }
}
@media (prefers-reduced-motion: reduce) {
  .os-panel,
  .os-panel *,
  .os-panel::before,
  .os-panel::after {
    animation: none !important;
  }
}
@media (max-width: 1500px) {
  .briefing-console {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }
  .tab-panel {
    width: 100%;
    min-height: 0;
    max-width: 100%;
    padding-bottom: 28px;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .how-layout {
    grid-template-columns: 1fr;
  }
  .tips-carousel {
    max-width: 100%;
    padding-inline: 64px;
  }
  .play-grid,
  .upgrade-grid,
  .skin-grid,
  .release-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .skin-layout {
    grid-template-columns: 1fr;
  }
  .skin-active-card {
    grid-template-rows: auto minmax(300px, 360px) auto auto auto;
  }
  .skin-active-art {
    min-height: 300px;
  }
  .skin-snake-body {
    width: clamp(56px, 8vw, 94px);
  }
  .skin-snake-head {
    width: clamp(72px, 9vw, 118px);
    transform: translate(84%, -50%) rotate(0deg);
  }
  .skin-snake-body--1 {
    transform: translate(-224%, -50%) rotate(0deg);
  }
  .skin-snake-body--2 {
    transform: translate(-158%, -50%) rotate(0deg);
  }
  .skin-snake-body--3 {
    transform: translate(-92%, -50%) rotate(0deg);
  }
  .skin-snake-body--4 {
    transform: translate(-26%, -50%) rotate(0deg);
  }
  .skin-snake-body--5 {
    transform: translate(40%, -50%) rotate(0deg);
  }
  .os-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .os-sidebar,
  .os-summary {
    border-inline: 0;
    border-block: 1px dashed rgba(99, 255, 87, 0.28);
    padding: 16px 0;
  }
  .os-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .os-footer span:nth-of-type(2),
  .os-footer span:nth-of-type(3) {
    text-align: center;
  }
  .os-module-card {
    padding-left: 86px;
  }
}
@media (max-width: 1100px) {
  .home-shell {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 10px;
  }
  .hero-logo {
    width: min(78%, 360px);
    max-height: 18vh;
  }
  .hero-video {
    object-fit: cover;
    object-position: center 42%;
  }
  .main-actions {
    padding-inline: clamp(18px, 3vw, 34px);
  }
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 8px;
  }
  .home-shell {
    height: 100svh;
    min-height: 100svh;
    padding: 8px;
    display: block;
    overflow: hidden;
  }
  body.is-briefing-open .home-shell {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  .hero-console {
    min-height: 0;
    height: calc(100svh - 16px);
  }
  .hero-art::after {
    background: linear-gradient(180deg, rgba(1, 4, 12, 0), rgba(1, 4, 12, 0.18) 54%, rgba(1, 4, 12, 0.88) 100%);
  }
  .hero-video {
    object-fit: cover;
    object-position: center 42%;
  }
  .hero-logo {
    top: 30px;
    width: min(82%, 360px);
    max-height: 20vh;
  }
  .title-audio-toggle {
    display: none;
  }
  .mobile-home-menu-trigger {
    position: absolute;
    z-index: 9;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(99, 255, 87, 0.86);
    border-radius: 5px;
    color: #63ff57;
    background: linear-gradient(180deg, rgba(8, 46, 12, 0.72), rgba(1, 8, 5, 0.94));
    box-shadow: inset 0 0 18px rgba(99, 255, 87, 0.16), 0 0 18px rgba(99, 255, 87, 0.24);
    cursor: pointer;
  }
  .mobile-home-menu-trigger i {
    font-size: 1rem;
  }
  .main-actions {
    padding: 0 40px 28px;
    gap: 8px;
  }
  .main-actions .menu-button:not(.menu-button--begin) {
    display: none;
  }
  .menu-button {
    min-height: 58px;
    padding: 10px 18px;
  }
  .menu-button span {
    font-size: clamp(1.1rem, 5.8vw, 1.5rem);
    letter-spacing: 0.08em;
  }
  .menu-button small {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }
  .menu-button--begin span {
    font-size: clamp(1.1rem, 5.8vw, 1.5rem);
  }
  .mobile-home-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    padding: 0;
    background: linear-gradient(90deg, transparent, rgba(1, 4, 10, 0.78));
    backdrop-filter: blur(7px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }
  .mobile-home-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-home-menu.is-open .mobile-home-menu__panel {
    transform: translateX(0);
  }
  .mobile-home-menu__panel {
    position: relative;
    width: 100vw;
    height: 100svh;
    max-height: 100svh;
    margin-left: auto;
    padding: 20px;
    display: grid;
    align-content: start;
    gap: 30px;
    overflow: auto;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    background-color: black;
    box-shadow: 0 0 34px rgba(99, 255, 87, 0.14), inset 0 0 28px rgba(185, 78, 255, 0.12);
    transform: translateX(104%);
    transition: transform 220ms ease;
  }
  .mobile-home-menu__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    color: #f6f0ff;
    font-size: 1.4rem;
    line-height: 1;
    background: transparent;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.78), 0 0 14px rgba(255, 36, 79, 0.52);
    cursor: pointer;
  }
  .mobile-home-menu__logo {
    width: min(78%, 250px);
    margin: 4px auto 0;
    display: block;
    filter: drop-shadow(0 0 16px rgba(99, 255, 87, 0.46));
  }
  .mobile-home-menu__head {
    width: 74px;
    margin: -8px auto 2px;
    display: block;
    filter: drop-shadow(0 0 12px rgba(255, 36, 79, 0.72)) drop-shadow(0 0 20px rgba(185, 78, 255, 0.42));
  }
  .mobile-home-menu__actions {
    display: grid;
    gap: 10px;
  }
  .mobile-home-menu__actions .menu-button {
    min-height: 62px;
    padding: 10px 16px;
    display: grid;
  }
  .mobile-home-menu__actions .menu-button small {
    color: #f6f0ff;
  }
  .mobile-home-menu__keys {
    padding: 4px 0 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(0, 213, 255, 0.2);
  }
  .mobile-home-key-cluster {
    display: grid;
    grid-template-columns: repeat(3, 38px);
    grid-template-areas: ". up ." "left down right";
    gap: 7px;
    justify-content: center;
  }
  .mobile-home-key-cluster kbd {
    min-width: 38px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(82, 156, 255, 0.72);
    border-radius: 5px;
    color: #a9ddff;
    background: rgba(9, 20, 45, 0.92);
    box-shadow: inset 0 0 12px rgba(0, 213, 255, 0.14);
    font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
  }
  .mobile-home-key-cluster kbd:nth-child(1) {
    grid-area: up;
  }
  .mobile-home-key-cluster kbd:nth-child(2) {
    grid-area: left;
  }
  .mobile-home-key-cluster kbd:nth-child(3) {
    grid-area: down;
  }
  .mobile-home-key-cluster kbd:nth-child(4) {
    grid-area: right;
  }
  .mobile-home-menu__support {
    display: grid;
    justify-items: center;
    gap: 20px;
    border-top: 1px solid rgba(0, 213, 255, 0.2);
  }
  .mobile-home-menu__support > a {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(0, 229, 255, 0.56);
    border-radius: 5px;
    color: #f6f0ff;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.08), rgba(5, 10, 25, 0.9));
    box-shadow: inset 0 0 16px rgba(0, 213, 255, 0.08);
    font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
  }
  .mobile-home-menu__support > small {
    max-width: 280px;
    color: rgba(213, 236, 255, 0.54);
    font-family: "Orbitron", "Rajdhani", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
  }
  .mobile-home-paypal {
    width: min(100%, 240px);
    display: grid;
    justify-items: center;
  }
  .mobile-home-paypal form {
    width: 100%;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 0.45rem;
  }
  .mobile-home-paypal img {
    max-width: 138px;
  }
  .mobile-home-paypal section {
    color: rgba(213, 236, 255, 0.62);
    font-size: 0.7rem;
    text-align: center;
  }
  .mobile-home-paypal section img {
    height: 0.8rem;
    vertical-align: middle;
  }
  .menu-button--buy {
    --button-color: #a8ff2a;
    background-image: linear-gradient(180deg, rgba(8, 32, 2, 0.5), rgba(1, 4, 8, 0.82)), url("https://assets.worldweavergames.com/images/level-select/snake-texture-3.png");
    background-position: center, center;
    background-size: auto, cover;
    background-repeat: no-repeat;
  }
  .menu-button--buy.is-restoring {
    --button-color: #a8ff2a;
    background-image: linear-gradient(180deg, rgba(8, 32, 2, 0.5), rgba(1, 4, 8, 0.82)), url("https://assets.worldweavergames.com/images/level-select/snake-texture-3.png");
    background-position: center, center;
    background-size: auto, cover;
    background-repeat: no-repeat;
  }
  .menu-button--audio {
    --button-color: #ff40b9;
    background-image: linear-gradient(180deg, rgba(38, 12, 1, 0.5), rgba(8, 3, 1, 0.82)), url("https://assets.worldweavergames.com/images/level-select/snake-texture-8.png");
    background-position: center, center;
    background-size: auto, cover;
    background-repeat: no-repeat;
  }
  .briefing-console {
    display: none;
    padding: 24px 14px;
    scroll-margin-top: 8px;
  }
  body.is-briefing-open .briefing-console {
    display: block;
    margin-top: 12px;
  }
  .briefing-header {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }
  .briefing-header span {
    display: none;
  }
  .briefing-header h1 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
    letter-spacing: 0.14em;
  }
  .tagline {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
  }
  .intro-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .tips-carousel {
    padding: 34px 46px 28px;
  }
  .tips-carousel::before,
  .tips-carousel::after {
    width: 72px;
    opacity: 0.42;
  }
  .tips-carousel__header {
    gap: 10px;
  }
  .tips-carousel__header h2 {
    letter-spacing: 0.2em;
  }
  .tip-terminal {
    min-height: 170px;
    padding: 18px 16px;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tip-terminal p {
    font-size: 1.05rem;
  }
  .tip-terminal__number {
    text-align: center;
  }
  .tips-carousel__arrow {
    width: 34px;
    font-size: 1.85rem;
  }
  .tips-carousel__arrow--prev {
    left: 8px;
  }
  .tips-carousel__arrow--next {
    right: 8px;
  }
  .play-grid,
  .legend-list,
  .upgrade-grid,
  .release-panel,
  .skin-layout,
  .skin-grid,
  .os-module-grid,
  .os-footer {
    grid-template-columns: 1fr;
  }
  .skin-panel {
    padding: 16px 12px;
  }
  .skin-header h2 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    letter-spacing: 0.08em;
  }
  .skin-active-card {
    grid-template-rows: auto minmax(170px, 220px) auto auto auto;
  }
  .skin-active-art {
    min-height: 180px;
  }
  .skin-card {
    min-height: 190px;
    grid-template-rows: auto minmax(68px, 1fr) auto auto auto;
  }
  .os-panel {
    padding: 16px 12px;
  }
  .os-header h2 {
    font-size: clamp(1.45rem, 9vw, 2.2rem);
    letter-spacing: 0.02em;
  }
  .os-module-card {
    min-height: 150px;
    padding: 14px 12px 14px 72px;
  }
  .os-module-card i {
    left: 12px;
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }
  .os-summary .os-snake {
    min-height: 160px;
  }
  .os-footer {
    text-align: center;
  }
  .os-footer span,
  .os-footer span:last-child {
    text-align: center;
  }
  .sync-dialog {
    padding: 10px;
  }
  .sync-dialog__panel {
    max-height: calc(100svh - 20px);
    overflow-y: auto;
  }
  .sync-actions {
    grid-template-columns: 1fr;
  }
  .tab-panel {
    scroll-margin-top: 8px;
  }
  .legend-list div {
    grid-template-columns: 50px minmax(0, 1fr);
  }
  .legend-list div small {
    grid-column: 2;
  }
  .node {
    width: 50px;
    height: 50px;
  }
}
