/* Final polish: breathing room and a quieter atmospheric canvas. */

/* Keep the scrollbar visually separate from the settings controls and copy. */
#settings-dialog .set-panels {
  padding-right: clamp(1.15rem, 2.2vw, 1.65rem);
  scrollbar-gutter: stable;
  scroll-padding-block: 1rem;
}

/* Replace the decorative concentric geometry with broad, soft light.
   The ambient layer stays atmospheric rather than reading as an object. */
html::before {
  background:
    radial-gradient(ellipse 58rem 38rem at 88% 2%, rgba(225, 230, 240, 0.075), transparent 72%),
    radial-gradient(ellipse 52rem 42rem at 2% 96%, rgba(196, 204, 218, 0.055), transparent 74%),
    radial-gradient(ellipse 42rem 30rem at 54% 48%, rgba(205, 185, 148, 0.025), transparent 76%);
}
html::after {
  display: none;
}

@media (max-width: 720px) {
  #settings-dialog .set-panels {
    padding-right: 1rem;
    scrollbar-gutter: stable;
  }
  html::before {
    background:
      radial-gradient(ellipse 34rem 30rem at 92% 0%, rgba(225, 230, 240, 0.07), transparent 74%),
      radial-gradient(ellipse 32rem 34rem at 0% 100%, rgba(196, 204, 218, 0.05), transparent 76%);
  }
}


/* First-run landing: keep navigation chrome out of the way until an account exists. */
body.is-empty #dock {
  display: none !important;
}
body.is-empty { padding-left: 0; }
body.is-empty header.brand {
  position: relative;
  inset: auto;
  width: auto;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-empty .brand-inner { max-width: var(--max); height: auto; margin: 0 auto; padding: 1.15rem 1rem 0.5rem; }
body.is-empty .topbar { flex-direction: column; align-items: center; gap: 0; height: auto; }
body.is-empty .brand-id { justify-content: center; margin: 0; }
body.is-empty .brand-home { justify-content: center; }
body.is-empty .brand-mark { width: 2.5rem; height: 2.5rem; }
body.is-empty .brand h1 { display: block; }
body.is-empty .topbar-controls { display: none; }
body.is-empty main { padding-top: 0.75rem; }
body.is-empty #landing { text-align: center; }
body.is-empty #landing:not([hidden]) { display: block; }
body.is-empty .landing-copy {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  align-items: center;
}
body.is-empty .landing-eyebrow { align-self: center; }
body.is-empty .landing-title,
body.is-empty .landing-sub { margin-left: auto; margin-right: auto; }
body.is-empty .landing-ctas { justify-content: center; }
body.is-empty .landing-coins {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 7rem;
  width: 34%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.12;
  translate: none;
  flex: none;
}
body.is-empty .landing-feats li { display: flex; flex-direction: column; align-items: center; text-align: center; }
body.is-empty .foot-inner { justify-content: center; }
body.is-empty .foot-ver { margin-left: 0; }
@media (max-width: 1023.98px) {
  /* The desktop empty-state box above (top:0 / bottom:7rem / width:34% /
     centered) outranks the base mobile backdrop rule, which dragged the
     coins down-left. Re-assert the backdrop geometry here: pinned to the
     top-right, bleeding off the right edge so the Euro stays ~75% visible. */
  body.is-empty .landing-coins {
    top: 2.75rem;
    right: -30px;
    bottom: auto;
    width: auto;
    align-items: flex-end;
    justify-content: flex-start;
    opacity: 0.25;
  }
}
