/* MemPDD_Home_Reference_v2/styles.css: scoped transfer of the approved home.
   Only the logo is the already-approved transparent original PNG instead of
   the reference's reconstructed SVG. Other screens retain their styles. */
@font-face {
  font-family: "MemPDD Manrope";
  src: url("fonts/Manrope-Variable.946beb949095.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "MemPDD Golos Text";
  src: url("fonts/GolosText-Variable.caa4693f600e.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
.app:has(.view--home) { border: 0; background: #0b213e; }
body:has(.view--home) { background: #0b213e; }
.view--home {
  --home-primary: #f7f3ed;
  --home-secondary: #a4c6f7;
  --home-amber: #feba3e;
  --home-ink: #102035;
  --home-divider: #294967;
  --home-track: #213e65;
  --home-heading: "MemPDD Manrope", sans-serif;
  --home-body: "MemPDD Golos Text", sans-serif;
  min-height: 100svh;
  padding: 0;
  color: var(--home-primary);
  font: 400 15px/1.4 var(--home-body);
  font-synthesis: none;
  background: radial-gradient(ellipse 90% 43% at 51% 0%, #0e2a4c 0%, transparent 100%),
              radial-gradient(ellipse 85% 41% at 48% 88%, #0d294b 0%, transparent 100%),
              #0b213e;
}
.home-content { padding: 62px 22px var(--tabbar-h); }
.home-header { position: relative; padding: 0 5px; }
.home-logo { display: block; width: 140px; height: 30.078125px; object-fit: contain; object-position: center top; }
.home-slogan { margin: 5px 0 0; font: 400 13.5px/1.5 var(--home-body); color: var(--home-secondary); }
.home-settings { position: absolute; right: -1px; top: -6px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; }
.home-settings img { width: 26px; height: 26px; }
.home-continue {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 104px;
  margin-top: 22px;
  padding: 23px 15px 23px 20px;
  border: 1px solid #355675;
  border-radius: 16px;
  text-align: left;
  background: linear-gradient(132deg, #1c3755 0%, #172f4c 46%, #102947 100%);
  box-shadow: inset 0 1px 0 #b9d3ee0d, 0 8px 18px #020b182b, 0 2px 5px #020b1826;
}
.home-continue::after { content: ""; pointer-events: none; position: absolute; inset: 1px; border-radius: 15px; background: radial-gradient(ellipse 75% 70% at 14% 0%, #b3d2fa07, transparent 100%); z-index: -1; }
.home-continue__icon { width: 34px; height: 38px; flex: none; }
.home-continue__body { min-width: 0; flex: 1; }
.home-continue__title { display: block; font: 700 18px/1.3 var(--home-heading); letter-spacing: -.45px; overflow-wrap: anywhere; }
.home-continue__sub { display: block; margin-top: 6px; font: 400 15.5px/1.4 var(--home-body); color: var(--home-secondary); overflow-wrap: anywhere; }
.home-continue__arrow { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #ffcc43 0%, #ffbd37 78%, #f5b23b 100%); box-shadow: inset 0 1px 0 #ffe88b99, 0 2px 3px #020b1840; }
.home-continue__arrow img { width: 25px; height: 25px; }
.home-progress { margin: 31px 4px 28px; }
.home-progress__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 400 14px/1.5 var(--home-body); }
.home-progress__value { color: var(--home-secondary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.home-progress__track { height: 7px; margin-top: 10px; border-radius: 8px; background: var(--home-track); overflow: hidden; }
.home-progress__fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffd04b, #ffbd3e); }
.home-menu { margin: 0 4px; }
.home-menu__row { display: flex; align-items: center; gap: 25px; width: 100%; min-height: 96px; padding: 22px 4px; border-top: 1px solid var(--home-divider); text-align: left; }
.home-menu__icon { width: 44px; height: 44px; object-fit: contain; flex: none; }
.home-menu__body { min-width: 0; flex: 1; }
.home-menu__title { display: block; font: 700 18px/1.35 var(--home-heading); letter-spacing: -.2px; overflow-wrap: anywhere; }
.home-menu__sub { display: block; margin-top: 5px; font: 400 15px/1.4 var(--home-body); color: var(--home-secondary); overflow-wrap: anywhere; }
.home-menu__chev { width: 16px; height: 24px; flex: none; }
.home-contact-wrap { display: flex; justify-content: center; margin: 13px 0 23px; }
.home-contact { display: block; min-height: 44px; padding: 12px 16px; border-radius: 8px; color: var(--home-secondary); font: 400 11px/1.5 var(--home-body); }
.home-continue:focus-visible, .home-menu__row:focus-visible, .home-settings:focus-visible, .home-contact:focus-visible { outline: 2px solid var(--home-amber); outline-offset: 4px; }
@media (min-width: 481px) { body:has(.view--home) { background: #091a2f; } .app:has(.view--home) { box-shadow: 0 0 0 1px #29456255, 0 0 45px #0002; } }
@media (min-width: 360px) and (max-width: 389px) { .home-continue { gap: 12px; padding-left: 16px; } .home-continue__icon { width: 30px; } }
@media (max-width: 359px) {
  .home-content { padding: 38px 16px var(--tabbar-h); }
  .home-logo { width: 132px; height: 28.375px; }
  .home-slogan { font-size: 12px; }
  .home-continue { gap: 10px; padding: 20px 12px; min-height: 104px; }
  .home-continue__icon { width: 28px; height: 34px; }
  .home-continue__title { font-size: 16px; letter-spacing: -.4px; }
  .home-continue__sub { font-size: 14px; }
  .home-continue__arrow { width: 34px; height: 34px; }
  .home-continue__arrow img { width: 22px; height: 22px; }
  .home-progress__row { font-size: 13px; }
  .home-menu__row { gap: 18px; min-height: 92px; }
  .home-menu__icon { width: 40px; height: 40px; }
  .home-menu__title { font-size: 17px; }
  .home-menu__sub { font-size: 14px; }
  .home-contact-wrap { margin-bottom: 15px; }
}
@media (max-height: 739px) and (min-width: 360px) {
  .home-content { padding-top: 35px; }
  .home-progress { margin-top: 24px; margin-bottom: 22px; }
  .home-menu__row { min-height: 88px; padding-top: 18px; padding-bottom: 18px; }
  .home-contact-wrap { margin-top: 5px; margin-bottom: 20px; }
}
