/* Self-hosted Manrope (variable font, weights 400-800).
   One @font-face per subset; weight range avoids 5x duplicated declarations.
   Greek and Vietnamese subsets are intentionally omitted — RU/EN product. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Account commerce v3: commercial MC ladder and compact legal consent foundations. */

.topup-grid__divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding: 10px 2px 2px;
  border-top: 1px solid rgba(241, 208, 113, 0.16);
  color: rgba(245, 247, 251, 0.88);
}

.topup-grid__divider strong {
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.topup-grid__divider span {
  color: rgba(221, 227, 236, 0.58);
  font-size: 0.67rem;
}

.topup-chip__tier {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(241, 208, 113, 0.2);
  border-radius: 999px;
  color: rgba(241, 208, 113, 0.86);
  background: rgba(241, 208, 113, 0.055);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.topup-package-card[data-topup-emphasis="featured"] {
  border-color: rgba(241, 208, 113, 0.48) !important;
  background:
    linear-gradient(90deg, rgba(241, 208, 113, 0.14), transparent 56%),
    rgba(255, 255, 255, 0.035) !important;
  box-shadow: inset 0 1px 0 rgba(255, 246, 214, 0.08), 0 10px 28px rgba(0, 0, 0, 0.16) !important;
}

.topup-package-card[data-topup-emphasis="premium"] {
  border-color: rgba(192, 145, 255, 0.36) !important;
  background:
    linear-gradient(90deg, rgba(192, 145, 255, 0.1), rgba(241, 208, 113, 0.035) 58%, transparent),
    rgba(255, 255, 255, 0.03) !important;
}

.topup-package-card[data-topup-emphasis="premium"] .topup-chip__tier {
  border-color: rgba(192, 145, 255, 0.36);
  color: rgba(222, 196, 255, 0.94);
  background: rgba(192, 145, 255, 0.08);
}

.topup-chip__bonus--none {
  color: rgba(221, 227, 236, 0.48) !important;
}

.topup-validity-note,
.topup-legal-note {
  margin: 7px 0 0;
  color: rgba(221, 227, 236, 0.6);
  font-size: 0.69rem;
  line-height: 1.38;
}

.topup-legal-note {
  margin-top: 3px;
}

@media (max-width: 760px) {
  .topup-grid__divider {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding-top: 8px;
  }

  .topup-validity-note,
  .topup-legal-note {
    font-size: 0.64rem;
  }

  .hub-auth--guest-access .legal-checkbox,
  .page-product--guest-auth .hub-auth--guest-auth-page .legal-checkbox {
    grid-template-columns: 16px minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 6px 7px !important;
    font-size: 0.66rem !important;
    line-height: 1.26 !important;
  }

  .hub-auth--guest-access .legal-checkbox input,
  .page-product--guest-auth .hub-auth--guest-auth-page .legal-checkbox input {
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }
}

/* Isolated Prodamus checkout. The provider surface stays the dominant working object. */
.page-payment-checkout .apps-workspace-panel {
  overflow: auto;
  overscroll-behavior: contain;
}

.payment-checkout {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 18px clamp(12px, 2vw, 22px) calc(18px + var(--mig-safe-area-bottom, 0px));
}

.payment-checkout__summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px 12px;
}

.payment-checkout__summary h1 {
  margin: 4px 0 0;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.1;
}

.payment-checkout__amount {
  display: grid;
  justify-items: end;
  gap: 2px;
  white-space: nowrap;
}

.payment-checkout__amount strong {
  color: #f4d47b;
  font-size: 1.05rem;
}

.payment-checkout__amount span,
.payment-checkout__note {
  color: rgba(240, 242, 245, 0.64);
  font-size: 0.78rem;
}

.payment-checkout__status {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 212, 123, 0.18);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #111319;
  color: rgba(240, 242, 245, 0.82);
  font-size: 0.82rem;
}

.payment-checkout__status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #f4d47b;
  box-shadow: 0 0 0 4px rgba(244, 212, 123, 0.1);
}

.payment-checkout[data-payment-checkout-state="paid"] .payment-checkout__status-dot {
  background: #62d49b;
  box-shadow: 0 0 0 4px rgba(98, 212, 155, 0.1);
}

.payment-checkout[data-payment-checkout-state="failed"] .payment-checkout__status-dot,
.payment-checkout[data-payment-checkout-state="session_lost"] .payment-checkout__status-dot,
.payment-checkout[data-payment-checkout-state="recoverable_error"] .payment-checkout__status-dot {
  background: #e78d75;
  box-shadow: 0 0 0 4px rgba(231, 141, 117, 0.1);
}

.payment-checkout__frame-shell {
  min-height: clamp(430px, calc(100dvh - 300px), 720px);
  overflow: hidden;
  border: 1px solid rgba(244, 212, 123, 0.18);
  border-radius: 0 0 14px 14px;
  background: #fff;
}

.payment-checkout__frame {
  display: block;
  width: 100%;
  height: clamp(430px, calc(100dvh - 300px), 720px);
  border: 0;
  background: #fff;
}

.payment-checkout__frame-error {
  display: grid;
  place-content: center;
  gap: 7px;
  min-height: clamp(430px, calc(100dvh - 300px), 720px);
  padding: 24px;
  color: #18191d;
  text-align: center;
}

.payment-checkout__frame-error span {
  max-width: 430px;
  color: #5d6068;
}

.payment-checkout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
}

.payment-checkout__actions .ghost-button {
  min-height: 44px;
}

.payment-checkout__note {
  max-width: 680px;
  margin: 12px 2px 0;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .payment-checkout {
    padding: 10px 7px calc(12px + var(--mig-safe-area-bottom, 0px));
  }

  .payment-checkout__summary {
    align-items: center;
    padding-inline: 5px;
  }

  .payment-checkout__frame-shell,
  .payment-checkout__frame,
  .payment-checkout__frame-error {
    min-height: max(430px, calc(100dvh - 270px));
    height: max(430px, calc(100dvh - 270px));
  }

  .payment-checkout__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .payment-checkout__actions .ghost-button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .payment-checkout__status-dot {
    transition: none;
  }
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --app-status-bar-canvas: #0b0c10;
  --bg-deep: var(--app-status-bar-canvas);
  --bg-mid: #0f1219;
  --surface: rgba(22, 26, 36, 0.68);
  --surface-solid: #141820;
  --surface-soft: rgba(255, 255, 255, 0.04);
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-bright: rgba(255, 255, 255, 0.14);
  --text: #f0f2f5;
  --text-muted: rgba(240, 242, 245, 0.62);
  --accent-gold: #d4b978;
  --accent-gold-dim: rgba(212, 185, 120, 0.35);
  --accent-gold-glow: rgba(212, 185, 120, 0.16);
  --accent-blue-glow: rgba(92, 142, 214, 0.12);
  --tone-growin-rgb: 103 196 118;
  --tone-mindset-rgb: 145 101 255;
  --tone-gamebook-rgb: 212 185 120;
  --tone-doublethink-rgb: 88 154 236;
  --tone-videoappgrader-rgb: 199 168 95;
  --tone-ideaspro-rgb: 255 160 92;
  --tone-plantheart-rgb: 106 170 112;
  --tone-freestyle-rgb: 87 211 186;
  --tone-chillinapp-rgb: 80 198 188;
  --tone-dreamtrip-rgb: 120 128 255;
  --tone-fivepro-rgb: 82 169 194;
  --tone-daylog-rgb: 78 175 154;
  --tone-textoweed-rgb: 214 128 92;
  --tone-storycast-rgb: 142 105 223;
  --tone-golddigger-rgb: 218 188 86;
  --tone-airappro-rgb: 222 92 138;
  --tone-seedvideo-rgb: 104 186 220;
  --product-gap: clamp(14px, 1.55vw, 22px);
  --product-panel-pad: clamp(18px, 2.1vw, 28px);
  --product-section-gap: clamp(14px, 1.5vw, 20px);
  --product-action-gap: 12px;
  --launcher-pad: clamp(12px, 2.2svh, 24px);
  --launcher-gap: clamp(10px, 1.8svh, 18px);
  --launcher-breathing: clamp(14px, 3svh, 34px);
  --launcher-card-h: clamp(96px, 14svh, 136px);
  --launcher-tile-h: var(--launcher-card-h);
  --launcher-tile-radius: 22px;
  --launcher-dock-h: clamp(58px, 9svh, 78px);
  --danger: #f7b1b1;
  --danger-bg: rgba(156, 54, 54, 0.18);
  --danger-stroke: rgba(247, 177, 177, 0.18);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius-shell: 28px;
  --radius-tile: 18px;
  --nav-h: 52px;
  --hub-width: min(1160px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

img,
svg,
canvas,
video {
  max-width: 100%;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overscroll-behavior-x: none;
  -webkit-text-size-adjust: 100%;
  background: var(--bg-deep);
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.5;
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overscroll-behavior-x: none;
  font-variant-numeric: tabular-nums;
}

input,
textarea,
select,
[data-scroll-surface] {
  touch-action: pan-y;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.shell-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: clip;
  contain: paint;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(110, 141, 156, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 40%, rgba(134, 46, 156, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 45% at 0% 80%, rgba(77, 171, 247, 0.1), transparent 45%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 50%, #0a0c10 100%);
  transform: none;
}

.shell-bg::before,
.shell-bg::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.22;
}

.shell-bg::before {
  width: 28rem;
  height: 28rem;
  top: 14%;
  right: -8rem;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 68%);
}

.shell-bg::after {
  width: 34rem;
  height: 34rem;
  bottom: -10rem;
  left: -10rem;
  background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 72%);
}

.shell-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: clip;
  contain: paint;
  opacity: 0.02;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.shell-header {
  width: var(--hub-width);
  margin: 18px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  position: sticky;
  top: 14px;
  z-index: 20;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(7, 8, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: rise-in 680ms cubic-bezier(0.2, 1, 0.3, 1) both;
}

.shell-brand {
  display: grid;
  gap: 2px;
}

.shell-brand__eyebrow,
.eyebrow,
.hub-app-row__status {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shell-brand__eyebrow,
.eyebrow,
.hub-domain {
  color: var(--accent-gold);
}

.shell-brand__title {
  font-size: 1.08rem;
  font-weight: 800;
}

.shell-nav,
.shell-auth,
.stack-row,
.hub-auth__actions,
.detail-hero__actions,
.app-list__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.shell-nav a,
.text-link,
.text-button {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.shell-nav a:hover,
.text-link:hover,
.text-button:hover {
  color: var(--text);
}

.text-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.shell-user {
  color: var(--accent-gold);
  font-weight: 700;
}

.page-shell {
  width: var(--hub-width);
  margin: 28px auto 80px;
  display: grid;
  gap: 28px;
}

.page-shell--standalone {
  margin: 0 auto;
  min-height: 100svh;
  padding: 12px 0 16px;
}

.page-home .page-shell--standalone,
.page-auth .page-shell--standalone,
.page-product .page-shell--standalone {
  display: grid;
  align-items: stretch;
  min-height: 100svh;
}

.hub-shell,
.detail-hero,
.wallet-hero,
.wallet-panel,
.success-panel,
.app-list__item {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-shell);
  background: var(--surface);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hub-shell {
  position: relative;
  overflow: clip;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 0;
  height: 100%;
  padding: 30px 28px 28px;
  animation: rise-in 760ms cubic-bezier(0.2, 1, 0.3, 1) both;
}

.hub-shell::before,
.hub-shell::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  z-index: -1;
}

.hub-shell::before {
  width: 24rem;
  height: 24rem;
  top: -13rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(212, 185, 120, 0.12) 0%, transparent 72%);
  filter: blur(18px);
}

.hub-shell::after {
  width: 20rem;
  height: 20rem;
  bottom: -11rem;
  left: -9rem;
  background: radial-gradient(circle, rgba(91, 120, 190, 0.08) 0%, transparent 75%);
  filter: blur(26px);
}

.hub-domain {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent-gold-dim);
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.12), rgba(212, 185, 120, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(212, 185, 120, 0.06), 0 10px 28px rgba(0, 0, 0, 0.16);
}

.hub-topline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hub-descriptor {
  display: grid;
  gap: 2px;
  padding: 4px 0;
  color: rgba(240, 242, 245, 0.82);
}

.hub-descriptor__eyebrow {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 185, 120, 0.78);
}

.hub-descriptor strong {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.024em;
  text-wrap: balance;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.hub-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(396px, 438px);
  gap: 20px;
  align-items: stretch;
  min-height: 0;
  height: 100%;
}

.hub-copy,
.hub-copy--auth {
  display: grid;
  align-content: start;
  gap: 12px;
  opacity: 0;
  animation: rise-in 780ms cubic-bezier(0.2, 1, 0.3, 1) both;
  animation-delay: 90ms;
}

.hub-main {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: 22px;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  padding: 24px;
  border-radius: calc(var(--radius-shell) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(18, 22, 31, 0.72), rgba(16, 19, 27, 0.56));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hub-copy h1,
.hub-copy--auth h1,
.section-head h1,
.detail-hero h1,
.wallet-hero h1,
.success-panel h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hub-copy h1 {
  max-width: 12ch;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hub-copy p,
.hub-copy--auth p,
.hub-auth p,
.detail-hero p,
.wallet-hero p,
.success-panel p {
  margin: 0;
  max-width: 24rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.hub-kicker {
  color: var(--accent-gold);
}

.hub-auth {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  min-height: 0;
  height: 100%;
  padding: 24px;
  border-radius: calc(var(--radius-shell) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(18, 22, 31, 0.76), rgba(16, 19, 27, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
  animation: rise-in 820ms cubic-bezier(0.2, 1, 0.3, 1) both;
  animation-delay: 180ms;
}

.hub-auth h2,
.wallet-panel h2,
.hub-section__head h2 {
  margin: 0;
  font-size: clamp(1.38rem, 1.9vw, 1.9rem);
  letter-spacing: -0.03em;
}

.hub-auth--billing h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.hub-auth__actions {
  margin-top: 4px;
}

.auth-pane {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}

.auth-pane[hidden] {
  display: none !important;
}

.auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(212, 185, 120, 0.04);
  border: 1px solid rgba(212, 185, 120, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-switch__button,
.primary-button,
.ghost-button,
.provider-button,
.topup-chip {
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.auth-switch__button {
  padding: 10px 14px;
  background: transparent;
  color: rgba(240, 242, 245, 0.82);
}

.auth-switch__button.is-active {
  color: #fff6df;
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.22), rgba(212, 185, 120, 0.08));
  border-color: rgba(212, 185, 120, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 248, 225, 0.08), 0 0 20px rgba(212, 185, 120, 0.12);
}

.access-form,
.inline-form {
  display: grid;
  gap: 14px;
}

.access-form > .primary-button {
  margin-top: 16px;
}

.access-form label,
.passkey-box label {
  display: grid;
  gap: 8px;
}

input,
select {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
}

.access-form label span,
.passkey-box label span {
  color: rgba(240, 242, 245, 0.9);
}

input::placeholder {
  color: rgba(240, 242, 245, 0.35);
}

input:focus,
select:focus {
  border-color: var(--accent-gold-dim);
  box-shadow: 0 0 0 4px rgba(212, 185, 120, 0.12), 0 0 24px rgba(212, 185, 120, 0.06);
}

.primary-button,
.topup-chip {
  padding: 14px 22px;
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.3), rgba(212, 185, 120, 0.11));
  border-color: rgba(212, 185, 120, 0.3);
  color: #fff7e3;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 12px 28px rgba(0, 0, 0, 0.18), 0 0 22px rgba(212, 185, 120, 0.08);
}

.ghost-button,
.provider-button {
  padding: 13px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 185, 120, 0.14);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ghost-button--compact {
  padding: 10px 16px;
}

.ghost-button--gold {
  border-color: rgba(212, 185, 120, 0.24);
  color: #f5e4b6;
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.12), rgba(212, 185, 120, 0.04));
}

.primary-button:hover,
.ghost-button:hover,
.provider-button:hover,
.topup-chip:hover,
.hub-app-row:hover {
  transform: translateY(-2px);
}

.primary-button:hover,
.ghost-button:hover,
.provider-button:hover,
.topup-chip:hover {
  border-color: rgba(212, 185, 120, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 36px rgba(0, 0, 0, 0.22), 0 0 26px rgba(212, 185, 120, 0.1);
}

.primary-button:disabled,
.ghost-button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.access-meta,
.surface-notice,
.form-feedback {
  padding: 13px 14px;
  border-radius: var(--radius-tile);
}

.surface-notice {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-gold);
}

.surface-notice--inline {
  margin-top: -2px;
}

.form-feedback {
  border: 1px solid var(--danger-stroke);
  background: var(--danger-bg);
  color: var(--danger);
}

.form-feedback[hidden] {
  display: none;
}

.access-meta {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.auth-pane .access-meta,
.passkey-box {
  margin-top: auto;
}

.passkey-box {
  display: grid;
  gap: 12px;
}

.access-divider {
  position: relative;
  text-align: center;
  color: var(--text-muted);
}

.access-divider::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--stroke-bright), transparent);
}

.access-divider span {
  position: relative;
  padding: 0 12px;
  background: var(--surface-solid);
}

.provider-row,
.topup-grid {
  display: grid;
  gap: 12px;
}

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

.hub-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
  display: grid;
  gap: 18px;
}

.hub-section__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-section__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--stroke-bright), transparent);
}

.hub-apps {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 185, 120, 0.28) transparent;
}

.hub-app-row {
  --app-accent-rgb: 212 185 120;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 18px;
  margin: 0;
  border-radius: 24px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.16);
  background:
    radial-gradient(circle at 8% 18%, rgba(212, 185, 120, 0.12), transparent 34%),
    radial-gradient(circle at 100% 100%, rgb(var(--app-accent-rgb) / 0.18), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.014));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 32px rgba(0, 0, 0, 0.16);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  opacity: 0;
  animation: rise-in 760ms cubic-bezier(0.2, 1, 0.3, 1) both;
}

.page-product .hub-app-row {
  opacity: 1;
  animation: none;
}

.hub-shell .hub-main::after {
  display: none;
}

.hub-footer {
  margin-top: 0;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: end;
  gap: 12px 18px;
  flex-wrap: wrap;
  color: rgba(240, 242, 245, 0.5);
  font-size: 0.8rem;
}

.hub-footer__line,
.hub-footer__apps {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hub-footer__line span {
  position: relative;
}

.hub-footer__line span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(212, 185, 120, 0.36);
  margin-left: 12px;
  vertical-align: middle;
}

.hub-shell--product {
  min-height: calc(100svh - 28px);
  gap: 16px;
}

.apps-top-menu {
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  min-width: 0;
}

.apps-top-menu__identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, auto) max-content;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.apps-top-menu__field {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(212, 185, 120, 0.18);
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.11), rgba(212, 185, 120, 0.03));
  color: rgba(240, 242, 245, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.apps-top-menu__domain {
  justify-content: flex-start;
  color: var(--accent-gold);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.apps-top-menu__user,
.apps-top-menu__balance {
  color: #fff1ca;
  background: rgba(212, 185, 120, 0.055);
}

.apps-top-menu__balance {
  color: var(--accent-gold);
}

.apps-top-menu__navline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.product-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.product-nav__links,
.product-nav__session {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.product-nav__links {
  justify-content: center;
}

.product-nav__session {
  justify-content: flex-end;
}

.product-nav__link,
.product-nav__logout,
.product-nav__user,
.product-nav__balance,
.product-nav__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.product-nav__link,
.product-nav__logout,
.product-nav__action,
.product-nav__balance {
  border: 1px solid rgba(212, 185, 120, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(240, 242, 245, 0.78);
  cursor: pointer;
}

.product-nav__link.is-active,
.product-nav__link:hover,
.product-nav__logout:hover,
.product-nav__action:hover,
.product-nav__balance:hover {
  border-color: rgba(212, 185, 120, 0.28);
  color: #fff1ca;
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.16), rgba(212, 185, 120, 0.05));
}

.product-nav__logout,
.product-nav__action {
  font: inherit;
}

.product-nav__user,
.product-nav__balance {
  color: var(--accent-gold);
  background: rgba(212, 185, 120, 0.06);
  border: 1px solid rgba(212, 185, 120, 0.12);
}

.product-nav__action {
  color: #fff4d2;
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.18), rgba(212, 185, 120, 0.06));
}

.apps-top-menu__balance:hover {
  border-color: rgba(212, 185, 120, 0.34);
  color: #fff6dd;
  box-shadow: 0 0 24px rgba(212, 185, 120, 0.08);
}

.product-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  gap: var(--product-gap);
  align-items: stretch;
  min-height: 0;
}

.product-stage--wallet {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.product-stage--success {
  grid-template-columns: minmax(0, 1fr);
}

.payment-status-stage {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(8px, 2vw, 22px);
}

.payment-status-card {
  width: min(760px, 100%);
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(212, 185, 120, 0.18);
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 185, 120, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(20, 23, 32, 0.96), rgba(11, 13, 19, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.payment-status-card__head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.payment-status-card__mark {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(212, 185, 120, 0.26);
  background: rgba(212, 185, 120, 0.08);
  color: #fff3d2;
  font-size: 1.55rem;
  font-weight: 950;
}

.payment-status-card[data-payment-status-state="paid"] .payment-status-card__mark {
  border-color: rgba(126, 219, 167, 0.34);
  background: rgba(126, 219, 167, 0.1);
  color: #bff0cd;
}

.payment-status-card[data-payment-status-state="failed"] .payment-status-card__mark {
  border-color: rgba(255, 126, 126, 0.34);
  background: rgba(255, 126, 126, 0.1);
  color: #ffd1c8;
}

.payment-status-card__copy h1 {
  max-width: none;
  margin: 2px 0 0;
  color: #fff3d2;
  font-size: clamp(1.45rem, 4vw, 2.35rem);
  line-height: 1.04;
}

.payment-status-card__copy p {
  max-width: 36rem;
  margin: 8px 0 0;
  color: rgba(240, 242, 245, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.payment-status-card__meta > div {
  display: grid;
  gap: 4px;
  min-height: 68px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.028);
}

.payment-status-card__meta span {
  color: rgba(212, 185, 120, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-status-card__meta strong {
  color: #fff3d2;
  font-size: 1.05rem;
  line-height: 1.2;
}

.payment-status-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-status-card__actions .primary-button,
.payment-status-card__actions .ghost-button {
  min-height: 46px;
}

.product-stage.product-stage--single {
  grid-template-columns: minmax(0, 1fr);
}

.product-main,
.product-side {
  min-height: 0;
  overflow: hidden;
}

.page-product .hub-copy,
.page-product .hub-copy--auth {
  opacity: 1;
  animation: none;
}

.product-main {
  gap: var(--product-section-gap);
}

.product-side {
  justify-content: flex-start;
  gap: var(--product-section-gap);
}

.page-product .product-main,
.page-product .product-side {
  padding: var(--product-panel-pad);
  opacity: 1;
  animation: none;
}

.product-copy h1 {
  max-width: 14ch;
}

.product-action-stack {
  display: grid;
  gap: var(--product-action-gap);
  margin-top: auto;
}

.product-scroll {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 185, 120, 0.28) transparent;
}

.topup-grid--product {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: auto;
}

.product-ledger-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
}

.ledger-list--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ledger-list--compact li {
  align-items: center;
  padding: 9px 11px;
  font-size: 0.82rem;
}

.page-product--apps .hub-apps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hub-app-row.catalog-app-card {
  min-height: 172px;
  grid-template-columns: 50px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  align-content: stretch;
  gap: 14px 14px;
  padding: 18px;
  padding-right: 54px;
  overflow: hidden;
}

.catalog-app-card__logo {
  grid-column: 1;
  grid-row: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: 16px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.34);
  background:
    radial-gradient(circle at 28% 18%, rgb(var(--app-accent-rgb) / 0.28), transparent 62%),
    rgba(255, 255, 255, 0.045);
  color: #fff6dd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075), 0 12px 26px rgba(0, 0, 0, 0.18);
}

.page-product--apps .catalog-app-card .hub-app-row__body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-left: 0;
  padding-right: 6px;
  align-content: start;
}

.page-product--apps .catalog-app-card .hub-app-row__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  min-width: 0;
}

.page-product--apps .catalog-app-card .hub-app-row__body h3 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-product--apps .catalog-app-card .hub-app-row__body p {
  display: -webkit-box;
  max-width: none;
  overflow: hidden;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-product--apps .catalog-app-card .hub-app-row__status {
  align-self: start;
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-product--apps .hub-app-row__action {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: stretch;
  align-self: end;
}

.page-product--apps .hub-app-row__cta {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  padding: 12px 16px;
}

.catalog-app-card--selected {
  border-color: rgb(var(--app-accent-rgb) / 0.32);
  background:
    radial-gradient(circle at 8% 18%, rgb(var(--app-accent-rgb) / 0.18), transparent 34%),
    radial-gradient(circle at 100% 100%, rgb(var(--app-accent-rgb) / 0.2), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.016));
}

.shortcut-toggle {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.28);
  background: rgba(255, 255, 255, 0.045);
  color: #fff0c8;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 10px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.shortcut-toggle:hover,
.shortcut-toggle.is-selected {
  border-color: rgb(var(--app-accent-rgb) / 0.48);
  background: linear-gradient(180deg, rgb(var(--app-accent-rgb) / 0.28), rgba(212, 185, 120, 0.09));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 28px rgb(var(--app-accent-rgb) / 0.16);
}

.shortcut-toggle:hover {
  transform: scale(1.04);
}

.hub-shell--welcome {
  background:
    radial-gradient(circle at 16% 14%, rgba(212, 185, 120, 0.1), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(83, 130, 214, 0.1), transparent 36%),
    var(--surface);
}

.welcome-stage {
  grid-template-columns: minmax(0, 1fr) minmax(376px, 426px);
}

.welcome-main {
  grid-template-rows: auto minmax(0, 1fr);
}

.welcome-hero h1 {
  max-width: 14ch;
}

.welcome-inviter,
.welcome-member-balance {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 185, 120, 0.18);
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.13), rgba(212, 185, 120, 0.04));
  box-shadow: 0 0 28px rgba(212, 185, 120, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.welcome-inviter span,
.welcome-member-balance span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.welcome-inviter strong,
.welcome-member-balance strong {
  color: #fff3d2;
}

.welcome-apps {
  min-height: 0;
}

.welcome-apps .hub-apps {
  height: 100%;
}

.welcome-auth {
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 185, 120, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(18, 22, 31, 0.78), rgba(16, 19, 27, 0.64));
}

.copy-feedback {
  color: var(--accent-gold);
  font-size: 0.84rem;
}

.copy-feedback[hidden] {
  display: none;
}

.hub-app-row:nth-child(1) {
  animation-delay: 200ms;
}

.hub-app-row:nth-child(2) {
  animation-delay: 260ms;
}

.hub-app-row:nth-child(3) {
  animation-delay: 320ms;
}

.hub-app-row:first-child {
  margin-top: 0;
}

.hub-app-row::before,
.hub-app-row::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hub-app-row::before {
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 1px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(212, 185, 120, 0), rgba(212, 185, 120, 0.46), rgb(var(--app-accent-rgb) / 0.5), rgba(212, 185, 120, 0));
  opacity: 0.9;
}

.hub-app-row::after {
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 36px rgba(0, 0, 0, 0.18),
    0 0 34px rgb(var(--app-accent-rgb) / 0.12);
  transition: opacity 0.24s ease;
}

.hub-app-row__body {
  display: grid;
  gap: 9px;
  padding-left: 8px;
}

.hub-app-row__head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hub-app-row__status {
  color: rgb(var(--app-accent-rgb) / 0.98);
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.12), rgb(var(--app-accent-rgb) / 0.12));
  border: 1px solid rgb(var(--app-accent-rgb) / 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.24s ease, color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.hub-app-row__body h3,
.app-list__item h2 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.hub-app-row__body p,
.app-list__item p,
.detail-hero__hint {
  margin: 0;
  color: var(--text-muted);
  max-width: 34rem;
  line-height: 1.66;
}

.hub-app-row__action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hub-app-row__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 158px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 185, 120, 0.26);
  background: linear-gradient(135deg, rgba(212, 185, 120, 0.26), rgb(var(--app-accent-rgb) / 0.18));
  color: #fff4da;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.18),
    0 0 24px rgb(var(--app-accent-rgb) / 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hub-app-row__cta::after {
  content: "↗";
  font-size: 0.92rem;
  opacity: 0.84;
  transform: translateX(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hub-app-row__cta:hover {
  transform: translateY(-1px);
}

.hub-app-row__cta:hover::after {
  transform: translateX(2px);
  opacity: 1;
}

.hub-app-row__cta--secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border-color: rgb(var(--app-accent-rgb) / 0.18);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hub-app-row__cta--muted {
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  box-shadow: none;
  cursor: default;
}

.hub-app-row__cta--muted::after {
  content: "";
}

.hub-app-row:hover {
  border-color: rgb(var(--app-accent-rgb) / 0.24);
  background:
    radial-gradient(circle at 8% 18%, rgba(212, 185, 120, 0.16), transparent 34%),
    radial-gradient(circle at 100% 100%, rgb(var(--app-accent-rgb) / 0.24), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.018));
}

.hub-app-row:hover::after {
  opacity: 1;
}

.hub-app-row:hover .hub-app-row__status {
  color: #fff4db;
  border-color: rgba(212, 185, 120, 0.24);
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.16), rgb(var(--app-accent-rgb) / 0.18));
  box-shadow: 0 0 0 1px rgba(212, 185, 120, 0.06);
}

.hub-app-row:hover .hub-app-row__cta {
  border-color: rgba(212, 185, 120, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 36px rgba(0, 0, 0, 0.22),
    0 0 28px rgb(var(--app-accent-rgb) / 0.12);
}

.hub-app-row--growinapp {
  --app-accent-rgb: var(--tone-growin-rgb);
}

.hub-app-row--mindsetapp {
  --app-accent-rgb: var(--tone-mindset-rgb);
}

.hub-app-row--gamebook {
  --app-accent-rgb: var(--tone-gamebook-rgb);
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.09), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(212, 185, 120, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.015));
}

.hub-app-row--doublethink {
  --app-accent-rgb: var(--tone-doublethink-rgb);
}

.hub-app-row--videoappgrader {
  --app-accent-rgb: var(--tone-videoappgrader-rgb);
  border-color: rgba(214, 188, 126, 0.18);
  background:
    radial-gradient(circle at 10% 14%, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(199, 168, 95, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.014));
}

.hub-app-row--ideaspro {
  --app-accent-rgb: var(--tone-ideaspro-rgb);
}

.hub-app-row--plantheart {
  --app-accent-rgb: var(--tone-plantheart-rgb);
}

.hub-app-row--chillinapp {
  --app-accent-rgb: var(--tone-chillinapp-rgb);
}

.hub-app-row--freestyle {
  --app-accent-rgb: var(--tone-freestyle-rgb);
}

.hub-app-row--dreamtrip {
  --app-accent-rgb: var(--tone-dreamtrip-rgb);
}

.hub-app-row--fivepro {
  --app-accent-rgb: var(--tone-fivepro-rgb);
}

.hub-app-row--daylog {
  --app-accent-rgb: var(--tone-daylog-rgb);
}

.hub-app-row--textoweed {
  --app-accent-rgb: var(--tone-textoweed-rgb);
}

.hub-app-row--storycast {
  --app-accent-rgb: var(--tone-storycast-rgb);
}

.hub-app-row--golddigger {
  --app-accent-rgb: var(--tone-golddigger-rgb);
}

.hub-app-row--airappro {
  --app-accent-rgb: var(--tone-airappro-rgb);
}

.hub-app-row--seedvideo {
  --app-accent-rgb: var(--tone-seedvideo-rgb);
}

.hub-app-row--newsroll {
  --app-accent-rgb: 116 197 180;
  border-color: rgba(116, 197, 180, 0.16);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.055), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(116, 197, 180, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.014));
}

.hub-app-row--reads {
  --app-accent-rgb: 199 167 98;
  border-color: rgba(199, 167, 98, 0.16);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.055), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(199, 167, 98, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.014));
}

.hub-app-row--boilpoint {
  --app-accent-rgb: 211 255 99;
  border-color: rgba(211, 255, 99, 0.16);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.055), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(211, 255, 99, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.014));
}

.hub-app-row--firstdate {
  --app-accent-rgb: 255 156 176;
  border-color: rgba(255, 156, 176, 0.17);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.055), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(255, 156, 176, 0.15), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.014));
}

.hub-app-row--walktalk {
  --app-accent-rgb: 142 230 209;
  border-color: rgba(142, 230, 209, 0.17);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.055), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(142, 230, 209, 0.15), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.014));
}

@media (hover: none) {
  .auth-switch__button,
  .primary-button,
  .ghost-button,
  .provider-button,
  .topup-chip,
  .hub-app-row,
  .hub-app-row__cta,
  .launcher-tile {
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  }

  .primary-button:hover,
  .ghost-button:hover,
  .provider-button:hover,
  .topup-chip:hover,
  .hub-app-row:hover,
  .hub-app-row__cta:hover,
  .launcher-tile:hover {
    transform: none;
  }

  .hub-app-row__cta:hover::after {
    transform: none;
  }
}

.launcher-shell {
  position: relative;
  overflow: clip;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(12px, 2svh, 22px);
  height: 100%;
  padding: var(--launcher-pad);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-shell);
  background:
    radial-gradient(circle at 16% 8%, rgba(212, 185, 120, 0.12), transparent 34%),
    radial-gradient(circle at 86% 84%, rgba(83, 130, 214, 0.1), transparent 36%),
    var(--surface);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: rise-in 620ms cubic-bezier(0.2, 1, 0.3, 1) both;
}

.page-launcher .launcher-shell {
  animation: none;
}

.launcher-topbar,
.launcher-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--launcher-gap);
  min-height: var(--launcher-dock-h);
  min-width: 0;
}

.launcher-brand,
.launcher-balance {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.launcher-brand span,
.launcher-balance span {
  color: var(--accent-gold);
  font-size: clamp(0.62rem, 1.4svh, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launcher-brand strong,
.launcher-balance strong {
  color: #fff4d5;
  font-size: clamp(0.92rem, 2svh, 1.12rem);
  letter-spacing: -0.02em;
}

.launcher-balance {
  justify-items: end;
  padding: 10px 14px;
  border: 1px solid rgba(212, 185, 120, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.12), rgba(212, 185, 120, 0.035));
}

.launcher-balance--unavailable strong {
  color: var(--text-muted);
}

.launcher-workspace {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: clamp(10px, 1.8svh, 18px);
  min-height: 0;
  height: 100%;
  padding: clamp(48px, 9svh, 82px) 0 clamp(6px, 1.5svh, 16px);
}

.launcher-copy {
  display: grid;
  gap: 6px;
  max-width: 42rem;
}

.launcher-copy h1 {
  margin: 0;
  font-size: clamp(1.35rem, 4svh, 2.35rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.launcher-copy p {
  margin: 0;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: clamp(0.78rem, 1.8svh, 0.98rem);
}

.launcher-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--launcher-gap);
  min-height: 0;
  align-content: center;
  width: 100%;
}

.launcher-tile {
  --app-accent-rgb: 212 185 120;
  position: relative;
  min-height: var(--launcher-tile-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: start;
  width: 100%;
  padding: clamp(14px, 2.25svh, 20px);
  overflow: hidden;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.24);
  border-radius: var(--launcher-tile-radius);
  background:
    radial-gradient(circle at 12% 0%, rgb(var(--app-accent-rgb) / 0.24), transparent 40%),
    radial-gradient(circle at 96% 100%, rgba(212, 185, 120, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 16px 36px rgba(0, 0, 0, 0.18), 0 0 30px rgb(var(--app-accent-rgb) / 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.launcher-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--app-accent-rgb) / 0.45), rgba(212, 185, 120, 0.34), transparent);
  opacity: 0.72;
}

.launcher-tile:hover,
.launcher-tile--selected {
  transform: translateY(-2px);
  border-color: rgb(var(--app-accent-rgb) / 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.24), 0 0 38px rgb(var(--app-accent-rgb) / 0.16);
}

.launcher-tile__mark {
  position: absolute;
  left: clamp(14px, 2.25svh, 20px);
  top: clamp(14px, 2.2svh, 20px);
  width: clamp(34px, 5.8svh, 42px);
  height: clamp(34px, 5.8svh, 42px);
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.34);
  background:
    radial-gradient(circle at 28% 16%, rgb(var(--app-accent-rgb) / 0.32), transparent 64%),
    rgba(255, 255, 255, 0.045);
  color: #fff6dd;
  font-size: clamp(0.66rem, 1.35svh, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075), 0 0 22px rgb(var(--app-accent-rgb) / 0.18);
}

.launcher-tile__body {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding-left: clamp(44px, 7svh, 52px);
  padding-right: 2px;
}

.launcher-tile__body strong {
  font-size: clamp(0.95rem, 2.2svh, 1.18rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}

.launcher-tile__body small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-muted);
  font-size: clamp(0.7rem, 1.55svh, 0.82rem);
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.launcher-tile__action {
  grid-column: 1 / -1;
  align-self: end;
  justify-self: stretch;
  padding: 10px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.26), rgb(var(--app-accent-rgb) / 0.16));
  border: 1px solid rgb(var(--app-accent-rgb) / 0.24);
  color: #fff3d2;
  font-size: clamp(0.72rem, 1.55svh, 0.84rem);
  font-weight: 900;
  text-align: center;
}

.launcher-tile--selected .launcher-tile__action {
  color: #fff8e4;
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.34), rgb(var(--app-accent-rgb) / 0.2));
  border-color: rgba(212, 185, 120, 0.34);
}

.launcher-tile.hub-app-row--videoappgrader .launcher-tile__body strong {
  font-size: clamp(0.84rem, 1.86svh, 1rem);
  letter-spacing: -0.04em;
}

.launcher-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.launcher-feedback {
  min-height: 1.25em;
  color: var(--accent-gold);
  font-size: 0.84rem;
}

.launcher-feedback[hidden] {
  display: block;
  visibility: hidden;
}

.launcher-start-hint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--launcher-gap);
  min-width: 0;
  padding: clamp(13px, 2svh, 18px);
  border: 1px solid rgba(212, 185, 120, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 185, 120, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(212, 185, 120, 0.1), rgba(255, 255, 255, 0.032));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 18px 38px rgba(0, 0, 0, 0.16);
}

.launcher-start-hint[hidden] {
  display: none;
}

.launcher-start-hint > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.launcher-start-hint strong {
  color: #fff3d2;
  font-size: clamp(0.98rem, 2.1svh, 1.18rem);
  letter-spacing: -0.025em;
}

.launcher-start-hint p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(0.74rem, 1.5svh, 0.86rem);
  line-height: 1.45;
}

.launcher-start-hint__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: min(190px, 42vw);
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212, 185, 120, 0.32);
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.32), rgba(212, 185, 120, 0.12));
  color: #fff4d8;
  font: inherit;
  font-size: clamp(0.78rem, 1.55svh, 0.9rem);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(212, 185, 120, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.launcher-start-hint__action:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 185, 120, 0.44);
  box-shadow: 0 0 34px rgba(212, 185, 120, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.launcher-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: var(--launcher-tile-radius);
  border: 1px solid var(--stroke);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.035);
}

@media (hover: none) {
  .primary-button:hover,
  .ghost-button:hover,
  .provider-button:hover,
  .topup-chip:hover,
  .hub-app-row:hover,
  .hub-app-row__cta:hover,
  .launcher-tile:hover,
  .launcher-start-hint__action:hover,
  .launcher-tile--selected {
    transform: none;
  }

  .hub-app-row__cta:hover::after {
    transform: none;
  }
}

.topup-chip--hub {
  justify-items: center;
  text-align: center;
  min-height: 72px;
  animation: rise-in 860ms cubic-bezier(0.2, 1, 0.3, 1) both;
}

.topup-chip--hub strong {
  font-size: 1.05rem;
}

.topup-chip--hub:nth-child(1) { animation-delay: 260ms; }
.topup-chip--hub:nth-child(2) { animation-delay: 320ms; }
.topup-chip--hub:nth-child(3) { animation-delay: 380ms; }
.topup-chip--hub:nth-child(4) { animation-delay: 440ms; }
.topup-chip--hub:nth-child(5) { animation-delay: 500ms; }

.hub-app-row--empty {
  grid-template-columns: 1fr;
}

.section-head,
.detail-hero,
.wallet-hero,
.wallet-panel,
.success-panel {
  padding: 28px;
}

.section-head {
  display: grid;
  gap: 10px;
}

.section-head h1 {
  max-width: 100%;
}

.detail-hero,
.wallet-hero,
.success-panel {
  display: grid;
  gap: 18px;
}

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

.app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}

.app-list__item {
  padding: 24px;
  display: grid;
  gap: 10px;
}

.simple-list,
.ledger-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.simple-list li,
.ledger-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.simple-list strong,
.ledger-list strong {
  color: var(--text);
}

.topup-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
}

.topup-chip {
  width: 100%;
  display: grid;
  gap: 6px;
  text-align: left;
}

.apps-transition {
  --apps-entry-accent: #f5d889;
  --apps-entry-accent-2: #d4b978;
  --apps-entry-accent-rgb: 245, 216, 137;
  --apps-entry-accent-2-rgb: 212, 185, 120;
  --apps-entry-safe-y: max(22px, var(--mig-safe-area-top, 0px), var(--mig-safe-area-bottom, 0px));
  --apps-entry-safe-x: max(18px, var(--mig-safe-area-left, 0px), var(--mig-safe-area-right, 0px));
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: var(--apps-entry-safe-y) var(--apps-entry-safe-x);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(var(--apps-entry-accent-rgb), 0.14), transparent 38%),
    radial-gradient(circle at 50% 58%, rgba(var(--apps-entry-accent-2-rgb), 0.08), transparent 42%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.985), rgba(8, 9, 13, 1));
  color: #fff3d2;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.apps-transition-booting:not(.page-legal),
body.apps-transition-active:not(.page-legal) {
  overflow: hidden;
}

body.apps-transition-booting .apps-transition,
body.apps-transition-active .apps-transition {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-shell,
.hub-shell {
  transition:
    opacity 160ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.apps-page-leaving .page-shell {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: none;
}

.apps-transition__stage {
  width: min(320px, 100%);
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  contain: layout paint style;
  opacity: 0;
  transform: translateY(0) scale(1);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.apps-transition-booting .apps-transition__stage,
body.apps-transition-active .apps-transition__stage {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Apps loader mark motion v1 */
.apps-transition__mark {
  position: relative;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 1px solid rgba(var(--apps-entry-accent-rgb), 0.36);
  background:
    linear-gradient(180deg, rgba(var(--apps-entry-accent-rgb), 0.16), rgba(var(--apps-entry-accent-2-rgb), 0.05)),
    rgba(12, 13, 17, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 22px 58px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(var(--apps-entry-accent-rgb), 0.18);
  overflow: hidden;
}

.apps-transition__mark::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, rgba(var(--apps-entry-accent-rgb), 0.15), rgba(var(--apps-entry-accent-rgb), 0.92), rgba(var(--apps-entry-accent-2-rgb), 0.14), rgba(var(--apps-entry-accent-rgb), 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: apps-transition-spin 2.8s linear infinite;
}

.apps-transition__mark span {
  position: relative;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--apps-entry-accent);
}

.apps-transition__mark--image {
  border: 0;
  background: rgba(7, 8, 12, 0.72);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(var(--apps-entry-accent-rgb), 0.18);
}

.apps-transition__mark--image span {
  display: none;
}

.apps-transition__mark img {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 3px;
  display: block;
  border-radius: inherit;
  object-fit: contain;
  transform: none;
  transform-origin: 50% 50%;
}

.apps-transition__copy {
  display: grid;
  gap: 6px;
}

.apps-transition__copy span {
  font-size: 11.52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--apps-entry-accent-rgb), 0.78);
}

.apps-transition__copy strong {
  font-size: 24.8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.apps-transition__copy p {
  min-height: 1.25em;
  margin: 0;
  color: rgba(255, 247, 225, 0.72);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.apps-transition__bar {
  width: min(210px, 68vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.apps-transition__bar span {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--apps-entry-accent), var(--apps-entry-accent-2), transparent);
  animation: apps-transition-bar 1.45s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.apps-transition__action {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(245, 216, 137, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #ffe6a4;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.apps-transition.is-error {
  background:
    radial-gradient(circle at 50% 42%, rgba(232, 114, 127, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.985), rgba(8, 9, 13, 1));
}

.apps-transition.is-error .apps-transition__mark {
  border-color: rgba(232, 114, 127, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 58px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(232, 114, 127, 0.12);
}

.apps-transition.is-error .apps-transition__copy span,
.apps-transition.is-error .apps-transition__mark span {
  color: #ffc9d0;
}

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

@keyframes apps-transition-bar {
  0% { transform: translateX(-115%); }
  100% { transform: translateX(230%); }
}

.shell-toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.shell-toast {
  max-width: min(360px, calc(100vw - 28px));
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(212, 185, 120, 0.2);
  background: rgba(12, 14, 19, 0.88);
  color: #fff1cd;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 24px rgba(212, 185, 120, 0.08);
  animation: toast-in 220ms ease both;
}

.shell-toast--error {
  border-color: rgba(247, 177, 177, 0.24);
  color: #ffd8d8;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 24px rgba(247, 177, 177, 0.08);
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hub-stage,
  .welcome-stage,
  .hub-stage--auth,
  .product-stage,
  .wallet-grid,
  .hub-app-row {
    grid-template-columns: 1fr;
  }

  .hub-copy h1,
  .hub-copy--auth h1 {
    max-width: 100%;
  }

  .hub-app-row__action {
    justify-content: flex-start;
    width: 100%;
  }

  .hub-app-row__cta {
    width: 100%;
  }

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

  .topup-grid--product,
  .ledger-list--compact,
  .product-ledger-strip {
    grid-template-columns: 1fr;
  }

  .hub-topline--product {
    align-items: flex-start;
  }

  .product-nav {
    justify-content: flex-start;
  }

  .product-nav__links,
  .product-nav__session {
    justify-content: flex-start;
  }

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

@media (min-width: 961px) and (max-height: 840px) {
  .page-shell--standalone {
    padding: 8px 0 10px;
  }

  .hub-shell {
    gap: 14px;
    padding: 24px 24px 22px;
  }

  .hub-shell--product {
    gap: 12px;
    padding: 20px;
  }

  .hub-descriptor {
    gap: 1px;
  }

  .hub-descriptor strong {
    font-size: 0.92rem;
  }

  .hub-stage {
    grid-template-columns: minmax(0, 1fr) minmax(388px, 430px);
    gap: 18px;
  }

  .hub-copy,
  .hub-copy--auth,
  .hub-main {
    gap: 16px;
  }

  .hub-main,
  .hub-auth {
    padding: 20px 20px 18px;
  }

  .product-stage {
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(308px, 360px);
  }

  .product-stage--wallet {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  }

  .product-main,
  .product-side {
    padding: 18px;
  }

  .hub-copy h1,
  .hub-copy--auth h1 {
    font-size: clamp(1.74rem, 3vw, 2.72rem);
  }

  .hub-copy p,
  .hub-copy--auth p,
  .hub-auth p {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .hub-auth {
    gap: 16px;
  }

  .hub-auth h2 {
    font-size: clamp(1.22rem, 1.6vw, 1.56rem);
  }

  .auth-switch {
    gap: 6px;
    padding: 5px;
  }

  .auth-switch__button {
    padding: 9px 12px;
  }

  .access-form,
  .inline-form,
  .provider-row,
  .topup-grid {
    gap: 10px;
  }

  .access-form > .primary-button {
    margin-top: 14px;
  }

  .access-form label,
  .passkey-box label {
    gap: 5px;
  }

  input,
  select {
    padding: 12px 14px;
  }

  .primary-button,
  .topup-chip,
  .ghost-button,
  .provider-button,
  .hub-app-row__cta {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hub-app-row {
    gap: 16px;
    padding: 18px 16px;
  }

  .hub-app-row__body {
    gap: 7px;
  }

  .hub-app-row__body h3 {
    font-size: 1.06rem;
  }

  .hub-app-row__body p {
    line-height: 1.56;
  }

  .access-meta,
  .surface-notice,
  .form-feedback {
    padding: 11px 12px;
  }

  .hub-footer {
    padding-top: 6px;
    font-size: 0.76rem;
  }

  .topup-grid--product {
    gap: 8px;
  }

  .product-ledger-strip {
    padding: 10px 12px;
  }

  .ledger-list--compact li {
    padding: 8px 10px;
  }

  .launcher-shell {
    --launcher-pad: 18px;
    --launcher-gap: 12px;
    --launcher-tile-h: clamp(78px, 13svh, 104px);
  }
}

@media (min-width: 961px) and (max-height: 800px) {
  .page-shell--standalone {
    padding: 2px 0 4px;
  }

  .hub-shell {
    gap: 10px;
    padding: 12px 16px 14px;
  }

  .hub-shell--product {
    padding: 12px;
    gap: 10px;
  }

  .hub-topline {
    gap: 8px 12px;
  }

  .hub-domain {
    padding: 6px 14px;
    font-size: 0.62rem;
  }

  .hub-descriptor {
    gap: 0;
    padding: 2px 0;
  }

  .hub-descriptor__eyebrow {
    font-size: 0.58rem;
  }

  .hub-descriptor strong {
    font-size: 0.84rem;
  }

  .hub-stage {
    grid-template-columns: minmax(0, 1fr) minmax(392px, 424px);
    gap: 14px;
  }

  .product-stage,
  .product-stage--wallet {
    grid-template-columns: minmax(0, 1fr) minmax(286px, 330px);
    gap: 10px;
  }

  .hub-main,
  .hub-auth {
    padding: 16px 16px 14px;
  }

  .product-main,
  .product-side {
    padding: 14px;
    gap: 10px;
  }

  .hub-main {
    gap: 12px;
  }

  .hub-copy,
  .hub-copy--auth {
    gap: 6px;
  }

  .hub-copy h1,
  .hub-copy--auth h1 {
    font-size: clamp(1.34rem, 2.08vw, 1.92rem);
    line-height: 0.98;
  }

  .hub-copy p,
  .hub-copy--auth p,
  .hub-auth p {
    font-size: 0.8rem;
    line-height: 1.32;
  }

  .hub-auth {
    gap: 12px;
  }

  .auth-pane {
    gap: 10px;
  }

  .hub-auth h2 {
    font-size: 1.32rem;
  }

  .auth-switch {
    gap: 5px;
    padding: 4px;
  }

  .auth-switch__button {
    padding: 8px 10px;
  }

  .access-form,
  .inline-form,
  .provider-row,
  .topup-grid,
  .passkey-box {
    gap: 7px;
  }

  .access-form > .primary-button {
    margin-top: 10px;
  }

  .access-form label,
  .passkey-box label {
    gap: 5px;
  }

  .access-form label span,
  .passkey-box label span {
    font-size: 0.88rem;
  }

  input,
  select {
    padding: 11px 14px;
    border-radius: 14px;
  }

  .primary-button,
  .topup-chip,
  .ghost-button,
  .provider-button,
  .hub-app-row__cta {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hub-apps {
    gap: 8px;
  }

  .product-nav {
    gap: 6px;
  }

  .product-nav__link,
  .product-nav__logout,
  .product-nav__user {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 0.74rem;
  }

  .topup-grid--product {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .topup-grid--product .topup-chip {
    min-height: 54px;
    padding-left: 9px;
    padding-right: 9px;
  }

  .topup-grid--product .topup-chip span {
    display: none;
  }

  .product-ledger-strip {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 8px 10px;
  }

  .ledger-list--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .ledger-list--compact li {
    padding: 7px 8px;
    font-size: 0.7rem;
  }

  .ledger-list--compact time {
    display: none;
  }

  .hub-app-row {
    gap: 10px;
    padding: 9px 11px;
    border-radius: 18px;
  }

  .hub-app-row::before {
    top: 10px;
    bottom: 10px;
  }

  .hub-app-row__body {
    gap: 4px;
    padding-left: 4px;
  }

  .hub-app-row__head {
    gap: 10px;
  }

  .hub-app-row__body h3 {
    font-size: 1rem;
  }

  .hub-app-row__body p {
    line-height: 1.24;
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hub-app-row__status {
    display: none;
  }

  .hub-app-row__cta {
    min-width: 132px;
    font-size: 0.92rem;
  }

  .access-meta,
  .surface-notice,
  .form-feedback {
    padding: 9px 11px;
    font-size: 0.82rem;
  }

  .hub-footer {
    padding-top: 4px;
    padding-bottom: 0;
    font-size: 0.64rem;
    gap: 6px 10px;
  }

  .hub-footer__apps {
    display: none;
  }

  .hub-footer__line,
  .hub-footer__apps {
    gap: 6px;
  }

  .hub-footer__line span:not(:last-child)::after {
    margin-left: 6px;
  }

  .launcher-shell {
    --launcher-pad: 10px;
    --launcher-gap: 7px;
    --launcher-tile-h: clamp(64px, 12.5svh, 88px);
    --launcher-dock-h: 48px;
  }

  .launcher-tile {
    padding: 10px;
    border-radius: 18px;
  }

  .launcher-tile__body small {
    -webkit-line-clamp: 1;
  }

  .launcher-tile__action {
    padding: 7px 10px;
  }

  .launcher-actions {
    gap: 6px;
  }

  .launcher-actions .primary-button,
  .launcher-actions .ghost-button {
    padding: 8px 11px;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 960px) {
  .shell-bg,
  .shell-noise {
    position: absolute;
    inset: 0;
    min-height: 100%;
    max-width: 100%;
    overflow: clip;
    contain: paint;
  }

  .shell-bg,
  .shell-bg::before,
  .shell-bg::after {
    transform: none;
  }

  .shell-header,
  .page-shell {
    width: min(100vw - 24px, 1160px);
  }

  .page-shell--standalone {
    min-height: auto;
    height: auto;
    padding: 12px 0 28px;
  }

  .page-product .page-shell--standalone {
    min-height: 100svh;
    height: auto;
    padding: 10px 0 18px;
  }

  .page-home .hub-shell,
  .page-auth .hub-shell {
    min-height: auto;
    height: auto;
    grid-template-rows: auto auto auto;
  }

  .page-product .hub-shell {
    grid-template-rows: auto auto;
    min-height: auto;
    height: auto;
    overflow: clip;
    gap: 14px;
  }

  .hub-stage,
  .product-stage {
    height: auto;
    min-height: auto;
  }

  .page-product .product-stage {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .page-product .product-stage--wallet,
  .page-product .product-stage--account,
  .page-product .product-stage--detail,
  .page-product .product-stage--success {
    display: flex;
    flex-direction: column;
  }

  .page-home .hub-stage,
  .page-auth .hub-stage {
    display: flex;
    flex-direction: column;
  }

  .page-home .hub-auth,
  .page-auth .hub-auth {
    order: -1;
  }

  .page-auth .hub-main {
    display: none;
  }

  .hub-main {
    grid-template-rows: auto auto;
    height: auto;
    overflow: visible;
  }

  .page-product .product-main,
  .page-product .product-side {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .page-product .product-main {
    grid-template-rows: auto;
  }

  .page-product .product-copy {
    gap: 7px;
  }

  .page-product .product-copy h1 {
    max-width: 100%;
    font-size: clamp(1.52rem, 7vw, 2.15rem);
    line-height: 1.02;
  }

  .page-product .product-copy p {
    max-width: 100%;
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .page-product .product-side {
    gap: 12px;
  }

  .page-product--apps .product-side,
  .page-product--success .hub-footer,
  .page-product .hub-footer {
    display: none;
  }

  .page-product--apps .product-copy p {
    display: none;
  }

  .page-product--apps .hub-apps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-product--wallet .product-ledger-strip{
    margin-top: 0;
  }

  .product-nav {
    width: 100%;
    display: grid;
    gap: 8px;
    justify-content: stretch;
  }

  .product-nav__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
  }

  .product-nav__session {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    width: 100%;
  }

  .product-nav__link,
  .product-nav__logout,
  .product-nav__user {
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
  }

  .product-nav__user {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hub-auth {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .auth-pane {
    flex: 0 1 auto;
  }

  .auth-pane .access-meta,
  .passkey-box {
    margin-top: 0;
  }

  .hub-apps {
    height: auto;
    overflow: visible;
    padding-right: 0;
  }

  .page-launcher .launcher-shell {
    min-height: calc(100svh - 16px);
    height: auto;
    overflow: visible;
  }

  .launcher-workspace {
    min-height: 0;
  }

  .shell-toast-stack {
    right: 12px;
    bottom: 12px;
  }

  .hub-topline {
    gap: 10px;
  }

  .hub-topline__identity {
    width: 100%;
  }

  .hub-descriptor {
    width: 100%;
    gap: 3px;
  }

  .hub-descriptor strong {
    font-size: 0.94rem;
  }

  .app-list {
    grid-template-columns: 1fr;
  }

  .shell-header {
    border-radius: 28px;
    display: grid;
    justify-content: stretch;
  }
}

@media (max-width: 640px) {
  .shell-header {
    margin-top: 12px;
    top: 10px;
    padding: 14px 16px;
  }

  .page-shell {
    margin-top: 18px;
    margin-bottom: 56px;
  }

  .hub-shell,
  .section-head,
  .detail-hero,
  .wallet-hero,
  .wallet-panel,
  .success-panel {
    padding: 22px;
  }

  .page-home .hub-shell,
  .page-auth .hub-shell {
    padding: 16px;
    gap: 14px;
  }

  .hub-stage {
    gap: 14px;
  }

  .hub-main {
    gap: 14px;
    padding: 16px;
  }

  .hub-auth {
    padding: 18px;
    gap: 14px;
  }

  .hub-copy h1,
  .hub-copy--auth h1,
  .section-head h1,
  .detail-hero h1,
  .wallet-hero h1,
  .success-panel h1 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .hub-domain {
    letter-spacing: 0.18em;
  }

  .page-product .hub-topline--product {
    display: grid;
    align-items: stretch;
  }

  .page-product .hub-topline__identity {
    display: grid;
    gap: 8px;
  }

  .page-product .hub-domain {
    width: fit-content;
    max-width: 100%;
    padding: 6px 11px;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .page-product .hub-descriptor strong {
    font-size: 0.84rem;
  }

  .page-product .hub-descriptor__eyebrow {
    display: none;
  }

  .hub-footer {
    gap: 10px;
    font-size: 0.76rem;
  }

  .page-home .hub-footer,
  .page-auth .hub-footer {
    display: none;
  }

  .hub-footer__line,
  .hub-footer__apps {
    width: 100%;
    gap: 8px;
  }

  .hub-app-row {
    padding: 14px;
    gap: 10px;
    border-radius: 20px;
  }

  .hub-app-row__body {
    gap: 6px;
    padding-left: 4px;
  }

  .hub-app-row__head {
    gap: 8px;
  }

  .hub-app-row__body h3 {
    font-size: 1.04rem;
  }

  .hub-app-row__body p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .hub-app-row__status {
    padding: 4px 8px;
    font-size: 0.58rem;
  }

  .auth-switch,
  .primary-button,
  .ghost-button,
  .provider-button,
  .hub-app-row__cta {
    width: 100%;
  }

  .shell-nav,
  .shell-auth,
  .stack-row,
  .hub-auth__actions,
  .detail-hero__actions,
  .app-list__footer {
    gap: 10px;
  }

  .topup-grid--hub {
    grid-template-columns: 1fr;
  }

  .topup-grid--product,
  .ledger-list--compact{
    grid-template-columns: 1fr;
  }

  .page-product .product-nav__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-product .product-nav__session {
    grid-template-columns: minmax(0, 1fr) minmax(84px, auto);
  }

  .product-nav__link,
  .product-nav__logout,
  .product-nav__user {
    justify-content: center;
    min-height: 34px;
    padding: 7px 6px;
    font-size: clamp(0.62rem, 2.35vw, 0.74rem);
  }

  .product-scroll {
    overflow: visible;
    padding-right: 0;
  }

  .page-product .product-main,
  .page-product .product-side {
    padding: 18px;
    gap: 14px;
  }

  .page-product--wallet .product-side,
  .page-product--detail .product-side {
    padding: 16px;
  }

  .page-product--wallet .topup-grid--product{
    gap: 10px;
  }

  .page-product--apps .hub-app-row__body p {
    -webkit-line-clamp: 2;
  }

  .launcher-shell {
    --launcher-pad: 16px;
    --launcher-gap: 11px;
    --launcher-breathing: clamp(14px, 3.2svh, 28px);
    --launcher-tile-h: clamp(84px, 13.5svh, 108px);
  }

  .launcher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
  }

  .launcher-start-hint {
    grid-template-columns: 1fr;
  }

  .launcher-start-hint__action {
    width: 100%;
    min-width: 0;
  }

  .launcher-topbar,
  .launcher-dock {
    align-items: stretch;
  }

  .launcher-dock {
    display: grid;
    min-height: auto;
    align-content: end;
  }

  .launcher-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .launcher-actions .primary-button,
  .launcher-actions .ghost-button {
    width: 100%;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  .page-home .page-shell--standalone,
  .page-auth .page-shell--standalone {
    padding: 6px 0 10px;
  }

  .page-home .hub-shell,
  .page-auth .hub-shell {
    padding: 12px;
    gap: 8px;
  }

  .page-home .hub-topline,
  .page-auth .hub-topline {
    gap: 8px;
  }

  .page-home .hub-domain,
  .page-auth .hub-domain {
    padding: 6px 12px;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .page-home .hub-descriptor,
  .page-auth .hub-descriptor {
    gap: 0;
  }

  .page-home .hub-descriptor__eyebrow,
  .page-auth .hub-descriptor__eyebrow {
    font-size: 0.56rem;
  }

  .page-home .hub-descriptor strong,
  .page-auth .hub-descriptor strong {
    font-size: 0.78rem;
  }

  .page-home .hub-auth,
  .page-auth .hub-auth {
    padding: 14px;
    gap: 10px;
  }

  .page-home .hub-auth h2,
  .page-auth .hub-auth h2 {
    font-size: 1.42rem;
  }

  .page-home .hub-auth p,
  .page-auth .hub-auth p,
  .page-home .auth-pane .access-meta,
  .page-auth .auth-pane .access-meta {
    display: none;
  }

  .page-home .auth-switch,
  .page-auth .auth-switch {
    padding: 4px;
  }

  .page-home .auth-switch__button,
  .page-auth .auth-switch__button {
    padding: 8px 10px;
  }

  .page-home .access-form,
  .page-auth .access-form,
  .page-home .auth-pane,
  .page-auth .auth-pane {
    gap: 8px;
  }

  .page-home .access-form label,
  .page-auth .access-form label {
    gap: 5px;
  }

  .page-home .access-form__optional,
  .page-auth .access-form__optional {
    display: none;
  }

  .page-home input,
  .page-auth input {
    padding: 11px 13px;
    border-radius: 14px;
  }

  .page-home .access-form > .primary-button,
  .page-auth .access-form > .primary-button {
    margin-top: 8px;
  }

  .page-product .page-shell--standalone {
    padding: 6px 0 10px;
  }

  .page-product .hub-shell {
    padding: 12px;
    gap: 9px;
  }

  .page-product .hub-topline--product {
    gap: 7px;
  }

  .page-product .hub-descriptor__eyebrow {
    font-size: 0.55rem;
  }

  .page-product .hub-descriptor strong {
    font-size: 0.78rem;
  }

  .page-product .product-nav__links,
  .page-product .product-nav__session {
    gap: 5px;
  }

  .page-product .product-nav__link,
  .page-product .product-nav__logout,
  .page-product .product-nav__user {
    min-height: 30px;
    padding: 6px 7px;
    font-size: 0.68rem;
  }

  .page-product .product-stage {
    gap: 11px;
  }

  .page-product .product-main,
  .page-product .product-side {
    padding: 14px;
    gap: 10px;
  }

  .page-product .product-copy h1 {
    font-size: 1.35rem;
  }

  .page-product .product-copy p {
    display: none;
  }

  .page-product--apps .hub-app-row {
    padding: 10px;
    gap: 8px;
  }

  .page-product--apps .catalog-app-card {
    min-height: 188px;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px 12px;
    padding: 16px;
    padding-right: 52px;
  }

  .page-product--apps .catalog-app-card .hub-app-row__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .page-product--apps .catalog-app-card .hub-app-row__body h3 {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .page-product--apps .catalog-app-card .hub-app-row__status {
    display: inline-flex;
    justify-self: start;
    max-width: 100%;
  }

  .page-product--apps .hub-app-row__body p {
    display: -webkit-box;
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .page-launcher .launcher-shell {
    --launcher-pad: 12px;
    --launcher-gap: 8px;
    --launcher-breathing: clamp(8px, 2svh, 16px);
    --launcher-tile-h: clamp(72px, 12.6svh, 90px);
    --launcher-dock-h: 42px;
    min-height: calc(100svh - 14px);
  }

  .launcher-topbar {
    min-height: 42px;
  }

  .launcher-brand span,
  .launcher-balance span {
    font-size: 0.58rem;
  }

  .launcher-brand strong,
  .launcher-balance strong {
    font-size: 0.86rem;
  }

  .launcher-balance {
    padding: 7px 10px;
  }

  .launcher-copy {
    gap: 2px;
  }

  .launcher-copy h1 {
    font-size: 1.32rem;
  }

  .launcher-copy p {
    display: none;
  }

  .launcher-tile {
    padding: 10px;
    gap: 6px 8px;
    border-radius: 16px;
  }

  .launcher-tile__body {
    gap: 2px;
  }

  .launcher-tile__body strong {
    font-size: 0.88rem;
  }

  .launcher-tile__body small {
    display: none;
  }

  .page-launcher--setup .launcher-tile__body small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
  }

  .page-launcher--setup .launcher-start-hint p {
    display: none;
  }

  .launcher-tile__action {
    padding: 6px 8px;
    font-size: 0.7rem;
  }

  .launcher-actions {
    gap: 6px;
  }

  .launcher-actions .primary-button,
  .launcher-actions .ghost-button {
    padding: 8px 7px;
    font-size: 0.72rem;
  }
}

/* Apps frontend v2: unified premium shell */
:root {
  --apps-shell-gap: clamp(10px, 1.1vw, 16px);
  --apps-shell-pad: clamp(12px, 1.7vw, 22px);
  --apps-panel-pad: clamp(14px, 1.55vw, 22px);
  --apps-card-pad: clamp(13px, 1.2vw, 16px);
  --apps-card-min-h: clamp(138px, 17vw, 164px);
  --apps-card-selected-min-h: clamp(154px, 18vw, 180px);
  --apps-action-h: 38px;
  --apps-touch-action-h: 42px;
  --apps-icon-size: 42px;
  --apps-mark-size: 42px;
  --apps-nav-h: 34px;
  --apps-pill-h: 32px;
}

.page-home .page-shell--standalone,
.page-auth .page-shell--standalone,
.page-product .page-shell--standalone {
  height: auto;
  min-height: 100svh;
}

.hub-shell {
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 10%, rgba(212, 185, 120, 0.12), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(92, 142, 214, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(23, 27, 37, 0.82), rgba(12, 14, 20, 0.74));
}

.page-home .hub-shell,
.page-auth .hub-shell {
  min-height: calc(100svh - 28px);
  padding: clamp(18px, 2.5vw, 34px);
}

.page-product .hub-shell--product {
  gap: var(--apps-shell-gap);
  padding: var(--apps-shell-pad);
  border-radius: 26px;
}

.hub-domain {
  min-height: 38px;
}

.landing-stage {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 430px);
}

.hub-stage--auth-only {
  grid-template-columns: minmax(360px, 430px);
  justify-content: end;
}

.landing-main {
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(22px, 3vw, 38px);
}

.landing-main .hub-copy h1 {
  max-width: 10ch;
  font-size: clamp(2.65rem, 6.2vw, 5.8rem);
  letter-spacing: -0.065em;
}

.landing-main .hub-copy p {
  max-width: 34rem;
  font-size: clamp(1rem, 1.1vw, 1.16rem);
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.landing-hero-actions .primary-button,
.landing-hero-actions .ghost-button {
  min-height: 46px;
}

.landing-showcase {
  display: grid;
  gap: 12px;
  min-height: 0;
}

.landing-showcase__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(240, 242, 245, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
}

.landing-showcase__head strong {
  color: var(--accent-gold);
}

.hub-app-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 112px;
}

.hub-app-row .app-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.28);
  background:
    radial-gradient(circle at 28% 18%, rgb(var(--app-accent-rgb) / 0.24), transparent 62%),
    rgba(255, 255, 255, 0.04);
  color: #fff6dd;
  font-size: 0.78rem;
  font-weight: 900;
}

.app-icon-image,
.catalog-app-icon-image,
.launcher-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.app-icon-picture {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.app-icon-picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.apps-own-icon {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.app-mark:has(.app-icon-image),
.catalog-app-card__logo:has(.catalog-app-icon-image),
.launcher-icon-glyph:has(.launcher-icon-image) {
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hub-app-row__cta {
  min-width: 142px;
  min-height: 44px;
}

.apps-top-menu {
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  min-width: 0;
}

.apps-top-menu__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(78px, auto);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.apps-top-menu__brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.apps-top-menu__logo {
  width: var(--apps-icon-size);
  height: var(--apps-icon-size);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  border: 1px solid rgba(212, 185, 120, 0.28);
  background:
    radial-gradient(circle at 30% 26%, rgba(212, 185, 120, 0.28), transparent 55%),
    rgba(255, 255, 255, 0.045);
  color: #fff2cf;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px rgba(0, 0, 0, 0.16);
}

.apps-top-menu__logo--image {
  overflow: hidden;
  border: 0;
  background: rgba(7, 8, 12, 0.72);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.apps-top-menu__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.apps-top-menu__copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  letter-spacing: 0;
}

.apps-top-menu__copy small {
  max-width: min(46vw, 28rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.apps-top-menu__status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.apps-top-menu__pill {
  min-height: var(--apps-pill-h);
  min-width: 72px;
  max-width: min(170px, 32vw);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 185, 120, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff1ca;
  font-size: 0.78rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apps-top-menu__balance {
  color: var(--accent-gold);
  background: linear-gradient(180deg, rgba(212, 185, 120, 0.12), rgba(212, 185, 120, 0.035));
  font-variant-numeric: tabular-nums;
}

.apps-top-menu__balance--unavailable,
.apps-top-menu__balance--guest {
  color: rgba(240, 242, 245, 0.7);
  background: rgba(255, 255, 255, 0.035);
}

.product-nav__links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(212, 185, 120, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.product-nav__link {
  width: 100%;
  min-height: var(--apps-nav-h);
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.product-nav__link span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-stage--launcher .product-main,
.product-stage--showcase .product-main {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.page-product .product-main,
.page-product .product-side {
  padding: var(--apps-panel-pad);
}

.page-product .product-copy {
  gap: 6px;
}

.page-product .product-copy h1 {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-product .product-copy p {
  max-width: 46rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.product-stage--apps .catalog-surface-head {
  gap: 5px;
}

.product-stage--apps .catalog-surface-head h1 {
  max-width: none;
  color: var(--accent-gold);
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: none;
}

.product-stage--apps .catalog-surface-head p {
  max-width: none;
  color: rgba(240, 242, 245, 0.66);
  font-size: 0.8rem;
  line-height: 1.35;
}

.catalog-surface-messages {
  display: grid;
  gap: 8px;
  min-height: 34px;
}

.launcher-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 14px;
  border: 1px solid rgba(212, 185, 120, 0.14);
  background: linear-gradient(90deg, rgba(212, 185, 120, 0.095), rgba(255, 255, 255, 0.025));
  color: var(--text-muted);
  font-size: 0.8rem;
}

.launcher-summary strong {
  color: #fff1ca;
}

.page-product--apps .hub-apps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hub-app-row.catalog-app-card {
  min-height: var(--apps-card-min-h);
  grid-template-columns: var(--apps-mark-size) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px 12px;
  padding: var(--apps-card-pad);
  padding-right: 48px;
  border-radius: 18px;
}

.catalog-app-card--launcher.catalog-app-card--selected {
  min-height: var(--apps-card-selected-min-h);
  border-color: rgb(var(--app-accent-rgb) / 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 32px rgb(var(--app-accent-rgb) / 0.1),
    0 10px 28px rgba(0, 0, 0, 0.18);
}

.catalog-app-card__logo {
  width: var(--apps-mark-size);
  height: var(--apps-mark-size);
  border-radius: 13px;
  font-size: 0.72rem;
}

.page-product--apps .catalog-app-card .hub-app-row__body h3 {
  font-size: clamp(0.94rem, 1vw, 1.04rem);
  letter-spacing: 0;
}

.page-product--apps .catalog-app-card .hub-app-row__body p {
  -webkit-line-clamp: 2;
  font-size: 0.82rem;
  line-height: 1.35;
}

.page-product--apps .hub-app-row__cta {
  min-height: var(--apps-action-h);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.shortcut-toggle {
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  font-size: 0.92rem;
}

.launcher-feedback {
  min-height: 0;
  padding: 10px 13px;
  border-radius: 16px;
  border: 1px solid rgba(212, 185, 120, 0.16);
  background: rgba(212, 185, 120, 0.06);
  color: #f4d999;
  font-size: 0.86rem;
}

.launcher-feedback[hidden] {
  display: none;
}

@media (max-width: 1180px) {
  .page-product--apps .hub-apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .page-home .page-shell--standalone,
  .page-auth .page-shell--standalone,
  .page-product .page-shell--standalone {
    padding: 10px 0 16px;
  }

  .landing-stage,
  .product-stage{
    grid-template-columns: minmax(0, 1fr);
  }

  .apps-top-menu__row {
    grid-template-columns: minmax(0, 1fr) minmax(72px, auto);
    gap: 8px;
  }

  .apps-top-menu__status {
    justify-content: flex-end;
  }

  .apps-top-menu__pill {
    flex: 0 1 auto;
    max-width: min(150px, 34vw);
  }

  .page-product--apps .hub-apps {
    grid-template-columns: minmax(0, 1fr);
  }

  .hub-app-row.catalog-app-card {
    min-height: 154px;
  }
  .page-product .hub-footer {
    display: none;
  }
}

@media (max-width: 640px) {
  .hub-shell {
    border-radius: 24px;
    padding: 16px;
  }

  .landing-main,
  .hub-auth {
    padding: 18px;
  }

  .page-product .hub-shell--product {
    padding: 12px;
  }

  .page-product .product-main,
  .page-product .product-side {
    padding: 14px;
  }

  .landing-main .hub-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .page-product .product-copy h1 {
    font-size: clamp(1.32rem, 8vw, 1.72rem);
  }

  .page-product .product-copy p {
    font-size: 0.82rem;
  }

  .product-nav__links {
    gap: 5px;
    padding: 5px;
  }

  .product-nav__link {
    min-height: 34px;
    padding: 7px 6px;
    font-size: 0.72rem;
  }

  .product-nav__link span {
    font-size: 0;
  }

  .product-nav__link::after {
    content: attr(data-short-label);
    font-size: 0.72rem;
  }

  .launcher-summary {
    display: grid;
    gap: 2px;
  }

  .hub-app-row.catalog-app-card {
    min-height: 150px;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 13px;
    padding-right: 46px;
  }

  .catalog-app-card__logo {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 960px) {
  .apps-top-menu {
    gap: 6px;
  }

  .apps-top-menu__brand {
    gap: 8px;
  }

  .apps-top-menu__logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .apps-top-menu__copy strong {
    font-size: clamp(0.9rem, 3.8vw, 1rem);
  }

  .apps-top-menu__copy small {
    max-width: 48vw;
    font-size: clamp(0.62rem, 2.6vw, 0.7rem);
  }

  .apps-top-menu__identity {
    grid-template-columns: minmax(0, 1fr) minmax(68px, auto) max-content;
    gap: 5px;
    width: 100%;
  }

  .apps-top-menu__field {
    min-height: 30px;
    padding: 6px 8px;
    font-size: clamp(0.66rem, 2.2vw, 0.76rem);
  }

  .apps-top-menu__domain {
    font-size: clamp(0.5rem, 1.8vw, 0.58rem);
    letter-spacing: 0.14em;
  }

  .apps-top-menu__navline {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px;
  }

  .product-nav {
    width: 100%;
  }

  .product-nav__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
  }

  .product-nav__session {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 5px;
    width: 100%;
  }

  .product-nav__link,
  .product-nav__logout,
  .product-nav__user,
  .product-nav__balance,
  .product-nav__action {
    min-height: 34px;
    padding: 6px 7px;
    font-size: clamp(0.66rem, 2.2vw, 0.76rem);
  }

  .product-nav__balance,
  .product-nav__user {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-nav__action,
  .product-nav__logout {
    min-width: 0;
  }

  .page-launcher .launcher-shell {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .launcher-workspace {
    align-content: start;
    padding-top: clamp(42px, 8svh, 68px);
  }

  .page-product .hub-shell--product,
  .page-launcher .launcher-shell {
    animation: none;
  }
}

@media (max-width: 640px) {
  .page-product .page-shell--standalone {
    margin-top: 0;
    margin-bottom: 0;
  }

  .apps-top-menu__identity {
    grid-template-columns: minmax(0, 1fr) minmax(60px, auto) max-content;
  }

  .apps-top-menu__field {
    min-height: 28px;
    padding: 5px 6px;
    font-size: clamp(0.62rem, 2.1vw, 0.7rem);
  }

  .apps-top-menu__domain {
    font-size: clamp(0.46rem, 1.7vw, 0.54rem);
    letter-spacing: 0.12em;
  }

  .product-nav__links {
    gap: 5px;
  }

  .product-nav__link,
  .product-nav__logout,
  .product-nav__user,
  .product-nav__balance,
  .product-nav__action {
    min-height: 34px;
    padding: 5px 6px;
    font-size: clamp(0.62rem, 2.2vw, 0.72rem);
  }

  .page-product--apps .catalog-app-card {
    min-height: 150px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
    padding-right: 46px;
  }

  .page-product--apps .catalog-app-card .hub-app-row__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .page-product--apps .catalog-app-card .hub-app-row__body h3 {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .page-product--apps .catalog-app-card .hub-app-row__status {
    display: inline-flex;
    justify-self: start;
    max-width: 100%;
  }

  .page-product--apps .catalog-app-card .hub-app-row__body p {
    white-space: normal;
    text-overflow: clip;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  .apps-top-menu {
    gap: 6px;
  }

  .apps-top-menu__field {
    min-height: 26px;
    padding: 4px 6px;
    font-size: 0.62rem;
  }

  .apps-top-menu__domain {
    font-size: 0.46rem;
  }

  .product-nav__links,
  .product-nav__session {
    gap: 5px;
  }

  .product-nav__link,
  .product-nav__logout,
  .product-nav__user,
  .product-nav__balance,
  .product-nav__action {
    min-height: 32px;
    padding: 4px 6px;
    font-size: 0.62rem;
  }
}

/* Apps launcher/catalog polish: final override after v2 responsive rules */
.product-nav__links {
  padding: 0;
  border: 0;
  background: transparent;
}

.product-nav__link {
  border-color: rgba(212, 185, 120, 0.12);
}

.catalog-app-card__launch {
  appearance: none;
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-columns: var(--apps-mark-size) minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.catalog-app-card__description-link {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

div.catalog-app-card__launch {
  cursor: default;
}

.catalog-app-card__launch:focus-visible,
.catalog-app-card__description-link:focus-visible,
.shortcut-toggle:focus-visible,
.product-nav__link:focus-visible {
  outline: 2px solid rgba(212, 185, 120, 0.56);
  outline-offset: 3px;
}

[data-launch-app]:disabled {
  cursor: wait;
  opacity: 0.82;
}

.catalog-app-card--showcase {
  min-height: auto;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .hub-app-row__body h3 {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .hub-app-row__body p {
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  -webkit-line-clamp: unset;
}

.product-stage--launcher .hub-apps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 112px), 1fr));
  align-content: start;
  gap: 16px;
}

.product-stage--launcher .hub-app-row.catalog-app-card {
  min-height: 142px;
  display: grid;
  place-items: stretch;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  padding: 14px 12px 12px;
  border-color: rgb(var(--app-accent-rgb) / 0.24);
  background:
    radial-gradient(circle at 50% 22%, rgb(var(--app-accent-rgb) / 0.16), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014));
}

.catalog-app-card--launcher.catalog-app-card--selected {
  min-height: 142px;
}

.catalog-app-card--launcher .catalog-app-card__launch.launcher-app-icon {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 74px auto;
  justify-items: center;
  align-content: center;
  gap: 11px;
  padding: 4px 2px 0;
  text-align: center;
}

.catalog-app-card--launcher .catalog-app-card__logo.launcher-app-icon__glyph {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  border-color: rgb(var(--app-accent-rgb) / 0.36);
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(circle at 68% 82%, rgb(var(--app-accent-rgb) / 0.3), transparent 54%),
    linear-gradient(180deg, rgb(var(--app-accent-rgb) / 0.18), rgba(8, 9, 12, 0.54));
  color: #fff4dc;
  font-size: 0.94rem;
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 16px 34px rgba(0, 0, 0, 0.2),
    0 0 30px rgb(var(--app-accent-rgb) / 0.13);
}

.catalog-app-card--launcher .hub-app-row__body.launcher-app-icon__body {
  display: grid;
  place-items: center;
  width: 100%;
}

.catalog-app-card--launcher .hub-app-row__body.launcher-app-icon__body h3 {
  max-width: 100%;
  margin: 0;
  padding: 0 4px;
  color: var(--text);
  font-size: clamp(0.78rem, 0.92vw, 0.92rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.catalog-app-card--launcher .shortcut-toggle {
  top: 9px;
  right: 9px;
  width: 24px;
  height: 24px;
  font-size: 0.72rem;
  border-color: rgb(var(--app-accent-rgb) / 0.34);
  background: rgba(9, 10, 14, 0.56);
}

.catalog-app-card--launcher[hidden] {
  display: none;
}

.hub-app-row.catalog-app-card,
.shortcut-toggle,
.launcher-summary,
.launcher-feedback {
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hub-app-row.catalog-app-card {
  transition:
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease,
    filter 220ms ease,
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

.product-stage--launcher .hub-app-row.catalog-app-card.catalog-app-card--selected {
  min-height: clamp(116px, 12vw, 138px);
}

.catalog-app-card--selected::after,
.hub-app-row.catalog-app-card.is-pending::after,
.hub-app-row.catalog-app-card.is-saved::after {
  opacity: 0.9;
}

.hub-app-row.catalog-app-card.is-pending {
  border-color: rgb(var(--app-accent-rgb) / 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 30px rgba(0, 0, 0, 0.16),
    0 0 22px rgb(var(--app-accent-rgb) / 0.1);
}

.hub-app-row.catalog-app-card.is-saved::after {
  animation: shortcut-card-glow 900ms ease-out both;
}

.hub-app-row.catalog-app-card.is-removing {
  opacity: 0.46;
  transform: scale(0.988);
  filter: saturate(0.82);
  pointer-events: none;
}

.shortcut-toggle.is-pending {
  border-color: rgb(var(--app-accent-rgb) / 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 20px rgb(var(--app-accent-rgb) / 0.18);
}

.launcher-feedback {
  display: block;
  min-height: 34px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.launcher-feedback[hidden] {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-3px);
  border-color: transparent;
  background: transparent;
  color: transparent;
}

.launcher-feedback[data-feedback-kind="saved"] {
  border-color: rgba(212, 185, 120, 0.2);
  background: linear-gradient(90deg, rgba(212, 185, 120, 0.08), rgba(255, 255, 255, 0.025));
}

.launcher-feedback[data-feedback-kind="error"] {
  border-color: rgba(232, 114, 127, 0.32);
  background: rgba(232, 114, 127, 0.08);
  color: #ffc9d0;
}

@keyframes shortcut-card-glow {
  0% { opacity: 0.2; }
  28% { opacity: 1; }
  100% { opacity: 0.34; }
}

@media (max-width: 640px) {
  .product-stage--launcher .hub-apps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .product-stage--launcher .hub-app-row.catalog-app-card,
  .product-stage--launcher .hub-app-row.catalog-app-card.catalog-app-card--selected {
    min-height: 118px;
    padding: 12px 8px 10px;
    border-radius: 16px;
  }

  .catalog-app-card--launcher .catalog-app-card__launch.launcher-app-icon {
    grid-template-rows: 56px auto;
    gap: 8px;
    padding-top: 2px;
  }

  .catalog-app-card--launcher .catalog-app-card__logo.launcher-app-icon__glyph {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    font-size: 0.76rem;
  }

  .catalog-app-card--launcher .hub-app-row__body.launcher-app-icon__body h3 {
    padding: 0;
    font-size: 0.68rem;
    line-height: 1.12;
  }

  .catalog-app-card--launcher .shortcut-toggle {
    top: 7px;
    right: 7px;
    width: 21px;
    height: 21px;
  }
}


/* Apps home-screen launcher and split transitions */
body.apps-route-leaving .page-shell {
  opacity: 0.72;
  transform: scale(0.996);
  filter: blur(10px) saturate(0.92);
  pointer-events: none;
}

body.apps-route-entering .page-shell {
  animation: apps-route-enter 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

body.apps-return-handoff .shell-header {
  animation: apps-return-header 220ms ease both;
  will-change: opacity;
}

body.apps-return-handoff .page-shell {
  animation: apps-return-shell 220ms ease both;
  will-change: opacity;
}

@keyframes apps-route-enter {
  from {
    opacity: 0.62;
    transform: scale(0.996);
    filter: blur(10px) saturate(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: none;
  }
}

@keyframes apps-return-shell {
  from {
    opacity: 0.94;
  }
  to {
    opacity: 1;
  }
}

@keyframes apps-return-header {
  from {
    opacity: 0.96;
  }
  to {
    opacity: 1;
  }
}

.product-stage--launcher .launcher-desktop {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  align-content: start;
  justify-items: center;
  gap: clamp(18px, 2.5vw, 32px) clamp(12px, 2vw, 24px);
  padding: clamp(10px, 1.4vw, 18px) clamp(2px, 0.8vw, 10px) 8px;
  overflow-y: auto;
}

.launcher-icon-cell {
  --app-accent-rgb: var(--tone-gamebook-rgb);
  position: relative;
  width: min(104px, 100%);
  min-height: 118px;
  display: grid;
  justify-items: center;
  align-content: start;
  border-radius: 24px;
  isolation: isolate;
}

.launcher-icon-cell[hidden] {
  display: none;
}

.launcher-icon-button {
  appearance: none;
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 4px 2px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.launcher-icon-glyph {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 23px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.34);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.24), transparent 34%),
    radial-gradient(circle at 70% 82%, rgb(var(--app-accent-rgb) / 0.36), transparent 58%),
    linear-gradient(180deg, rgb(var(--app-accent-rgb) / 0.24), rgba(8, 9, 12, 0.68));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 16px 34px rgba(0, 0, 0, 0.24),
    0 0 30px rgb(var(--app-accent-rgb) / 0.14);
  transform: translateY(0) scale(1);
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms ease, border-color 180ms ease;
}

.launcher-icon-glyph span {
  color: #fff4dc;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0;
}

.launcher-icon-title {
  width: 100%;
  min-height: 2.25em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.14;
  text-align: center;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
}

.launcher-icon-button:hover .launcher-icon-glyph,
.launcher-icon-button:focus-visible .launcher-icon-glyph {
  transform: translateY(-3px) scale(1.035);
  border-color: rgb(var(--app-accent-rgb) / 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 20px 42px rgba(0, 0, 0, 0.28),
    0 0 38px rgb(var(--app-accent-rgb) / 0.2);
}

.launcher-icon-button:hover .launcher-icon-glyph:has(.launcher-icon-image),
.launcher-icon-button:focus-visible .launcher-icon-glyph:has(.launcher-icon-image) {
  border-color: transparent;
  box-shadow: none;
}

.launcher-icon-button:focus-visible {
  outline: none;
}

.launcher-icon-remove {
  position: absolute;
  z-index: 2;
  top: -2px;
  right: 8px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.32);
  background: rgba(7, 8, 12, 0.82);
  color: #fff1ca;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), 0 0 18px rgb(var(--app-accent-rgb) / 0.12);
  opacity: 0;
  transform: translateY(2px) scale(0.94);
  transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.launcher-icon-remove span {
  transform: translateY(-1px);
}

.launcher-icon-cell:hover .launcher-icon-remove,
.launcher-icon-cell:focus-within .launcher-icon-remove,
.launcher-icon-cell.is-removing .launcher-icon-remove {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.launcher-icon-cell.is-pending .launcher-icon-glyph {
  border-color: rgb(var(--app-accent-rgb) / 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 28px rgb(var(--app-accent-rgb) / 0.2);
}

.launcher-icon-cell.is-removing {
  opacity: 0.42;
  transform: scale(0.96);
  pointer-events: none;
}

.launcher-empty-state {
  grid-column: 1 / -1;
  justify-self: stretch;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
}

.launcher-empty-state h3,
.launcher-empty-state p {
  margin: 0;
}

.launcher-empty-state p {
  margin-top: 6px;
}

.apps-transition[data-transition-mode^="launch"] .apps-transition__stage {
  gap: 16px;
}

.apps-transition[data-transition-mode^="launch"] .apps-transition__mark {
  width: 82px;
  height: 82px;
  border-radius: 24px;
}

.apps-transition[data-transition-mode^="launch"] .apps-transition__bar {
  width: min(210px, 68vw);
}

@media (hover: none) {
  .launcher-icon-remove {
    opacity: 0.78;
    transform: none;
  }

  .launcher-icon-button:hover .launcher-icon-glyph {
    transform: none;
  }
}

@media (max-width: 640px) {
  .product-stage--apps .catalog-surface-head h1 {
    font-size: 0.9rem;
  }

  .product-stage--apps .catalog-surface-head p {
    font-size: 0.76rem;
    line-height: 1.32;
  }

  .product-stage--launcher .launcher-desktop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 8px;
    padding: 8px 0 4px;
  }

  .launcher-icon-cell {
    width: 100%;
    min-height: 106px;
  }

  .launcher-icon-glyph {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .launcher-icon-glyph span {
    font-size: 0.76rem;
  }

  .launcher-icon-title {
    font-size: 0.67rem;
  }

  .launcher-icon-remove {
    top: -3px;
    right: 10px;
    width: 22px;
    height: 22px;
  }
}


/* Launcher home screen: launch-only icons, no edit affordance on My Apps */
.product-stage--launcher .launcher-icon-remove {
  display: none !important;
}

.product-stage--launcher .launcher-icon-cell,
.product-stage--launcher .launcher-icon-button {
  background: transparent !important;
  -webkit-tap-highlight-color: transparent;
}

.product-stage--launcher .launcher-icon-cell:hover,
.product-stage--launcher .launcher-icon-cell:focus,
.product-stage--launcher .launcher-icon-cell:focus-within,
.product-stage--launcher .launcher-icon-cell:active,
.product-stage--launcher .launcher-icon-button:hover,
.product-stage--launcher .launcher-icon-button:focus,
.product-stage--launcher .launcher-icon-button:focus-visible,
.product-stage--launcher .launcher-icon-button:active {
  background: transparent !important;
  box-shadow: none;
}

/* Logged-in workspace: inner page content stays unframed; the shared shell owns panel separation. */
.product-stage--workspace .product-main,
.product-stage--apps .product-main {
  padding: clamp(12px, 2.2vw, 20px) 2px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

.topup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, auto);
  gap: 10px;
  align-items: end;
}

.topup-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.topup-form label span {
  color: rgba(240, 242, 245, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
}

.topup-form input {
  min-height: 44px;
  border-color: rgba(212, 185, 120, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: #fff3d2;
  font-weight: 850;
}

.wallet-history-open {
  overflow: hidden;
}

.wallet-history-button {
  width: auto;
}

.wallet-history-modal[hidden] {
  display: none;
}

.wallet-history-modal {
  position: absolute !important;
  inset: 0;
  z-index: 10000 !important;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 5, 8, 0.72);
  backdrop-filter: blur(16px);
  isolation: isolate;
  overscroll-behavior: contain;
}

.wallet-history-modal::before {
  content: none;
  display: none;
}

.wallet-history-modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: 100%;
  min-height: 0;
  display: grid;
  grid-template:
    "head" auto
    "feedback" auto
    "ledger" minmax(0, 1fr)
    "actions" auto
    / minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(212, 185, 120, 0.18);
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 185, 120, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(20, 23, 32, 0.96), rgba(11, 13, 19, 0.96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wallet-history-modal__panel:focus {
  outline: none;
}

.wallet-history-modal__head {
  grid-area: head;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding-right: 58px;
}

.wallet-history-modal__head h2 {
  margin: 2px 0 0;
  color: #fff3d2;
  font-size: 1.16rem;
  line-height: 1.2;
}

.wallet-history-modal__close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 !important;
  border-radius: 999px;
  border-color: rgba(212, 185, 120, 0.38);
  background: rgba(10, 12, 18, 0.74);
  color: #fff3d2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 20px rgba(0, 0, 0, 0.24);
  transform: none !important;
}

.wallet-history-modal__close:hover {
  transform: none !important;
}

.wallet-history-modal__close span[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 2rem;
  line-height: 1;
}

.wallet-history-modal__close span:not([aria-hidden]) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wallet-history-table-shell {
  grid-area: ledger;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scrollbar-gutter: auto;
  -ms-overflow-style: none;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.028);
}

.wallet-history-table-shell::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.wallet-history-table-shell:focus-visible {
  outline: 2px solid rgba(212, 185, 120, 0.58);
  outline-offset: 3px;
}

.wallet-history-modal__actions {
  grid-area: actions;
  align-self: end;
  position: relative;
  z-index: 2;
  width: 100%;
  transform: none;
  display: grid;
  gap: 8px;
  padding: 2px 0 0;
}

.wallet-history-modal__exit {
  width: 100%;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
}

.wallet-history-modal__panel > [data-wallet-history-feedback] {
  grid-area: feedback;
}

.wallet-history-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.wallet-history-table th,
.wallet-history-table td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-history-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(18, 20, 28, 0.96);
}

.wallet-history-table td {
  color: rgba(240, 242, 245, 0.76);
}

.wallet-history-table td:nth-child(4) {
  color: #fff3d2;
  font-weight: 900;
  white-space: nowrap;
}

.product-stage--launcher .launcher-summary,
.product-stage--showcase .launcher-summary {
  display: none !important;
}

.product-stage--launcher .product-copy,
.product-stage--showcase .product-copy {
  gap: 6px;
  padding: 0 18px 8px;
}

.product-stage--launcher .product-copy .eyebrow,
.product-stage--showcase .product-copy .eyebrow {
  display: none;
}

.product-stage--launcher .product-copy h1,
.product-stage--showcase .product-copy h1,
.product-stage--launcher .product-copy p,
.product-stage--showcase .product-copy p {
  text-shadow: none;
}

.product-stage--launcher .product-copy h1,
.product-stage--showcase .product-copy h1 {
  display: block;
  color: var(--accent-gold);
  font-size: 1.04rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  max-width: none;
}

.product-stage--launcher .product-copy p,
.product-stage--showcase .product-copy p {
  display: block;
  max-width: 25rem;
  margin: 0;
  color: rgba(240, 242, 245, 0.68);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.38;
  letter-spacing: 0;
}

.product-stage--launcher .catalog-surface-messages,
.product-stage--showcase .catalog-surface-messages {
  margin: 0 18px;
}

.product-stage--launcher .launcher-feedback--floating,
.product-stage--showcase .launcher-feedback--floating {
  position: absolute;
  z-index: 4;
  top: clamp(48px, 8vw, 72px);
  left: 18px;
  right: 18px;
  max-width: 24rem;
  pointer-events: none;
}

.product-stage--launcher .launcher-feedback[hidden],
.product-stage--showcase .launcher-feedback[hidden] {
  display: none !important;
}

.product-stage--launcher .launcher-desktop {
  padding: 8px 4px 8px;
}

@media (max-width: 640px) {
  .product-stage--workspace .product-main,
  .product-stage--apps .product-main {
    padding: 8px 0 0 !important;
  }

  .topup-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .wallet-history-button {
    width: 100%;
  }

  .wallet-history-modal {
    align-items: stretch;
    padding: 8px;
  }

  .wallet-history-modal::before {
    content: none;
    display: none;
  }

  .wallet-history-modal__panel {
    max-height: 100%;
    padding: 14px;
    border-radius: 18px;
  }

  .wallet-history-modal__head {
    align-items: start;
  }

  .wallet-history-modal__close {
    top: 12px;
    right: 12px;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
  }

  .wallet-history-modal__actions {
    width: 100%;
  }

  .payment-status-stage {
    align-items: stretch;
    padding: 8px;
  }

  .payment-status-card {
    align-self: stretch;
    padding: 16px;
    border-radius: 18px;
  }

  .payment-status-card__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .payment-status-card__mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.35rem;
  }

  .payment-status-card__meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .payment-status-card__actions {
    display: grid;
  }

  .wallet-history-table,
  .wallet-history-table tbody,
  .wallet-history-table tr,
  .wallet-history-table td {
    display: block;
    width: 100%;
  }

  .wallet-history-table thead {
    display: none;
  }

  .wallet-history-table tr {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .wallet-history-table td {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    padding: 5px 0;
    border: 0;
  }

  .wallet-history-table td::before {
    content: attr(data-label);
    color: rgba(212, 185, 120, 0.72);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .product-stage--launcher .product-copy,
  .product-stage--showcase .product-copy {
    padding: 0 8px 2px;
  }

  .product-stage--launcher .product-copy h1,
  .product-stage--showcase .product-copy h1 {
    font-size: 1rem;
  }

  .product-stage--launcher .product-copy p,
  .product-stage--showcase .product-copy p {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .product-stage--launcher .launcher-feedback--floating,
  .product-stage--showcase .launcher-feedback--floating {
    top: 52px;
    left: 8px;
    right: 8px;
  }
}

/* MikeApps header invariant: keep logged-in tabs on one menu system. */
.page-product .apps-top-menu {
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  min-width: 0;
}

.page-product .apps-top-menu__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(78px, auto);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.page-product .apps-top-menu__brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-product .apps-top-menu__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.page-product .apps-top-menu__copy strong,
.page-product .apps-top-menu__copy small,
.page-product .apps-top-menu__pill,
.page-product .product-nav__link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-product .apps-top-menu__copy strong {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.page-product .apps-top-menu__copy small {
  max-width: min(46vw, 28rem);
  color: var(--text-muted);
  font-size: 0.72rem;
}

.page-product .apps-top-menu__status {
  display: inline-flex;
  justify-content: flex-end;
  min-width: 0;
}

.page-product .apps-top-menu__pill {
  min-width: 72px;
  max-width: min(170px, 32vw);
}

.page-product .product-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.page-product .product-nav__links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
}

.page-product .product-nav__link {
  width: 100%;
  min-width: 0;
  min-height: var(--apps-nav-h);
  justify-content: center;
  padding: 6px 8px;
  font-size: 0.78rem;
}

@media (max-width: 960px) {
  .page-product .apps-top-menu__row {
    grid-template-columns: minmax(0, 1fr) minmax(72px, auto);
    gap: 8px;
  }

  .page-product .apps-top-menu__brand {
    gap: 8px;
  }

  .page-product .apps-top-menu__logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .page-product .apps-top-menu__copy small {
    max-width: 48vw;
    font-size: clamp(0.62rem, 2.6vw, 0.7rem);
  }

  .page-product .apps-top-menu__pill {
    max-width: min(150px, 34vw);
  }
}

@media (max-width: 640px) {
  .page-product .product-nav__links {
    gap: 5px;
  }

  .page-product .product-nav__link {
    min-height: 34px;
    padding: 7px 6px;
    font-size: 0.72rem;
  }
}

/* MikeApps panel invariant: control and workspace are shell-owned planes. */
.page-product .hub-shell--product {
  gap: clamp(10px, 1.1vw, 14px);
  align-content: start;
}

.page-product .apps-control-panel,
.page-product .apps-workspace-panel {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.page-product .apps-control-panel {
  padding: clamp(10px, 1.35vw, 16px);
  overflow: hidden;
  border-color: rgba(212, 185, 120, 0.13);
  background:
    radial-gradient(circle at 8% 0%, rgba(212, 185, 120, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.16);
}

.page-product .apps-workspace-panel {
  min-height: 0;
  padding: clamp(8px, 1vw, 12px) clamp(10px, 1.35vw, 16px) clamp(10px, 1.35vw, 16px);
  border-color: rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.015)),
    rgba(7, 8, 12, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 0 0 1px rgba(212, 185, 120, 0.018);
}

.page-product .apps-workspace-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 185, 120, 0.24), transparent);
  pointer-events: none;
}

.page-product .apps-workspace-panel > .product-stage {
  min-width: 0;
  min-height: 0;
  height: auto;
}

@media (max-width: 960px) {
  .page-product .apps-control-panel,
  .page-product .apps-workspace-panel {
    border-radius: 20px;
  }

  .page-product .apps-control-panel {
    padding: 10px;
  }

  .page-product .apps-workspace-panel {
    padding: 7px 10px 12px;
  }
}

@media (max-width: 640px) {
  .page-product .hub-shell--product {
    gap: 8px;
  }

  .page-product .apps-control-panel,
  .page-product .apps-workspace-panel {
    border-radius: 18px;
  }

  .page-product .apps-control-panel {
    padding: 9px;
  }

  .page-product .apps-workspace-panel {
    padding: 6px 8px 10px;
  }

.page-product .apps-workspace-panel::before {
    left: 12px;
    right: 12px;
  }
}

/* MikeApps foundation pass: commercial density, compact cards, stable app-screen shell. */
html,
body {
  overflow-x: hidden;
}

.apps-top-menu__logo--image .apps-own-icon,
.apps-transition__mark--image .apps-own-icon {
  box-sizing: border-box;
  padding: 3px;
  object-fit: contain !important;
  background:
    radial-gradient(circle at 32% 22%, rgba(212, 185, 120, 0.12), transparent 46%),
    rgba(8, 9, 13, 0.72);
}

.page-product .hub-shell--product {
  width: min(1180px, calc(100vw - 28px));
  min-height: min(820px, calc(100svh - 24px));
  max-height: calc(100svh - 24px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.page-product .apps-control-panel {
  position: sticky;
  top: 0;
  z-index: 20;
  flex: 0 0 auto;
}

.page-product .apps-workspace-panel {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  scrollbar-gutter: auto;
  -ms-overflow-style: none;
}

.page-product .apps-workspace-panel > .product-stage,
.page-product .product-main,
.page-product .product-scroll {
  min-width: 0;
  min-height: 0;
}

.product-stage--launcher .product-main {
  height: auto;
  overflow: visible;
  grid-template-rows: none;
}

.product-stage--showcase .product-main {
  height: auto;
  overflow: visible;
  grid-template-rows: none;
}

.product-stage--launcher .product-main:has(.catalog-surface-messages) {
  grid-template-rows: none;
}

.product-stage--showcase .product-main:has(.catalog-surface-messages) {
  grid-template-rows: none;
}

.product-stage--launcher .launcher-desktop,
.product-stage--showcase .hub-apps {
  height: auto;
  max-height: none;
}

.page-product .product-scroll {
  overflow: visible;
  scrollbar-width: none;
  scrollbar-gutter: auto;
  -ms-overflow-style: none;
}

.page-product .product-scroll::-webkit-scrollbar{
  width: 0;
  height: 0;
  display: none;
}

.landing-main .hub-copy p {
  max-width: 36rem;
}

.landing-showcase__head span {
  color: rgba(212, 185, 120, 0.78);
}

.page-product--apps .hub-apps {
  /* `min(100%, 228px)` lets the track shrink below 228px when the container
     is narrower than that (narrow IDE pane, browser zoom-in, mobile portrait).
     Without it grid forces 228px tracks and cards overflow horizontally,
     which visually reads as cards overlapping each other.
     `auto-fit` collapses empty tracks (no phantom columns at edges). */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr));
  align-content: start;
  gap: 10px;
  padding: 0 18px 14px;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase {
  min-height: 166px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(48px, 1fr) auto;
  gap: 10px;
  padding: 13px !important;
  border-radius: 16px;
  border-color: rgb(var(--app-accent-rgb) / 0.2);
  background:
    radial-gradient(circle at 0% 0%, rgb(var(--app-accent-rgb) / 0.11), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.043), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 10px 28px rgba(0, 0, 0, 0.14);
}

.catalog-app-card__topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.catalog-app-card__titleblock {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.catalog-app-card__category {
  color: rgba(212, 185, 120, 0.68);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .hub-app-row__body h3 {
  margin: 0;
  overflow: hidden;
  color: #fff4d7;
  font-size: 0.98rem;
  line-height: 1.14;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .shortcut-toggle {
  position: static;
  justify-self: end;
  width: 30px;
  height: 30px;
  border-color: rgb(var(--app-accent-rgb) / 0.3);
  background: rgba(7, 8, 12, 0.54);
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(240, 242, 245, 0.7);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.page-product--apps .catalog-app-card.catalog-app-card--launchable {
  cursor: pointer;
}

.page-product--apps .catalog-app-card.catalog-app-card--launchable:focus-visible {
  outline: 2px solid rgb(var(--app-accent-rgb) / 0.62);
  outline-offset: 3px;
}

.page-product--apps .catalog-app-card.catalog-app-card--launchable.is-launching {
  pointer-events: none;
  opacity: 0.72;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--app-accent-rgb) / 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 16px 38px rgba(0, 0, 0, 0.18),
    0 0 28px rgb(var(--app-accent-rgb) / 0.08);
}

.product-stage--launcher .launcher-desktop {
  align-content: start;
  padding: 10px 10px 18px;
}

.launcher-empty-state {
  min-height: 132px;
  align-content: center;
  border-color: rgba(212, 185, 120, 0.14);
}
.product-stage--launcher .product-copy,
.product-stage--showcase .product-copy {
  padding-inline: 18px;
}

.page-wallet .product-stage--wallet {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.page-wallet .product-main {
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 185, 120, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.043), rgba(255, 255, 255, 0.016));
}

.page-wallet .product-copy h1 {
  color: #fff4d7;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-variant-numeric: tabular-nums;
}

.topup-form .primary-button {
  min-width: 148px;
}

.hub-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  font-size: 0.76rem;
}

.hub-footer__legal a {
  color: rgba(240, 242, 245, 0.72);
  text-decoration: none;
}

.hub-footer__legal a:hover,
.hub-footer__legal a:focus-visible {
  color: #fff4d7;
}

.legal-consent-list {
  display: grid;
  gap: 9px;
  margin-top: 2px;
}

.access-form .legal-consent-summary {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(240, 242, 245, 0.62);
  font-size: 0.72rem;
  line-height: 1.38;
}

.access-form .legal-consent-summary a {
  color: #fff0bf;
  text-decoration-color: rgba(255, 240, 191, 0.42);
  text-underline-offset: 3px;
}

.access-form .legal-checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.034);
  color: rgba(240, 242, 245, 0.78);
  font-size: 0.78rem;
  line-height: 1.35;
}

.access-form .legal-checkbox input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #d9b96f;
}

.access-form .legal-checkbox span {
  min-width: 0;
}

.access-form .legal-checkbox a,
.legal-document a {
  color: #fff0bf;
  text-decoration-color: rgba(255, 240, 191, 0.42);
  text-underline-offset: 3px;
}

.auth-document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  font-size: 0.76rem;
  line-height: 1.25;
  color: rgba(240, 242, 245, 0.66);
}

.auth-document-links a {
  color: #fff0bf;
  text-decoration-color: rgba(255, 240, 191, 0.34);
  text-underline-offset: 3px;
}

.access-form .legal-checkbox--optional {
  background: rgba(255, 255, 255, 0.022);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.07);
  color: rgba(240, 242, 245, 0.66);
}

.access-form .legal-checkbox--optional input {
  accent-color: rgba(217, 185, 111, 0.55);
}

.cookie-notice[hidden] {
  display: none !important;
}

body[data-apps-modal-active] .cookie-notice,
.apps-overlay-root[data-overlay-root][data-modal-active] ~ .cookie-notice {
  display: none !important;
}

.apps-overlay-root[data-overlay-root][data-modal-active] {
  z-index: 1300;
}

.cookie-notice {
  position: fixed;
  z-index: 1200;
  left: max(12px, var(--mig-safe-area-left, 0px));
  right: max(12px, var(--mig-safe-area-right, 0px));
  bottom: max(12px, var(--mig-safe-area-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: auto;
  max-width: 760px;
  max-height: calc(100svh - 24px - var(--mig-safe-area-top, 0px) - var(--mig-safe-area-bottom, 0px));
  margin-inline: auto;
  padding: 12px 12px 12px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(12, 14, 20, 0.92);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
  color: rgba(240, 242, 245, 0.78);
  backdrop-filter: blur(18px);
}

.cookie-notice__copy {
  display: grid;
  flex: 1 1 100%;
  gap: 3px;
  min-width: 0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.cookie-notice__copy strong {
  color: #fff4d7;
  font-size: 0.9rem;
}

.cookie-notice__copy span {
  overflow-wrap: anywhere;
}

.cookie-notice__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-notice__actions a,
.cookie-notice__actions button {
  min-height: 44px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff4d7;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.cookie-notice__actions button {
  border: 0;
  background: rgba(217, 185, 111, 0.2);
  cursor: pointer;
}

.cookie-notice__actions a:hover,
.cookie-notice__actions a:focus-visible,
.cookie-notice__actions button:hover,
.cookie-notice__actions button:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.page-legal {
  overflow-x: hidden;
}

.page-legal .page-shell--standalone {
  min-width: 0;
  width: 100%;
}

.legal-shell {
  width: min(1180px, calc(100vw - 28px));
  min-height: calc(100svh - 28px);
  margin: 14px auto;
  display: grid;
  gap: 14px;
  padding: 14px;
  box-sizing: border-box;
}

.legal-shell *,
.legal-shell *::before,
.legal-shell *::after {
  box-sizing: border-box;
}

.legal-back-link {
  color: inherit;
  text-decoration: none;
}

.legal-topline {
  min-width: 0;
}

.legal-topline .hub-descriptor {
  min-width: 0;
}

.legal-layout {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.legal-layout--index {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
  align-items: start;
}

.legal-hero {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 185, 111, 0.11), transparent 34%),
    rgba(255, 255, 255, 0.038);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.legal-hero h1,
.legal-document__head h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.02;
}

.legal-hero p,
.legal-document__head p,
.legal-contact p,
.legal-card p,
.legal-doc-group__head p,
.legal-footer span {
  color: rgba(240, 242, 245, 0.68);
  line-height: 1.55;
}

.legal-doc-groups {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.legal-doc-group {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.legal-doc-group__head {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding-inline: 2px;
}

.legal-doc-group__head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
}

.legal-doc-group__head p {
  margin: 0;
  font-size: 0.92rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  min-width: 0;
}

.legal-card,
.legal-contact,
.legal-document,
.legal-footer {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(217, 185, 111, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.038);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.legal-card {
  display: grid;
  gap: 8px;
  min-height: 196px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.legal-card span,
.legal-contact span {
  color: rgba(217, 185, 111, 0.92);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-card strong,
.legal-contact strong,
.legal-footer strong {
  color: #ffffff;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.legal-card small {
  align-self: end;
  color: rgba(240, 242, 245, 0.54);
}

.legal-contact {
  display: grid;
  gap: 9px;
  padding: 18px;
  min-width: 0;
}

.legal-contact__phone {
  color: #fff4d7;
  font-weight: 800;
  text-decoration: none;
}

.legal-layout--document {
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 14px;
  display: grid;
  gap: 12px;
  min-width: 0;
  max-height: calc(100svh - 28px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.legal-aside::-webkit-scrollbar {
  display: none;
}

.legal-doc-nav {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.038);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.legal-doc-nav__group {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.032);
}

.legal-doc-nav__group.is-active {
  border-color: rgba(217, 185, 111, 0.46);
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 185, 111, 0.12), transparent 46%),
    rgba(255, 255, 255, 0.045);
}

.legal-doc-nav__group-head {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.legal-doc-nav__group-title {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.legal-doc-nav__group-head small {
  color: rgba(240, 242, 245, 0.52);
  font-size: 0.72rem;
  line-height: 1.35;
}

.legal-doc-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.legal-doc-nav a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 12px;
  color: rgba(240, 242, 245, 0.72);
  text-decoration: none;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.legal-doc-nav a:hover,
.legal-doc-nav a:focus-visible,
.legal-doc-nav a.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: #fff4d7;
}

.legal-document {
  padding: clamp(18px, 3vw, 34px);
  min-width: 0;
}

.legal-document__head {
  max-width: 820px;
  margin-bottom: 22px;
  min-width: 0;
}

.legal-document__mobile-nav {
  display: none;
}

.legal-section {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section h2 {
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: rgba(240, 242, 245, 0.78);
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.legal-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(180px, 0.55fr);
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.legal-footer > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.legal-footer__nav,
.legal-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.legal-footer a {
  color: rgba(240, 242, 245, 0.74);
  text-decoration: none;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: #fff4d7;
}

@media (max-width: 960px) {
  .page-product .hub-shell--product {
    width: min(calc(100vw - 16px), 760px);
    min-height: calc(100svh - 16px);
    max-height: calc(100svh - 16px);
  }

  .page-product--apps .hub-apps {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    padding-inline: 8px;
  }

  .page-wallet .product-stage--wallet {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-layout--index,
  .legal-layout--document {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-aside {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .legal-aside > .legal-doc-nav {
    display: none;
  }

  .legal-document__mobile-nav {
    display: block;
    margin: 0 0 18px;
    max-width: 100%;
    min-width: 0;
  }

  .legal-doc-nav {
    overflow: visible;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  }

  .legal-doc-nav a {
    white-space: normal;
  }

  .legal-doc-nav__group {
    padding: 9px;
  }

  .legal-doc-nav__group-head small {
    display: none;
  }

  .legal-footer {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 761px) {
  .page-product--wallet .topup-grid--product {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
}

@media (max-width: 640px) {
  .page-product .hub-shell--product {
    width: calc(100vw - 10px);
    min-height: calc(100svh - 10px);
    max-height: calc(100svh - 10px);
    padding: 8px;
    border-radius: 22px;
  }

  .page-product .apps-workspace-panel {
    padding: 6px 6px 8px;
  }

  .page-product--apps .hub-apps {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 0 8px 12px;
  }

  .page-product--apps .catalog-app-card.catalog-app-card--showcase {
    min-height: 144px;
    gap: 8px;
    padding: 11px !important;
  }

  .catalog-app-card__topline {
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    gap: 9px;
  }

  .page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo {
    width: 40px;
    height: 40px;
  }

  .page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__description {
    font-size: 0.76rem;
    -webkit-line-clamp: 2;
  }
  .product-stage--launcher .product-copy,
  .product-stage--showcase .product-copy {
    padding-inline: 8px;
  }

  .topup-form .primary-button,
  .topup-form .ghost-button {
    width: 100%;
  }

  .legal-shell {
    width: calc(100vw - 10px);
    min-height: calc(100svh - 10px);
    margin: 5px auto;
    gap: 10px;
    padding: 8px;
  }

  .legal-layout {
    gap: 10px;
  }

  .legal-hero h1,
  .legal-document__head h1 {
    font-size: 1.9rem;
  }

  .legal-card,
  .legal-contact,
  .legal-document,
  .legal-hero,
  .legal-footer,
  .legal-doc-nav {
    border-radius: 14px;
  }

  .legal-card {
    min-height: auto;
    padding: 14px;
  }

  .legal-document {
    padding: 16px;
  }

  .legal-contact,
  .legal-footer {
    padding: 14px;
  }

  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
    left: max(8px, var(--mig-safe-area-left, 0px));
    right: max(8px, var(--mig-safe-area-right, 0px));
    width: auto;
    padding: 11px;
    border-radius: 14px;
  }

  .cookie-notice__actions {
    justify-content: space-between;
  }
}

/* Product shell scroll ownership: the screen is fixed, only work surfaces move. */
body.page-product {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
}

html:has(> body.page-product) {
  height: 100%;
  overflow: hidden;
}

.page-product .page-shell--standalone {
  width: min(1180px, calc(100vw - 28px));
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  margin: 0 auto;
  padding: 12px 0;
  overflow: hidden;
  display: grid;
  align-items: stretch;
}

.page-product .hub-shell--product {
  height: calc(100svh - 24px);
  min-height: 0;
  max-height: calc(100svh - 24px);
  overflow: hidden;
  grid-template-rows: auto minmax(0, 1fr);
}

.page-product .hub-footer {
  display: none;
}

.page-product .apps-workspace-panel {
  display: grid;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  scrollbar-gutter: auto;
  -ms-overflow-style: none;
}

.page-product .apps-workspace-panel > .product-stage,
.page-product .product-stage--single,
.page-product .product-stage--workspace,
.page-product .product-main {
  min-height: 0;
  height: auto;
}

.page-product .product-scroll,
.page-wallet .product-main,
.page-wallet .product-side {
  overflow: visible;
}

.page-product .apps-workspace-panel::-webkit-scrollbar,
.page-product .product-scroll::-webkit-scrollbar,
.page-wallet .product-main::-webkit-scrollbar,
.page-wallet .product-side::-webkit-scrollbar{
  width: 0;
  height: 0;
  display: none;
}

.page-product .product-scroll,
.page-wallet .product-main,
.page-wallet .product-side {
  scrollbar-width: none;
  scrollbar-gutter: auto;
  -ms-overflow-style: none;
}

@media (max-width: 960px), (pointer: coarse) {
  body.page-product .shell-noise {
    display: none;
  }

  body.page-product .shell-bg::before,
  body.page-product .shell-bg::after {
    filter: none;
    opacity: 0.08;
  }

  .page-product .hub-shell,
  .page-product .apps-control-panel,
  .page-product .apps-workspace-panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .page-product .hub-app-row,
  .page-product .catalog-app-card,
  .page-product .launcher-icon-button,
  .page-product .launcher-icon-glyph {
    transition-property: border-color, background-color, box-shadow, opacity;
  }

  .page-product--apps .catalog-app-card.catalog-app-card--showcase:hover,
  .launcher-icon-button:hover .launcher-icon-glyph,
  .launcher-icon-button:focus-visible .launcher-icon-glyph {
    transform: none;
  }
}

@media (max-width: 640px) {
  .page-product .page-shell--standalone {
    width: calc(100vw - 10px);
    padding: 5px 0;
  }

  .page-product .hub-shell--product {
    height: calc(100svh - 10px);
    max-height: calc(100svh - 10px);
  }
}

.catalog-app-card[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
}

@media (max-width: 640px) {
}

/* Apps frontend repair: restore compact shell hierarchy after the launcher/catalog polish stack. */
.page-home .hub-shell,
.page-auth .hub-shell {
  min-height: calc(100svh - 28px);
  padding: clamp(20px, 2.35vw, 30px);
}

.landing-stage {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 420px);
  gap: clamp(16px, 1.7vw, 22px);
}

.landing-main {
  gap: clamp(14px, 1.45vw, 20px);
  padding: clamp(20px, 2.45vw, 30px);
}

.landing-main .hub-copy {
  gap: 9px;
}

.landing-main .hub-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 4.45vw, 4.45rem);
  line-height: 1;
  letter-spacing: 0;
}

.landing-main .hub-copy p {
  max-width: 32rem;
  font-size: clamp(0.94rem, 1vw, 1.04rem);
  line-height: 1.5;
}

.landing-hero-actions {
  margin-top: 4px;
}

.landing-showcase {
  gap: 10px;
}

.page-home .hub-apps {
  gap: 9px;
}

.page-home .hub-app-row {
  min-height: 88px;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 18px;
}

.page-home .hub-app-row .app-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.page-home .hub-app-row__body {
  gap: 4px;
}

.page-home .hub-app-row__body p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.34;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.page-home .hub-app-row__cta {
  min-width: 132px;
  min-height: 38px;
  padding: 9px 13px;
  font-size: 0.82rem;
}

.product-stage--launcher .launcher-desktop {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  justify-items: stretch;
  padding: 10px 18px 18px;
}

.launcher-icon-cell {
  width: 100%;
  min-height: 0;
  align-content: stretch;
  border-radius: 18px;
}

.launcher-icon-button {
  min-height: 92px;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgb(var(--app-accent-rgb) / 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 10px 28px rgba(0, 0, 0, 0.14);
}

.launcher-icon-glyph {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.launcher-icon-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.launcher-icon-title {
  min-height: 0;
  display: -webkit-box;
  color: #fff4d7;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.14;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.launcher-icon-button:hover .launcher-icon-glyph,
.launcher-icon-button:focus-visible .launcher-icon-glyph {
  transform: none;
}

.launcher-icon-button:hover,
.launcher-icon-button:focus-visible {
  border-color: rgb(var(--app-accent-rgb) / 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 34px rgba(0, 0, 0, 0.18);
  outline: none;
}

@media (max-width: 960px) {
  .page-home .hub-shell,
  .page-auth .hub-shell {
    min-height: auto;
  }

  .landing-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-main .hub-copy h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 640px) {
  .page-home .page-shell--standalone,
  .page-auth .page-shell--standalone {
    width: calc(100vw - 16px);
    padding: 8px 0 20px;
  }

  .page-home .hub-shell,
  .page-auth .hub-shell {
    padding: 14px;
    gap: 12px;
  }

  .page-home .hub-domain,
  .page-auth .hub-domain {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .page-home .hub-descriptor strong,
  .page-auth .hub-descriptor strong {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .page-home .hub-auth,
  .page-auth .hub-auth {
    padding: 14px;
    gap: 10px;
    border-radius: 22px;
  }

  .page-home .hub-auth h2,
  .page-auth .hub-auth h2 {
    font-size: 1.42rem;
  }

  .page-home .hub-auth p,
  .page-auth .hub-auth p {
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .page-home .auth-switch,
  .page-auth .auth-switch {
    padding: 4px;
  }

  .page-home .auth-switch__button,
  .page-auth .auth-switch__button {
    padding: 8px 10px;
  }

  .page-home .access-form,
  .page-auth .access-form {
    gap: 9px;
  }

  .page-home input,
  .page-auth input {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 13px;
  }

  .page-home .access-form .legal-checkbox,
  .page-auth .access-form .legal-checkbox {
    gap: 8px;
    padding: 7px 9px;
    font-size: 0.7rem;
    line-height: 1.28;
  }

  .page-home .access-form > .primary-button,
  .page-auth .access-form > .primary-button {
    min-height: 42px;
    margin-top: 5px;
    padding: 10px 16px;
  }

  .page-home .auth-pane .access-meta,
  .page-auth .auth-pane .access-meta {
    display: none;
  }

  .landing-main {
    padding: 14px;
  }

  .landing-main .hub-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .landing-main .hub-copy p {
    font-size: 0.86rem;
  }

  .landing-hero-actions {
    display: none;
  }

  .page-home .hub-app-row {
    min-height: 82px;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .page-home .hub-app-row__action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .page-home .hub-app-row__cta {
    width: 100%;
    min-height: 36px;
  }

  .product-stage--launcher .launcher-desktop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 8px 8px 12px;
  }

  .launcher-icon-button {
    min-height: 104px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-content: center;
    gap: 8px;
    padding: 10px 8px;
    text-align: center;
  }

  .launcher-icon-glyph {
    width: 52px;
    height: 52px;
  }

  .launcher-icon-copy {
    justify-items: center;
    gap: 6px;
  }

  .launcher-icon-title {
    font-size: 0.72rem;
    line-height: 1.12;
    text-align: center;
  }

}

/* Hotfix: flatten broken logged-in surfaces. Keep one shell, no stacked cards or oversized background controls. */
.product-stage--launcher .launcher-desktop {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: start;
  justify-items: stretch !important;
  padding: 10px 18px 18px !important;
}

.product-stage--launcher .launcher-icon-cell {
  width: 100% !important;
  min-height: 0 !important;
  display: block !important;
  border-radius: 16px;
}

.product-stage--launcher .launcher-icon-button {
  width: 100%;
  min-height: 78px !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: center !important;
  justify-items: stretch !important;
  gap: 10px !important;
  padding: 10px !important;
  overflow: hidden;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.2) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.028) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
  text-align: left !important;
}

.product-stage--launcher .launcher-icon-glyph {
  width: 44px !important;
  height: 44px !important;
  border-radius: 13px !important;
  box-shadow: none !important;
}

.product-stage--launcher .launcher-icon-copy {
  display: grid !important;
  justify-items: stretch !important;
  gap: 6px !important;
  min-width: 0;
}

.product-stage--launcher .launcher-icon-title {
  min-height: 0 !important;
  display: block !important;
  overflow: hidden !important;
  color: #fff4d7;
  font-size: 0.88rem !important;
  line-height: 1.12 !important;
  text-align: left !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .product-stage--launcher .launcher-desktop {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 8px !important;
  }

  .product-stage--launcher .launcher-icon-button {
    min-height: 76px !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 9px !important;
  }

  .product-stage--launcher .launcher-icon-glyph {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
  }

  .product-stage--launcher .launcher-icon-title {
    font-size: 0.72rem !important;
  }
}

/* Logged-in Apps foundation: icon launcher, clean catalog, compact account accordions. */
.page-product--apps .product-stage--launcher .launcher-desktop {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)) !important;
  gap: 18px 12px !important;
  align-content: start !important;
  justify-items: center !important;
  padding: 14px 18px 24px !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-cell {
  width: min(94px, 100%) !important;
  min-height: 0 !important;
  display: grid !important;
  justify-items: center !important;
  border-radius: 18px !important;
  transform: none !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button {
  width: 100% !important;
  min-height: 102px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start !important;
  justify-items: center !important;
  gap: 8px !important;
  padding: 0 4px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  text-align: center !important;
  transform: none !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button:hover,
.page-product--apps .product-stage--launcher .launcher-icon-button:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph {
  position: static !important;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.18) !important;
  background:
    radial-gradient(circle at 30% 10%, rgb(var(--app-accent-rgb) / 0.2), transparent 54%),
    rgba(8, 10, 16, 0.78) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.22) !important;
  transform: none !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image) {
  border: 0 !important;
  background: transparent !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-copy {
  min-width: 0 !important;
  width: 100% !important;
  display: block !important;
  justify-items: center !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-title {
  width: 100% !important;
  min-height: 0 !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  color: #fff3d2 !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  line-height: 1.16 !important;
  text-align: center !important;
  text-overflow: clip !important;
  white-space: normal !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase {
  align-content: start !important;
  align-self: start !important;
  height: auto !important;
  grid-auto-rows: auto !important;
  grid-template-rows: auto auto !important;
  overflow: visible !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__titleblock {
  gap: 6px !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__category {
  display: none !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .hub-app-row__body h3 {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  overflow: visible;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__hashtags span {
  flex: 0 0 auto;
  min-width: max-content;
  overflow: visible;
  padding: 3px 7px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.22);
  border-radius: 999px;
  background: rgba(217, 185, 111, 0.045);
  color: rgba(244, 217, 153, 0.94);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__description {
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}

@media (max-width: 640px) {
  .page-product--apps .product-stage--launcher .launcher-desktop {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)) !important;
    gap: 14px 8px !important;
    padding: 10px 8px 18px !important;
  }

  .page-product--apps .product-stage--launcher .launcher-icon-button {
    min-height: 92px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 0 3px !important;
  }

  .page-product--apps .product-stage--launcher .launcher-icon-glyph {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    border-radius: 17px !important;
  }

  .page-product--apps .product-stage--launcher .launcher-icon-title {
    font-size: 0.66rem !important;
    line-height: 1.12 !important;
  }
}

/* Logged-in shell foundation: top panel is static, the whole workspace panel scrolls. */
.page-product .hub-shell--product {
  grid-template-rows: auto minmax(0, 1fr) !important;
  overflow: hidden !important;
}

.page-product .apps-control-panel {
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  flex: 0 0 auto !important;
}

.page-product .apps-workspace-panel {
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  scrollbar-width: none !important;
  scrollbar-gutter: auto !important;
  -ms-overflow-style: none !important;
}

.page-product .apps-workspace-panel::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.page-product .apps-workspace-panel > .product-stage,
.page-product .product-stage--single,
.page-product .product-stage--workspace,
.page-product .product-main,
.page-product .product-scroll,
.page-wallet .product-main,
.page-wallet .product-side {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.page-product .product-stage--workspace .product-main,
.page-product .product-stage--launcher .product-main,
.page-product .product-stage--showcase .product-main {
  grid-template-rows: none !important;
  align-content: start !important;
}

.page-product .product-stage--launcher .launcher-desktop,
.page-product .product-stage--showcase .hub-apps {
  align-items: start !important;
  grid-auto-rows: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Apps visual foundation v1: one shell, one scroll owner, content-owned rows. */
:root {
  --apps-visual-shell-pad: clamp(8px, 1.4vw, 16px);
  --apps-visual-panel-pad: clamp(8px, 1.25vw, 14px);
  --apps-launcher-icon-size: 64px;
  --apps-launcher-tile-w: 92px;
  --apps-launcher-tile-h: 102px;
  --apps-catalog-min-track: 228px;
}

html,
body,
.page-product .page-shell--standalone,
.page-product .hub-shell--product,
.page-product .apps-control-panel,
.page-product .apps-workspace-panel {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

.page-product .page-shell--standalone {
  min-height: 100svh !important;
}



.page-product .hub-shell--product::before,
.page-product .hub-shell--product::after {
  content: none !important;
  display: none !important;
}

.page-product .apps-control-panel,
.page-product .apps-workspace-panel {
  width: 100% !important;
  min-width: 0 !important;
}

.page-product .apps-control-panel {
  position: relative !important;
  top: auto !important;
  z-index: 20 !important;
  flex: 0 0 auto !important;
}

.page-product .apps-workspace-panel {
  display: block !important;
  min-height: 0 !important;
  padding: var(--apps-visual-panel-pad) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  scrollbar-width: none !important;
  scrollbar-gutter: auto !important;
  -ms-overflow-style: none !important;
}

.page-product .apps-top-menu,
.page-product .apps-top-menu__row,
.page-product .apps-top-menu__navline,
.page-product .product-nav,
.page-product .product-nav__links {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.page-product .apps-top-menu__brand,
.page-product .apps-top-menu__copy,
.page-product .apps-top-menu__status,
.page-product .apps-top-menu__pill,
.page-product .product-nav__link {
  min-width: 0 !important;
}

.page-product .apps-top-menu__row {
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content) !important;
}

.page-product .apps-top-menu__copy small {
  max-width: 100% !important;
}

.page-product .apps-top-menu__pill {
  max-width: 34vw !important;
}

.page-product .apps-workspace-panel > .product-stage,
.page-product .product-stage--single,
.page-product .product-stage--workspace,
.page-product .product-main,
.page-product .product-scroll{
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.page-product .product-stage--workspace .product-main,
.page-product .product-stage--launcher .product-main,
.page-product .product-stage--showcase .product-main {
  display: grid !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  gap: clamp(10px, 1.2vw, 14px) !important;
}

.page-product--apps .product-stage--launcher .launcher-desktop {
  --apps-launcher-icon-size-current: var(--apps-launcher-icon-size);
  --apps-launcher-tile-h-current: var(--apps-launcher-tile-h);
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--apps-launcher-tile-w)), 1fr)) !important;
  grid-auto-rows: minmax(var(--apps-launcher-tile-h-current), auto) !important;
  align-items: start !important;
  align-content: start !important;
  justify-items: center !important;
  gap: 18px 12px !important;
  width: 100% !important;
  padding: 12px clamp(4px, 2vw, 16px) 22px !important;
  overflow: visible !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-cell {
  width: min(96px, 100%) !important;
  min-height: var(--apps-launcher-tile-h-current) !important;
  height: auto !important;
  display: grid !important;
  align-self: start !important;
  justify-items: center !important;
  overflow: visible !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button {
  width: 100% !important;
  min-height: var(--apps-launcher-tile-h-current) !important;
  height: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: var(--apps-launcher-icon-size-current) auto !important;
  align-content: start !important;
  justify-items: center !important;
  gap: 8px !important;
  padding: 0 4px !important;
  overflow: hidden !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph {
  width: var(--apps-launcher-icon-size-current) !important;
  height: var(--apps-launcher-icon-size-current) !important;
  min-width: var(--apps-launcher-icon-size-current) !important;
  min-height: var(--apps-launcher-icon-size-current) !important;
  max-width: var(--apps-launcher-icon-size-current) !important;
  max-height: var(--apps-launcher-icon-size-current) !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-copy,
.page-product--apps .product-stage--launcher .launcher-icon-title {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-title {
  display: -webkit-box !important;
  min-height: calc(2 * 1.16em) !important;
  overflow: hidden !important;
  color: #fff3d2 !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  line-height: 1.16 !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.page-product--apps .product-stage--showcase .hub-apps {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--apps-catalog-min-track)), 1fr)) !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  align-content: start !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 0 clamp(2px, 1.4vw, 10px) 18px !important;
  overflow: visible !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase {
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-self: start !important;
  gap: 10px !important;
  padding: 13px !important;
  overflow: hidden !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__topline {
  flex: 0 0 auto !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 30px !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__titleblock {
  min-width: 0 !important;
  display: grid !important;
  gap: 6px !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .hub-app-row__body h3 {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  line-height: 1.08 !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__hashtags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__hashtags span {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__description {
  flex: 0 0 auto !important;
  display: block !important;
  margin: 0 !important;
  overflow: visible !important;
  color: rgba(240, 242, 245, 0.72) !important;
  line-height: 1.42 !important;
  white-space: normal !important;
  -webkit-line-clamp: unset !important;
}

.notification-inbox {
  display: grid;
  gap: 8px;
  margin: 8px 0 12px;
}

.notification-inbox__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(217, 185, 111, 0.16);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(217, 185, 111, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(8, 10, 15, 0.62);
}

.notification-inbox__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.notification-inbox__copy span {
  color: rgba(217, 185, 111, 0.84);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.15;
}

.notification-inbox__copy strong {
  color: #fff3d2;
  font-size: 0.92rem;
  line-height: 1.2;
}

.notification-inbox__copy p {
  margin: 0;
  color: rgba(240, 242, 245, 0.66);
  font-size: 0.8rem;
  line-height: 1.35;
}

.notification-preferences__head {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.notification-preferences__head strong {
  color: #fff3d2;
  font-size: 0.9rem;
  line-height: 1.2;
}

.notification-preferences__head small,
.notification-preferences__status {
  color: rgba(240, 242, 245, 0.58);
  font-size: 0.74rem;
  line-height: 1.35;
}
.notification-preferences__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.notification-preferences__actions {
  grid-template-columns: auto minmax(0, 1fr);
}

.notification-settings-details__body {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

@media (prefers-reduced-motion: reduce) {
}

@media (max-width: 640px) {
  :root {
    --apps-launcher-icon-size: 58px;
    --apps-launcher-tile-w: 74px;
    --apps-launcher-tile-h: 94px;
    --apps-catalog-min-track: 100%;
  }

  .page-product .hub-shell--product {
    width: calc(100vw - 10px) !important;
    height: calc(100svh - 10px) !important;
    max-height: calc(100svh - 10px) !important;
    padding: 5px !important;
    border-radius: 22px !important;
  }

  .page-product .apps-top-menu__copy small {
    max-width: 46vw !important;
  }
  .notification-preferences__actions{
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .notification-preferences__actions .ghost-button {
    width: 100%;
  }

  .notification-inbox__item {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .page-product--apps .product-stage--launcher .launcher-desktop {
    gap: 14px 8px !important;
    padding: 10px 4px 18px !important;
  }
}

@media (max-width: 360px) {
  :root {
    --apps-launcher-icon-size: 54px;
    --apps-launcher-tile-w: 68px;
    --apps-launcher-tile-h: 90px;
  }

  .page-product .apps-top-menu__logo {
    width: 34px !important;
    height: 34px !important;
  }

  .page-product .apps-top-menu__copy small {
    display: none !important;
  }

  .page-product .apps-top-menu__pill {
    min-width: 0 !important;
    max-width: 35vw !important;
    padding-inline: 8px !important;
    font-size: 0.72rem !important;
  }

  .page-product .product-nav__link {
    min-height: 32px !important;
    padding-inline: 4px !important;
    font-size: 0.68rem !important;
  }

  .page-product--apps .product-stage--launcher .launcher-icon-title {
    font-size: 0.64rem !important;
  }

  .page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__topline {
    grid-template-columns: 38px minmax(0, 1fr) 28px !important;
    gap: 8px !important;
  }

  .page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__description {
    font-size: 0.74rem !important;
  }
}

/* Apps mobile shell lock foundation v1: phones keep app-like shells locked and workspace scrolls. */
@media (max-width: 640px), (pointer: coarse) {
  html:has(> body.page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document)) {
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  body.page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    min-height: 100dvh !important;
    height: 100dvh !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .page-shell--standalone {
    width: calc(100vw - 10px) !important;
    max-width: calc(100vw - 10px) !important;
    min-height: 100dvh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    padding: 5px 0 10px !important;
    overflow: hidden !important;
    align-items: stretch !important;
  }

  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .hub-shell--product {
    width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    align-content: stretch !important;
    overflow: hidden !important;
  }

  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .apps-control-panel {
    position: relative !important;
    top: auto !important;
    z-index: 30 !important;
    background:
      radial-gradient(circle at 8% 0%, rgba(212, 185, 120, 0.14), transparent 42%),
      linear-gradient(180deg, rgba(30, 34, 45, 0.98), rgba(16, 19, 27, 0.96)) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    backdrop-filter: blur(18px) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 12px 32px rgba(0, 0, 0, 0.26) !important;
  }

  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .apps-workspace-panel {
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .apps-workspace-panel > .product-stage,
  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .product-stage--single,
  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .product-stage--workspace,
  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .product-main,
  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .product-scroll{
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Apps public landing wrap foundation v1: preview copy must stay readable, not ellipsized. */
.page-home .landing-showcase .hub-app-row {
  min-height: 0 !important;
  align-items: stretch !important;
}

.page-home .landing-showcase .hub-app-row__body {
  min-width: 0 !important;
}

.page-home .landing-showcase .hub-app-row__body p {
  display: block !important;
  max-width: none !important;
  overflow: visible !important;
  color: var(--text-muted);
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  -webkit-box-orient: initial !important;
  -webkit-line-clamp: unset !important;
}

/* Apps public mobile scroll foundation v1: auth/home pages must never clip tall phone content. */
@media (max-width: 640px), (pointer: coarse) {
  html:has(> body.page-home),
  html:has(> body.page-auth) {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: clip !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
  }

  body.page-home,
  body.page-auth {
    position: static !important;
    min-height: 100dvh !important;
    height: auto !important;
    overflow-x: clip !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  .page-home .page-shell--standalone,
  .page-auth .page-shell--standalone {
    min-height: 100dvh !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    align-items: start !important;
  }

  .page-home .hub-shell,
  .page-auth .hub-shell {
    min-height: calc(100dvh - 16px) !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    align-content: start !important;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 640px), (pointer: coarse) {
    body.page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document),
    body.page-home,
    body.page-auth,
    .page-home .page-shell--standalone,
    .page-auth .page-shell--standalone,
    .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .page-shell--standalone {
      min-height: 100svh !important;
    }

    .page-home .hub-shell,
    .page-auth .hub-shell {
      min-height: calc(100svh - 16px) !important;
    }

    .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .hub-shell--product {
      min-height: calc(100svh - 10px) !important;
    }
  }
}

/* Apps wallet package cards v2: price truth near the paid action. */
.page-product .product-scroll,
.page-product .hub-apps,
.page-product .launcher-desktop,
.page-wallet .product-main,
.page-wallet .product-side {
  overflow: visible !important;
}

.topup-grid--product {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 158px), 1fr)) !important;
  gap: 6px !important;
  min-width: 0 !important;
}

.topup-legal-note {
  margin: 8px 0 0 !important;
  color: rgba(240, 242, 245, 0.62) !important;
  font-size: 0.68rem !important;
  font-weight: 650 !important;
  line-height: 1.42 !important;
}

.topup-legal-note a {
  color: #f0d283 !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

.topup-package-card {
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
  min-height: 92px !important;
  padding: 9px 10px !important;
  border-radius: 11px !important;
  align-content: center !important;
  text-align: left !important;
}

.topup-chip__head,
.topup-chip__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 4px 6px !important;
  min-width: 0 !important;
}

.topup-chip__head strong {
  min-width: 0 !important;
  color: #fff4d8 !important;
  font-size: 1.02rem !important;
  line-height: 1.05 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.topup-chip__cta {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 3px 7px !important;
  border: 1px solid rgba(217, 185, 111, 0.24) !important;
  border-radius: 999px !important;
  color: #f0d283 !important;
  font-size: 0.62rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.topup-chip__price {
  display: block !important;
  min-width: 0 !important;
  color: rgba(240, 242, 245, 0.74) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.topup-chip__price b {
  color: #f3d487 !important;
  font-weight: 950 !important;
}

.topup-chip__meta span,
.topup-chip__caption {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 0 !important;
  color: rgba(240, 242, 245, 0.58) !important;
  font-size: 0.66rem !important;
  font-weight: 750 !important;
  line-height: 1.18 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.topup-chip__bonus {
  color: rgba(139, 224, 177, 0.86) !important;
}

.topup-package-card.is-loading {
  opacity: 0.72 !important;
}

.topup-package-card:disabled {
  cursor: wait !important;
}

@media (max-width: 420px) {
  .topup-grid--product {
    grid-template-columns: 1fr !important;
  }

  .topup-package-card {
    min-height: 0 !important;
  }
}

/* Apps public landing v2: first-wave cockpit, scoped away from catalog/product shells. */
.page-home--landing-v2.page-home .page-shell--standalone {
  height: 100svh;
  min-height: 100svh;
  padding: 14px 0;
  overflow: hidden;
}

.page-home--landing-v2 .hub-shell--landing-v2 {
  height: calc(100svh - 28px);
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 22px;
  overflow: hidden;
}

.page-home--landing-v2 .hub-topline {
  min-height: 42px;
  align-items: center;
}

.page-home--landing-v2 .hub-domain {
  min-height: 36px;
  padding: 8px 14px;
  letter-spacing: 0;
}

.page-home--landing-v2 .hub-descriptor__eyebrow,
.page-home--landing-v2 .eyebrow {
  letter-spacing: 0;
}

.page-home--landing-v2 .hub-stage.landing-v2 {
  grid-template-columns: minmax(0, 1fr) minmax(352px, 390px);
  gap: 14px;
  min-height: 0;
  height: 100%;
}

.page-home--landing-v2 .landing-v2__main,
.page-home--landing-v2 .hub-auth {
  border-radius: 24px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(23, 27, 38, 0.82), rgba(12, 14, 21, 0.68)),
    radial-gradient(circle at 12% 0%, rgba(212, 185, 120, 0.12), transparent 32%);
}

.page-home--landing-v2 .landing-v2__main {
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  padding: 20px;
  overflow: hidden;
}

.page-home--landing-v2 .landing-v2__main::after {
  display: none;
}

.page-home--landing-v2 .landing-v2__main .hub-copy {
  gap: 7px;
  animation-delay: 40ms;
}

.page-home--landing-v2 .landing-v2__main .hub-copy h1 {
  max-width: 11ch;
  font-size: 3.45rem;
  line-height: 1;
  letter-spacing: 0;
}

.page-home--landing-v2 .landing-v2__main .hub-copy p {
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 1.48;
}

.page-home--landing-v2 .landing-hero-actions {
  margin-top: 2px;
}

.page-home--landing-v2 .landing-hero-actions .primary-button,
.page-home--landing-v2 .landing-hero-actions .ghost-button {
  min-height: 38px;
  padding: 10px 16px;
  font-size: 0.84rem;
}

.landing-wave {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
  height: 100%;
}

.landing-wave__head,
.landing-wave__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.landing-wave__head {
  color: rgba(240, 242, 245, 0.62);
  font-size: 0.76rem;
  font-weight: 850;
}

.landing-wave__head span {
  color: rgba(212, 185, 120, 0.82);
}

.landing-wave__head strong {
  color: #fff3cc;
}

.landing-wave__stage {
  position: relative;
  display: grid;
  min-height: 0;
}

.landing-wave__slides {
  display: grid;
  min-height: 0;
}

.landing-wave__slide {
  --app-accent-rgb: 212 185 120;
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  min-height: 0;
  padding: 16px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgb(var(--app-accent-rgb) / 0.22), transparent 44%),
    linear-gradient(135deg, rgb(var(--app-accent-rgb) / 0.1), rgba(255, 255, 255, 0.035) 42%, rgba(0, 0, 0, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 42px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.992);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.landing-wave__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.landing-wave__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 35%, rgb(var(--app-accent-rgb) / 0.22), transparent 48%),
    rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.landing-wave__visual::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.18);
  border-radius: 999px;
}

.landing-wave__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  color: #fff4d3;
  font-size: 1rem;
  font-weight: 950;
  background: rgba(7, 8, 12, 0.42);
  box-shadow: 0 18px 48px rgb(var(--app-accent-rgb) / 0.2);
  overflow: hidden;
}

.landing-wave__icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-wave__number {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: rgb(var(--app-accent-rgb) / 0.52);
  font-size: 1.45rem;
  font-weight: 950;
}

.landing-wave__content {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 0;
}

.landing-wave__kicker {
  color: rgb(var(--app-accent-rgb) / 0.86);
  font-size: 0.72rem;
  font-weight: 900;
}

.landing-wave__content h2,
.landing-wave__content strong,
.landing-wave__content p {
  margin: 0;
}

.landing-wave__content h2 {
  color: #fff4d7;
  font-size: 2rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.landing-wave__content strong {
  color: rgba(240, 242, 245, 0.9);
  font-size: 1rem;
  line-height: 1.24;
}

.landing-wave__content p {
  color: rgba(240, 242, 245, 0.68);
  font-size: 0.88rem;
  line-height: 1.45;
}

.landing-wave__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.landing-wave__tags span {
  padding: 5px 8px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.2);
  border-radius: 999px;
  color: #f6df9c;
  background: rgb(var(--app-accent-rgb) / 0.07);
  font-size: 0.7rem;
  font-weight: 850;
}

.landing-wave__cta {
  justify-self: start;
  min-height: 38px;
  margin-top: 2px;
  padding: 10px 16px;
  font-size: 0.82rem;
}

.landing-wave__controls {
  position: absolute;
  right: 12px;
  top: 12px;
}

.landing-wave__arrow {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff1c8;
  background: rgba(7, 8, 12, 0.42);
  cursor: pointer;
}

.landing-wave__selectors {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  min-height: 0;
}

.landing-wave__selector {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: rgba(240, 242, 245, 0.72);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  cursor: pointer;
}

.landing-wave__selector.is-active {
  border-color: rgb(var(--app-accent-rgb, 212 185 120) / 0.24);
  color: #fff5d8;
  background: rgba(212, 185, 120, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 20px rgba(212, 185, 120, 0.06);
}

.landing-wave__selector-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.68rem;
  font-weight: 900;
}

.landing-wave__selector-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.landing-wave__selector strong,
.landing-wave__selector small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.landing-wave__selector strong {
  font-size: 0.76rem;
  line-height: 1.1;
}

.landing-wave__selector small {
  margin-top: 2px;
  color: rgba(240, 242, 245, 0.48);
  font-size: 0.64rem;
  line-height: 1.1;
}

.page-home--landing-v2 .hub-auth {
  gap: 11px;
  padding: 18px;
  overflow: hidden;
  animation-delay: 80ms;
}

.page-home--landing-v2 .hub-auth h2 {
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.page-home--landing-v2 .hub-auth p {
  font-size: 0.86rem;
  line-height: 1.42;
}

.page-home--landing-v2 .auth-switch {
  padding: 4px;
}

.page-home--landing-v2 .auth-switch__button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.page-home--landing-v2 .access-form {
  gap: 9px;
}

.page-home--landing-v2 .access-form label,
.page-home--landing-v2 .passkey-box label {
  gap: 5px;
}

.page-home--landing-v2 input {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 13px;
}

.page-home--landing-v2 .legal-consent-list {
  gap: 7px;
}

.page-home--landing-v2 .access-form .legal-checkbox {
  gap: 8px;
  padding: 8px 9px;
  font-size: 0.7rem;
  line-height: 1.28;
}

.page-home--landing-v2 .access-form > .primary-button {
  min-height: 40px;
  margin-top: 4px;
  padding: 10px 16px;
}

.page-home--landing-v2 .hub-footer {
  min-height: 30px;
  padding-top: 4px;
  font-size: 0.72rem;
}

@media (max-width: 1180px) {
  .page-home--landing-v2 .landing-v2__main .hub-copy h1 {
    font-size: 3rem;
  }

  .landing-wave__slide {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
  }

  .landing-wave__icon {
    width: 78px;
    height: 78px;
  }

  .landing-wave__content h2 {
    font-size: 1.72rem;
  }

  .landing-wave__selectors {
    gap: 6px;
  }

  .landing-wave__selector {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .landing-wave__selector small {
    display: none;
  }
}

@media (max-height: 780px) and (min-width: 861px) {
  .page-home--landing-v2 .page-shell--standalone {
    padding: 10px 0;
  }

  .page-home--landing-v2 .hub-shell--landing-v2 {
    height: calc(100svh - 20px);
    gap: 9px;
    padding: 18px;
  }

  .page-home--landing-v2 .hub-stage.landing-v2 {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 372px);
    gap: 12px;
  }

  .page-home--landing-v2 .landing-v2__main {
    gap: 9px;
    padding: 16px;
  }

  .page-home--landing-v2 .landing-v2__main .hub-copy h1 {
    font-size: 2.7rem;
  }

  .page-home--landing-v2 .landing-v2__main .hub-copy p {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .landing-wave {
    gap: 8px;
  }

  .landing-wave__slide {
    padding: 12px;
  }

  .landing-wave__content {
    gap: 6px;
  }

  .landing-wave__content h2 {
    font-size: 1.55rem;
  }

  .landing-wave__content strong {
    font-size: 0.9rem;
  }

  .landing-wave__content p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .landing-wave__tags span {
    padding: 4px 7px;
    font-size: 0.66rem;
  }

  .landing-wave__selector {
    min-height: 50px;
    padding: 6px;
  }

  .page-home--landing-v2 .hub-auth {
    gap: 8px;
    padding: 14px;
  }

  .page-home--landing-v2 .hub-auth h2 {
    font-size: 1.34rem;
  }

  .page-home--landing-v2 .hub-auth p {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .page-home--landing-v2 .access-form {
    gap: 7px;
  }

  .page-home--landing-v2 input {
    min-height: 36px;
    padding: 8px 10px;
  }

  .page-home--landing-v2 .access-form .legal-checkbox {
    padding: 6px 8px;
    font-size: 0.64rem;
  }
}

@media (max-width: 860px) {
  /* Apps public landing mobile one-screen cockpit v1 */
  body.page-home--landing-v2 {
    height: 100svh;
    min-height: 100svh;
    overflow: hidden !important;
  }

  .page-home--landing-v2.page-home .page-shell--standalone {
    box-sizing: border-box;
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: 100svh !important;
    margin: 0 auto !important;
    padding: 8px 0;
    overflow: hidden !important;
    align-items: stretch !important;
  }

  .page-home--landing-v2 .hub-shell--landing-v2 {
    box-sizing: border-box;
    height: calc(100svh - 16px) !important;
    min-height: 0 !important;
    max-height: calc(100svh - 16px) !important;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    padding: 12px;
    border-radius: 22px;
    overflow: hidden !important;
    align-content: stretch !important;
  }

  .page-home--landing-v2 .hub-topline {
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 0;
    overflow: hidden;
  }

  .page-home--landing-v2 .hub-domain {
    min-height: 30px;
    padding: 7px 10px;
    font-size: 0.62rem;
    flex: 0 0 auto;
  }

  .page-home--landing-v2 .hub-descriptor {
    min-width: 0;
    gap: 0;
    padding: 0;
  }

  .page-home--landing-v2 .hub-descriptor__eyebrow {
    font-size: 0.56rem;
  }

  .page-home--landing-v2 .hub-descriptor strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: rgba(240, 242, 245, 0.86);
    font-size: 0.76rem;
    line-height: 1.15;
  }

  .page-home--landing-v2 .hub-stage.landing-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 0.88fr) minmax(312px, 0.98fr);
    gap: 8px;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .page-home--landing-v2 .hub-auth {
    order: 0;
    height: 100%;
    min-height: 0;
    gap: 7px;
    padding: 12px;
    border-radius: 18px;
    overflow: hidden;
  }

  .page-home--landing-v2 .hub-auth > .eyebrow,
  .page-home--landing-v2 .hub-auth > p {
    display: none;
  }

  .page-home--landing-v2 .hub-auth h2 {
    font-size: 1.08rem;
    line-height: 1.05;
  }

  .page-home--landing-v2 .auth-switch {
    padding: 3px;
  }

  .page-home--landing-v2 .auth-switch__button {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 0.76rem;
  }

  .page-home--landing-v2 .auth-pane {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  .page-home--landing-v2 .auth-pane::-webkit-scrollbar {
    display: none;
  }

  .page-home--landing-v2 .access-form {
    gap: 6px;
    min-height: 0;
  }

  .page-home--landing-v2 .access-form label,
  .page-home--landing-v2 .passkey-box label {
    gap: 3px;
  }

  .page-home--landing-v2 .access-form label span,
  .page-home--landing-v2 .passkey-box label span {
    font-size: 0.68rem;
    line-height: 1.05;
  }

  .page-home--landing-v2 input {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 11px;
    font-size: 0.9rem;
  }

  .page-home--landing-v2 .legal-consent-list {
    gap: 5px;
  }

  .page-home--landing-v2 .access-form .legal-checkbox {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 7px;
    align-items: start;
    padding: 6px 7px;
    border-radius: 11px;
    font-size: 0.62rem;
    line-height: 1.18;
  }

  .page-home--landing-v2 .access-form .legal-checkbox input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
  }

  .page-home--landing-v2 .access-form > .primary-button {
    min-height: 36px;
    margin-top: 2px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .page-home--landing-v2 .landing-v2__main {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 7px;
    height: 100%;
    min-height: 0;
    padding: 12px;
    border-radius: 18px;
    overflow: hidden;
  }

  .page-home--landing-v2 .landing-v2__main .hub-copy {
    gap: 2px;
    min-height: 0;
  }

  .page-home--landing-v2 .landing-v2__main .hub-copy h1 {
    max-width: none;
    font-size: 1.22rem;
    line-height: 1;
  }

  .page-home--landing-v2 .landing-v2__main .hub-copy p {
    display: none;
  }

  .page-home--landing-v2 .landing-hero-actions,
  .page-home--landing-v2 .hub-footer {
    display: none;
  }

  .landing-wave {
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 7px;
    min-height: 0;
  }

  .landing-wave__head {
    display: none;
  }

  .landing-wave__stage {
    min-height: 0;
  }

  .landing-wave__slide {
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 0;
    padding: 10px;
    border-radius: 17px;
    overflow: hidden;
  }

  .landing-wave__visual {
    min-height: 0;
    aspect-ratio: 1;
    border-radius: 15px;
  }

  .landing-wave__visual::before,
  .landing-wave__number,
  .landing-wave__cta,
  .landing-wave__content p {
    display: none;
  }

  .landing-wave__icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  .landing-wave__content {
    gap: 4px;
    align-content: center;
    min-width: 0;
    padding-right: 50px;
  }

  .landing-wave__kicker {
    font-size: 0.6rem;
    line-height: 1;
  }

  .landing-wave__content h2 {
    font-size: 1.08rem;
    line-height: 1.02;
  }

  .landing-wave__content strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.76rem;
    line-height: 1.14;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .landing-wave__tags {
    gap: 4px;
  }

  .landing-wave__tags span {
    padding: 3px 6px;
    font-size: 0.58rem;
    line-height: 1.1;
  }

  .landing-wave__tags span:nth-child(n+3) {
    display: none;
  }

  .landing-wave__controls {
    right: 8px;
    top: 8px;
    gap: 5px;
  }

  .landing-wave__arrow {
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }

  .landing-wave__selectors {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .landing-wave__selector {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 34px;
    padding: 4px;
    border-radius: 12px;
    text-align: center;
  }

  .landing-wave__selector-icon {
    width: 26px;
    height: 26px;
    border-radius: 9px;
  }

  .landing-wave__selector span:not(.landing-wave__selector-icon) {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-home--landing-v2 .hub-shell--landing-v2 {
    padding: 10px;
  }

  .page-home--landing-v2 .hub-topline {
    gap: 7px;
  }

  .page-home--landing-v2 .hub-stage.landing-v2 {
    grid-template-rows: minmax(0, 0.84fr) minmax(306px, 0.98fr);
  }

  .page-home--landing-v2 .landing-v2__main .hub-copy h1 {
    font-size: 1.12rem;
  }

  .landing-wave__slide {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 8px;
    padding: 9px;
  }

  .landing-wave__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .landing-wave__content h2 {
    font-size: 0.98rem;
  }

  .landing-wave__content strong {
    font-size: 0.7rem;
    -webkit-line-clamp: 2;
  }

  .page-home--landing-v2 .access-form .legal-checkbox {
    font-size: 0.6rem;
  }

  .page-home--landing-v2 .hub-auth h2 {
    font-size: 1rem;
  }
}

@media (max-width: 380px), (max-width: 860px) and (max-height: 760px) {
  .page-home--landing-v2 .hub-shell--landing-v2 {
    gap: 6px;
    padding: 9px;
  }

  .page-home--landing-v2 .hub-domain {
    min-height: 28px;
    padding: 6px 8px;
    font-size: 0.58rem;
  }

  .page-home--landing-v2 .hub-descriptor__eyebrow {
    display: none;
  }

  .page-home--landing-v2 .hub-descriptor strong {
    font-size: 0.7rem;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .page-home--landing-v2 .hub-stage.landing-v2 {
    grid-template-rows: minmax(0, 0.76fr) minmax(292px, 1fr);
    gap: 6px;
  }

  .page-home--landing-v2 .landing-v2__main,
  .page-home--landing-v2 .hub-auth {
    padding: 9px;
    border-radius: 16px;
  }

  .page-home--landing-v2 .landing-v2__main {
    grid-template-rows: minmax(0, 1fr);
  }

  .page-home--landing-v2 .landing-v2__main .hub-copy {
    display: none;
  }

  .landing-wave {
    gap: 5px;
  }

  .landing-wave__slide {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 8px;
  }

  .landing-wave__icon {
    width: 44px;
    height: 44px;
  }

  .landing-wave__content {
    padding-right: 42px;
  }

  .landing-wave__content h2 {
    font-size: 0.9rem;
  }

  .landing-wave__content strong,
  .landing-wave__tags span {
    font-size: 0.58rem;
  }

  .landing-wave__arrow {
    width: 25px;
    height: 25px;
  }

  .landing-wave__selector {
    min-height: 30px;
  }

  .landing-wave__selector-icon {
    width: 23px;
    height: 23px;
  }

  .page-home--landing-v2 .hub-auth {
    gap: 5px;
  }

  .page-home--landing-v2 .hub-auth h2 {
    font-size: 0.92rem;
  }

  .page-home--landing-v2 .auth-switch__button {
    min-height: 28px;
    padding: 5px 8px;
  }

  .page-home--landing-v2 input {
    min-height: 32px;
    padding: 6px 9px;
  }

  .page-home--landing-v2 .access-form label span,
  .page-home--landing-v2 .passkey-box label span {
    font-size: 0.62rem;
  }

  .page-home--landing-v2 .access-form .legal-checkbox {
    padding: 5px 6px;
    font-size: 0.55rem;
    line-height: 1.12;
  }

  .page-home--landing-v2 .access-form > .primary-button {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-wave__slide {
    transition: none;
    transform: none;
  }
}

/* Apps guest landing shell v4: public start uses the authenticated product shell grammar. */
.page-product--guest-home .hub-shell--product {
  grid-template-rows: auto minmax(0, 1fr) auto !important;
}

.page-product--guest-home .apps-top-menu {
  grid-template-rows: auto !important;
}

.page-product--guest-home .apps-top-menu--guest .apps-top-menu__row {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.page-product--guest-home .apps-top-menu__balance--guest {
  min-width: 104px !important;
  color: #fff0c5 !important;
  background: rgba(212, 185, 120, 0.1) !important;
}

.page-product--guest-home .apps-workspace-panel {
  padding: clamp(8px, 1vw, 12px) !important;
}

.page-product--guest-home .hub-footer {
  display: grid !important;
  gap: 6px !important;
  min-height: 0 !important;
  padding: 0 4px 2px !important;
  border: 0 !important;
  color: rgba(240, 242, 245, 0.54) !important;
  font-size: 0.7rem !important;
  line-height: 1.2 !important;
}

.page-product--guest-home .hub-footer__line,
.page-product--guest-home .hub-footer__apps {
  justify-content: center !important;
  color: rgba(240, 242, 245, 0.58) !important;
  font-size: 0.68rem !important;
}

.page-product--guest-home .hub-footer__legal {
  justify-content: center !important;
  gap: 6px 10px !important;
  font-size: 0.66rem !important;
}

.page-product--guest-home .hub-footer__legal a {
  color: rgba(240, 242, 245, 0.55) !important;
}

.guest-landing-stage {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: clamp(10px, 1.2vw, 14px) !important;
  min-height: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.guest-access-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(348px, 0.95fr);
  gap: clamp(10px, 1.2vw, 14px);
  align-items: stretch;
  min-height: 0;
}

.guest-access-band__copy,
.hub-auth--guest-access {
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 12%, rgba(212, 185, 120, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(24, 28, 39, 0.78), rgba(13, 15, 22, 0.66));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.guest-access-band__copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: clamp(16px, 1.8vw, 22px);
}

.guest-access-band__copy h1,
.guest-access-band__copy p {
  margin: 0;
  letter-spacing: 0;
}

.guest-access-band__copy h1 {
  max-width: 17ch;
  color: #fff3d2;
  font-size: 2.35rem;
  line-height: 1.02;
}

.guest-access-band__copy p {
  max-width: 48rem;
  color: rgba(240, 242, 245, 0.68);
  font-size: 0.94rem;
  line-height: 1.5;
}

.hub-auth--guest-access {
  height: auto !important;
  gap: 10px !important;
  padding: 16px !important;
  overflow: hidden !important;
}

.hub-auth--guest-access > .eyebrow {
  display: none !important;
}

.hub-auth--guest-access h2,
.hub-auth--guest-access p {
  display: none !important;
}

.hub-auth--guest-access .auth-switch {
  order: -1;
  padding: 4px;
}

.hub-auth--guest-access .auth-switch__button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.hub-auth--guest-access .auth-pane {
  flex: 0 1 auto;
  min-height: 0;
}

.hub-auth--guest-access .access-form {
  gap: 8px;
}

.hub-auth--guest-access .access-form label,
.hub-auth--guest-access .passkey-box label {
  gap: 4px;
}

.hub-auth--guest-access .access-form label span,
.hub-auth--guest-access .passkey-box label span {
  font-size: 0.68rem;
  line-height: 1.05;
}

.hub-auth--guest-access input {
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.hub-auth--guest-access .legal-consent-list {
  gap: 6px;
}

.hub-auth--guest-access .legal-checkbox {
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 8px;
  border-radius: 12px;
  font-size: 0.64rem;
  line-height: 1.2;
}

.hub-auth--guest-access .legal-checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 0;
}

.hub-auth--guest-access .access-form > .primary-button {
  min-height: 38px;
  margin-top: 4px;
  padding: 9px 14px;
  font-size: 0.82rem;
}

@media (min-width: 861px) {
  .hub-auth--guest-access .auth-pane[data-auth-pane="login"] .access-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
  }

  .hub-auth--guest-access .auth-pane[data-auth-pane="login"] .access-form > .primary-button {
    min-width: 116px;
    margin-top: 0;
  }
}

.page-product--guest-home .landing-wave {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.page-product--guest-home .landing-wave__head {
  display: flex;
}

.page-product--guest-home .landing-wave__head span,
.page-product--guest-home .landing-wave__head strong {
  letter-spacing: 0;
}

.page-product--guest-home .landing-wave__slide {
  grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  min-height: 0;
  padding: 16px;
  border-radius: 22px;
}

.page-product--guest-home .landing-wave__visual {
  min-height: 0;
}

.page-product--guest-home .landing-wave__icon {
  width: 88px;
  height: 88px;
}

.page-product--guest-home .landing-wave__content {
  align-content: center;
  gap: 8px;
}

.page-product--guest-home .landing-wave__kicker,
.page-product--guest-home .landing-wave__content h2,
.page-product--guest-home .landing-wave__content strong,
.page-product--guest-home .landing-wave__content p {
  letter-spacing: 0;
}

.page-product--guest-home .landing-wave__content h2 {
  font-size: 2rem;
  line-height: 1.02;
}

.page-product--guest-home .landing-wave__content strong {
  max-width: 48rem;
  font-size: 1.02rem;
  line-height: 1.28;
}

.page-product--guest-home .landing-wave__content p {
  max-width: 54rem;
  color: rgba(240, 242, 245, 0.7);
  font-size: 0.88rem;
  line-height: 1.48;
}

.page-product--guest-home .landing-wave__cta {
  margin-top: 4px;
}

.page-product--guest-home .landing-wave__selectors {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.page-product--guest-home .landing-wave__selector {
  min-height: 54px;
  border-radius: 15px;
}

.page-product--guest-home .landing-wave__selector strong,
.page-product--guest-home .landing-wave__selector small {
  letter-spacing: 0;
  text-overflow: clip;
}

@media (min-width: 861px) and (max-height: 780px) {
  .page-product--guest-home .apps-workspace-panel {
    padding: 8px !important;
  }

  .guest-landing-stage {
    gap: 8px !important;
  }

  .guest-access-band {
    gap: 8px;
  }

  .guest-access-band__copy,
  .hub-auth--guest-access {
    border-radius: 18px;
  }

  .guest-access-band__copy {
    padding: 14px;
  }

  .guest-access-band__copy h1 {
    font-size: 1.8rem;
  }

  .guest-access-band__copy p,
  .hub-auth--guest-access p {
    font-size: 0.74rem !important;
    line-height: 1.32 !important;
  }

  .hub-auth--guest-access {
    gap: 7px !important;
    padding: 12px !important;
  }

  .hub-auth--guest-access .auth-switch__button,
  .hub-auth--guest-access input,
  .hub-auth--guest-access .access-form > .primary-button {
    min-height: 32px;
  }

  .page-product--guest-home .landing-wave {
    gap: 7px;
  }

  .page-product--guest-home .landing-wave__slide {
    padding: 12px;
  }

  .page-product--guest-home .landing-wave__content p {
    font-size: 0.75rem;
    line-height: 1.34;
  }

  .page-product--guest-home .landing-wave__selector {
    min-height: 46px;
  }

  .page-product--guest-home .hub-footer__line {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .page-product--guest-home .hub-shell--product {
    gap: 7px !important;
  }

  .page-product--guest-home .apps-control-panel {
    border-radius: 18px !important;
  }

  .page-product--guest-home .apps-top-menu__balance--guest {
    min-width: 86px !important;
    max-width: 30vw !important;
  }

  .page-product--guest-home .apps-workspace-panel {
    padding: 7px !important;
  }

  .guest-landing-stage {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  .guest-access-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .guest-access-band__copy {
    padding: 11px 12px;
    border-radius: 16px;
  }

  .guest-access-band__copy .eyebrow {
    display: none;
  }

  .guest-access-band__copy h1 {
    max-width: none;
    font-size: 1.15rem;
    line-height: 1.04;
  }

  .guest-access-band__copy p {
    margin-top: 2px;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .hub-auth--guest-access {
    gap: 7px !important;
    padding: 10px !important;
    border-radius: 16px !important;
  }

  .hub-auth--guest-access h2,
  .hub-auth--guest-access p {
    display: none !important;
  }

  .hub-auth--guest-access .auth-switch__button {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  .hub-auth--guest-access .auth-pane {
    max-height: 286px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  .hub-auth--guest-access .auth-pane::-webkit-scrollbar {
    display: none;
  }

  .hub-auth--guest-access .access-form {
    gap: 6px;
  }

  .hub-auth--guest-access input {
    min-height: 34px;
    padding: 7px 10px;
  }

  .hub-auth--guest-access .legal-checkbox {
    padding: 6px 7px;
    font-size: 0.58rem;
    line-height: 1.15;
  }

  .hub-auth--guest-access .access-form > .primary-button {
    min-height: 34px;
    margin-top: 2px;
  }

  .page-product--guest-home .landing-wave {
    height: auto;
    min-height: 360px;
    margin-top: 7px;
    overflow: visible;
  }

  .page-product--guest-home .landing-wave__head {
    min-height: 24px;
    font-size: 0.68rem;
  }

  .page-product--guest-home .landing-wave__stage {
    min-height: 260px;
  }

  .page-product--guest-home .landing-wave__slide {
    grid-template-columns: 66px minmax(0, 1fr);
    align-items: center;
    min-height: 260px;
    padding: 10px;
    border-radius: 16px;
  }

  .page-product--guest-home .landing-wave__visual::before,
  .page-product--guest-home .landing-wave__number,
  .page-product--guest-home .landing-wave__cta {
    display: none;
  }

  .page-product--guest-home .landing-wave__visual {
    aspect-ratio: 1;
    border-radius: 14px;
  }

  .page-product--guest-home .landing-wave__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .page-product--guest-home .landing-wave__content {
    gap: 5px;
    min-width: 0;
    padding-right: 48px;
  }

  .page-product--guest-home .landing-wave__content h2 {
    font-size: 1.16rem;
  }

  .page-product--guest-home .landing-wave__content strong {
    font-size: 0.75rem;
    line-height: 1.18;
  }

  .page-product--guest-home .landing-wave__content p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.68rem;
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .page-product--guest-home .landing-wave__controls {
    right: 8px;
    top: 8px;
  }

  .page-product--guest-home .landing-wave__arrow {
    width: 28px;
    height: 28px;
  }

  .page-product--guest-home .landing-wave__selectors {
    gap: 5px;
  }

  .page-product--guest-home .landing-wave__selector {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 34px;
    padding: 4px;
    text-align: center;
  }

  .page-product--guest-home .landing-wave__selector-icon {
    width: 26px;
    height: 26px;
  }

  .page-product--guest-home .landing-wave__selector span:not(.landing-wave__selector-icon) {
    display: none;
  }

  .page-product--guest-home .hub-footer {
    gap: 4px !important;
    padding-bottom: 0 !important;
  }

  .page-product--guest-home .hub-footer__line {
    display: none !important;
  }

  .page-product--guest-home .hub-footer__apps {
    font-size: 0.6rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }

  .page-product--guest-home .hub-footer__legal {
    gap: 4px 7px !important;
    font-size: 0.58rem !important;
    line-height: 1.12 !important;
  }
}

@media (max-width: 380px), (max-width: 860px) and (max-height: 760px) {
  .page-product--guest-home .apps-top-menu__copy small {
    display: none;
  }

  .page-product--guest-home .apps-top-menu__balance--guest {
    min-width: 76px !important;
    font-size: 0.62rem !important;
  }

  .guest-access-band__copy {
    display: none;
  }

  .hub-auth--guest-access {
    padding: 8px !important;
  }

  .hub-auth--guest-access .auth-switch {
    padding: 3px;
  }

  .hub-auth--guest-access .auth-switch__button {
    min-height: 29px;
    font-size: 0.72rem;
  }

  .hub-auth--guest-access .auth-pane {
    max-height: 258px;
  }

  .hub-auth--guest-access input,
  .hub-auth--guest-access .access-form > .primary-button {
    min-height: 31px;
  }

  .hub-auth--guest-access .access-form label span,
  .hub-auth--guest-access .passkey-box label span {
    font-size: 0.6rem;
  }

  .hub-auth--guest-access .legal-checkbox {
    font-size: 0.54rem;
  }

  .page-product--guest-home .landing-wave {
    min-height: 330px;
  }

  .page-product--guest-home .landing-wave__stage {
    min-height: 236px;
  }

  .page-product--guest-home .landing-wave__slide {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 236px;
    padding: 8px;
  }

  .page-product--guest-home .landing-wave__icon {
    width: 43px;
    height: 43px;
  }

  .page-product--guest-home .landing-wave__content {
    padding-right: 42px;
  }

  .page-product--guest-home .landing-wave__content h2 {
    font-size: 0.94rem;
  }

  .page-product--guest-home .landing-wave__content strong {
    font-size: 0.66rem;
  }

  .page-product--guest-home .landing-wave__content p {
    font-size: 0.6rem;
    -webkit-line-clamp: 4;
  }

  .page-product--guest-home .landing-wave__selector {
    min-height: 29px;
  }

  .page-product--guest-home .landing-wave__selector-icon {
    width: 22px;
    height: 22px;
  }

  .page-product--guest-home .hub-footer__apps {
    display: none !important;
  }
}

/* Apps guest landing panels v1: header, access, wave and footer are distinct premium surfaces. */
.page-product--guest-home .hub-shell--product {
  grid-template-rows: auto minmax(0, 1fr) !important;
}

.page-product--guest-home .apps-control-panel {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 185, 120, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(30, 34, 46, 0.88), rgba(14, 16, 23, 0.72)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 46px rgba(0, 0, 0, 0.2) !important;
}

.page-product--guest-home .apps-top-menu {
  grid-template-rows: auto !important;
}

.page-product--guest-home .apps-top-menu--guest .apps-top-menu__row {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.page-product--guest-home .apps-top-menu__balance--guest {
  min-width: 104px !important;
  color: #fff0c5 !important;
  background: rgba(212, 185, 120, 0.12) !important;
}

.page-product--guest-home .apps-workspace-panel {
  padding: clamp(8px, 1vw, 12px) !important;
}

.guest-landing-stage {
  display: block !important;
  min-height: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}

.page-product--guest-home .guest-landing-stage {
  min-height: 100% !important;
  height: 100% !important;
}

.page-product--guest-home .apps-workspace-panel > .guest-landing-stage {
  min-height: 100% !important;
  height: 100% !important;
}

.guest-landing-surface {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.2vw, 14px);
  min-height: 100%;
  height: 100%;
  min-width: 0;
}

.guest-access-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(12px, 1.4vw, 18px);
  align-items: center;
  min-height: 0;
  padding: clamp(12px, 1.35vw, 16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 9% 0%, rgba(212, 185, 120, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(29, 33, 45, 0.86), rgba(13, 15, 22, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 18px 48px rgba(0, 0, 0, 0.16);
}

.guest-access-band__copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.guest-access-band__copy h1,
.guest-access-band__copy p {
  margin: 0;
  letter-spacing: 0;
}

.guest-access-band__copy h1 {
  max-width: 22ch;
  color: #fff3d2;
  font-size: clamp(1.46rem, 2.35vw, 2.3rem);
  line-height: 1.03;
}

.guest-access-band__copy p {
  max-width: 45rem;
  color: rgba(240, 242, 245, 0.74);
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  line-height: 1.48;
}

.hub-auth--guest-access {
  height: auto !important;
  min-height: 0 !important;
  padding: 12px !important;
  gap: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.034)),
    rgba(7, 8, 12, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 32px rgba(0, 0, 0, 0.14) !important;
  opacity: 1 !important;
  animation: none !important;
  overflow: visible !important;
}

.hub-auth--guest-access > .eyebrow {
  display: block !important;
  color: rgba(212, 185, 120, 0.78) !important;
  font-size: 0.62rem !important;
}

.hub-auth--guest-access h2 {
  display: block !important;
  margin: 0 !important;
  color: #fff4d7 !important;
  font-size: 0.98rem !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

.hub-auth--guest-access p {
  display: block !important;
  margin: -2px 0 0 !important;
  color: rgba(240, 242, 245, 0.62) !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

.hub-auth--guest-access .auth-switch {
  order: -1;
  padding: 4px;
}

.hub-auth--guest-access .auth-switch__button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.hub-auth--guest-access .auth-pane {
  flex: 0 1 auto;
  min-height: 0;
  overflow: visible;
}

.hub-auth--guest-access .access-form {
  gap: 8px;
}

.hub-auth--guest-access .access-form label,
.hub-auth--guest-access .passkey-box label {
  gap: 4px;
}

.hub-auth--guest-access .access-form label span,
.hub-auth--guest-access .passkey-box label span {
  font-size: 0.68rem;
  line-height: 1.05;
}

.hub-auth--guest-access input {
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.hub-auth--guest-access .legal-consent-list {
  gap: 7px;
}

.hub-auth--guest-access .legal-checkbox {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 9px;
  border-radius: 12px;
  font-size: 0.68rem;
  line-height: 1.24;
}

.hub-auth--guest-access .legal-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0;
}

.hub-auth--guest-access .access-form > .primary-button {
  min-height: 38px;
  margin-top: 4px;
  padding: 9px 14px;
  font-size: 0.82rem;
}

@media (min-width: 861px) {
  .hub-auth--guest-access .auth-pane[data-auth-pane="login"] .access-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
  }

  .hub-auth--guest-access .auth-pane[data-auth-pane="login"] .access-form > .primary-button {
    min-width: 116px;
    margin-top: 0;
  }
}

.guest-wave-panel {
  min-width: 0;
  min-height: 238px;
  height: 100%;
  display: grid;
  padding: clamp(10px, 1.1vw, 14px);
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 0%, rgba(212, 185, 120, 0.11), transparent 38%),
    linear-gradient(180deg, rgba(20, 23, 32, 0.76), rgba(9, 11, 17, 0.66));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 18px 46px rgba(0, 0, 0, 0.18);
}

.page-product--guest-home .landing-wave {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.page-product--guest-home .landing-wave__head,
.page-product--guest-home .landing-wave__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-product--guest-home .landing-wave__head {
  justify-content: space-between;
  color: rgba(240, 242, 245, 0.66);
  font-size: 0.78rem;
  font-weight: 850;
}

.page-product--guest-home .landing-wave__head-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.page-product--guest-home .landing-wave__head span {
  color: rgba(212, 185, 120, 0.82);
}

.page-product--guest-home .landing-wave__head strong {
  color: #fff3cc;
}

.page-product--guest-home .landing-wave__stage,
.page-product--guest-home .landing-wave__slides {
  position: relative;
  display: grid;
  min-height: 0;
}

.page-product--guest-home .landing-wave__stage {
  min-height: 156px;
}

.page-product--guest-home .landing-wave__slide {
  --app-accent-rgb: 212 185 120;
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(164px, 0.34fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(16px, 1.8vw, 24px);
  min-height: 0;
  padding: clamp(16px, 1.6vw, 22px);
  border: 1px solid rgb(var(--app-accent-rgb) / 0.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 16% 10%, rgb(var(--app-accent-rgb) / 0.22), transparent 44%),
    radial-gradient(circle at 92% 82%, rgba(83, 130, 214, 0.08), transparent 36%),
    linear-gradient(135deg, rgb(var(--app-accent-rgb) / 0.1), rgba(255, 255, 255, 0.035) 42%, rgba(0, 0, 0, 0.16));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 42px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.992);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.page-product--guest-home .landing-wave__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.page-product--guest-home .landing-wave__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 35%, rgb(var(--app-accent-rgb) / 0.22), transparent 48%),
    rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.page-product--guest-home .landing-wave__visual::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.18);
  border-radius: 999px;
}

.page-product--guest-home .landing-wave__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(82px, 8.4vw, 108px);
  height: clamp(82px, 8.4vw, 108px);
  border-radius: 25px;
  color: #fff4d3;
  background: rgba(7, 8, 12, 0.42);
  box-shadow: 0 18px 48px rgb(var(--app-accent-rgb) / 0.2);
  overflow: hidden;
}

.page-product--guest-home .landing-wave__icon-image,
.page-product--guest-home .landing-wave__selector-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-product--guest-home .landing-wave__number {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: rgb(var(--app-accent-rgb) / 0.52);
  font-size: 1.45rem;
  font-weight: 950;
}

.page-product--guest-home .landing-wave__content {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 0;
}

.page-product--guest-home .landing-wave__kicker,
.page-product--guest-home .landing-wave__content h2,
.page-product--guest-home .landing-wave__content strong,
.page-product--guest-home .landing-wave__content p {
  margin: 0;
  letter-spacing: 0;
}

.page-product--guest-home .landing-wave__kicker {
  color: rgb(var(--app-accent-rgb) / 0.86);
  font-size: 0.72rem;
  font-weight: 900;
}

.page-product--guest-home .landing-wave__content h2 {
  color: #fff4d7;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1;
}

.page-product--guest-home .landing-wave__content strong {
  max-width: 48rem;
  color: rgba(240, 242, 245, 0.9);
  font-size: clamp(0.96rem, 1.2vw, 1.1rem);
  line-height: 1.28;
}

.page-product--guest-home .landing-wave__content p {
  max-width: 58rem;
  color: rgba(240, 242, 245, 0.72);
  font-size: clamp(0.84rem, 1vw, 0.94rem);
  line-height: 1.5;
}

.page-product--guest-home .landing-wave__cta {
  display: none !important;
}

.page-product--guest-home .landing-wave__controls {
  position: static !important;
  right: auto !important;
  top: auto !important;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.page-product--guest-home .landing-wave__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff1c8;
  background: rgba(7, 8, 12, 0.42);
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

.page-product--guest-home .landing-wave__arrow-label {
  display: inline-block;
}

.page-product--guest-home .landing-wave__selectors {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  min-height: 0;
}

.page-product--guest-home .landing-wave__selector {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 56px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: rgba(240, 242, 245, 0.72);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  cursor: pointer;
}

.page-product--guest-home .landing-wave__selector.is-active {
  border-color: rgb(var(--app-accent-rgb, 212 185 120) / 0.24);
  color: #fff5d8;
  background: rgba(212, 185, 120, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 20px rgba(212, 185, 120, 0.06);
}

.page-product--guest-home .landing-wave__selector-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.68rem;
  font-weight: 900;
}

.page-product--guest-home .landing-wave__selector strong,
.page-product--guest-home .landing-wave__selector small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  letter-spacing: 0;
  text-overflow: clip;
}

.page-product--guest-home .landing-wave__selector strong {
  font-size: 0.76rem;
  line-height: 1.1;
}

.page-product--guest-home .landing-wave__selector small {
  margin-top: 2px;
  color: rgba(240, 242, 245, 0.48);
  font-size: 0.64rem;
  line-height: 1.1;
}

.page-product--guest-home .hub-footer {
  display: grid !important;
  gap: 7px !important;
  min-height: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 18px !important;
  color: rgba(240, 242, 245, 0.56) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.018)),
    rgba(8, 10, 16, 0.54) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
  font-size: 0.72rem !important;
  line-height: 1.24 !important;
}

.page-product--guest-home .hub-footer__line,
.page-product--guest-home .hub-footer__apps {
  justify-content: center !important;
  color: rgba(240, 242, 245, 0.58) !important;
  font-size: 0.7rem !important;
}

.page-product--guest-home .hub-footer__legal {
  justify-content: center !important;
  gap: 6px 10px !important;
  font-size: 0.68rem !important;
}

.page-product--guest-home .hub-footer__legal a {
  color: rgba(240, 242, 245, 0.58) !important;
}

@media (min-width: 861px) and (max-height: 780px) {
  .page-product--guest-home .apps-workspace-panel {
    padding: 8px !important;
  }

  .guest-landing-surface {
    gap: 8px;
  }

  .guest-access-band {
    gap: 10px;
    padding: 11px;
    border-radius: 18px;
  }

  .guest-access-band__copy h1 {
    font-size: 1.55rem;
  }

  .guest-access-band__copy p {
    font-size: 0.74rem;
    line-height: 1.32;
  }

  .hub-auth--guest-access {
    gap: 7px !important;
  }

  .hub-auth--guest-access .auth-switch__button,
  .hub-auth--guest-access input,
  .hub-auth--guest-access .access-form > .primary-button {
    min-height: 32px;
  }

  .page-product--guest-home .landing-wave {
    gap: 7px;
  }

  .page-product--guest-home .landing-wave__slide {
    padding: 12px;
  }

  .page-product--guest-home .landing-wave__content p {
    font-size: 0.76rem;
    line-height: 1.36;
  }

  .page-product--guest-home .landing-wave__selector {
    min-height: 46px;
  }
}

@media (max-width: 860px) {
  .page-product--guest-home .hub-shell--product {
    gap: 7px !important;
  }

  .page-product--guest-home .apps-control-panel {
    border-radius: 18px !important;
  }

  .page-product--guest-home .apps-top-menu__balance--guest {
    min-width: 86px !important;
    max-width: 30vw !important;
  }

  .page-product--guest-home .apps-workspace-panel {
    padding: 7px !important;
  }

  .guest-landing-stage {
    min-height: 100% !important;
    height: auto !important;
  }

  .page-product--guest-home .guest-landing-stage {
    height: auto !important;
  }

  .page-product--guest-home .apps-workspace-panel > .guest-landing-stage {
    height: auto !important;
  }

  .guest-landing-surface {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 8px;
    min-height: 100%;
    height: auto;
  }

  .guest-access-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
    border-radius: 17px;
  }

  .guest-access-band__copy {
    gap: 4px;
  }

  .guest-access-band__copy .eyebrow {
    display: none;
  }

  .guest-access-band__copy h1 {
    max-width: none;
    font-size: 1.12rem;
    line-height: 1.06;
  }

  .guest-access-band__copy p {
    margin-top: 1px;
    font-size: 0.74rem;
    line-height: 1.36;
  }

  .hub-auth--guest-access {
    gap: 7px !important;
    padding: 10px !important;
    border-radius: 15px !important;
  }

  .hub-auth--guest-access h2 {
    font-size: 0.9rem !important;
  }

  .hub-auth--guest-access p {
    font-size: 0.68rem !important;
  }

  .hub-auth--guest-access .auth-switch__button {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  .hub-auth--guest-access .auth-pane {
    overflow: visible;
  }

  .hub-auth--guest-access .access-form {
    gap: 7px;
  }

  .hub-auth--guest-access input {
    min-height: 36px;
    padding: 7px 10px;
  }

  .hub-auth--guest-access .legal-checkbox {
    padding: 7px 8px;
    font-size: 0.64rem;
    line-height: 1.2;
  }

  .hub-auth--guest-access .access-form > .primary-button {
    min-height: 36px;
    margin-top: 2px;
  }

  .page-product--guest-home .landing-wave {
    height: auto;
    min-height: 0;
    margin-top: 0;
    overflow: visible;
  }

  .guest-wave-panel {
    min-height: 0;
    padding: 10px;
    border-radius: 17px;
  }

  .page-product--guest-home .landing-wave__head {
    min-height: 24px;
    font-size: 0.68rem;
  }

  .page-product--guest-home .landing-wave__head strong {
    max-width: 58%;
  }

  .page-product--guest-home .landing-wave__stage {
    min-height: 0;
  }

  .page-product--guest-home .landing-wave__slide {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-height: 0;
    padding: 14px;
    border-radius: 18px;
  }

  .page-product--guest-home .landing-wave__visual::before,
  .page-product--guest-home .landing-wave__number {
    display: none;
  }

  .page-product--guest-home .landing-wave__visual {
    width: 74px;
    height: 74px;
    min-height: 0;
    aspect-ratio: 1;
    border-radius: 18px;
  }

  .page-product--guest-home .landing-wave__icon {
    width: 62px;
    height: 62px;
    border-radius: 17px;
  }

  .page-product--guest-home .landing-wave__content {
    gap: 7px;
    min-width: 0;
    padding-right: 0;
  }

  .page-product--guest-home .landing-wave__content h2 {
    font-size: 1.38rem;
  }

  .page-product--guest-home .landing-wave__content strong {
    font-size: 0.86rem;
    line-height: 1.24;
  }

  .page-product--guest-home .landing-wave__content p {
    display: block;
    overflow: visible;
    font-size: 0.74rem;
    line-height: 1.42;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }

  .page-product--guest-home .landing-wave__controls {
    right: 12px;
    top: 12px;
  }

  .page-product--guest-home .landing-wave__arrow {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
  }

  .page-product--guest-home .landing-wave__arrow-label {
    display: none;
  }

  .page-product--guest-home .landing-wave__selectors {
    gap: 5px;
  }

  .page-product--guest-home .landing-wave__selector {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 36px;
    padding: 5px;
    text-align: center;
  }

  .page-product--guest-home .landing-wave__selector-icon {
    width: 27px;
    height: 27px;
  }

  .page-product--guest-home .landing-wave__selector span:not(.landing-wave__selector-icon) {
    display: none;
  }

  .page-product--guest-home .hub-footer {
    gap: 6px !important;
    padding: 9px 10px !important;
    border-radius: 15px !important;
    font-size: 0.68rem !important;
  }

  .page-product--guest-home .hub-footer__line {
    display: none !important;
  }

  .page-product--guest-home .hub-footer__apps {
    display: block !important;
    font-size: 0.64rem !important;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .page-product--guest-home .hub-footer__legal {
    gap: 5px 8px !important;
    font-size: 0.64rem !important;
    line-height: 1.18 !important;
  }
}

@media (max-width: 380px), (max-width: 860px) and (max-height: 760px) {
  .page-product--guest-home .apps-top-menu__copy small {
    display: none;
  }

  .page-product--guest-home .apps-top-menu__balance--guest {
    min-width: 76px !important;
    font-size: 0.62rem !important;
  }

  .guest-access-band {
    padding: 10px;
  }

  .guest-access-band__copy p {
    display: none;
  }

  .hub-auth--guest-access .auth-switch {
    padding: 3px;
  }

  .hub-auth--guest-access .auth-switch__button {
    min-height: 30px;
    font-size: 0.72rem;
  }

  .hub-auth--guest-access input,
  .hub-auth--guest-access .access-form > .primary-button {
    min-height: 33px;
  }

  .hub-auth--guest-access .access-form label span,
  .hub-auth--guest-access .passkey-box label span {
    font-size: 0.62rem;
  }

  .hub-auth--guest-access .legal-checkbox {
    font-size: 0.64rem;
  }

  .page-product--guest-home .landing-wave__slide {
    padding: 12px;
  }

  .page-product--guest-home .landing-wave__visual {
    width: 66px;
    height: 66px;
  }

  .page-product--guest-home .landing-wave__icon {
    width: 54px;
    height: 54px;
  }

  .page-product--guest-home .landing-wave__content h2 {
    font-size: 1.18rem;
  }

  .page-product--guest-home .landing-wave__content strong {
    font-size: 0.78rem;
  }

  .page-product--guest-home .landing-wave__content p {
    font-size: 0.7rem;
  }

  .page-product--guest-home .landing-wave__selector {
    min-height: 31px;
  }

  .page-product--guest-home .landing-wave__selector-icon {
    width: 23px;
    height: 23px;
  }
}

.page-product--guest-home .guest-landing-surface > .hub-footer {
  min-height: 46px !important;
}

/* Apps premium black-gold finish v1: preserve shell geometry, deepen material. */
:root {
  --bg-deep: #030407;
  --bg-mid: #090b11;
  --surface: rgba(15, 18, 25, 0.76);
  --surface-solid: #0d1017;
  --text: #f7f0df;
  --text-muted: rgba(247, 240, 223, 0.68);
  --accent-gold: #d9b96f;
  --accent-gold-dim: rgba(217, 185, 111, 0.38);
  --accent-gold-glow: rgba(217, 185, 111, 0.18);
}

body {
  background:
    radial-gradient(ellipse 80% 58% at 50% -18%, rgba(217, 185, 111, 0.16), transparent 56%),
    radial-gradient(ellipse 58% 42% at 105% 72%, rgba(67, 91, 122, 0.14), transparent 52%),
    linear-gradient(180deg, #030407 0%, #080a0f 54%, #040507 100%) !important;
}

.shell-bg {
  background:
    radial-gradient(ellipse 58% 34% at 50% 0%, rgba(242, 211, 139, 0.13), transparent 66%),
    radial-gradient(ellipse 38% 32% at 88% 80%, rgba(67, 91, 122, 0.11), transparent 62%),
    linear-gradient(180deg, rgba(3, 4, 7, 0.92), rgba(4, 5, 8, 0.98)) !important;
}

.page-product .hub-shell--product {
  border: 1px solid rgba(217, 185, 111, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(255, 242, 196, 0.045), rgba(255, 255, 255, 0.014)),
    radial-gradient(circle at 12% 0%, rgba(217, 185, 111, 0.11), transparent 38%),
    rgba(2, 3, 5, 0.52) !important;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 244, 204, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025) !important;
}

.page-product .apps-control-panel {
  border-color: rgba(217, 185, 111, 0.22) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 185, 111, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(28, 30, 37, 0.94), rgba(8, 10, 15, 0.86)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 204, 0.1),
    0 18px 46px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(217, 185, 111, 0.035) !important;
}

.page-product .apps-workspace-panel {
  border-color: rgba(217, 185, 111, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at 92% 4%, rgba(217, 185, 111, 0.07), transparent 42%),
    rgba(4, 5, 8, 0.64) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 204, 0.055),
    inset 0 0 0 1px rgba(217, 185, 111, 0.025),
    0 20px 52px rgba(0, 0, 0, 0.22) !important;
}

.apps-top-menu__logo--image {
  border: 1px solid rgba(217, 185, 111, 0.3) !important;
  background: rgba(2, 3, 5, 0.82) !important;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(217, 185, 111, 0.09),
    inset 0 1px 0 rgba(255, 244, 204, 0.08) !important;
}

.apps-top-menu__logo--image .apps-own-icon,
.apps-transition__mark--image .apps-own-icon {
  padding: 3px !important;
  background: transparent !important;
  object-fit: contain !important;
}

.shell-brand--image {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.shell-brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  padding: 3px;
  background: linear-gradient(145deg, rgba(250, 216, 129, 0.16), rgba(7, 8, 11, 0.9));
  border: 1px solid rgba(217, 185, 111, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 246, 204, 0.14), 0 12px 26px rgba(0, 0, 0, 0.28);
}

.shell-brand__logo .apps-own-icon {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0 !important;
  background: transparent !important;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(216, 172, 86, 0.15));
}

.shell-brand__copy {
  display: grid;
  gap: 2px;
}

.hub-domain--brand {
  gap: 10px;
  padding: 5px 14px 5px 6px;
  letter-spacing: 0.24em;
}

.hub-domain__logo {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  padding: 3px;
  background: rgba(2, 3, 5, 0.86);
  border: 1px solid rgba(217, 185, 111, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 244, 204, 0.08), 0 8px 18px rgba(0, 0, 0, 0.24);
}

.hub-domain__logo .apps-own-icon {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0 !important;
  background: transparent !important;
  object-fit: contain;
}

.hub-domain__text {
  transform: translateY(1px);
}

.apps-top-menu__copy strong,
.catalog-surface-head h1,
.guest-access-band__copy h1,
.page-product--guest-home .landing-wave__content h2 {
  color: #fff4d0 !important;
}

.apps-top-menu__copy small,
.catalog-surface-head p,
.guest-access-band__copy p,
.page-product--guest-home .landing-wave__content p {
  color: rgba(247, 240, 223, 0.72) !important;
}

.primary-button,
.hub-app-row__cta,
.page-product--guest-home .landing-wave__arrow {
  border-color: rgba(217, 185, 111, 0.34) !important;
  color: #fff5d8 !important;
  background:
    linear-gradient(180deg, rgba(255, 232, 168, 0.24), rgba(217, 185, 111, 0.1)),
    rgba(6, 7, 10, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 210, 0.12),
    0 10px 26px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(217, 185, 111, 0.1) !important;
}

.primary-button:hover,
.hub-app-row__cta:hover,
.page-product--guest-home .landing-wave__arrow:hover {
  border-color: rgba(255, 232, 168, 0.5) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 210, 0.16),
    0 14px 34px rgba(0, 0, 0, 0.3),
    0 0 34px rgba(217, 185, 111, 0.16) !important;
}

.apps-top-menu__pill,
.auth-switch,
.shortcut-toggle,
.page-product--guest-home .landing-wave__selector {
  border-color: rgba(217, 185, 111, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(255, 244, 204, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(5, 6, 9, 0.58) !important;
}

.auth-switch__button.is-active,
.auth-switch__button[aria-selected="true"],
.product-nav__link.is-active,
.page-product--guest-home .landing-wave__selector.is-active,
.shortcut-toggle.is-selected,
.shortcut-toggle[aria-pressed="true"] {
  border-color: rgba(255, 232, 168, 0.36) !important;
  color: #fff4d0 !important;
  background:
    linear-gradient(180deg, rgba(217, 185, 111, 0.18), rgba(217, 185, 111, 0.06)),
    rgba(7, 8, 12, 0.68) !important;
  box-shadow: inset 0 1px 0 rgba(255, 246, 210, 0.11), 0 0 24px rgba(217, 185, 111, 0.11) !important;
}

.guest-access-band,
.guest-wave-panel,
.hub-auth--guest-access,
.page-product--guest-home .landing-wave__slide,
.page-product--apps .catalog-app-card.catalog-app-card--showcase,
.topup-package-card {
  border-color: rgba(217, 185, 111, 0.15) !important;
  background:
    radial-gradient(circle at 0% 0%, rgb(var(--app-accent-rgb, 217 185 111) / 0.095), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.016)),
    rgba(5, 6, 10, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 204, 0.06),
    0 18px 48px rgba(0, 0, 0, 0.22) !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase {
  border-radius: 18px !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase:hover {
  border-color: rgb(var(--app-accent-rgb, 217 185 111) / 0.4) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 204, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.28),
    0 0 32px rgb(var(--app-accent-rgb, 217 185 111) / 0.12) !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo,
.page-product--apps .product-stage--launcher .launcher-icon-glyph,
.page-product--guest-home .landing-wave__icon,
.page-product--guest-home .landing-wave__selector-icon {
  background:
    linear-gradient(180deg, rgba(255, 244, 204, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(2, 3, 5, 0.58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 204, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.26),
    0 0 18px rgb(var(--app-accent-rgb, 217 185 111) / 0.09) !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__hashtags span {
  border-color: rgba(217, 185, 111, 0.22) !important;
  color: rgba(255, 232, 168, 0.9) !important;
  background: rgba(217, 185, 111, 0.07) !important;
}

.page-product--guest-home .hub-footer {
  border-color: rgba(217, 185, 111, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(255, 244, 204, 0.04), rgba(255, 255, 255, 0.014)),
    rgba(4, 5, 8, 0.68) !important;
}

/* Apps guest foundation v2: fixed skeleton, compact legal funnel, no overlap squeeze. */
.page-product--guest-home .apps-workspace-panel {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.page-product--guest-home .guest-landing-stage,
.page-product--guest-home .apps-workspace-panel > .guest-landing-stage {
  min-height: 100% !important;
  height: auto !important;
  overflow: visible !important;
}

.page-product--guest-home .guest-landing-surface {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: start !important;
  gap: clamp(10px, 1.2vw, 16px) !important;
  min-height: 100% !important;
  height: auto !important;
}

.page-product--guest-home .guest-access-band {
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr) !important;
  align-items: stretch !important;
}

.page-product--guest-home .guest-access-band__copy {
  align-content: center !important;
}

.hub-auth--guest-access {
  display: grid !important;
  align-content: start !important;
}

.hub-auth--guest-access .auth-pane {
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.hub-auth--guest-access .access-form {
  min-width: 0 !important;
}

.hub-auth--guest-access .legal-consent-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.hub-auth--guest-access .legal-checkbox {
  min-width: 0 !important;
  align-items: start !important;
}

.hub-auth--guest-access .legal-checkbox span {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

.hub-auth--guest-access .auth-document-links {
  display: none !important;
}

.page-product--guest-home .guest-wave-panel {
  height: auto !important;
  min-height: 0 !important;
  align-self: start !important;
}

.page-product--guest-home .landing-wave {
  grid-template-rows: auto auto auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.page-product--guest-home .landing-wave__stage,
.page-product--guest-home .landing-wave__slides {
  min-height: clamp(190px, 24vh, 280px) !important;
}

.page-product--guest-home .landing-wave__slide {
  min-height: clamp(190px, 24vh, 280px) !important;
}

.page-product--guest-home .hub-footer {
  align-self: start !important;
}

@media (max-width: 860px) {
  .page-product--guest-home .guest-access-band {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hub-auth--guest-access .legal-consent-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .page-product--guest-home .landing-wave__stage,
  .page-product--guest-home .landing-wave__slides,
  .page-product--guest-home .landing-wave__slide {
    min-height: 0 !important;
  }
}

/* Apps premium black-gold finish v2: cool graphite base, cleaner gold, raster diamond icons. */
:root {
  --bg-deep: #010205;
  --bg-mid: #060911;
  --surface: rgba(9, 12, 18, 0.82);
  --surface-solid: #090d15;
  --surface-soft: rgba(255, 255, 255, 0.035);
  --stroke: rgba(255, 255, 255, 0.072);
  --stroke-bright: rgba(241, 208, 113, 0.18);
  --text: #f5f7fb;
  --text-muted: rgba(221, 227, 236, 0.68);
  --accent-gold: #f1d071;
  --accent-gold-dim: rgba(241, 208, 113, 0.34);
  --accent-gold-glow: rgba(241, 208, 113, 0.16);
  --tone-gamebook-rgb: 241 208 113;
  --tone-videoappgrader-rgb: 180 190 204;
  --tone-golddigger-rgb: 241 208 113;
}

body {
  background:
    radial-gradient(ellipse 70% 46% at 50% -16%, rgba(241, 208, 113, 0.11), transparent 58%),
    radial-gradient(ellipse 54% 40% at 106% 72%, rgba(68, 94, 132, 0.12), transparent 54%),
    linear-gradient(180deg, #010205 0%, #05070d 52%, #020306 100%) !important;
}

.shell-bg {
  background:
    radial-gradient(ellipse 58% 32% at 50% 0%, rgba(241, 208, 113, 0.09), transparent 66%),
    radial-gradient(ellipse 40% 34% at 88% 80%, rgba(68, 94, 132, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(1, 2, 5, 0.94), rgba(2, 3, 7, 0.99)) !important;
}

.page-product .hub-shell--product {
  border-color: rgba(241, 208, 113, 0.17) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 12% 0%, rgba(241, 208, 113, 0.08), transparent 42%),
    rgba(1, 2, 5, 0.58) !important;
  box-shadow:
    0 36px 118px rgba(0, 0, 0, 0.64),
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    inset 0 0 0 1px rgba(255, 255, 255, 0.022) !important;
}

.page-product .apps-control-panel {
  border-color: rgba(241, 208, 113, 0.2) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(241, 208, 113, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(16, 20, 29, 0.95), rgba(5, 7, 12, 0.9)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.085),
    0 18px 46px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(241, 208, 113, 0.03) !important;
}

.page-product .apps-workspace-panel {
  border-color: rgba(241, 208, 113, 0.105) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 92% 4%, rgba(241, 208, 113, 0.045), transparent 44%),
    rgba(2, 4, 8, 0.7) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.048),
    inset 0 0 0 1px rgba(241, 208, 113, 0.018),
    0 22px 58px rgba(0, 0, 0, 0.26) !important;
}

.apps-top-menu__copy strong,
.catalog-surface-head h1,
.guest-access-band__copy h1,
.page-product--guest-home .landing-wave__content h2 {
  color: #fbfcff !important;
}

.apps-top-menu__copy small,
.catalog-surface-head p,
.guest-access-band__copy p,
.page-product--guest-home .landing-wave__content p {
  color: rgba(221, 227, 236, 0.72) !important;
}

.apps-top-menu__logo--image,
.hub-domain__logo,
.shell-brand__logo,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo,
.page-product--apps .product-stage--launcher .launcher-icon-glyph,
.page-product--guest-home .landing-wave__icon,
.page-product--guest-home .landing-wave__selector-icon {
  border-color: rgba(241, 208, 113, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(1, 2, 5, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 12px 30px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(241, 208, 113, 0.07) !important;
}

.app-icon-image,
.catalog-app-icon-image,
.launcher-icon-image,
.landing-wave__icon-image,
.landing-wave__selector-image,
.apps-own-icon {
  filter: saturate(1.03) contrast(1.04) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28)) !important;
}

.primary-button,
.hub-app-row__cta,
.page-product--guest-home .landing-wave__arrow {
  border-color: rgba(241, 208, 113, 0.33) !important;
  color: #fff8df !important;
  background:
    linear-gradient(180deg, rgba(241, 208, 113, 0.2), rgba(241, 208, 113, 0.07)),
    rgba(4, 6, 10, 0.5) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 10px 28px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(241, 208, 113, 0.09) !important;
}

.primary-button:hover,
.hub-app-row__cta:hover,
.page-product--guest-home .landing-wave__arrow:hover {
  border-color: rgba(255, 231, 159, 0.5) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 14px 34px rgba(0, 0, 0, 0.34),
    0 0 30px rgba(241, 208, 113, 0.14) !important;
}

.apps-top-menu__pill,
.auth-switch,
.shortcut-toggle,
.page-product--guest-home .landing-wave__selector{
  border-color: rgba(241, 208, 113, 0.15) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(3, 5, 9, 0.66) !important;
}

.auth-switch__button.is-active,
.auth-switch__button[aria-selected="true"],
.product-nav__link.is-active,
.page-product--guest-home .landing-wave__selector.is-active,
.shortcut-toggle.is-selected,
.shortcut-toggle[aria-pressed="true"] {
  border-color: rgba(255, 231, 159, 0.34) !important;
  color: #fff8df !important;
  background:
    linear-gradient(180deg, rgba(241, 208, 113, 0.15), rgba(241, 208, 113, 0.045)),
    rgba(5, 8, 13, 0.76) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 22px rgba(241, 208, 113, 0.09) !important;
}

.guest-access-band,
.guest-wave-panel,
.hub-auth--guest-access,
.page-product--guest-home .landing-wave__slide,
.page-product--apps .catalog-app-card.catalog-app-card--showcase{
  border-color: rgba(241, 208, 113, 0.13) !important;
  background:
    radial-gradient(circle at 0% 0%, rgb(var(--app-accent-rgb, 241 208 113) / 0.075), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.012)),
    rgba(3, 5, 9, 0.76) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.048),
    0 18px 50px rgba(0, 0, 0, 0.26) !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__hashtags span {
  border-color: rgba(241, 208, 113, 0.2) !important;
  color: rgba(255, 234, 174, 0.92) !important;
  background: rgba(241, 208, 113, 0.055) !important;
}

.product-stage--showcase .catalog-wave-stack {
  display: grid;
  align-content: start;
  gap: 14px;
  width: 100%;
  padding: 0 clamp(2px, 1.4vw, 10px) 18px;
  overflow: visible;
}

.catalog-wave {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(241, 208, 113, 0.11);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(241, 208, 113, 0.065), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.009)),
    rgba(2, 4, 8, 0.52);
}

.catalog-wave__head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
}

.catalog-wave__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(241, 208, 113, 0.18);
  border-radius: 14px;
  color: rgba(255, 233, 171, 0.88);
  background: rgba(5, 7, 12, 0.64);
  font-size: 0.8rem;
  font-weight: 950;
}

.catalog-wave__copy {
  min-width: 0;
}

.catalog-wave__copy span,
.catalog-wave__copy h2,
.catalog-wave__copy p {
  margin: 0;
  letter-spacing: 0;
}

.catalog-wave__copy span {
  display: block;
  margin-bottom: 3px;
  color: rgba(241, 208, 113, 0.76);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-wave__copy h2 {
  color: #fff4d7;
  font-size: 1rem;
  line-height: 1.18;
}

.catalog-wave__copy p {
  max-width: 60rem;
  margin-top: 4px;
  color: rgba(221, 227, 236, 0.68);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.38;
}

.page-product--apps .catalog-wave__grid.hub-apps {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--apps-catalog-min-track)), 1fr)) !important;
  gap: 10px !important;
  padding: 0 !important;
}

.catalog-app-card__badge {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(161, 186, 225, 0.18);
  border-radius: 999px;
  color: rgba(221, 227, 236, 0.62);
  background: rgba(8, 12, 19, 0.58);
  font-size: 0.63rem;
  font-weight: 900;
  text-transform: uppercase;
}

.page-product--apps .catalog-app-card.catalog-app-card--display-only {
  cursor: default;
  border-color: rgba(161, 186, 225, 0.13) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(107, 132, 174, 0.09), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.01)),
    rgba(3, 5, 9, 0.68) !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--display-only:hover {
  transform: none;
  border-color: rgba(161, 186, 225, 0.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.048),
    0 18px 50px rgba(0, 0, 0, 0.22) !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--display-only .catalog-app-card__logo {
  color: rgba(221, 227, 236, 0.72);
}

.catalog-wave-teaser,
.landing-next-wave {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(105, 150, 220, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 150, 220, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(4, 7, 12, 0.66);
}

.catalog-wave-teaser span,
.landing-next-wave span {
  color: rgba(161, 195, 245, 0.82);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-wave-teaser strong,
.landing-next-wave strong {
  color: #f7fbff;
  font-size: 0.98rem;
  line-height: 1.2;
}

.catalog-wave-teaser p,
.catalog-wave-teaser small,
.landing-next-wave p,
.landing-next-wave small {
  margin: 0;
  color: rgba(221, 227, 236, 0.66);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.38;
}

.catalog-wave-teaser small,
.landing-next-wave small {
  color: rgba(221, 227, 236, 0.46);
}

.page-product--guest-home .landing-next-wave {
  min-height: 0;
  padding: 10px 12px;
}

@media (max-width: 700px) {
  .product-stage--showcase .catalog-wave-stack {
    gap: 12px;
    padding-inline: 0;
  }

  .catalog-wave {
    padding: 9px;
    border-radius: 16px;
  }

  .catalog-wave__head {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
  }

  .catalog-wave__number {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 0.72rem;
  }

  .catalog-wave__copy h2 {
    font-size: 0.94rem;
  }

  .catalog-wave__copy p {
    font-size: 0.74rem;
  }
}

/* Apps prominence wave v1: stronger app objects without changing icon/PWA ownership. */
.page-product--apps .product-stage--launcher .launcher-icon-glyph,
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image),
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image),
.page-product--guest-home .landing-wave__icon,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image),
.page-product--guest-home .landing-wave__selector-icon,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image) {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border: 1px solid rgb(var(--app-accent-rgb, 241 208 113) / 0.28) !important;
  background:
    radial-gradient(circle at 32% 14%, rgba(255, 246, 214, 0.18), transparent 34%),
    radial-gradient(circle at 68% 92%, rgb(var(--app-accent-rgb, 241 208 113) / 0.22), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)),
    rgba(1, 2, 5, 0.74) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -1px 0 rgb(var(--app-accent-rgb, 241 208 113) / 0.12),
    0 12px 26px rgba(0, 0, 0, 0.34),
    0 0 26px rgb(var(--app-accent-rgb, 241 208 113) / 0.14) !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph::after,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo::after,
.page-product--guest-home .landing-wave__icon::after,
.page-product--guest-home .landing-wave__selector-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at 50% 112%, rgb(var(--app-accent-rgb, 241 208 113) / 0.2), transparent 52%);
  opacity: 0.74;
}

.page-product--apps .product-stage--launcher .launcher-icon-image,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-icon-image,
.page-product--guest-home .landing-wave__icon-image,
.page-product--guest-home .landing-wave__selector-image {
  position: relative !important;
  z-index: 1 !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button:hover .launcher-icon-glyph,
.page-product--apps .product-stage--launcher .launcher-icon-button:focus-visible .launcher-icon-glyph,
.page-product--apps .catalog-app-card.catalog-app-card--showcase:hover .catalog-app-card__logo,
.page-product--apps .catalog-app-card.catalog-app-card--showcase:focus-visible .catalog-app-card__logo,
.page-product--guest-home .landing-wave__selector:hover .landing-wave__selector-icon,
.page-product--guest-home .landing-wave__selector:focus-visible .landing-wave__selector-icon,
.page-product--guest-home .landing-wave__selector.is-active .landing-wave__selector-icon {
  border-color: rgb(var(--app-accent-rgb, 241 208 113) / 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgb(var(--app-accent-rgb, 241 208 113) / 0.16),
    0 16px 34px rgba(0, 0, 0, 0.38),
    0 0 34px rgb(var(--app-accent-rgb, 241 208 113) / 0.2) !important;
}

.product-stage--showcase .catalog-wave-stack {
  gap: clamp(16px, 1.9vw, 24px) !important;
}

.catalog-wave {
  --catalog-wave-accent-rgb: 241 208 113;
  gap: 12px !important;
  padding: clamp(11px, 1.5vw, 16px) !important;
  border-color: rgb(var(--catalog-wave-accent-rgb) / 0.2) !important;
  background:
    radial-gradient(circle at 0% 0%, rgb(var(--catalog-wave-accent-rgb) / 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.01)),
    rgba(2, 4, 8, 0.68) !important;
  box-shadow:
    inset 4px 0 0 rgb(var(--catalog-wave-accent-rgb) / 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.18) !important;
}

.catalog-wave--wave-1 {
  --catalog-wave-accent-rgb: 241 208 113;
}

.catalog-wave--wave-2 {
  --catalog-wave-accent-rgb: 104 157 224;
}

.catalog-wave--wave-3 {
  --catalog-wave-accent-rgb: 106 171 130;
}

.catalog-wave--wave-4 {
  --catalog-wave-accent-rgb: 178 132 224;
}

.catalog-wave--engineer-preview {
  --catalog-wave-accent-rgb: 161 186 225;
}

.catalog-wave__head {
  align-items: center !important;
  padding: 8px 10px !important;
  border: 1px solid rgb(var(--catalog-wave-accent-rgb) / 0.16) !important;
  border-radius: 14px !important;
  background:
    linear-gradient(90deg, rgb(var(--catalog-wave-accent-rgb) / 0.09), rgba(255, 255, 255, 0.018)),
    rgba(1, 2, 5, 0.3) !important;
}

.catalog-wave__number {
  border-color: rgb(var(--catalog-wave-accent-rgb) / 0.3) !important;
  color: rgb(var(--catalog-wave-accent-rgb) / 0.96) !important;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.12), transparent 42%),
    rgba(1, 2, 5, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgb(var(--catalog-wave-accent-rgb) / 0.12) !important;
}

.catalog-wave__copy span {
  color: rgb(var(--catalog-wave-accent-rgb) / 0.84) !important;
}

.catalog-wave__copy h2 {
  color: #fff7df !important;
}

@media (max-width: 700px) {
  .catalog-wave {
    gap: 10px !important;
    padding: 10px !important;
  }

  .catalog-wave__head {
    padding: 7px 8px !important;
  }
}

/* Apps prominence wave v1 mobile account refinement: compact summaries without JS scroll drift. */
@media (max-width: 700px) {

}

/* Apps prominence wave v2: clearer wave hierarchy and launcher icon aura. */
.catalog-wave {
  position: relative !important;
  isolation: isolate !important;
  border-color: rgb(var(--catalog-wave-accent-rgb) / 0.32) !important;
  background:
    radial-gradient(circle at 0% 0%, rgb(var(--catalog-wave-accent-rgb) / 0.2), transparent 34%),
    radial-gradient(circle at 100% 16%, rgb(var(--catalog-wave-accent-rgb) / 0.1), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.012)),
    rgba(2, 4, 8, 0.72) !important;
  box-shadow:
    inset 6px 0 0 rgb(var(--catalog-wave-accent-rgb) / 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.072),
    inset 0 -1px 0 rgb(var(--catalog-wave-accent-rgb) / 0.08),
    0 22px 52px rgba(0, 0, 0, 0.2),
    0 0 34px rgb(var(--catalog-wave-accent-rgb) / 0.08) !important;
}

.catalog-wave::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(var(--catalog-wave-accent-rgb) / 0.14), transparent 24%),
    radial-gradient(circle at 28px 28px, rgb(var(--catalog-wave-accent-rgb) / 0.2), transparent 48px);
  opacity: 0.72;
}

.catalog-wave > * {
  position: relative;
  z-index: 1;
}

.catalog-wave--wave-1 {
  --catalog-wave-accent-rgb: 248 211 95;
}

.catalog-wave--wave-2 {
  --catalog-wave-accent-rgb: 91 166 238;
}

.catalog-wave--wave-3 {
  --catalog-wave-accent-rgb: 99 189 132;
}

.catalog-wave--wave-4 {
  --catalog-wave-accent-rgb: 188 132 238;
}

.catalog-wave--engineer-preview {
  --catalog-wave-accent-rgb: 154 184 226;
}

.catalog-wave__head {
  grid-template-columns: 48px minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  border-color: rgb(var(--catalog-wave-accent-rgb) / 0.28) !important;
  background:
    radial-gradient(circle at 24px 18px, rgb(var(--catalog-wave-accent-rgb) / 0.24), transparent 46px),
    linear-gradient(90deg, rgb(var(--catalog-wave-accent-rgb) / 0.15), rgba(255, 255, 255, 0.026) 48%, rgba(255, 255, 255, 0.012)),
    rgba(1, 2, 5, 0.46) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgb(var(--catalog-wave-accent-rgb) / 0.12),
    0 10px 26px rgba(0, 0, 0, 0.14) !important;
}

.catalog-wave__number {
  width: 48px !important;
  height: 48px !important;
  border-color: rgb(var(--catalog-wave-accent-rgb) / 0.48) !important;
  color: #fff7df !important;
  background:
    radial-gradient(circle at 48% 16%, rgba(255, 255, 255, 0.2), transparent 38%),
    radial-gradient(circle at 50% 100%, rgb(var(--catalog-wave-accent-rgb) / 0.34), transparent 62%),
    rgba(1, 2, 5, 0.82) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgb(var(--catalog-wave-accent-rgb) / 0.16),
    0 0 22px rgb(var(--catalog-wave-accent-rgb) / 0.24) !important;
}

.catalog-wave__copy span {
  color: rgb(var(--catalog-wave-accent-rgb) / 0.96) !important;
  font-size: 0.7rem !important;
  text-shadow: 0 0 18px rgb(var(--catalog-wave-accent-rgb) / 0.18) !important;
}

.catalog-wave__copy h2 {
  color: #fff9ea !important;
  font-size: clamp(1.04rem, 1.7vw, 1.18rem) !important;
  line-height: 1.16 !important;
  text-shadow: 0 0 20px rgb(var(--catalog-wave-accent-rgb) / 0.16) !important;
}

.catalog-wave__copy p {
  color: rgba(232, 236, 244, 0.74) !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 43px;
  left: 50%;
  width: 106px;
  height: 106px;
  border-radius: 999px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgb(var(--app-accent-rgb, 241 208 113) / 0.34) 0%, rgb(var(--app-accent-rgb, 241 208 113) / 0.18) 32%, transparent 68%),
    radial-gradient(circle, rgba(255, 237, 178, 0.18) 0%, transparent 48%);
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.page-product--apps .product-stage--launcher .launcher-icon-button > * {
  position: relative;
  z-index: 1;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 246, 214, 0.18), transparent 42%),
    radial-gradient(circle at 50% 72%, rgb(var(--app-accent-rgb, 241 208 113) / 0.22), transparent 58%);
  opacity: 0.86;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph::after {
  z-index: 1 !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-image {
  z-index: 2 !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button:hover::before,
.page-product--apps .product-stage--launcher .launcher-icon-button:focus-visible::before {
  opacity: 1;
}

.page-product--apps .product-stage--launcher .launcher-icon-button:hover .launcher-icon-glyph,
.page-product--apps .product-stage--launcher .launcher-icon-button:focus-visible .launcher-icon-glyph {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgb(var(--app-accent-rgb, 241 208 113) / 0.18),
    0 16px 34px rgba(0, 0, 0, 0.38),
    0 0 44px rgb(var(--app-accent-rgb, 241 208 113) / 0.3) !important;
}

/* Apps icon loading stability v1: calm pending shells until raster diamonds decode. */
.page-product--apps .product-stage--launcher .launcher-icon-button:has(.launcher-icon-image[data-app-icon-state="loading"])::before,
.page-product--apps .product-stage--launcher .launcher-icon-button:has(.launcher-icon-image[data-app-icon-state="error"])::before {
  opacity: 0.18 !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button:has(.launcher-icon-image[data-app-icon-state="loading"]):hover::before,
.page-product--apps .product-stage--launcher .launcher-icon-button:has(.launcher-icon-image[data-app-icon-state="loading"]):focus-visible::before {
  opacity: 0.28 !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="loading"]),
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="error"]),
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="loading"]),
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="error"]),
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="loading"]),
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="error"]),
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="loading"]),
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="error"]),
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="loading"]),
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="error"]),
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="loading"]),
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="error"]) {
  border-color: rgb(var(--app-accent-rgb, 241 208 113) / 0.16) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01)),
    rgba(1, 2, 5, 0.76) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 10px 22px rgba(0, 0, 0, 0.28),
    0 0 12px rgb(var(--app-accent-rgb, 241 208 113) / 0.055) !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="loading"])::before,
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="error"])::before,
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="loading"])::after,
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="error"])::after,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="loading"])::after,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="error"])::after,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="loading"])::after,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="error"])::after,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="loading"])::after,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="error"])::after,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="loading"])::after,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="error"])::after,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="loading"])::after,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="error"])::after {
  opacity: 0.18 !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-image[data-app-icon-state],
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-icon-image[data-app-icon-state],
.page-product--guest-home .landing-wave__icon-image[data-app-icon-state],
.page-product--guest-home .landing-wave__selector-image[data-app-icon-state],
.page-product--guest-home .guest-carousel__icon-image[data-app-icon-state],
.page-product--guest-home .guest-carousel__selector-image[data-app-icon-state] {
  transition: opacity 160ms ease, filter 160ms ease !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-image[data-app-icon-state="loading"],
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-icon-image[data-app-icon-state="loading"],
.page-product--guest-home .landing-wave__icon-image[data-app-icon-state="loading"],
.page-product--guest-home .landing-wave__selector-image[data-app-icon-state="loading"],
.page-product--guest-home .guest-carousel__icon-image[data-app-icon-state="loading"],
.page-product--guest-home .guest-carousel__selector-image[data-app-icon-state="loading"] {
  opacity: 0.84 !important;
}

.app-icon-group:not(.is-app-icon-group-ready) .launcher-icon-image[data-app-icon-state],
.app-icon-group:not(.is-app-icon-group-ready) .catalog-app-icon-image[data-app-icon-state],
.app-icon-group:not(.is-app-icon-group-ready) .landing-wave__icon-image[data-app-icon-state],
.app-icon-group:not(.is-app-icon-group-ready) .landing-wave__selector-image[data-app-icon-state],
.app-icon-group:not(.is-app-icon-group-ready) .guest-carousel__icon-image[data-app-icon-state],
.app-icon-group:not(.is-app-icon-group-ready) .guest-carousel__selector-image[data-app-icon-state] {
  opacity: 0 !important;
  filter: saturate(0.8) contrast(0.92) blur(3px) !important;
}

.app-icon-group.is-app-icon-group-ready .launcher-icon-image[data-app-icon-state],
.app-icon-group.is-app-icon-group-ready .catalog-app-icon-image[data-app-icon-state],
.app-icon-group.is-app-icon-group-ready .landing-wave__icon-image[data-app-icon-state],
.app-icon-group.is-app-icon-group-ready .landing-wave__selector-image[data-app-icon-state],
.app-icon-group.is-app-icon-group-ready .guest-carousel__icon-image[data-app-icon-state],
.app-icon-group.is-app-icon-group-ready .guest-carousel__selector-image[data-app-icon-state] {
  filter: saturate(1.03) contrast(1.04) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28)) !important;
}

@media (max-width: 700px) {
  .catalog-wave__head {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 8px 10px !important;
  }

  .catalog-wave__number {
    width: 40px !important;
    height: 40px !important;
    border-radius: 13px !important;
  }

  .catalog-wave__copy h2 {
    font-size: 0.98rem !important;
  }

  .page-product--apps .product-stage--launcher .launcher-icon-button::before {
    top: 50%;
    left: 40px;
    width: 92px;
    height: 92px;
  }
}

/* Apps guest selling cockpit v1: showcase-first public start, closed access stays honest. */
.page-product--guest-home .guest-landing-surface {
  grid-template-columns: minmax(302px, 0.76fr) minmax(0, 1.24fr) !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    "access showcase"
    "next footer" !important;
  align-items: stretch !important;
}

.page-product--guest-home .guest-access-band {
  grid-area: access !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start !important;
  gap: clamp(10px, 1.2vw, 14px) !important;
  padding: clamp(12px, 1.4vw, 16px) !important;
}

.page-product--guest-home .guest-wave-panel {
  grid-area: showcase !important;
  min-height: clamp(318px, 42vh, 460px) !important;
}

.page-product--guest-home .landing-next-wave {
  grid-area: next !important;
}

.page-product--guest-home .guest-landing-surface > .hub-footer {
  grid-area: footer !important;
}

.guest-access-band__lead {
  display: block;
  max-width: 28rem;
  color: rgba(255, 248, 223, 0.9);
  font-size: clamp(0.94rem, 1.15vw, 1.08rem);
  font-weight: 860;
  line-height: 1.24;
  letter-spacing: 0;
}

.hub-auth--guest-access {
  scroll-margin-top: 90px;
}

.hub-auth--guest-access .surface-notice--inline,
.hub-auth--guest-access .access-meta--closed {
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.68rem;
  line-height: 1.28;
}

.hub-auth--guest-access[data-auth-registration-disabled="true"] .auth-switch__button[data-auth-switch="register"] {
  color: rgba(221, 227, 236, 0.62) !important;
}

.hub-auth--guest-access[data-auth-registration-disabled="true"] .auth-switch__button[data-auth-switch="register"].is-active {
  color: #fff3ca !important;
}

@media (min-width: 861px) {
  .page-product--guest-home .guest-access-band__copy {
    min-height: 0 !important;
  }

  .page-product--guest-home .landing-wave__slide {
    min-height: clamp(244px, 34vh, 360px) !important;
  }

  .page-product--guest-home .landing-wave__stage,
  .page-product--guest-home .landing-wave__slides {
    min-height: clamp(244px, 34vh, 360px) !important;
  }
}

@media (max-width: 860px) {
  .page-product--guest-home .guest-landing-surface {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto !important;
    grid-template-areas:
      "access"
      "showcase"
      "next"
      "footer" !important;
    gap: 8px !important;
  }

  .page-product--guest-home .guest-access-band {
    gap: 8px !important;
    padding: 9px !important;
  }

  .guest-access-band__lead {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .page-product--guest-home .guest-access-band__copy {
    gap: 4px !important;
  }

  .page-product--guest-home .guest-access-band__copy h1 {
    font-size: 1.06rem !important;
  }

  .page-product--guest-home .guest-access-band__copy p {
    font-size: 0.7rem !important;
    line-height: 1.3 !important;
  }

  .hub-auth--guest-access {
    gap: 6px !important;
    padding: 9px !important;
  }

  .hub-auth--guest-access > .eyebrow {
    display: none !important;
  }

  .hub-auth--guest-access h2 {
    font-size: 0.84rem !important;
  }

  .hub-auth--guest-access p {
    font-size: 0.64rem !important;
    line-height: 1.25 !important;
  }

  .hub-auth--guest-access .surface-notice--inline,
  .hub-auth--guest-access .access-meta--closed {
    padding: 6px 8px;
    font-size: 0.62rem;
  }

  .hub-auth--guest-access .auth-pane[data-auth-pane="login"] .access-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .hub-auth--guest-access .auth-pane[data-auth-pane="login"] .access-form > .primary-button {
    grid-column: 1 / -1;
  }

  .page-product--guest-home .guest-wave-panel {
    min-height: 0 !important;
    padding: 9px !important;
  }

  .page-product--guest-home .landing-wave__slide {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 11px !important;
  }

  .page-product--guest-home .landing-wave__visual {
    width: 70px !important;
    height: 70px !important;
  }

  .page-product--guest-home .landing-wave__icon {
    width: 58px !important;
    height: 58px !important;
  }

  .page-product--guest-home .landing-wave__content {
    gap: 5px !important;
  }

  .page-product--guest-home .landing-wave__content h2 {
    font-size: 1.12rem !important;
  }

  .page-product--guest-home .landing-wave__content strong {
    font-size: 0.78rem !important;
    line-height: 1.2 !important;
  }

  .page-product--guest-home .landing-wave__content p {
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
  }

  .page-product--guest-home .landing-wave__selectors {
    gap: 4px !important;
  }
}

@media (max-width: 380px), (max-width: 860px) and (max-height: 760px) {
  .guest-access-band__lead {
    font-size: 0.76rem;
  }

  .page-product--guest-home .guest-access-band__copy p {
    display: block !important;
    font-size: 0.64rem !important;
  }

  .hub-auth--guest-access .auth-pane[data-auth-pane="login"] .access-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-product--guest-home .landing-wave__slide {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  .page-product--guest-home .landing-wave__visual {
    width: 56px !important;
    height: 56px !important;
  }

  .page-product--guest-home .landing-wave__icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
  }
}

/* Apps public home rebuild v1: explain, apps, auth and legal footer are separate first-class sections. */
.page-product--guest-home .apps-top-menu__copy small {
  color: rgba(242, 236, 222, 0.72) !important;
}

.page-product--guest-home .apps-top-menu__row {
  justify-content: flex-start !important;
}

.page-product--guest-home .apps-workspace-panel {
  overflow-y: auto !important;
}

.guest-home-stage {
  min-height: 0;
}

.guest-home-surface {
  width: min(1120px, 100%);
  min-height: 100%;
  margin: 0 auto;
  padding: 14px 16px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  grid-template-areas:
    "info apps"
    "auth apps"
    "footer footer";
  gap: 12px 16px;
  align-items: stretch;
}

.guest-info-panel,
.guest-apps-panel,
.guest-auth-section,
.page-product--guest-home .guest-home-surface > .hub-footer {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.guest-info-panel {
  grid-area: info;
  min-height: 244px;
  padding: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  overflow: hidden;
}

.guest-info-panel__head,
.landing-wave__head-copy {
  min-width: 0;
}

.guest-info-panel__head span,
.page-product--guest-home .landing-wave__head span,
.guest-auth-section__copy span {
  display: block;
  margin: 0 0 6px;
  color: rgba(248, 220, 153, 0.8);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.guest-info-panel__head strong {
  display: block;
  color: rgba(246, 242, 232, 0.82);
  font-size: 13px;
  line-height: 1.35;
}

.guest-info-carousel__stage,
.guest-info-carousel__slides {
  min-width: 0;
  min-height: 0;
}

.guest-info-carousel__slide {
  display: none;
}

.guest-info-carousel__slide.is-active {
  display: grid;
  gap: 9px;
  align-content: center;
  min-height: 136px;
  padding: 17px;
  border: 1px solid rgba(248, 220, 153, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.028)),
    rgba(13, 14, 20, 0.82);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.guest-info-carousel__question {
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(248, 220, 153, 0.2);
  border-radius: 999px;
  color: rgba(248, 220, 153, 0.9);
  background: rgba(248, 220, 153, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.guest-info-carousel__slide h2,
.guest-info-carousel__slide p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.guest-info-carousel__slide h2 {
  max-width: 620px;
  color: #fff7e6;
  font-size: 24px;
  line-height: 1.08;
}

.guest-info-carousel__slide p {
  max-width: 620px;
  color: rgba(238, 235, 226, 0.74);
  font-size: 14px;
  line-height: 1.5;
}

.guest-info-carousel__controls,
.guest-info-carousel__selectors {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guest-info-carousel__selectors {
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.guest-info-carousel__arrow,
.guest-info-carousel__selector {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(244, 240, 230, 0.82);
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.guest-info-carousel__arrow {
  width: 38px;
  flex: 0 0 38px;
  padding: 0;
}

.guest-info-carousel__selector {
  padding: 0 12px;
}

.guest-info-carousel__selector.is-active,
.guest-info-carousel__arrow:hover,
.guest-info-carousel__selector:hover,
.guest-info-carousel__arrow:focus-visible,
.guest-info-carousel__selector:focus-visible {
  border-color: rgba(248, 220, 153, 0.42);
  color: #fff6dc;
  background: rgba(248, 220, 153, 0.12);
}

.guest-apps-panel {
  grid-area: apps;
  padding: 0;
  display: grid;
  min-height: 500px;
}

.page-product--guest-home .guest-apps-panel .landing-wave {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-product--guest-home .landing-wave__head {
  margin-bottom: 14px !important;
  gap: 12px !important;
}

.page-product--guest-home .landing-wave__head-copy small {
  display: block;
  margin-top: 4px;
  color: rgba(242, 236, 222, 0.62);
  font-size: 13px;
  line-height: 1.4;
}

.page-product--guest-home .landing-wave__stage,
.page-product--guest-home .landing-wave__slides {
  min-height: 0 !important;
}

.page-product--guest-home .landing-wave__slide {
  min-height: 330px !important;
}

.page-product--guest-home .landing-wave__content h2 {
  font-size: 28px !important;
}

.page-product--guest-home .landing-wave__content p {
  font-size: 14px !important;
  line-height: 1.56 !important;
}

.guest-auth-section {
  grid-area: auth;
  padding: 2px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: start;
  scroll-margin-top: 90px;
}

.guest-auth-section__copy {
  min-width: 0;
}

.guest-auth-section__copy strong,
.guest-auth-section__copy p {
  display: block;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.guest-auth-section__copy strong {
  color: #fff7e6;
  font-size: 17px;
  line-height: 1.2;
}

.guest-auth-section__copy p {
  margin-top: 8px;
  color: rgba(236, 232, 222, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.guest-auth-section .hub-auth--guest-access {
  width: 100%;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.guest-auth-section .hub-auth--guest-access > .eyebrow,
.guest-auth-section .hub-auth--guest-access > h2,
.guest-auth-section .hub-auth--guest-access > p {
  display: none;
}

.page-product--guest-home .guest-home-surface > .hub-footer {
  grid-area: footer;
  margin: 0 !important;
  padding: 14px 16px !important;
  display: grid !important;
  justify-items: center;
  gap: 8px;
}

.page-product--guest-home .guest-home-surface > .hub-footer .hub-footer__legal {
  justify-content: center;
}

@media (max-width: 900px) {
  .guest-home-surface {
    padding: 12px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "info"
      "apps"
      "auth"
      "footer";
  }

  .guest-info-panel {
    min-height: 220px;
    padding: 0;
  }

  .guest-info-carousel__slide h2 {
    font-size: 21px;
    line-height: 1.1;
  }

  .guest-info-carousel__slide p {
    font-size: 14px;
    line-height: 1.5;
  }

  .guest-apps-panel {
    min-height: 0;
    padding: 0;
  }

  .page-product--guest-home .landing-wave__slide {
    min-height: 208px !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 13px !important;
  }

  .page-product--guest-home .landing-wave__visual {
    min-width: 0 !important;
  }

  .page-product--guest-home .landing-wave__icon {
    width: 66px !important;
    height: 66px !important;
  }

  .page-product--guest-home .landing-wave__content h2 {
    font-size: 21px !important;
  }

  .page-product--guest-home .landing-wave__content strong {
    font-size: 14px !important;
  }

  .page-product--guest-home .landing-wave__content p {
    font-size: 13px !important;
  }

  .guest-auth-section {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
  }
}

@media (max-width: 430px) {
  .guest-home-surface {
    padding: 10px;
    gap: 10px;
  }

  .guest-info-panel {
    padding: 0;
  }

  .guest-info-carousel__slide.is-active {
    padding: 14px;
  }

  .guest-info-carousel__slide h2 {
    font-size: 20px;
  }

  .guest-info-carousel__controls {
    align-items: stretch;
  }

  .guest-info-carousel__selectors {
    gap: 6px;
  }

  .guest-info-carousel__selector {
    min-height: 34px;
    padding: 0 9px;
    font-size: 12px;
  }

  .guest-info-carousel__arrow {
    width: 34px;
    min-height: 34px;
    flex-basis: 34px;
  }

  .page-product--guest-home .landing-wave__slide {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    padding: 13px !important;
  }

  .page-product--guest-home .landing-wave__icon {
    width: 54px !important;
    height: 54px !important;
  }
}

/* Apps public home panels v14: five clear panels, shared carousel anatomy. */
.guest-home-surface {
  width: min(1040px, 100%);
  min-height: 100%;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guest-home-panel {
  min-width: 0;
  border: 1px solid rgba(248, 220, 153, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
    rgba(12, 13, 18, 0.88);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
  padding: 16px;
}

.guest-home-panel__head {
  min-width: 0;
}

.guest-home-panel__head span,
.guest-info-panel .landing-wave__head span,
.guest-apps-panel .landing-wave__head span {
  display: block;
  margin: 0 0 5px;
  color: rgba(248, 220, 153, 0.82);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.guest-home-panel__head h2,
.guest-info-panel .landing-wave__head strong,
.guest-apps-panel .landing-wave__head strong {
  display: block;
  margin: 0;
  color: #fff7e6;
  font-size: 19px;
  line-height: 1.16;
}

.guest-home-panel__head strong,
.guest-info-panel .landing-wave__head small,
.guest-apps-panel .landing-wave__head small {
  display: block;
  margin-top: 5px;
  color: rgba(238, 235, 226, 0.68);
  font-size: 13px;
  line-height: 1.42;
}

.guest-info-panel.landing-wave,
.guest-apps-panel,
.guest-auth-section,
.guest-docs-panel {
  min-height: 0;
  overflow: hidden;
}

.guest-info-panel.landing-wave {
  gap: 13px;
}

.guest-info-panel .landing-wave__head,
.guest-apps-panel .landing-wave__head {
  margin-bottom: 12px !important;
  gap: 12px !important;
}

.guest-info-panel .landing-wave__stage,
.guest-info-panel .landing-wave__slides,
.guest-apps-panel .landing-wave__stage,
.guest-apps-panel .landing-wave__slides {
  min-width: 0;
  min-height: 0;
}

.guest-info-panel .landing-wave__slide {
  min-height: 156px !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  gap: 15px !important;
  padding: 16px !important;
}

.guest-info-panel .landing-wave__visual {
  width: 72px !important;
  height: 72px !important;
  min-width: 0 !important;
}

.guest-info-panel .landing-wave__icon {
  width: 62px !important;
  height: 62px !important;
  border-radius: 18px !important;
  font-size: 23px;
  font-weight: 900;
}

.guest-info-panel .landing-wave__content h2 {
  font-size: 25px !important;
  line-height: 1.08 !important;
}

.guest-info-panel .landing-wave__content p {
  font-size: 14px !important;
  line-height: 1.48 !important;
}

.guest-info-panel .landing-wave__selectors {
  margin-top: 12px;
}

.guest-info-panel .landing-wave__selector-icon {
  font-size: 12px;
  font-weight: 900;
}

.page-product--guest-home .guest-apps-panel .landing-wave {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.guest-apps-panel .landing-wave__slide {
  min-height: 292px !important;
}

.guest-auth-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  scroll-margin-top: 90px;
}

.guest-auth-section .hub-auth--guest-access {
  width: 100%;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.guest-auth-section .hub-auth--guest-access[data-auth-compact="true"] > .eyebrow,
.guest-auth-section .hub-auth--guest-access[data-auth-compact="true"] > h2,
.guest-auth-section .hub-auth--guest-access[data-auth-compact="true"] > p {
  display: none !important;
}

.guest-auth-section .auth-switch {
  margin-top: 0;
}

.guest-auth-section .auth-pane[data-auth-pane="login"] .access-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
}

.guest-docs-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.guest-docs-panel .hub-footer {
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  justify-items: start;
  gap: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.guest-docs-panel .hub-footer__legal {
  justify-content: flex-start;
  gap: 8px;
}

@media (max-width: 900px) {
  .guest-home-surface {
    padding: 12px;
    gap: 11px;
  }

  .guest-home-panel {
    padding: 14px;
    border-radius: 16px;
  }

  .guest-auth-section,
  .guest-docs-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .guest-info-panel .landing-wave__slide {
    min-height: 142px !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .guest-info-panel .landing-wave__visual {
    width: 64px !important;
    height: 64px !important;
  }

  .guest-info-panel .landing-wave__icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
  }

  .guest-auth-section .auth-pane[data-auth-pane="login"] .access-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 430px) {
  .guest-home-surface {
    padding: 10px;
    gap: 10px;
  }

  .guest-home-panel {
    padding: 12px;
    border-radius: 15px;
  }

  .guest-info-panel .landing-wave__slide {
    min-height: 132px !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    padding: 12px !important;
  }

  .guest-info-panel .landing-wave__visual {
    width: 54px !important;
    height: 54px !important;
  }

  .guest-info-panel .landing-wave__icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    font-size: 19px;
  }

  .guest-info-panel .landing-wave__content h2 {
    font-size: 20px !important;
  }

  .guest-info-panel .landing-wave__content p {
    font-size: 13px !important;
  }

  .guest-info-panel .landing-wave__head,
  .guest-apps-panel .landing-wave__head {
    align-items: flex-start;
  }

  .guest-info-panel .landing-wave__head-copy,
  .guest-apps-panel .landing-wave__head-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .guest-info-panel .landing-wave__head strong,
  .guest-apps-panel .landing-wave__head strong {
    max-width: none !important;
  }

  .guest-info-panel .landing-wave__controls,
  .guest-apps-panel .landing-wave__controls {
    flex: 0 0 auto;
    gap: 6px !important;
  }

  .guest-info-panel .landing-wave__arrow,
  .guest-apps-panel .landing-wave__arrow {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
  }

  .guest-info-panel .landing-wave__arrow-label,
  .guest-apps-panel .landing-wave__arrow-label {
    display: none !important;
  }

  .guest-docs-panel .hub-footer__legal {
    gap: 6px;
  }
}

/* Transparent diamond slot v2: optical alignment for app PNG marks. */
.page-product--apps .product-stage--launcher {
  --apps-diamond-launcher-scale: 1.18;
  --apps-diamond-launcher-y: 1px;
  --apps-diamond-launcher-aura-y: 1px;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase,
.page-product--guest-home {
  --apps-diamond-ui-scale: 1.08;
  --apps-diamond-ui-y: 1px;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph,
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image),
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image),
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image),
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image),
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image),
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image) {
  overflow: visible !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph .app-icon-picture,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo .app-icon-picture,
.page-product--guest-home .landing-wave__icon .app-icon-picture,
.page-product--guest-home .landing-wave__selector-icon .app-icon-picture,
.page-product--guest-home .guest-carousel__icon .app-icon-picture,
.page-product--guest-home .guest-carousel__selector-icon .app-icon-picture {
  overflow: visible !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-image {
  transform: translateY(var(--apps-diamond-launcher-y)) scale(var(--apps-diamond-launcher-scale)) !important;
  transform-origin: 50% 50% !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-icon-image,
.page-product--guest-home .landing-wave__icon-image,
.page-product--guest-home .landing-wave__selector-image,
.page-product--guest-home .guest-carousel__icon-image,
.page-product--guest-home .guest-carousel__selector-image {
  transform: translateY(var(--apps-diamond-ui-y)) scale(var(--apps-diamond-ui-scale)) !important;
  transform-origin: 50% 50% !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button::before {
  top: calc(43px + var(--apps-diamond-launcher-aura-y)) !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph::before {
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 246, 214, 0.18), transparent 42%),
    radial-gradient(circle at 50% 78%, rgb(var(--app-accent-rgb, 241 208 113) / 0.24), transparent 60%) !important;
}

.app-icon-group:not(.is-app-icon-group-ready) .launcher-icon-image[data-app-icon-state],
.app-icon-group:not(.is-app-icon-group-ready) .catalog-app-icon-image[data-app-icon-state],
.app-icon-group:not(.is-app-icon-group-ready) .landing-wave__icon-image[data-app-icon-state],
.app-icon-group:not(.is-app-icon-group-ready) .landing-wave__selector-image[data-app-icon-state],
.app-icon-group:not(.is-app-icon-group-ready) .guest-carousel__icon-image[data-app-icon-state],
.app-icon-group:not(.is-app-icon-group-ready) .guest-carousel__selector-image[data-app-icon-state],
.app-icon-group.is-app-icon-group-ready .launcher-icon-image[data-app-icon-state],
.app-icon-group.is-app-icon-group-ready .catalog-app-icon-image[data-app-icon-state],
.app-icon-group.is-app-icon-group-ready .landing-wave__icon-image[data-app-icon-state],
.app-icon-group.is-app-icon-group-ready .landing-wave__selector-image[data-app-icon-state],
.app-icon-group.is-app-icon-group-ready .guest-carousel__icon-image[data-app-icon-state],
.app-icon-group.is-app-icon-group-ready .guest-carousel__selector-image[data-app-icon-state] {
  will-change: opacity, filter, transform !important;
}

@media (max-width: 700px) {
  .page-product--apps .product-stage--launcher {
    --apps-diamond-launcher-scale: 1.18;
    --apps-diamond-launcher-y: 1px;
    --apps-diamond-launcher-aura-y: 1px;
  }

  .page-product--apps .product-stage--launcher .launcher-icon-button::before {
    top: calc(50% + var(--apps-diamond-launcher-aura-y)) !important;
  }
}

/* Apps public document flow: legacy public-document surfaces are not app-shell locked. */
html:has(> body.page-product--shell-public-document) {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto !important;
}

body.page-product--shell-public-document {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100dvh !important;
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto !important;
  touch-action: auto !important;
}

.page-product--shell-public-document .page-shell--standalone {
  width: 100% !important;
  max-width: 100vw !important;
  min-height: 100dvh !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding:
    max(8px, var(--mig-safe-area-top, 0px))
    max(6px, var(--mig-safe-area-left, 0px), var(--mig-safe-area-right, 0px))
    max(12px, var(--mig-safe-area-bottom, 0px)) !important;
  display: grid !important;
  align-items: start !important;
  justify-items: center !important;
  overflow: visible !important;
}

.page-product--shell-public-document .hub-shell--product {
  width: min(100%, 980px) !important;
  min-height: calc(100dvh - 20px) !important;
  height: auto !important;
  max-height: none !important;
  display: grid !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  margin: 0 auto !important;
  overflow: visible !important;
  overscroll-behavior-y: auto !important;
  animation: none !important;
  transform: none !important;
}

.page-product--shell-public-document .apps-control-panel {
  position: relative !important;
  top: auto !important;
  z-index: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  transform: none !important;
}

.page-product--shell-public-document .apps-workspace-panel {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  overscroll-behavior-y: auto !important;
  touch-action: auto !important;
  scrollbar-width: auto !important;
}

/* Apps guest app viewport v1: public home sits like an app, with one internal scroll owner. */
html[data-apps-root-mode="app-shell"]:has(> body.page-product--shell-guest-app) {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

html[data-apps-root-mode="app-shell"] body.page-product--guest-home.page-product--shell-guest-app,
html[data-apps-root-mode="app-shell"] body.page-product--guest-auth.page-product--shell-guest-app {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: pan-y !important;
}

html[data-apps-root-mode="app-shell"] .page-product--shell-guest-app .page-shell--standalone {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding:
    max(8px, var(--mig-safe-area-top, 0px))
    max(6px, var(--mig-safe-area-left, 0px), var(--mig-safe-area-right, 0px))
    max(12px, var(--mig-safe-area-bottom, 0px)) !important;
  display: grid !important;
  align-items: stretch !important;
  justify-items: center !important;
  overflow: hidden !important;
}

.page-product--shell-guest-app .hub-shell--product {
  width: min(100%, 980px) !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  align-content: stretch !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  animation: none !important;
  transform: none !important;
}

.page-product--shell-guest-app .apps-control-panel {
  position: relative !important;
  top: auto !important;
  z-index: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  transform: none !important;
}

.page-product--shell-guest-app .apps-workspace-panel {
  align-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  scrollbar-width: none !important;
  scrollbar-gutter: auto !important;
}

.page-product--shell-guest-app .apps-workspace-panel::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.page-product--shell-guest-app .guest-public-stage,
.page-product--shell-guest-app .guest-public-surface,
.page-product--shell-guest-app .guest-public-panel {
  min-width: 0 !important;
  max-width: 100% !important;
}

.page-product--guest-home .apps-top-menu__copy small {
  color: rgba(221, 227, 236, 0.72) !important;
}

.page-product--guest-home .apps-top-menu--guest .apps-top-menu__row,
.page-product--guest-auth .apps-top-menu--guest .apps-top-menu__row {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.page-product--guest-home .apps-top-menu__logo,
.page-product--guest-auth .apps-top-menu__logo {
  width: 40px !important;
  height: 40px !important;
}

.page-product--guest-home .apps-top-menu__copy strong,
.page-product--guest-auth .apps-top-menu__copy strong {
  font-size: 1.15rem !important;
  line-height: 1.1 !important;
}

.page-product--guest-home .apps-top-menu__copy small,
.page-product--guest-auth .apps-top-menu__copy small {
  max-width: none !important;
  font-size: 0.78rem !important;
  line-height: 1.24 !important;
}

.guest-public-stage {
  display: grid;
  width: 100%;
  min-width: 0;
}

.guest-public-surface {
  width: min(880px, 100%);
  min-width: 0;
  margin: 0 auto;
  padding: 10px;
  display: grid;
  gap: 10px;
}

.guest-public-panel {
  grid-area: auto !important;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(241, 208, 113, 0.13);
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(241, 208, 113, 0.07), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0.012)),
    rgba(3, 5, 9, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 12px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.guest-carousel {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
  min-width: 0;
}

.guest-carousel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 30px;
}

.guest-carousel__head-copy {
  min-width: 0;
}

.guest-carousel__head strong,
.guest-public-panel__head h2 {
  display: block;
  margin: 0;
  color: #fbfcff;
  font-size: 19px;
  line-height: 1.14;
  letter-spacing: 0;
}

.guest-public-panel__head strong {
  display: block;
  margin: 4px 0 0;
  color: rgba(221, 227, 236, 0.68);
  font-size: 13px;
  line-height: 1.32;
}

.guest-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}

.guest-carousel__arrow {
  display: inline-grid;
  place-items: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(241, 208, 113, 0.28);
  border-radius: 999px;
  color: #fff0bd;
  background: rgba(241, 208, 113, 0.08);
  box-shadow: none;
  cursor: pointer;
}

.guest-carousel__arrow > span {
  display: inline-grid;
  place-items: center;
  color: inherit;
  font-size: 16px;
  line-height: 1;
}

.guest-carousel__stage,
.guest-carousel__slides {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
}

.guest-carousel__slide {
  --app-accent-rgb: 241 208 113;
  grid-area: 1 / 1;
  display: grid;
  align-items: start;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  padding: 12px;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.18);
  border-radius: 13px;
  background:
    radial-gradient(circle at 0% 0%, rgb(var(--app-accent-rgb) / 0.12), transparent 42%),
    rgba(5, 7, 11, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.guest-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.guest-carousel--info .guest-carousel__slide {
  min-height: 108px;
  transform: none;
  transition: none;
}

.guest-carousel--apps .guest-carousel__slide {
  min-height: 166px;
}

.guest-carousel__titleline,
.guest-app-card__titleline {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.guest-info-card__titleline {
  align-items: center;
}

.guest-carousel__kicker {
  color: rgb(var(--app-accent-rgb, 241 208 113) / 0.86);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.guest-carousel__content {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  min-height: 0;
}

.guest-carousel__content h2,
.guest-carousel__content strong,
.guest-carousel__content p {
  margin: 0;
  min-width: 0;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.guest-carousel__content h2 {
  color: #fbfcff;
  font-size: 20px;
  line-height: 1.12;
}

.guest-app-card__name h2 {
  font-size: 22px;
}

.guest-carousel__content strong {
  color: rgba(244, 241, 232, 0.9);
  font-size: 15px;
  line-height: 1.24;
}

.guest-carousel__content p {
  display: block;
  max-width: 40rem;
  color: rgba(221, 227, 236, 0.7);
  overflow: visible;
  font-size: 13px;
  line-height: 1.42;
}

.guest-carousel__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 13px;
  color: #fff4d3;
  background:
    radial-gradient(circle at 50% 45%, rgb(var(--app-accent-rgb, 241 208 113) / 0.18), transparent 62%),
    rgba(255, 255, 255, 0.04);
  overflow: visible;
}

.guest-carousel__icon-image,
.guest-carousel__selector-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateY(var(--apps-diamond-ui-y, 1px)) scale(var(--apps-diamond-ui-scale, 1.03));
  transform-origin: 50% 50%;
}

.guest-info-card__icon .apps-own-icon {
  object-fit: contain;
}

.guest-carousel__name,
.guest-app-card__name {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.guest-carousel__selectors {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 0;
}

.guest-carousel--info .guest-carousel__selectors {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guest-carousel--apps .guest-carousel__selectors {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.guest-carousel__selector {
  display: grid;
  align-items: center;
  min-width: 0;
  min-height: 36px;
  padding: 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(240, 242, 245, 0.76);
  background: rgba(255, 255, 255, 0.032);
  text-align: left;
  cursor: pointer;
}

.guest-carousel__selector.is-active {
  border-color: rgba(241, 208, 113, 0.36);
  color: #fff6df;
  background: rgba(241, 208, 113, 0.085);
}

.guest-carousel--info .guest-carousel__selector {
  min-height: 34px;
  justify-items: center;
  padding: 7px 10px;
  border-color: rgba(241, 208, 113, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.026);
  text-align: center;
}

.guest-carousel--apps .guest-carousel__selector {
  justify-items: center;
  min-height: 42px;
}

.guest-carousel--apps .guest-carousel__selector > span:not(.guest-carousel__selector-icon) {
  display: none;
}

.guest-carousel__selector-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 9px;
  color: #f7df9a;
  background: rgba(241, 208, 113, 0.07);
  font-size: 11px;
  font-weight: 900;
  overflow: visible;
}

.guest-carousel--apps .guest-carousel__selector-icon {
  width: 32px;
  height: 32px;
}

.guest-carousel__selector strong,
.guest-carousel__selector small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.12;
}

.guest-carousel__selector strong {
  font-size: 12px;
}

.guest-carousel--info .guest-carousel__selector strong {
  overflow-wrap: normal;
  white-space: nowrap;
}

.guest-info-selector__label {
  display: grid;
  place-items: center;
  min-width: 0;
}

.guest-info-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-width: 0;
  min-height: 32px;
  margin-top: 2px;
  padding: 7px 11px;
  border: 1px solid rgba(241, 208, 113, 0.28);
  border-radius: 999px;
  color: #f5d982;
  background:
    linear-gradient(135deg, rgba(241, 208, 113, 0.13), rgba(241, 208, 113, 0.05)),
    rgba(255, 255, 255, 0.028);
  font: inherit;
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.22;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.guest-info-card__action:hover,
.guest-info-card__action:focus-visible {
  color: #fff1bb;
  border-color: rgba(241, 208, 113, 0.42);
  background:
    linear-gradient(135deg, rgba(241, 208, 113, 0.18), rgba(241, 208, 113, 0.07)),
    rgba(255, 255, 255, 0.038);
}

body.guest-install-guide-open {
  overflow: hidden !important;
}

.guest-install-modal[hidden] {
  display: none !important;
}

.guest-install-modal {
  position: absolute;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  min-width: 0;
  padding:
    max(18px, var(--mig-safe-area-top, 0px))
    max(14px, var(--mig-safe-area-right, 0px))
    max(18px, var(--mig-safe-area-bottom, 0px))
    max(14px, var(--mig-safe-area-left, 0px));
}

.guest-install-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(241, 208, 113, 0.12), transparent 34%),
    rgba(3, 4, 8, 0.82);
  backdrop-filter: blur(18px);
}

.guest-install-modal__sheet {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: min(520px, 100%);
  max-height: 100%;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(241, 208, 113, 0.26);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(241, 208, 113, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.028)),
    rgba(9, 11, 16, 0.97);
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.035) inset;
  overflow: auto;
  outline: none;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.guest-install-modal__sheet::-webkit-scrollbar {
  display: none;
}

.guest-install-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(247, 241, 224, 0.86);
  background: rgba(255, 255, 255, 0.06);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.guest-install-modal__head {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding-right: 42px;
}

.guest-install-modal__head span {
  color: rgba(241, 208, 113, 0.88);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.18;
}

.guest-install-modal__head h2,
.guest-install-modal__head p {
  margin: 0;
  min-width: 0;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.guest-install-modal__head h2 {
  color: #fff8e8;
  font-size: 24px;
  line-height: 1.12;
}

.guest-install-modal__head p {
  max-width: 34rem;
  color: rgba(225, 229, 237, 0.72);
  font-size: 14px;
  line-height: 1.42;
}

.guest-install-modal__recipe-row {
  display: flex;
  min-width: 0;
  margin-top: -2px;
}

.guest-install-modal__change {
  min-height: 30px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #f5d982;
  background: transparent;
  font: inherit;
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.22;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.guest-install-modal__change:hover,
.guest-install-modal__change:focus-visible {
  color: #fff1bb;
}

.guest-install-recipes[hidden] {
  display: none !important;
}

.guest-install-recipes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  max-height: min(280px, 34svh);
  padding: 2px;
  overflow: auto;
  scrollbar-width: thin;
}

.guest-install-recipes__detected {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(241, 208, 113, 0.2);
  border-radius: 12px;
  background: rgba(241, 208, 113, 0.075);
}

.guest-install-recipes__detected span,
.guest-install-recipes__detected em {
  color: rgba(241, 208, 113, 0.82);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.guest-install-recipes__detected strong {
  min-width: 0;
  color: #fff8e8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.14;
  overflow-wrap: anywhere;
}

.guest-install-recipe-group {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.028);
}

.guest-install-recipe-group__title {
  margin: 0;
  color: rgba(238, 227, 192, 0.78);
  font-size: 10.8px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.guest-install-recipe-group__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 6px;
  min-width: 0;
}

.guest-install-recipe {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  color: rgba(231, 234, 242, 0.72);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  font-size: 11.8px;
  font-weight: 760;
  line-height: 1.12;
  text-align: left;
  cursor: pointer;
}

.guest-install-recipe__name,
.guest-install-recipe__badge {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.guest-install-recipe__name {
  color: inherit;
  font-size: 11.8px;
  font-weight: 820;
  line-height: 1.12;
}

.guest-install-recipe__badge {
  color: rgba(241, 208, 113, 0.72);
  font-size: 9.8px;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.guest-install-recipe.is-active {
  color: #fff7df;
  border-color: rgba(241, 208, 113, 0.38);
  background: rgba(241, 208, 113, 0.12);
}

.guest-install-recipe.is-active .guest-install-recipe__badge {
  color: rgba(255, 241, 187, 0.9);
}

.guest-install-modal__prompt,
.guest-install-modal__done {
  min-width: 0;
  min-height: 38px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(241, 208, 113, 0.35);
  color: #fff8e7;
  background: linear-gradient(135deg, rgba(241, 208, 113, 0.24), rgba(241, 208, 113, 0.11));
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.guest-install-modal__prompt[hidden],
.guest-install-modal__done[hidden] {
  display: none !important;
}

.guest-install-modal__prompt {
  justify-self: stretch;
}

.guest-install-actions {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.guest-install-action {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 72px;
  padding: 8px 11px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.guest-install-action__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  min-width: 54px;
  overflow: hidden;
  border: 1px solid rgba(241, 208, 113, 0.16);
  border-radius: 13px;
  color: rgba(241, 208, 113, 0.94);
  background:
    radial-gradient(circle at 50% 22%, rgba(241, 208, 113, 0.16), transparent 48%),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 8px 22px rgba(0, 0, 0, 0.22);
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.guest-install-action__image,
.guest-install-action__fallback {
  grid-area: 1 / 1;
}

.guest-install-action__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.guest-install-action__icon.is-loaded .guest-install-action__image {
  opacity: 1;
}

.guest-install-action__fallback {
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.guest-install-action__icon.is-loaded .guest-install-action__fallback {
  display: none;
}

.guest-install-action__icon[data-install-guide-icon="app"] {
  color: #fff4c6;
  font-family: ui-serif, Georgia, serif;
}

.guest-install-action__copy {
  display: block;
  min-width: 0;
  color: rgba(239, 242, 248, 0.84);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.guest-install-action__copy strong {
  color: #fff8e8;
  font-weight: 930;
}

.guest-install-action__copy em {
  display: block;
  margin-top: 3px;
  color: rgba(222, 225, 235, 0.62);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.25;
}

.guest-install-modal__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  min-width: 0;
  min-height: 38px;
}

.guest-install-modal__done {
  justify-self: stretch;
}

.guest-auth-section {
  display: grid;
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
  justify-items: stretch;
  align-items: start;
  gap: 10px;
  padding-inline: clamp(2px, 1vw, 10px);
  scroll-margin-top: 90px;
}

.guest-auth-section__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  justify-items: center;
  text-align: center;
}

.guest-auth-section .hub-auth--guest-access {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.guest-auth-section .hub-auth--guest-access[data-auth-compact="true"] > .eyebrow,
.guest-auth-section .hub-auth--guest-access[data-auth-compact="true"] > h2,
.guest-auth-section .hub-auth--guest-access[data-auth-compact="true"] > p {
  display: none !important;
}

.guest-auth-section .auth-switch {
  width: 100%;
  margin: 0 0 11px;
}

.guest-auth-section .form-feedback,
.guest-auth-section .auth-pane {
  width: 100%;
  min-width: 0;
  max-width: none;
  align-self: stretch;
}

.guest-auth-section .access-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: stretch !important;
  gap: 10px;
  width: 100%;
  min-width: 0;
  max-width: none;
}

.guest-auth-section .auth-pane[data-auth-pane="login"] .access-form {
  grid-template-columns: minmax(0, 1fr) !important;
}

.guest-auth-section .access-form > .primary-button {
  margin-top: 12px;
}

.guest-auth-section .access-form label,
.guest-auth-section .access-form input,
.guest-auth-section .access-form .primary-button {
  width: 100%;
  min-width: 0;
}

.guest-docs-panel {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.guest-docs-panel .hub-footer {
  min-width: 0;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  align-items: center !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.guest-docs-panel .hub-footer__line,
.guest-docs-panel .hub-footer__apps {
  display: none !important;
}

.guest-docs-panel .hub-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px 10px;
  min-width: 0;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.guest-docs-panel .hub-footer__legal a {
  min-width: 0;
  max-width: 100%;
  font-size: inherit !important;
  line-height: inherit !important;
  overflow-wrap: anywhere;
  white-space: normal;
}

@media (max-width: 700px) {
  .page-product--guest-home .page-shell--standalone,
  .page-product--guest-auth .page-shell--standalone {
    padding:
      max(6px, var(--mig-safe-area-top, 0px))
      max(4px, var(--mig-safe-area-left, 0px), var(--mig-safe-area-right, 0px))
      max(10px, var(--mig-safe-area-bottom, 0px)) !important;
  }

  .guest-public-surface {
    padding: 8px;
    gap: 9px;
  }

  .guest-public-panel {
    padding: 10px;
    border-radius: 13px;
  }

  .guest-carousel {
    gap: 7px;
  }

  .guest-carousel__head {
    min-height: 28px;
  }

  .guest-carousel__head strong,
  .guest-public-panel__head h2 {
    font-size: 18px;
  }

  .guest-carousel__arrow {
    width: 28px;
    min-width: 28px;
    height: 28px;
  }

  .guest-carousel__slide {
    padding: 10px;
    border-radius: 12px;
  }

  .guest-carousel--info .guest-carousel__slide {
    min-height: 96px;
  }

  .guest-carousel--apps .guest-carousel__slide {
    min-height: 154px;
  }

  .guest-carousel__content h2 {
    font-size: 19px;
  }

  .guest-app-card__name h2 {
    font-size: 21px;
  }

  .guest-carousel__content strong {
    font-size: 14px;
  }

  .guest-carousel__content p {
    font-size: 12.5px;
    line-height: 1.38;
  }

  .guest-install-modal {
    place-items: center;
    padding:
      max(14px, var(--mig-safe-area-top, 0px))
      max(12px, var(--mig-safe-area-right, 0px))
      max(14px, var(--mig-safe-area-bottom, 0px))
      max(12px, var(--mig-safe-area-left, 0px));
  }

  .guest-install-modal__sheet {
    width: min(360px, 100%);
    max-height: 100%;
    padding: 14px;
    border-radius: 18px;
  }

  .guest-install-modal__head h2 {
    font-size: 20px;
  }

  .guest-install-action {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 66px;
    gap: 10px;
    padding: 8px;
  }

  .guest-install-action__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 21px;
  }

  .guest-install-action__copy {
    font-size: 14px;
  }

  .guest-install-recipes {
    max-height: min(260px, 32svh);
  }

  .guest-install-recipes__detected {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .guest-install-recipes__detected span {
    grid-column: 1 / -1;
  }

  .guest-install-recipe-group__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .guest-carousel__icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .guest-auth-section,
  .guest-docs-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .guest-auth-section__copy,
  .guest-docs-panel .guest-public-panel__head {
    text-align: center;
  }

  .guest-docs-panel .hub-footer__legal {
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .page-product--guest-home .apps-top-menu__logo,
  .page-product--guest-auth .apps-top-menu__logo {
    width: 34px !important;
    height: 34px !important;
  }

  .page-product--guest-home .apps-top-menu__copy small,
  .page-product--guest-auth .apps-top-menu__copy small {
    display: block !important;
    font-size: 0.72rem !important;
  }

  .guest-public-panel {
    padding: 9px;
  }

  .guest-carousel__content h2,
  .guest-app-card__name h2 {
    font-size: 18px;
  }

  .guest-carousel__content p {
    font-size: 12px;
  }

  .guest-carousel--apps .guest-carousel__selector-icon {
    width: 29px;
    height: 29px;
  }
}

/* Apps auth entry v17 alias compatibility foundation: /login and /register must not regress to separate auth-only surfaces. */
.page-product--guest-auth .hub-shell--product {
  grid-template-rows: auto minmax(0, 1fr) !important;
}

.page-product--guest-auth .apps-top-menu {
  grid-template-rows: auto !important;
}

.page-product--guest-auth .apps-workspace-panel {
  display: grid;
  align-items: start;
  justify-items: center;
  min-height: 0;
  padding: clamp(10px, 1.4vw, 16px) !important;
  overflow-y: auto !important;
}

.page-product--guest-auth .guest-auth-stage {
  display: grid;
  place-items: start center;
  width: 100%;
  min-height: 100%;
  padding: clamp(4px, 1vw, 12px);
}

.page-product--guest-auth .guest-auth-surface {
  width: min(430px, 100%);
  min-width: 0;
}

.page-product--guest-auth .guest-auth-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(248, 220, 153, 0.14);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.064), rgba(255, 255, 255, 0.024)),
    rgba(12, 13, 18, 0.9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.page-product--guest-auth .guest-auth-card__head {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: center;
}

.page-product--guest-auth .guest-auth-card__head h1,
.page-product--guest-auth .guest-auth-card__head p {
  margin: 0;
  letter-spacing: 0;
}

.page-product--guest-auth .guest-auth-card__head h1 {
  color: #fff7e7;
  font-size: 22px;
  line-height: 1.12;
}

.page-product--guest-auth .guest-auth-card__head p {
  color: rgba(236, 232, 222, 0.68);
  font-size: 13px;
  line-height: 1.34;
}

.page-product--guest-auth .hub-auth--guest-auth-page {
  width: 100%;
  max-width: 390px;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  animation: none !important;
  gap: 10px !important;
  overflow: visible !important;
}

.page-product--guest-auth .hub-auth--guest-auth-page[data-auth-compact="true"] > .eyebrow,
.page-product--guest-auth .hub-auth--guest-auth-page[data-auth-compact="true"] > h2,
.page-product--guest-auth .hub-auth--guest-auth-page[data-auth-compact="true"] > p {
  display: none !important;
}

.page-product--guest-auth .hub-auth--guest-auth-page .auth-switch {
  width: 100%;
  margin: 0 0 10px;
  padding: 4px;
}

.page-product--guest-auth .hub-auth--guest-auth-page .auth-switch__button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.page-product--guest-auth .hub-auth--guest-auth-page .auth-pane {
  flex: 0 1 auto;
  min-height: 0;
}

.page-product--guest-auth .hub-auth--guest-auth-page .access-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 9px;
  width: 100%;
}

.page-product--guest-auth .hub-auth--guest-auth-page .access-form label,
.page-product--guest-auth .hub-auth--guest-auth-page .passkey-box label {
  gap: 5px;
}

.page-product--guest-auth .hub-auth--guest-auth-page .access-form label span,
.page-product--guest-auth .hub-auth--guest-auth-page .passkey-box label span {
  color: rgba(240, 242, 245, 0.78);
  font-size: 12px;
  line-height: 1.1;
}

.page-product--guest-auth .hub-auth--guest-auth-page input {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 0.95rem;
}

.page-product--guest-auth .hub-auth--guest-auth-page .access-form .primary-button {
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.page-product--guest-auth .hub-auth--guest-auth-page .surface-notice--inline,
.page-product--guest-auth .hub-auth--guest-auth-page .access-meta--closed,
.page-product--guest-auth .hub-auth--guest-auth-page .form-feedback {
  padding: 9px 11px;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.32;
}

.page-product--guest-auth .hub-auth--guest-auth-page .access-meta--closed {
  color: #f7df9a;
  text-align: center;
}

.page-product--guest-auth .hub-auth--guest-auth-page .legal-consent-list {
  gap: 8px;
}

.page-product--guest-auth .hub-auth--guest-auth-page .legal-checkbox {
  gap: 8px;
  padding: 8px 9px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.32;
}

@media (min-width: 760px) {
  .page-product--guest-auth .guest-auth-stage {
    place-items: center;
  }
}

@media (max-width: 700px) {
  .page-product--guest-auth .apps-workspace-panel {
    padding: 10px !important;
  }

  .page-product--guest-auth .guest-auth-stage {
    padding: 0;
  }

  .page-product--guest-auth .guest-auth-card {
    padding: 14px;
    border-radius: 16px;
  }

  .page-product--guest-auth .guest-auth-card__head h1 {
    font-size: 21px;
  }
}

/* Apps icon aura v3: raster diamond PNGs glow without hard square frames. */
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image),
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image),
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image),
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image),
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image),
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image) {
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.2),
    0 0 10px rgba(241, 208, 113, 0.12),
    0 0 18px rgba(241, 208, 113, 0.07) !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image)::before,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image)::before,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image)::before,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image)::before,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image)::before,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image)::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 239, 184, 0.18), rgba(241, 208, 113, 0.1) 38%, transparent 68%);
  filter: none !important;
  opacity: 0.36;
  transform: none !important;
  transition: opacity 140ms ease;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image)::before,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image)::before,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image)::before,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image)::before,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image)::before {
  transform: none !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image)::after,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image)::after,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image)::after,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image)::after,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image)::after,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image)::after {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.06), transparent 42%),
    radial-gradient(circle at 50% 82%, rgba(241, 208, 113, 0.08), transparent 58%);
  box-shadow: none !important;
  opacity: 0.08;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image) .app-icon-picture,
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image) .launcher-icon-image,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image) .app-icon-picture,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image) .catalog-app-icon-image,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image) .app-icon-picture,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image) .landing-wave__icon-image,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image) .app-icon-picture,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image) .landing-wave__selector-image,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image) .app-icon-picture,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image) .guest-carousel__icon-image,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image) .app-icon-picture,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image) .guest-carousel__selector-image {
  position: relative !important;
  z-index: 2 !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button:hover .launcher-icon-glyph:has(.launcher-icon-image),
.page-product--apps .product-stage--launcher .launcher-icon-button:focus-visible .launcher-icon-glyph:has(.launcher-icon-image),
.page-product--apps .catalog-app-card.catalog-app-card--showcase:hover .catalog-app-card__logo:has(.catalog-app-icon-image),
.page-product--apps .catalog-app-card.catalog-app-card--showcase:focus-visible .catalog-app-card__logo:has(.catalog-app-icon-image),
.page-product--guest-home .landing-wave__selector:hover .landing-wave__selector-icon:has(.landing-wave__selector-image),
.page-product--guest-home .landing-wave__selector:focus-visible .landing-wave__selector-icon:has(.landing-wave__selector-image),
.page-product--guest-home .landing-wave__selector.is-active .landing-wave__selector-icon:has(.landing-wave__selector-image),
.page-product--guest-home .guest-carousel__selector:hover .guest-carousel__selector-icon:has(.guest-carousel__selector-image),
.page-product--guest-home .guest-carousel__selector:focus-visible .guest-carousel__selector-icon:has(.guest-carousel__selector-image),
.page-product--guest-home .guest-carousel__selector.is-active .guest-carousel__selector-icon:has(.guest-carousel__selector-image) {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.22),
    0 0 12px rgba(241, 208, 113, 0.16),
    0 0 20px rgba(241, 208, 113, 0.08) !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button:hover .launcher-icon-glyph:has(.launcher-icon-image)::before,
.page-product--apps .product-stage--launcher .launcher-icon-button:focus-visible .launcher-icon-glyph:has(.launcher-icon-image)::before,
.page-product--apps .catalog-app-card.catalog-app-card--showcase:hover .catalog-app-card__logo:has(.catalog-app-icon-image)::before,
.page-product--apps .catalog-app-card.catalog-app-card--showcase:focus-visible .catalog-app-card__logo:has(.catalog-app-icon-image)::before,
.page-product--guest-home .landing-wave__selector:hover .landing-wave__selector-icon:has(.landing-wave__selector-image)::before,
.page-product--guest-home .landing-wave__selector:focus-visible .landing-wave__selector-icon:has(.landing-wave__selector-image)::before,
.page-product--guest-home .landing-wave__selector.is-active .landing-wave__selector-icon:has(.landing-wave__selector-image)::before,
.page-product--guest-home .guest-carousel__selector:hover .guest-carousel__selector-icon:has(.guest-carousel__selector-image)::before,
.page-product--guest-home .guest-carousel__selector:focus-visible .guest-carousel__selector-icon:has(.guest-carousel__selector-image)::before,
.page-product--guest-home .guest-carousel__selector.is-active .guest-carousel__selector-icon:has(.guest-carousel__selector-image)::before {
  opacity: 0.42;
  filter: none !important;
}

/* First public launch: compact guest composition, campaign truth and app list. */
.guest-home-v17 {
  width: min(880px, 100%);
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  align-items: start;
}

.guest-home-v17 .guest-auth-section {
  display: grid;
  gap: 12px;
}

.guest-home-v17 .guest-docs-panel {
  grid-column: 1 / -1;
}

.guest-launch-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(241, 208, 113, 0.22);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(241, 208, 113, 0.11), rgba(255, 255, 255, 0.025));
}

.guest-launch-offer__copy,
.guest-launch-offer__status,
.guest-app-list__copy {
  min-width: 0;
}

.guest-launch-offer__copy > span {
  display: block;
  margin-bottom: 4px;
  color: rgba(241, 208, 113, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.guest-launch-offer__copy strong {
  display: block;
  color: #fff9e7;
  font-size: 1rem;
  line-height: 1.2;
}

.guest-launch-offer__copy p {
  margin: 5px 0 0;
  color: rgba(225, 230, 239, 0.76);
  font-size: 0.82rem;
  line-height: 1.38;
}

.guest-launch-offer__status {
  display: grid;
  gap: 3px;
  max-width: 210px;
  text-align: right;
}

.guest-launch-offer__status strong {
  color: #f7f8fb;
  font-size: 0.82rem;
  line-height: 1.3;
}

.guest-launch-offer__status span {
  color: rgba(225, 230, 239, 0.62);
  font-size: 0.75rem;
  line-height: 1.3;
}

.guest-apps-list-panel {
  display: grid;
  gap: 10px;
}

.guest-app-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guest-app-list__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 7px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.guest-app-list__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.guest-app-list__icon .app-icon-picture,
.guest-app-list__icon-image {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.guest-app-list__copy strong,
.guest-app-list__copy small {
  display: block;
  overflow-wrap: anywhere;
}

.guest-app-list__copy strong {
  color: #f7f8fb;
  font-size: 0.88rem;
  line-height: 1.2;
}

.guest-app-list__copy small {
  margin-top: 2px;
  color: rgba(225, 230, 239, 0.62);
  font-size: 0.75rem;
  line-height: 1.25;
}

@media (max-width: 700px) {
  .guest-home-v17 {
    grid-template-columns: minmax(0, 1fr);
  }

  .guest-home-v17 .guest-docs-panel {
    grid-column: auto;
  }

  .guest-launch-offer {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .guest-launch-offer__status {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 390px) {
  .guest-home-v17 {
    padding: 8px;
    gap: 8px;
  }

  .guest-home-v17 .guest-public-panel {
    padding: 10px;
  }

  .guest-launch-offer {
    padding: 10px;
  }
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:not(:has(.launcher-icon-image)),
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:not(:has(.catalog-app-icon-image)),
.page-product--guest-home .landing-wave__icon:not(:has(.landing-wave__icon-image)),
.page-product--guest-home .landing-wave__selector-icon:not(:has(.landing-wave__selector-image)),
.page-product--guest-home .guest-carousel__icon:not(:has(.guest-carousel__icon-image)),
.page-product--guest-home .guest-carousel__selector-icon:not(:has(.guest-carousel__selector-image)) {
  border-color: rgb(var(--app-accent-rgb, 241 208 113) / 0.2) !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 246, 214, 0.1), transparent 38%),
    radial-gradient(circle at 50% 88%, rgb(var(--app-accent-rgb, 241 208 113) / 0.16), transparent 58%),
    rgba(1, 2, 5, 0.62) !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="loading"]),
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="error"]),
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="loading"]),
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="error"]),
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="loading"]),
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="error"]),
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="loading"]),
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="error"]),
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="loading"]),
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="error"]),
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="loading"]),
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="error"]) {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.22),
    0 0 18px rgb(var(--app-accent-rgb, 241 208 113) / 0.08) !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="loading"])::before,
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="error"])::before,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="loading"])::before,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="error"])::before,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="loading"])::before,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="error"])::before,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="loading"])::before,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="error"])::before,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="loading"])::before,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="error"])::before,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="loading"])::before,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="error"])::before {
  opacity: 0.22 !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="loading"])::after,
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="error"])::after,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="loading"])::after,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="error"])::after,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="loading"])::after,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="error"])::after,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="loading"])::after,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="error"])::after,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="loading"])::after,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="error"])::after,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="loading"])::after,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="error"])::after {
  opacity: 0.1 !important;
}

/* Apps minimal icon halo v5: tiny static gold halo around raster diamonds only. */
.page-product--apps .product-stage--launcher .launcher-icon-button::before {
  content: none !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image),
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image),
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image),
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image),
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image),
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image) {
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.2),
    0 0 10px rgba(241, 208, 113, 0.12),
    0 0 18px rgba(241, 208, 113, 0.07) !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image)::before,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image)::before,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image)::before,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image)::before,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image)::before,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image)::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 239, 184, 0.18), rgba(241, 208, 113, 0.1) 38%, transparent 68%);
  filter: none !important;
  opacity: 0.58 !important;
  transform: none !important;
  transition: opacity 140ms ease;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image)::after,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image)::after,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image)::after,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image)::after,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image)::after,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image)::after {
  opacity: 0.08 !important;
  filter: none !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button:hover .launcher-icon-glyph:has(.launcher-icon-image),
.page-product--apps .product-stage--launcher .launcher-icon-button:focus-visible .launcher-icon-glyph:has(.launcher-icon-image),
.page-product--apps .catalog-app-card.catalog-app-card--showcase:hover .catalog-app-card__logo:has(.catalog-app-icon-image),
.page-product--apps .catalog-app-card.catalog-app-card--showcase:focus-visible .catalog-app-card__logo:has(.catalog-app-icon-image),
.page-product--guest-home .guest-carousel__selector:hover .guest-carousel__selector-icon:has(.guest-carousel__selector-image),
.page-product--guest-home .guest-carousel__selector:focus-visible .guest-carousel__selector-icon:has(.guest-carousel__selector-image),
.page-product--guest-home .guest-carousel__selector.is-active .guest-carousel__selector-icon:has(.guest-carousel__selector-image) {
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.22),
    0 0 12px rgba(241, 208, 113, 0.16),
    0 0 20px rgba(241, 208, 113, 0.08) !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-button:hover .launcher-icon-glyph:has(.launcher-icon-image)::before,
.page-product--apps .product-stage--launcher .launcher-icon-button:focus-visible .launcher-icon-glyph:has(.launcher-icon-image)::before,
.page-product--apps .catalog-app-card.catalog-app-card--showcase:hover .catalog-app-card__logo:has(.catalog-app-icon-image)::before,
.page-product--apps .catalog-app-card.catalog-app-card--showcase:focus-visible .catalog-app-card__logo:has(.catalog-app-icon-image)::before,
.page-product--guest-home .guest-carousel__selector:hover .guest-carousel__selector-icon:has(.guest-carousel__selector-image)::before,
.page-product--guest-home .guest-carousel__selector:focus-visible .guest-carousel__selector-icon:has(.guest-carousel__selector-image)::before,
.page-product--guest-home .guest-carousel__selector.is-active .guest-carousel__selector-icon:has(.guest-carousel__selector-image)::before {
  opacity: 0.68 !important;
}

.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="loading"])::before,
.page-product--apps .product-stage--launcher .launcher-icon-glyph:has(.launcher-icon-image[data-app-icon-state="error"])::before,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="loading"])::before,
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__logo:has(.catalog-app-icon-image[data-app-icon-state="error"])::before,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="loading"])::before,
.page-product--guest-home .landing-wave__icon:has(.landing-wave__icon-image[data-app-icon-state="error"])::before,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="loading"])::before,
.page-product--guest-home .landing-wave__selector-icon:has(.landing-wave__selector-image[data-app-icon-state="error"])::before,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="loading"])::before,
.page-product--guest-home .guest-carousel__icon:has(.guest-carousel__icon-image[data-app-icon-state="error"])::before,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="loading"])::before,
.page-product--guest-home .guest-carousel__selector-icon:has(.guest-carousel__selector-image[data-app-icon-state="error"])::before {
  opacity: 0.16 !important;
}

/* Apps catalog launch grid v1: the launch link owns icon + title; shortcut is its sibling. */
.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__topline {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  width: 100% !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__launch {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  width: 100% !important;
  min-height: 42px !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__launch .catalog-app-card__logo {
  grid-column: 1 !important;
  width: 42px !important;
  height: 42px !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__launch .catalog-app-card__titleblock {
  grid-column: 2 !important;
  min-width: 0 !important;
  width: 100% !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__launch .catalog-app-card__titleblock h3 {
  min-width: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__launch .catalog-app-card__hashtags {
  min-width: 0 !important;
  max-width: 100% !important;
}

.page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__topline > .shortcut-toggle {
  position: static !important;
  grid-column: 2 !important;
  justify-self: end !important;
  align-self: center !important;
  flex: 0 0 auto !important;
  width: 30px !important;
  height: 30px !important;
}

@media (max-width: 700px) {
  .page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__topline {
    grid-template-columns: minmax(0, 1fr) 28px !important;
    gap: 8px !important;
  }

  .page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__launch {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 8px !important;
    min-height: 38px !important;
  }

  .page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__launch .catalog-app-card__logo {
    width: 38px !important;
    height: 38px !important;
  }

  .page-product--apps .catalog-app-card.catalog-app-card--showcase .catalog-app-card__topline > .shortcut-toggle {
    width: 28px !important;
    height: 28px !important;
  }
}

/* Apps product-shell content behavior; no late root-mode viewport owner. */

[data-workspace-panel][hidden],
[data-workspace-footer][hidden] {
  display: none !important;
}

[data-workspace-panel]:focus {
  outline: none;
}

.page-product--shell-content-fit .apps-workspace-panel > .product-stage,
.page-product--shell-hybrid .apps-workspace-panel > .product-stage,
.page-product--shell-content-fit .product-stage--single,
.page-product--shell-hybrid .product-stage--single,
.page-product--shell-content-fit .product-main,
.page-product--shell-hybrid .product-main {
  align-self: start !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
}

.page-product--shell-scroll-heavy .apps-workspace-panel {
  display: block !important;
  align-self: stretch !important;
}

/* Apps launcher view modes v1: "Мои" can switch between icon grid and compact launch list. */
.product-stage--launcher .catalog-surface-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 4px 12px !important;
}

.product-stage--launcher .catalog-surface-head p {
  grid-column: 1 / -1 !important;
}

.product-stage--launcher .catalog-surface-head h1 {
  grid-column: 1 !important;
  min-width: 0 !important;
}

.launcher-view-toggle {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  justify-self: end !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.launcher-view-toggle__button {
  appearance: none !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: inline-grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid rgba(241, 208, 113, 0.09) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.012) !important;
  color: rgba(240, 242, 245, 0.58) !important;
  font: inherit !important;
  font-size: 0 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.launcher-view-toggle__button.is-active,
.launcher-view-toggle__button[aria-pressed="true"] {
  color: #fff4d7 !important;
  border-color: rgba(241, 208, 113, 0.2) !important;
  background: rgba(241, 208, 113, 0.055) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(241, 208, 113, 0.02) !important;
}

.launcher-view-toggle__button:focus-visible {
  outline: 2px solid rgba(255, 231, 159, 0.72) !important;
  outline-offset: 2px !important;
}

.launcher-view-toggle__button::before {
  content: "" !important;
  width: 13px !important;
  height: 13px !important;
  display: block !important;
  color: currentColor !important;
}

.launcher-view-toggle__button[data-launcher-view-toggle="icons"]::before,
.launcher-view-toggle__icon--grid {
  background:
    linear-gradient(currentColor 0 0) 0 0 / 4px 4px no-repeat,
    linear-gradient(currentColor 0 0) 9px 0 / 4px 4px no-repeat,
    linear-gradient(currentColor 0 0) 0 9px / 4px 4px no-repeat,
    linear-gradient(currentColor 0 0) 9px 9px / 4px 4px no-repeat !important;
  border-radius: 2px !important;
}

.launcher-view-toggle__button[data-launcher-view-toggle="list"]::before,
.launcher-view-toggle__icon--list {
  background:
    linear-gradient(currentColor 0 0) 0 1px / 13px 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 6px / 13px 2px no-repeat,
    linear-gradient(currentColor 0 0) 0 11px / 13px 2px no-repeat !important;
  border-radius: 2px !important;
}

.launcher-view-toggle__icon {
  display: none !important;
}

.launcher-view-shell {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  align-content: start !important;
  overflow: visible !important;
}

.launcher-view-panel {
  min-width: 0 !important;
}

.launcher-view-panel[hidden] {
  display: none !important;
}

.launcher-list {
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 8px 18px 18px !important;
}

.launcher-list-row {
  --app-accent-rgb: var(--tone-gamebook-rgb);
  min-width: 0 !important;
  min-height: 74px !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 11px 12px !important;
  border: 1px solid rgb(var(--app-accent-rgb) / 0.16) !important;
  border-radius: 16px !important;
  color: inherit !important;
  text-decoration: none !important;
  background:
    radial-gradient(circle at 0% 0%, rgb(var(--app-accent-rgb) / 0.055), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.011)),
    rgba(2, 4, 8, 0.54) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.042) !important;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.launcher-list-row[hidden] {
  display: none !important;
}

.launcher-list-row:hover,
.launcher-list-row:focus-visible {
  border-color: rgb(var(--app-accent-rgb) / 0.3) !important;
  background:
    radial-gradient(circle at 0% 0%, rgb(var(--app-accent-rgb) / 0.082), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(3, 5, 10, 0.68) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 12px 28px rgba(0, 0, 0, 0.18) !important;
  transform: translateY(-1px);
}

.launcher-list-row:focus-visible {
  outline: 2px solid rgba(255, 231, 159, 0.72) !important;
  outline-offset: 2px !important;
}

.launcher-list-row.is-removing {
  opacity: 0.42;
  transform: scale(0.985);
  pointer-events: none;
}

.launcher-list-row__icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 15px !important;
}

.launcher-list-row__body {
  min-width: 0 !important;
  display: grid !important;
  gap: 4px !important;
}

.launcher-list-row__title {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  color: #fff4d7 !important;
  font-size: 0.9rem !important;
  font-weight: 880 !important;
  line-height: 1.12 !important;
}

.launcher-list-row__description {
  min-width: 0 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  color: rgba(229, 233, 241, 0.66) !important;
  font-size: 0.76rem !important;
  font-weight: 620 !important;
  line-height: 1.28 !important;
}

.launcher-list-row__action {
  min-width: 68px !important;
  min-height: 32px !important;
  display: inline-grid !important;
  place-items: center !important;
  padding: 0 11px !important;
  border: 1px solid rgba(241, 208, 113, 0.2) !important;
  border-radius: 999px !important;
  color: #fff4d7 !important;
  background:
    linear-gradient(180deg, rgba(241, 208, 113, 0.12), rgba(241, 208, 113, 0.035)),
    rgba(255, 255, 255, 0.018) !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.launcher-list.app-icon-group:not(.is-app-icon-group-ready) .launcher-icon-image[data-app-icon-state] {
  opacity: 0 !important;
  filter: saturate(0.8) contrast(0.92) blur(3px) !important;
}

.launcher-list.app-icon-group.is-app-icon-group-ready .launcher-icon-image[data-app-icon-state] {
  filter: saturate(1.03) contrast(1.04) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28)) !important;
}

@media (max-width: 640px) {
  .product-stage--launcher .catalog-surface-head {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

  .product-stage--launcher .catalog-surface-head h1 {
    grid-column: 1 !important;
  }

  .product-stage--launcher .catalog-surface-head p {
    grid-column: 1 / -1 !important;
  }

  .launcher-view-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
  }

  .launcher-view-toggle__button {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }

  .launcher-list {
    padding: 8px !important;
  }

  .launcher-list-row {
    grid-template-columns: 44px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    min-height: 70px !important;
    padding: 10px !important;
    border-radius: 15px !important;
  }

  .launcher-list-row__icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 14px !important;
  }

  .launcher-list-row__title {
    font-size: 0.82rem !important;
  }

  .launcher-list-row__description {
    font-size: 0.71rem !important;
  }

  .launcher-list-row__action {
    min-width: 58px !important;
    min-height: 30px !important;
    padding: 0 9px !important;
    font-size: 0.68rem !important;
  }
}

/* Apps surface v9: accessibility reflow is a layout mode, never a compressed desktop header. */
@media (max-width: 640px) {
  .page-product .apps-top-menu__brand,
  .page-product .apps-top-menu__pill,
  .page-product .product-nav__link {
    min-height: 44px !important;
  }

  .page-product .apps-top-menu__brand {
    align-items: flex-start !important;
  }

  .page-product .apps-top-menu__status {
    align-self: start !important;
  }

  .page-product .apps-top-menu__copy {
    align-content: center !important;
  }

  .page-product .apps-top-menu__copy strong {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .page-product .apps-top-menu__copy small {
    display: block !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.2 !important;
  }

  .page-product .apps-top-menu__pill {
    padding-block: 8px !important;
  }

  .page-product .product-nav__link {
    padding-block: 8px !important;
  }
}

/* Legal reading workspace v2. */
.legal-shell {
  width: min(1040px, calc(100vw - 24px));
  gap: 10px;
  padding: 10px;
}

.legal-topline {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: rgba(5, 7, 11, 0.82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.legal-topline__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.legal-topline__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  color: rgba(240, 242, 245, 0.74);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.74rem;
  font-weight: 820;
  text-decoration: none;
}

.legal-topline__actions .legal-exit-link {
  border-color: rgba(217, 185, 111, 0.3);
  color: #fff0c4;
  background: rgba(217, 185, 111, 0.075);
}

.legal-layout {
  gap: 10px;
}

.legal-layout--index {
  grid-template-columns: minmax(0, 1fr) 250px;
}

.legal-hero {
  gap: 5px;
  padding: 17px 19px;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.legal-hero h1,
.legal-document__head h1 {
  margin: 3px 0 5px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.06;
}

.legal-hero p,
.legal-document__head p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.48;
}

.legal-doc-groups {
  gap: 9px;
}

.legal-doc-group {
  --legal-group-tone: 217 185 111;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgb(var(--legal-group-tone) / 0.16);
  border-radius: 15px;
  background:
    linear-gradient(110deg, rgb(var(--legal-group-tone) / 0.055), transparent 32%),
    rgba(255, 255, 255, 0.022);
}

.legal-doc-group:nth-child(2) {
  --legal-group-tone: 115 167 255;
}

.legal-doc-group:nth-child(3) {
  --legal-group-tone: 192 145 255;
}

.legal-doc-group__head {
  padding: 4px 3px;
}

.legal-doc-group__head h2 {
  color: rgb(var(--legal-group-tone) / 0.96);
  font-size: 0.88rem;
}

.legal-doc-group__head p {
  font-size: 0.74rem;
  line-height: 1.38;
}

.legal-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
}

.legal-card {
  grid-template-columns: minmax(145px, 0.72fr) minmax(0, 1.25fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 3px 14px;
  min-height: 68px;
  padding: 10px 12px;
  border-radius: 11px;
  box-shadow: none;
}

.legal-card span {
  grid-column: 1;
  grid-row: 1;
  font-size: 0.62rem;
}

.legal-card strong {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.86rem;
}

.legal-card p {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.38;
}

.legal-card small {
  grid-column: 3;
  grid-row: 1 / 3;
  max-width: 155px;
  font-size: 0.66rem;
  line-height: 1.35;
  text-align: right;
}

.legal-contact {
  gap: 6px;
  padding: 14px;
  border-radius: 15px;
  box-shadow: none;
}

.legal-layout--document {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.legal-document {
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: 15px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.17);
}

.legal-document__head {
  margin-bottom: 14px;
}

.legal-section {
  gap: 8px;
  padding: 14px 0;
}

.legal-section h2 {
  font-size: 0.98rem;
}

.legal-section ul {
  gap: 7px;
  padding-left: 18px;
  font-size: 0.84rem;
  line-height: 1.55;
}

.legal-doc-nav {
  gap: 6px;
  padding: 7px;
  border-radius: 14px;
  box-shadow: none;
}

.legal-doc-nav__group {
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
}

.legal-doc-nav a {
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 0.74rem;
}

.legal-document-picker > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(115, 167, 255, 0.24);
  border-radius: 11px;
  color: #e6eeff;
  background: rgba(115, 167, 255, 0.065);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.legal-document-picker > summary::-webkit-details-marker {
  display: none;
}

.legal-document-picker > summary::after {
  content: "+";
  color: rgba(168, 195, 255, 0.9);
  font-size: 1rem;
}

.legal-document-picker[open] > summary::after {
  content: "−";
}

.legal-document-picker > .legal-doc-nav {
  margin-top: 7px;
}

.legal-footer {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.45fr) minmax(160px, 0.5fr);
  gap: 10px;
  padding: 12px 14px;
  border-radius: 15px;
  box-shadow: none;
  font-size: 0.74rem;
}

@media (max-width: 960px) {
  .legal-doc-group {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-doc-group__head p {
    max-width: 62ch;
  }
}

@media (max-width: 760px) {

  .legal-shell {
    width: calc(100vw - 10px);
    margin: 5px auto;
    padding: 6px;
  }

  .legal-topline {
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding: 8px !important;
  }

  .legal-topline .hub-descriptor {
    display: none !important;
  }

  .legal-topline__actions {
    gap: 5px;
  }

  .legal-topline__actions a {
    min-height: 40px;
    padding: 0 9px;
  }

  .legal-layout--index,
  .legal-layout--document {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-hero {
    padding: 14px;
  }

  .legal-card {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    gap: 3px 8px;
    min-height: 0;
    padding: 10px;
  }

  .legal-card span,
  .legal-card strong,
  .legal-card p {
    grid-column: 1;
  }

  .legal-card span {
    grid-row: 1;
  }

  .legal-card strong {
    grid-row: 2;
  }

  .legal-card p {
    grid-row: 3;
  }

  .legal-card small {
    grid-column: 2;
    grid-row: 1 / 4;
    max-width: 112px;
    font-size: 0.62rem;
  }

  .legal-footer {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* APPS-WORKBENCH-SCROLL-OWNER-V32
 * iOS must not receive a second vertical pan chain on the document shell.
 * The fixed page shell owns the viewport; only the declared middle row owns
 * vertical momentum. Header gestures remain tap/horizontal/pinch capable. */
@media (max-width: 640px), (pointer: coarse) {
  html:has(> body.page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document)) {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  body.page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) {
    -webkit-overflow-scrolling: auto !important;
    touch-action: auto !important;
  }

  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .page-shell--standalone {
    position: fixed !important;
    inset: 0 !important;
  }

  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .apps-control-panel {
    touch-action: pan-x pinch-zoom !important;
  }

  .page-product:not(.page-product--guest-home):not(.page-product--guest-auth):not(.page-product--shell-public-document) .apps-workspace-panel[data-scroll-owner="workspace"] {
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y pinch-zoom !important;
  }
}

html[data-apps-root-mode="app-shell"] body.page-product--shell-guest-app {
  -webkit-overflow-scrolling: auto !important;
  touch-action: auto !important;
}

html[data-apps-root-mode="app-shell"] .page-product--shell-guest-app .apps-control-panel {
  touch-action: pan-x pinch-zoom !important;
}

html[data-apps-root-mode="app-shell"] .page-product--shell-guest-app .apps-workspace-panel[data-scroll-owner="workspace"] {
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y pinch-zoom !important;
}

/* APPS-PWA-VIEWPORT-FRAME-V36
 * Body owns the opposing-inset viewport. The narrower page shell remains in
 * normal flow and is centered, so fixed inset and explicit width never fight. */
@media (display-mode: standalone) {
  html:has(> body.page-product:not(.page-product--shell-public-document)) {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
  }

  body.page-product:not(.page-product--shell-public-document) {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  body.page-product:not(.page-product--shell-public-document) > .page-shell,
  body.page-product:not(.page-product--shell-public-document) .page-shell--standalone {
    position: relative !important;
    inset: auto !important;
    margin-block: 0 !important;
    margin-inline: auto !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
  }
}


/* Apps skin for mig.app-entry.foundation.v1. Layout primitives stay in the shared provider. */
.page-product--guest-home .apps-entry {
  --app-entry-max-inline: 720px;
  --app-entry-gap: clamp(14px, 2.4vw, 22px);
  inline-size: min(100%, 720px);
  padding: clamp(18px, 3.4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(22px, 3vw, 30px);
  background:
    radial-gradient(circle at 12% 0%, rgba(112, 73, 255, 0.16), transparent 38%),
    linear-gradient(155deg, rgba(24, 26, 35, 0.98), rgba(13, 14, 19, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.page-product--guest-home .apps-entry__identity {
  padding-block-end: 2px;
}

.page-product--guest-home .apps-entry__identity h1,
.page-product--guest-home .apps-entry__description h2,
.page-product--guest-home .apps-entry__description p {
  margin: 0;
}

.page-product--guest-home .apps-entry__identity h1 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  letter-spacing: -0.035em;
}

.page-product--guest-home .apps-entry__mark {
  display: grid;
  inline-size: 52px;
  block-size: 52px;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.page-product--guest-home .apps-entry__mark img {
  inline-size: 38px;
  block-size: 38px;
}

.page-product--guest-home .apps-entry__descriptor,
.page-product--guest-home .apps-entry__account-help {
  color: rgba(237, 239, 247, 0.64);
  font-size: 0.84rem;
}

.page-product--guest-home .apps-entry__description {
  padding: clamp(14px, 2.2vw, 20px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.page-product--guest-home .apps-entry__description h2 {
  font-size: clamp(1.08rem, 2.3vw, 1.35rem);
}

.page-product--guest-home .apps-entry__description p {
  color: rgba(237, 239, 247, 0.72);
  line-height: 1.55;
}

.page-product--guest-home .apps-entry__auth {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-product--guest-home .apps-entry__auth .app-entry-auth-helper {
  min-block-size: 2.7em;
  margin: 10px 2px 2px;
  color: rgba(237, 239, 247, 0.62);
  font-size: 0.82rem;
  line-height: 1.35;
}

.page-product--guest-home .apps-entry__account-help {
  padding-block-start: 2px;
  text-align: center;
}

@media (max-width: 560px) {
  .page-product--guest-home .guest-public-stage {
    padding-inline: 10px;
  }

  .page-product--guest-home .apps-entry {
    padding: 16px;
    border-radius: 22px;
  }

  .page-product--guest-home .apps-entry__identity {
    align-items: flex-start;
  }

  .page-product--guest-home .apps-entry__descriptor {
    max-inline-size: 18ch;
    text-align: end;
  }
}


/* V41 owns only the Apps-specific linear projection over the shared entry foundation. */
.page-product--guest-home .apps-entry {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "identity"
    "description"
    "auth"
    "account-help";
}

.page-product--guest-home .apps-entry__identity {
  grid-area: identity;
}

.page-product--guest-home .apps-entry__description {
  grid-area: description;
}

.page-product--guest-home .apps-entry__auth {
  grid-area: auth;
  inline-size: 100%;
}

.page-product--guest-home .apps-entry__auth .access-form {
  grid-template-columns: minmax(0, 1fr);
}

.page-product--guest-home .apps-entry__auth .access-form > * {
  min-inline-size: 0;
}

.page-product--guest-home .apps-entry__account-help {
  grid-area: account-help;
}

/* Authenticated first-entry navigator. Completion is account-owned, not local storage. */
body.apps-onboarding-open { overflow: hidden; }
.apps-onboarding[hidden] { display: none; }
.apps-onboarding {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
}
.apps-onboarding__backdrop { position: absolute; inset: 0; background: rgba(2, 3, 6, 0.88); backdrop-filter: blur(14px); }
.apps-onboarding__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 660px);
  max-height: min(820px, calc(100dvh - 24px));
  min-height: min(620px, calc(100dvh - 24px));
  overflow: hidden;
  border: 1px solid rgba(241, 208, 113, 0.25);
  border-radius: 24px;
  color: #f7f4eb;
  background: linear-gradient(180deg, rgba(24, 25, 31, 0.99), rgba(10, 11, 15, 0.995));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.66);
}
.apps-onboarding__panel:focus { outline: none; }
.apps-onboarding__head, .apps-onboarding__footer { padding: 18px 20px; }
.apps-onboarding__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.apps-onboarding__head span { color: rgba(241, 208, 113, 0.78); font-size: 11px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.apps-onboarding__head h2, .apps-onboarding__copy strong, .apps-onboarding__copy p { margin: 0; }
.apps-onboarding__head h2 { margin-top: 5px; font-size: clamp(20px, 4.5vw, 30px); line-height: 1.08; }
.apps-onboarding__skip, .apps-onboarding__back, .apps-onboarding__next, .apps-onboarding__done, .apps-onboarding__install {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0 16px;
  color: #f6f2e8;
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}
.apps-onboarding__next, .apps-onboarding__done, .apps-onboarding__install {
  border-color: rgba(241, 208, 113, 0.35);
  color: #18140b;
  background: linear-gradient(135deg, #f1d071, #d8ab46);
}
.apps-onboarding__viewport { min-height: 0; overflow: hidden; }
.apps-onboarding__slide { height: 100%; box-sizing: border-box; overflow-x: hidden; overflow-y: auto; padding: 24px 22px; scrollbar-width: none; }
.apps-onboarding__slide[hidden] { display: none; }
.apps-onboarding__slide:not(:first-child) { align-content: center; justify-items: center; text-align: center; }
.apps-onboarding__slide.is-active { display: grid; gap: 20px; }
.apps-onboarding__copy { display: grid; gap: 8px; }
.apps-onboarding__copy strong { color: #fffaf0; font-size: clamp(19px, 4vw, 26px); line-height: 1.14; }
.apps-onboarding__copy p { max-width: 520px; color: rgba(226, 231, 238, 0.7); font-size: 14px; line-height: 1.55; }
.apps-onboarding__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.apps-onboarding__app {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 66px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  color: #f7f4eb;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  cursor: pointer;
}
.apps-onboarding__app.is-selected { border-color: rgba(241, 208, 113, 0.36); background: rgba(241, 208, 113, 0.08); }
.apps-onboarding__app-icon, .apps-onboarding__app-image { display: block; width: 44px; height: 44px; object-fit: contain; }
.apps-onboarding__app-copy { display: grid; min-width: 0; gap: 3px; }
.apps-onboarding__app-copy strong, .apps-onboarding__app-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apps-onboarding__app-copy strong { font-size: 13px; }
.apps-onboarding__app-copy small { color: rgba(224, 229, 238, 0.6); font-size: 10px; }
.apps-onboarding__app-mark { color: #f1d071; font-size: 20px; text-align: center; }
.apps-onboarding__feature-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(241, 208, 113, 0.26);
  border-radius: 24px;
  color: #f1d071;
  background: radial-gradient(circle, rgba(241, 208, 113, 0.15), rgba(241, 208, 113, 0.025));
  font-size: 24px;
  font-weight: 850;
}
.apps-onboarding__install { justify-self: center; margin-top: 8px; }
.apps-onboarding__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.apps-onboarding__dots, .apps-onboarding__actions { display: flex; align-items: center; }
.apps-onboarding__dots { justify-content: center; gap: 7px; }
.apps-onboarding__dots button { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.apps-onboarding__dots button::before { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: inherit; background: rgba(255, 255, 255, 0.28); content: ""; transform: translate(-50%, -50%); }
.apps-onboarding__dots button[aria-selected="true"] { width: 44px; background: transparent; }
.apps-onboarding__dots button[aria-selected="true"]::before { width: 24px; background: #f1d071; }
.apps-onboarding__actions { justify-content: flex-end; gap: 8px; margin-left: auto; }
.apps-onboarding__back { margin-right: auto; }
.apps-onboarding__feedback { margin: 0; color: rgba(224, 229, 238, 0.68); font-size: 12px; text-align: center; }
.apps-onboarding__feedback[data-tone="error"] { color: #ff9b91; }

@media (max-width: 560px) {
  .apps-onboarding { place-items: stretch; padding: max(6px, env(safe-area-inset-top)) 6px max(6px, env(safe-area-inset-bottom)); }
  .apps-onboarding__panel { width: 100%; max-height: calc(100dvh - 12px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); min-height: 0; border-radius: 19px; }
  .apps-onboarding__head, .apps-onboarding__footer { padding: 13px 14px; }
  .apps-onboarding__footer { display: grid; }
  .apps-onboarding__dots { justify-content: flex-start; }
  .apps-onboarding__actions { width: 100%; margin-left: 0; }
  .apps-onboarding__next, .apps-onboarding__done { width: 100%; }
  .apps-onboarding__slide { padding: 17px 14px; }
  .apps-onboarding__choices { grid-template-columns: minmax(0, 1fr); }
  .apps-onboarding__app { min-height: 58px; }
}

@media (max-height: 640px) and (orientation: landscape) {
  .apps-onboarding__panel { min-height: 0; }
  .apps-onboarding__choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@layer mig-app-entry-foundation {
  [data-app-entry-root] {
    display: grid;
    inline-size: min(100%, 900px);
    margin-inline: auto;
    gap: var(--app-entry-gap, 16px);
  }

  [data-app-entry-region="identity"],
  [data-app-entry-region="description"],
  [data-app-entry-region="auth"],
  [data-app-entry-region="account-help"] {
    min-inline-size: 0;
  }

  [data-app-entry-region="identity"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  [data-app-entry-identity] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-inline-size: 0;
  }

  [data-app-entry-copy] {
    display: grid;
    gap: 6px;
    max-inline-size: var(--app-entry-copy-inline, 62ch);
  }

  [data-app-entry-auth-tabs] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  [data-app-entry-auth-pane][hidden],
  [data-first-use-slide][hidden],
  [data-first-use-control][hidden] {
    display: none;
  }

  [data-app-entry-form] {
    display: grid;
    gap: 12px;
  }

  [data-app-entry-form] label {
    display: grid;
    gap: 6px;
    min-inline-size: 0;
  }

  [data-app-entry-form] input,
  [data-app-entry-form] button,
  [data-app-entry-auth-tabs] button,
  [data-first-use-control] {
    min-block-size: 44px;
  }

  [data-app-entry-feedback] {
    min-block-size: 1.35em;
    overflow-wrap: anywhere;
  }

  [data-first-use-root] {
    position: absolute;
    inset: 0;
    z-index: var(--app-first-use-z, 40);
    display: grid;
    place-items: center;
    padding: var(--app-first-use-overlay-padding, 16px);
  }

  [data-first-use-root][hidden] {
    display: none;
  }

  [data-first-use-panel] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    inline-size: min(100%, var(--app-first-use-panel-inline, 680px));
    max-block-size: calc(100% - 2 * var(--app-first-use-panel-clearance, 8px));
    min-inline-size: 0;
    overflow: hidden;
    outline: none;
  }

  [data-first-use-head],
  [data-first-use-actions] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-inline-size: 0;
  }

  [data-first-use-slides] {
    min-block-size: 0;
    overflow: auto;
    overscroll-behavior: contain;
  }

  [data-first-use-slide] {
    min-inline-size: 0;
    overflow-wrap: anywhere;
  }

  [data-first-use-progress] {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  [data-first-use-dot] {
    inline-size: 8px;
    block-size: 8px;
    border-radius: 999px;
  }

  [data-first-use-actions] {
    flex-wrap: wrap;
  }

  [data-first-use-action-group] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
  }

  @media (max-width: 420px) {
    [data-app-entry-root] {
      gap: var(--app-entry-gap-compact, 12px);
    }

    [data-first-use-root] {
      padding: var(--app-first-use-overlay-padding-compact, 8px);
    }

    [data-first-use-head] {
      align-items: start;
    }

    [data-first-use-actions] {
      align-items: stretch;
    }

    [data-first-use-action-group] {
      inline-size: 100%;
      margin-inline-start: 0;
    }

    [data-first-use-action-group] > * {
      flex: 1 1 0;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    [data-app-entry-root],
    [data-first-use-root],
    [data-first-use-panel],
    [data-first-use-slide] {
      scroll-behavior: auto;
      transition-duration: 0.01ms;
      animation-duration: 0.01ms;
      animation-iteration-count: 1;
    }
  }
}

/*
 * Canonical region projection.
 * Release builders append the foundation after the app skin so this
 * structural rule wins legacy column placement without owning colors,
 * typography, materials, safe areas or product copy. The two phantom-ID
 * branches are a deliberate specificity escrow: :is() matches through the
 * attribute branch, while its specificity outranks historical body/app/id
 * selectors without priority flags or app-specific patches.
 */
:is(#mig-app-entry-root-a, [data-app-entry-root]):is(#mig-app-entry-root-b, [data-app-entry-root]) {
  inline-size: min(100%, 900px);
  max-inline-size: 900px;
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "identity"
    "description"
    "auth"
    "account-help";
}

:is(#mig-app-entry-root-a, [data-app-entry-root]):is(#mig-app-entry-root-b, [data-app-entry-root]) > [data-app-entry-region="identity"] {
  grid-area: identity;
}

:is(#mig-app-entry-root-a, [data-app-entry-root]):is(#mig-app-entry-root-b, [data-app-entry-root]) > [data-app-entry-region="description"] {
  grid-area: description;
}

:is(#mig-app-entry-root-a, [data-app-entry-root]):is(#mig-app-entry-root-b, [data-app-entry-root]) > [data-app-entry-region="auth"] {
  grid-area: auth;
}

:is(#mig-app-entry-root-a, [data-app-entry-root]):is(#mig-app-entry-root-b, [data-app-entry-root]) > [data-app-entry-region="account-help"] {
  grid-area: account-help;
}

/*
 * State truth must outrank app skins as reliably as the region projection.
 * Some historical skins give visible slide/control selectors app-level
 * specificity. These escrow selectors keep the native `hidden` contract
 * authoritative without priority flags and without per-app overrides.
 */
:is(#mig-app-entry-pane-hidden-a, [data-app-entry-auth-pane]):is(#mig-app-entry-pane-hidden-b, [data-app-entry-auth-pane])[hidden],
:is(#mig-first-use-slide-hidden-a, [data-first-use-slide]):is(#mig-first-use-slide-hidden-b, [data-first-use-slide])[hidden],
:is(#mig-first-use-control-hidden-a, [data-first-use-control]):is(#mig-first-use-control-hidden-b, [data-first-use-control])[hidden],
:is(#mig-first-use-root-hidden-a, [data-first-use-root]):is(#mig-first-use-root-hidden-b, [data-first-use-root])[hidden] {
  display: none;
}

/* APPS-OUTER-CONTOUR-V50
 * Preserve the exact workbench box while removing only its redundant visual
 * perimeter. Inner control, workspace, entry, modal and focus boundaries stay
 * owned by their existing selectors. */
.page-product .hub-shell--product {
  border-color: transparent !important;
  box-shadow: none !important;
}

/* APPS-AUTHOR-SIGNATURE-V51
 * Product-owned static authorship line. It is deliberately not an action dock,
 * live status surface, safe-area owner or overlay. */
.page-product .apps-signature-line {
  display: grid;
  place-items: center;
  min-height: 30px;
  padding: 0 clamp(12px, 2vw, 20px) 2px;
  color: rgba(240, 242, 245, 0.54);
}

.page-product .apps-signature-line__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42em;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: inherit;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.055em;
  line-height: 1;
  text-decoration: none;
  transition: color 140ms ease;
}

.page-product .apps-signature-line__domain {
  color: rgba(241, 208, 113, 0.76);
}

.page-product .apps-signature-line__link:hover,
.page-product .apps-signature-line__link:focus-visible,
.page-product .apps-signature-line__link:hover .apps-signature-line__domain,
.page-product .apps-signature-line__link:focus-visible .apps-signature-line__domain {
  color: #f1d071;
}

.page-product .apps-signature-line__link:focus-visible {
  outline: 2px solid rgba(241, 208, 113, 0.72);
  outline-offset: 1px;
}

@media (max-width: 560px) {
  .page-product .apps-signature-line {
    min-height: 30px;
    padding-bottom: 0;
  }

  .page-product .apps-signature-line__link {
    min-height: 30px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-product .apps-signature-line__link {
    transition: none;
  }
}

/* APPS-GUEST-ENTRY-COMPACT-V53
 * One compact visual panel for anonymous Apps entry. The workspace remains the
 * sole fallback scroller when keyboard, landscape or text zoom reduces height. */
.page-product--guest-home .hub-shell--product[data-product-shell-top="none"] {
  width: min(100%, 900px) !important;
  grid-template-rows: minmax(0, 1fr) !important;
}

.page-product--guest-home .hub-shell--product[data-product-shell-top="none"] .apps-workspace-panel {
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: flex-start !important;
  padding: clamp(8px, 2vw, 14px) !important;
}

.page-product--guest-home .guest-public-stage {
  display: flex !important;
  flex: 0 0 auto;
  width: 100%;
  min-height: 100%;
  padding: 0 !important;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] {
  --app-entry-gap: 9px;
  --app-entry-gap-compact: 8px;
  inline-size: min(100%, 420px) !important;
  max-inline-size: 420px !important;
  margin: auto !important;
  padding: clamp(14px, 3vw, 20px) !important;
  gap: var(--app-entry-gap) !important;
  border: 1px solid rgba(241, 208, 113, 0.18) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(241, 208, 113, 0.1), transparent 36%),
    linear-gradient(155deg, rgba(23, 25, 32, 0.98), rgba(11, 12, 17, 0.98)) !important;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3) !important;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .apps-entry__identity {
  display: block;
  padding: 0;
}

.page-product--guest-home .apps-entry__identity-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.page-product--guest-home .apps-entry__identity-link:focus-visible {
  border-radius: 12px;
  outline: 2px solid rgba(241, 208, 113, 0.78);
  outline-offset: 3px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .apps-entry__mark {
  inline-size: 44px;
  block-size: 44px;
  border-radius: 13px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .apps-entry__mark img {
  inline-size: 34px;
  block-size: 34px;
}

.page-product--guest-home .apps-entry__identity-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: 8px;
  min-width: 0;
}

.page-product--guest-home .apps-entry__identity-copy .eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 1px;
  font-size: 10px;
  line-height: 1.1;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .apps-entry__identity h1 {
  font-size: 24px;
  line-height: 1;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .apps-entry__descriptor {
  align-self: center;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .apps-entry__description {
  display: block;
  max-inline-size: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .apps-entry__description p {
  margin: 0;
  color: rgba(237, 239, 247, 0.72);
  font-size: 13px;
  line-height: 1.4;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .apps-entry__auth {
  display: grid !important;
  width: 100%;
  gap: 8px !important;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .auth-switch {
  width: 100%;
  margin: 0;
  padding: 3px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .auth-switch__button,
.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] input,
.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .access-form > .primary-button {
  min-height: 44px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .auth-switch__button {
  padding: 8px 10px;
  font-size: 13px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .app-entry-auth-helper {
  min-block-size: 2.7em;
  margin: 0 2px;
  font-size: 12px;
  line-height: 1.35;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .auth-pane,
.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .access-form {
  width: 100%;
  min-width: 0;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .access-form {
  gap: 8px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .access-form label {
  gap: 4px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .access-form label > span {
  font-size: 11px;
  line-height: 1.15;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] input {
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 16px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .access-form > .primary-button {
  margin-top: 4px;
  padding: 9px 14px;
  font-size: 14px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .surface-notice--inline,
.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .access-meta--closed,
.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .form-feedback {
  padding: 7px 9px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.3;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .legal-consent-list {
  gap: 6px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .legal-consent-summary,
.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .legal-checkbox {
  font-size: 11px;
  line-height: 1.34;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .legal-checkbox {
  gap: 8px;
  padding: 7px 8px;
  border-radius: 11px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .legal-checkbox input {
  min-height: 18px;
}

.page-product--guest-home .apps-entry[data-apps-entry-density="compact"] .apps-entry__account-help {
  padding: 0;
}

.page-product--guest-home .apps-entry__documents {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 3px;
}

.page-product--guest-home .apps-entry__documents a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 5px;
  color: rgba(237, 239, 247, 0.58);
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.page-product--guest-home .apps-entry__documents a:hover,
.page-product--guest-home .apps-entry__documents a:focus-visible {
  color: #f1d071;
}

.page-product--guest-home .apps-entry__documents a:focus-visible {
  border-radius: 8px;
  outline: 2px solid rgba(241, 208, 113, 0.72);
  outline-offset: -2px;
}

@media (max-width: 420px) {
  .page-product--guest-home .hub-shell--product[data-product-shell-top="none"] .apps-workspace-panel {
    padding: 8px !important;
  }

  .page-product--guest-home .apps-entry[data-apps-entry-density="compact"] {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .page-product--guest-home .apps-entry__identity-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}
