@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Fraunces:opsz,wght@9..144,600&family=Nunito:wght@600;700&display=swap');

@font-face {
  font-family: "Material Symbols Rounded";
  src:
    url("./@fonts/material-rounded.woff2") format("woff2"),
    url("@fonts/material-rounded.woff2") format("woff2"),
    url("%40fonts/material-rounded.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --app-theme: #121212;
  --body-background: var(--app-theme);
  --no-prime: #a3a3a3;
  --prime-nectar: #64ff64;
  --prime-honey: #ffda66;
  --prime-sky: #64a8ff;
  --hivergo-palette-01: #4ade80;
  --hivergo-palette-02: #fb923c;
  --hivergo-palette-03: #ffda66;
  --hivergo-palette-04: #f472b6;
  --hivergo-palette-05: #2dd4bf;
  --hivergo-palette-06: #82c1ff;
  --hivergo-palette-07: #c084fc;
  --hivergo-palette-08: #96ff36;
  --hivergo-palette-09: #9a91ff;
  --hivergo-palette-10: #64c4ff;
  --hivergo-palette-11: #ff8e00;
  --hivergo-palette-12: #38bdf8;
  --hivergo-palette-13: #64a8ff;
  --hivergo-palette-14: #3aefc5;
  --hivergo-palette-15: #ff8ec7;
  --hivergo-palette-16: #ff8883;
  --hivergo-palette-17: #ff9a3d;
  --tokens-prepaid: #3aefc5;
  --tokens-gifted: #ff8ec7;
  --tokens-proxies: #ff8883;
  --tokens-reward: #ff9a3d;
  --tokens-quota: #9a91ff;
  --app-color: #fff;
  --app-accent: #ffda66;
  --card-hex: var(--app-accent);
  --app-blue: #7ba8ff;
  --app-red: #ff806f;
  --app-green: #83d79a;
  --app-purple: #47386b;
  --app-font: 'DM Sans', sans-serif;
  --dimmer: #00000050;
  --app-muted: #ffffff94;
  --app-line: #ffffff1a;
  --font-editorial: 'Fraunces', serif;
  --font-rounded: 'Nunito', sans-serif;
  --slider-mid: 0%;
  --slider-fill: 0%;
  --slider-tail: var(--app-accent);
  --hivergo-slider-height: 0.9375vw;
  --hivergo-slider-thumb: 4.6875vw;
  --surface: #ffffff0a;
  --hero-height: calc(100% - 21.875vw);
  --squircle-displacement: 10vw;
  --squircle: shape(from 0 var(--squircle-displacement), curve to var(--squircle-displacement) 0 with 0 0 / 0 0, hline to calc(100% - var(--squircle-displacement)), curve to 100% var(--squircle-displacement) with 100% 0 / 100% 0, vline to calc(100% - var(--squircle-displacement)), curve to calc(100% - var(--squircle-displacement)) 100% with 100% 100% / 100% 100%, hline to var(--squircle-displacement), curve to 0 calc(100% - var(--squircle-displacement)) with 0 100% / 0 100%, close);
  --widget-icon-color: #b0a890;
  --icon-color: var(--widget-icon-color);
  --special-toast-color: #ff6c00;
  --theme-background-image: none;
  --theme-background-opacity: 0;
  --bubbles-fill: #ffffff;
  --squircle-displacement-small: 8.125vw;
  --squircle-small: shape(from 0 var(--squircle-displacement-small), curve to var(--squircle-displacement-small) 0 with 0 0 / 0 0, hline to calc(100% - var(--squircle-displacement-small)), curve to 100% var(--squircle-displacement-small) with 100% 0 / 100% 0, vline to calc(100% - var(--squircle-displacement-small)), curve to calc(100% - var(--squircle-displacement-small)) 100% with 100% 100% / 100% 100%, hline to var(--squircle-displacement-small), curve to 0 calc(100% - var(--squircle-displacement-small)) with 0 100% / 0 100%, close);
}

.material-symbols-rounded {
  width: 100%;
  height: 100%;
  display: flex;
  line-height: 1;
  direction: ltr;
  font-size: 6.25vw;
  overflow-wrap: normal;
  font-style: normal;
  font-weight: normal;
  align-items: center;
  text-transform: none;
  letter-spacing: normal;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
  font-family: "Material Symbols Rounded";
  font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 24;
  white-space: nowrap;
}

.-widget-icon .material-symbols-rounded {
  width: 100%;
  height: 100%;
  display: flex;
  font-size: 6.25vw;
  align-items: center;
  justify-content: center;
}

.-widget-icon {
  display: flex;
  width: 9.375vw;
  height: 9.375vw;
  min-width: 9.375vw;
  position: relative;
  align-items: center;
  justify-content: center;
  clip-path: var(--squircle-small);
  color: var(--widget-icon-color);
  --icon-color: var(--widget-icon-color);
  margin: 0px 0px 0px 3.125vw;
  transition: color 0.25s;
  background: var(--dimmer);
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
}

[hidden] {
  display: none !important;
}

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #050609;
  color: var(--app-color);
  font-family: var(--app-font);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

canvas#space {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* BOOT PRELOADER */
#boot {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: #050609;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6.25vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

#boot.on {
  opacity: 1;
  pointer-events: auto;
}

.boot-mark {
  width: 22vw;
  height: 22vw;
  animation: boot-pulse 2s ease-in-out infinite;
}

.boot-mark svg {
  width: 100%;
  height: 100%;
}

@keyframes boot-pulse {
  50% { transform: scale(1.06); opacity: 0.82; }
}

.boot-track {
  width: 54vw;
  height: 1.5625vw;
  background: #ffffff14;
  clip-path: var(--squircle-small);
  overflow: hidden;
}

.boot-track i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--hivergo-palette-14), var(--prime-honey));
  transition: width 0.18s ease-out;
}

/* HUD */
#hud {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 4.6875vw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.125vw;
  pointer-events: none;
  z-index: 9;
}

.orb {
  pointer-events: auto;
  border: 0;
  padding: 0;
  color: var(--icon-color);
  background: #ffffff14;
  border: 1px solid #ffffff1a;
  backdrop-filter: blur(2.5vw);
  -webkit-backdrop-filter: blur(2.5vw);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  flex: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s;
}

.orb:active {
  transform: scale(0.91);
}

.orb.snap {
  animation: orb-snap 0.48s cubic-bezier(0.22, 1.65, 0.38, 1);
}

@keyframes orb-snap {
  0% { transform: scale(1); }
  38% { transform: scale(1.24); background: rgba(255, 218, 102, 0.26); }
  100% { transform: scale(1); }
}

.orb.sm {
  width: 9.375vw;
  height: 9.375vw;
}

.orb.lg {
  width: 15.625vw;
  height: 15.625vw;
}

.orb .material-symbols-rounded {
  font-size: 6.25vw;
  color: var(--icon-color);
}

.orb.lg .material-symbols-rounded {
  font-size: 8.5vw;
  color: var(--app-accent);
}

.orb svg {
  width: 72%;
  height: 72%;
}

/* Red-shifting timer ring around main charms circle */
#charmsBtn::after {
  content: "";
  position: absolute;
  inset: -1.5vw;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color, var(--hivergo-palette-14)) var(--ring, 0%), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.9vw), #000 calc(100% - 0.9vw));
  mask: radial-gradient(farthest-side, transparent calc(100% - 0.9vw), #000 calc(100% - 0.9vw));
  pointer-events: none;
}

#bubblesBtn .dot {
  position: absolute;
  top: -0.2vw;
  right: -0.2vw;
  width: 2.6vw;
  height: 2.6vw;
  border-radius: 50%;
  background: var(--hivergo-palette-16);
  display: none;
}

#bubblesBtn.ping .dot {
  display: block;
  animation: ping 1.1s infinite;
}

#bubblesBtn .badge {
  position: absolute;
  top: -1.4vw;
  right: -1.4vw;
  min-width: 4.375vw;
  height: 4.375vw;
  padding: 0 1vw;
  border-radius: 50%;
  background: var(--hivergo-palette-16);
  color: #121212;
  font: 700 2.5vw/4.375vw var(--font-rounded);
  text-align: center;
  display: none;
}

#bubblesBtn.has-count .badge {
  display: block;
}

#bubblesBtn.has-count .dot {
  display: none;
}

@keyframes ping {
  50% {
    transform: scale(1.45);
    opacity: 0.45;
  }
}

#vibesBtn {
  display: none;
}

.vib #vibesBtn {
  display: flex;
}

.vib #bubblesBtn {
  display: none;
}

/* FLYING ARRIVAL ICON -> SNAPS ONTO #bubblesBtn */
#flight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.fly-bump {
  position: absolute;
  width: 10vw;
  height: 10vw;
  margin: -5vw 0 0 -5vw;
  border-radius: 50%;
  background: rgba(255, 218, 102, 0.22);
  border: 1.5px solid rgba(255, 218, 102, 0.78);
  backdrop-filter: blur(2vw);
  -webkit-backdrop-filter: blur(2vw);
  box-shadow: 0 0 4vw rgba(255, 218, 102, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-accent);
  will-change: transform, opacity;
}

.fly-bump .material-symbols-rounded {
  font-size: 5.5vw;
  color: inherit;
}

/* DEDICATED INFINITE TAPERED DIAL (CHARMS & VIBES ABOVE #card) */
#dial {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  opacity: 0;
  transition: opacity 0.22s ease;
}

#dial.on {
  opacity: 1;
}

.dial-belt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62vw;
  pointer-events: none;
  touch-action: none;
}

#dial.on .dial-belt {
  pointer-events: auto;
}

.slot {
  position: absolute;
  left: 0;
  top: 0;
  width: 15.625vw;
  height: 15.625vw;
  margin: -7.8125vw 0 0 -7.8125vw;
  border-radius: 50%;
  background: rgba(20, 22, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2.5vw);
  -webkit-backdrop-filter: blur(2.5vw);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  color: var(--prime-honey);
  font-size: 8.2vw;
  touch-action: none;
  overflow: hidden;
  padding: 2.2vw;
  will-change: transform, opacity, filter;
}

.slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.slot .material-symbols-rounded {
  font-size: 7.5vw;
  color: inherit;
  pointer-events: none;
}

.slot.q {
  color: var(--no-prime);
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 5.8vw;
}

/* VOICE CHAT DOCK DURING "THE BUMP & THE BLOB" */
#voiceDock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 24.5vw;
  z-index: 7;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 3.125vw;
  pointer-events: none;
}

#voiceDock.on {
  display: flex;
}

.vc-btn {
  pointer-events: auto;
  width: 11.25vw;
  height: 11.25vw;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(18, 20, 30, 0.72);
  backdrop-filter: blur(3vw);
  -webkit-backdrop-filter: blur(3vw);
  color: var(--app-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.vc-btn:active {
  transform: scale(0.9);
}

.vc-btn.main {
  width: 13.75vw;
  height: 13.75vw;
  background: rgba(255, 218, 102, 0.2);
  border-color: rgba(255, 218, 102, 0.55);
  color: var(--app-accent);
}

.vc-btn.rec {
  background: rgba(255, 128, 111, 0.28);
  border-color: var(--app-red);
  color: var(--app-red);
  animation: vc-pulse 1.2s ease-in-out infinite;
}

.vc-btn.send {
  background: var(--hivergo-palette-14);
  border-color: transparent;
  color: #121212;
}

.vc-btn .material-symbols-rounded {
  font-size: 5.8vw;
}

@keyframes vc-pulse {
  50% { transform: scale(1.07); }
}

/* OVERLAYS + LEFT BUMPS DRAWER + RIGHT TOOLS DRAWER */
#overlay,
#bumpsOverlay {
  position: fixed;
  inset: 0;
  z-index: 12;
  background: rgba(12, 14, 20, 0.42);
  backdrop-filter: blur(3.5vw);
  -webkit-backdrop-filter: blur(3.5vw);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#overlay.open,
#bumpsOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

#tools {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12.5vw;
  right: 0;
  background: var(--app-theme);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.2, 0.85, 0.25, 1);
  box-shadow: -0.9375vw 0 2.2vw rgba(0, 0, 0, 0.65);
  overflow-y: auto;
  padding: 3.125vw;
  display: flex;
  flex-direction: column;
  gap: 3.125vw;
  touch-action: pan-y;
}

#overlay.open #tools {
  transform: none;
}

#bumps {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 12.5vw;
  background: var(--app-theme);
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.2, 0.85, 0.25, 1);
  box-shadow: 0.9375vw 0 2.2vw rgba(0, 0, 0, 0.65);
  overflow-y: auto;
  padding: 3.125vw;
  display: flex;
  flex-direction: column;
  gap: 3.125vw;
  touch-action: pan-y;
}

#bumpsOverlay.open #bumps {
  transform: none;
}

/* LEFT DRAWER CARDS */
.bump-card {
  background: var(--surface);
  clip-path: var(--squircle);
  padding: 3.125vw;
  display: flex;
  flex-direction: column;
  gap: 3.125vw;
  flex: none;
}

.bump-head {
  display: flex;
  align-items: center;
  gap: 3.125vw;
}

.bump-av {
  width: 13.75vw;
  height: 13.75vw;
  min-width: 13.75vw;
  border-radius: 50%;
  border: 1px solid var(--app-line);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 7.5vw;
}

.bump-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bump-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625vw;
}

.bump-info b {
  font: 700 4.2vw var(--font-rounded);
  color: var(--app-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bump-info span {
  font-size: 3.25vw;
  color: var(--app-muted);
}

.bump-tag {
  font: 700 2.8vw var(--font-rounded);
  padding: 1vw 2.2vw;
  clip-path: var(--squircle-small);
  background: rgba(255, 255, 255, 0.08);
  color: var(--app-muted);
  flex: none;
}

.bump-actions {
  display: flex;
  gap: 3.125vw;
}

.bump-actions .cta {
  flex: 1;
}

.bump-whisper {
  font: 400 3.75vw/1.45 var(--font-editorial);
  color: var(--app-color);
  padding: 0 0.625vw;
}

.bumps-empty {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.125vw;
  color: var(--app-muted);
  opacity: 0.65;
  padding: 12vw 3.125vw;
  text-align: center;
  font: 400 3.75vw/1.5 var(--font-editorial);
}

.bumps-empty .material-symbols-rounded {
  font-size: 12vw;
  height: auto;
  color: var(--widget-icon-color);
}

/* SHARED TOOLS CARDS & BUTTONS */
.card {
  background: var(--surface);
  clip-path: var(--squircle);
  padding: 3.125vw;
  display: flex;
  flex-direction: column;
  gap: 3.125vw;
}

.quota {
  align-items: center;
  padding: 4.375vw 3.125vw 3.125vw;
}

.big {
  font: 700 11.5vw var(--font-rounded);
  color: var(--tokens-quota);
  line-height: 1.05;
}

.quota-sub {
  font-size: 3.125vw;
  color: var(--app-muted);
  margin-top: -1.5vw;
}

.cta {
  height: 14.0625vw;
  min-height: 14.0625vw;
  max-height: 14.0625vw;
  border: 0;
  clip-path: var(--squircle);
  background: var(--c, var(--app-accent));
  color: #121212;
  font: 700 4.0625vw/1 var(--font-rounded);
  padding: 0 4.6875vw;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.cta:active {
  transform: scale(0.97);
}

.cta.sm-cta {
  height: 11.25vw;
  min-height: 11.25vw;
  max-height: 11.25vw;
  clip-path: var(--squircle-small);
  font-size: 3.4375vw;
  padding: 0 3.75vw;
}

#card .cta,
.quota .cta,
#tools > .cta {
  align-self: stretch;
  width: 100%;
}

hr {
  border: 0;
  height: 1px;
  background: var(--app-line);
  margin: 0.625vw 0;
  width: 100%;
  flex: none;
}

.inp {
  min-height: 12.5vw;
  width: 100%;
  border: 0;
  background: var(--surface);
  clip-path: var(--squircle-small);
  color: var(--app-color);
  font: 500 3.75vw var(--app-font);
  padding: 0 4vw;
  outline: 0;
  user-select: text;
  -webkit-user-select: text;
  color-scheme: dark;
}

textarea.inp {
  padding: 3.5vw 4vw;
  min-height: 25vw;
  resize: none;
}

select.inp {
  appearance: none;
}

select.inp option {
  background: #1b1b1b;
  color: #fff;
}

.inp::placeholder {
  color: var(--app-muted);
}

.pair {
  display: flex;
  gap: 3.125vw;
}

.avrow {
  display: flex;
  justify-content: center;
}

.av, .avatar {
  width: 18.75vw;
  height: 18.75vw;
  min-width: 18.75vw;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--app-line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-accent);
  cursor: pointer;
}

.av img, .ban img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.av .material-symbols-rounded {
  font-size: 7.5vw;
}

.ban {
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface);
  clip-path: var(--squircle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-muted);
  cursor: pointer;
  overflow: hidden;
}

.ban .material-symbols-rounded {
  font-size: 9vw;
}

/* SWITCHES */
.sw {
  min-height: 12.5vw;
  display: flex;
  align-items: center;
  gap: 3.125vw;
  background: var(--surface);
  clip-path: var(--squircle-small);
  padding: 0 3.125vw 0 0;
  font: 500 3.75vw var(--app-font);
  cursor: pointer;
}

.sw .ic {
  width: 9.375vw;
  height: 9.375vw;
  min-width: 9.375vw;
  clip-path: var(--squircle-small);
  background: var(--dimmer);
  color: var(--widget-icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1.5625vw;
}

.sw .ic .material-symbols-rounded {
  font-size: 5.5vw;
}

.sw span.t {
  flex: 1;
}

.sw.off {
  opacity: 0.4;
  pointer-events: none;
}

.sw input {
  display: none;
}

.sw i {
  width: 12.5vw;
  height: 7vw;
  border-radius: 7vw;
  background: #ffffff22;
  position: relative;
  transition: background 0.2s;
  flex: none;
}

.sw i::after {
  content: "";
  position: absolute;
  top: 0.9vw;
  left: 0.9vw;
  width: 5.2vw;
  height: 5.2vw;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.sw input:checked + i {
  background: var(--prime-nectar);
}

.sw input:checked + i::after {
  transform: translateX(5.5vw);
}

/* HOBBIES */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5vw;
}

.chip {
  border: 0;
  min-height: 9.375vw;
  padding: 0 3.75vw;
  background: var(--surface);
  clip-path: var(--squircle-small);
  font: 500 3.3vw var(--app-font);
  color: var(--app-muted);
  transition: background 0.16s, color 0.16s;
}

.chip.on {
  background: var(--prime-honey);
  color: #121212;
  font-weight: 700;
}

/* TICKET TIERS */
.tier {
  display: flex;
  align-items: center;
  gap: 3.125vw;
  border: 0;
  width: 100%;
  text-align: left;
  background: var(--surface);
  clip-path: var(--squircle);
  padding: 3.125vw 4vw;
  min-height: 16vw;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s;
}

.tier .orbd {
  width: 8vw;
  height: 8vw;
  min-width: 8vw;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 3vw var(--c);
  overflow: hidden;
  flex: none;
}

.tier .orbd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tier b {
  flex: 1;
  font: 600 4.3vw var(--font-editorial);
}

.tier em {
  font-style: normal;
  color: var(--app-muted);
  font-size: 3.3vw;
  display: flex;
  align-items: center;
  gap: 1vw;
}

.tier em .material-symbols-rounded {
  font-size: 4vw;
  width: auto;
  height: auto;
}

.tier.on {
  background: color-mix(in srgb, var(--c) 22%, transparent);
}

.tier.on b {
  color: var(--c);
}

/* STARPATH STRIPS (TAP TO CONFIRM + SINK-IN + SHIMMER, NO YELLOW CTA) */
.star-strip {
  min-height: 15vw;
  padding: 3.125vw 3.75vw;
  cursor: pointer;
}

.star-strip:active,
.star-strip.tapped {
  transform: scale(0.962);
  background: rgba(255, 255, 255, 0.085);
}

.star-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 218, 102, 0.24) 50%, transparent 75%);
  transform: translateX(-110%);
  pointer-events: none;
}

.star-strip.tapped::after {
  animation: strip-shimmer 0.42s ease-out;
}

@keyframes strip-shimmer {
  to { transform: translateX(110%); }
}

.star-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625vw;
}

.star-meta b {
  font: 700 4vw var(--font-rounded);
  flex: none;
}

.star-gps {
  font-size: 3vw;
  color: var(--app-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.star-end {
  font-size: 5vw;
  color: var(--c, var(--app-accent));
  width: auto;
  height: auto;
  flex: none;
}

.tier.cold {
  opacity: 0.56;
}

.tier.cold .star-end {
  color: var(--app-muted);
}

.orbd.em {
  background: #ffffff14;
  box-shadow: none;
  font-size: 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BUBBLES COUNT & SLIDERS */
.range {
  display: flex;
  align-items: center;
  gap: 3.125vw;
}

.range .inp {
  width: 28vw;
  text-align: center;
}

input[type=range] {
  flex: 1;
  appearance: none;
  height: var(--hivergo-slider-height);
  border-radius: 2vw;
  background: #ffffff22;
  outline: 0;
}

input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: var(--hivergo-slider-thumb);
  height: var(--hivergo-slider-thumb);
  border-radius: 50%;
  background: var(--app-accent);
}

input[type=range]::-moz-range-thumb {
  width: var(--hivergo-slider-thumb);
  height: var(--hivergo-slider-thumb);
  border: 0;
  border-radius: 50%;
  background: var(--app-accent);
}

/* SPAWN SOMETHING */
.spawn {
  display: flex;
  flex-wrap: wrap;
  gap: 2.1875vw;
}

.sp-tab {
  flex: 1 1 auto;
  min-height: 10vw;
  border: 0;
  padding: 0 3.125vw;
  background: var(--surface);
  clip-path: var(--squircle-small);
  color: var(--app-muted);
  font: 700 3.25vw var(--font-rounded);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25vw;
}

.sp-tab .material-symbols-rounded {
  width: auto;
  height: auto;
  font-size: 4.5vw;
}

.sp-tab.on {
  background: var(--hivergo-palette-12);
  color: #121212;
}

.sp {
  display: flex;
  flex-direction: column;
  gap: 3.125vw;
}

.sp-readout {
  font-size: 3.125vw;
  color: var(--app-muted);
  display: flex;
  justify-content: space-between;
  padding: 0 1vw;
}

.big.sm {
  font: 700 5.5vw var(--font-rounded);
  padding: 0;
  min-width: 14vw;
  text-align: center;
  color: var(--prime-honey);
}

/* STATS & HOW-TO */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.125vw;
}

.stat {
  background: var(--surface);
  clip-path: var(--squircle-small);
  min-height: 20vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1vw;
  padding: 2vw;
}

.stat.wide {
  grid-column: 1 / -1;
  min-height: 17vw;
}

.stat .material-symbols-rounded {
  font-size: 5.5vw;
  color: var(--widget-icon-color);
  height: auto;
}

.stat b {
  font: 700 5.5vw var(--font-rounded);
  color: var(--app-accent);
  font-variant-numeric: tabular-nums;
}

.stat small {
  font-size: 2.8vw;
  color: var(--app-muted);
}

.how {
  font: 400 3.55vw/1.55 var(--font-editorial);
  color: var(--app-muted);
  padding: 4.375vw 3.75vw;
}

.how b {
  color: var(--prime-honey);
  font-weight: 600;
}

/* CENTER CARDS (WELCOME / GLIMPSE / STARPATH CONFIRM / GO AGAIN / MESSAGE-IN-A-BOTTLE) */
#card {
  position: fixed;
  inset: 0;
  z-index: 6;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#card.on {
  display: flex;
}

#card > div {
  position: relative;
  pointer-events: auto;
  background: rgba(18, 20, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4.5vw);
  -webkit-backdrop-filter: blur(4.5vw);
  clip-path: var(--squircle);
  padding: 3.75vw;
  display: flex;
  flex-direction: column;
  gap: 3.125vw;
  animation: grow 0.45s cubic-bezier(0.2, 1.2, 0.3, 1) both;
  margin: 0 9.375vw;
  width: calc(100% - 18.75vw);
  max-height: 76dvh;
  overflow-y: auto;
  touch-action: pan-y;
  align-items: center;
}

#card.gl > div {
  align-items: stretch;
  margin-bottom: 24vw;
}

@keyframes grow {
  from {
    transform: scale(0);
    opacity: 0;
  }
}

.gl .gb {
  aspect-ratio: 1.45;
  clip-path: var(--squircle-small);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22vw;
  overflow: hidden;
  flex: none;
}

.gl .gb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gl h3 {
  margin: 0;
  font: 600 6vw var(--font-editorial);
}

.gl p {
  margin: 0;
  color: var(--app-muted);
  font-size: 3.5vw;
}

.gl .gps-line {
  font-size: 3.125vw;
  color: var(--app-accent);
  font-variant-numeric: tabular-nums;
}

.gl-actions,
.modal-actions {
  display: flex;
  gap: 3.125vw;
  width: 100%;
}

.gl-actions .cta,
.modal-actions .cta {
  flex: 1;
}

/* MESSAGE-IN-A-BOTTLE REVEAL ANIMATION */
#card.bottle > div {
  align-items: stretch;
  animation: bottle-unfurl 0.72s cubic-bezier(0.18, 1.18, 0.32, 1) both;
}

@keyframes bottle-unfurl {
  0% {
    transform: scale(0.08) rotate(-8deg);
    opacity: 0;
    filter: blur(18px);
  }
  55% {
    transform: scale(1.03) rotate(1deg);
    opacity: 1;
    filter: blur(2px);
  }
  100% {
    transform: none;
    opacity: 1;
    filter: blur(0);
  }
}

.bottle-from {
  display: flex;
  align-items: center;
  gap: 3.125vw;
  animation: bottle-ink 0.85s ease both;
}

.bottle-av {
  width: 12.5vw;
  height: 12.5vw;
  min-width: 12.5vw;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 218, 102, 0.5);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6.5vw;
}

.bottle-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bottle-who {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5vw;
}

.bottle-who b {
  font: 700 4.3vw var(--font-rounded);
  color: var(--app-accent);
}

.bottle-who span {
  font-size: 3.125vw;
  color: var(--app-muted);
}

.bottle-body {
  animation: bottle-ink 0.95s 0.14s ease both;
}

@keyframes bottle-ink {
  from {
    opacity: 0;
    transform: translateY(3vw);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

.mark {
  width: 22vw;
  height: 22vw;
}

.mark svg {
  width: 100%;
  height: 100%;
}

.welcome-note {
  margin: 0;
  text-align: center;
  font-size: 3.6vw;
  line-height: 1.45;
  color: var(--app-muted);
}

.close {
  position: absolute;
  z-index: 3;
  top: 5vw;
  right: 5vw;
  width: 9.375vw;
  height: 9.375vw;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close .material-symbols-rounded {
  font-size: 5vw;
}

/* TOASTS & REACTIONS */
#toasts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
}

.float {
  position: absolute;
  left: 0;
  right: 0;
  top: 12vw;
  text-align: center;
  font: 700 9vw var(--font-rounded);
  animation: fl 3s ease-out forwards;
}

.float.neg {
  color: var(--app-red);
}

.float.pos {
  color: var(--prime-nectar);
}

.float.txt {
  font-size: 4.5vw;
  color: var(--app-muted);
}

@keyframes fl {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-12vw);
  }
}

.react {
  position: fixed;
  bottom: 40vh;
  left: 50%;
  font-size: 10vw;
  animation: rx 2s ease-out forwards;
  z-index: 10;
  pointer-events: none;
}

@keyframes rx {
  to {
    transform: translate(var(--dx), -45vh) scale(1.6);
    opacity: 0;
  }
}

.shake {
  animation: shk 0.35s;
}

@keyframes shk {
  25% {
    transform: translateX(-2vw);
  }
  75% {
    transform: translateX(2vw);
  }
}

/* EASTER EGG & ADVERT OVERLAYS */
.msg {
  margin: 0;
  font: 400 4.4vw/1.5 var(--font-editorial);
  color: #fff;
  white-space: pre-wrap;
  padding: 2vw 1vw;
}

.pic {
  width: 100%;
  clip-path: var(--squircle-small);
  display: block;
}

.adv {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.125vw;
  touch-action: none;
}

.adv img {
  max-width: 100%;
  max-height: 76%;
  object-fit: contain;
}

.adv p {
  margin: 0;
  padding: 0 6vw;
  text-align: center;
  font: 500 4.4vw/1.4 var(--app-font);
}

.adv span.adv-hint {
  font-size: 3.125vw;
  color: var(--app-muted);
}

.adv i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.25vw;
  background: var(--prime-honey);
  animation: bar 15s linear forwards;
}

@keyframes bar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@supports not (clip-path: shape(from 0 0, close)) {
  .card, .cta, .ban, .inp, .sw, .chip, .tier, .stat, #card > div, .gl .gb, .sp-tab, .pic, .bump-card, .bump-tag, .boot-track {
    clip-path: none;
    border-radius: 5vw;
  }
}