:root {
  color-scheme: dark;
  --bg: #07070b;
  --panel: rgba(255, 255, 255, .075);
  --panel-strong: rgba(255, 255, 255, .13);
  --line: rgba(255, 255, 255, .12);
  --text: #fff;
  --muted: rgba(255, 255, 255, .58);
  --soft: rgba(255, 255, 255, .38);
  --hot: #ff007f;
  --hot-2: #ff5cab;
  --violet: #7b2cbf;
  --mint: #35f3aa;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #030304;
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button {
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  position: relative;
  width: 100%;
  height: 100dvh;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, .08), transparent 24%),
    linear-gradient(180deg, #07070a, #020203 48%, #000);
}

.app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(255, 255, 255, .025) 17%, transparent 24% 100%),
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, .08), transparent 16%);
  opacity: .35;
  z-index: 1;
}

@media (min-width: 640px) {
  body {
    display: grid;
    place-items: center;
    background:
      radial-gradient(circle at 50% 10%, rgba(255, 255, 255, .07), transparent 24%),
      #030304;
  }

.app-shell {
    height: min(900px, 92dvh);
    border: 8px solid #202027;
    border-radius: 42px;
    box-shadow: 0 34px 100px rgba(0, 0, 0, .58);
  }
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(.985);
  transition: opacity .24s ease, transform .24s ease;
  z-index: 2;
}

.screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.app-screen {
  position: relative;
  display: block;
  height: 100%;
  min-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: calc(18px + var(--safe-top)) 18px calc(18px + var(--safe-bottom));
  isolation: isolate;
}

.app-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, .014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .014) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black 0 35%, transparent 80%);
}

.kicker {
  margin: 0;
  color: var(--hot-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 54px;
  font-weight: 900;
}

.brand-mark .svg-icon {
  width: 34px;
  height: 34px;
}

.entry-screen,
.setup-screen {
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, .08), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(255, 0, 127, .1), transparent 22%),
    #000;
}

.entry-screen::after,
.setup-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 18% 78%, rgba(0, 0, 0, .42));
  mix-blend-mode: screen;
  opacity: .55;
}

.entry-card {
  position: relative;
  z-index: 1;
  min-height: 0;
  margin: 18px 0 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .035)),
    rgba(6, 6, 8, .92);
  padding: 22px 16px 16px;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, .45),
    0 0 60px rgba(255, 255, 255, .04);
  backdrop-filter: blur(24px);
}

.entry-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-weight: 950;
  letter-spacing: .02em;
  text-shadow: 0 0 20px rgba(255, 255, 255, .2);
}

.entry-brand.compact {
  position: sticky;
  top: 0;
  z-index: 18;
  margin: 0 0 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(8, 8, 10, .88);
  padding: 11px;
  backdrop-filter: blur(18px);
}

.top-brand {
  width: 52px;
  min-width: 52px;
  justify-content: center;
  padding: 7px;
}

.top-brand .brand-copy {
  display: none;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45));
}

.brand-copy {
  display: grid;
  gap: 1px;
  text-align: left;
}

.brand-copy strong {
  color: #d5d5dc;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: .04em;
  line-height: 1;
  text-shadow: 0 1px 0 #fff, 0 14px 28px rgba(0, 0, 0, .56);
}

.brand-copy small {
  color: rgba(255, 255, 255, .46);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.entry-sub {
  margin: 6px 0 10px;
  color: rgba(255, 255, 255, .46);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-align: center;
}

.step-dot {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin: 14px auto 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 0, 127, .8), rgba(123, 44, 191, .9));
  color: white;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 0 22px rgba(255, 0, 127, .4);
}

.age-panel,
.preview-panel {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)),
    rgba(255, 255, 255, .035);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  position: relative;
  z-index: 1;
}

.age-panel {
  text-align: center;
}

.age-switch {
  position: relative;
  width: 54px;
  height: 28px;
  margin: 2px auto 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.age-switch span {
  position: absolute;
  top: 4px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, .5);
}

.age-panel h1 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 950;
  text-transform: uppercase;
}

.entry-screen .primary-btn {
  min-height: 50px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .36), rgba(255, 255, 255, .11)),
    linear-gradient(135deg, rgba(255, 0, 127, .46), rgba(48, 222, 255, .42));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    0 14px 34px rgba(48, 222, 255, .16);
  text-transform: uppercase;
}

.preview-panel {
  margin-top: 14px;
}

.preview-panel h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.preview-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.preview-auth div {
  display: grid;
  min-height: 96px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 24% 12%, rgba(255, 255, 255, .13), transparent 25%),
    linear-gradient(145deg, rgba(48, 222, 255, .12), rgba(255, 0, 127, .1));
  padding: 10px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.preview-auth .svg-icon {
  width: 42px;
  height: 42px;
}

.preview-auth span {
  color: rgba(255, 255, 255, .88);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(18px);
}

.age-dialog {
  width: min(100%, 330px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035)),
    #07070a;
  padding: 24px 18px 18px;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .68);
}

.age-dialog img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 12px;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5));
}

.age-dialog h2 {
  margin: 8px 0 16px;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-card {
  margin-top: auto;
  margin-bottom: auto;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .055));
  padding: 28px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.hero-card h1,
.lobby-hero h1,
.mini-head h1,
.onboarding-head h1,
.game-panel h1,
.reveal-sheet h1 {
  margin: 8px 0 0;
  font-size: 34px;
  line-height: .96;
  font-weight: 950;
  letter-spacing: -.02em;
}

.hero-card p:last-of-type,
.lobby-hero p:last-child,
.onboarding-head p:last-child,
.game-panel p,
.reveal-sheet p {
  margin: 12px auto 0;
  max-width: 320px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.42;
}

.lobby-hero p:last-child,
.swap-hero p:last-child {
  min-height: 40px;
}

.primary-btn {
  display: grid;
  width: 100%;
  min-height: 58px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(135deg, #7c2cff 0%, #ff1488 48%, #2eeeff 100%);
  box-shadow:
    0 18px 48px rgba(255, 46, 136, .3),
    0 0 36px rgba(48, 222, 255, .18);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .01em;
  transition: transform .14s ease, filter .14s ease, opacity .14s ease;
}

.primary-btn:active,
.choice-card:active,
.mode-tab:active,
.mode-entry:active,
.pack-card:active {
  transform: scale(.975);
}

.primary-btn.disabled {
  opacity: .42;
  filter: grayscale(.5);
}

.text-btn {
  width: 100%;
  min-height: 44px;
  border-radius: 16px;
  background: transparent;
  color: rgba(255, 255, 255, .48);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bottom-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  margin-top: 18px;
  margin-right: -18px;
  margin-left: -18px;
  padding: 22px 18px 0;
  background: linear-gradient(to top, #000 70%, rgba(0, 0, 0, 0));
}

.setup-screen,
.home-screen,
.store-screen {
  padding-bottom: calc(128px + var(--safe-bottom));
}

.setup-screen {
  padding: calc(14px + var(--safe-top)) 14px calc(22px + var(--safe-bottom));
  padding-bottom: calc(132px + var(--safe-bottom));
}

.setup-screen .bottom-bar {
  position: relative;
  bottom: auto;
  margin-right: -14px;
  margin-left: -14px;
  padding-top: 10px;
  padding-right: 14px;
  padding-left: 14px;
  background: transparent;
}

.onboarding-head,
.mini-head {
  padding-top: 50px;
  text-align: center;
}

.onboarding-stack {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.setup-block,
.picker {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(20, 20, 25, .62);
  padding: 14px;
  backdrop-filter: blur(20px);
}

.setup-screen .setup-block {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  border-color: rgba(255, 255, 255, .095);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .026)),
    rgba(7, 7, 9, .86);
  padding: 11px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 12px 34px rgba(0, 0, 0, .34);
}

.setup-screen .section-title {
  margin-bottom: 10px;
}

.step-title span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.step-title i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hot), var(--violet));
  color: #fff;
  font-size: 10px;
  font-style: normal;
  box-shadow: 0 0 18px rgba(255, 0, 127, .35);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title span {
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title b {
  flex: 0 0 auto;
  max-width: 45%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 46, 136, .16);
  padding: 6px 10px;
  color: #ff9cca;
  font-size: 11px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setup-screen .section-title b {
  background: rgba(48, 222, 255, .14);
  color: #8ff6ff;
}

.two-grid,
.card-grid,
.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stack-list {
  display: grid;
  gap: 10px;
}

.choice-card {
  position: relative;
  display: grid;
  min-height: 150px;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 7%, rgba(255, 255, 255, .62), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .88) 0%, rgba(255, 242, 249, .86) 60%, rgba(28, 16, 26, .72) 148%);
  padding: 12px;
  color: #160812;
  text-align: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
  transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;
}

.two-grid .choice-card {
  min-height: 118px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.choice-card.wide {
  min-height: 94px;
  grid-template-columns: 64px 1fr;
  align-items: center;
  align-content: center;
  gap: 12px;
}

.choice-card[aria-pressed="true"] {
  border-color: #38f4ff;
  background:
    radial-gradient(circle at 80% 8%, rgba(48, 222, 255, .22), transparent 30%),
    radial-gradient(circle at 22% 22%, rgba(255, 0, 127, .16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #ffeaf5 58%, #1b1018 145%);
  box-shadow:
    0 0 0 4px rgba(48, 222, 255, .26) inset,
    0 0 32px rgba(48, 222, 255, .5),
    0 18px 44px rgba(255, 0, 127, .22);
  transform: translateY(-2px);
}

.check {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .52);
  color: transparent;
  font-style: normal;
  font-weight: 950;
  z-index: 7;
}

.choice-card[aria-pressed="true"] .check {
  background: linear-gradient(135deg, #52ffd0, #32eaff);
  color: #03150d;
  box-shadow: 0 0 0 3px rgba(53, 243, 170, .18), 0 0 24px rgba(53, 243, 170, .72);
}

.asset-icon {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .34));
  transition: transform .14s ease, filter .14s ease;
}

.asset-icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.choice-card > .asset-icon {
  position: absolute;
  top: 18px;
  right: auto;
  left: 50%;
  width: 88px;
  height: 88px;
  transform: translateX(-50%);
}

.two-grid .choice-card > .asset-icon,
.choice-card.wide > .asset-icon {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  transform: none;
}

.two-grid .choice-card[aria-pressed="true"] > .asset-icon,
.choice-card.wide[aria-pressed="true"] > .asset-icon {
  transform: scale(1.06) rotate(-2deg);
}

.choice-card[aria-pressed="true"] > .asset-icon {
  transform: translateX(-50%) scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, .18)) drop-shadow(0 16px 20px rgba(0, 0, 0, .35));
}

.svg-icon {
  display: block;
  width: 68px;
  height: 68px;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .28));
  transition: transform .14s ease;
}

.choice-card > .svg-icon {
  position: absolute;
  top: 18px;
  right: auto;
  left: 50%;
  width: 76px;
  height: 76px;
  transform: translateX(-50%);
}

.two-grid .choice-card > .svg-icon,
.choice-card.wide > .svg-icon {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  transform: none;
}

.two-grid .choice-card[aria-pressed="true"] > .svg-icon,
.choice-card.wide[aria-pressed="true"] > .svg-icon {
  transform: scale(1.06) rotate(-2deg);
}

.choice-card[aria-pressed="true"] > .svg-icon {
  transform: translateX(-50%) scale(1.08) rotate(-2deg);
}

.svg-icon svg {
  width: 100%;
  height: 100%;
}

.choice-copy {
  position: relative;
  z-index: 1;
  display: block;
}

.choice-copy strong {
  display: block;
  color: #170914;
  font-size: 16px;
  font-weight: 950;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.name-input {
  min-width: 0;
  height: 52px;
  outline: none;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 16px;
  background:
    linear-gradient(180deg, #fff 0%, #fff4fa 70%, #f3ddea 100%);
  padding: 0 14px;
  color: #160812;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.name-input::placeholder {
  color: rgba(22, 8, 18, .45);
}

.name-input:focus {
  border-color: var(--hot);
  box-shadow: 0 0 0 3px rgba(255, 0, 127, .18), 0 12px 24px rgba(0, 0, 0, .18);
}

.random-btn {
  min-width: 86px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff1488, #7c2cff);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(255, 0, 127, .24);
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.avatar-grid .choice-card {
  min-height: 132px;
  padding: 10px 8px 12px;
}

.avatar-grid .choice-card > .asset-icon {
  top: 10px;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 999px;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .28));
}

.avatar-grid .asset-icon img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.avatar-grid .choice-copy strong {
  font-size: 12px;
  opacity: .72;
}

.avatar-grid .choice-copy small {
  display: none;
}

.choice-copy small {
  display: block;
  margin-top: 4px;
  color: rgba(23, 9, 20, .62);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.choice-card[aria-pressed="true"] .choice-copy small {
  color: rgba(23, 9, 20, .72);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 2px 0 6px;
}

.top-brand {
  display: flex;
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)),
    rgba(0, 0, 0, .54);
  padding: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 28px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.top-brand .brand-logo {
  width: 42px;
  height: 42px;
}

.top-brand .brand-copy {
  display: none;
}

.wallet,
.online {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045)),
    rgba(0, 0, 0, .52);
  padding: 8px 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 28px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.wallet {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.wallet small {
  color: rgba(255, 255, 255, .45);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wallet strong,
.online span {
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.online i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(53, 243, 170, .85);
}

.lobby-hero {
  display: grid;
  place-items: center;
  padding-top: 34px;
  text-align: center;
}

.swap-hero {
  padding-top: 22px;
  text-align: center;
}

.swap-hero h1 {
  margin: 8px 0 0;
  font-size: 32px;
  line-height: .96;
  font-weight: 950;
  letter-spacing: -.02em;
}

.swap-hero p:last-child {
  max-width: 330px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.42;
}

.pulse-logo {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, .14), transparent 38%),
    linear-gradient(145deg, rgba(255, 46, 136, .18), rgba(124, 60, 255, .1)),
    rgba(255, 255, 255, .035);
  box-shadow: 0 24px 70px rgba(255, 46, 136, .12), inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: float 4s ease-in-out infinite;
}

.pulse-logo .svg-icon {
  width: 78px;
  height: 78px;
}

.brand-pulse img {
  display: block;
  width: 108px;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5));
}

.hero-brand {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.hero-brand-copy {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.hero-brand-copy h1 {
  margin: 0;
  color: #d7d7dd;
  font-size: 42px;
  line-height: .9;
  font-weight: 950;
  letter-spacing: -.025em;
  text-shadow:
    0 1px 0 #ffffff,
    0 2px 0 rgba(88, 88, 96, .9),
    0 14px 30px rgba(0, 0, 0, .72),
    0 0 22px rgba(255, 255, 255, .08);
}

.hero-brand-copy p {
  margin: 0;
  color: #a9a9b1;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .28), 0 12px 24px rgba(0, 0, 0, .5);
}

@keyframes float {
  50% {
    transform: translateY(-7px);
  }
}

.mode-entry-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.mode-entry {
  position: relative;
  display: grid;
  min-height: 126px;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  background: rgba(20, 20, 25, .54);
  padding: 14px 16px 14px 12px;
  text-align: left;
  backdrop-filter: blur(18px);
  transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;
}

.mode-entry::after {
  content: "";
  position: absolute;
  inset: -45% -20% auto auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(255, 46, 136, .12);
}

.mode-entry[aria-selected="true"] {
  border-color: rgba(255, 0, 127, .95);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .2), transparent 22%),
    linear-gradient(135deg, rgba(255, 0, 127, .42), rgba(123, 44, 191, .24));
  box-shadow:
    0 0 0 2px rgba(255, 46, 136, .42) inset,
    0 18px 44px rgba(255, 46, 136, .16);
}

.mode-entry .check {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .16);
  color: transparent;
}

.mode-entry[aria-selected="true"] .check {
  background: linear-gradient(135deg, #52ffd0, #32eaff);
  color: #03150d;
  box-shadow: 0 0 0 3px rgba(53, 243, 170, .14), 0 0 24px rgba(53, 243, 170, .48);
}

.mode-art {
  position: relative;
  z-index: 1;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, .16), transparent 34%),
    rgba(255, 255, 255, .045);
}

.mode-art img {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .42));
}

.mode-entry > span {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
}

.mode-entry strong,
.mode-entry small {
  display: block;
}

.mode-entry strong {
  min-height: 24px;
  overflow: hidden;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -.01em;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mode-entry small {
  margin-top: 6px;
  min-height: 34px;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  overflow: hidden;
}

.mode-entry[aria-selected="true"] small {
  color: rgba(255, 255, 255, .78);
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .07);
  padding: 7px;
}

.mode-tab {
  min-height: 66px;
  border-radius: 18px;
  background: transparent;
  text-align: left;
  padding: 12px;
}

.mode-tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--hot), var(--violet));
  box-shadow: 0 12px 32px rgba(255, 46, 136, .25);
}

.mode-tab strong,
.mode-tab small {
  display: block;
}

.mode-tab strong {
  font-size: 15px;
  font-weight: 950;
}

.mode-tab small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  font-weight: 850;
}

.mode-tab[aria-selected="true"] small {
  color: rgba(255, 255, 255, .82);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.summary-pill {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035)),
    rgba(0, 0, 0, .44);
  padding: 12px;
  min-height: 70px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.summary-pill small,
.summary-pill strong {
  display: block;
}

.summary-pill small {
  color: rgba(255, 255, 255, .43);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.summary-pill strong {
  margin-top: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  min-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker {
  margin-top: 12px;
}

.swap-screen,
.game-select-screen {
  padding-bottom: calc(26px + var(--safe-bottom));
}

.target-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
    rgba(0, 0, 0, .5);
  padding: 8px;
  backdrop-filter: blur(20px);
}

.target-label {
  min-width: 86px;
  padding-left: 8px;
}

.target-label small,
.target-label strong {
  display: block;
}

.target-label small {
  color: rgba(255, 255, 255, .42);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.target-label strong {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 950;
}

.target-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  padding: 4px;
}

.target-chip {
  min-height: 34px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .52);
  font-size: 12px;
  font-weight: 950;
}

.target-chip[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--hot), var(--violet));
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 0, 127, .25);
}

.request-panel {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(20, 20, 25, .54);
  padding: 14px;
  backdrop-filter: blur(18px);
}

.request-input {
  width: 100%;
  min-height: 92px;
  resize: none;
  outline: none;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: rgba(0, 0, 0, .26);
  padding: 14px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.42;
}

.request-input::placeholder {
  color: rgba(255, 255, 255, .34);
}

.request-input:focus {
  border-color: rgba(255, 46, 136, .82);
  box-shadow: 0 0 0 2px rgba(255, 46, 136, .2);
}

.back-pill {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045)),
    rgba(0, 0, 0, .52);
  padding: 8px 14px;
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 28px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.match-screen {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.radar {
  position: absolute;
  inset: 0;
}

.radar span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  margin: -120px;
  border: 1px solid rgba(255, 46, 136, .42);
  border-radius: 999px;
  animation: ping 1.45s ease-out infinite;
}

.radar span:nth-child(2) {
  animation-delay: .45s;
}

.radar span:nth-child(3) {
  animation-delay: .9s;
}

@keyframes ping {
  from {
    opacity: .9;
    transform: scale(.4);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}

.match-card {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, .075);
  padding: 24px 16px;
  text-align: center;
  backdrop-filter: blur(18px);
}

.versus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.versus > b {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 46, 136, .72);
  border-radius: 999px;
  background: #07070b;
  color: var(--hot-2);
  font-size: 13px;
  box-shadow: 0 0 28px rgba(255, 46, 136, .42);
}

.avatar-pod {
  display: grid;
  justify-items: center;
  width: 112px;
  gap: 10px;
}

.avatar,
.slot {
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.avatar img,
.slot img {
  width: 94px;
  height: 94px;
  object-fit: cover;
}

.avatar .svg-icon {
  width: 56px;
  height: 56px;
}

.avatar-pod span {
  max-width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slot-strip {
  display: flex;
  flex-direction: column;
  animation: slotRoll .75s linear infinite;
}

@keyframes slotRoll {
  to {
    transform: translateY(-376px);
  }
}

.match-note {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.game-screen {
  align-items: center;
  justify-content: space-between;
  padding-bottom: calc(34px + var(--safe-bottom));
}

.game-panel {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, .075);
  padding: 22px;
  text-align: center;
}

.score-track {
  position: relative;
  height: 48px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(70, 132, 255, .22);
}

.score-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hot), var(--hot-2));
  transition: width .12s ease;
}

.score-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, .7);
}

.tap-button {
  display: grid;
  width: 174px;
  height: 174px;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: radial-gradient(circle at 34% 24%, #fff, #ff9dcc 20%, var(--hot) 52%, var(--violet));
  box-shadow: 0 0 60px rgba(255, 46, 136, .5);
}

.tap-button strong,
.tap-button small {
  display: block;
}

.tap-button strong {
  margin-bottom: -42px;
  font-size: 34px;
  font-weight: 950;
}

.tap-button small {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 950;
}

.camera-screen {
  padding: 0;
  background: #000;
}

.camera-video,
.captured-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.camera-video {
  transform: scaleX(-1);
}

.hidden {
  display: none !important;
}

.editor-text {
  position: absolute;
  z-index: 15;
  max-width: 82%;
  min-width: 90px;
  padding: 5px 10px;
  color: white;
  font-size: 38px;
  font-weight: 950;
  line-height: .98;
  text-align: center;
  text-shadow: 0 4px 14px rgba(0, 0, 0, .86);
  outline: none;
  touch-action: none;
}

.editor-text.inactive {
  display: none !important;
}

.editor-text:empty::before {
  content: "Text";
  color: rgba(255, 255, 255, .6);
}

.camera-ui {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(50px + var(--safe-top)) 22px calc(24px + var(--safe-bottom));
  pointer-events: none;
}

.camera-chip {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(0, 0, 0, .52);
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 950;
  backdrop-filter: blur(16px);
}

.camera-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: auto;
}

.shutter {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 4px solid white;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}

.shutter span {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: white;
}

.round-btn {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(0, 0, 0, .56);
  font-size: 28px;
  font-weight: 800;
}

.tool-btn {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(0, 0, 0, .56);
  color: #fff;
  font-size: 25px;
  font-weight: 950;
  backdrop-filter: blur(16px);
}

.send-btn {
  width: auto;
  min-width: 196px;
  padding-inline: 22px;
}

.trash-zone {
  position: absolute;
  left: 50%;
  bottom: calc(112px + var(--safe-bottom));
  z-index: 24;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 26, 88, .82);
  box-shadow: 0 0 38px rgba(255, 26, 88, .38);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px) scale(.82);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.trash-zone.visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.trash-zone.armed {
  background: rgba(255, 0, 64, .98);
  transform: translate(-50%, 0) scale(1.12);
}

.trash-zone .svg-icon {
  width: 34px;
  height: 34px;
}

.trash-zone span {
  margin-top: -14px;
  color: rgba(255, 255, 255, .9);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.standoff-screen {
  padding: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 0, 127, .14), transparent 34%),
    #050508;
}

.standoff-half {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 46, 136, .36);
}

.standoff-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) brightness(.72);
  transform: scale(1.08);
}

.standoff-half div {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .22);
}

.standoff-half span {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(0, 0, 0, .52);
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 950;
}

.countdown {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 122px;
  font-weight: 950;
  text-shadow: 0 0 48px rgba(255, 255, 255, .8);
  pointer-events: none;
  animation: count 1s ease-in-out infinite;
}

@keyframes count {
  50% {
    opacity: .28;
    transform: scale(1.08);
  }
}

.reveal-screen {
  padding: 0;
  background: #050508;
}

.reveal-image {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.reveal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flicker {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, transparent 0 34%, rgba(0, 0, 0, .18) 54%, rgba(0, 0, 0, .68) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 20% 80%, rgba(0, 0, 0, .45));
  pointer-events: none;
}

.reveal-sheet {
  margin: -30px 18px calc(16px + var(--safe-bottom));
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(12, 12, 18, .9);
  padding: 22px;
  text-align: center;
  backdrop-filter: blur(18px);
}

.reveal-sheet .primary-btn {
  margin-top: 18px;
}

.pack-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.pack-card {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .075);
  padding: 16px;
}

.pack-card strong,
.pack-card small {
  display: block;
}

.pack-card strong {
  font-size: 24px;
  font-weight: 950;
}

.pack-card small {
  color: rgba(255, 255, 255, .48);
  font-size: 12px;
  font-weight: 850;
}

.pack-card b {
  border-radius: 14px;
  background: #fff;
  padding: 10px 14px;
  color: #050508;
  font-size: 13px;
  font-weight: 950;
}

.toast {
  position: absolute;
  top: calc(14px + var(--safe-top));
  left: 50%;
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(5, 5, 8, .9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .36);
  color: white;
  font-size: 13px;
  font-weight: 950;
  opacity: 0;
  transform: translate(-50%, -22px);
  transition: opacity .22s ease, transform .22s ease;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-height: 740px) {
  .lobby-hero {
    padding-top: 18px;
  }

  .pulse-logo {
    width: 86px;
    height: 86px;
    border-radius: 26px;
  }

  .pulse-logo .svg-icon {
    width: 60px;
    height: 60px;
  }

  .brand-pulse img {
    width: 78px;
    height: 78px;
  }

  .lobby-hero h1,
  .hero-card h1,
  .onboarding-head h1 {
    font-size: 28px;
  }

  .lobby-hero p:last-child {
    display: none;
  }

  .choice-card {
    min-height: 112px;
  }

  .choice-card > .svg-icon {
    width: 58px;
    height: 58px;
  }

  .choice-copy strong {
    font-size: 15px;
  }
}
