* { box-sizing: border-box; }

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

body {
  overflow: hidden;
  background: #fff;
  color: #151515;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.phone-screen {
  width: 100%;
  height: 100%;
  padding: 9% 6%;
  text-align: center;
}

.logo {
  width: 62%;
  aspect-ratio: 849 / 222;
  margin: 5% auto 0;
  background: url("daplie-logo.png") center / contain no-repeat;
}

.uppercase { text-transform: uppercase; }

.token-issuer {
  margin-top: 13%;
  font-size: clamp(10px, 2.7vw, 12px);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: .02em;
}

.account-name {
  margin-top: 11%;
  font-size: clamp(12px, 3.8vw, 18px);
  line-height: 1.2;
  font-weight: 300;
  overflow-wrap: anywhere;
}

.token-phone {
  margin-top: 8%;
  font-size: clamp(28px, 10vw, 48px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: .06em;
}

.countdown {
  min-height: 60px;
  margin-top: 10%;
  text-align: center;
}

.countdown canvas {
  max-width: 100%;
}

.fade { opacity: 0; }
.in { opacity: 1; transition: opacity .4s ease; }


/* Keep the preview readable on narrow mobile screens. */
.phone-screen {
  min-width: 0;
  overflow: hidden;
}

.countdown {
  font-variant-numeric: tabular-nums;
}
