.phone {
  display: grid;
  gap: var(--sp-2);
  justify-items: center;
}

.phone-screen {
  display: block;
  height: min(76svh, 720px);
  min-height: 420px;
  aspect-ratio: 540 / 1168;
  border: 8px solid #120d18;
  border-radius: 36px;
  outline: 1px solid var(--gold-line-strong);
  outline-offset: 3px;
  background: var(--night);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(160, 26, 52, 0.18);
  object-fit: cover;
}

.phone-screen:focus-visible {
  outline: 2px solid var(--gold-bright);
}

.play-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  max-width: 540px;
  padding: var(--sp-3);
  border: 1px solid var(--gold-line-strong);
  background: var(--velvet-glass);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.play-card:target {
  border-color: var(--gold);
}

.qr {
  flex: none;
}

.qr-code {
  width: 160px;
  height: 160px;
  padding: 10px;
  background: var(--ivory);
}

.qr-code svg {
  display: block;
  width: 100%;
  height: 100%;
}

.play-card-text {
  display: grid;
  gap: var(--sp-1);
  min-width: 0;
}

.play-card-heading {
  font-family: var(--font-head);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.45;
}

.play-card-pc {
  color: var(--ivory);
  font-weight: 700;
}

.is-handheld [data-pc-only] {
  display: none;
}

.play-card-note {
  color: var(--ivory-mid);
  font-size: var(--fs-sm);
}

.play-card-url {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-1);
  font-size: var(--fs-sm);
}

.play-card-url-label {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
}

.play-card-url-value {
  font-weight: 700;
  overflow-wrap: anywhere;
  user-select: all;
}

.play-card-open {
  justify-self: start;
  min-height: 48px;
  margin-top: var(--sp-1);
}

.play-card-open[hidden] {
  display: none;
}

.is-handheld .qr,
.is-handheld .closing-qr {
  display: none;
}

@media (max-width: 560px) {
  .play-card {
    flex-direction: column;
    align-items: stretch;
  }

  .qr {
    align-self: center;
  }

  .phone-screen,
  .hero-phone .phone-screen {
    width: min(100%, 300px);
    height: auto;
    min-height: 0;
  }
}
