/* Shared by the pre-JavaScript screen and React's Loading component. */
@font-face {
  font-family: "Ripple Inter";
  src: url("./ripple-inter.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.ripple-loading {
  box-sizing: border-box;
  color: #191c20;
  font-family: "Ripple Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-weight: 400;
  text-align: center;
}

.ripple-startup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: #fff;
  padding: 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.ripple-content {
  margin: auto;
}

.ripple-art {
  display: block;
  width: min(260px, 70vw);
  height: auto;
  aspect-ratio: 5 / 4;
  margin: 0 auto;
  user-select: none;
}

.ripple-title {
  margin: 4px 0 10px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.8px;
}

.ripple-label {
  margin: 0;
  color: #858494;
  font-size: 14px;
  line-height: 1.5;
}

.ripple-signature {
  margin: 0;
  color: #858494;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.1px;
}

.ripple-compact {
  display: flex;
  min-height: 240px;
  padding: 24px 0;
}

.ripple-compact .ripple-art {
  width: 120px;
  margin-bottom: 12px;
}

/* Match the app's desktop phone frame while the JavaScript bundle loads. */
.ripple-bootstrap {
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100dvh;
}

@media (min-width: 431px), (min-height: 933px) {
  .ripple-bootstrap {
    background: rgb(0 0 0 / 10%);
  }

  .ripple-bootstrap > .ripple-startup {
    max-width: 430px;
    max-height: 896px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
  }
}
