@font-face {
  font-family: "Geist";
  src: url("assets/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --wine: #5e0919;
  --auth-wine: #56131b;
  --wine-deep: #430512;
  --apricot: #e49a5e;
  --beige: #f1dfbf;
  --cream: #fffdfa;
  --ink: #241817;
  --muted: #7c6861;
  --red: #dc0d15;
  --yellow: #ffba00;
  --blue: #27336e;
  --green: #69b42e;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.76);
  --line: rgba(94, 9, 25, 0.12);
  --shadow: 0 22px 60px rgba(36, 24, 23, 0.18);
  --safe-top: max(16px, env(safe-area-inset-top));
  --safe-bottom: max(14px, env(safe-area-inset-bottom));
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--beige);
}

body {
  min-width: 320px;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(39, 51, 110, 0.42);
  outline-offset: 3px;
}

.demo-stage {
  min-height: 100svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 360px) auto;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 88px);
  padding: 32px clamp(28px, 5vw, 88px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 16%, rgba(228, 154, 94, 0.72) 0 12%, transparent 38%),
    radial-gradient(circle at 84% 76%, rgba(94, 9, 25, 0.16) 0 12%, transparent 42%),
    var(--beige);
}

.demo-stage::before,
.demo-stage::after {
  content: "M M M M M\A M M M M M\A M M M M M";
  white-space: pre;
  position: absolute;
  z-index: -1;
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: clamp(70px, 9vw, 140px);
  font-weight: 800;
  line-height: 0.72;
  letter-spacing: -0.1em;
  color: rgba(94, 9, 25, 0.045);
  transform: rotate(-8deg);
}

.demo-stage::before {
  top: -30px;
  right: -40px;
}

.demo-stage::after {
  left: -80px;
  bottom: -70px;
  color: rgba(228, 154, 94, 0.22);
  transform: rotate(12deg);
}

.scenario-panel {
  width: 100%;
  max-height: min(844px, calc(100svh - 48px));
  padding: 24px;
  border-radius: 32px;
  overflow: auto;
  align-self: center;
}

.scenario-panel__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.scenario-panel h1 {
  margin: 0;
  color: var(--wine);
  font-family: "Bahnschrift", "Geist", sans-serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.scenario-panel > p {
  margin: 18px 0;
  color: rgba(36, 24, 23, 0.66);
  font-size: 14px;
  line-height: 1.45;
}

.scenario-panel__list {
  display: grid;
  gap: 9px;
  margin-bottom: 8px;
}

.scenario-panel .scenario-button {
  min-height: 72px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.scenario-panel .scenario-button:hover {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(94, 9, 25, 0.1);
}

.phone-wrap {
  position: relative;
  justify-self: center;
  filter: drop-shadow(0 34px 50px rgba(54, 17, 19, 0.24));
}

.phone {
  position: relative;
  width: min(390px, calc(100vw - 36px));
  height: min(844px, calc(100svh - 48px));
  min-height: 680px;
  padding: 10px;
  border-radius: 54px;
  background: linear-gradient(145deg, #2e2724, #0e0b0b 62%, #4e3c35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 4px #0b0909,
    0 2px 0 rgba(255, 255, 255, 0.16);
}

.phone-island {
  position: absolute;
  z-index: 30;
  top: 20px;
  left: 50%;
  width: 112px;
  height: 30px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.phone-button {
  position: absolute;
  left: -4px;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: #322b28;
}

.phone-button--top { top: 124px; height: 48px; }
.phone-button--middle { top: 196px; height: 74px; }
.phone-button--bottom { top: 284px; height: 74px; }

.app-viewport {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 44px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(36, 24, 23, 0.08);
}

.app-status {
  position: absolute;
  z-index: 25;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 25px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.scenario-launcher {
  display: none;
  position: absolute;
  z-index: 70;
  top: var(--safe-top);
  right: 14px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.screen {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 62px 18px 112px;
  background: var(--cream);
}

.screen::-webkit-scrollbar {
  display: none;
}

.screen--auth {
  padding-bottom: 34px;
}

.screen-enter {
  animation: screen-enter 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes screen-enter {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

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

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 9px;
}

.brand-lockup .brand-mark {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.brand-lockup .brand-wordmark {
  width: 68px;
  height: auto;
  display: block;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.title {
  margin: 0;
  font-family: "Bahnschrift", "Geist", sans-serif;
  font-size: 31px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.home-page > .subtitle {
  margin-top: 6px;
  padding-bottom: 11px;
}

.liquid {
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 249, 239, 0.38)),
    rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(94, 9, 25, 0.08),
    0 12px 34px rgba(94, 9, 25, 0.14);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
}

.glass-button,
.primary-button,
.secondary-button,
.icon-button,
.text-button,
.scenario-button,
.nav-button,
.list-button {
  appearance: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.glass-button,
.primary-button,
.secondary-button {
  min-height: 52px;
  border-radius: 18px;
  padding: 14px 18px;
  font-weight: 720;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.glass-button:active,
.primary-button:active,
.secondary-button:active,
.scenario-button:active,
.nav-button:active {
  transform: scale(0.97);
}

.primary-button {
  color: #fff7ea;
  background: var(--wine);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 26px rgba(94, 9, 25, 0.22);
}

.primary-button:hover {
  filter: brightness(1.06);
}

.secondary-button {
  color: var(--wine);
  background: rgba(94, 9, 25, 0.07);
  border: 1px solid rgba(94, 9, 25, 0.1);
}

.glass-button {
  color: var(--ink);
}

.button-block {
  width: 100%;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 17px;
}

.text-button {
  padding: 8px 2px;
  color: var(--wine);
  background: transparent;
  font-weight: 720;
}

.loyalty-card {
  position: relative;
  min-height: 222px;
  overflow: hidden;
  padding: 22px;
  border-radius: 30px;
  color: #fff6e8;
  background: var(--wine);
  box-shadow: 0 24px 44px rgba(94, 9, 25, 0.24);
  isolation: isolate;
}

.loyalty-card::before {
  content: "M M M\A M M M\A M M M";
  white-space: pre;
  position: absolute;
  z-index: -1;
  top: -36px;
  right: -20px;
  font-family: "Bahnschrift", sans-serif;
  font-size: 66px;
  font-weight: 800;
  line-height: 0.68;
  letter-spacing: -0.12em;
  color: rgba(241, 223, 191, 0.08);
  transform: rotate(-7deg);
}

.card-topline,
.card-bottomline,
.section-heading,
.transaction-row,
.profile-row,
.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-label {
  color: rgba(255, 246, 232, 0.72);
  font-size: 12px;
  font-weight: 640;
}

.balance-value {
  display: block;
  margin: 16px 0 2px;
  font-family: "Bahnschrift", "Geist", sans-serif;
  font-size: 52px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.055em;
}

.balance-unit {
  font-size: 17px;
  font-weight: 650;
}

.discount-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 790;
}

.card-bottomline {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: rgba(255, 246, 232, 0.78);
  font-size: 12px;
}

.member-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.07em;
}

.action-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  margin-top: 14px;
}

.action-tile {
  min-height: 116px;
  padding: 16px;
  border-radius: 24px;
  text-align: left;
}

.action-tile strong,
.action-tile span {
  display: block;
}

.action-tile strong {
  margin: 15px 0 4px;
  font-size: 16px;
}

.action-tile span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.action-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--wine);
  font-size: 18px;
}

.action-tile--warm {
  background: var(--apricot);
  border-color: rgba(255, 255, 255, 0.46);
}

.action-tile--warm span {
  color: rgba(36, 24, 23, 0.72);
}

.section {
  margin-top: 24px;
}

.section-heading {
  margin-bottom: 10px;
}

.section-heading h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.transaction-list,
.profile-card,
.info-card {
  overflow: hidden;
  border: 1px solid rgba(94, 9, 25, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 26px rgba(36, 24, 23, 0.06);
}

.list-button {
  width: 100%;
  padding: 15px 16px;
  background: transparent;
  text-align: left;
}

.list-button + .list-button,
.profile-row + .profile-row {
  border-top: 1px solid var(--line);
}

.transaction-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--wine);
  background: rgba(228, 154, 94, 0.26);
  font-weight: 800;
}

.transaction-copy {
  min-width: 0;
  flex: 1;
}

.transaction-copy strong,
.transaction-copy span {
  display: block;
}

.transaction-copy strong {
  font-size: 14px;
}

.transaction-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.transaction-points {
  color: var(--green);
  font-size: 14px;
  font-weight: 780;
  white-space: nowrap;
}

.bottom-nav {
  position: absolute;
  z-index: 20;
  left: 14px;
  right: 14px;
  bottom: calc(10px + var(--safe-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 7px;
  border-radius: 999px;
}

.bottom-nav[hidden] {
  display: none;
}

.nav-button {
  position: relative;
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 6px 3px;
  border-radius: 999px;
  color: rgba(36, 24, 23, 0.6);
  background: transparent;
  font-size: 10px;
  font-weight: 690;
}

.nav-button.is-active {
  color: #fff8ed;
  background: rgba(94, 9, 25, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.23);
}

.nav-icon {
  font-family: "Bahnschrift", sans-serif;
  font-size: 20px;
  line-height: 1;
}

.qr-card {
  margin: 18px auto 14px;
  padding: 17px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(36, 24, 23, 0.1);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(25, 1fr);
  aspect-ratio: 1;
  width: min(270px, 100%);
  margin: auto;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
}

.qr-cell {
  background: transparent;
}

.qr-cell.is-dark {
  background: var(--ink);
  border-radius: 1px;
}

.qr-caption {
  text-align: center;
}

.qr-caption strong,
.qr-caption span {
  display: block;
}

.qr-caption strong {
  margin-top: 5px;
  font-size: 17px;
}

.qr-caption span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.auth-page {
  min-height: calc(100% - 18px);
  display: flex;
  flex-direction: column;
}

.auth-logo {
  width: 180px;
  height: auto;
  margin: 18px auto 127px;
  padding: 0;
  border-radius: 0;
  background: var(--auth-wine);
  box-shadow: none;
  object-fit: contain;
}

.auth-hero {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  padding: 24px;
  border-radius: 34px;
  color: #fff7ea;
  background: var(--auth-wine);
}

.auth-hero::after {
  content: "M";
  position: absolute;
  top: -54px;
  right: -14px;
  color: rgba(228, 154, 94, 0.16);
  font-family: "Bahnschrift", sans-serif;
  font-size: 250px;
  font-weight: 900;
}

.auth-hero .title {
  position: relative;
  z-index: 1;
  font-size: 38px;
}

.auth-hero .subtitle {
  position: relative;
  z-index: 1;
  color: rgba(255, 247, 234, 0.72);
}

.auth-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.form-card {
  margin-top: 24px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
}

.form-field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.form-field input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(94, 9, 25, 0.13);
  border-radius: 18px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 640;
  box-shadow: inset 0 1px 2px rgba(36, 24, 23, 0.04);
}

.field-hint,
.form-error {
  min-height: 18px;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.field-hint { color: var(--muted); }
.form-error { color: var(--red); }

.success-visual,
.state-visual {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin: 40px auto 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  box-shadow: 0 20px 36px rgba(105, 180, 46, 0.24);
  font-size: 46px;
  font-weight: 800;
}

.state-page {
  min-height: calc(100% - 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.state-page .title {
  max-width: 310px;
}

.state-page .subtitle {
  max-width: 300px;
}

.state-page .button-block {
  margin-top: 24px;
}

.state-visual--empty {
  color: var(--wine);
  background: var(--beige);
  box-shadow: none;
}

.state-visual--error {
  background: var(--red);
  box-shadow: 0 20px 36px rgba(220, 13, 21, 0.18);
}

.spinner {
  width: 52px;
  height: 52px;
  margin: 38px auto 24px;
  border: 5px solid rgba(94, 9, 25, 0.12);
  border-top-color: var(--wine);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.profile-hero {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 18px 0;
}

.avatar {
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff7ea;
  background: var(--wine);
  font-family: "Bahnschrift", sans-serif;
  font-size: 24px;
  font-weight: 760;
}

.profile-hero h2,
.profile-hero p {
  margin: 0;
}

.profile-hero h2 {
  font-size: 20px;
}

.profile-hero p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.profile-row {
  min-height: 58px;
  padding: 14px 16px;
  font-size: 14px;
}

.profile-row span:last-child {
  color: var(--muted);
}

.switch {
  width: 46px;
  height: 28px;
  position: relative;
  border-radius: 999px;
  background: var(--green);
  box-shadow: inset 0 1px 2px rgba(36, 24, 23, 0.14);
}

.switch::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(36, 24, 23, 0.2);
}

.sheet-layer:empty,
.toast-layer:empty {
  display: none;
}

.sheet-layer {
  position: absolute;
  z-index: 60;
  inset: 0;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 24, 23, 0.34);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fade-in 180ms ease;
}

.bottom-sheet {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  max-height: calc(100% - 80px);
  overflow: auto;
  padding: 12px 18px calc(18px + var(--safe-bottom));
  border-radius: 32px;
  background: rgba(255, 249, 239, 0.88);
  box-shadow: 0 26px 60px rgba(36, 24, 23, 0.28);
  backdrop-filter: blur(30px) saturate(145%);
  -webkit-backdrop-filter: blur(30px) saturate(145%);
  animation: sheet-up 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }

.sheet-handle {
  width: 42px;
  height: 5px;
  margin: 2px auto 17px;
  border-radius: 999px;
  background: rgba(36, 24, 23, 0.18);
}

.sheet-heading {
  margin: 0;
  font-family: "Bahnschrift", "Geist", sans-serif;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.sheet-copy {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.scenario-button {
  min-height: 92px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(94, 9, 25, 0.08);
  background: rgba(255, 255, 255, 0.56);
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.scenario-button strong,
.scenario-button span {
  display: block;
}

.mobile-scenarios .scenario-grid {
  margin: 22px 0 12px;
}

.mobile-scenarios .scenario-button {
  min-height: 108px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(94, 9, 25, 0.08), inset 0 1px 0 #fff;
}

.scenario-button strong {
  margin-bottom: 5px;
  font-size: 13px;
}

.scenario-button span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.purchase-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin: 16px 0;
  padding: 16px;
  border-radius: 20px;
  background: rgba(228, 154, 94, 0.18);
  font-size: 13px;
}

.purchase-summary strong {
  text-align: right;
}

.purchase-success {
  text-align: center;
}

.purchase-success .success-visual {
  margin-top: 8px;
}

.points-big {
  display: block;
  margin: 12px 0 4px;
  color: var(--green);
  font-family: "Bahnschrift", "Geist", sans-serif;
  font-size: 42px;
  font-weight: 790;
}

.detail-list {
  margin: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-row {
  min-height: 48px;
  color: var(--muted);
  font-size: 13px;
}

.detail-row strong {
  color: var(--ink);
  text-align: right;
}

.toast-layer {
  position: absolute;
  z-index: 80;
  left: 18px;
  right: 18px;
  top: 62px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  color: #fff;
  background: rgba(36, 24, 23, 0.9);
  box-shadow: 0 14px 28px rgba(36, 24, 23, 0.2);
  backdrop-filter: blur(18px);
  animation: toast-in 220ms ease;
  font-size: 13px;
  font-weight: 650;
}

@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

@media (max-width: 1080px) {
  .demo-stage {
    grid-template-columns: minmax(260px, 320px) auto;
    gap: 28px;
    padding-inline: 24px;
  }
}

@media (max-width: 720px) {
  html,
  body,
  .demo-stage,
  .phone-wrap,
  .phone {
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  body {
    overflow: hidden;
    background: var(--cream);
  }

  .demo-stage {
    display: block;
    min-height: 100svh;
    padding: 0;
    background: var(--cream);
  }

  .demo-stage::before,
  .demo-stage::after,
  .scenario-panel,
  .phone-button,
  .phone-island {
    display: none;
  }

  .phone-wrap {
    filter: none;
  }

  .phone {
    padding: 0;
    border-radius: 0;
    background: var(--cream);
    box-shadow: none;
  }

  .app-viewport {
    border-radius: 0;
    box-shadow: none;
  }

  .app-status {
    display: none;
  }

  .scenario-launcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .screen {
    padding-top: var(--safe-top);
  }

  .bottom-sheet {
    left: 6px;
    right: 6px;
  }

}

@media (max-width: 360px) {
  .screen {
    padding-left: 14px;
    padding-right: 14px;
  }

  .title { font-size: 28px; }
  .balance-value { font-size: 46px; }
  .action-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
