@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;
}

/* 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: 5;
}

.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.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%;
}

#charmsBtn::after {
  content: "";
  position: absolute;
  inset: -1.5vw;
  border-radius: 50%;
  background: conic-gradient(var(--hivergo-palette-14) var(--ring, 0%), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.85vw), #000 calc(100% - 0.85vw));
  mask: radial-gradient(farthest-side, transparent calc(100% - 0.85vw), #000 calc(100% - 0.85vw));
  pointer-events: none;
}

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

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

@keyframes ping {
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

#vibesBtn {
  display: none;
}

.vib #vibesBtn {
  display: flex;
}

.vib #bubblesBtn {
  display: none;
}

/* RADIAL CHARMS / VIBES DIAL */
#dial {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.slot {
  position: absolute;
  width: 9.375vw;
  height: 9.375vw;
  margin: -4.6875vw 0 0 -4.6875vw;
  border-radius: 50%;
  background: rgba(20, 22, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  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: 5.5vw;
  animation: pop-in 0.28s cubic-bezier(0.22, 1.35, 0.36, 1) both;
  touch-action: none;
  overflow: hidden;
  padding: 1.25vw;
}

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

.slot .material-symbols-rounded {
  font-size: 5.8vw;
  color: inherit;
}

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

.slot.q .material-symbols-rounded {
  font-size: 4.5vw;
}

@keyframes pop-in {
  from {
    transform: scale(0.3);
    opacity: 0;
  }
}

/* OVERLAY + SLIDING TOOLS DRAWER */
#overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  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 {
  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.45s 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;
}

.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;
}

/* MERGED SQUIRCLE CTA BUTTONS (FROM BUILD 1 GRAMMAR) */
.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;
}

/* AVATAR CIRCLE: 100px = 31.25vw */
.avrow {
  display: flex;
  justify-content: center;
}

.av, .avatar {
  width: 31.25vw;
  height: 31.25vw;
  min-width: 31.25vw;
  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: 10vw;
}

.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;
}

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

.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);
}

/* STARLOG */
.star-item {
  flex-direction: column;
  align-items: stretch;
  gap: 2.5vw;
}

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

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

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

.star-gps {
  font-size: 3vw;
  color: var(--app-muted);
  font-variant-numeric: tabular-nums;
}

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

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

.tier.cold {
  opacity: 0.56;
}

.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 (MERGED TABS + SQUIRCLE BUTTONS) */
.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;
}

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

.stat b {
  font: 700 6vw var(--font-rounded);
  color: var(--app-accent);
}

.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;
}

/* FROSTED GLASS COMIC SPEECH BUBBLE */
#speech {
  position: fixed;
  left: 3.125vw;
  right: 3.125vw;
  bottom: calc(4.6875vw + 15.625vw + 4.5vw);
  z-index: 6;
  background: rgba(18, 20, 30, 0.56);
  color: var(--app-color);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 6.25vw;
  backdrop-filter: blur(4.5vw);
  -webkit-backdrop-filter: blur(4.5vw);
  padding: 3.75vw;
  display: flex;
  flex-wrap: wrap;
  gap: 3.125vw;
  align-items: center;
  transform: translateY(8vw) scale(0.2);
  transform-origin: 31.25vw 100%;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 2vw 6vw rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-family: var(--font-rounded);
}

#speech.on {
  animation: boing 0.5s cubic-bezier(0.2, 1.55, 0.4, 1) both;
  pointer-events: auto;
}

@keyframes boing {
  0% {
    transform: translateY(8vw) scale(0.2) rotate(-3deg);
    opacity: 0;
  }
  65% {
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

#speech .tail {
  position: absolute;
  left: 29vw;
  bottom: -2.8vw;
  width: 4.6vw;
  height: 2.8vw;
  background: rgba(18, 20, 30, 0.56);
  backdrop-filter: blur(4.5vw);
  -webkit-backdrop-filter: blur(4.5vw);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

#speech .av {
  width: 15vw;
  height: 15vw;
  min-width: 15vw;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8.5vw;
  overflow: hidden;
}

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

#speech .tx {
  flex: 1;
  min-width: 30vw;
  white-space: pre-line;
  font-family: var(--app-font);
  font-size: 3.65vw;
  line-height: 1.38;
  min-height: 13vw;
  color: rgba(255, 255, 255, 0.9);
}

#speech .tx::first-line {
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 4.8vw;
  color: var(--app-accent);
}

#speech .row {
  display: flex;
  gap: 3.125vw;
  width: 100%;
}

#speech .cta {
  flex: 1;
  color: #121212;
}

#speech .cta[data-a="hop"] {
  --c: var(--hivergo-palette-14);
}

#speech .cta[data-a="pop"] {
  --c: var(--hivergo-palette-16);
}

#speech.wh .row {
  display: none;
}

#speech.wh .tx {
  min-height: 0;
  font-family: var(--font-editorial);
}

/* CARDS (WELCOME / GLIMPSE / GO AGAIN / EASTER EGGS) */
#card {
  position: fixed;
  inset: 0;
  z-index: 7;
  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.68);
  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.5s 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: 22vw;
}

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

.gl .gb {
  aspect-ratio: 1.5;
  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 {
  display: flex;
  gap: 3.125vw;
}

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

.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: 8;
  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: 3vw;
}

.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 {
    clip-path: none;
    border-radius: 5vw;
  }
}