html.dn-lock { overflow: hidden; }
.dn { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.dn[hidden] { display: none; }
.dn-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); }
.dn.is-stacked .dn-dim { background: rgba(0, 0, 0, .86); }
.dn-card {
  position: relative;
  width: min(460px, 100%);
  padding: 34px 30px 26px;
  border: 1px solid #34363d;
  border-radius: 20px;
  background: #16181d;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  text-align: left;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.dn-grip { display: none; }
.dn-ic { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(223, 16, 23, .16); }
.dn-ic svg { width: 32px; height: 32px; overflow: visible; }
.dn-ic rect,
.dn-ic path { fill: none; stroke: #ff3b42; stroke-width: 2.3; stroke-linecap: round; }
.dn-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 22px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: #24262c;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -.28px;
  color: #e6e6e6;
}
.dn-chip[hidden] { display: none; }
.dn-chip-k { flex: none; padding-right: 8px; border-right: 1px solid #34363d; font-weight: 500; color: #8a8a8a; }
.dn-chip-t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dn .dn-t { margin: 14px 0 0; font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.48px; color: #fff; }
.dn .dn-d span { display: block; text-wrap: balance; }
.dn .dn-d { margin: 10px 0 0; font-size: 17px; font-weight: 400; line-height: 1.6; letter-spacing: -.34px; color: #a3a3a3; }
.dn-ok {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #131313;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.36px;
  cursor: pointer;
  transition: color .22s cubic-bezier(.2,.8,.2,1);
}
.dn-ok::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #DF1017;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .22s cubic-bezier(.2,.8,.2,1);
}
.dn-ok:active { scale: .97; transition: scale .11s cubic-bezier(.2,.8,.2,1); }
.dn-ok:focus-visible { outline: 2px solid #ff3b42; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .dn-ok:hover { color: #fff; }
  .dn-ok:hover::before { transform: scaleX(1); }
}
@media (max-width: 640px) {
  .dn { align-items: flex-end; padding: 0; }
  .dn-card {
    width: 100%;
    padding: 12px 24px calc(20px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .5);
    touch-action: none;
  }
  .dn-grip { display: block; width: 40px; height: 5px; margin: 0 auto 18px; border-radius: 3px; background: #3a3a3a; }
  .dn .dn-t { font-size: 21px; letter-spacing: -.42px; }
  .dn .dn-d { font-size: 15px; letter-spacing: -.3px; }
  .dn-ok { height: 54px; margin-top: 24px; font-size: 17px; }
}
