/* The camera registers this 402 × 874 artboard to the photographed display. */
.phone-display {
  position: absolute;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(#31483f, #192522 50%, #101615);
  color: #fff;
  font: 15px/1.2 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
  color-scheme: dark;
}
.phone-player { position: absolute; inset: 0; }
.phone-island {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 31px; border-radius: 18px; background: #020303; pointer-events: none;
}
.phone-island::after {
  content: ''; position: absolute; right: 9px; top: 9px; width: 13px; height: 13px;
  border-radius: 50%; background: radial-gradient(circle at 42% 36%, #19232c, #080b10 32%, #010202 70%);
}
.phone-system {
  position: absolute; inset: 24px 36px auto 52px; height: 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-size:17px; font-weight:600; font-variant-numeric:tabular-nums; pointer-events:none;
}
.phone-indicators { display:flex; gap:6px; align-items:center; }
.phone-signal { display:flex; align-items:flex-end; gap:1.8px; height:13px; }
.phone-signal i { width:3.4px; background:currentColor; border-radius:2px; }
.phone-signal i:nth-child(1) { height:6px; } .phone-signal i:nth-child(2) { height:8px; }
.phone-signal i:nth-child(3) { height:10.5px; } .phone-signal i:nth-child(4) { height:13px; opacity:.38; }
.phone-wifi { width:19px; height:16px; }
.phone-battery { position:relative; width:25px; border-radius:4px; background:linear-gradient(to right,#fff 73%,#fff6 73%); color:#31423b; text-align:center; font-size:12px; font-weight:750; line-height:14px; }
.phone-battery::after { content:''; position:absolute; left:calc(100% + 1px); top:5px; width:2px; height:5px; border-radius:0 2px 2px 0; background:#fff6; }
.phone-navigation {
  position: absolute; inset: 76px 24px auto; height: 44px; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
}
.phone-navigation strong, .phone-title {
  font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -.5px;
}
.phone-icon-button, .phone-pill {
  display: flex; align-items: center; justify-content: center; padding: 0;
  box-sizing: border-box; border: 1px solid var(--glass-edge, #d8eee033);
  border-radius: 100px;
  background:
    linear-gradient(155deg, #ffffff24, transparent 37%, #ffffff07 72%, #ffffff14),
    var(--glass-fill, #34473fd6);
  box-shadow: inset 0 1px 1px #fff2, inset 0 -1px 1px #0002, 0 2px 6px #050b081a;
  -webkit-backdrop-filter: blur(9px) saturate(1.14);
  backdrop-filter: blur(9px) saturate(1.14);
  cursor: pointer;
}
.phone-navigation strong { position:absolute; inset-inline:50% auto; transform:translateX(-50%); pointer-events:none; white-space:nowrap; }
.phone-icon-button { width:44px; height:44px; position:relative; }
.phone-icon-button::after {
  content: ''; position: absolute; inset: max(-14px, calc((44px - 44px / var(--focus-scale, 1)) / 2));
}
#phone-back img { transform: rotate(180deg); }
.phone-artwork {
  position: absolute; left: 120px; top: 142px; width: 162px; height: 216px;
  object-fit: cover; border-radius: 20px; box-shadow: 0 12px 24px #00000047;
}
.phone-track { position: absolute; top: 397px; inset-inline: 24px; text-align: center; }
.phone-title { display: block; white-space: nowrap; color: white; }
#phone-status { display: block; margin-top: 8px; line-height: 18px; color: #b3c4ba; }
.phone-player:has(.phone-toggle[aria-pressed=true]) #phone-status { color: #b9e4ca; }
.phone-wave { position:absolute; inset-inline:0; top:511px; width:100%; height:54px; pointer-events:none; }
.phone-pill {
  position: absolute; inset-inline: 26px; height: 65px; width: auto; gap: 10px;
  font: 600 17px/20px -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #14251e; border: 1px solid #e7fff25e;
  border-top-color: #f5fff2d9; border-bottom-color: #c7eddb8c;
  background:
    radial-gradient(ellipse at 5% 0%, #ffffff65, transparent 48%),
    linear-gradient(173deg, #ffffff2e, transparent 46%, #26392f0a 74%, #ffffff32),
    var(--glass-fill);
  box-shadow: inset 0 1px 2px #ffffffe0, inset 0 -2px 4px #f2fff586, 0 3px 8px #030b0866;
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
}
.phone-choice { top: 606px; --glass-fill: #d8e8dacc; }
.phone-choice img { width: 19px; height: 19px; transform: rotate(90deg); }
.phone-choice[aria-expanded=true] img { transform: rotate(-90deg); }
.phone-track-menu {
  position: absolute; inset-inline: 26px; bottom: calc(100% - 596px); z-index: 4;
  padding: 8px; border-radius: 34px; overflow: hidden;
  border: 1px solid #e2ffeb50; border-top-color: #edfff5a6;
  background: radial-gradient(ellipse at 0% 0%, #b6dfc52c, transparent 48%),
              linear-gradient(145deg, #354a40de, #17271fe8);
  box-shadow: inset 0 1px 2px #ffffff40, inset 0 -1px 2px #d7f8e124, 0 14px 32px #0007;
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
  backdrop-filter: blur(24px) saturate(1.45);
}
.phone-track-menu button {
  position: relative; display: flex; align-items: center; gap: 15px; width: 100%;
  min-height: clamp(62px, calc(44px / var(--focus-scale, 1)), 78px);
  padding: 0 19px; border-radius: 24px; text-align: start;
  font-size: 22px; font-weight: 550; color: #f4faf6;
}
.phone-track-menu button + button::before {
  content: ''; position: absolute; inset: 0 16px auto 61px; height: 1px; background: #d3efdd26;
}
.phone-track-menu button[aria-checked=true] { background: #deffe31c; }
.phone-track-menu button[aria-checked=true]::before,
.phone-track-menu button[aria-checked=true] + button::before { opacity: 0; }
.phone-track-menu .language-indicator {
  width: 16px; height: 9px; margin-inline-start: auto; border: 0; border-radius: 0;
  border-left: 3px solid; border-bottom: 3px solid; transform: translateY(-2px) rotate(-45deg);
  color: #c9f4d9; visibility: hidden;
}
.phone-track-menu [aria-checked=true] .language-indicator { visibility: visible; }
.phone-display .phone-track-menu button:focus-visible { outline: 2px solid #d0f4df; outline-offset: -3px; }
.phone-toggle { top: 685px; --glass-fill: #aadfbed1; }
.phone-toggle img { border-radius: 50%; }
.is-close .phone:not(.is-asleep) .phone-toggle.first-use[aria-pressed=false]::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 13px 3px #aaf2c255;
  animation: phone-invite 2.8s ease-in-out infinite alternate;
}
@keyframes phone-invite { from { opacity: .18; } to { opacity: .94; } }
.phone-volume {
  position: absolute; top: 790px; inset-inline: 24px; height: 44px;
  display: grid; grid-template-columns: 16px 1fr 16px; gap: 12px; align-items: center;
  text-align: center; color: #b3c4ba; font-size: 16px;
}
.phone-volume input {
  appearance: none; -webkit-appearance: none; width: 100%; height: 44px; margin: 0;
  background: transparent; border: 0; padding: 0; touch-action: none; cursor: pointer;
  --rail: linear-gradient(to right, #d7eddddb var(--mix, 50%), #8ca39855 var(--mix, 50%));
  --rail-edge: inset 0 1px 1px #ffffff45, inset 0 -1px 1px #07120d6b;
  --thumb: radial-gradient(ellipse at 34% 20%, #fffffff5, #eafaf0cc 37%, #a1bdaecc 74%, #eaf8eede);
  --thumb-edge: inset 0 1px 2px white, inset 0 -1px 2px #d5efde, 0 2px 5px #0008;
}
.phone-volume input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--rail); box-shadow: var(--rail-edge); }
.phone-volume input::-moz-range-track { height: 6px; border-radius: 3px; background: var(--rail); box-shadow: var(--rail-edge); }
.phone-volume input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 31px; height: 23px; margin-top: -8.5px;
  border: 1px solid #eafaf0b8; border-radius: 20px; background: var(--thumb); box-shadow: var(--thumb-edge);
}
.phone-volume input::-moz-range-thumb {
  box-sizing: border-box; width: 31px; height: 23px; border: 1px solid #eafaf0b8;
  border-radius: 20px; background: var(--thumb); box-shadow: var(--thumb-edge);
}
.phone-home { position: absolute; bottom: 12px; left: 137px; width: 128px; height: 5px; border-radius: 4px; background: #dae2dd; }
.phone-display :is(button,input):focus-visible { outline: 3px solid white; outline-offset: 2px; }
.phone-wake {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0;
  border: 0; background: transparent; cursor: pointer;
}
.phone-display::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 4;
  pointer-events: none; background: black; opacity: 0; transition: opacity .18s ease;
}
.is-asleep .phone-display::after { opacity: .8; }
.is-asleep #phone-sleep { --glass-fill: #b9c5be; }
@media (hover: hover) {
  .phone-pill:hover, .phone-icon-button:hover { filter: brightness(1.06); }
  .phone-track-menu button:hover { background: #deffe325; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-display::after { transition: none; }
  .is-close .phone:not(.is-asleep) .phone-toggle.first-use[aria-pressed=false]::before { animation: none; opacity: .4; }
}
