@font-face {
  font-family: Fredoka;
  src: url("../assets/fonts/fredoka-medium.ttf");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Fredoka;
  src: url("../assets/fonts/fredoka-bold.ttf");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("../assets/fonts/nunito-regular.ttf");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url("../assets/fonts/nunito-bold.ttf");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --navy: #0b1b31;
  --panel: #10273ce8;
  --line: #d2ae6d60;
  --gold: #f3cc81;
  --aqua: #8ee3db;
  --text: #fff8e9;
  --muted: #bfced5;
  --shadow: 0 12px 40px #020b1c66;
  font-family: Nunito, sans-serif;
  background: var(--navy);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 280px;
  background: radial-gradient(ellipse at 50% 0, #214458, #0b1b31 65%);
  min-height: 100dvh;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.42;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b3ffed;
  outline-offset: 4px;
}
a {
  color: var(--aqua);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.brand {
  font-family: Fredoka, sans-serif;
  font-weight: 500;
}
h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
}
h2 {
  font-size: 1.7rem;
}
h3 {
  font-size: 1.25rem;
}
p {
  line-height: 1.65;
}
small,
.subtle {
  color: var(--muted);
  font-size: 0.88rem;
}
img {
  display: block;
  max-width: 100%;
}
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
button .icon {
  pointer-events: none;
}
.button {
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 13px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s;
}
.button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.primary {
  background: linear-gradient(#ffe0a2, #e8b65f);
  color: #2f261c;
  border-color: #ffe6b7;
  box-shadow:
    0 3px 0 #94703d,
    0 8px 20px #0003;
}
.secondary {
  background: #163349;
  border-color: #b6c6c553;
  color: #eff5ef;
}
.full {
  width: 100%;
}
.icon-button,
.mini-button {
  padding: 9px;
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  background: #11283ad9;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
}
.text-button {
  background: none;
  border: 0;
  padding: 10px;
  min-height: 44px;
  color: var(--muted);
  font-weight: 700;
}
.text-button:hover {
  color: var(--gold);
}
.glass {
  background: linear-gradient(135deg, #173347ed, #0b1d32ed);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}
.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 20px;
  background: #0005;
  border: 1px solid #e5cd8e24;
}
.progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #d3a95d, #ffe7a7);
  border-radius: 20px;
}
.page-width {
  width: min(1200px, calc(100% - 64px));
  margin: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 15px;
  background: var(--navy);
}
.skip-link:focus {
  top: 10px;
}
.boot {
  min-height: 90dvh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 20px;
}
.boot-star {
  font-size: 70px;
  color: var(--gold);
}
/* Painted world, actors and interface are independent layers. */
.main-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 34px;
  background: linear-gradient(#08172eef, #0e2436e8);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 4;
}
.brand {
  background: none;
  border: 0;
  text-align: left;
  line-height: 1.05;
  padding: 4px;
  white-space: nowrap;
}
.brand > span {
  display: block;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-size: 25px;
  text-shadow: 0 2px 6px #000;
}
.brand small {
  display: block;
  font-family: Nunito;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: 7px;
}
.main-header nav {
  display: flex;
  gap: 8px;
}
.nav-button {
  background: none;
  border-color: transparent;
  color: var(--muted);
  padding: 12px 17px;
}
.nav-button.active {
  color: var(--gold);
  background: #dfbd6c13;
  border-color: var(--line);
}
.header-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.profile-button {
  max-width: 190px;
  padding: 4px 10px 4px 3px;
  background: #142b3d;
  border-color: var(--line);
  gap: 7px;
}
.profile-button > span {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  background: #2f5262;
  border: 1px solid #d1b26b;
}
.home {
  position: relative;
  min-height: calc(100dvh - 88px);
  height: max(620px, calc(100dvh - 88px));
  isolation: isolate;
  overflow: hidden;
}
.world-art {
  position: absolute;
  inset: 0;
  background: url("../assets/images/world.webp") center/cover;
  z-index: -3;
}
.world-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #06152b33, transparent 45%),
    linear-gradient(0deg, #07172e, transparent 40%);
}
.map-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}
.map-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0.6;
  pointer-events: none;
}
.map-route path {
  fill: none;
  stroke: #f0dc9f;
  stroke-width: 1.4;
  stroke-dasharray: 5 5;
  filter: drop-shadow(0 0 3px #ffc);
}
.location-button {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 0;
  background: none;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  max-width: 180px;
  z-index: 2;
}
.location-mark {
  border: 2px solid #e4c185;
  background: linear-gradient(#3b746e, #183d46);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow:
    0 5px 14px #0009,
    0 0 0 5px #122d43a6;
  color: #f4df9b;
}
.location-mark .icon {
  width: 28px;
  height: 28px;
}
.current .location-mark {
  background: linear-gradient(#69ac94, #2f6c69);
  box-shadow:
    0 0 0 6px #e7cf783b,
    0 0 30px #f2db9699;
}
.location-label {
  background: #10263ce8;
  border: 1px solid var(--line);
  font: 500 15px/1.25 Fredoka;
  padding: 7px 12px;
  border-radius: 9px;
  box-shadow: 0 3px 8px #0004;
}
.location-button:hover .location-mark {
  box-shadow:
    0 0 0 5px #f8dd9366,
    0 0 24px #ffeaa9;
}
.location-button.locked .location-mark {
  background: linear-gradient(#385265, #1b3047);
  border-color: #8b9fa5;
  color: #bec8c5;
}
.locked .location-label {
  color: #d4ddd8;
}
.camp-progress {
  position: absolute;
  top: 28px;
  left: 34px;
  width: 280px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 18px;
}
.rank-icon {
  border: 1px solid var(--line);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.camp-progress strong {
  font-size: 15px;
}
.camp-progress .progress {
  margin: 9px 0 6px;
}
.camp-progress small {
  font-size: 12px;
}
.camp-progress > .button {
  grid-column: span 2;
  min-height: 44px;
  padding: 7px;
  font-size: 14px;
}
.home-crew {
  position: absolute;
  bottom: 80px;
  left: 4%;
  width: 32%;
  height: 60%;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.home-nova {
  height: 100%;
  width: 70%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 10px 16px #0008);
}
.home-bip {
  width: 30%;
  height: 40%;
  object-fit: contain;
  align-self: center;
  animation: bob 5s ease-in-out infinite;
}
.camp-lights {
  position: absolute;
  bottom: 19%;
  left: 3%;
  width: 29%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.camp-lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b0a881;
}
.camp-lights.lit i {
  background: #fff4bc;
  box-shadow: 0 0 14px 5px #ffd77d;
}
.next-mission {
  position: absolute;
  bottom: 65px;
  right: 34px;
  width: min(680px, 60%);
  padding: 23px;
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 15px;
}
.mission-emblem {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}
.next-mission h1 {
  font-size: 24px;
  margin-bottom: 7px;
}
.next-mission p {
  font-size: 14px;
  color: #d2dedf;
  max-width: 500px;
}
.next-mission > .button {
  grid-column: 2;
  justify-self: start;
  margin-top: 4px;
}
.home-footer {
  position: absolute;
  bottom: 8px;
  left: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #c3d1d4;
}
.home-footer .text-button {
  font-size: 12px;
  padding: 8px;
}
.home-footer > span {
  margin-left: auto;
}
.mobile-regions {
  display: none;
}
/* Atelier */
.training-page {
  padding-bottom: 55px;
}
.training-intro {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(90deg, #10273e, #10273e33 80%),
    url("../assets/images/training.webp") center/cover;
  border-radius: 0 0 22px 22px;
  padding: 35px 40px;
  margin-bottom: 26px;
  overflow: hidden;
}
.training-intro h1 {
  margin-bottom: 13px;
  color: var(--gold);
}
.training-intro p {
  margin-bottom: 20px;
}
.training-intro .button {
  margin: 5px 8px 5px 0;
}
.training-crew {
  width: 44%;
  height: 280px;
  display: flex;
  align-items: center;
  position: absolute;
  right: 10px;
  bottom: -15px;
  pointer-events: none;
}
.training-nova {
  width: 70%;
  height: 100%;
  object-fit: contain;
}
.training-bip {
  width: 30%;
  height: 45%;
  object-fit: contain;
  animation: bob 5s infinite;
}
.training-form {
  padding: 30px 34px;
  display: grid;
  gap: 26px;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  font: 500 21px Fredoka;
  margin-bottom: 14px;
  color: var(--gold);
}
.operation-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.option {
  display: block;
  position: relative;
  cursor: pointer;
}
.option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 10px;
  border: 1px solid #93bdba44;
  border-radius: 12px;
  background: #061a2e7a;
  min-height: 55px;
  font-weight: 700;
  transition: 0.15s;
}
.option b {
  font: 500 28px Fredoka;
  color: var(--aqua);
}
.option input:checked + span {
  background: #28545d;
  border-color: #ace7d0;
  color: #fff8e6;
  box-shadow: inset 0 0 0 1px #ace7d033;
}
.option input:focus-visible + span {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}
.table-options {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.table-option > span {
  padding: 12px 4px;
  font: 500 19px Fredoka;
}
.training-selects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
label select,
label input:not([type="checkbox"], [type="range"], [type="file"]) {
  width: 100%;
  display: block;
  margin-top: 8px;
  padding: 13px 12px;
  min-height: 48px;
  background: #10283b;
  border: 1px solid #b2c6be6b;
  border-radius: 10px;
  color: var(--text);
}
.training-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.count {
  background: #0004;
  padding: 1px 8px;
  border-radius: 20px;
}
.form-error {
  color: #ffcbad;
}
.form-error:empty {
  display: none;
}
/* All four guardian states use this same fixed box, never health-based scaling. */
.battle {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  padding-top: 1px;
  display: flex;
  flex-direction: column;
  background: #091b2d;
  overflow: hidden;
}
.arena-backdrop {
  position: absolute;
  inset: 0 0 28%;
  background: var(--scene) center/cover;
  z-index: -2;
}
.arena-backdrop:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #081c2e, transparent 45%),
    linear-gradient(#07182d77, transparent 35%);
}
.battle-header {
  height: 100px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 430px) 1fr;
  align-items: start;
  gap: 20px;
  position: relative;
  z-index: 3;
}
.battle-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 16px;
}
.battle-location {
  font-size: 13px;
  color: #e1e6d5;
  max-width: 140px;
  text-shadow: 0 1px 5px #000;
}
.enemy-heading {
  text-align: center;
  border: 1px solid #d3be7d88;
  padding: 11px 23px;
  background: #102a3ade;
  border-radius: 15px;
  box-shadow: var(--shadow);
}
.enemy-heading h1 {
  font-size: 24px;
  color: #fce0a6;
  margin-bottom: 6px;
}
.enemy-heading p {
  font-size: 14px;
}
.armour-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.armour {
  display: flex;
  gap: 4px;
  flex: 1;
}
.armour i {
  height: 10px;
  border-radius: 3px;
  flex: 1;
  background: #050e22;
  border: 1px solid #a6a89a55;
}
.armour i.filled {
  background: linear-gradient(#a4e8d3, #489c96);
  box-shadow: 0 0 5px #80d8bd55;
  border-color: #baecd5;
}
.battle-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.arena {
  height: clamp(270px, 48dvh, 570px);
  position: relative;
  width: min(1200px, 100%);
  margin: auto;
  flex: 1;
  min-height: 270px;
}
.actor {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.nova-actor {
  width: 30%;
  height: 94%;
  left: 7%;
  z-index: 1;
}
.nova-sprite {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 14px 10px #0007);
}
.guardian-actor {
  right: 1%;
  width: 54%;
  height: 110%;
  bottom: -3%;
  transform-origin: 50% 85%;
}
.guardian-sprite {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 15px 13px #001c2580);
}
.bip-actor {
  width: 26%;
  height: 55%;
  right: 14%;
  bottom: 14%;
  animation: bob 5s infinite;
}
.nova-shield {
  position: absolute;
  left: 20%;
  bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #0a253ad9;
  border: 1px solid #9fd9d580;
  border-radius: 20px;
  box-shadow: 0 0 18px #5ac9d032;
}
.nova-shield .icon {
  width: 19px;
  color: #a5edf0;
}
.nova-shield i {
  width: 19px;
  height: 8px;
  border-radius: 3px;
  background: #223c4d;
}
.nova-shield i.filled {
  background: #9ee3df;
  box-shadow: 0 0 7px #52aeb9;
}
.hit {
  animation: impact 0.45s ease-out;
}
.combat-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
  opacity: 0;
}
.combat-fx.attack,
.combat-fx.retaliation {
  opacity: 1;
}
.energy-beam {
  position: absolute;
  width: 46%;
  height: 10px;
  left: 27%;
  top: 50%;
  background: #d5fff7;
  border-radius: 50%;
  box-shadow:
    0 0 18px 8px #71fff2,
    0 0 55px #63cbd9;
  transform: rotate(-7deg) scaleX(0);
  transform-origin: left;
}
.attack .energy-beam {
  animation: beam 0.65s ease-out;
}
.retaliation .energy-beam {
  background: #ffdcba;
  box-shadow: 0 0 20px #ff926b;
  transform-origin: right;
  animation: beam 0.6s ease-out;
  top: 57%;
}
.impact-ring {
  position: absolute;
  top: 30%;
  right: 16%;
  width: 140px;
  height: 140px;
  border: 5px solid #cdfff7;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 25px #8ce7ce;
}
.attack .impact-ring {
  animation: ring 0.7s 0.1s ease-out;
}
.combat-fx i {
  position: absolute;
  top: 48%;
  right: 25%;
  width: 10px;
  height: 17px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 45%, 70% 100%, 0 75%);
  opacity: 0;
}
.attack i {
  animation: debris 0.75s 0.1s ease-out;
  --angle: calc(var(--i) * 51deg);
}
.combo {
  position: absolute;
  bottom: 10px;
  right: 5%;
  padding: 8px 16px;
  border-radius: 20px;
  background: #0d263be6;
  color: var(--gold);
  font: 500 19px Fredoka;
  border: 1px solid var(--line);
}
.command-panel {
  position: relative;
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto 24px;
  padding: 16px 32px 9px;
  text-align: center;
  border-radius: 20px;
  z-index: 3;
  background: linear-gradient(#183b4af5, #0e273df5);
  border-top: 2px solid #d1c18f88;
  box-shadow: 0 -8px 60px #071d2f88;
}
.command-panel h2 {
  font: 500 clamp(38px, 5vw, 64px) / 1.2 Fredoka;
  letter-spacing: 0.02em;
  color: #fff0c8;
  text-shadow: 0 3px 1px #0005;
}
.question-caption {
  color: #c3dcd9;
  margin: 1px 0 14px;
  font-size: 14px;
}
.answer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  width: min(800px, 100%);
  margin: auto;
}
.answer {
  font: 500 clamp(27px, 4vw, 40px) Fredoka;
  background: linear-gradient(#244d5f, #15374a);
  border: 1px solid #c6d1b79c;
  box-shadow: 0 5px 0 #071624;
  border-radius: 13px;
  padding: 13px;
  min-height: 65px;
  transition: 0.18s;
}
.answer:hover:not(:disabled) {
  background: linear-gradient(#4c7774, #32616a);
  border-color: #ffde95;
  transform: translateY(-2px);
}
.answer:active {
  transform: translateY(3px);
}
.command-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 44px;
  margin-top: 7px;
}
.hint-button {
  border: 0;
  background: none;
  min-height: 44px;
  padding: 7px;
  color: #edce94;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.correct-feedback {
  font: 500 25px Fredoka;
  min-height: 77px;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  color: #c0f9d4;
}
.correct-feedback span {
  color: var(--gold);
  font-size: 18px;
}
.correct-feedback .icon {
  width: 32px;
  height: 32px;
}
.correction p {
  margin: 14px auto;
  color: #fff1ce;
}
.learning-hint {
  margin: 10px auto 16px;
  max-width: 700px;
  padding: 15px 20px;
  border: 1px solid #74bfc05e;
  background: #081c2f8c;
  border-radius: 15px;
}
.learning-hint > p {
  font-size: 15px;
  margin-bottom: 10px;
}
.star-array {
  display: grid;
  gap: 5px;
  justify-content: center;
  margin: 12px auto;
}
.star-row {
  display: grid;
  grid-template-columns: repeat(var(--columns), 19px);
  gap: 7px;
  min-height: 44px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #142f4166;
  color: #7fa6b4;
}
.star-row .icon {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke-width: 1;
}
.star-row.revealed {
  color: #8be8e0;
  background: #3c7b7d33;
  border-color: #7ebdc055;
}
.star-row.gold.revealed {
  color: #ffe29b;
}
.group-count {
  color: var(--aqua);
  font-size: 13px !important;
}
.hint-equation {
  font: 500 25px Fredoka;
  color: #ffe6ae;
  display: block;
  margin-top: 8px;
}
.share-hint {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.share-hint > span {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.share-hint small {
  font-size: 11px;
}
.number-explanation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font: 500 30px Fredoka;
  padding: 15px;
}
.typed-answer {
  display: grid;
  grid-template-columns: 1fr 270px;
  align-items: center;
  gap: 30px;
  max-width: 620px;
  margin: auto;
}
.answer-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 80px;
  border: 2px solid #e3c586;
  border-radius: 14px;
  font: 500 44px Fredoka;
  background: #071f32;
  box-shadow: inset 0 3px 15px #0005;
}
.answer-entry:empty:after {
  content: "?";
  color: #668795;
}
.numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.key {
  background: #20485a;
  border: 1px solid #9fbfba77;
  border-radius: 9px;
  min-height: 44px;
  font: 500 23px Fredoka;
  padding: 5px;
}
.key:hover {
  background: #356671;
}
.key.confirm {
  background: #c8b078;
  color: #142c38;
  border-color: #ecd69e;
}
.key.erase {
  color: var(--aqua);
}
.battle-typed .arena {
  min-height: 230px;
  height: 36dvh;
}
.with-hint .arena {
  height: 240px;
  min-height: 240px;
  flex: none;
}
.with-hint .arena-backdrop {
  bottom: auto;
  height: 420px;
}
.workshop > p {
  margin-bottom: 14px;
}
.built-groups {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 14px auto;
  min-height: 50px;
  align-items: center;
}
.built-group {
  display: grid;
  grid-template-columns: repeat(5, 14px);
  gap: 4px;
  background: #123143;
  padding: 9px;
  border: 1px solid #7bc2ba66;
  border-radius: 9px;
}
.built-group .icon {
  width: 14px;
  height: 14px;
  color: #e8d899;
  fill: currentColor;
}
.work-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.work-controls output {
  min-width: 85px;
  color: var(--aqua);
}
.baskets {
  display: flex;
  gap: 9px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 12px 0 20px;
}
.basket {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 7px;
  background: #0c2639;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.basket > span {
  color: var(--gold);
}
.basket output {
  font: 500 29px Fredoka;
}
.basket small {
  font-size: 11px;
}
.basket > div {
  display: flex;
  gap: 3px;
}
.mini-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 10px;
}
.mini-button .icon {
  width: 18px;
}
.reserve {
  color: var(--gold);
}
/* Collectibles: separate painting, frame, light and HTML captions. */
.album-page {
  padding-top: 28px;
  padding-bottom: 30px;
}
.album-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.album-title h1 {
  color: var(--gold);
}
.album-title p {
  font: 500 22px Fredoka;
}
.album-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 35px;
}
.album-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.filter {
  background: #123043;
  border-color: #a7c3b83b;
  padding: 9px 15px;
  min-height: 45px;
  font-size: 14px;
}
.filter.active {
  background: #3a5961;
  color: #ffe4aa;
  border-color: #d6bd7e;
}
.filter .icon {
  width: 19px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card-button {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 16px;
  min-width: 0;
  transition: transform 0.2s;
}
.card-button:hover {
  transform: translateY(-5px) rotate(-1deg);
}
.collectible {
  position: relative;
  display: block;
  aspect-ratio: 2/3;
  isolation: isolate;
  border: 5px solid #a88c58;
  border-radius: 15px;
  overflow: hidden;
  background: #102c40;
  box-shadow:
    0 6px 15px #0006,
    inset 0 0 0 2px #ffecb2;
}
.collectible:after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #fae2a09c;
  border-radius: 8px;
  pointer-events: none;
  z-index: 3;
}
.collectible > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collectible strong {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 28px 9px 16px;
  background: linear-gradient(transparent, #06172ef5 45%);
  font: 500 18px Fredoka;
  color: #ffe4a5;
  z-index: 2;
}
.foil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 25%,
    #ffffff24 40%,
    transparent 60%
  );
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
}
.tier-0 {
  border-color: #456276;
  filter: saturate(0.7);
}
.tier-2 {
  border-color: #9bdcce;
  box-shadow:
    0 0 18px #87f5df38,
    0 6px 15px #0006;
}
.tier-3 {
  border-color: #ffe4a0;
  box-shadow:
    0 0 22px #ffdb8b66,
    0 6px 15px #0006;
}
.tier-3 .foil {
  background: linear-gradient(
    120deg,
    transparent 20%,
    #b1f1e44d 35%,
    #e4bbff4d 45%,
    #fffab54d 55%,
    transparent 70%
  );
  background-size: 200% 200%;
  animation: foil 7s infinite;
}
.card-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #e4d39a;
}
.card-lock .icon {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 3px 5px #000);
}
.card-button.selected .collectible {
  outline: 2px solid #ffeab7;
  outline-offset: 4px;
}
.album-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: 22px auto;
}
.album-detail {
  padding: 22px;
  align-self: start;
  position: sticky;
  top: 20px;
}
.card-detail .collectible {
  width: 190px;
  margin: 0 auto 19px;
}
.card-detail h2 {
  font-size: 26px;
  text-align: center;
  color: var(--gold);
  margin-bottom: 8px;
}
.card-tier {
  display: block;
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.13em;
  color: #acddd5;
  margin-bottom: 16px;
}
.card-detail p {
  font-size: 14px;
  margin: 12px 0;
}
.card-detail .progress {
  margin: 10px 0;
}
.card-detail small {
  display: block;
  line-height: 1.5;
  font-size: 12px;
}
.card-detail > .button {
  margin-top: 18px;
}
dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 30px;
  color: var(--text);
  background: linear-gradient(145deg, #1c3b4f, #0b2037);
  border: 1px solid #d9bd7b9c;
  border-radius: 22px;
  box-shadow: 0 25px 100px #0009;
  overflow: auto;
}
dialog::backdrop {
  background: #041125b8;
  backdrop-filter: blur(7px);
}
.dialog-close {
  position: sticky;
  float: right;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  margin: -15px -15px 0 8px;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #132d42;
  z-index: 5;
}
.dialog-close:hover {
  background: #355460;
}
#dialog-content > h2 {
  color: var(--gold);
  margin: 8px 25px 18px 0;
}
#dialog-content > p {
  margin: 14px 0;
}
#dialog-content > small {
  display: block;
  margin: 12px 0;
}
.dialog-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 5px;
}
.region-banner {
  min-height: 175px;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding: 25px 20px;
  gap: 12px;
  box-shadow: inset 0 -100px 60px -40px #0b2037;
  margin-bottom: 16px;
  text-align: center;
}
.region-banner > span {
  color: var(--gold);
  filter: drop-shadow(0 2px 4px #000);
}
.region-banner h2 {
  text-shadow: 0 2px 5px #000;
}
.mission-list {
  display: grid;
  gap: 9px;
}
.mission-row {
  background: #0c283c;
  border: 1px solid #6f959e66;
  min-height: 75px;
  padding: 12px;
  text-align: left;
  justify-content: flex-start;
  gap: 14px;
}
.mission-row > span:nth-child(2) {
  display: grid;
  gap: 5px;
  flex: 1;
}
.mission-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.mission-row small {
  font-size: 11px;
}
.story-portrait {
  height: 220px;
  display: flex;
  justify-content: center;
}
.story-portrait img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.story-text {
  font-size: 18px;
  line-height: 1.7;
}
.tutorial-art {
  display: flex;
  height: 220px;
  justify-content: center;
}
.tutorial-art img {
  height: 100%;
  object-fit: contain;
  width: 50%;
}
.tutorial-art img:last-child {
  height: 50%;
  align-self: center;
  width: 25%;
}
.tutorial-equation {
  display: block;
  font: 500 46px Fredoka;
  text-align: center;
  margin: 28px;
  color: var(--gold);
}
.profile-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.profile-row {
  justify-content: flex-start;
  gap: 14px;
  background: #163347;
  border-color: #b8bf9d55;
}
.profile-row > span {
  flex: 1;
  display: grid;
  gap: 3px;
  text-align: left;
}
.profile-row .avatar {
  width: 46px;
  height: 46px;
}
.profile-row small {
  font-size: 12px;
}
#profile-form,
#rename-form {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  margin: 25px 0;
}
#profile-form label,
#rename-form label {
  flex: 1;
  min-width: 0;
}
.settings-list {
  display: grid;
  gap: 20px;
  margin: 25px 0;
}
.settings-list label {
  display: block;
}
.settings-list output {
  float: right;
  color: var(--gold);
}
input[type="range"] {
  width: 100%;
  display: block;
  margin-top: 12px;
  min-height: 44px;
  accent-color: #e5c279;
}
input[type="checkbox"] {
  accent-color: #a8d8c7;
  width: 20px;
  height: 20px;
}
.settings-list label.switch {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.camp-overview {
  position: relative;
  display: flex;
  height: 210px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  background: radial-gradient(ellipse, #55747933, transparent 65%);
}
.camp-overview img:first-child {
  width: 65%;
  height: 100%;
  object-fit: contain;
}
.camp-overview img:last-child {
  width: 20%;
  height: 45%;
  object-fit: contain;
}
.camp-upgrades {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}
.camp-upgrade {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #6484944d;
  border-radius: 12px;
  color: #b6c7cc;
  background: #10283a;
}
.camp-upgrade.unlocked {
  border-color: #d0b97a8c;
  background: #314b4f;
  color: #fff0cb;
}
.camp-upgrade > span {
  flex: 1;
  display: grid;
  gap: 5px;
}
.camp-upgrade strong {
  font-size: 14px;
}
.camp-upgrade small {
  font-size: 12px;
  line-height: 1.4;
}
.camp-upgrade > b {
  font-size: 11px;
  white-space: nowrap;
}
.camp-upgrade > .icon {
  width: 19px;
}
.outfit-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.memory-scene {
  margin: 25px 0;
}
.memory-scene img {
  border-radius: 14px;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.memory-scene h3 {
  color: var(--gold);
  margin: 15px 0 8px;
}
.mastery-scroll {
  overflow-x: auto;
  margin: 20px -10px;
  padding: 0 10px;
}
.mastery-table {
  border-collapse: separate;
  border-spacing: 4px;
  min-width: 460px;
  width: 100%;
  font-size: 12px;
  text-align: center;
}
.mastery-table caption {
  text-align: left;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.mastery-table td {
  height: 28px;
  border-radius: 4px;
  background: #183346;
}
.mastery-table th {
  font-size: 11px;
  padding: 5px;
}
.mastery-table .mastered {
  background: #406b5d;
  color: #ddffe6;
}
.mastery-table .review {
  background: #795636;
  color: #ffe5a8;
}
.mastery-table .learning {
  background: #2d5473;
  color: #d2f5ff;
}
.mastery-legend {
  font-size: 12px;
  margin-bottom: 25px !important;
}
.history > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid #54778a55;
  font-size: 12px;
}
.history > div strong {
  white-space: nowrap;
  color: var(--gold);
}
.victory-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3%;
  padding: 40px;
  background:
    linear-gradient(#07172c66, #07172cee),
    var(--scene) center/cover;
}
.victory-art {
  width: 40%;
  max-width: 600px;
  filter: drop-shadow(0 0 40px #c5eaaa55);
  animation: bob 6s infinite;
}
.victory-panel {
  max-width: 580px;
  padding: 30px;
  text-align: center;
}
.victory-panel h1 {
  color: var(--gold);
  margin: 12px 0 16px;
}
.victory-panel p {
  font-size: 15px;
}
.victory-star {
  display: block;
  color: #ffe5a3;
}
.victory-star .icon {
  width: 44px;
  height: 44px;
  fill: #f4d49433;
}
.result-stats {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin: 22px 0;
}
.result-stats > div {
  display: grid;
  gap: 5px;
}
.result-stats strong {
  font: 500 30px Fredoka;
  color: var(--gold);
}
.result-stats span {
  font-size: 13px;
  color: var(--muted);
}
.reward-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.reward-card {
  width: 72px;
  height: 108px;
  border: 2px solid #dfbf79;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 5px 20px #0004;
  transform: rotate(-4deg);
}
.reward-card:nth-child(2) {
  transform: rotate(4deg);
}
.reward-cards p {
  width: 100%;
  font-size: 12px;
  margin: 8px 0;
}
.loading-orbit {
  width: 60px;
  height: 60px;
  border: 2px solid #779c9f44;
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 30px auto;
  animation: spin 1s linear infinite;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 25px);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  border: 1px solid #cbb579;
  background: #132e44f5;
  color: #fff1cc;
  z-index: 100;
  border-radius: 14px;
  box-shadow: 0 10px 30px #0006;
  pointer-events: none;
  opacity: 0;
  transition: 0.25s;
  font-size: 14px;
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#storage-warning {
  padding: 9px 18px;
  background: #6d4925;
  color: #fff3d7;
  text-align: center;
  font-size: 12px;
}
.active.secondary {
  border-color: var(--gold);
  color: var(--gold);
}
body[data-outfit="solar"] .camp-overview img:first-child {
  filter: hue-rotate(320deg);
}
body[data-outfit="stellar"] .camp-overview img:first-child {
  filter: hue-rotate(50deg);
}
body[data-equipped]:not([data-equipped=""]) .energy-beam {
  box-shadow:
    0 0 18px 8px #ffe1a7,
    0 0 55px #e8b867;
}
@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes impact {
  20% {
    transform: translateX(9px) rotate(1.5deg);
    filter: brightness(1.6);
  }
  65% {
    transform: translateX(-4px);
  }
  100% {
    transform: none;
  }
}
@keyframes beam {
  0% {
    transform: rotate(-7deg) scaleX(0);
    opacity: 0;
  }
  20% {
    transform: rotate(-7deg) scaleX(1);
    opacity: 1;
  }
  80%,
  100% {
    transform: rotate(-7deg) scaleX(1);
    opacity: 0;
  }
}
@keyframes ring {
  0% {
    transform: scale(0.3);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
@keyframes debris {
  0% {
    opacity: 1;
    transform: rotate(var(--angle)) translateX(0);
  }
  100% {
    opacity: 0;
    transform: rotate(var(--angle)) translateX(130px) rotate(130deg);
  }
}
@keyframes foil {
  50% {
    background-position: 100% 100%;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1700px) {
  .home-crew {
    left: 9%;
    width: 30%;
  }
  .camp-progress {
    left: 5%;
    top: 5%;
  }
  .next-mission {
    right: 5%;
    bottom: 10%;
    width: 650px;
  }
  .main-header {
    padding-inline: 5%;
  }
  .map-canvas {
    width: 90%;
    left: 5%;
  }
  .location-label {
    font-size: 18px;
  }
  .location-mark {
    width: 70px;
    height: 70px;
  }
  .arena {
    max-width: 1500px;
  }
  .command-panel {
    max-width: 1200px;
    margin-bottom: 35px;
    padding-top: 22px;
    padding-bottom: 15px;
  }
  .battle-header {
    padding-inline: 4%;
  }
}
@media (max-width: 1100px) {
  .main-header {
    padding-inline: 20px;
    gap: 10px;
  }
  .brand > span {
    font-size: 21px;
  }
  .main-header nav {
    gap: 4px;
  }
  .nav-button {
    padding-inline: 10px;
    font-size: 13px;
  }
  .header-actions {
    gap: 6px;
  }
  .profile-button > span {
    max-width: 70px;
  }
  .camp-progress {
    left: 20px;
    width: 240px;
  }
  .home-crew {
    left: 0;
    width: 36%;
    height: 51%;
  }
  .next-mission {
    right: 20px;
    width: 62%;
    padding: 18px;
  }
  .location-label {
    font-size: 12px;
  }
  .location-mark {
    width: 48px;
    height: 48px;
  }
  .location-button {
    max-width: 150px;
  }
  .page-width {
    width: calc(100% - 40px);
  }
  .album-layout {
    gap: 25px;
    grid-template-columns: 1fr 265px;
  }
  .album-detail {
    padding: 17px;
  }
  .card-grid {
    gap: 14px;
  }
  .filter {
    padding: 9px 11px;
    font-size: 12px;
  }
  .table-options {
    grid-template-columns: repeat(6, 1fr);
  }
  .battle-location {
    display: none;
  }
  .command-panel {
    width: calc(100% - 40px);
  }
  .battle-header {
    padding: 16px 20px;
  }
  .guardian-actor {
    right: -1%;
    width: 58%;
  }
  .nova-actor {
    left: 3%;
    width: 32%;
  }
  .training-intro {
    padding: 28px;
  }
  .training-intro > div:first-child {
    position: relative;
    z-index: 2;
  }
}
@media (max-width: 900px) {
  .brand > span {
    font-size: 20px;
  }
  .brand small {
    font-size: 10px;
  }
  .main-header {
    height: 80px;
  }
  .main-header nav .nav-button {
    padding: 11px;
  }
  .main-header nav .nav-button > span {
    display: none;
  }
  .header-actions .profile-button > span {
    display: none;
  }
  .header-actions .profile-button {
    padding: 3px;
  }
  .header-actions .profile-button > .icon {
    display: none;
  }
  .home {
    min-height: 720px;
    height: calc(100dvh - 80px);
  }
  .camp-progress {
    width: 220px;
    top: 20px;
  }
  .camp-progress strong {
    font-size: 13px;
  }
  .next-mission {
    width: 61%;
    bottom: 70px;
  }
  .next-mission h1 {
    font-size: 21px;
  }
  .home-crew {
    bottom: 90px;
    height: 48%;
  }
  .album-layout {
    grid-template-columns: 1fr;
  }
  .album-detail {
    display: none;
  }
  .album-page {
    max-width: 750px;
  }
  .card-grid {
    gap: 23px;
  }
  .album-filters {
    justify-content: center;
  }
  .filter {
    padding: 12px 19px;
    font-size: 14px;
  }
  .album-title {
    margin-bottom: 20px;
  }
  .card-detail .collectible {
    width: 210px;
  }
  .battle-header {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .battle-header > div:first-child .button {
    font-size: 0;
    padding: 10px;
  }
  .battle-header > div:first-child .icon {
    width: 24px;
  }
  .enemy-heading {
    padding: 10px 16px;
  }
  .enemy-heading h1 {
    font-size: 22px;
  }
  .battle-actions {
    gap: 6px;
  }
  .arena {
    height: 43dvh;
    min-height: 280px;
  }
  .nova-actor {
    width: 35%;
    left: 0;
  }
  .guardian-actor {
    right: -5%;
    width: 65%;
    height: 110%;
  }
  .command-panel {
    padding: 18px 22px 8px;
  }
  .operation-options {
    grid-template-columns: repeat(2, 1fr);
  }
  .training-intro {
    min-height: 285px;
  }
  .training-crew {
    right: -45px;
    width: 45%;
    opacity: 0.9;
  }
  .training-form {
    padding: 25px;
  }
  .training-selects {
    gap: 12px;
  }
  .training-selects label {
    font-size: 13px;
  }
  .victory-page {
    flex-direction: column;
    padding: 25px;
  }
  .victory-art {
    height: 270px;
    width: 100%;
    max-width: 400px;
  }
  .victory-art img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .victory-panel {
    padding: 25px;
  }
  .victory-panel h1 {
    font-size: 30px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 28px;
  }
  .main-header {
    height: 116px;
    padding: 12px 16px 54px;
    gap: 8px;
  }
  .brand > span {
    font-size: 19px;
  }
  .brand small {
    font-size: 9px;
    margin-top: 5px;
    letter-spacing: 0.03em;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .icon-button {
    width: 38px;
    min-width: 38px;
    height: 44px;
    border: 0;
    background: none;
    padding: 9px;
  }
  .header-actions .profile-button > span {
    display: none;
  }
  .header-actions .profile-button {
    min-height: 44px;
  }
  .header-actions .avatar {
    width: 32px;
    height: 32px;
  }
  .header-actions .profile-button + .icon-button {
    display: none;
  }
  .main-header nav {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    justify-content: center;
    gap: 6px;
  }
  .main-header nav .nav-button {
    flex: 1;
    padding: 9px 7px;
    min-height: 44px;
    font-size: 12px;
    gap: 6px;
  }
  .main-header nav .nav-button > span {
    display: inline;
  }
  .main-header nav .icon {
    width: 18px;
    height: 18px;
  }
  .home {
    height: auto;
    min-height: calc(100dvh - 116px);
    padding: 345px 16px 20px;
    overflow: clip;
    display: flex;
    flex-direction: column;
  }
  .world-art {
    bottom: auto;
    height: 460px;
    background-position: 42% center;
  }
  .world-art:after {
    background: linear-gradient(0deg, #0b1b31, transparent 55%);
  }
  .map-canvas {
    display: none;
  }
  .camp-progress {
    top: 15px;
    left: 16px;
    width: 215px;
    padding: 12px;
    gap: 8px;
    border-radius: 13px;
    grid-template-columns: 35px 1fr;
  }
  .camp-progress .rank-icon {
    width: 32px;
    height: 32px;
  }
  .camp-progress .rank-icon .icon {
    width: 20px;
  }
  .camp-progress strong {
    font-size: 12px;
  }
  .camp-progress .progress {
    margin: 5px 0;
  }
  .camp-progress small {
    font-size: 10px;
  }
  .camp-progress > .button {
    font-size: 12px;
    min-height: 44px;
  }
  .home-crew {
    top: 80px;
    bottom: auto;
    left: auto;
    right: 0;
    width: 65%;
    height: 275px;
  }
  .home-nova {
    width: 80%;
    height: 100%;
  }
  .home-bip {
    position: absolute;
    width: 30%;
    right: 0;
    top: 70px;
  }
  .camp-lights {
    top: 296px;
    bottom: auto;
    left: 6%;
    width: 34%;
  }
  .next-mission {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    padding: 18px;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
    gap: 9px;
    order: 0;
  }
  .mission-emblem {
    display: none;
  }
  .next-mission h1 {
    font-size: 23px;
  }
  .next-mission p {
    font-size: 13px;
  }
  .next-mission > .button {
    grid-column: 1;
    width: 100%;
    font-size: 14px;
  }
  .mobile-regions {
    display: grid;
    gap: 9px;
    margin-bottom: 22px;
    order: 1;
  }
  .region-row {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    background: #123044e8;
    padding: 11px 13px;
    min-height: 59px;
    border-color: #7e96904d;
    gap: 13px;
  }
  .region-row > span {
    display: grid;
    place-items: center;
    width: 31px;
    color: var(--gold);
  }
  .region-row strong {
    flex: 1;
    font: 500 17px Fredoka;
    text-align: left;
  }
  .region-row > .icon {
    width: 19px;
    color: #9bbbbd;
  }
  .home-footer {
    order: 2;
    position: relative;
    inset: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    font-size: 10px;
  }
  .home-footer > span {
    margin: 0;
    width: 100%;
    text-align: center;
    font-size: 10px;
  }
  .home-footer .text-button {
    font-size: 11px;
  }
  .page-width {
    width: calc(100% - 28px);
  }
  .training-intro {
    min-height: 285px;
    padding: 24px 18px 20px;
    align-items: flex-start;
    margin-bottom: 18px;
    background-position: 60% center;
  }
  .training-intro h1 {
    font-size: 28px;
    max-width: 210px;
  }
  .training-intro p {
    font-size: 14px;
    max-width: 200px;
  }
  .training-intro .button {
    font-size: 12px;
    max-width: 225px;
    padding: 10px 12px;
    margin-top: 8px;
  }
  .training-crew {
    height: 230px;
    width: 53%;
    right: -22px;
    bottom: 0;
  }
  .training-nova {
    width: 100%;
    object-position: bottom;
  }
  .training-bip {
    position: absolute;
    width: 40%;
    height: 30%;
    right: 3px;
    top: 15px;
  }
  .training-form {
    padding: 20px 15px;
    gap: 24px;
    border-radius: 15px;
  }
  .training-form legend {
    font-size: 20px;
  }
  .operation-options {
    gap: 8px;
  }
  .option > span {
    font-size: 12px;
    padding: 12px 7px;
    gap: 6px;
    min-height: 54px;
  }
  .option b {
    font-size: 23px;
  }
  .table-options {
    gap: 7px;
    grid-template-columns: repeat(4, 1fr);
  }
  .table-option > span {
    font-size: 20px;
  }
  .training-selects {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .training-selects label {
    font-size: 14px;
  }
  .training-actions {
    display: grid;
    gap: 14px;
  }
  .training-actions .button {
    width: 100%;
    font-size: 14px;
  }
  .training-form > .subtle {
    font-size: 12px;
  }
  .battle-header {
    height: 83px;
    padding: 12px 10px;
    gap: 7px;
    align-items: start;
    grid-template-columns: 44px 1fr 44px;
  }
  .battle-header > div:first-child .button {
    height: 44px;
    min-height: 44px;
    width: 44px;
    padding: 9px;
  }
  .battle-actions > .icon-button:first-child {
    display: none;
  }
  .battle-actions > .icon-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  .enemy-heading {
    padding: 9px 10px;
    border-radius: 12px;
    min-height: 60px;
  }
  .enemy-heading h1 {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .armour-line {
    gap: 5px;
  }
  .armour-line > span {
    display: none;
  }
  .armour {
    gap: 3px;
  }
  .armour i {
    height: 7px;
  }
  .armour-line small {
    font-size: 10px;
  }
  .enemy-heading p {
    font-size: 12px;
    line-height: 1.2;
  }
  .arena {
    height: clamp(220px, 34dvh, 330px);
    min-height: 220px;
    flex: none;
    margin: 0 auto;
  }
  .nova-actor {
    width: 40%;
    left: -3%;
    height: 85%;
    bottom: 2%;
  }
  .guardian-actor {
    width: 77%;
    right: -14%;
    height: 110%;
    bottom: -1%;
  }
  .bip-actor {
    width: 35%;
    right: 8%;
    height: 60%;
    bottom: 15%;
  }
  .nova-shield {
    left: 26%;
    bottom: -5px;
    padding: 5px;
    gap: 4px;
  }
  .nova-shield .icon {
    width: 15px;
    height: 15px;
  }
  .nova-shield i {
    width: 12px;
    height: 6px;
  }
  .command-panel {
    width: calc(100% - 20px);
    padding: 18px 14px 5px;
    margin: 0 auto 10px;
    border-radius: 18px;
    flex: 1;
  }
  .command-panel h2 {
    font-size: 43px;
  }
  .question-caption {
    font-size: 12px;
    margin: 4px 0 17px;
  }
  .answer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .answer {
    font-size: 34px;
    min-height: 67px;
    padding: 13px;
  }
  .command-footer {
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
  }
  .command-footer .hint-button,
  .command-footer .text-button {
    font-size: 12px;
  }
  .arena-backdrop {
    bottom: auto;
    height: 420px;
  }
  .combo {
    font-size: 13px;
    padding: 5px 9px;
    bottom: 8px;
    right: 5px;
  }
  .combo .icon {
    width: 17px;
  }
  .combat-fx .energy-beam {
    height: 5px;
    left: 26%;
    width: 45%;
    top: 54%;
  }
  .impact-ring {
    width: 80px;
    height: 80px;
    right: 16%;
    top: 32%;
  }
  .typed-answer {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 350px;
  }
  .answer-entry {
    height: 54px;
    font-size: 34px;
  }
  .numpad {
    gap: 7px;
    grid-template-columns: repeat(3, 1fr);
  }
  .key {
    min-height: 45px;
    font-size: 24px;
  }
  .battle-typed .arena {
    height: 25dvh;
    min-height: 180px;
    max-height: 240px;
  }
  .battle-typed .command-panel h2 {
    font-size: 38px;
  }
  .battle-typed .question-caption {
    margin-bottom: 10px;
  }
  .battle-typed .command-footer {
    margin-top: 7px;
  }
  .with-hint .arena {
    height: 180px;
    min-height: 180px;
  }
  .learning-hint {
    padding: 14px 8px;
  }
  .star-row {
    grid-template-columns: repeat(var(--columns), 15px);
    gap: 5px;
    padding: 6px;
    min-height: 44px;
  }
  .star-row .icon {
    width: 15px;
    height: 15px;
  }
  .hint-equation {
    font-size: 21px;
  }
  .learning-hint > p {
    font-size: 13px;
  }
  .correct-feedback {
    font-size: 21px;
    min-height: 145px;
    flex-wrap: wrap;
    gap: 8px;
    align-content: center;
  }
  .correct-feedback span {
    width: 100%;
  }
  .correction p {
    font-size: 14px;
  }
  .correction .button {
    font-size: 13px;
    padding: 11px;
  }
  .work-controls {
    gap: 8px;
  }
  .work-controls .button {
    font-size: 12px;
    padding: 10px;
  }
  .work-controls .primary {
    width: 100%;
  }
  .built-group {
    grid-template-columns: repeat(5, 12px);
    padding: 7px;
    gap: 2px;
  }
  .built-group .icon {
    width: 12px;
    height: 12px;
  }
  .workshop > p {
    font-size: 14px;
  }
  .baskets {
    gap: 6px;
  }
  .basket {
    padding: 9px 5px;
  }
  .basket .mini-button {
    width: 44px;
  }
  .battle.practice:has(.workshop) .arena {
    height: 180px;
    min-height: 180px;
  }
  .album-page {
    padding-top: 24px;
  }
  .album-title h1 {
    font-size: 28px;
  }
  .album-title p {
    font-size: 18px;
  }
  .album-filters {
    gap: 6px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
  }
  .filter {
    padding: 10px;
    font-size: 13px;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 13px;
  }
  .collectible {
    border-width: 4px;
    border-radius: 12px;
  }
  .collectible strong {
    font-size: 15px;
    padding: 28px 5px 15px;
  }
  .album-pagination {
    margin: 22px auto 5px;
  }
  .album-title {
    margin-bottom: 18px;
  }
  .card-detail .collectible {
    width: 190px;
  }
  dialog {
    width: calc(100% - 20px);
    padding: 22px 18px;
    border-radius: 18px;
    max-height: calc(100dvh - 20px);
  }
  .dialog-close {
    margin: -12px -8px 0 0;
  }
  #dialog-content > h2 {
    font-size: 25px;
    margin-bottom: 16px;
  }
  #dialog-content > p {
    font-size: 14px;
  }
  .region-banner {
    min-height: 155px;
    padding: 20px 12px;
  }
  .region-banner h2 {
    font-size: 24px;
  }
  .mission-row {
    gap: 9px;
    padding: 10px;
    min-height: 75px;
  }
  .mission-number {
    width: 32px;
    height: 32px;
  }
  .mission-number .icon {
    width: 18px;
  }
  .mission-row strong {
    font-size: 13px;
  }
  .mission-row small {
    font-size: 10px;
  }
  .mission-row > .icon {
    width: 16px;
  }
  .dialog-actions {
    gap: 12px;
  }
  .dialog-actions .button {
    font-size: 13px;
    flex: 1;
    min-width: 130px;
  }
  .story-portrait {
    height: 190px;
  }
  .story-text {
    font-size: 16px !important;
  }
  .tutorial-art {
    height: 180px;
  }
  .tutorial-equation {
    font-size: 39px;
  }
  .camp-overview {
    height: 170px;
  }
  .camp-upgrade {
    padding: 10px;
    gap: 8px;
  }
  .camp-upgrade small {
    font-size: 11px;
  }
  .camp-upgrade strong {
    font-size: 13px;
  }
  #profile-form,
  #rename-form {
    display: block;
  }
  #profile-form .button,
  #rename-form .button {
    width: 100%;
    margin-top: 12px;
  }
  .history > div {
    flex-direction: column;
    gap: 4px;
  }
  .victory-page {
    padding: 15px 10px;
    gap: 8px;
  }
  .victory-art {
    height: 230px;
  }
  .victory-panel {
    padding: 23px 18px;
    border-radius: 18px;
    width: 100%;
  }
  .victory-panel h1 {
    font-size: 29px;
  }
  .victory-panel p {
    font-size: 14px;
  }
  .result-stats {
    gap: 25px;
  }
  .result-stats strong {
    font-size: 27px;
  }
  .result-stats span {
    font-size: 11px;
  }
  .victory-star .icon {
    width: 30px;
    height: 30px;
  }
  .number-explanation {
    gap: 9px;
    font-size: 25px;
  }
  .share-hint > span {
    padding: 5px;
  }
  .share-hint small {
    font-size: 9px;
  }
}
@media (max-width: 350px) {
  .main-header {
    padding-inline: 10px;
  }
  .brand > span {
    font-size: 17px;
  }
  .brand small {
    font-size: 8px;
  }
  .header-actions .icon-button {
    width: 33px;
    min-width: 33px;
  }
  .main-header nav {
    left: 8px;
    right: 8px;
    gap: 3px;
  }
  .main-header nav .nav-button {
    font-size: 11px;
    gap: 4px;
    padding-inline: 4px;
  }
  .main-header nav .icon {
    width: 16px;
  }
  .camp-progress {
    width: 195px;
  }
  .next-mission h1 {
    font-size: 21px;
  }
  .enemy-heading h1 {
    font-size: 16px;
  }
  .command-panel h2 {
    font-size: 38px;
  }
  .guardian-actor {
    right: -13%;
    width: 78%;
  }
  .card-grid {
    gap: 12px;
  }
  .collectible strong {
    font-size: 13px;
  }
  .training-intro h1 {
    font-size: 26px;
  }
  .training-intro p {
    font-size: 12px;
  }
  .training-crew {
    right: -30px;
  }
  .training-intro .button {
    font-size: 11px;
    max-width: 200px;
  }
  .camp-upgrade > b {
    font-size: 10px;
  }
}
@media (max-height: 600px) and (min-width: 600px) and (orientation: landscape) {
  .main-header {
    height: 65px;
  }
  .home {
    min-height: 510px;
  }
  .battle {
    display: grid;
    grid-template-columns: 53% 47%;
    grid-template-rows: 74px 1fr;
    min-height: 100dvh;
  }
  .battle-header {
    grid-column: 1/-1;
    height: 74px;
    padding: 8px 16px;
    grid-template-columns: 1fr 300px 1fr;
  }
  .enemy-heading {
    padding: 8px 15px;
  }
  .enemy-heading h1 {
    font-size: 19px;
  }
  .arena,
  .battle-typed .arena,
  .with-hint .arena {
    width: 100%;
    height: calc(100dvh - 95px);
    min-height: 220px;
    grid-column: 1;
    margin: 0;
  }
  .guardian-actor {
    width: 78%;
    right: -15%;
    height: 100%;
  }
  .nova-actor {
    width: 42%;
    left: -2%;
  }
  .command-panel {
    grid-column: 2;
    grid-row: 2;
    width: calc(100% - 20px);
    margin: 4px 15px 10px 5px;
    padding: 10px 15px;
    align-self: start;
  }
  .command-panel h2 {
    font-size: 36px;
  }
  .question-caption {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .answer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .answer {
    min-height: 51px;
    font-size: 29px;
    padding: 5px;
  }
  .command-footer {
    margin-top: 7px;
    font-size: 12px;
    gap: 4px;
  }
  .typed-answer {
    grid-template-columns: 1fr 155px;
    gap: 12px;
  }
  .answer-entry {
    height: 60px;
    font-size: 30px;
  }
  .numpad {
    gap: 5px;
  }
  .key {
    min-height: 44px;
    padding: 4px;
  }
  .arena-backdrop {
    inset: 0;
    background-position: 35% center;
  }
  .with-hint .command-panel {
    margin-bottom: 15px;
  }
  .with-hint .arena {
    position: sticky;
    top: 0;
  }
  .correct-feedback {
    font-size: 21px;
    min-height: 120px;
  }
  .bip-actor {
    right: 5%;
    width: 35%;
  }
  .battle-header .battle-location {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.reduced-motion *,
.reduced-motion *:before,
.reduced-motion *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
.reduced-motion .attack .impact-ring {
  opacity: 1;
  transform: scale(0.8);
}
/* Shared actor anchoring, including Nova's three square battle poses. */
.nova-actor {
  width: 42%;
  height: 100%;
  left: 0;
  bottom: -5%;
}
.guardian-actor {
  bottom: -17%;
}
.guardian-actor:before {
  content: "";
  position: absolute;
  bottom: 15%;
  left: 23%;
  width: 54%;
  height: 6%;
  background: radial-gradient(ellipse, #06233170, transparent 70%);
  filter: blur(5px);
}
.retaliation ~ .nova-shield {
  box-shadow: 0 0 25px #ffb776;
}
.nova-actor:has(+ .retaliation) {
  filter: brightness(1.2);
}
@media (max-width: 900px) {
  .nova-actor {
    width: 43%;
    left: -3%;
    bottom: -5%;
  }
}
@media (max-width: 600px) {
  .nova-actor {
    width: 54%;
    left: -10%;
    height: 100%;
    bottom: -6%;
  }
  .guardian-actor {
    bottom: -13%;
  }
}
@media (max-height: 600px) and (min-width: 600px) and (orientation: landscape) {
  .nova-actor {
    width: 55%;
    left: -8%;
    bottom: -5%;
  }
  .guardian-actor {
    bottom: -10%;
  }
}
/* Hints and typed answers may lengthen the page, but never resize an opponent. */
.battle .arena,
.battle.battle-typed .arena,
.battle.with-hint .arena {
  flex: none;
  height: clamp(270px, calc(100dvh - 480px), 650px);
  min-height: 270px;
  margin: 0 auto;
}
.battle .command-panel {
  flex: none;
}
.battle .arena-backdrop {
  height: calc(100dvh - 230px);
  min-height: 480px;
  bottom: auto;
}
.battle.with-hint .arena-backdrop {
  height: calc(100dvh - 230px);
}
@media (max-width: 600px) {
  .battle .arena,
  .battle.battle-typed .arena,
  .battle.with-hint .arena {
    height: clamp(220px, 34dvh, 330px);
    min-height: 220px;
    max-height: none;
  }
  .battle .arena-backdrop,
  .battle.with-hint .arena-backdrop {
    height: 440px;
    min-height: 440px;
  }
}
@media (max-height: 600px) and (min-width: 600px) and (orientation: landscape) {
  .battle .arena,
  .battle.battle-typed .arena,
  .battle.with-hint .arena {
    height: calc(100dvh - 95px);
    min-height: 220px;
  }
  .battle .arena-backdrop,
  .battle.with-hint .arena-backdrop {
    height: 100dvh;
    min-height: 0;
  }
}
@media (max-width: 600px) {
  .nova-actor {
    left: -3%;
    width: 50%;
    height: 100%;
  }
  .guardian-actor {
    right: -4%;
    width: 70%;
  }
  .battle-header > div:first-child .button {
    font-size: 0;
  }
  .battle-header > div:first-child .button .icon {
    width: 24px;
    height: 24px;
  }
  .battle .command-panel {
    flex: none;
    min-height: 0;
  }
}
.share-group {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 9px;
  min-width: 62px;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #17374a;
  color: var(--muted);
}
.share-group.revealed {
  background: #315b5c;
  color: #ffe0a0;
}
.number-steps {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 10px 0 15px;
}
.number-steps .button {
  padding: 10px 18px;
}
.camp-overview {
  height: 280px;
  isolation: isolate;
}
.camp-overview .camp-ship {
  width: 65%;
  height: 80%;
}
.camp-overview .camp-bip {
  width: 18%;
  height: 30%;
  position: absolute;
  right: 5%;
  top: 10%;
}
.camp-overview .camp-prop {
  position: absolute;
  width: 27%;
  height: 45%;
  object-fit: contain;
  bottom: -5%;
  filter: drop-shadow(0 5px 9px #0008);
}
.camp-overview .camp-garden {
  left: 0;
}
.camp-overview .camp-observatory {
  right: 0;
}
.camp-overview .camp-projector {
  left: 37%;
  bottom: -12%;
}
.camp-overview .camp-legend {
  width: 38%;
  left: 31%;
  top: -7%;
  height: 40%;
}
.camp-lit {
  background: radial-gradient(ellipse, #e5b86d2b, transparent 70%);
}
.world-prop {
  position: absolute;
  bottom: 10%;
  width: 11%;
  height: 22%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 12px #0008);
}
.world-garden {
  left: 1%;
}
.world-observatory {
  left: 30%;
  bottom: 20%;
}
.world-projector {
  left: 24%;
  bottom: 7%;
  width: 8%;
}
.world-legend {
  left: 10%;
  bottom: 50%;
  width: 10%;
  height: 20%;
}
@media (max-width: 600px) {
  .nova-actor {
    width: 60%;
    left: -6%;
  }
  .battle .command-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .command-panel .answer-grid {
    margin: 0 auto;
  }
  .command-panel .command-footer {
    margin-top: auto;
    padding-top: 14px;
  }
  .world-prop {
    top: 260px;
    bottom: auto;
    width: 23%;
    height: 90px;
  }
  .world-observatory {
    left: 2%;
    top: 170px;
    width: 24%;
  }
  .world-projector {
    left: 15%;
    top: 275px;
    width: 22%;
  }
  .world-legend {
    left: 40%;
    top: 130px;
    width: 22%;
  }
  .camp-overview {
    height: 230px;
  }
}
body[data-equipped]:not([data-equipped=""]) .energy-beam {
  box-shadow:
    0 0 18px 8px var(--bracelet-color),
    0 0 55px var(--bracelet-color);
}
body[data-equipped]:not([data-equipped=""]) .nova-shield {
  border-color: var(--bracelet-color);
}
@media (max-width: 600px) {
  .header-actions .icon-button,
  .header-actions .profile-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
  .header-actions {
    gap: 3px;
  }
  .profile-button .avatar {
    object-position: center;
  }
}
.shield-hit .nova-shield {
  background: #734b39;
  border-color: #ffd2a6;
  box-shadow: 0 0 28px #ffbb8b;
}
.shield-hit:after {
  content: "";
  position: absolute;
  inset: 15% 18% 9%;
  border: 2px solid #9de6e477;
  border-radius: 50%;
  box-shadow: 0 0 30px #6dcace55;
  pointer-events: none;
}
.nova-shield {
  bottom: 8%;
  left: 25%;
}
.legacy-distinction {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--gold);
  text-align: center;
}
textarea {
  width: 100%;
  resize: vertical;
  min-height: 150px;
  display: block;
  margin: 12px 0 18px;
  background: #091e32;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: 12px/1.5 monospace;
}
textarea:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
}
.import-preview {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
}
.import-preview li {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #112e41;
  border-radius: 10px;
}
.import-preview span {
  font-size: 12px;
  color: var(--muted);
}
.brand { min-height: 44px; }
.typed-answer { width: min(620px, 100%); }
@media (min-width: 601px) and (min-height: 601px) {
  .battle-typed .command-panel h2 { font-size: 44px; }
  .battle-typed .question-caption { margin-bottom: 8px; }
}
@media (min-width: 901px) {
  .album-page { max-width: 1000px; }
  .album-layout { grid-template-columns: 1fr 285px; gap: 28px; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 185px)); justify-content: center; }
  .album-detail { padding: 18px; }
  .album-filters .filter { font-size: 13px; padding: 10px; }
  .album-pagination { margin: 14px auto; }
  .album-title { margin-bottom: 18px; }
}
@media (max-width: 600px) {
  .training-crew { right: 0; width: 44%; }
  .training-bip { right: 0; top: -10px; width: 42%; }
  .typed-answer { width: 100%; }
}
