:root {
  --bg: #04000d;
  --panel: #090716;
  --panel-2: #10091f;
  --ink: #f7fbff;
  --muted: #b7a8c9;
  --line: rgba(201, 68, 255, .24);
  --green: #25f06a;
  --cyan: #4eb7ff;
  --gold: #ffc23d;
  --gold-2: #ffe89a;
  --magenta: #8f27d8;
  --violet: #5f00dd;
  --purple: #8d2be8;
  --deep-purple: #25004e;
  --red: #ff3d67;
  --shadow: 0 20px 70px rgba(0, 0, 0, .62);
  --neon-shadow: 0 0 28px rgba(184, 42, 255, .28), 0 18px 52px rgba(0, 0, 0, .56);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body,
.app-shell,
.button,
.nav,
.onboarding,
.game-host {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

#app:focus,
#app:focus-visible {
  outline: none;
}

::selection {
  color: inherit;
  background: transparent;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #020007;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    radial-gradient(circle at 50% 20%, rgba(123, 28, 255, .2), transparent 22rem),
    radial-gradient(ellipse at 50% 100%, rgba(95, 0, 221, .16), transparent 30rem);
  opacity: 1;
}

body::after {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.app-shell {
  position: relative;
  isolation: isolate;
  width: min(100vw, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 5.5rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(2, 0, 8, 0) 0, rgba(2, 0, 8, .08) 18rem, rgba(2, 0, 9, .7) 30rem, #020007 45rem),
    url("assets/images/background.png?v=20260527-0075") center top / 100% auto no-repeat,
    #04000d;
  box-shadow: 0 0 0 1px rgba(201, 68, 255, .16), 0 0 80px rgba(130, 20, 255, .18);
}

body[data-route="home"] .app-shell {
  height: 100dvh;
  padding-bottom: 5.5rem;
  overflow: hidden;
}

body[data-route="home"] {
  overflow: hidden;
}

body.game-round-active .topbar,
body.game-round-active .view-toggle {
  opacity: .42;
  pointer-events: none;
}

.topbar {
  position: fixed;
  right: max(.75rem, calc((100vw - 430px) / 2 + .75rem));
  bottom: max(.65rem, env(safe-area-inset-bottom));
  left: max(.75rem, calc((100vw - 430px) / 2 + .75rem));
  z-index: 20;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .45rem;
  overflow: hidden;
  background: rgba(4, 0, 13, .9);
  border: 1px solid rgba(110, 27, 175, .52);
  border-radius: 1.35rem;
  box-shadow: 0 -10px 46px rgba(0, 0, 0, .42), 0 0 28px rgba(184, 42, 255, .24);
  backdrop-filter: blur(18px);
}

.brand {
  display: none;
  min-width: 0;
  align-items: center;
  gap: .65rem;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 184, 48, .36);
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 189, 43, .55));
}

.brand-shell {
  transform: scale(1.22);
}

.topbar-account {
  display: none;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
}

.account-chip,
.topbar-logout {
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: .85rem;
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}

.account-chip {
  max-width: 11rem;
  overflow: hidden;
  padding: 0 .75rem;
  color: #fff;
  background: linear-gradient(135deg, #500096, #a918ff 52%, #ff3cc7);
  box-shadow: 0 0 24px rgba(176, 44, 255, .28);
  text-overflow: ellipsis;
}

.topbar-logout {
  color: var(--ink);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0 .65rem;
}

.nav {
  position: static;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: .25rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.nav a {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: 1rem;
  font-size: .7rem;
  font-weight: 520;
}

.nav a.is-active {
  color: #fff;
  background: linear-gradient(180deg, #5f00dd 0%, #43008f 52%, #25004e 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 20px rgba(37, 0, 78, .32);
}

.page {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 1.35rem;
}

.compact {
  padding-top: 1.25rem;
}

.play-page.is-playing {
  width: min(100%, 1280px);
  padding: .45rem;
}

.onboarding {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100vh - 5.5rem);
  padding-top: max(1.5rem, env(safe-area-inset-top));
}

body[data-route="home"] .onboarding {
  min-height: calc(100dvh - 5.5rem);
}

.onboarding-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.onboarding-track::-webkit-scrollbar {
  display: none;
}

.onboarding-slide {
  display: flex;
  flex: 0 0 100%;
  min-height: calc(100vh - 11rem);
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  scroll-snap-align: start;
  text-align: center;
  padding: clamp(.85rem, 2.2vh, 1.45rem) .15rem 1rem;
}

body[data-route="home"] .onboarding-slide {
  min-height: calc(100dvh - 5.5rem);
}

.welcome-slide {
  position: relative;
  overflow: visible;
}

.welcome-slide::before {
  display: none;
}

.moon {
  display: none;
}

.hero-logo,
.onboarding-slide > img {
  width: min(42vw, 9rem);
  height: min(42vw, 9rem);
  margin-bottom: 1.8rem;
  border-radius: 999px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(255, 188, 48, .78))
    drop-shadow(0 24px 28px rgba(0,0,0,.42));
}

.hero-logo {
  width: min(48vw, 10.5rem);
  height: min(48vw, 10.5rem);
}

.welcome-slide .hero-wordmark {
  width: min(58vw, 13.2rem);
  height: auto;
  max-height: 20vh;
  margin: clamp(1.35rem, 4.1vh, 2.35rem) 0 clamp(4.2rem, 8.9vh, 5.15rem);
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .32));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 .55rem;
  color: var(--purple);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: .9rem;
  font-size: clamp(2.45rem, 12vw, 3.8rem);
  line-height: .94;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(160, 62, 255, .28);
}

h2 {
  margin-bottom: .35rem;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.welcome-title {
  margin: 0 0 .18rem;
  color: #fff;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.04rem, 4vw, 1.28rem);
  font-weight: 440;
  letter-spacing: .045em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .34);
}

.lead,
.section-heading p,
.game-launch p {
  color: var(--muted);
  line-height: 1.55;
}

.welcome-slide .lead {
  color: rgba(201, 190, 218, .8);
  font-size: .78rem;
  line-height: 1.18;
}

.welcome-slide h1 {
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 14vw, 5.4rem);
  letter-spacing: .02em;
  text-shadow:
    0 1px 0 #7e4b0b,
    0 0 18px rgba(255, 195, 53, .55),
    0 22px 50px rgba(0, 0, 0, .62);
}

.hero-cta {
  width: 100%;
  margin-top: 0;
}

.welcome-actions {
  display: grid;
  width: min(100%, 20.65rem);
  gap: .62rem;
  margin-top: clamp(1.45rem, 3.25vh, 1.9rem);
}

.welcome-actions .button {
  display: grid;
  grid-template-columns: 3rem 1fr 1.72rem;
  min-height: 3.16rem;
  align-items: center;
  border-radius: .95rem;
  border-width: 1px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: .86rem;
  font-weight: 520;
  letter-spacing: .01em;
  text-align: left;
}

.auth-icon,
.auth-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  line-height: 1;
}

.auth-icon {
  justify-self: start;
}

.auth-arrow {
  color: #fff;
  font-size: 2.32rem;
  font-weight: 360;
}

.phone-mark,
.google-mark {
  width: 1.86rem;
  height: 1.86rem;
}

.phone-mark {
  color: #fff;
  transform: translateX(-5px);
}

.google-mark {
  transform: translateX(0px);
}

.apple-mark {
  transform: translateX(-6px);
}

.email-mark {
  transform: translateX(-1px);
}

.phone-mark svg {
  transform: scale(1.18);
  transform-origin: 50% 50%;
}

.phone-mark svg,
.google-mark svg {
  display: block;
  width: 1.86rem;
  height: 1.86rem;
}

.apple-mark svg {
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  transform: scale(1.18);
  transform-origin: 50% 50%;
}

.apple-option {
  background: #000;
  border-color: rgba(255, 255, 255, .24);
}

.auth-option {
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 13, 18, .96), rgba(0, 0, 4, .96));
  border-color: rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 24px rgba(0, 0, 0, .34);
}

.welcome-actions .apple-option {
  background: #000;
  border-color: rgba(255, 255, 255, .24);
}

.email-option {
  color: #8d2be8;
  border-color: rgba(116, 22, 197, .82);
  background: rgba(4, 0, 13, .44);
}

.email-option .auth-icon,
.email-option .auth-arrow {
  color: #8d2be8;
}

.email-mark,
.email-mark svg {
  width: 2.12rem;
  height: 2.12rem;
}

.or-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .65rem;
  color: #8d2be8;
  font-size: .72rem;
  font-weight: 520;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.or-divider::before,
.or-divider::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  content: "";
}

.signup-line,
.secure-line {
  margin: .9rem 0 0;
  color: rgba(242, 235, 255, .78);
  font-size: .72rem;
}

.signup-line a {
  color: #8d2be8;
  font-weight: 520;
}

.secure-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  margin-top: 1.02rem;
  color: rgba(183, 168, 201, .72);
}

.secure-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  color: #8d2be8;
}

.secure-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.terms-line {
  display: flex;
  width: min(100%, 22rem);
  align-items: center;
  justify-content: center;
  gap: .32rem;
  margin: .95rem auto 0;
  color: rgba(242, 235, 255, .72);
  font-size: clamp(.56rem, 1.95vw, .64rem);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.terms-line a {
  color: #8d2be8;
  font-weight: 520;
}

.terms-check {
  display: inline-flex;
  width: 1.28rem;
  height: 1.28rem;
  align-items: center;
  justify-content: center;
  margin-right: .18rem;
  color: #fff;
  background: linear-gradient(180deg, #5f00dd 0%, #43008f 58%, #25004e 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: .22rem;
  box-shadow: 0 0 14px rgba(176, 44, 255, .28);
  font-size: .75rem;
  font-weight: 540;
  vertical-align: middle;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  cursor: pointer;
  font-weight: 540;
  padding: .85rem 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.welcome-actions .auth-option {
  border: 1px solid rgba(255, 255, 255, .22);
}

.welcome-actions .apple-option {
  border: 1px solid rgba(255, 255, 255, .24);
}

.welcome-actions .button {
  min-height: 3.16rem;
  padding: .62rem 1rem;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(180deg, #5f00dd 0%, #43008f 50%, #25004e 100%);
  border-color: rgba(105, 29, 185, .9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 14px 32px rgba(0, 0, 0, .46);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .035);
  border-color: var(--line);
}

.welcome-actions .email-option {
  color: #8d2be8;
  background: rgba(4, 0, 13, .44);
  border-color: rgba(116, 22, 197, .82);
}

.welcome-actions .email-option .auth-icon,
.welcome-actions .email-option .auth-arrow {
  color: #8d2be8;
}

.view-toggle {
  display: none;
}

.reward-card,
.game-launch,
.wallet-grid article,
.auth-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(80, 20, 139, .18), transparent 44%),
    rgba(8, 4, 20, .82);
  box-shadow: var(--neon-shadow);
}

.reward-card span,
.wallet-grid span,
.auth-panel label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}

.reward-card {
  width: min(100%, 22rem);
  margin-bottom: 1.75rem;
  border-radius: 1.3rem;
  padding: 1.4rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 195, 45, .2), transparent 8rem),
    linear-gradient(135deg, rgba(124, 23, 255, .32), rgba(255, 45, 194, .1)),
    var(--panel-2);
  box-shadow: var(--neon-shadow);
}

.reward-card strong {
  display: block;
  margin: .45rem 0;
  color: var(--gold);
  font-size: 2.4rem;
}

.reward-card small {
  color: #c6d0df;
}

.slide-art {
  position: relative;
  width: min(78vw, 19rem);
  height: 13rem;
  margin-bottom: 1.5rem;
}

.slide-art img {
  position: absolute;
  width: 7rem;
  height: 9rem;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(190, 45, 255, .34)) drop-shadow(0 18px 22px rgba(0,0,0,.34));
}

.slide-art img:nth-child(1) {
  left: 0;
  bottom: 0;
  rotate: -9deg;
}

.slide-art img:nth-child(2) {
  left: 50%;
  top: 0;
  translate: -50% 0;
}

.slide-art img:nth-child(3) {
  right: 0;
  bottom: .3rem;
  rotate: 8deg;
}

.onboarding-controls {
  display: none;
  gap: 1rem;
  padding-bottom: 1rem;
}

.dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
}

.dot {
  width: .65rem;
  height: .65rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
  padding: 0;
}

.dot.is-active {
  width: 2.2rem;
  background: linear-gradient(135deg, var(--purple), var(--magenta));
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h1 {
  margin-bottom: .6rem;
  font-size: clamp(2.15rem, 11vw, 3.4rem);
}

.section-heading {
  position: relative;
}

.section-heading::after {
  display: block;
  width: 5.5rem;
  height: 2px;
  margin-top: .75rem;
  background: linear-gradient(90deg, var(--purple), transparent);
  content: "";
}

.competition-hero {
  position: relative;
  display: grid;
  min-height: 15rem;
  margin-bottom: .8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.1rem;
  background:
    radial-gradient(circle at 74% 30%, rgba(255, 193, 49, .22), transparent 6rem),
    radial-gradient(circle at 92% 24%, rgba(196, 61, 255, .35), transparent 10rem),
    linear-gradient(135deg, rgba(25, 4, 55, .95), rgba(4, 0, 13, .92));
  box-shadow: var(--neon-shadow);
}

.competition-hero h2,
.competition-hero strong,
.competition-hero p {
  position: relative;
  z-index: 1;
}

.competition-hero h2 {
  margin: .9rem 0 .35rem;
  color: #fff;
  font-size: clamp(2.4rem, 11vw, 4.1rem);
  line-height: .95;
  text-transform: uppercase;
}

.competition-hero strong {
  display: block;
  color: var(--gold);
  font-size: clamp(2rem, 9vw, 3.2rem);
  line-height: 1;
  text-shadow: 0 0 24px rgba(255, 194, 61, .42);
}

.competition-hero strong span {
  font-size: .55em;
}

.competition-hero p {
  max-width: 18rem;
}

.pill-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(196, 61, 255, .4);
  border-radius: .55rem;
  padding: .35rem .65rem;
  color: #f4d8ff;
  background: rgba(128, 16, 235, .22);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.balloon-cluster {
  position: absolute;
  right: -.4rem;
  top: .4rem;
  width: 13rem;
  height: 11rem;
  pointer-events: none;
}

.balloon-cluster img {
  position: absolute;
  width: 5.5rem;
  filter: drop-shadow(0 0 24px rgba(196, 61, 255, .5));
}

.balloon-cluster img:nth-child(1) {
  right: 3.8rem;
  top: .2rem;
  width: 7.4rem;
}

.balloon-cluster img:nth-child(2) {
  left: .2rem;
  top: 2rem;
}

.balloon-cluster img:nth-child(3) {
  right: .4rem;
  top: 2.6rem;
}

.competition-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin-bottom: .8rem;
}

.competition-stats article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: .95rem;
  padding: .75rem;
  background: rgba(8, 4, 20, .72);
}

.competition-stats span {
  display: block;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 850;
}

.competition-stats strong {
  display: block;
  margin-top: .25rem;
  color: var(--gold);
  font-size: clamp(.95rem, 4vw, 1.25rem);
}

.game-launch {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  align-items: center;
  border-radius: 1.25rem;
  padding: .9rem;
  background:
    linear-gradient(135deg, rgba(88, 10, 170, .22), rgba(255, 184, 47, .08)),
    rgba(8, 4, 20, .84);
  box-shadow: var(--neon-shadow);
}

.game-launch .button {
  grid-column: 1 / -1;
}

.game-launch-icon {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(66, 170, 255, .46)) drop-shadow(0 12px 14px rgba(0,0,0,.28));
}

.game-launch-icon--shell {
  transform: scale(.9);
  filter: drop-shadow(0 0 18px rgba(255, 213, 92, .34)) drop-shadow(0 12px 14px rgba(0,0,0,.28));
}

.game-host {
  margin-top: .9rem;
}

.game-host,
.game-host * {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.game-host[hidden] {
  display: none;
}

.game-host.is-active {
  display: grid;
  min-height: calc(100dvh - 6.2rem);
  margin-top: 0;
  align-items: center;
}

html.game-landscape-fullscreen,
body.game-landscape-fullscreen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.game-landscape-fullscreen {
  position: fixed;
  inset: 0;
  touch-action: none;
}

body.game-landscape-fullscreen .topbar,
body.game-landscape-fullscreen .nav {
  display: none;
}

body.game-landscape-fullscreen .app-shell {
  width: var(--game-vw, 100vw);
  height: var(--game-vh, 100dvh);
  min-height: var(--game-vh, 100dvh);
  padding: 0;
  overflow: hidden;
}

body.game-landscape-fullscreen .play-page.is-playing {
  width: var(--game-vw, 100vw);
  height: var(--game-vh, 100dvh);
  padding: 0;
  overflow: hidden;
}

.game-host.is-landscape-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  width: var(--game-vw, 100vw);
  height: var(--game-vh, 100dvh);
  min-height: 0;
  margin: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  overflow: hidden;
  align-items: center;
  justify-items: center;
  background: #070b14;
  touch-action: none;
}

.wallet-grid {
  display: grid;
  gap: .75rem;
}

.wallet-balance-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: .85rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.15rem;
  background:
    radial-gradient(circle at 82% 30%, rgba(255, 193, 49, .26), transparent 7rem),
    linear-gradient(135deg, rgba(17, 7, 48, .96), rgba(43, 5, 79, .72));
  box-shadow: var(--neon-shadow);
}

.wallet-balance-card::after {
  position: absolute;
  inset: auto -10% 0;
  height: 5rem;
  background: linear-gradient(90deg, transparent, rgba(196, 61, 255, .28), transparent);
  content: "";
}

.wallet-balance-card span {
  color: var(--muted);
  font-weight: 850;
}

.wallet-balance-card strong {
  display: block;
  margin: .45rem 0 .2rem;
  font-size: clamp(2.25rem, 11vw, 3.8rem);
  line-height: 1;
  text-shadow: 0 0 22px rgba(255, 255, 255, .18);
}

.wallet-balance-card small {
  color: var(--gold);
  font-weight: 850;
}

.wallet-cowry {
  width: min(25vw, 7.5rem);
  max-height: 10rem;
  justify-self: end;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(255, 184, 48, .58));
}

.wallet-grid article {
  border-radius: 1rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 88% 20%, rgba(196, 61, 255, .16), transparent 5rem),
    rgba(7, 4, 18, .82);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .3);
}

.wallet-grid strong {
  display: block;
  margin-top: .35rem;
  font-size: 1.7rem;
  color: var(--gold);
}

.transaction-panel {
  margin-top: .9rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: .9rem;
  background: rgba(6, 3, 16, .82);
  box-shadow: var(--neon-shadow);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .4rem;
}

.panel-title h2 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}

.panel-title a {
  color: var(--purple);
  font-size: .82rem;
  font-weight: 900;
}

.transaction-panel article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .85rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.transaction-panel article:first-of-type {
  border-top: 0;
}

.transaction-panel span {
  color: var(--muted);
}

.transaction-panel strong {
  color: var(--green);
}

.auth-panel {
  display: grid;
  gap: .9rem;
  border-radius: 1.25rem;
  padding: 1rem;
}

.account-status {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.auth-panel label {
  display: grid;
  gap: .45rem;
}

.auth-actions,
.social-actions {
  display: grid;
  gap: .65rem;
}

.auth-actions {
  grid-template-columns: 1fr 1fr;
}

.social-button.is-unavailable {
  cursor: not-allowed;
  opacity: .58;
}

.auth-panel input {
  width: 100%;
  color: var(--ink);
  background: #06020f;
  border: 1px solid var(--line);
  border-radius: .9rem;
  outline: none;
  padding: .9rem;
}

.auth-panel input:focus {
  border-color: rgba(196, 61, 255, .85);
  box-shadow: 0 0 0 4px rgba(196, 61, 255, .13);
}

.form-message {
  color: var(--muted);
  margin: 0;
}

.balloon-game {
  display: grid;
  grid-template-rows: auto auto auto;
  width: 100%;
  max-width: min(100%, max(22rem, calc((100dvh - 12.5rem) * 16 / 9)));
  max-height: calc(100dvh - 6.2rem);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(196, 61, 255, .34);
  border-radius: 1.25rem;
  background: var(--panel);
  box-shadow: var(--neon-shadow);
}

.game-host.is-landscape-fullscreen .balloon-game {
  position: relative;
  display: grid;
  grid-template: "hud stage controls" 1fr / clamp(4.8rem, 12vw, 6.8rem) minmax(0, 1fr) clamp(5.8rem, 15vw, 8rem);
  gap: clamp(.45rem, 1.2vw, .8rem);
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.game-host.is-landscape-fullscreen .game-arena {
  grid-area: stage;
  width: min(
    100%,
    calc((var(--game-vh, 100dvh) - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * 16 / 9)
  );
  height: auto;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.game-host.is-landscape-fullscreen .game-hud {
  position: static;
  grid-area: hud;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  align-self: center;
  align-content: start;
  width: 100%;
  max-height: 100%;
  gap: clamp(.3rem, 1vw, .55rem);
  padding: 0;
  border: 0;
  pointer-events: auto;
}

.game-host.is-landscape-fullscreen .game-stat {
  min-height: clamp(2.35rem, 14vh, 4.5rem);
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  border-radius: .75rem;
  font-size: clamp(.68rem, 1.6vw, .85rem);
  padding: .35rem .45rem;
  background: rgba(10, 16, 28, .74);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.game-host.is-landscape-fullscreen .game-stat strong {
  font-size: clamp(1rem, 3vw, 1.55rem);
}

.game-host.is-landscape-fullscreen .game-footer {
  position: static;
  grid-area: controls;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  align-self: center;
  width: 100%;
  max-height: 100%;
  gap: clamp(.4rem, 1vw, .65rem);
  padding: 0;
  border: 0;
  pointer-events: auto;
}

.game-host.is-landscape-fullscreen .game-footer .button {
  min-height: clamp(2.4rem, 13vh, 4.2rem);
  border-radius: .7rem;
  padding: .35rem .55rem;
  background: rgba(16, 22, 34, .82);
  backdrop-filter: blur(10px);
}

.game-host.is-landscape-fullscreen .game-message {
  text-align: center;
  font-size: clamp(.68rem, 1.6vw, .85rem);
  line-height: 1.25;
  padding: .35rem;
  border-radius: .6rem;
  background: rgba(10, 16, 28, .66);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.game-host.is-landscape-fullscreen .game-start-screen {
  padding: 1rem;
}

.game-hud {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  padding: .7rem;
  border-bottom: 1px solid var(--line);
}

.game-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  color: var(--muted);
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  border-radius: .9rem;
  font-size: .8rem;
  font-weight: 850;
  padding: .55rem .7rem;
}

.game-stat strong {
  color: var(--ink);
}

.game-arena {
  position: relative;
  contain: layout paint;
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  min-height: 0;
  touch-action: none;
  --pop-shake-x: 0px;
  --pop-shake-y: 0px;
  --pop-shake-rotate: 0deg;
  background: #070b14;
}

.game-video-bg,
.game-music-visualizer {
  position: absolute;
  pointer-events: none;
}

.game-video-bg {
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform:
    translate3d(var(--pop-shake-x), var(--pop-shake-y), 0)
    rotate(var(--pop-shake-rotate));
  transition: opacity 160ms linear;
}

.game-video-bg.is-active {
  opacity: 1;
}

.game-music-visualizer {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.game-pixi-canvas {
  position: relative;
  z-index: 2;
  display: block;
  width: 100% !important;
  height: 100% !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.tower-defense-game {
  position: relative;
  width: 100%;
  max-width: min(100%, max(22rem, calc((100dvh - 12.5rem) * 16 / 9)));
  max-height: calc(100dvh - 6.2rem);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(196, 61, 255, .34);
  border-radius: 1.25rem;
  background: #8fc6ff;
  box-shadow: var(--neon-shadow);
  aspect-ratio: 16 / 9;
  outline: none;
}

.game-host.is-landscape-fullscreen .tower-defense-game {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.touchline-game {
  position: relative;
  width: min(100%, 28rem);
  height: min(calc(100dvh - 6.2rem), 54rem);
  min-height: min(42rem, calc(100dvh - 6.2rem));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(196, 61, 255, .34);
  border-radius: 1.25rem;
  background: #07120f;
  box-shadow: var(--neon-shadow);
  outline: none;
}

.touchline-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #07120f;
}

body.wide-view .touchline-game {
  width: min(100%, 78rem);
  height: min(calc(100dvh - 6.2rem), 52rem);
  max-width: none;
}

.game-host.is-landscape-fullscreen .touchline-game {
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.tower-defense-stage,
.tower-defense-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.tower-defense-stage {
  touch-action: none;
}

.tower-defense-status {
  position: absolute;
  left: 50%;
  top: 1rem;
  z-index: 5;
  max-width: min(82%, 32rem);
  transform: translateX(-50%);
  border: 1px solid rgba(183, 92, 255, .42);
  border-radius: .8rem;
  padding: .62rem .85rem;
  background: rgba(5, 1, 14, .86);
  color: rgba(255, 255, 255, .92);
  font: 600 .8rem/1.35 "Segoe UI", sans-serif;
  text-align: center;
  pointer-events: none;
}

.tower-defense-status[hidden] {
  display: none;
}

.tower-defense-menu {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .28rem;
  width: auto;
  min-width: 6.65rem;
  padding: .34rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: .72rem;
  background: rgba(5, 8, 18, .72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}

.tower-target-panel {
  position: absolute;
  left: 50%;
  bottom: .55rem;
  z-index: 5;
  display: grid;
  gap: .42rem;
  width: min(92%, 28rem);
  transform: translateX(-50%);
  padding: .58rem;
  border: 1px solid rgba(123, 247, 255, .26);
  border-radius: .85rem;
  background: rgba(5, 8, 18, .82);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .36);
  backdrop-filter: blur(12px);
}

.tower-target-panel[hidden] {
  display: none;
}

.tower-target-panel__title {
  color: rgba(255, 255, 255, .78);
  font: 700 .62rem/1 "Segoe UI", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tower-stat-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .32rem;
}

.tower-stat-list span {
  display: grid;
  gap: .16rem;
  min-height: 2.05rem;
  padding: .34rem .28rem;
  border: 1px solid rgba(123, 247, 255, .16);
  border-radius: .48rem;
  background: rgba(9, 15, 28, .72);
}

.tower-stat-list b,
.tower-stat-list strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tower-stat-list b {
  color: rgba(255, 255, 255, .52);
  font: 700 .48rem/1 "Segoe UI", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tower-stat-list strong {
  color: rgba(255, 255, 255, .92);
  font: 800 .62rem/1 "Segoe UI", sans-serif;
}

.tower-target-panel__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .4rem;
}

.tower-target-panel__actions button {
  min-height: 2.15rem;
  border: 1px solid rgba(123, 247, 255, .22);
  border-radius: .55rem;
  background: rgba(11, 18, 32, .88);
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  font: 800 .68rem/1 "Segoe UI", sans-serif;
  text-transform: uppercase;
}

.tower-target-panel__actions button.is-active {
  border-color: rgba(123, 247, 255, .9);
  background: linear-gradient(180deg, rgba(36, 220, 255, .88), rgba(40, 69, 255, .88));
  color: #05101e;
  box-shadow: 0 0 22px rgba(123, 247, 255, .22);
}

.tower-target-panel__actions [data-sell-tower] {
  border-color: rgba(255, 96, 122, .42);
  color: #ffd6dd;
}

.tower-upgrade-panel {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .34rem;
}

.tower-upgrade-panel button {
  min-height: 1.9rem;
  border: 1px solid rgba(255, 214, 102, .28);
  border-radius: .5rem;
  background: rgba(26, 20, 8, .72);
  color: #ffe7a1;
  cursor: pointer;
  font: 800 .58rem/1 "Segoe UI", sans-serif;
  text-transform: uppercase;
}

.tower-upgrade-panel button:active {
  transform: translateY(1px);
}

.tower-defense-tower {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: .24rem;
  width: 100%;
  min-width: 3rem;
  min-height: 3.25rem;
  padding: .34rem .28rem;
  color: #fff;
  border: 1px solid rgba(123, 247, 255, .32);
  border-radius: .65rem;
  background: rgba(11, 18, 32, .86);
  cursor: pointer;
  font: 700 .54rem/1 "Segoe UI", sans-serif;
  text-align: center;
  touch-action: none;
}

.tower-defense-tower.is-selected {
  border-color: rgba(123, 247, 255, .9);
  box-shadow: 0 0 0 2px rgba(123, 247, 255, .16), 0 0 22px rgba(123, 247, 255, .22);
}

.tower-defense-icon {
  width: 1.1rem;
  height: 1.4rem;
  justify-self: center;
  border-radius: .35rem .35rem .15rem .15rem;
  background:
    radial-gradient(circle at 50% 20%, #7bf7ff 0 .34rem, transparent .36rem),
    linear-gradient(180deg, #3245ff, #1a276e);
  box-shadow: 0 .18rem 0 #10183a;
}

.tower-defense-icon--fire {
  background:
    radial-gradient(circle at 50% 20%, #ffb35c 0 .34rem, transparent .36rem),
    linear-gradient(180deg, #ff4b18, #761414);
  box-shadow: 0 .18rem 0 #421011;
}

.tower-defense-icon--heal {
  background:
    radial-gradient(circle at 50% 20%, #93ffad 0 .34rem, transparent .36rem),
    linear-gradient(180deg, #19d866, #105a32);
  box-shadow: 0 .18rem 0 #0b3c22;
}

.tower-defense-icon--ice {
  background:
    radial-gradient(circle at 50% 20%, #d6fbff 0 .34rem, transparent .36rem),
    linear-gradient(180deg, #61dafb, #2446c4);
  box-shadow: 0 .18rem 0 #152d74;
}

.tower-defense-icon--poison {
  background:
    radial-gradient(circle at 50% 20%, #b7ff4a 0 .34rem, transparent .36rem),
    linear-gradient(180deg, #7bdc22, #315e16);
  box-shadow: 0 .18rem 0 #17350c;
}

.tower-defense-icon--lightning {
  background:
    radial-gradient(circle at 50% 20%, #fef08a 0 .34rem, transparent .36rem),
    linear-gradient(180deg, #7c3aed, #2e1065);
  box-shadow: 0 .18rem 0 #1e1148;
}

.tower-defense-icon--water {
  background:
    radial-gradient(circle at 50% 20%, #a5f3fc 0 .34rem, transparent .36rem),
    linear-gradient(180deg, #06b6d4, #155e75);
  box-shadow: 0 .18rem 0 #083344;
}

.tower-defense-icon--bomb {
  background:
    radial-gradient(circle at 50% 20%, #fb923c 0 .34rem, transparent .36rem),
    linear-gradient(180deg, #52525b, #18181b);
  box-shadow: 0 .18rem 0 #09090b;
}

.tower-defense-icon--blade {
  background:
    radial-gradient(circle at 50% 20%, #f8fafc 0 .34rem, transparent .36rem),
    linear-gradient(180deg, #94a3b8, #334155);
  box-shadow: 0 .18rem 0 #1e293b;
}

.tower-defense-icon--parasite {
  background:
    radial-gradient(circle at 50% 20%, #f0abfc 0 .34rem, transparent .36rem),
    linear-gradient(180deg, #c026d3, #581c87);
  box-shadow: 0 .18rem 0 #3b0764;
}

.tower-defense-canvas {
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.tower-defense-game[data-placing="true"] .tower-defense-canvas {
  cursor: crosshair;
}

.tower-defense-canvas:active {
  cursor: grabbing;
}

.game-start-screen {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .8rem;
  padding: 1.4rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 32%, rgba(196, 61, 255, .24), transparent 12rem),
    rgba(6, 2, 18, .94);
}

.balloon-game.is-ready .game-start-screen,
.balloon-game.is-countdown .game-start-screen,
.balloon-game.is-ended .game-start-screen {
  background:
    radial-gradient(circle at 50% 26%, rgba(196, 61, 255, .26), transparent 12rem),
    linear-gradient(180deg, rgba(6, 2, 18, .72), rgba(6, 2, 18, .9));
}

.balloon-game.is-running .game-start-screen {
  display: none;
}

.game-load-progress {
  width: min(18rem, 76vw);
  height: .8rem;
  overflow: hidden;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  box-shadow: inset 0 0 14px rgba(0, 0, 0, .26);
}

.game-load-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--magenta), var(--gold));
  border-radius: inherit;
  transition: width 180ms ease;
}

.game-screen-kicker {
  margin: .2rem 0 0;
  color: var(--purple);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.game-start-screen strong {
  color: var(--ink);
  font-size: clamp(1.25rem, 5vw, 1.8rem);
  line-height: 1.08;
}

.balloon-game.is-countdown .game-start-screen strong {
  font-size: clamp(5.5rem, 28vw, 9rem);
  line-height: .85;
  text-shadow: 0 18px 42px rgba(0, 0, 0, .45);
}

.game-start-screen p {
  max-width: 20rem;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.game-play-button {
  min-width: min(14rem, 72vw);
  margin-top: .35rem;
}

.balloon-game.is-countdown .game-play-button {
  display: none;
}

.game-footer {
  display: grid;
  gap: .7rem;
  padding: .75rem;
  border-top: 1px solid var(--line);
}

.balloon-game.is-countdown .game-footer .button,
.balloon-game.is-running .game-footer .button {
  opacity: .48;
  pointer-events: none;
}

.game-message {
  color: var(--muted);
  font-weight: 800;
}

@media (min-width: 760px) and (hover: hover) and (pointer: fine) {
  .app-shell {
    width: min(430px, 100vw);
    min-height: 100vh;
    padding-bottom: 5.5rem;
  }

  body.wide-view:not([data-route="home"]) .app-shell {
    width: min(1280px, 100vw);
  }

  body.wide-view:not([data-route="home"]) .topbar {
    left: max(.75rem, calc((100vw - min(1280px, 100vw)) / 2 + .75rem));
    right: max(.75rem, calc((100vw - min(1280px, 100vw)) / 2 + .75rem));
  }

  .view-toggle {
    position: fixed;
    top: .75rem;
    right: .75rem;
    z-index: 40;
    display: inline-flex;
    min-height: 2.2rem;
    align-items: center;
    justify-content: center;
    padding: 0 .9rem;
    color: rgba(247, 251, 255, .9);
    background: rgba(4, 0, 13, .84);
    border: 1px solid rgba(110, 27, 175, .52);
    border-radius: .85rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .36);
    cursor: pointer;
    font-size: .72rem;
    font-weight: 520;
    letter-spacing: .01em;
  }

  .topbar {
    display: flex;
    justify-items: initial;
    justify-content: center;
    gap: .45rem;
    padding: .45rem;
  }

  .brand {
    display: none;
  }

  .topbar-account {
    display: none;
  }

  .nav {
    position: static;
    display: grid;
    width: 100%;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav a {
    min-height: 3.2rem;
    padding: 0;
    border-radius: 1rem;
  }

  .page {
    width: 100%;
  }

  .play-page.is-playing {
    width: min(1280px, calc(100vw - 3rem));
    padding: 1rem 0;
  }

  body.wide-view .play-page.is-playing {
    width: min(1280px, calc(100vw - 1rem));
  }

  .hero {
    min-height: calc(100vh - 74px);
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(4rem, 8vw, 6.4rem);
  }

  .onboarding {
    min-height: calc(100vh - 5.5rem);
  }

  .onboarding-slide {
    min-height: calc(100vh - 11rem);
  }

  .lead {
    max-width: 22rem;
    font-size: 1rem;
  }

  .hero-actions {
    display: flex;
    max-width: 24rem;
  }

  .wallet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .game-launch {
    grid-template-columns: auto 1fr auto;
  }

  .game-launch .button {
    grid-column: auto;
  }

  .game-hud {
    grid-template-columns: repeat(4, 1fr);
  }

  .game-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 760px) and (max-height: 760px) {
  body[data-route="home"] .onboarding-slide {
    padding-top: .45rem;
  }

  .welcome-slide .hero-wordmark {
    width: min(54vw, 12rem);
    max-height: 18vh;
    margin-top: .65rem;
    margin-bottom: clamp(2.65rem, 6.4vh, 3.1rem);
  }

  .welcome-actions {
    gap: .42rem;
    margin-top: 1.05rem;
  }

  .welcome-actions .button {
    grid-template-columns: 2.55rem 1fr 1.55rem;
    min-height: 2.72rem;
    padding: .52rem .9rem;
    font-size: .82rem;
  }

  .phone-mark,
  .google-mark,
  .phone-mark svg,
  .google-mark svg {
    width: 1.68rem;
    height: 1.68rem;
  }

  .apple-mark,
  .apple-mark svg {
    width: 2rem;
    height: 2rem;
  }

  .email-mark,
  .email-mark svg {
    width: 1.88rem;
    height: 1.88rem;
  }

  .signup-line {
    margin-top: .44rem;
    font-size: .68rem;
  }

  .secure-line {
    margin-top: .55rem;
    font-size: .68rem;
  }

  .terms-line {
    margin-top: .38rem;
    font-size: clamp(.5rem, 1.7vw, .58rem);
  }
}
