/* Panels extend the tokens and shared controls in style.css. */
.panel-scrim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgb(15 42 94 / 0.35);
  backdrop-filter: blur(6px);
  pointer-events: auto;
}
.panel {
  display: flex;
  flex-direction: column;
  width: 820px;
  height: calc(100dvh - 48px);
  max-height: 900px;
  overflow: hidden;
  border: 4px solid white;
  border-radius: var(--radius-lg);
  background: var(--sky-50);
  box-shadow:
    0 5px 0 var(--card-lip),
    var(--ambient),
    var(--top-highlight);
  animation: var(--panel-entry) 200ms ease-out both;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px 14px;
  flex: none;
}
.panel-header .eyebrow {
  text-align: center;
}
.panel-header .round-button {
  width: 44px;
  height: 44px;
}
.panel-title {
  padding: 6px 24px 24px;
  text-align: center;
  flex: none;
}
.panel-title h2 {
  margin: 0 0 8px;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}
.panel-title p {
  margin: 0;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.4;
}
.panel-content {
  flex: 1;
  min-height: 0;
  padding: 0 26px 28px;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: var(--sky-lip) var(--sky-100);
}
.panel-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 12px 20px 16px;
  border-top: 3px solid white;
  background: var(--sky-100);
  flex: none;
}
.panel-nav button {
  --button-fill: var(--sky-50);
  --button-lip: var(--card-lip);
  min-width: 144px;
  min-height: 48px;
  color: var(--ink-700);
  font-size: 16px;
}
.panel-nav button.active {
  --button-fill: var(--sky-500);
  --button-lip: var(--sky-lip);
  color: white;
}
.panel-nav .icon {
  width: 24px;
  height: 24px;
}
.section-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 2px 0 18px;
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.35;
}
.section-note > span:first-child {
  color: var(--ink-700);
  font-weight: 700;
  letter-spacing: 0.025em;
}
.section-note .icon {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
.tabs {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  padding: 5px 5px 9px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: var(--sky-100);
}
.tabs button {
  --button-fill: transparent;
  --button-lip: transparent;
  flex: 1;
  min-width: max-content;
  padding: 10px 8px;
  border-color: transparent;
  border-radius: var(--radius-sm);
  color: var(--ink-500);
  font-size: 16px;
  box-shadow: none;
}
.tabs button.selected {
  --button-fill: var(--sky-500);
  --button-lip: var(--sky-lip);
  border-color: white;
  color: white;
  box-shadow:
    0 5px 0 var(--button-lip),
    var(--ambient),
    var(--top-highlight);
}
.cosmetics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
}
.cosmetic-card {
  min-width: 0;
  overflow: hidden;
  border: 3px solid white;
  border-radius: 22px;
  background: white;
  box-shadow:
    0 5px 0 var(--card-lip),
    var(--ambient),
    var(--top-highlight);
}
.cosmetic-card.equipped {
  border-color: var(--leaf-500);
  box-shadow:
    0 5px 0 var(--leaf-lip),
    var(--ambient),
    inset 0 3px 0 white;
}
.card-preview {
  --rarity-tint: var(--rarity-common);
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  place-items: center;
  height: 132px;
  background-color: var(
    --rarity-tint
  ); /* Bible preview-well highlight; other surfaces are flat. */
  background-image: radial-gradient(
    ellipse at 50% 35%,
    rgb(255 255 255 / 0.55),
    rgb(255 255 255 / 0) 70%
  );
}
.card-preview canvas {
  display: block;
  width: 100%;
  height: 122px;
  object-fit: contain;
}
.outfit-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px 18px;
  margin-bottom: 22px;
  border: 3px solid white;
  border-radius: 22px;
  background: var(--sky-100);
}
.outfit-preview > canvas { width: 43%; max-width: 360px; aspect-ratio: 4 / 3; object-fit: contain; }
.outfit-preview > canvas { touch-action: none; cursor: grab; }
.outfit-preview > canvas:active { cursor: grabbing; }
.outfit-preview > canvas:focus-visible { outline: 3px solid var(--sky-500); border-radius: 16px; }
.outfit-details { flex: 1; min-width: 0; }
.outfit-details h3 { margin: 4px 0; font-size: 27px; }
.outfit-details p { margin: 0 0 12px; color: var(--ink-500); font-size: 14px; }
.outfit-slots { display: flex; flex-wrap: wrap; gap: 7px; }
.outfit-slots button { padding: 6px 10px; border: 2px solid white; border-radius: 12px; background: white; color: var(--ink-700); box-shadow: 0 3px 0 #b9dff7; text-align: left; font-size: 13px; cursor: pointer; }
.outfit-slots button:hover { background: #f4fbff; }
.outfit-slots button:focus-visible, .card-preview:focus-visible { outline: 3px solid var(--sky-500); outline-offset: -3px; }
.outfit-slots small { display: block; font-size: 9px; color: var(--ink-500); }
.outfit-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.outfit-actions button { font-size: 12px; }
@media (max-width: 600px) {
  .outfit-preview { gap: 0; padding: 8px 12px 14px; flex-direction: column; }
  .outfit-preview > canvas { width: 100%; max-width: 240px; height: 170px; }
  .outfit-details { width: 100%; }
  .outfit-details h3 { font-size: 20px; }
  .outfit-details p { font-size: 11px; }
  .outfit-details > .eyebrow { display: block; margin: 0 0 8px; }
  .outfit-slots { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .outfit-slots button { min-width: 0; padding: 5px 6px; font-size: 11px; }
  .outfit-slots small { font-size: 8px; }
}
.card-preview:has(canvas[data-cosmetic="dust"]) {
  background-image: radial-gradient(ellipse at 50% 12%, rgb(255 255 255 / .12), rgb(255 255 255 / 0) 70%);
}
.rarity-common {
  --rarity-tint: var(--rarity-common);
}
.rarity-rare {
  --rarity-tint: var(--rarity-rare);
}
.rarity-epic {
  --rarity-tint: var(--rarity-epic);
}
.rarity-legendary {
  --rarity-tint: var(--rarity-legendary);
}
.equipped-tag {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 2px solid white;
  border-radius: var(--radius-pill);
  background: var(--leaf-lip);
  color: white;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.equipped-tag .icon {
  width: 16px;
  height: 16px;
}
.lock-tag {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid white;
  border-radius: var(--radius-sm);
  background: var(--ink-700);
  color: white;
}
.lock-tag .icon {
  width: 18px;
  height: 18px;
}
.card-info {
  padding: 12px 10px 14px;
}
.rarity-label {
  display: inline-block;
  max-width: 100%;
  padding: 3px 6px;
  border-radius: var(--radius-pill);
  background: var(--rarity-common);
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.rarity-label.rare {
  background: var(--rarity-rare);
  color: #197255;
}
.rarity-label.epic {
  background: var(--rarity-epic);
  color: var(--grape-lip);
}
.rarity-label.legendary {
  background: var(--rarity-legendary);
  color: #97600a;
}
.card-info h3 {
  margin: 7px 0 12px;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.1;
}
.item-button {
  --button-fill: var(--leaf-500);
  --button-lip: var(--leaf-lip);
  width: 100%;
  min-height: 44px;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 16px;
}
.item-button .icon {
  width: 24px;
  height: 24px;
}
.item-button.owned {
  --button-fill: var(--rarity-rare);
  --button-lip: var(--card-lip);
  color: #197255;
  opacity: 1;
}
.free-reward,
.daily-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 18px;
  border: 3px solid white;
  border-radius: var(--radius-lg);
  background: var(--sky-100);
  box-shadow:
    0 5px 0 var(--card-lip),
    var(--ambient),
    var(--top-highlight);
}
.reward-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border: 3px solid white;
  border-radius: var(--radius-md);
  background: var(--rarity-legendary);
  box-shadow:
    0 4px 0 var(--sun-lip),
    var(--top-highlight);
}
.reward-symbol .icon {
  width: 34px;
  height: 34px;
}
.free-reward > div:nth-child(2),
.daily-box > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.free-reward h3,
.daily-box h3 {
  margin: 4px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}
.free-reward p,
.daily-box p {
  margin: 6px 0 0;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.35;
}
.free-reward .secondary,
.daily-box .secondary {
  flex: none;
  font-size: 16px;
}
.quiet-note {
  margin: 22px 0 8px;
  color: var(--ink-500);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mission-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 3px solid white;
  border-radius: var(--radius-md);
  background: white;
  box-shadow:
    0 5px 0 var(--card-lip),
    var(--ambient),
    var(--top-highlight);
}
.mission-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 60px;
  border: 3px solid white;
  border-radius: var(--radius-md);
  background: var(--rarity-common);
  color: var(--sky-lip);
  box-shadow:
    0 4px 0 var(--card-lip),
    var(--top-highlight);
}
.mission-icon .icon {
  width: 30px;
  height: 30px;
}
.mission-card:nth-child(2) .mission-icon {
  background: var(--rarity-legendary);
  color: var(--sun-lip);
}
.mission-card:nth-child(3) .mission-icon {
  background: var(--rarity-epic);
  color: var(--grape-lip);
}
.mission-body {
  flex: 1;
  min-width: 0;
}
.mission-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}
.mission-body p {
  margin: 0 0 12px;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.35;
}
.progress-track {
  height: 12px;
  overflow: hidden;
  border: 2px solid var(--sky-100);
  border-radius: var(--radius-pill);
  background: var(--sky-100);
}
.progress-track i {
  display: block;
  max-width: 100%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--leaf-500);
  box-shadow: inset 0 2px 0 rgb(255 255 255 / 0.45);
}
.mission-body small {
  display: block;
  margin-top: 6px;
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 700;
}
.mission-claim {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 72px;
  min-height: 64px;
  padding: 8px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--sky-100);
  color: var(--ink-700);
  font-size: 14px;
}
.mission-claim:disabled {
  opacity: 1;
}
.mission-claim .icon {
  width: 26px;
  height: 26px;
}
.mission-claim b {
  font-size: 16px;
}
.mission-claim small {
  font-size: 12px;
}
.mission-claim.ready {
  --button-fill: var(--leaf-500);
  --button-lip: var(--leaf-lip);
  border: 3px solid white;
  background: var(--button-fill);
  padding: 8px;
  color: white;
}
.mission-claim.ready:disabled {
  --button-fill: var(--rarity-rare);
  --button-lip: var(--card-lip);
  color: #197255;
}
.milestone-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 18px;
}
.milestone-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
}
.milestone-heading > span {
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
}
.milestones {
  display: flex;
  gap: 12px;
  overflow: auto;
  padding: 0 0 12px;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: thin;
  scrollbar-color: var(--sky-lip) var(--sky-100);
}
.milestone {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 76px;
}
.milestone > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 3px;
  border: 3px solid white;
  border-radius: var(--radius-pill);
  background: var(--sky-100);
  color: var(--ink-500);
  box-shadow:
    0 4px 0 var(--card-lip),
    var(--top-highlight);
}
.milestone.claimed > span {
  background: var(--leaf-500);
  color: white;
  box-shadow:
    0 4px 0 var(--leaf-lip),
    var(--top-highlight);
}
.milestone > span .icon {
  width: 26px;
  height: 26px;
}
.milestone b {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.milestone small {
  color: var(--ink-500);
  font-size: 12px;
  white-space: nowrap;
}
.lifetime-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 24px;
  color: var(--ink-500);
  font-size: 13px;
}
.lifetime-stats b {
  color: var(--ink-700);
  font-weight: 700;
}

.daily-calendar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  margin: 24px 0;
}
.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  border: 3px solid white;
  border-radius: var(--radius-sm);
  background: var(--sky-100);
  color: var(--ink-700);
  box-shadow:
    0 4px 0 var(--card-lip),
    var(--top-highlight);
  text-align: center;
}
.day small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.day b {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.1;
  font-weight: 700;
}
.day.current {
  background: var(--rarity-legendary);
  box-shadow:
    0 4px 0 var(--sun-lip),
    var(--top-highlight);
}
.day .icon {
  width: 28px;
  height: 28px;
}
.new-best-ribbon {
  margin: 14px 0 8px;
  color: var(--sun-lip);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}
.milestone-earned {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--rarity-legendary);
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.35;
}
.milestone-earned .icon {
  width: 26px;
  height: 26px;
}
.continue-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.continue-ad-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.continue-ad-badge,
.ad-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 5px;
  border: 2px solid white;
  border-radius: var(--radius-sm);
  background: var(--ink-700);
  color: white;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 0 var(--ink-900);
}
.continue-ad-caption {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}
.continue-ad.text-button {
  padding: 12px 6px;
  font-size: 16px;
}
.reward-reveal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 270px;
  overflow: hidden;
  padding: 24px 0;
  text-align: center;
}
.reward-reveal > :not(.reveal-rays) {
  position: relative;
  z-index: 1;
}
.reward-reveal h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}
.reward-reveal p {
  margin: 10px 0 0;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.4;
}
.big-gift {
  display: grid;
  place-items: center;
  height: 140px;
  animation: gift-arrive 400ms ease-out 1;
}
.big-gift .icon {
  width: 100px;
  height: 100px;
  filter: drop-shadow(0 5px 0 var(--sun-lip));
}
.reveal-rays {
  position: absolute;
  inset: 0;
  width: 220px;
  height: 220px;
  margin: auto;
  border: 8px solid white;
  border-radius: var(--radius-pill);
  background: var(--rarity-legendary);
}
.revealed .reveal-rays {
  background: var(--rarity-common);
}
.reward-reveal canvas {
  display: block;
  width: 220px;
  height: 170px;
  object-fit: contain;
  animation: var(--panel-entry) 200ms ease-out;
}
.reward-coin {
  padding: 14px 0;
  animation: var(--dialog-entry) 240ms ease-out;
}
.reward-coin .icon {
  width: 110px;
  height: 110px;
}
.share-card {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 20px auto 14px;
  border: 3px solid white;
  border-radius: var(--radius-md);
  box-shadow:
    0 5px 0 var(--card-lip),
    var(--ambient);
}
.share-text {
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  -webkit-user-select: text;
  user-select: text;
}
.ad-simulation {
  padding: 20px 0;
  text-align: center;
}
.ad-orbit {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 8px auto 24px;
  border: 3px solid white;
  border-radius: var(--radius-pill);
  background: var(--sky-500);
  color: white;
  box-shadow:
    0 5px 0 var(--sky-lip),
    var(--ambient),
    var(--top-highlight);
}
.ad-orbit .icon {
  width: 38px;
  height: 38px;
}
.ad-simulation h3 {
  margin: 16px 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}
.ad-simulation p {
  color: var(--ink-500);
  font-size: 14px;
}
.ad-simulation > b {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
}
.debug-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0;
  font-size: 14px;
}
.debug-label input,
.debug-label select {
  width: 60%;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  border: 2px solid var(--card-lip);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 14px;
}

/* Only the first six newly inserted rows stagger; patched menus keep identity. */
:is(.cosmetic-card, .mission-card):nth-child(-n + 6) {
  animation: var(--list-entry) 200ms ease-out both;
}
:is(.cosmetic-card, .mission-card):nth-child(2) {
  animation-delay: 30ms;
}
:is(.cosmetic-card, .mission-card):nth-child(3) {
  animation-delay: 60ms;
}
:is(.cosmetic-card, .mission-card):nth-child(4) {
  animation-delay: 90ms;
}
:is(.cosmetic-card, .mission-card):nth-child(5) {
  animation-delay: 120ms;
}
:is(.cosmetic-card, .mission-card):nth-child(6) {
  animation-delay: 150ms;
}
@keyframes gift-arrive {
  from {
    opacity: 0;
    transform: rotate(-3deg) scale(0.94);
  }
  65% {
    opacity: 1;
    transform: rotate(3deg) scale(1.02);
  }
  to {
    transform: rotate(0deg) scale(1);
  }
}
@media (max-width: 640px) {
  .panel-scrim {
    padding: 0;
  }
  .panel {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .panel-header {
    gap: 12px;
    padding: max(16px, env(safe-area-inset-top)) 18px 14px;
  }
  .panel-header .eyebrow {
    max-width: 150px;
  }
  .panel-title {
    padding: 8px 20px 22px;
  }
  .panel-title h2 {
    font-size: 28px;
  }
  .panel-content {
    padding: 0 16px 26px;
  }
  .panel-nav {
    gap: 12px;
    padding: 10px 16px max(16px, env(safe-area-inset-bottom));
  }
  .panel-nav button {
    flex: 1;
    min-width: 0;
  }
  .cosmetics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }
  .card-preview {
    height: 132px;
  }
  .tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }
  .tabs button {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 1px;
    font-size: clamp(9px, 2.65vw, 12px);
    letter-spacing: 0;
  }
  .free-reward,
  .daily-box {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }
  .reward-symbol {
    width: 48px;
    height: 48px;
  }
  .reward-symbol .icon {
    width: 30px;
    height: 30px;
  }
  .free-reward h3,
  .daily-box h3 {
    font-size: 21px;
  }
  .free-reward .secondary,
  .daily-box .secondary {
    width: 100%;
  }
  .mission-card {
    gap: 10px;
    padding: 14px 10px;
  }
  .mission-icon {
    width: 44px;
    height: 50px;
    border-radius: var(--radius-sm);
  }
  .mission-icon .icon {
    width: 26px;
    height: 26px;
  }
  .mission-body h3 {
    font-size: 20px;
  }
  .mission-claim,
  .mission-claim.ready {
    width: 72px;
    padding: 8px 4px;
  }
  .milestone-heading h3 {
    font-size: 21px;
  }
  .milestone-heading > span {
    max-width: 100px;
  }
}
@media (max-height: 700px) {
  .panel-scrim {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .panel {
    height: calc(100dvh - 24px);
  }
  .panel-title {
    padding-bottom: 18px;
  }
}
@media (max-width: 640px) and (max-height: 700px) {
  .panel-scrim {
    padding: 0;
  }
  .panel {
    height: 100dvh;
  }
}
html.reduced-motion .big-gift {
  animation: fade-in 150ms ease-out;
}
html.reduced-motion :is(.cosmetic-card, .mission-card):nth-child(-n + 6) {
  animation-delay: 0ms;
}
@media (prefers-reduced-motion: reduce) {
  .big-gift {
    animation: fade-in 150ms ease-out;
  }
  :is(.cosmetic-card, .mission-card):nth-child(-n + 6) {
    animation-delay: 0ms;
  }
}
.volume-setting { flex-direction: column; align-items: stretch; gap: 10px; }
.volume-setting > span { display: flex; justify-content: space-between; width: 100%; }
.volume-setting output { font-variant-numeric: tabular-nums; }
.volume-setting input { width: 100%; min-height: 28px; accent-color: #3fa2ff; cursor: pointer; }
