.attn-phone-preview {
  --attn-phone-cyan: #4dd2ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: min(100%, 320px);
  min-width: 0;
  padding: 8px 18px 0;
  color: #f4f8fc;
}

.attn-phone-body {
  position: relative;
  width: min(100%, 239px);
  height: 468px;
  padding: 8px;
  border: 1px solid #474c52;
  border-radius: 38px;
  background: #020405;
  box-shadow: 0 0 0 4px #141a20, 0 0 0 5px #313942, 0 26px 53px -23px #54ccff78, 0 15px 26px #0009;
  transform: rotate(3deg);
}

.attn-phone-body::before, .attn-phone-body::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #37404a;
}
.attn-phone-body::before { left: -7px; top: 89px; height: 27px; box-shadow: 0 36px #37404a; }
.attn-phone-body::after { right: -7px; top: 102px; height: 39px; }

.attn-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: radial-gradient(120% 73% at 50% 0%, #204d62 0%, #13283a 37%, #0b151f 75%, #0a1016 100%);
  text-align: left;
  isolation: isolate;
}

.attn-phone-island {
  position: absolute;
  z-index: 1;
  inset: 8px auto auto 50%;
  width: 76px;
  height: 21px;
  transform: translateX(-50%);
  border-radius: 30px;
  background: #000;
  box-shadow: 0 1px 1px #ffffff12;
}
.attn-phone-island::after {
  content: '';
  position: absolute;
  right: 9px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 36%, #354b69 0, #172335 35%, #090c12 70%);
}
.attn-phone-status { position: absolute; top: 16px; right: 17px; display: flex; align-items: flex-end; gap: 5px; opacity: .8; }
.attn-phone-status span:first-child { width: 10px; height: 7px; background: #e2edf7; clip-path: polygon(0 100%, 0 75%, 21% 75%, 21% 55%, 48% 55%, 48% 32%, 74% 32%, 74% 0, 100% 0, 100% 100%); }
.attn-phone-status span:last-child { width: 13px; height: 7px; border: 1px solid #e2edf7; border-radius: 2px; background: linear-gradient(#e2edf7,#e2edf7) left 1px center / 8px 3px no-repeat; }

.attn-phone-lock { padding-top: 43px; text-align: center; }
.attn-phone-time { color: #f2f8ff; font-size: 53px; font-weight: 300; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.attn-phone-date { margin-top: 5px; color: #c4d5e2; font-size: 11px; font-weight: 500; line-height: 1.4; }
.attn-phone-feed { display: grid; gap: 7px; margin: 27px 0 0; padding: 0 8px; list-style: none; }

.attn-phone-alert {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  min-height: 70px;
  padding: 8px;
  border: 1px solid #c2dbf124;
  border-radius: 14px;
  background: #243545eb;
  box-shadow: 0 3px 12px #030b152f;
}
.attn-phone-alert-current {
  border-color: #9ed4f043;
  background: #2a4052f0;
  animation: attn-phone-arrive .48s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes attn-phone-arrive {
  from { opacity: 0; transform: translateY(-10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.attn-phone-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #0c1721; color: var(--attn-phone-cyan); }
.attn-phone-icon svg { display: block; width: 17px; height: 17px; }
.attn-phone-message { min-width: 0; font-size: 9.5px; line-height: 1.3; color: #f1f7fc; }
.attn-phone-alert-top { display: flex; justify-content: space-between; gap: 5px; color: #c4d4e2; font-size: 8px; line-height: 1.25; }
.attn-phone-alert-top b { color: #e4eff7; font-weight: 700; letter-spacing: .07em; }
.attn-phone-message strong { display: block; margin-top: 3px; font-size: 10px; font-weight: 700; }
.attn-phone-detail { display: block; margin-top: 2px; color: #dae7f3; }
.attn-phone-gesture { position: absolute; inset: auto auto 8px 50%; width: 72px; height: 3px; border-radius: 8px; background: #b8cbd9a6; transform: translateX(-50%); }

.attn-phone-caption { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 11px; color: #b4c7d8; min-height: 28px; font-size: 10px; font-weight: 600; line-height: 1.4; letter-spacing: .09em; text-align: center; text-transform: uppercase; }
.attn-phone-toggle { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border: 1px solid #a6d0ee3d; border-radius: 50%; background: transparent; color: #c3d7e6; cursor: pointer; }
.attn-phone-toggle:hover { border-color: var(--attn-phone-cyan); color: var(--attn-phone-cyan); }
.attn-phone-toggle:focus-visible { outline: 2px solid var(--attn-phone-cyan); outline-offset: 3px; }
.attn-phone-toggle svg { width: 13px; height: 13px; }

@media (max-width: 740px) {
  .attn-phone-preview { padding-top: 4px; }
  .attn-phone-body { height: 444px; transform: none; }
  .attn-phone-feed { margin-top: 23px; }
  .attn-phone-caption { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .attn-phone-alert-current { animation: none; }
}
