:root {
  --blue: #007aff;
  --green: #34c759;
  --red: #ff3b30;
  --line: #e5e5ea;
  --wa: #25d366;
  --spotify: #1ed760;
  --glass: rgba(245, 245, 247, 0.72);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
  background: #000;
  color: #111;
}
button,
input {
  font: inherit;
}
.hidden {
  display: none !important;
}
.experience {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.intro {
  display: none;
  width: 100%;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
}
.intro.active {
  display: grid;
}
.intro-card {
  width: min(430px, 92vw);
  color: #fff;
}
.intro-logo {
  width: 90px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #aaa;
}
.intro h1 {
  font-size: 54px;
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 10px 0 18px;
}
.intro p {
  color: #bbb;
  line-height: 1.55;
}
.primary {
  margin-top: 24px;
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 17px;
  background: #fff;
  color: #000;
  font-weight: 700;
}
.phone-scene {
  display: none;
  min-height: 100vh;
  width: 100%;
  place-items: center;
  padding: 16px;
}
.phone-scene.active {
  display: grid;
}
.device {
  width: min(440px, 94vw);
  height: min(885px, 92vh);
  border: 11px solid #1b1c20;
  border-radius: 58px;
  background: #000;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5);
}
.screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 46px;
  background: #fff;
}
.status-bar {
  position: absolute;
  z-index: 70;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
}
.light-status {
  color: #111;
}
.dark-status {
  color: #fff;
}
.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-cell {
  width: 20px;
  height: 15px;
  fill: currentColor;
}
.status-wifi {
  width: 18px;
  height: 14px;
}
.battery-pill {
  min-width: 31px;
  height: 17px;
  border-radius: 5px;
  background: currentColor;
  color: inherit;
  position: relative;
  display: grid;
  place-items: center;
}
.light-status .battery-pill {
  color: #fff;
  background: #111;
}
.dark-status .battery-pill {
  color: #111;
  background: #fff;
}
.battery-pill:after {
  content: "";
  position: absolute;
  right: -3px;
  width: 2px;
  height: 7px;
  border-radius: 0 2px 2px 0;
  background: currentColor;
}
.battery-pill span {
  font-size: 10px;
  font-weight: 800;
}
.dynamic-island {
  position: absolute;
  z-index: 72;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 132px;
  height: 36px;
  border-radius: 22px;
  background: #000;
  pointer-events: none;
}
.view {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
}
.active-view {
  display: block;
}
.home-indicator {
  touch-action: none;
  position: absolute;
  z-index: 95;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 145px;
  height: 5px;
  border: 0;
  border-radius: 10px;
  background: #111;
}
.device.dark-ui .home-indicator {
  background: #fff;
}

/* LOCK */
.lock-view {
  touch-action: none;
  background: url("assets/images/lockscreen-cicatrices.png") center/cover
    no-repeat;
  color: #fff;
}
.lock-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.22),
    transparent 47%,
    rgba(0, 0, 0, 0.38)
  );
}
.lock-center {
  position: absolute;
  top: 126px;
  left: 20px;
  right: 20px;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.38);
}
.lock-date {
  font-size: 19px;
  font-weight: 500;
}
.lock-time {
  font-size: 78px;
  font-weight: 300;
  letter-spacing: -0.06em;
  margin: -6px 0 2px;
}
.lock-copy {
  font-size: 15px;
  font-style: italic;
}
.lock-notifications {
  position: absolute;
  left: 15px;
  right: 15px;
  top: 365px;
  display: grid;
  gap: 10px;
}
.lock-notif {
  border: 0;
  border-radius: 22px;
  background: rgba(232, 232, 235, 0.5);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  color: #fff;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 11px;
  text-align: left;
  padding: 12px;
}
.lock-notif img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.lock-notif b {
  font-size: 16px;
}
.lock-notif small {
  float: right;
  font-size: 12px;
  opacity: 0.85;
}
.lock-notif strong {
  display: block;
  font-size: 13px;
  margin-top: 2px;
}
.lock-notif p {
  margin: 1px 0 0;
  font-size: 14px;
}
.unlock {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  margin: auto;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

/* HOME iOS 26 */
.home-view {
  background: url("assets/images/home-wallpaper.jpg") center/cover no-repeat;
  padding: 82px 24px 125px;
  color: #fff;
}
.home-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.12));
}
.home-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 14px;
}
.app-icon {
  position: relative;
  border: 0;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 11px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  min-width: 0;
}
.app-icon img,
.calendar-icon {
  width: 61px;
  height: 61px;
  border-radius: 15px;
  object-fit: contain;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
}
.calendar-icon {
  background: #fff;
  color: #111;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-shadow: none;
  overflow: hidden;
}
.calendar-icon small {
  position: absolute;
  top: 5px;
  color: #ff3b30;
  font-size: 8px;
  font-weight: 700;
}
.calendar-icon b {
  font-size: 30px;
  font-weight: 400;
  margin-top: 7px;
}
.app-icon span:last-child {
  max-width: 78px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-icon.has-badge i {
  position: absolute;
  top: -5px;
  left: 53%;
  background: #ff3b30;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 99px;
  width: 22px;
  height: 22px;
  font-style: normal;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.liquid {
  background: rgba(240, 240, 245, 0.35);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 8px 30px rgba(0, 0, 0, 0.14);
}
.dock {
  position: absolute;
  z-index: 3;
  left: 17px;
  right: 17px;
  bottom: 27px;
  height: 88px;
  border-radius: 31px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px 13px;
}
.dock button {
  border: 0;
  background: none;
  padding: 0;
}
.dock img {
  width: 59px;
  height: 59px;
  border-radius: 15px;
}

/* APP SHARED / LIQUID GLASS NAV */
.app-view {
  touch-action: pan-y;
  background: #fff;
  padding-top: 54px;
  overflow: auto;
}
.app-content {
  min-height: 100%;
  background: #fff;
}
.ios-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: rgba(250, 250, 252, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ios-nav h2 {
  margin: 0;
  font-size: 18px;
}
.ios-nav .back,
.ios-nav .action,
.glass-btn {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(245, 245, 248, 0.72);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  color: #111;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}
.ios-nav .back {
  width: 40px;
  height: 40px;
  font-size: 25px;
}
.ios-nav .action {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  color: var(--blue);
}
.section-title {
  font-size: 34px;
  line-height: 1;
  margin: 15px 16px 10px;
}
.search-box {
  margin: 0 16px 12px;
  border-radius: 13px;
  background: #f2f2f7;
  color: #8e8e93;
  padding: 10px 12px;
  font-size: 15px;
}
.list {
  background: #fff;
}
.row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 15px;
  min-height: 72px;
  border-bottom: 1px solid #ededf0;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e5ea;
}
.avatar.initial {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: #c7c7cc;
}
.row-copy {
  min-width: 0;
}
.row-copy b {
  display: block;
  font-size: 16px;
}
.row-copy span {
  display: block;
  color: #777;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
}
.row-meta {
  align-self: start;
  margin-top: 6px;
  color: #8e8e93;
  font-size: 12px;
}
.blue-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  margin-right: 4px;
}
.chip-row {
  display: flex;
  gap: 7px;
  padding: 0 16px 13px;
  overflow: auto;
}
.chip {
  background: #f2f2f7;
  border: 0;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 13px;
  color: #555;
  white-space: nowrap;
}
.chip.active {
  background: #dcdce1;
  color: #111;
}

/* Messages */
.messages-app {
  background: #fff;
  min-height: 100%;
  padding-top: 4px;
}
.thread-wrap {
  height: calc(100vh - 112px);
  display: flex;
  flex-direction: column;
  background: #fff;
}
.thread-head {
  height: 72px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px);
}
.thread-head .back {
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 30px;
}
.thread-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.thread-person .avatar {
  width: 38px;
  height: 38px;
}
.thread-person b {
  font-size: 11px;
}
.thread-tools {
  display: flex;
  gap: 7px;
}
.icon-glass {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 1px solid rgba(220, 220, 225, 0.8);
  background: rgba(246, 246, 248, 0.85);
  display: grid;
  place-items: center;
  color: var(--blue);
}
.icon-glass svg {
  width: 20px;
  height: 20px;
}
.bubble-area {
  flex: 1;
  padding: 14px 10px 105px;
  overflow: auto;
}
.time-label {
  text-align: center;
  color: #8e8e93;
  font-size: 11px;
  margin: 10px 0;
}
.bubble-line {
  display: flex;
  margin: 4px 0;
}
.bubble-line.me {
  justify-content: flex-end;
}
.bubble {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.28;
}
.bubble-line.me .bubble {
  background: #0b84ff;
  color: #fff;
  border-bottom-right-radius: 6px;
}
.bubble-line.them .bubble {
  background: #e9e9eb;
  color: #111;
  border-bottom-left-radius: 6px;
}
.imessage-compose {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 7px;
  align-items: center;
}
.imessage-compose button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 20px;
  background: #f2f2f7;
  display: grid;
  place-items: center;
}
.imessage-compose .field {
  height: 40px;
  border: 1px solid #d1d1d6;
  border-radius: 20px;
  padding: 10px 14px;
  color: #999;
  background: #fff;
}

/* WhatsApp */
.wa-app {
  min-height: 100%;
  background: #fff;
}
.wa-top-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.wa-top-actions .icon-glass {
  color: #111;
}
.wa-search {
  margin: 7px 16px 10px;
  background: #f2f2f7;
  border-radius: 13px;
  padding: 10px 12px;
  color: #8e8e93;
}
.wa-row {
  grid-template-columns: 54px 1fr auto;
}
.wa-row .avatar {
  width: 49px;
  height: 49px;
}
.checks {
  color: #00a884;
  font-weight: 700;
}
.green-badge {
  background: #25d366;
  color: #fff;
  border-radius: 99px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
  margin-top: 5px;
}
.wa-thread {
  height: calc(100vh - 112px);
  display: flex;
  flex-direction: column;
  background: #efe9df;
}
.wa-thread-head {
  height: 70px;
  background: rgba(247, 244, 240, 0.9);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 44px 42px 1fr auto;
  align-items: center;
  padding: 6px 9px;
  gap: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.wa-thread-head .back {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: 1px solid #cfc9c1;
  background: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
}
.wa-thread-head .avatar {
  width: 40px;
  height: 40px;
}
.wa-thread-head b {
  display: block;
  font-size: 16px;
}
.wa-thread-head small {
  color: #777;
}
.wa-thread-tools {
  display: flex;
  gap: 7px;
}
.wa-thread-tools .icon-glass {
  background: rgba(255, 255, 255, 0.54);
  border-color: #cfc9c1;
  color: #111;
}
.wa-chat {
  flex: 1;
  padding: 12px 10px 104px;
  overflow: auto;
  background-color: #efe9df;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110' viewBox='0 0 110 110'%3E%3Cg fill='none' stroke='%23d8d0c5' stroke-width='1.2' opacity='.55'%3E%3Cpath d='M10 18c8-7 17-5 21 4M76 15l8 8-8 8M17 72c11-10 22-2 20 9M67 67c4-11 18-10 22 0M48 18h10v10H48zM48 74l9-5 8 8-9 6z'/%3E%3Ccircle cx='20' cy='48' r='7'/%3E%3Cpath d='M84 48c8 0 8 12 0 12s-8-12 0-12zM7 98h18M92 93l7 7M52 49q7-8 14 0q-7 8-14 0z'/%3E%3C/g%3E%3C/svg%3E");
}
.wa-day {
  width: max-content;
  margin: 3px auto 10px;
  background: #fff;
  border-radius: 16px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.wa-encryption {
  max-width: 86%;
  margin: 0 auto 14px;
  background: #fff3d1;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: #665c45;
}
.wa-bubble-line {
  display: flex;
  margin: 5px 0;
}
.wa-bubble-line.me {
  justify-content: flex-end;
}
.wa-bubble {
  max-width: 83%;
  background: #fff;
  padding: 8px 10px 6px;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.07);
  font-size: 14px;
}
.wa-bubble-line.me .wa-bubble {
  background: #d9fdd3;
}
.wa-bubble small {
  float: right;
  margin-left: 9px;
  color: #777;
  font-size: 10px;
  margin-top: 5px;
}
.wa-bubble .bluechecks {
  color: #0a84ff;
}
.wa-input {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 19px;
  display: grid;
  grid-template-columns: 40px 1fr 40px 44px;
  gap: 6px;
  align-items: center;
}
.wa-input button {
  border: 0;
  background: none;
  display: grid;
  place-items: center;
}
.wa-input .field {
  height: 42px;
  background: #fff;
  border: 1px solid #cfc9c1;
  border-radius: 21px;
  padding: 11px;
  color: #8e8e93;
}

/* Phone + FaceTime */
.phone-app,
.facetime-app {
  background: #fff;
  min-height: 100%;
}
.phone-tabs {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 23px;
  height: 66px;
  border-radius: 26px;
  background: rgba(246, 246, 248, 0.72);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #727277;
  font-size: 10px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}
.phone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.phone-tab svg {
  width: 20px;
  height: 20px;
}
.phone-tab.active {
  color: var(--blue);
}

/* Call overlay */
.call-screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #64656b, #1c1d22 56%, #0d0e10);
  color: #fff;
  display: flex;
  flex-direction: column;
  z-index: 99;
}
.call-screen:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/home-wallpaper.jpg") center/cover;
  filter: blur(34px) brightness(0.42);
  transform: scale(1.12);
  opacity: 0.78;
}
.call-screen > * {
  position: relative;
  z-index: 1;
}
.call-head {
  text-align: center;
  padding-top: 106px;
}
.call-head small {
  font-size: 15px;
  opacity: 0.85;
}
.call-head h2 {
  font-size: 34px;
  margin: 8px 0;
}
.call-head p {
  margin: 0;
  color: #ddd;
}
.call-actions {
  margin-top: auto;
  padding: 0 45px 80px;
  display: flex;
  justify-content: space-between;
}
.call-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}
.call-circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.call-circle svg {
  width: 30px;
  height: 30px;
}
.decline .call-circle {
  background: #ff3b30;
}
.accept .call-circle {
  background: #34c759;
}
.active-call-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 48px;
  margin-top: auto;
}
.active-call-actions .call-circle {
  background: rgba(255, 255, 255, 0.18);
}
.hangup {
  margin: 48px auto 75px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #ff3b30;
  border: 0;
  color: #fff;
  display: grid;
  place-items: center;
}
.hangup svg {
  width: 30px;
}

/* Files/audio/gallery */
.lock-file {
  min-height: 100%;
  background: #f2f2f7;
}
.file-card {
  margin: 22px 16px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
}
.file-card h3 {
  font-size: 23px;
}
.code-input {
  display: flex;
  gap: 10px;
}
.code-input input {
  flex: 1;
  border: 1px solid #d1d1d6;
  border-radius: 12px;
  padding: 13px;
  font-size: 17px;
  text-transform: uppercase;
}
.code-input button {
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #fff;
  padding: 0 16px;
  font-weight: 700;
}
.audio-player {
  padding: 0 18px 25px;
  text-align: center;
  background: #fff;
  min-height: 100%;
}
.audio-cover {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: cover;
  margin: 22px auto 14px;
  display: block;
}
.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
}
.controls button {
  border: 0;
  background: none;
  font-size: 18px;
}
.controls .play {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 25px;
}
.files-app {
  background: #f2f2f7;
  min-height: 100%;
}
.files-block {
  background: #fff;
  margin: 12px;
  border-radius: 15px;
  overflow: hidden;
}
.file-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #eee;
}
.file-row:last-child {
  border-bottom: 0;
}
.photos-app {
  background: #fff;
  min-height: 100%;
}
.photo-toolbar {
  padding: 12px 15px 8px;
}
.photo-toolbar h1 {
  font-size: 32px;
  margin: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.photo-viewer {
  position: absolute;
  inset: 54px 0 0;
  background: #000;
  color: #fff;
  z-index: 25;
  display: none;
}
.photo-viewer.open {
  display: block;
}
.photo-viewer img {
  width: 100%;
  height: calc(100% - 70px);
  object-fit: contain;
}
.viewer-top {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}
.viewer-top button {
  background: none;
  border: 0;
  color: #fff;
  font-size: 27px;
}

/* screenshot apps */
.screen-shot-app {
  position: relative;
  background: #fff;
  min-height: 100%;
  overflow: auto;
}
.screen-shot-app img.full-shot {
  display: block;
  width: 100%;
  height: auto;
}
.hotspot {
  position: absolute;
  background: transparent;
  border: 0;
  z-index: 5;
}

/* Camera */
.camera-app {
  position: relative;
  height: calc(100vh - 54px);
  background: #000;
}
.camera-app video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.camera-ui {
  position: absolute;
  inset: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
}
.cam-glass-row {
  display: flex;
  justify-content: space-between;
}
.cam-modes {
  display: flex;
  justify-content: center;
  gap: 19px;
  font-size: 11px;
  margin-bottom: 12px;
}
.cam-modes b {
  color: #ffd60a;
}
.cam-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}
.shutter {
  justify-self: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 5px solid #fff;
  background: transparent;
  box-shadow: inset 0 0 0 3px #000;
}
.thumb {
  width: 49px;
  height: 49px;
  border-radius: 9px;
  background: url("assets/images/gallery-track-1.png") center/cover;
}
.flipbtn {
  justify-self: end;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: rgba(30, 30, 30, 0.55);
  display: grid;
  place-items: center;
}

/* Notes / settings / Spotify / Calendar */
.notes-app {
  background: #f7f6f2;
  min-height: 100%;
  padding-bottom: 20px;
}
.notes-title {
  font-size: 34px;
  margin: 12px 16px;
}
.settings-app {
  background: #f2f2f7;
  min-height: 100%;
  padding-top: 4px;
}
.settings-app h1 {
  font-size: 33px;
  margin: 14px 16px;
}
.setting-card {
  margin: 12px 14px;
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
}
.setting-row {
  padding: 13px 14px;
  border-bottom: 1px solid #e5e5ea;
  display: flex;
  justify-content: space-between;
}
.setting-row:last-child {
  border-bottom: 0;
}
.setting-row span:last-child {
  color: #8e8e93;
}
.spotify-app {
  min-height: 100%;
  background: linear-gradient(#333, #121212 42%);
  color: #fff;
  padding-bottom: 30px;
}
.spotify-hero {
  padding: 30px 18px 18px;
}
.spotify-hero img {
  width: 190px;
  aspect-ratio: 1;
  border-radius: 4px;
  display: block;
  margin: auto;
  object-fit: cover;
}
.spotify-hero h1 {
  font-size: 30px;
  margin: 20px 0 4px;
}
.spotify-hero p {
  color: #bbb;
}
.spot-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 18px;
}
.spot-play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: var(--spotify);
  font-size: 24px;
}
.spot-track {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  padding: 12px 18px;
  color: #ddd;
}
.spot-track small {
  display: block;
  color: #999;
  margin-top: 2px;
}
.calendar-app {
  min-height: 100%;
  background: #fff;
}
.calendar-event {
  margin: 18px 16px;
  border-radius: 18px;
  background: #f2f2f7;
  padding: 16px;
}
.calendar-event .datebadge {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 27px;
  float: left;
  margin-right: 12px;
}
.calendar-event h3 {
  margin: 3px 0 6px;
}
.calendar-event p {
  margin: 0;
  color: #666;
}

/* modal */
.modal {
  position: absolute;
  z-index: 100;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal.call-modal {
  padding: 0;
  background: transparent;
}
.modal-card {
  width: 100%;
  max-width: 330px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
}
.modal-card input {
  width: 100%;
  border: 1px solid #d1d1d6;
  border-radius: 11px;
  padding: 12px;
  font-size: 17px;
  text-transform: uppercase;
}
.modal-actions {
  display: flex;
  gap: 9px;
  margin-top: 12px;
}
.modal-actions button {
  flex: 1;
  border: 0;
  border-radius: 11px;
  padding: 12px;
  font-weight: 700;
}
.cancel {
  background: #f2f2f7;
}
.ok {
  background: #007aff;
  color: #fff;
}
.toast {
  position: absolute;
  z-index: 110;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  background: rgba(30, 30, 30, 0.9);
  color: #fff;
  border-radius: 13px;
  padding: 10px 14px;
  font-size: 13px;
  white-space: nowrap;
}

svg.ui {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-height: 760px) {
  .device {
    height: 96vh;
  }
  .home-grid {
    gap: 18px 11px;
  }
  .app-icon img,
  .calendar-icon {
    width: 54px;
    height: 54px;
  }
  .dock {
    height: 76px;
  }
  .dock img {
    width: 50px;
    height: 50px;
  }
  .lock-notifications {
    top: 320px;
  }
}

/* V7 — phone-relative layout, shared controls and interactive app surfaces. */
:root {
  --safe-top: 0px;
  --safe-bottom: 0px;
  --status-height: 59px;
  --bottom-space: 34px;
}
body {
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
  touch-action: manipulation;
}
button:active {
  filter: brightness(0.92);
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #007aff;
  outline-offset: 2px;
}
button,
input {
  min-height: 44px;
}
input {
  min-width: 0;
  font-size: 16px;
}
button .ui {
  flex-shrink: 0;
}
svg.ui {
  stroke-width: 1.7;
  vertical-align: middle;
  flex-shrink: 0;
}
.experience,
.intro,
.phone-scene {
  min-height: 100dvh;
}
.phone-scene {
  padding: 20px;
}
.device {
  width: 422px;
  height: min(914px, 95dvh);
  border: 10px solid #393734;
  border-radius: 62px;
  box-shadow:
    0 0 0 2px #77736e,
    0 0 0 5px #161616,
    0 35px 100px #000;
}
.screen {
  border-radius: 52px;
  isolation: isolate;
  --screen-bottom: var(--bottom-space);
}
.status-bar {
  height: var(--status-height);
  padding: 0 30px;
  font-size: 15px;
  padding-top: var(--safe-top);
}
.dynamic-island {
  top: calc(11px + var(--safe-top));
  width: 124px;
  height: 35px;
  transition: width 0.3s;
}
.dynamic-island.is-playing {
  width: 138px;
}
.dynamic-island.is-playing:after {
  content: "";
  position: absolute;
  right: 12px;
  top: 13px;
  width: 13px;
  height: 9px;
  background: repeating-linear-gradient(
    90deg,
    #ff5269 0 2px,
    transparent 2px 4px
  );
  animation: wave-pulse 0.7s infinite alternate;
}
.home-indicator {
  width: 160px;
  height: 34px;
  bottom: var(--safe-bottom);
  background: none !important;
  border-radius: 0;
  min-height: 34px;
  touch-action: none;
}
.home-indicator:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 5px;
  border-radius: 5px;
  background: #111;
}
.dark-ui .home-indicator:after {
  background: #fff;
}
.app-view {
  padding-top: var(--status-height);
  overflow: hidden;
  touch-action: pan-y;
}
.app-content {
  height: 100%;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding-bottom: var(--bottom-space);
}
.app-content::-webkit-scrollbar {
  display: none;
}
.app-content > div,
.app-content > article {
  min-height: 100%;
}
.view.active-view {
  animation: app-appear 0.2s ease-out;
}
.ios-nav {
  height: 58px;
  flex-shrink: 0;
  padding: 0 14px;
}
.ios-nav h2 {
  font-size: 17px;
  max-width: 70%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.ios-nav .back,
.ios-nav .action,
.icon-glass {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: inline-grid;
  place-items: center;
}
.ios-nav .action {
  width: auto;
}
.nav-spacer {
  width: 44px;
}
.icon-glass {
  color: inherit;
  background: rgba(245, 245, 247, 0.7);
  border-color: rgba(0, 0, 0, 0.04);
  box-shadow:
    inset 0 1px 0 #fff9,
    0 2px 6px #00000005;
}
.back {
  display: grid;
  place-items: center;
}
.text-button {
  border: 0;
  background: none;
  color: var(--blue);
  padding: 0 5px;
}
.list-toolbar {
  height: 49px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-title {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 6px 20px 20px;
}
.subheading {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 28px 20px 14px;
}
.muted {
  color: #8e8e93;
  line-height: 1.5;
}
.list {
  background: transparent;
}
.row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ececef;
  background: none;
  text-align: left;
  padding: 13px 20px;
  min-height: 81px;
}
.row-copy b {
  font-size: 17px;
  letter-spacing: -0.25px;
}
.row-copy span {
  line-height: 1.4;
}
.row-meta {
  white-space: nowrap;
}
.row-meta .ui {
  width: 14px;
  height: 14px;
  color: #b6b6bd;
}
.row-meta .ui:has(path[d="M15 5l-7 7 7 7"]) {
  transform: rotate(180deg);
}
.home-view {
  padding: calc(var(--status-height) + 28px) 22px 130px;
}
.home-grid {
  gap: 28px 8px;
}
.app-icon {
  font-size: 11px;
  letter-spacing: -0.1px;
  gap: 7px;
}
.app-icon img,
.calendar-icon {
  width: 62px;
  height: 62px;
  border-radius: 15px;
}
.app-icon[data-route="settings"] img,
.app-icon[data-route="facetime"] img {
  object-fit: cover;
  object-position: center;
}
.app-icon[data-route="whatsapp"] img,
.app-icon[data-route="spotify"] img {
  transform: scale(1.08);
}
.dock {
  height: 94px;
  left: 14px;
  right: 14px;
  bottom: calc(22px + var(--safe-bottom));
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(135deg, #ffffff70, #dce2e430);
  border: 1px solid #ffffff70;
  box-shadow:
    inset 0 1px 1px #ffffffb0,
    inset 0 -1px 1px #ffffff40,
    0 12px 30px #0003;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}
.dock img {
  width: 62px;
  height: 62px;
}
.dock button {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
}
.lock-center {
  top: 18%;
}
.lock-time {
  font-size: 86px;
  font-weight: 600;
  letter-spacing: -6px;
}
.lock-copy {
  font-size: 13px;
  font-style: normal;
  opacity: 0.8;
  margin-top: 8px;
}
.lock-notifications {
  top: auto;
  bottom: 22%;
}
.lock-notif {
  color: #17171b;
  background: #ffffff88;
  box-shadow: inset 0 1px 0 #ffffff70;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
.unlock {
  bottom: calc(38px + var(--safe-bottom));
  min-height: 44px;
  font-weight: 500;
}
/* Lists keep their search controls at the bottom of the PHONE, not the viewport. */
.messages-app,
.notes-app {
  padding-bottom: 100px;
}
.messages-app {
  padding-top: 0;
}
.message-row {
  grid-template-columns: 8px 52px minmax(0, 1fr);
  gap: 8px;
  position: relative;
  padding-left: 10px;
  padding-right: 20px;
  min-height: 90px;
}
.message-row .row-copy {
  padding-right: 10px;
}
.message-row .row-copy b {
  padding-right: 80px;
}
.message-row .row-copy span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  font-size: 15px;
  line-height: 1.35;
  min-height: 38px;
  color: #85858a;
}
.message-row .row-meta {
  position: absolute;
  top: 13px;
  right: 16px;
  font-size: 13px;
}
.message-row .row-meta svg {
  transform: rotate(180deg);
}
.unread-dot {
  width: 8px;
  height: 8px;
  background: transparent;
  border-radius: 50%;
}
.unread-dot.visible {
  background: #007aff;
}
.message-row .avatar {
  height: 51px;
  width: 51px;
}
.floating-search {
  position: absolute;
  z-index: 15;
  left: 17px;
  right: 17px;
  bottom: calc(var(--bottom-space) + 8px);
  display: flex;
  gap: 12px;
  align-items: center;
}
.floating-search label {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border-radius: 30px;
  background: #f2f2f6dc;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid #fff;
  box-shadow:
    0 3px 12px #00000012,
    inset 0 1px 0 #ffffff99;
  color: #8e8e93;
}
.floating-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: none;
  color: #111;
}
.floating-search .icon-glass {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 3px 12px #00000013;
  background: #f2f2f6df;
}
.empty-search {
  text-align: center;
  color: #8e8e93;
  padding: 24px;
  font-size: 15px;
}
.thread-wrap,
.wa-thread {
  height: 100%;
  min-height: 0 !important;
  position: relative;
}
.app-content:has(.thread-wrap),
.app-content:has(.wa-thread) {
  padding-bottom: 0;
  overflow: hidden;
}
.thread-head {
  height: 84px;
  flex-shrink: 0;
  grid-template-columns: 60px minmax(0, 1fr) 98px;
  padding: 5px 12px;
  background: #f9f9fbed;
}
.thread-head .back {
  height: 44px;
  width: 44px;
}
.thread-person .avatar {
  height: 42px;
  width: 42px;
}
.thread-person b {
  font-size: 12px;
  font-weight: 600;
}
.thread-tools {
  gap: 5px;
}
.thread-tools .icon-glass {
  color: #007aff;
  background: none;
  box-shadow: none;
}
.bubble-area {
  min-height: 0;
  padding: 10px 13px 20px;
  overscroll-behavior: contain;
}
.time-label {
  font-size: 11px;
  font-weight: 500;
  margin: 8px 0 22px;
}
.bubble {
  font-size: 16px;
  padding: 9px 13px;
  line-height: 1.35;
  border-radius: 20px;
  max-width: 81%;
}
.bubble-line {
  margin: 5px 0;
}
.bubble-line.me .bubble {
  background: #007aff;
  border-bottom-right-radius: 6px;
}
.bubble-line.them .bubble {
  background: #e9e9eb;
  border-bottom-left-radius: 6px;
}
.delivery-label {
  text-align: right;
  color: #8e8e93;
  font-size: 10px;
  margin-top: 6px;
}
.imessage-compose,
.wa-input {
  position: relative;
  flex-shrink: 0;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 10px 8px calc(var(--bottom-space) + 5px);
  gap: 6px;
  background: #ffffffed;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
}
.imessage-compose .field,
.wa-input .field {
  width: 100%;
  font-size: 16px;
  min-width: 0;
  height: 44px;
  padding: 10px 13px;
}
.imessage-compose button,
.wa-input button {
  width: 44px;
  height: 44px;
}
.send-button {
  background: #007aff !important;
  color: #fff;
  border: 0;
  border-radius: 50%;
}
.imessage-compose input:placeholder-shown ~ .send-button {
  background: #ededf1 !important;
  color: #777;
}
.wa-app {
  padding-bottom: 35px;
}
.wa-top-actions {
  gap: 8px;
}
.wa-app .section-title {
  margin-bottom: 12px;
}
.wa-search {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 0 12px;
  color: #8e8e93;
  height: 43px;
  margin: 8px 17px 16px;
}
.wa-search input {
  background: none;
  border: 0;
  outline: 0;
  width: 100%;
  min-height: 40px;
}
.chip-row {
  padding: 0 17px 15px;
  gap: 8px;
}
.chip {
  min-height: 36px;
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 550;
  background: #f2f3f3;
}
.wa-app .chip.active {
  background: #d9fdd3;
  color: #126e42;
}
.wa-row {
  min-height: 82px;
  grid-template-columns: 54px minmax(0, 1fr) auto;
}
.wa-row .row-meta {
  color: #777;
  font-size: 12px;
}
.green-badge {
  margin-left: auto;
  color: #fff;
  background: #25b969;
}
.wa-footer {
  font-size: 11px;
  color: #8e8e93;
  text-align: center;
  padding: 25px 30px;
  line-height: 1.6;
}
.wa-footer .ui {
  width: 12px;
  height: 12px;
}
.wa-thread-head {
  flex-shrink: 0;
  min-height: 70px;
  grid-template-columns: 35px 40px minmax(0, 1fr) 90px;
  gap: 4px;
  background: #f6f5f0;
}
.wa-thread-head .back {
  border: 0;
  background: none;
  color: #006b50;
  width: 35px;
}
.wa-thread-tools {
  gap: 0;
}
.wa-thread-tools .icon-glass {
  border: 0;
  background: none;
  box-shadow: none;
  color: #006b50;
}
.wa-chat {
  min-height: 0;
  padding: 12px 12px 20px;
  overscroll-behavior: contain;
}
.wa-bubble {
  font-size: 15px;
  line-height: 1.35;
  padding: 8px 10px;
  max-width: 83%;
  overflow-wrap: anywhere;
}
.wa-bubble small {
  font-size: 10px;
  margin-top: 7px;
}
.wa-encryption .ui {
  width: 12px;
  height: 12px;
}
.wa-input {
  grid-template-columns: 40px minmax(0, 1fr) 40px 44px;
  background: #f6f5f0;
}
.wa-input .icon-glass {
  border: 0;
  box-shadow: none;
  background: none;
  color: #006b50;
}
.wa-input .send-button {
  background: #007b60 !important;
}
.wa-document {
  border: 0;
  border-radius: 8px;
  background: #f1f1f1;
  padding: 12px 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
}
.wa-document > .ui:first-child {
  width: 32px;
  height: 40px;
  color: #ec575d;
}
.wa-document b {
  font-size: 14px;
  display: block;
}
.wa-document small {
  float: none;
  display: block;
  font-size: 11px;
  color: #888;
  margin: 4px 0 0;
}
.wa-document > .ui:last-child {
  height: 17px;
  width: 17px;
  color: #999;
}
.attachment-bubble {
  width: 280px;
}
/* Files and audio. */
.file-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #eee;
  text-align: left;
  background: #fff;
  min-height: 82px;
  color: #007aff;
}
.file-row span {
  color: #111;
  min-width: 0;
}
.file-row b {
  font-size: 15px;
}
.file-row small {
  display: block;
  color: #8e8e93;
  margin-top: 5px;
}
.file-row > .ui:first-child {
  width: 30px;
  height: 34px;
}
.file-row > .ui:last-child {
  width: 18px;
  color: #aaa;
}
.file-row[data-file-photos] > .ui:last-child,
.file-row[data-file-tracklist] > .ui:last-child {
  transform: rotate(180deg);
}
.file-card {
  padding: 32px 20px;
  text-align: center;
  margin-top: 45px;
}
.file-card > .ui {
  width: 44px;
  height: 44px;
  color: #8e8e93;
}
.file-card h3 {
  margin: 20px 0 8px;
}
.file-card p {
  color: #8e8e93;
  font-size: 15px;
}
.code-input {
  flex-direction: column;
}
.code-input input {
  width: 100%;
  letter-spacing: 12px;
  text-align: center;
  text-transform: none;
  font-size: 24px;
}
.code-input button {
  padding: 14px;
  background: #007aff;
  font-weight: 600;
}
.password-feedback {
  min-height: 42px;
  line-height: 1.5;
}
.audio-player {
  padding: 0 20px 60px;
  background: linear-gradient(#f5eee9, #fff);
}
.audio-player .ios-nav {
  margin: 0 -20px;
  background: transparent;
  border: 0;
}
.audio-cover {
  width: 85%;
  max-height: 320px;
  object-fit: cover;
  box-shadow: 0 14px 24px #0002;
  border-radius: 12px;
  margin-top: 24px;
}
.audio-player h2 {
  font-size: 26px;
  margin: 10px 0 4px;
}
.audio-player > p:not(.eyebrow) {
  margin: 0;
  color: #888;
}
.audio-player .eyebrow {
  font-size: 9px;
  color: #a37967;
  margin: 28px 0 0;
  letter-spacing: 2px;
}
.player-seek {
  padding: 24px 0 16px;
}
.player-seek input {
  width: 100%;
  accent-color: #777;
  min-height: 24px;
  touch-action: pan-x;
}
.player-seek > div {
  display: flex;
  justify-content: space-between;
  color: #8e8e93;
  font-size: 11px;
}
.controls {
  gap: 34px;
}
.controls .icon-glass {
  border: 0;
  background: none;
  box-shadow: none;
}
.controls .play {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 0;
  background: none;
  color: #111;
}
.controls .play .ui {
  width: 42px;
  height: 42px;
}
.audio-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #8e8e93;
  font-size: 12px;
  margin-top: 30px;
}
/* Notes list and detail. */
.notes-app {
  background: #f4f3ef;
}
.notes-title {
  margin: 7px 20px 26px;
  font-size: 35px;
  letter-spacing: -1px;
}
.notes-account {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #a17b00;
  font-size: 14px;
}
.note-section {
  margin: 24px 17px;
}
.note-section h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0 4px 10px;
}
.note-section h2 .ui {
  width: 18px;
  height: 18px;
  color: #b58a00;
}
.note-group {
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
}
.note-row {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e8e7e3;
  background: #fff;
  text-align: left;
  padding: 15px 17px;
}
.note-row:last-child {
  border-bottom: 0;
}
.note-row b {
  font-size: 17px;
  display: block;
}
.note-row span {
  display: block;
  color: #8e8e93;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 3px;
}
.note-row time {
  color: #6e6e72;
  margin-right: 9px;
}
.note-detail {
  background: #fffdf7;
  padding-bottom: 60px;
}
.note-detail .ios-nav {
  color: #a17b00;
  background: #fffdf7e6;
  border: 0;
}
.note-detail .back {
  color: #a17b00;
}
.note-date {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #999;
  margin: 12px;
}
.note-detail h1 {
  font-size: 29px;
  line-height: 1.2;
  margin: 30px 22px 15px;
  letter-spacing: -0.5px;
}
.note-body {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 22px;
  overflow-wrap: anywhere;
}
.note-detail footer {
  display: flex;
  justify-content: space-between;
  position: sticky;
  bottom: 10px;
  margin: 50px 20px 0;
  color: #a17b00;
}
.notes-app .floating-search {
  right: 17px;
}
/* Native HTML Music; Instagram screenshots intentionally retained. */
.music-app {
  background: #fff;
  padding-bottom: 175px;
}
.music-app .list-toolbar {
  color: #8e8e93;
  font-size: 13px;
}
.library-categories {
  margin: 0 20px;
}
.library-categories button {
  display: flex;
  gap: 12px;
  align-items: center;
  background: none;
  color: #f43e57;
  border: 0;
  border-bottom: 1px solid #eee;
  width: 100%;
  text-align: left;
  font-size: 20px;
  height: 54px;
}
.library-categories button .ui:last-child {
  margin-left: auto;
  width: 15px;
  transform: rotate(180deg);
  color: #b6b6bd;
}
.album-tile {
  background: none;
  border: 0;
  margin: 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
  width: calc(50% - 25px);
  gap: 5px;
}
.album-tile img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 5px 14px #0002;
  margin-bottom: 4px;
}
.album-tile b {
  font-weight: 500;
}
.album-tile span {
  color: #8e8e93;
  font-size: 14px;
}
.library-hint {
  margin: 24px 20px;
  font-size: 14px;
}
.album-header {
  text-align: center;
  padding: 14px 30px 15px;
}
.album-header img {
  width: 78%;
  max-width: 260px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 14px 22px #0002;
}
.album-header h1 {
  font-size: 25px;
  margin: 22px 0 5px;
  letter-spacing: -0.6px;
}
.album-header p {
  color: #f43e57;
  font-size: 21px;
  margin: 0 0 10px;
}
.album-header small {
  color: #8e8e93;
  font-size: 10px;
  letter-spacing: 1px;
}
.album-actions {
  display: flex;
  gap: 12px;
  margin: 8px 20px 22px;
}
.album-actions button {
  border: 0;
  background: #f4f4f6;
  border-radius: 12px;
  padding: 12px 8px;
  flex: 1;
  color: #f43e57;
  font-weight: 600;
  font-size: 15px;
}
.album-actions .ui {
  width: 18px;
  margin-right: 4px;
}
.music-track {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 22px;
  gap: 8px;
  width: calc(100% - 40px);
  border: 0;
  border-bottom: 1px solid #eee;
  background: none;
  text-align: left;
  margin: 0 20px;
  padding: 12px 0;
  align-items: center;
  min-height: 62px;
}
.music-track b {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.music-track small {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 3px;
}
.music-track > span:first-child {
  font-size: 14px;
  color: #888;
}
.music-track > .ui {
  width: 20px;
  color: #999;
}
.music-track.unavailable b {
  color: #8e8e93;
}
.music-track.playing {
  color: #f43e57;
}
.album-notice {
  font-size: 12px;
  margin: 20px;
  line-height: 1.5;
}
.mini-player {
  position: absolute;
  z-index: 21;
  bottom: calc(var(--bottom-space) + 65px);
  left: 9px;
  right: 9px;
  display: flex;
  align-items: center;
  padding: 8px 9px;
  gap: 2px;
  height: 66px;
  border-radius: 19px;
  background: #f4f3f1ed;
  box-shadow: 0 5px 20px #00000012;
}
.mini-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
}
.mini-info img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 5px #0002;
}
.mini-info span {
  min-width: 0;
}
.mini-info b {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 500;
}
.mini-info small {
  font-size: 11px;
  color: #888;
}
.mini-player .icon-glass {
  background: none;
  border: 0;
  box-shadow: none;
  color: #111;
}
.music-tabs {
  position: absolute;
  z-index: 20;
  left: 12px;
  right: 12px;
  bottom: calc(var(--bottom-space) + 2px);
  display: flex;
  justify-content: space-around;
  height: 58px;
  align-items: center;
  border-radius: 30px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: #f6f6f9ed;
  border: 1px solid #fff;
  box-shadow: 0 3px 15px #0001;
}
.music-tabs button {
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 70px;
  font-size: 10px;
  color: #777;
}
.music-tabs .active {
  color: #f43e57;
}
.music-tabs .ui {
  width: 22px;
  height: 22px;
}
.spotify-app {
  padding-bottom: 125px;
  background: linear-gradient(#48504c, #121212 500px);
  color: #fff;
}
.spotify-app .ios-nav {
  background: none;
  border: 0;
  color: #fff;
}
.spotify-app .ios-nav button {
  background: #0003;
  color: #fff;
  border: 0;
}
.spotify-hero img {
  width: 210px;
  box-shadow: 0 12px 22px #0005;
}
.spotify-hero h1 {
  font-size: 30px;
  letter-spacing: -1px;
}
.spot-actions {
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
}
.spot-actions .icon-glass {
  background: none;
  color: #1ed760;
  border: 0;
  box-shadow: none;
}
.spot-play {
  display: grid;
  place-items: center;
}
.spotify-app .music-track {
  border-color: #ffffff0c;
  color: #eee;
}
.spotify-app .music-track.playing {
  color: #1ed760;
}
.spotify-app .mini-player {
  bottom: calc(var(--bottom-space) + 4px);
  background: #303b35e8;
  color: #fff;
  border-color: #ffffff22;
}
.spotify-app .mini-player .icon-glass {
  color: #fff;
}
.spotify-app .mini-info small {
  color: #bbb;
}
.spotify-app .muted {
  color: #aaa;
}
/* Calls have transparent button wrappers, only the circles carry color. */
.call-action {
  background: none;
  border: 0;
  color: #fff;
  padding: 0;
  min-width: 70px;
  min-height: 90px;
}
.call-circle {
  width: 74px;
  height: 74px;
  color: #fff;
}
.call-circle .ui {
  width: 31px;
  height: 31px;
  stroke-width: 2;
  fill: currentColor;
}
.decline .ui,
.hangup .ui {
  transform: rotate(135deg);
}
.call-head {
  padding-top: 110px;
}
.caller-avatar {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  background: #ffffff20;
  border-radius: 50%;
  margin: 0 auto 26px;
}
.caller-avatar .ui {
  width: 52px;
  height: 52px;
  opacity: 0.7;
}
.call-head h2 {
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin: 9px 0;
}
.call-head p {
  font-size: 15px;
  color: #ffffff88;
}
.call-actions {
  padding: 0 45px calc(75px + var(--safe-bottom));
}
.active-call-actions {
  padding: 0 38px;
  gap: 12px;
  margin-top: auto;
}
.active-call-actions .ui {
  fill: none;
}
.call-action[aria-pressed="true"] .call-circle {
  color: #111;
  background: #fff;
}
.hangup {
  width: 74px;
  height: 74px;
  min-height: 74px;
  margin: 45px auto calc(68px + var(--safe-bottom));
  flex-shrink: 0;
}
.hangup .ui {
  height: 30px;
  width: 30px;
  fill: currentColor;
}
.phone-app {
  padding-bottom: 100px;
}
.phone-tab {
  border: 0;
  background: none;
  min-width: 54px;
  min-height: 50px;
  color: inherit;
}
.phone-tabs {
  bottom: calc(var(--bottom-space) + 4px);
  left: 10px;
  right: 10px;
}
.phone-tab small {
  font-size: 9px;
}
.missed {
  color: #ff3b30;
}
.dialpad {
  padding: 0 34px;
}
.dialpad output {
  height: 75px;
  display: grid;
  place-items: center;
  font-size: 29px;
  letter-spacing: 1px;
}
.dial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px 20px;
}
.dial-grid button {
  height: 65px;
  width: 65px;
  border: 0;
  background: #f0f0f2;
  border-radius: 50%;
  font-size: 28px;
  justify-self: center;
}
.dial-grid small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
}
.dial-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}
.dial-call {
  height: 65px;
  width: 65px;
  border: 0;
  border-radius: 50%;
  background: #34c759;
  color: #fff;
}
.voicemail-empty {
  padding: 120px 20px;
  text-align: center;
  color: #8e8e93;
}
#callKeypad {
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 200px;
  margin: 20px auto 0;
  display: grid;
}
#callKeypad button {
  background: #ffffff20;
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 44px;
  justify-self: center;
}
.call-screen:has(#callKeypad:not(.hidden)) .call-head {
  padding-top: 65px;
}
.call-screen:has(#callKeypad:not(.hidden)) .active-call-actions {
  margin-top: 25px;
}
.call-screen:has(#callKeypad:not(.hidden)) .hangup {
  margin: 20px auto 35px;
}
/* Photos, camera and smaller system apps. */
.photos-app {
  padding-bottom: 30px;
}
.photo-toolbar {
  padding: 15px 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.photo-toolbar h1 {
  letter-spacing: -1px;
}
.photo-toolbar p {
  font-size: 14px;
  color: #888;
  margin: 4px 0 0;
}
.gallery-grid button {
  border: 0;
  background: #f2f2f7;
  min-height: 0;
  padding: 0;
  aspect-ratio: 1;
  overflow: hidden;
}
.gallery-grid img {
  display: block;
  height: 100%;
}
.photo-count {
  text-align: center;
  color: #888;
  font-size: 12px;
  padding: 20px;
}
.photo-viewer {
  inset: 0;
  z-index: 30;
  touch-action: pan-y;
}
.photo-viewer img {
  height: calc(100% - 150px);
  object-fit: contain;
}
.viewer-top {
  height: 65px;
  padding: 0 10px;
  font-size: 13px;
}
.viewer-top .icon-glass,
.viewer-bottom .icon-glass {
  background: #ffffff15;
  color: #fff;
  border: 0;
  box-shadow: none;
}
.viewer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 22px;
}
.camera-app {
  height: 100%;
  min-height: 0 !important;
  overflow: hidden;
}
.app-content:has(.camera-app) {
  padding: 0;
}
.camera-app video {
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.camera-app video.mirrored {
  scale: -1 1;
}
.camera-ui {
  padding: 12px 18px calc(var(--bottom-space) + 14px);
  background: linear-gradient(#0007, transparent 20%, transparent 62%, #000e);
}
.camera-ui .icon-glass {
  background: #0005;
  color: #fff;
  border: 0;
  box-shadow: none;
}
.camera-ui .selected {
  color: #ffd60a;
}
.camera-ui .cam-glass-row .icon-glass:nth-child(2) {
  rotate: 90deg;
}
.cam-modes {
  gap: 5px;
  justify-content: space-between;
  margin: 15px 0;
}
.cam-modes button {
  font-size: 10px;
  font-weight: 500;
  border: 0;
  background: none;
  color: #fff;
  padding: 0 5px;
}
.cam-modes button.active {
  color: #ffd60a;
}
.camera-zoom {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.camera-zoom button {
  border: 0;
  border-radius: 50%;
  height: 40px;
  min-height: 40px;
  width: 40px;
  background: #0008;
  color: #fff;
  font-size: 13px;
}
.camera-zoom button.active {
  color: #ffd60a;
  background: #000b;
}
.cam-bottom {
  height: 80px;
}
.thumb {
  border: 0;
  padding: 0;
}
.flipbtn {
  border: 0;
  color: #fff;
}
.shutter {
  height: 74px;
  width: 74px;
  background: #fff;
  background-clip: content-box;
  padding: 4px;
}
.camera-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  pointer-events: none;
  opacity: 0;
}
.camera-flash.flash {
  animation: camera-flash 0.3s;
}
.settings-app {
  padding-bottom: 30px;
}
.setting-row {
  width: 100%;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e5e5ea;
  text-align: left;
  min-height: 54px;
  align-items: center;
  font-size: 16px;
}
.setting-row > .ui {
  transform: rotate(180deg);
  color: #c7c7cc;
  width: 17px;
}
.setting-row span:last-child {
  font-size: 14px;
}
.switch {
  width: 49px;
  height: 30px;
  border-radius: 20px;
  background: #e5e5ea;
  position: relative;
  transition: background 0.2s;
}
.switch:after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #0002;
  transition: left 0.2s;
}
.switch.on {
  background: #34c759;
}
.switch.on:after {
  left: 21px;
}
.setting-profile {
  padding: 17px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.setting-profile small {
  display: block;
  color: #888;
  margin-top: 4px;
}
.wallpaper-preview {
  display: block;
  max-height: 350px;
  width: auto;
  max-width: 100%;
  margin: 20px auto;
  border-radius: 20px;
}
.settings-description {
  padding: 20px;
  color: #777;
  line-height: 1.5;
}
.calendar-year {
  margin: -12px 20px 20px;
  color: #ff3b30;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0 14px;
  gap: 5px 0;
  text-align: center;
}
.calendar-grid small {
  color: #8e8e93;
}
.calendar-grid button {
  border: 0;
  background: none;
  border-radius: 50%;
  font-size: 18px;
  padding: 0;
  min-width: 0;
}
.calendar-grid .today {
  background: #ff3b30;
  color: #fff;
}
.calendar-grid .selected {
  outline: 2px solid #ff3b30;
  outline-offset: -4px;
}
.calendar-event {
  font-size: 14px;
  min-height: 85px;
}
.calendar-event h3 {
  font-size: 16px;
}
.facetime-app {
  padding-bottom: 35px;
}
.facetime-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px;
  width: calc(100% - 40px);
  border: 0;
  border-radius: 14px;
  padding: 15px;
  background: #34c759;
  color: #fff;
}
.facetime-app .row-meta {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 12px;
}
.screen-shot-app {
  padding-bottom: 0;
}
.screen-shot-app .hotspot {
  min-height: 44px;
}
/* Sheets, motion and small screens. */
.toast {
  white-space: normal;
  text-align: center;
  max-width: calc(100% - 32px);
  width: max-content;
  bottom: calc(var(--bottom-space) + 75px);
  backdrop-filter: blur(15px);
  line-height: 1.4;
}
.sheet-modal {
  align-items: end;
  padding: 12px 12px calc(var(--bottom-space) + 12px);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.action-sheet {
  width: 100%;
  max-height: 85%;
  overflow: auto;
  border-radius: 24px;
  background: #f5f5f7f5;
  backdrop-filter: blur(30px);
  text-align: center;
  padding: 20px 0 6px;
  box-shadow: 0 20px 40px #0003;
}
.action-sheet h3 {
  font-size: 17px;
  margin: 0 18px 7px;
}
.action-sheet p {
  font-size: 13px;
  line-height: 1.4;
  color: #888;
  margin: 0 20px 20px;
}
.action-sheet button {
  display: block;
  width: 100%;
  border: 0;
  border-top: 1px solid #0000000c;
  background: none;
  padding: 14px 20px;
  font-size: 17px;
  color: #007aff;
}
.action-sheet .sheet-cancel {
  font-weight: 600;
  padding: 18px;
}
@keyframes app-appear {
  from {
    opacity: 0.6;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes wave-pulse {
  to {
    transform: scaleY(0.5);
  }
}
@keyframes camera-flash {
  0% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
  }
}
@media (max-width: 600px) {
  :root {
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --status-height: max(59px, calc(var(--safe-top) + 30px));
    --bottom-space: max(29px, var(--safe-bottom));
  }
  .phone-scene {
    padding: 0;
    min-height: 100dvh;
  }
  .device {
    width: 100%;
    height: 100dvh;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .screen {
    border-radius: 0;
  }
  .status-bar {
    padding-top: max(0px, calc(var(--safe-top) - 20px));
  }
  .dynamic-island {
    top: max(11px, var(--safe-top));
  }
  .intro {
    padding: max(25px, env(safe-area-inset-top)) 28px;
  }
  .home-view {
    padding-left: 23px;
    padding-right: 23px;
  }
  .lock-notifications {
    bottom: 23%;
  }
}
@media (max-height: 740px) {
  .home-grid {
    gap: 20px 6px;
  }
  .home-view {
    padding-top: calc(var(--status-height) + 15px);
  }
  .app-icon img,
  .calendar-icon {
    width: 55px;
    height: 55px;
  }
  .dock {
    height: 84px;
  }
  .dock img {
    width: 56px;
    height: 56px;
  }
  .lock-time {
    font-size: 74px;
  }
  .lock-center {
    top: 13%;
  }
  .lock-notifications {
    bottom: 21%;
  }
  .audio-cover {
    max-height: 220px;
    width: auto;
    max-width: 80%;
  }
  .audio-player .eyebrow {
    margin-top: 18px;
  }
  .player-seek {
    padding-top: 16px;
  }
  .audio-footer {
    margin-top: 16px;
  }
  .dial-grid {
    gap: 8px;
  }
  .dial-grid button {
    height: 54px;
    width: 54px;
  }
  .dialpad output {
    height: 55px;
  }
  .call-head {
    padding-top: 80px;
  }
  .caller-avatar {
    height: 65px;
    width: 65px;
    margin-bottom: 20px;
  }
  .call-actions {
    padding-bottom: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Restrict native scrolling at each scroll container so horizontal pointers reach us. */
.app-content,
.bubble-area,
.wa-chat,
.screen-shot-app,
.action-sheet {
  touch-action: pan-y;
}
/* These two supplied PNGs include their own labels. Crop only their icon region. */
.app-icon .app-art {
  display: block;
  position: relative;
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 1px 5px #0002;
}
.app-icon[data-route="settings"] .app-art img {
  position: absolute;
  left: -15.98px;
  top: 0;
  width: 94.45px;
  height: auto;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}
.app-icon[data-route="facetime"] .app-art img {
  position: absolute;
  left: -18.4px;
  top: 0;
  width: 99.78px;
  height: auto;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}
@media (max-height: 740px) {
  .app-icon .app-art {
    width: 55px;
    height: 55px;
  }
  .app-icon[data-route="settings"] .app-art img {
    width: 83.79px;
    left: -14.18px;
  }
  .app-icon[data-route="facetime"] .app-art img {
    width: 88.52px;
    left: -16.33px;
  }
}

/* Every interactive control has a full touch target. */
.home-indicator {
  height: 44px;
  min-height: 44px;
}
.wa-thread-head {
  grid-template-columns: 44px 36px minmax(0, 1fr) 88px;
}
.wa-thread-head .back {
  width: 44px;
  min-width: 44px;
}
.wa-thread-head .avatar {
  width: 36px;
  height: 36px;
}
.chip {
  min-height: 44px;
}
.camera-zoom button {
  height: 44px;
  min-height: 44px;
  width: 44px;
}
/* Preserve the system chrome above an incoming/active call. */
.screen:has(.call-modal:not(.hidden)) .status-bar {
  z-index: 101;
  color: #fff;
}
.screen:has(.call-modal:not(.hidden)) .battery-pill {
  background: #fff;
  color: #111;
}
.screen:has(.call-modal:not(.hidden)) .dynamic-island {
  z-index: 102;
}
.screen:has(.call-modal:not(.hidden)) .home-indicator {
  z-index: 103;
}
.screen:has(.call-modal:not(.hidden)) .home-indicator:after {
  background: #fff;
}
/* RC: quiet session notification; existing app and home geometry stays intact. */
.story-notification {
  position: absolute;
  z-index: 98;
  top: calc(var(--status-height) + 8px);
  left: 12px;
  right: 12px;
  border-radius: 23px;
  background: #f7f7f7e8;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow:
    0 8px 30px #0002,
    inset 0 1px 0 #fff;
  display: flex;
  animation: story-arrive 0.3s ease-out;
  color: #111;
}
.story-open {
  border: 0;
  background: none;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  flex: 1;
  min-width: 0;
  border-radius: 23px;
}
.story-open img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
.story-open > span {
  flex: 1;
  min-width: 0;
}
.story-open small {
  display: block;
  font-size: 10px;
  color: #777;
  letter-spacing: 0.6px;
  margin-bottom: 5px;
}
.story-open time {
  float: right;
  letter-spacing: 0;
}
.story-open b {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.story-open span span {
  font-size: 13px;
}
.story-dismiss {
  border: 0;
  background: none;
  min-width: 44px;
  align-self: start;
  height: 44px;
  padding: 12px;
  color: #888;
}
.story-dismiss .ui {
  width: 16px;
  height: 16px;
}
.discovery-feedback {
  animation: discovery-feedback 0.4s ease-out;
}
.calendar-grid .has-event {
  position: relative;
}
.calendar-grid .has-event:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
@keyframes story-arrive {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes discovery-feedback {
  50% {
    opacity: 0.85;
  }
  100% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story-notification,
  .discovery-feedback {
    animation: none;
  }
}
/* FaceTime self-view extends the existing history without changing other app surfaces. */
.facetime-preview {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #17191b;
  color: #fff;
}
.app-content:has(.facetime-preview) {
  padding-bottom: 0;
  overflow: hidden;
}
.facetime-preview video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
.facetime-preview-title {
  position: absolute;
  top: 24px;
  left: 20px;
  right: 20px;
  text-align: center;
  text-shadow: 0 1px 12px #0009;
  pointer-events: none;
}
.facetime-preview-title small {
  font-size: 13px;
  color: #ffffffb3;
}
.facetime-preview-title h2 {
  font-size: 25px;
  font-weight: 500;
  margin: 7px 0;
}
.facetime-fallback {
  position: absolute;
  inset: 110px 20px 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #e0e0e5;
}
.facetime-fallback > .ui {
  height: 52px;
  width: 52px;
  color: #8e8e93;
}
.facetime-fallback p {
  font-size: 15px;
  margin: 20px 0;
}
.facetime-fallback button {
  border: 1px solid #ffffff25;
  background: #ffffff12;
  color: #fff;
  border-radius: 22px;
  padding: 10px 22px;
}
.facetime-preview-controls {
  position: absolute;
  bottom: calc(var(--bottom-space) + 25px);
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.facetime-preview-controls .hangup {
  margin: 0;
}
.facetime-preview-controls .icon-glass {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: #ffffff30;
  backdrop-filter: blur(20px);
  color: #fff;
}
.facetime-preview-controls .icon-glass[aria-pressed="true"] {
  background: #fff;
  color: #111;
}
.app-view:has(.facetime-preview) {
  background: #17191b;
}
