/* Hover keeps its hit area and material fixed, with a continuous light response. */
html.painted .btn {
  --button-fill: linear-gradient(#2387fa, #1268d8);
  background: var(--button-fill);
  transition:
    transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 180ms ease,
    box-shadow 180ms ease;
  will-change: auto;
}
html.painted .btn.primary,
html.painted .hud-bottom .btn.hint {
  --button-fill: linear-gradient(#ffdf54, #ffc52d);
}
html.painted .btn.coral,
html.painted .hud-bottom .btn:nth-child(2) {
  --button-fill: linear-gradient(#ff8067, #ff6047);
}
html.painted .btn.ghost {
  --button-fill: linear-gradient(#172e55, #172e55);
  background: var(--button-fill);
}
html.painted .btn[disabled] {
  opacity: 1;
  background: #29466c !important;
  color: #b7c8de;
  border-color: #4c6588;
  box-shadow: 0 3px 0 #06132e;
  filter: none;
}
html.painted .screen.painted-home .menu-list .btn {
  background: var(--button-fill);
}
html.painted .screen.painted-home .menu-list .btn.primary {
  background: var(--button-fill);
}
@media (hover: hover) and (pointer: fine) {
  html.painted .btn:not(:disabled):hover,
  html.painted .screen.painted-home .menu-list .btn:not(:disabled):hover {
    background: var(--button-fill) !important;
    filter: brightness(1.035);
    transform: none;
  }
  html.painted .choice:hover,
  html.painted .set:hover {
    filter: brightness(1.045);
  }
  html.painted .btn:not(:disabled):active,
  html.painted .screen.painted-home .menu-list .btn:not(:disabled):active {
    transform: translateY(3px);
    filter: brightness(0.98);
  }
}
.home .menu-list .home-utility {
  --button-fill: linear-gradient(#17345d, #17345d);
  font-size: 12px !important;
  min-height: 42px !important;
  border-color: #45658b !important;
  box-shadow: 0 2px 0 #06132e !important;
}
.home .menu-list .home-utility svg {
  width: 19px !important;
  height: 19px !important;
  flex-basis: 19px !important;
}
.next-encounter {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
  padding: 12px 14px;
  margin: 14px 0;
  border: 1px solid #5d9be7;
  border-radius: 15px;
  background: #173e70;
  color: #f4f8ff;
  font: inherit;
  cursor: pointer;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}
.next-encounter img {
  width: 64px;
  height: 74px;
  object-fit: contain;
  flex: none;
}
.next-encounter strong,
.next-encounter small {
  display: block;
}
.next-encounter strong {
  font-size: 19px;
}
.next-encounter small {
  font-size: 12px;
  color: #c9def8;
}
.next-encounter .eyebrow {
  color: #ffdb52;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.next-encounter > svg {
  margin-left: auto;
  width: 24px;
  height: 24px;
  flex: none;
}
.map-scroll-hint {
  display: none;
  color: #d1e5ff;
  font-size: 12px;
  margin: 8px 0;
}
.map-viewport {
  cursor: grab;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
}
.map-viewport.dragging {
  cursor: grabbing;
}
.campaign-summary .reward-preview {
  margin-top: 10px;
}
.challenge-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.challenge-list .btn {
  text-align: left;
  justify-content: flex-start;
  min-height: 86px;
  white-space: normal;
}
.challenge-list .btn > span {
  display: grid;
  gap: 5px;
}
.challenge-list small {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
}
.challenge-list .complete {
  margin-left: auto;
  font-size: 11px;
  color: #ffdb52;
}
.challenge-strip {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 20px));
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f4f8ff;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  background: #102747e8;
  border: 1px solid #4e75a5;
  border-radius: 10px;
  padding: 5px 10px;
  pointer-events: none !important;
}
.challenge-strip strong {
  color: #ffdb52;
}
.challenge-result .big {
  color: #ffdb52;
  font-size: 27px;
  font-weight: 900;
}
.challenge-result .actions {
  margin-top: 20px;
}
.result:not(.restored) > * {
  animation: rewardReveal 260ms ease both;
}
.result:not(.restored) > .result-portrait {
  animation-delay: 20ms;
}
.result:not(.restored) > .big {
  animation-delay: 70ms;
}
.result:not(.restored) > .muted {
  animation-delay: 110ms;
}
.result:not(.restored) > .seal,
.result:not(.restored) > .unlock-item {
  animation-delay: 210ms;
}
.result:not(.restored) > .actions {
  animation-delay: 270ms;
}
.result .result-portrait canvas {
  width: 100px !important;
  height: 100px !important;
  background: transparent !important;
}
@keyframes rewardReveal {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 800px) {
  .map-scroll-hint {
    display: block;
  }
  .next-encounter {
    gap: 10px;
    padding: 10px;
  }
  .next-encounter strong {
    font-size: 16px;
  }
  .next-encounter img {
    width: 48px;
    height: 58px;
  }
  .next-encounter small {
    font-size: 11px;
  }
}
@media (max-height: 440px) {
  .challenge-strip {
    font-size: 11px;
    height: 34px;
  }
  .challenge-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .challenge-list .btn {
    padding: 12px;
    min-height: 100px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.painted .btn,
  .next-encounter {
    transition: none !important;
    transform: none !important;
  }
  .result > * {
    animation: none !important;
  }
}
html.reduced .btn,
html.reduced .next-encounter {
  transition: none !important;
  transform: none !important;
}
html.reduced .result > * {
  animation: none !important;
}

/* End of src/juice.css */

/* End of assets/juice-CPwQCvzO.css */
