:root {
  --ink: #04202f;
  --deep: #03283e;
  --panel-a: rgba(19, 80, 111, .96);
  --panel-b: rgba(10, 48, 73, .96);
  --sun: #ffc93c;
  --coral: #ff6a5e;
  --cyan: #43e8d8;
  --foam: #e9fbf7;
  --drop: rgba(3, 18, 29, .5);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--deep);
  color: var(--foam);
  font-family: var(--font);
  overscroll-behavior: none;
}

button, input { font: inherit; }
button { color: inherit; }

#ocean {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

/* ---------------- brand ---------------- */

.brand {
  position: fixed;
  z-index: 5;
  top: calc(24px + env(safe-area-inset-top));
  left: calc(26px + env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 25px;
  letter-spacing: .1em;
  color: #fff;
  pointer-events: none;
}

@supports (paint-order: stroke) {
  .brand { -webkit-text-stroke: .2em var(--ink); paint-order: stroke fill; }
}

.brand-mark {
  width: 33px;
  height: 21px;
  display: block;
  position: relative;
  border-radius: 55% 65% 65% 55%;
  background: var(--sun);
  filter: drop-shadow(0 3px 0 var(--ink));
}

.brand-mark::before {
  content: "";
  position: absolute;
  right: 26px;
  top: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid var(--sun);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.brand-mark i {
  position: absolute;
  left: 12px;
  top: 9px;
  width: 8px;
  height: 5px;
  border-radius: 50%;
  border-top: 2px solid rgba(4, 32, 47, .5);
}

/* ---------------- connection ---------------- */

.connection {
  position: fixed;
  z-index: 5;
  top: calc(27px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--panel-b);
  box-shadow: 0 5px 0 var(--drop);
  color: rgba(233, 251, 247, .72);
  font: 900 10px/1 var(--font);
  letter-spacing: .13em;
  pointer-events: none;
}

.connection i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7d94a0;
}

.connection.live i { background: #3fdf9a; box-shadow: 0 0 0 3px rgba(63, 223, 154, .25); }
.connection.warn i { background: var(--sun); box-shadow: 0 0 0 3px rgba(255, 201, 60, .25); }

/* ---------------- panels ---------------- */

.panel {
  position: fixed;
  z-index: 4;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: linear-gradient(165deg, var(--panel-a), var(--panel-b));
  box-shadow: 0 9px 0 var(--drop);
}

.leaderboard {
  top: calc(24px + env(safe-area-inset-top));
  right: calc(26px + env(safe-area-inset-right));
  width: 262px;
  padding: 14px 14px 11px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding-bottom: 11px;
  border-bottom: 2px solid rgba(255, 255, 255, .09);
  color: rgba(233, 251, 247, .5);
  font: 900 10px/1 var(--font);
  letter-spacing: .12em;
}

#school-count {
  flex: none;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 9px;
  letter-spacing: .08em;
}

.leaderboard ol {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.leaderboard li {
  height: 30px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 6px;
  border-radius: 9px;
  color: rgba(233, 251, 247, .86);
  font: 800 13px/1 var(--font);
}

.leaderboard .place {
  display: grid;
  place-items: center;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .09);
  color: rgba(233, 251, 247, .6);
  font: 900 10px/1 var(--mono);
}

.leaderboard li:nth-child(1) .place { background: var(--sun); color: var(--ink); }
.leaderboard li:nth-child(2) .place { background: #c9dbe2; color: var(--ink); }
.leaderboard li:nth-child(3) .place { background: #d08a4e; color: var(--ink); }

.leaderboard .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard .bot { margin-left: 6px; color: rgba(233, 251, 247, .3); font: 700 9px/1 var(--mono); letter-spacing: .08em; }
.leaderboard .weight { color: var(--sun); font: 900 13px/1 var(--mono); font-variant-numeric: tabular-nums; }

.leaderboard li.me {
  background: rgba(67, 232, 216, .18);
  outline: 2px solid rgba(67, 232, 216, .55);
  color: #fff;
}

.leaderboard li.me .weight { color: #fff; }

/* ---------------- hud ---------------- */

.hud {
  position: fixed;
  z-index: 5;
  left: calc(26px + env(safe-area-inset-left));
  bottom: calc(26px + env(safe-area-inset-bottom));
  max-width: calc(100vw - 52px);
  transition: opacity .25s;
}

body.in-menu .hud,
body.in-menu .leaderboard,
body.in-menu .dash-button { opacity: 0; pointer-events: none; }

.mission {
  margin: 0 0 9px 4px;
  color: rgba(233, 251, 247, .62);
  font: 800 11px/1 var(--font);
  letter-spacing: .07em;
  text-shadow: 0 2px 0 rgba(3, 18, 29, .55);
}

.hud-row { display: flex; align-items: flex-end; gap: 13px; }

.hud-mass,
.boost-wrap {
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: linear-gradient(165deg, var(--panel-a), var(--panel-b));
  box-shadow: 0 9px 0 var(--drop);
}

.hud-mass {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 13px;
}

#rank {
  padding: 7px 9px;
  border: 2px solid var(--ink);
  border-radius: 9px;
  background: var(--coral);
  color: #fff;
  font: 900 13px/1 var(--mono);
}

.hud-mass strong {
  display: flex;
  align-items: baseline;
  color: #fff;
  font: 900 42px/1 var(--font);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.hud-mass u { text-decoration: none; margin-left: 1px; color: var(--sun); font-size: 20px; }

.boost-wrap { padding: 11px 15px 12px; }

.boost-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}

.boost-head span {
  color: rgba(233, 251, 247, .55);
  font: 900 10px/1 var(--font);
  letter-spacing: .14em;
}

kbd {
  padding: 4px 7px;
  border: 2px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  color: rgba(233, 251, 247, .6);
  font: 900 8.5px/1 var(--mono);
}

.boost-track {
  position: relative;
  width: 185px;
  height: 13px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, .11);
}

.boost-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--sun), #ff8f4e);
  transform-origin: left;
  transition: transform .12s linear;
}

/* notches, so the meter reads as segments while staying a single scaled bar */
.boost-track::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 17px, var(--ink) 17px 21px);
}

/* ---------------- dash button (touch) ---------------- */

.dash-button {
  display: none;
  position: fixed;
  z-index: 7;
  right: calc(22px + env(safe-area-inset-right));
  bottom: calc(30px + env(safe-area-inset-bottom));
  width: 88px;
  height: 88px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 7px 0 var(--drop);
  color: #fff;
  font: 900 12px/1 var(--font);
  letter-spacing: .12em;
  touch-action: none;
}

.dash-button:active, .dash-button.active {
  transform: translateY(5px);
  box-shadow: 0 2px 0 var(--drop);
}

.dash-button i { position: absolute; inset: 9px; border: 2px dashed rgba(255, 255, 255, .32); border-radius: 50%; }

/* ---------------- toast ---------------- */

.toast {
  position: fixed;
  z-index: 8;
  left: 50%;
  top: 13%;
  transform: translateX(-50%) rotate(-1.4deg) scale(.94);
  padding: 10px 18px;
  border: 3px solid var(--ink);
  border-radius: 13px;
  background: var(--coral);
  box-shadow: 0 5px 0 var(--ink);
  color: #fff;
  font: 900 14px/1 var(--font);
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
}

.toast.show { opacity: 1; transform: translateX(-50%) rotate(-1.4deg) scale(1); }

/* ---------------- death ---------------- */

.death {
  position: fixed;
  z-index: 9;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: radial-gradient(circle, rgba(255, 106, 94, .1), rgba(3, 20, 32, .5));
  text-align: center;
  pointer-events: none;
}

.death[hidden] { display: none; }
.death small { color: rgba(233, 251, 247, .66); font: 900 11px/1 var(--font); letter-spacing: .2em; }

.death strong {
  max-width: 90vw;
  color: var(--coral);
  font-size: clamp(34px, 7vw, 74px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.045em;
}

@supports (paint-order: stroke) {
  .death strong { -webkit-text-stroke: .085em var(--ink); paint-order: stroke fill; }
}

.death span { color: rgba(233, 251, 247, .72); font: 800 13px/1 var(--font); }
.death b { color: var(--sun); font-variant-numeric: tabular-nums; }

/* ---------------- menu ---------------- */

.menu {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 45%, rgba(4, 32, 47, .42), rgba(3, 20, 32, .78));
  backdrop-filter: blur(9px) saturate(.9);
  transition: opacity .35s, visibility .35s;
}

.menu.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.menu-card {
  position: relative;
  width: min(648px, 100%);
  padding: clamp(38px, 6vh, 48px) clamp(24px, 5vw, 54px) 34px;
  border: 3px solid var(--ink);
  border-radius: 30px;
  background: linear-gradient(162deg, #13506f, #0a3049);
  box-shadow: 0 13px 0 rgba(3, 18, 29, .6), 0 46px 84px rgba(0, 9, 17, .55);
  text-align: center;
}

.eyebrow {
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%) rotate(-2.2deg);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 17px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
  box-shadow: 0 5px 0 var(--ink);
  color: var(--ink);
  font: 900 12px/1 var(--font);
  letter-spacing: .13em;
}

.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #0f8f5a; box-shadow: 0 0 0 3px rgba(15, 143, 90, .28); }

.menu h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 7.6vw, 74px);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.05em;
  text-align: center;
  text-wrap: balance;
}

@supports (paint-order: stroke) {
  .menu h1 { -webkit-text-stroke: .095em var(--ink); paint-order: stroke fill; }
}

.menu h1 em { color: var(--sun); font-style: normal; }

.pitch {
  max-width: 410px;
  margin: 20px auto 24px;
  color: rgba(233, 251, 247, .66);
  font: 600 15px/1.5 var(--font);
  text-wrap: balance;
}

#join-form { max-width: 470px; margin: 0 auto; }
#join-form label { display: block; margin: 0 0 9px 4px; color: rgba(233, 251, 247, .5); font: 900 10px/1 var(--font); letter-spacing: .16em; text-align: left; }
.join-row { display: grid; grid-template-columns: 1fr 168px; gap: 11px; }

#name {
  width: 100%;
  min-width: 0;
  padding: 15px 18px;
  border: 3px solid var(--ink);
  border-radius: 15px;
  outline: none;
  background: #05283b;
  color: #fff;
  font: 800 16px/1 var(--font);
}

#name::placeholder { color: rgba(233, 251, 247, .34); }
#name:focus { border-color: var(--cyan); }

#play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 3px solid var(--ink);
  border-radius: 15px;
  background: var(--coral);
  color: #fff;
  cursor: pointer;
  font: 900 15px/1 var(--font);
  letter-spacing: .11em;
  box-shadow: 0 6px 0 var(--ink);
}

#play:hover { filter: brightness(1.06); }
#play:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
#play:disabled { cursor: wait; filter: grayscale(.4); opacity: .75; }
#play i { font: 900 17px/1 var(--font); font-style: normal; }
#play:focus-visible, #name:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.how-to {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.how-to span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 9px 12px;
  border: 2px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: rgba(233, 251, 247, .72);
  font: 800 10px/1 var(--font);
  letter-spacing: .07em;
}

.how-to i { flex: none; width: 8px; height: 8px; border-radius: 50%; }

.menu-status {
  min-height: 14px;
  margin: 22px 0 0;
  color: rgba(233, 251, 247, .32);
  font: 700 11px/1 var(--font);
  letter-spacing: .1em;
}

.menu footer {
  position: absolute;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  color: rgba(233, 251, 247, .26);
  font: 800 9px/1 var(--font);
  letter-spacing: .12em;
  text-align: center;
}

.menu footer span { padding: 0 8px; }

/* ---------------- ambience ---------------- */

.grain {
  position: fixed;
  z-index: 30;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.25) 0 1px, transparent 1px),
    radial-gradient(circle at 72% 68%, rgba(255,255,255,.18) 0 1px, transparent 1px);
  background-size: 47px 53px, 71px 67px;
}

noscript { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; background: var(--deep); }

/* ---------------- small screens ---------------- */

@media (pointer: coarse), (max-width: 760px) {
  .dash-button { display: block; }

  .brand { top: calc(18px + env(safe-area-inset-top)); left: calc(14px + env(safe-area-inset-left)); font-size: 19px; gap: 8px; }
  .brand-mark { width: 26px; height: 17px; }
  .brand-mark::before { right: 20px; top: 2px; border-top-width: 6px; border-bottom-width: 6px; border-right-width: 9px; }
  .brand-mark::after { right: 4px; top: 4px; width: 4px; height: 4px; }
  .brand-mark i { left: 9px; top: 7px; width: 6px; height: 4px; }

  .connection { top: calc(18px + env(safe-area-inset-top)); left: auto; right: calc(12px + env(safe-area-inset-right)); transform: none; padding: 6px 11px; border-width: 2px; font-size: 9px; }

  .leaderboard { top: calc(62px + env(safe-area-inset-top)); right: calc(12px + env(safe-area-inset-right)); width: 194px; padding: 10px 10px 8px; border-width: 2px; border-radius: 15px; }
  .panel-title { font-size: 8px; padding-bottom: 8px; }
  #school-count { font-size: 7.5px; padding: 3px 5px; }
  .leaderboard li { height: 25px; gap: 7px; grid-template-columns: 22px minmax(0, 1fr) auto; font-size: 11px; }
  .leaderboard .place { height: 18px; border-radius: 5px; font-size: 8.5px; }
  .leaderboard .weight { font-size: 11px; }
  .leaderboard .bot { display: none; }
  .leaderboard li:nth-child(n+7) { display: none; }

  .hud { left: calc(12px + env(safe-area-inset-left)); bottom: calc(24px + env(safe-area-inset-bottom)); max-width: calc(100vw - 132px); }
  .mission { display: none; }
  .hud-row { gap: 9px; }
  .hud-mass, .boost-wrap { border-width: 2px; border-radius: 15px; box-shadow: 0 6px 0 var(--drop); }
  .hud-mass { gap: 9px; padding: 9px 14px 9px 9px; }
  #rank { padding: 5px 7px; font-size: 11px; }
  .hud-mass strong { font-size: 30px; }
  .hud-mass u { font-size: 15px; }
  .boost-wrap { padding: 9px 11px 10px; }
  .boost-head kbd { display: none; }
  .boost-head { margin-bottom: 6px; gap: 0; }
  .boost-track { width: 82px; height: 11px; }
  .boost-track::after { background: repeating-linear-gradient(90deg, transparent 0 14px, var(--ink) 14px 17px); }

  .toast { top: 11%; font-size: 12px; padding: 8px 14px; border-width: 2px; }

  .menu { padding: 14px 14px 40px; }
  .menu-card { padding: 34px 20px 26px; border-radius: 22px; border-width: 2px; }
  .eyebrow { font-size: 9.5px; padding: 6px 12px; border-width: 2px; box-shadow: 0 4px 0 var(--ink); }
  .menu h1 { font-size: clamp(42px, 14vw, 62px); }
  .pitch { margin: 17px auto 20px; font-size: 13px; }
  .join-row { grid-template-columns: 1fr 118px; gap: 8px; }
  #name { padding: 13px 15px; border-width: 2px; border-radius: 12px; }
  #play { border-width: 2px; border-radius: 12px; font-size: 13px; box-shadow: 0 5px 0 var(--ink); }
  .how-to { margin-top: 20px; gap: 6px; }
  .how-to span { padding: 8px 11px; font-size: 9.5px; }
  .menu-status { margin-top: 16px; font-size: 10px; }
  .menu footer { display: none; }
}

@media (max-height: 700px) {
  .menu-card { padding-top: 32px; padding-bottom: 22px; }
  .menu h1 { font-size: clamp(40px, 10vh, 62px); }
  .pitch { margin-top: 15px; margin-bottom: 18px; }
  .how-to { margin-top: 18px; }
  .menu-status { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------------- evolution ---------------- */
/* Play-plane UI, not scenery: crisp, saturated, thick ink border and hard drop shadow,
   the same language as .menu-card and .hud. Never dims or blocks the arena -- the game
   keeps running while this is open, which is the whole point of it being non-modal. */

.evolve {
  position: fixed;
  z-index: 6;
  left: 50%;
  bottom: calc(124px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  pointer-events: auto;
}
.evolve[hidden] { display: none; }

.evolve-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
  box-shadow: 0 5px 0 var(--drop);
  color: var(--ink);
  font: 900 12px/1 var(--font);
  letter-spacing: .12em;
}
.evolve-head i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  animation: evolve-blink 1.5s steps(1, end) infinite;
}
@keyframes evolve-blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .25; } }

.evolve-sub {
  margin: 0;
  color: rgba(233, 251, 247, .62);
  font: 800 9.5px/1 var(--font);
  letter-spacing: .09em;
  text-shadow: 0 2px 0 rgba(3, 18, 29, .55);
}

.evolve-options { display: flex; gap: 11px; }

.evolve-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 138px;
  padding: 12px 10px 11px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: linear-gradient(165deg, var(--panel-a), var(--panel-b));
  box-shadow: 0 7px 0 var(--drop);
  color: var(--foam);
  cursor: pointer;
  transition: filter .12s ease, transform .08s ease, box-shadow .08s ease;
}
.evolve-option:hover { filter: brightness(1.1); }
.evolve-option:active { transform: translateY(4px); box-shadow: 0 3px 0 var(--drop); }
.evolve-option:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.evolve-option kbd {
  display: grid;
  place-items: center;
  min-width: 19px;
  padding: 2px 5px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--cyan);
  color: var(--ink);
  font: 900 10px/1 var(--font);
}
.evolve-name { font: 900 14px/1 var(--font); letter-spacing: .01em; }
.evolve-tag {
  color: rgba(233, 251, 247, .6);
  font: 700 9.5px/1.35 var(--font);
  text-align: center;
}

/* death screen: the "so close" line */
.death-evo {
  display: block;
  margin-top: 10px;
  color: var(--sun);
  font: 800 12px/1.3 var(--font);
  font-style: normal;
  letter-spacing: .04em;
}
.death-evo[hidden] { display: none; }

/* menu: the three starting paths, previewed before you ever play */
.paths { margin-top: 14px; }
.paths-title {
  display: block;
  margin-bottom: 7px;
  color: rgba(233, 251, 247, .45);
  font: 900 9px/1 var(--font);
  letter-spacing: .16em;
}
.paths-row { display: flex; gap: 7px; }
.path-chip {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px;
  border: 2px solid rgba(4, 32, 47, .55);
  border-radius: 11px;
  background: rgba(3, 26, 40, .35);
}
.path-chip b { color: var(--foam); font: 900 11px/1 var(--font); }
.path-chip small { color: rgba(233, 251, 247, .5); font: 700 8.5px/1.35 var(--font); }

@media (pointer: coarse), (max-width: 760px) {
  /* Clear of both thumbs: mass HUD bottom-left, dash button bottom-right. */
  .evolve { bottom: calc(186px + env(safe-area-inset-bottom)); gap: 7px; }
  .evolve-options { gap: 8px; }
  .evolve-option { width: 106px; padding: 10px 7px 9px; border-width: 2px; border-radius: 12px; }
  .evolve-option kbd { display: none; }
  .evolve-name { font-size: 12px; }
  .evolve-tag { font-size: 8.5px; }
  .evolve-sub { font-size: 8.5px; }
  .paths-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .evolve-head i { animation: none; }
  .evolve-option { transition: none; }
}
