:root {
  --night: #04150e;
  --forest: #0b2418;
  --vein: #123322;
  --leaf: #12c46a;
  --gold: #fada49;
  --cream: #f4f1e4;
  --mute: #8aa392;
  --hairline: rgba(255, 255, 255, 0.1);
  --flag: #e23d28;
  --field: #0e2a1c;
  --cta-top: #3af496;
  --cta-mid: #12c46a;
  --cta-bot: #0a8f4c;
  --dock: 72px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --pad: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

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

html,
body {
  margin: 0;
  height: 100%;
  background: #020805;
  color: var(--cream);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
}
img {
  max-width: 100%;
  display: block;
}
svg.ico,
.ico svg,
.tab svg,
.icon-btn svg {
  width: 22px;
  height: 22px;
  display: block;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
a {
  color: inherit;
}

/* Desktop: the app sits in an iPhone, like CML /app. Phone: full bleed. */
.stage {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 20px 12px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(18, 196, 106, 0.12), transparent 60%),
    #020805;
}

.phone {
  position: relative;
  height: min(844px, calc(100dvh - 24px));
  width: min(390px, 92vw);
  max-width: 390px;
  aspect-ratio: 390 / 844;
  height: auto;
  max-height: calc(100dvh - 24px);
  background: var(--night);
  border-radius: 54px;
  box-shadow:
    0 0 0 11px #070707,
    0 0 0 13px #2c2c2c,
    0 28px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.phone__island {
  position: absolute;
  z-index: 40;
  top: 11px;
  left: 50%;
  width: 118px;
  height: 34px;
  transform: translateX(-50%);
  background: #050505;
  border-radius: 20px;
  pointer-events: none;
}

.phone__screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.atm {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.atm__leaf,
.atm__gold,
.atm__red {
  position: absolute;
  border-radius: 50%;
}
.atm__leaf {
  width: 280px;
  height: 280px;
  right: -80px;
  top: -90px;
  background: radial-gradient(circle, rgba(18, 196, 106, 0.28), transparent 70%);
}
.atm__gold {
  width: 220px;
  height: 220px;
  left: -90px;
  top: 180px;
  background: radial-gradient(circle, rgba(250, 218, 73, 0.16), transparent 70%);
}
.atm__red {
  width: 180px;
  height: 180px;
  right: -40px;
  bottom: 80px;
  background: radial-gradient(circle, rgba(226, 61, 40, 0.14), transparent 70%);
}
.atm__grid {
  position: absolute;
  inset: -40%;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.028) 0 1px,
    transparent 1px 56px
  );
}

#root {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

.scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px var(--pad) calc(var(--dock) + 24px);
  overscroll-behavior: contain;
}
.scroll.is-auth {
  padding: 56px 24px calc(24px + var(--safe-bot));
}
.scroll.is-immersive {
  padding-bottom: calc(28px + var(--safe-bot));
}

.kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.title-sm {
  font-size: 28px;
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.4px;
}
.lead {
  color: var(--mute);
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0 0;
}
.muted {
  color: var(--mute);
}
.muted a.news-link,
a.news-link {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  word-break: break-all;
}
.gold {
  color: var(--gold);
}
.leaf {
  color: var(--leaf);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 48px var(--pad) 8px;
  flex: none;
}
.topbar h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.4px;
  line-height: 1.1;
}
.topbar .hello {
  display: block;
  font-size: 12px;
  color: var(--mute);
  font-weight: 600;
}
.spacer {
  flex: 1;
  min-width: 0;
}
.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--vein);
  border: 1.5px solid var(--hairline);
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: var(--vein);
  border: 1.5px solid var(--hairline);
}
.badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--leaf);
  color: var(--night);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.mark-lg {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 42px rgba(18, 196, 106, 0.55);
  animation: pulse 2.6s ease-in-out infinite alternate;
}
@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

.wordmark {
  text-align: center;
}
.wordmark b {
  display: block;
  color: var(--gold);
  letter-spacing: 5px;
  font-size: 13px;
}
.wordmark span {
  display: block;
  letter-spacing: 4.4px;
  font-size: 12px;
  font-weight: 700;
}

.flagdots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin: 10px 0 0;
}
.flagdots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: block;
}
.flagdots i:nth-child(1) {
  background: var(--leaf);
}
.flagdots i:nth-child(2) {
  background: var(--gold);
}
.flagdots i:nth-child(3) {
  background: var(--flag);
}
.gold-rule {
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 99px;
  margin: 12px auto 10px;
}

.card,
.soft {
  background: var(--forest);
  border: 1px solid var(--hairline);
  border-radius: 22px;
}
.soft {
  padding: 16px;
}

[data-act],
[data-go] {
  cursor: pointer;
}

.personnel {
  padding: 16px;
  text-align: center;
  position: relative;
}
.personnel__id {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.personnel__name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 4px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.fact span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--mute);
  text-transform: uppercase;
}
.fact b {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
}
.insignia {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 14px;
}
.insignia figure {
  margin: 0;
  text-align: center;
}
.insignia img,
.insignia .coef {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(244, 241, 228, 0.1);
}
.insignia .coef {
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(18, 196, 106, 0.55);
  font-weight: 900;
  font-size: 16px;
}
.insignia figcaption {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: var(--leaf);
  text-transform: uppercase;
}
.insignia small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cream);
}
.vitals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.vital {
  text-align: center;
  background: rgba(4, 21, 14, 0.42);
  border-radius: 16px;
  padding: 12px 4px;
}
.vital b {
  display: block;
  font-size: 16px;
  font-weight: 900;
  color: var(--cream);
  letter-spacing: -0.4px;
}
.vital span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mute);
}

.section {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 18px 0 10px;
}
.section h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}
.section button,
.section a {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.cta,
.leaf-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 58px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--cta-top), var(--cta-mid), var(--cta-bot));
  color: var(--night);
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 10px 22px rgba(18, 196, 106, 0.45);
  text-decoration: none;
}
.leaf-cta {
  height: 48px;
  font-size: 15px;
}

.field {
  margin: 0 0 14px;
}
.field label {
  display: block;
  padding: 0 6px 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;
  color: var(--mute);
  text-transform: uppercase;
}
.field__box {
  display: flex;
  align-items: center;
  height: 56px;
  border-radius: 20px;
  background: var(--field);
  border: 1.5px solid var(--hairline);
  padding: 0 16px;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
}
.field textarea {
  min-height: 96px;
  padding: 14px 0;
}

.auth {
  text-align: center;
}
.auth .field,
.auth .cta,
.auth .footer-links {
  text-align: left;
}
.hero-copy {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 36px;
  margin: 18px 0 0;
  text-align: left;
}
.hero-copy em {
  font-style: normal;
  color: var(--gold);
}
.footer-links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.footer-links button {
  flex: 1;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 0;
}
.footer-links .reg {
  color: var(--leaf);
}
.footer-links .claim {
  color: var(--gold);
}
.ver {
  text-align: center;
  color: rgba(138, 163, 146, 0.75);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-top: 16px;
}

.dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  height: calc(var(--dock) + var(--safe-bot));
  padding: 0 8px var(--safe-bot);
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  background: linear-gradient(180deg, transparent, rgba(4, 21, 14, 0.55) 28%, rgba(4, 21, 14, 0.96));
}
.tab {
  flex: 1;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  color: var(--mute);
  font-size: 10px;
  font-weight: 600;
}
.tab.is-on {
  color: var(--leaf);
  font-weight: 800;
}
.tab__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.tab.is-on .tab__icon {
  background: radial-gradient(circle, rgba(18, 196, 106, 0.28), transparent 70%);
  transform: scale(1.12);
}
.tab svg {
  width: 24px;
  height: 24px;
}
.tab__dot {
  position: absolute;
  top: 8px;
  right: calc(50% - 18px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.tab__bar {
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: transparent;
  margin-top: 2px;
}
.tab.is-on .tab__bar {
  background: var(--gold);
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  width: 100%;
  text-align: left;
  background: none;
}
.row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.row p {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--mute);
}
.chev {
  margin-left: auto;
  color: rgba(138, 163, 146, 0.7);
  font-size: 18px;
}

.chips {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 2px 0 12px;
}
.chip {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 99px;
  background: var(--forest);
  border: 1px solid var(--hairline);
  font-size: 12px;
  font-weight: 900;
}
.chip.is-on {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
}

.mission {
  display: flex;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  text-align: left;
}
.mission img,
.thumb {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--night);
  flex: none;
}
.mission h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.mission p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--mute);
}

.hscroll {
  display: flex;
  gap: 12px;
  overflow: auto;
  padding-bottom: 4px;
}
.mcard {
  width: 168px;
  flex: none;
  padding: 0;
  overflow: hidden;
  text-align: left;
}
.mcard img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}
.mcard div {
  padding: 12px;
}
.mcard h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}
.mcard p {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--mute);
}

.connect {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.connect article {
  min-height: 108px;
  padding: 14px;
  text-align: left;
}
.connect .ico {
  color: var(--leaf);
  display: block;
  width: 22px;
  height: 22px;
}
.connect h3 {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 700;
}
.connect p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--mute);
}

.now {
  padding: 16px;
  text-align: left;
  margin-top: 16px;
}
.now .kicker {
  margin-bottom: 6px;
}
.now h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}
.now p {
  margin: 8px 0 14px;
  color: var(--mute);
  font-size: 13px;
}

.week {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  margin-bottom: 10px;
  text-align: left;
}
.week img {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  object-fit: contain;
  background: rgba(244, 241, 228, 0.08);
  flex: none;
}
.week h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}
.week p {
  margin: 4px 0 0;
  color: var(--leaf);
  font-weight: 700;
  font-size: 13px;
}

.invite {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  margin-top: 16px;
  text-align: left;
}
.invite .pct {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--night);
  font-weight: 900;
  flex: none;
}

.story img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 22px;
  background: var(--night);
}
.story h1 {
  font-size: 26px;
  margin: 14px 0 8px;
  font-weight: 900;
}
.story .stats {
  color: var(--mute);
  font-size: 13px;
  font-weight: 700;
}
.story h2 {
  font-size: 16px;
  margin: 18px 0 8px;
}
.story li {
  margin: 0 0 6px;
  color: var(--mute);
  font-size: 14px;
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
}
.bubble {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
}
.bubble.mine {
  margin-left: auto;
  background: rgba(18, 196, 106, 0.22);
}
.bubble.theirs {
  background: var(--forest);
  border: 1px solid var(--hairline);
}
.composer {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 0 8px;
}
.composer input {
  flex: 1;
  height: 46px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--forest);
  padding: 0 14px;
  outline: none;
}
.composer button {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--leaf);
  color: var(--night);
  font-weight: 900;
}

.prize {
  display: flex;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  text-align: left;
}
.prize img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: var(--night);
  border-radius: 16px;
}
.bar {
  height: 6px;
  border-radius: 99px;
  background: var(--vein);
  margin-top: 8px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--leaf);
}

.prix-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 8px 0 14px;
  border-radius: 16px;
  background: var(--forest);
  border: 1px solid var(--hairline);
}
.prix-tab {
  flex: 1;
  padding: 10px 6px;
  border-radius: 12px;
  color: var(--mute);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}
.prix-tab.is-on {
  background: rgba(18, 196, 106, 0.28);
  color: var(--leaf);
  font-weight: 900;
}

.wallet {
  display: flex;
  justify-content: space-evenly;
  padding: 14px 8px;
  margin-top: 8px;
}

.lot-hero {
  margin-top: 8px;
  padding: 16px;
}
.lot-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lot-hero__n {
  display: block;
  font-size: 32px;
  letter-spacing: -0.6px;
  color: var(--leaf);
  font-weight: 900;
  line-height: 1;
}
.lot-hero__side {
  text-align: right;
  display: grid;
  gap: 2px;
}
.lot-hero__side strong {
  font-size: 15px;
}
.lot-hero__side span {
  display: block;
  font-size: 12px;
}
.lot-hero__bar {
  margin-top: 12px;
}
.lot-hero__hint {
  margin: 10px 0 0;
  font-size: 13px;
}

.lot-prizes {
  padding-bottom: 4px;
}
.lot-prize {
  width: 148px;
  flex: none;
  padding: 10px;
  margin: 0;
}
.lot-prize__art {
  position: relative;
  height: 128px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--night);
  margin-bottom: 8px;
}
.lot-prize__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lot-prize__place {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 22px;
  padding: 3px 7px;
  border-radius: 99px;
  background: var(--leaf);
  color: var(--night);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}
.lot-prize__place.is-gold {
  background: var(--gold);
}
.lot-prize h3 {
  font-size: 13px;
  line-height: 1.25;
  margin: 0;
}

.ticket-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.ticket-row img,
.ticket-row .thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--vein);
  flex: none;
}
.ticket-row h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.4px;
}

.days {
  display: flex;
  gap: 6px;
  overflow: auto;
  padding: 8px 0;
}
.day {
  min-width: 44px;
  padding: 8px 6px;
  border-radius: 14px;
  text-align: center;
  background: var(--forest);
  border: 1px solid var(--hairline);
  font-size: 11px;
}

.sheet {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-end;
}
.sheet__card {
  width: 100%;
  max-height: 86%;
  overflow: auto;
  background: rgba(11, 36, 24, 0.98);
  border: 1px solid var(--hairline);
  border-radius: 28px 28px 0 0;
  padding: 12px 18px calc(18px + var(--safe-bot));
}
.grab {
  width: 40px;
  height: 4px;
  background: rgba(138, 163, 146, 0.45);
  border-radius: 99px;
  margin: 4px auto 12px;
}

.install {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(var(--dock) + 12px);
  z-index: 12;
  padding: 14px 16px;
  background: var(--forest);
  border: 1px solid var(--gold);
  border-radius: 20px;
  text-align: left;
}

.toast {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(var(--dock) + 16px);
  z-index: 30;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--vein);
  color: var(--cream);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--hairline);
}
.toast.is-error {
  border-color: var(--gold);
  color: var(--gold);
}

.empty {
  text-align: center;
  color: var(--mute);
  padding: 28px 8px;
}
.back {
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
  text-align: left;
}
.choice {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  margin: 0 0 8px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--forest);
}
.choice.is-on {
  border-color: var(--leaf);
  background: rgba(18, 196, 106, 0.12);
}

/* Real iPhone / PWA: no fake bezel, fill the glass. */
@media (max-width: 480px) {
  html,
  body {
    background: var(--night);
  }
  .stage {
    padding: 0;
    display: block;
    min-height: 100dvh;
    background: var(--night);
  }
  .phone {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }
  .phone__island {
    display: none;
  }
  .topbar {
    padding-top: calc(8px + var(--safe-top));
  }
  .scroll.is-auth {
    padding-top: calc(12px + var(--safe-top));
  }
}

html.is-standalone .phone__island {
  display: none;
}
html.is-standalone .topbar {
  padding-top: calc(8px + var(--safe-top));
}
html.is-standalone .stage {
  padding: 0;
  display: block;
}
html.is-standalone .phone {
  width: 100%;
  height: 100dvh;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
}
html.is-standalone,
html.is-standalone body {
  background: var(--night);
}
