/* Chumkin World: game-poster energy around the existing living creatures. */
#auth-shell { --world-ink: #302451; --world-yellow: #fff05a; --world-paper: #fffdf4; --world-muted: #5b506b; }
#auth-shell .landing-scene {
  background: radial-gradient(ellipse at 20% 10%, #fff394 0, transparent 42%),
    radial-gradient(ellipse at 85% 30%, #fbc4e9 0, transparent 45%),
    linear-gradient(165deg, #bfefff, #d9f7ce 75%, #93e1af);
}
.landing-home .landing-hero {
  width: min(1180px, 100%); min-height: auto; padding: 38px 26px 70px;
  grid-template-columns: minmax(0, 1fr); gap: 25px; text-align: center;
}
.landing-home .landing-brand { align-items: center; gap: 20px; }
.landing-home .landing-logo { width: clamp(70px, 10vw, 135px); max-height: 140px; transform: rotate(-12deg); filter: drop-shadow(6px 8px 0 #30245125); }
.landing-home .landing-brand h1 {
  color: #fff; font-size: clamp(58px, 11.4vw, 136px); line-height: .88; letter-spacing: -.07em;
  -webkit-text-stroke: clamp(2px, .35vw, 5px) #302451; paint-order: stroke fill;
  text-shadow: 5px 7px 0 #302451; white-space: normal;
}
.landing-home .landing-brand h1 span { display: block; color: #fff05a; letter-spacing: -.035em; font-size: 1.16em; }
.landing-home .landing-intro { max-width: 730px; padding: 0; justify-self: center; }
.landing-home .landing-intro .landing-lead { margin: 0; color: #302451; font-size: clamp(27px, 4.5vw, 46px); font-weight: 950; letter-spacing: -.04em; }
.landing-home .landing-intro > p:last-child { margin: 16px auto 0; max-width: 660px; color: #453953; font-size: clamp(17px, 2vw, 20px); }
.world-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: min(920px, 100%); justify-self: center; }
.world-mode { display: flex; gap: 17px; align-items: flex-start; padding: 25px; text-align: left; border: 3px solid #302451; border-radius: 24px; box-shadow: 5px 6px 0 #302451; }
.world-mode-forever { background: #ecfd9f; transform: rotate(-1deg); }
.world-mode-live { background: #fbe0f1; transform: rotate(1deg); }
.world-mode > span { color: #302451; font-size: 43px; font-weight: 950; line-height: 1; }
.world-mode h2 { margin: 0; color: #302451; font-size: 23px; line-height: 1.15; font-weight: 950; letter-spacing: -.035em; }
.world-mode p { margin: 10px 0 0; color: #51435f; font-size: 15px; line-height: 1.55; }
.landing-home .landing-account-actions, .landing-home .landing-account-return {
  width: fit-content; max-width: 100%; justify-self: center; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none;
}
.landing-home .landing-account-actions a, .landing-home .landing-account-return > a {
  min-height: 59px; border: 3px solid #302451; border-radius: 17px; font-size: 17px; box-shadow: 4px 5px 0 #302451;
}
.landing-home .landing-account-primary { background: #ff70ba; color: #302451; padding: 15px 28px; }
.landing-home .landing-account-primary:hover { color: #302451; background: #ff93cb; box-shadow: 4px 7px 0 #302451; }
.landing-home .landing-account-secondary { color: #302451; background: white; }
.world-start-note { margin: 0; color: #453953; font-size: 13px; font-weight: 750; }
#auth-shell .public-currency-section { margin-top: 40px; }
#auth-shell .public-currency-section > h2 { margin: 0 0 17px; color: var(--world-ink); font-size: clamp(25px, 3.3vw, 38px); line-height: 1.1; font-weight: 950; letter-spacing: -.035em; }
#auth-shell .landing-home > .public-currency-section { width: min(920px, calc(100% - 48px)); margin: 0 auto 75px; }
#auth-shell .currency-guide { margin: 0; border: 2px solid var(--world-ink); border-radius: 20px; box-shadow: 4px 5px 0 var(--world-ink); }
#auth-shell .currency-guide-half { padding: 18px 23px; background: #fff3bf; }
#auth-shell .currency-guide-half.tokens { border-left: 2px solid var(--world-ink); background: #eee5ff; }
#auth-shell .currency-guide-title { gap: 9px; }
#auth-shell .currency-guide-title strong { color: var(--world-ink); font-size: 17px; line-height: 1.2; }
#auth-shell .currency-guide .currency-icon { width: 27px; height: 27px; flex-basis: 27px; }
#auth-shell .currency-guide p { margin: 8px 0 0; color: #51435f; font-size: 14px; line-height: 1.65; font-weight: 550; }
#auth-shell .currency-guide .currency-guide-conversion { grid-column: 1/-1; margin: 0; padding: 11px 16px; border-top: 2px solid var(--world-ink); background: var(--world-paper); text-align: center; font-size: 13px; font-weight: 750; }
.landing-home .landing-scroll-cue { position: static; width: fit-content; justify-self: center; margin: 8px 0 0; background: none; color: #302451; box-shadow: none; }
.world-roster-section { width: min(1160px, calc(100% - 48px)); margin: 12px auto 90px; padding: 42px; border: 3px solid #302451; border-radius: 38px; background: #302451; box-shadow: 8px 10px 0 #30245135; }
.world-section-heading { max-width: 730px; margin-bottom: 28px; }
.world-section-heading h2 { margin: 15px 0; color: #fff; font-size: clamp(38px, 6vw, 69px); line-height: .98; letter-spacing: -.055em; font-weight: 950; }
.world-section-heading p { color: #ece1f8; line-height: 1.65; font-size: 17px; }
.world-roster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.world-roster > p { color: white; }
.world-roster-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; border-radius: 23px; background: #f6f4ff; color: #302451; border: 3px solid #fff; }
.roster-moss { background: #e6f4b5; } .roster-puddle { background: #d2eeff; }
.roster-pip { background: #fff2af; } .roster-boulder { background: #f2d8b3; }
.roster-fizzy { background: #ffd5ef; } .roster-nova { background: #dfd2ff; }
.world-roster-tier { font-size: 11px; font-weight: 950; text-transform: uppercase; letter-spacing: .09em; }
/* Both CSS dimensions stay independent of the canvas backing-store size. */
.world-roster-card .chumkin-live-preview,
.landing-home .variation-chumkin .chumkin-live-preview {
  display: block; flex: 0 0 auto; width: 100%; height: 150px; min-width: 0; max-width: 100%;
  margin: 0; border: 0; border-radius: 14px; background: transparent;
  aspect-ratio: auto; transform: none; touch-action: pan-y pinch-zoom; cursor: grab;
}
.world-roster-card .chumkin-live-preview { margin-top: 6px; }
.world-roster-card .chumkin-live-preview:active,
.landing-home .variation-chumkin .chumkin-live-preview:active { cursor: grabbing; }
.world-roster-card .chumkin-live-preview:focus-visible,
.landing-home .variation-chumkin .chumkin-live-preview:focus-visible { outline: 2px solid #7860a2; outline-offset: 3px; }
.landing-home .variation-chumkin { height: 150px; transform: none; }
.world-roster-hint { margin: 18px 0 0; color: #e0d2f0; font-size: 12px; line-height: 1.5; }
.world-roster-card h3 { margin: 10px 0 6px; font-size: 32px; font-weight: 950; letter-spacing: -.04em; }
.world-roster-card p { margin: 0 0 18px; color: #534761; font-size: 14px; line-height: 1.55; }
.world-roster-price { margin-top: auto; padding-top: 10px; border-top: 2px solid #30245120; font-size: 12px; }
.world-roster-link { display: inline-block; margin-top: 27px; color: #fff05a; font-size: 18px; font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.landing-home .landing-story { gap: 55px; margin-bottom: 80px; padding-top: 0; }
.landing-home .landing-feature { padding: 34px; border: 3px solid #302451; border-radius: 30px; background: #ffffffe8; box-shadow: 6px 7px 0 #302451; }
.landing-home .landing-feature::before, .landing-home .landing-feature::after { display: none; }
.landing-home .landing-feature:nth-child(2) { background: #fff4b9; transform: rotate(1deg); }
.landing-home .landing-feature:nth-child(3) { background: #f8d7ed; transform: rotate(-1deg); }
.landing-home .landing-feature h2 { color: #302451; font-size: clamp(38px, 5vw, 58px); font-weight: 950; }
.landing-home .landing-feature p { color: #51435f; }
.landing-home .variation-section::before { right: 0; }
.landing-home .variation-copy h2 { color: #302451; font-weight: 950; font-size: clamp(36px, 5.5vw, 63px); line-height: 1; }
.landing-home .landing-close { padding: 50px 28px; border: 3px solid #302451; border-radius: 35px; background: #fff05a; box-shadow: 8px 9px 0 #302451; }
.landing-home .landing-close h2 { color: #302451; font-weight: 950; font-size: clamp(42px, 7vw, 80px); line-height: .94; }
.landing-home .landing-close p { color: #453953; }
.landing-home .landing-join { padding: 17px 25px; color: white; background: #302451; border: 3px solid #302451; border-radius: 15px; box-shadow: 4px 5px 0 #ff70ba; }
.character-tier { display: block; color: #65507e; font-size: 10px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.adoption-character.is-locked .adoption-character-card { border-style: dashed; }
.adoption-character.is-locked small { color: #6a3a97; font-weight: 900; }
.character-boulder .adoption-character-card { background: #fff2df; }
.character-fizzy .adoption-character-card { background: #ffe8f5; }
.character-nova .adoption-character-card { background: #ece5ff; }
.adoption-unlock-note { padding: 15px 18px; margin: 0; border: 2px solid #c3a8ed; border-radius: 16px; color: #53366c; background: #f4edff; font-size: 14px; line-height: 1.6; }
.character-unlock-button { color: #302451; background: #fff05a; border: 2px solid #302451; box-shadow: 3px 4px 0 #302451; }
.character-unlock-button:disabled { opacity: .6; box-shadow: none; }
@media (max-width: 720px) {
  .landing-home .landing-hero { padding: 30px 18px 48px; gap: 24px; }
  .landing-home .landing-brand { gap: 12px; }
  .landing-home .landing-logo { width: 62px; }
  .landing-home .landing-brand h1 { font-size: clamp(41px, 10vw, 68px); text-shadow: 3px 4px 0 #302451; }
  .world-mode-grid { grid-template-columns: 1fr; gap: 18px; }
  .world-mode { padding: 20px; }
  #auth-shell .landing-home > .public-currency-section { width: calc(100% - 36px); margin-bottom: 55px; }
  #auth-shell .currency-guide-half { padding: 13px 12px; }
  #auth-shell .currency-guide-title { gap: 6px; }
  #auth-shell .currency-guide-title strong { font-size: 14px; }
  #auth-shell .currency-guide .currency-icon { width: 22px; height: 22px; flex-basis: 22px; }
  #auth-shell .currency-guide p { font-size: 12px; line-height: 1.55; }
  #auth-shell .currency-guide .currency-guide-conversion { padding: 10px 12px; font-size: 12px; }
  .world-roster-section { width: calc(100% - 28px); padding: 25px 18px; border-radius: 26px; }
  .world-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .world-roster-card { padding: 13px; border-radius: 17px; }
  .world-roster-card .chumkin-live-preview,
  .landing-home .variation-chumkin .chumkin-live-preview { width: 100%; height: 126px; }
  .landing-home .variation-chumkin { height: 126px; transform: none; }
  .world-roster-hint { font-size: 11px; margin-bottom: 19px; }
  .world-roster-card h3 { font-size: 26px; }
  .world-roster-card p { font-size: 12px; }
  .world-roster-price { font-size: 11px; }
  .landing-home .landing-account-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; }
  .landing-home .landing-account-actions a { padding: 12px 17px; font-size: 15px; }
  .landing-home .landing-feature { padding: 25px; }
  .landing-home .landing-close { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  .landing-home .landing-account-actions a { transition: none; }
}

/* The same Chumkin World palette and shapes across the public website. */
#auth-shell { color: var(--world-ink); }
#auth-shell [hidden] { display: none !important; }
#auth-shell :is(a, button, input, select, summary):focus-visible { outline: 3px solid #8a4da3; outline-offset: 3px; }
#auth-shell .public-header {
  min-height: 78px; padding-right: clamp(16px, 3vw, 44px); padding-left: clamp(16px, 3vw, 44px);
  border-bottom: 3px solid var(--world-ink); background: var(--world-paper); box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
#auth-shell .public-wordmark { color: var(--world-ink); font-weight: 950; }
#auth-shell .public-wordmark img { filter: drop-shadow(2px 3px 0 #30245125); }
#auth-shell .public-nav { gap: clamp(5px, 1vw, 15px); }
#auth-shell .public-nav a {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 9px 11px;
  border: 2px solid transparent; border-radius: 12px; color: #51435f; background: transparent;
  font-size: 13px; font-weight: 850; line-height: 1.2; text-align: center;
}
#auth-shell .public-nav a::after { content: none; }
#auth-shell .public-nav a:hover { color: var(--world-ink); background: #f2eaf8; }
#auth-shell .public-nav a.active { color: var(--world-ink); border-color: var(--world-ink); background: var(--world-yellow); }
#auth-shell .public-signin-link,
#auth-shell .public-dashboard-link {
  min-height: 44px; padding: 10px 15px; border: 2px solid var(--world-ink); border-radius: 13px;
  color: var(--world-ink); background: #ffc9e6; box-shadow: 3px 3px 0 var(--world-ink); font-size: 12px;
}
#auth-shell .public-signin-link:hover,
#auth-shell .public-dashboard-link:hover { color: var(--world-ink); background: #ffadd8; }
#auth-shell .public-menu-toggle { color: var(--world-ink); border: 2px solid var(--world-ink); background: #fff4b9; box-shadow: 2px 3px 0 var(--world-ink); }
#auth-shell .simple-page {
  width: min(1100px, calc(100% - 64px)); min-height: calc(100svh - 78px);
  padding: clamp(54px, 8vw, 100px) 0 clamp(72px, 9vw, 120px);
}
#auth-shell .simple-page-intro { max-width: 970px; }
#auth-shell .simple-page-intro h1,
#auth-shell .account-page-intro h1 {
  max-width: 100%; margin: 0; color: var(--world-ink); font-size: clamp(43px, 6.8vw, 84px);
  font-weight: 950; letter-spacing: -.055em; line-height: .99; overflow-wrap: break-word;
}
#auth-shell .simple-page-intro p,
#auth-shell .account-page-intro p {
  max-width: 760px; margin-top: 25px; color: #51435f; font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 600; line-height: 1.65;
}
#auth-shell .simple-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; margin-top: 58px; }
#auth-shell .simple-flow > div {
  min-width: 0; padding: 27px; grid-template-columns: 37px minmax(0, 1fr); gap: 15px; align-content: start;
  border: 3px solid var(--world-ink); border-radius: 26px; background: #ecfdc7; box-shadow: 5px 6px 0 var(--world-ink);
}
#auth-shell .simple-flow > div:nth-child(2) { background: #ffe0ef; }
#auth-shell .simple-flow > div:nth-child(3) { background: #fff3b5; }
#auth-shell .simple-flow > div:nth-child(4) { background: #eee5ff; }
#auth-shell .simple-flow span { color: #75618c; font-size: 21px; font-weight: 950; letter-spacing: -.04em; }
#auth-shell .simple-flow h2 { color: var(--world-ink); font-size: clamp(24px, 2.5vw, 32px); font-weight: 950; line-height: 1.1; }
#auth-shell .simple-flow p { grid-column: 2; color: #51435f; font-size: 15px; font-weight: 550; line-height: 1.7; }
#auth-shell .faq-list { gap: 15px; margin-top: 54px; border: 0; }
#auth-shell .faq-list details { border: 2px solid var(--world-ink); border-radius: 21px; background: var(--world-paper); box-shadow: 3px 4px 0 #302451; }
#auth-shell .faq-list details[open] { background: #fff3bf; }
#auth-shell .faq-list summary { min-height: 76px; padding: 24px 73px 24px 26px; color: var(--world-ink); font-size: clamp(19px, 2.1vw, 24px); font-weight: 900; line-height: 1.3; }
#auth-shell .faq-list summary::after { display: grid; width: 32px; height: 32px; right: 23px; place-items: center; border: 2px solid var(--world-ink); border-radius: 10px; color: var(--world-ink); background: #ecfdc7; font-size: 25px; line-height: 1; }
#auth-shell .faq-list p { max-width: 880px; margin: 0; padding: 0 73px 26px 26px; color: #51435f; font-size: 16px; font-weight: 550; line-height: 1.75; }
#auth-shell .download-list { gap: 22px; margin-top: 54px; border: 0; }
#auth-shell .download-platform {
  min-width: 0; min-height: 170px; padding: 29px; gap: 25px; border: 3px solid var(--world-ink);
  border-radius: 26px; background: #fffdf4; box-shadow: 5px 6px 0 var(--world-ink);
}
#auth-shell .download-platform:nth-child(2) { background: #ecfdc7; }
#auth-shell .download-platform:nth-child(3) { background: #fff3b5; }
#auth-shell .download-platform:nth-child(4) { background: #ffe0ef; }
#auth-shell .download-platform:nth-child(5) { background: #eee8f4; }
#auth-shell .download-platform h2 { margin: 0; color: var(--world-ink); font-size: clamp(28px, 3vw, 37px); font-weight: 950; line-height: 1.1; }
#auth-shell .download-platform-label { gap: 9px; margin-top: 10px; }
#auth-shell .download-platform span,
#auth-shell .download-platform-label b,
#auth-shell .download-platform > b { padding: 0; border: 0; border-radius: 0; color: #675676; background: none; box-shadow: none; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; }
#auth-shell .download-platform-label b::before { content: '·'; margin-right: 9px; }
#auth-shell .download-platform p { margin-top: 14px; color: #51435f; font-size: 15px; font-weight: 550; line-height: 1.7; }
#auth-shell .download-actions { max-width: 365px; gap: 11px; }
#auth-shell .download-actions a,
#auth-shell .account-authenticated a,
#auth-shell .desktop-promo .desktop-add-button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 17px;
  border: 2px solid var(--world-ink); border-radius: 13px; color: var(--world-ink); background: #fffdf4;
  box-shadow: 3px 4px 0 var(--world-ink); font-size: 13px; font-weight: 900; line-height: 1.3; text-align: center; text-decoration: none;
}
#auth-shell .download-actions a:first-child,
#auth-shell .account-authenticated a,
#auth-shell .desktop-promo .desktop-add-button { color: var(--world-ink); background: #ffc3e2; }
#auth-shell .download-actions a:hover,
#auth-shell .account-authenticated a:hover,
#auth-shell .desktop-promo .desktop-add-button:hover { color: var(--world-ink); background: #ffabda; }
#auth-shell .download-footnote { margin-top: 36px; padding: 21px 25px; border: 2px solid #b7a7c8; border-radius: 18px; background: #fffdf4; }
#auth-shell .download-footnote strong { color: var(--world-ink); font-size: 14px; }
#auth-shell .download-footnote p { color: #655772; font-size: 13px; font-weight: 500; line-height: 1.7; }
#auth-shell .contact-page { justify-content: flex-start; }
#auth-shell .contact-email {
  margin-top: 36px; padding: 19px 24px; border: 3px solid var(--world-ink); border-radius: 20px;
  color: var(--world-ink); background: #fff05a; box-shadow: 5px 6px 0 var(--world-ink);
  font-size: clamp(18px, 3vw, 32px); font-weight: 900; line-height: 1.3; letter-spacing: -.025em;
  text-decoration: none;
}
#auth-shell .contact-email:hover { background: #ffe8a5; }
#auth-shell .contact-note { margin-top: 26px; color: #655772; font-size: 13px; font-weight: 550; line-height: 1.7; }
#auth-shell .account-page { min-height: calc(100svh - 78px); padding: clamp(54px, 8vw, 100px) 32px clamp(72px, 9vw, 120px); }
#auth-shell .account-page-layout { width: min(1080px, 100%); grid-template-columns: minmax(0, 1fr) minmax(340px, 450px); gap: clamp(36px, 6vw, 80px); }
#auth-shell .account-page-intro h1 { font-size: clamp(48px, 7vw, 88px); }
#auth-shell .account-page-intro p { max-width: 490px; }
#auth-shell .account-auth-card,
#auth-shell .account-authenticated { width: 100%; min-width: 0; padding: 29px; border: 3px solid var(--world-ink); border-radius: 27px; background: #fffdf4; box-shadow: 7px 8px 0 var(--world-ink); backdrop-filter: none; }
#auth-shell .account-auth-card::before { content: none; display: none; }
#auth-shell .account-authenticated { background: #ecfdc7; }
#auth-shell .account-authenticated span { color: #655772; font-size: 13px; }
#auth-shell .account-authenticated strong { color: var(--world-ink); font-weight: 950; overflow-wrap: anywhere; }
#auth-shell .auth-tabs { gap: 5px; margin-bottom: 26px; padding: 5px; border: 2px solid var(--world-ink); border-radius: 15px; background: #eee5f6; }
#auth-shell .auth-tab { min-height: 46px; padding: 10px 8px; border: 0; border-radius: 9px; color: #635373; background: transparent; font-size: 14px; font-weight: 850; }
#auth-shell .auth-tab.active { color: #fffdf4; background: var(--world-ink); box-shadow: none; }
#auth-shell .auth-form { gap: 18px; }
#auth-shell .auth-form label { color: #51435f; font-size: 13px; font-weight: 750; letter-spacing: 0; }
#auth-shell .auth-form input:not([type="checkbox"]),
#auth-shell .auth-form select { width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px; border: 2px solid #9584aa; border-radius: 12px; color: var(--world-ink); background: #fff; box-shadow: none; font-size: 16px; }
#auth-shell .auth-form .password-control input { padding-right: 56px; }
#auth-shell .auth-form input::placeholder { color: #93879e; }
#auth-shell .password-visibility { right: 5px; width: 44px; height: 44px; color: #675676; }
#auth-shell .password-visibility:hover { color: var(--world-ink); background: #eee5f6; }
#auth-shell .auth-form .check-row { grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: #655772; font-size: 12px; font-weight: 600; line-height: 1.6; }
#auth-shell .auth-form .check-row input { width: 20px; height: 20px; min-height: 20px; margin-top: 1px; accent-color: #53377c; }
#auth-shell .auth-form .check-row a { color: #614086; text-decoration-thickness: 1px; }
#auth-shell .auth-form .button {
  min-height: 51px; padding: 13px 15px; border: 2px solid var(--world-ink); border-radius: 13px;
  color: var(--world-ink); background: #ffc3e2; box-shadow: 3px 4px 0 var(--world-ink);
  font-size: 15px; font-weight: 900; letter-spacing: 0; line-height: 1.3;
}
#auth-shell .auth-form .button:hover { color: var(--world-ink); background: #ffabda; border-color: var(--world-ink); box-shadow: 3px 5px 0 var(--world-ink); }
#auth-shell .auth-form .button:disabled { opacity: .6; box-shadow: none; }
#auth-shell .link-button,
#auth-shell .auth-help-link,
#auth-shell .auth-back-link { min-height: 44px; color: #684287; font-size: 12px; font-weight: 800; }
#auth-shell .link-button:hover,
#auth-shell .auth-help-link:hover,
#auth-shell .auth-back-link:hover { color: var(--world-ink); }
#auth-shell .auth-recovery-copy h2 { color: var(--world-ink); font-size: 28px; font-weight: 950; line-height: 1.15; }
#auth-shell .auth-recovery-copy p { color: #655772; font-size: 13px; font-weight: 550; }
#auth-shell .auth-message { border: 2px solid #b9a9cf; border-radius: 13px; color: var(--world-ink); background: #eee5f6; font-size: 13px; line-height: 1.6; }
#auth-shell .auth-message[data-kind="success"] { color: #355336; border-color: #799c6c; background: #ebf7ce; }
#auth-shell .auth-message[data-kind="error"] { color: #802b45; border-color: #ba7a8a; background: #ffe5ec; }
#auth-shell .legal-page { width: min(1040px, calc(100% - 64px)); }
#auth-shell .legal-page .simple-page-intro h1 { max-width: 900px; font-size: clamp(40px, 5.7vw, 70px); line-height: 1.06; }
#auth-shell .legal-page .simple-page-intro p { max-width: 720px; color: #655772; font-size: 15px; font-weight: 500; }
#auth-shell .legal-sections { max-width: 940px; margin-top: 42px; padding: 8px 34px; border: 2px solid #786586; border-radius: 24px; background: #fffefa; }
#auth-shell .legal-sections section { padding: 27px 0; border-bottom: 1px solid #ded4e5; }
#auth-shell .legal-sections section:last-child { border-bottom: 0; }
#auth-shell .legal-sections h2 { color: var(--world-ink); font-size: clamp(20px, 2.3vw, 26px); font-weight: 850; line-height: 1.3; }
#auth-shell .legal-sections p { max-width: 78ch; color: #51475c; font-size: 16px; font-weight: 400; line-height: 1.8; }
#auth-shell .legal-sections a { color: #684287; font-weight: 700; overflow-wrap: anywhere; }
#auth-shell .desktop-promo { width: min(1080px, calc(100% - 48px)); padding: clamp(28px, 4vw, 48px); border: 3px solid var(--world-ink); border-radius: 30px; background: #eee5ff; box-shadow: 6px 7px 0 var(--world-ink); }
#auth-shell .desktop-promo-mark { background: #fff4b9; border: 3px solid var(--world-ink); border-radius: 26px; }
#auth-shell .desktop-promo h2 { color: var(--world-ink); font-weight: 950; line-height: 1.04; }
#auth-shell .desktop-promo p { margin-top: 16px; color: #51435f; }
#auth-shell .desktop-promo .desktop-add-button { margin-top: 23px; }
#auth-shell .app-beta-badge { display: block; margin: 12px 0 0; padding: 0; border: 0; border-radius: 0; color: #675676; background: none; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; }
#auth-shell .public-footer { width: min(1160px, calc(100% - 48px)); min-height: 86px; margin: 0 auto 30px; padding: 20px 27px; gap: 20px; border: 3px solid var(--world-ink); border-radius: 22px; color: #655772; background: #fffdf4; box-shadow: 4px 5px 0 var(--world-ink); font-size: 12px; }
#auth-shell .public-footer nav { gap: 7px 18px; }
#auth-shell .public-footer a { display: inline-flex; min-height: 44px; align-items: center; color: #594269; font-size: 12px; font-weight: 800; text-underline-offset: 4px; }
#auth-shell .public-footer a:hover { color: var(--world-ink); text-decoration: underline; }
.public-site-active .desktop-install-dialog { border: 3px solid #302451; border-radius: 25px; color: #51435f; background: #fffdf4; box-shadow: 7px 8px 0 #302451; }
.public-site-active .desktop-install-dialog h2 { color: #302451; font-weight: 950; }
.public-site-active .desktop-install-close { border: 2px solid #302451; color: #302451; background: #fff3b5; }
.public-site-active .desktop-launch-open,
.public-site-active .desktop-install-downloads a:not(.desktop-install-alternative) { border: 2px solid #302451; color: #302451; background: #ffc3e2; box-shadow: 3px 4px 0 #302451; }
.public-site-active .desktop-launch-status { color: #51435f; background: #ecfdc7; border-color: #b7c992; }
.public-site-active .desktop-install-setup { border-top-color: #d4c5e0; }
.public-site-active .desktop-install-platform-row h3 { color: #302451; }
.public-site-active .desktop-install-platform-row select { border-color: #9584aa; color: #302451; background: #fffefa; }
.public-site-active .desktop-install-steps,
.public-site-active .desktop-install-note,
.public-site-active .desktop-install-footer { color: #655772; }
@media (max-width: 1000px) and (min-width: 701px) {
  #auth-shell .public-header { gap: 10px; grid-template-columns: auto minmax(0, 1fr) auto; }
  #auth-shell .public-nav { gap: 2px; }
  #auth-shell .public-nav a { padding-right: 7px; padding-left: 7px; font-size: 12px; }
  #auth-shell .public-wordmark { gap: 6px; font-size: 15px; }
  #auth-shell .public-wordmark img { width: 33px; height: 33px; }
}
@media (max-width: 900px) {
  #auth-shell .account-page-layout { grid-template-columns: 1fr; gap: 37px; }
  #auth-shell .account-auth-card,
  #auth-shell .account-authenticated { max-width: 520px; margin: 0 auto; }
  #auth-shell .simple-flow { grid-template-columns: 1fr; }
  #auth-shell .download-platform { grid-template-columns: 1fr; }
  #auth-shell .download-actions { max-width: 100%; justify-content: flex-start; }
}
@media (max-width: 700px) {
  #auth-shell .public-header { min-height: 68px; padding-right: 12px; padding-left: 12px; gap: 8px; }
  #auth-shell .public-wordmark { gap: 6px; font-size: 14px; }
  #auth-shell .public-wordmark img { width: 31px; height: 31px; }
  #auth-shell .public-signin-link,
  #auth-shell .public-dashboard-link { padding: 8px 10px; font-size: 11px; }
  #auth-shell .public-menu-toggle { width: 44px; min-width: 44px; height: 44px; border-radius: 12px; }
  #auth-shell .public-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 8px; border: 3px solid var(--world-ink); border-radius: 19px; background: #fffdf4; box-shadow: 4px 5px 0 var(--world-ink); }
  #auth-shell .public-nav a { min-height: 48px; padding: 10px 7px; border-radius: 10px; background: #eee5f6; font-size: 12px; }
  #auth-shell .public-nav a.active { color: var(--world-ink); background: var(--world-yellow); }
  #auth-shell .simple-page,
  #auth-shell .legal-page { width: calc(100% - 36px); min-height: calc(100svh - 68px); padding-top: 43px; padding-bottom: 70px; }
  #auth-shell .simple-page-intro h1,
  #auth-shell .account-page-intro h1 { font-size: clamp(38px, 9.7vw, 60px); line-height: 1.04; letter-spacing: -.045em; }
  #auth-shell .simple-page-intro p,
  #auth-shell .account-page-intro p { margin-top: 20px; font-size: 17px; line-height: 1.65; }
  #auth-shell .simple-flow,
  #auth-shell .faq-list,
  #auth-shell .download-list { margin-top: 34px; gap: 17px; }
  #auth-shell .simple-flow > div { padding: 21px 18px; grid-template-columns: 30px minmax(0, 1fr); gap: 13px; border-radius: 21px; box-shadow: 3px 4px 0 var(--world-ink); }
  #auth-shell .simple-flow span { font-size: 18px; }
  #auth-shell .simple-flow h2 { font-size: 25px; }
  #auth-shell .simple-flow p { grid-column: 1 / -1; font-size: 15px; }
  #auth-shell .faq-list summary { min-height: 70px; padding: 20px 62px 20px 19px; font-size: 19px; }
  #auth-shell .faq-list summary::after { right: 17px; width: 30px; height: 30px; }
  #auth-shell .faq-list p { padding: 0 19px 21px; font-size: 15px; }
  #auth-shell .download-platform { padding: 23px 19px; gap: 21px; border-radius: 22px; box-shadow: 3px 4px 0 var(--world-ink); }
  #auth-shell .download-platform h2 { font-size: 29px; }
  #auth-shell .download-actions { gap: 12px; }
  #auth-shell .download-actions a { min-height: 48px; padding: 12px 13px; font-size: 12px; }
  #auth-shell .download-footnote { margin-top: 28px; padding: 18px 20px; }
  #auth-shell .contact-email { margin-top: 28px; padding: 17px 18px; border-radius: 16px; box-shadow: 3px 4px 0 var(--world-ink); }
  #auth-shell .account-page { padding: 43px 18px 75px; }
  #auth-shell .account-page-layout { gap: 29px; }
  #auth-shell .account-auth-card,
  #auth-shell .account-authenticated { padding: 23px 20px; border-radius: 22px; box-shadow: 4px 5px 0 var(--world-ink); }
  #auth-shell .auth-tabs { margin-bottom: 23px; }
  #auth-shell .auth-tab { font-size: 13px; }
  #auth-shell .auth-recovery-copy h2 { font-size: 25px; }
  #auth-shell .legal-page .simple-page-intro h1 { font-size: clamp(36px, 9.4vw, 54px); line-height: 1.09; }
  #auth-shell .legal-page .simple-page-intro p { font-size: 14px; }
  #auth-shell .legal-sections { margin-top: 28px; padding: 0 21px; border-radius: 19px; }
  #auth-shell .legal-sections section { padding: 23px 0; }
  #auth-shell .legal-sections h2 { font-size: 21px; }
  #auth-shell .legal-sections p { font-size: 15px; line-height: 1.8; }
  #auth-shell .desktop-promo { padding: 26px 23px; border-radius: 25px; gap: 26px; }
  #auth-shell .desktop-promo-mark { width: 132px; }
  #auth-shell .desktop-promo h2 { font-size: clamp(30px, 8vw, 46px); }
  #auth-shell .public-footer { width: calc(100% - 36px); padding: 20px; margin-bottom: 23px; gap: 12px; border-radius: 19px; }
  #auth-shell .public-footer nav { column-gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #auth-shell :is(a, button, summary) { transition: none; }
}
