:root {
  --desk-top: #1b2740;
  --desk-mid: #3d5a7a;
  --desk-horizon: #c4a574;
  --desk-bottom: #e8d5b5;
  --titanium: #2a2a2c;
  --titanium-hi: #5c5c60;
  --phone-w: 390px;
  --phone-h: 844px;
  --screen-radius: 46px;
  --bezel: 11px;
  --island-w: 126px;
  --island-h: 36px;
  --accent: #0a84ff;
  --note-yellow: #f4d35e;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, sans-serif;
  background: #0b1220;
  color: #fff;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.stage {
  height: 100dvh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 500px at 50% 115%, var(--desk-bottom), transparent 55%),
    linear-gradient(165deg, var(--desk-top) 0%, var(--desk-mid) 48%, var(--desk-horizon) 78%, var(--desk-bottom) 100%);
  overflow: hidden;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.08) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 38%, rgba(255,255,255,.06) 0 1px, transparent 2px);
  pointer-events: none;
}

/* ---- Mac menu bar ---- */
.menubar {
  position: relative;
  z-index: 20;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: rgba(12, 16, 24, .38);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  font-size: 13px;
  font-weight: 500;
  box-shadow: inset 0 -0.5px rgba(255,255,255,.18);
}

.menubar-left,
.menubar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menubar a {
  color: inherit;
  text-decoration: none;
}

.menubar .brand {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.menubar .ghost { opacity: .88; }

@media (max-width: 640px) {
  .menubar .ghost { display: none; }
}

.menubar-right { gap: 10px; font-variant-numeric: tabular-nums; }
.menubar-right svg { display: block; }

.work-link {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  font-size: 12px;
}

.work-link:hover { background: rgba(255,255,255,.24); }

/* ---- Desk ---- */
.desk {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 12px 6px;
  overflow: hidden;
}

.phone-fit {
  position: relative;
  width: var(--phone-w);
  height: var(--phone-h);
  flex-shrink: 0;
}

.clone-caption {
  position: relative;
  z-index: 15;
  margin: 0;
  padding: 4px 16px 6px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255,255,255,.78);
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
  text-align: center;
}

/* ---- Phone chassis ---- */
.phone {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--phone-w);
  height: var(--phone-h);
  transform-origin: top left;
  background:
    linear-gradient(180deg, #3a3a3e 0%, var(--titanium) 12%, #141416 50%, var(--titanium) 88%, #4a4a4e 100%);
  border-radius: 58px;
  padding: var(--bezel);
  box-shadow:
    0 0 0 1.5px #0a0a0a,
    inset 0 0 0 1px rgba(255,255,255,.22),
    inset 0 1px 0 rgba(255,255,255,.35),
    0 30px 60px rgba(0,0,0,.45),
    0 60px 120px rgba(0,0,0,.35);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 53px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: none;
  z-index: 4;
}

.side-btn {
  position: absolute;
  width: 3px;
  background: linear-gradient(#6a6a70, #2c2c30);
  border-radius: 1px;
  box-shadow: 0 0 0 0.5px #111;
}

.side-btn.silent { left: -2px; top: 118px; height: 28px; }
.side-btn.vol-up { left: -2px; top: 168px; height: 52px; }
.side-btn.vol-down { left: -2px; top: 228px; height: 52px; }
.side-btn.power { right: -2px; top: 188px; height: 88px; }

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--screen-radius);
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.island {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 40;
  width: var(--island-w);
  height: var(--island-h);
  transform: translateX(-50%);
  background: #000;
  border-radius: 20px;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,.08);
  pointer-events: none;
}

.island::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a2a44, #05070c 70%);
  box-shadow: inset 0 0 0 1.5px #0a0a0c;
}

.home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  z-index: 40;
  width: 134px;
  height: 5px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.55);
  border-radius: 99px;
  cursor: pointer;
}

/* ---- Views ---- */
.view {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
}

.view.is-on { display: flex; }

.status-bar {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 14px 28px 0 28px;
  font-size: 15px;
  font-weight: 600;
  pointer-events: none;
}

.status-bar .clock { width: 54px; }
.status-bar .end {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 70px;
  justify-content: flex-end;
}

/* ---- Lock ---- */
.lock {
  color: #fff;
  touch-action: none;
}

.lock-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b1220;
}

.lock-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.lock-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.08) 35%, rgba(0,0,0,.5) 100%);
  pointer-events: none;
}

.lock-fg {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 18px 92px;
  will-change: transform;
}

.lock-date {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .01em;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

.lock-time {
  margin-top: 2px;
  font-size: 84px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: .95;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}

.lock-cards {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lock-note {
  width: 100%;
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(28, 28, 30, .62);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,.14);
  text-align: left;
  color: inherit;
  border: 0;
  cursor: pointer;
}

.lock-note-alt {
  padding: 10px 14px;
}

.lock-note .app-icon { width: 38px; height: 38px; flex-shrink: 0; }

.lock-note strong {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.lock-note strong span:last-child {
  font-weight: 500;
  font-size: 12px;
  opacity: .65;
}

.lock-note p {
  margin: 3px 0 0;
  font-size: 13px;
  opacity: .92;
  line-height: 1.3;
}

.lock-hint {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: .9;
  font-size: 13px;
  font-weight: 500;
}

.lock-hint svg { animation: bounce 1.4s ease-in-out infinite; }

@keyframes bounce {
  0%, 100% { transform: translateY(3px); }
  50% { transform: translateY(-4px); }
}

.lock-tools {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lock-tools span,
.lock-tools button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  color: #fff;
  background: rgba(40,40,44,.45);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
}

.lock-tools button {
  pointer-events: auto;
  cursor: pointer;
}

.lock-tools .icon-sound-on { display: none; }
.lock-tools .icon-sound-off { display: block; }
.lock-tools button:not(.is-muted) .icon-sound-on { display: block; }
.lock-tools button:not(.is-muted) .icon-sound-off { display: none; }

/* ---- Home ---- */
.home-wallpaper {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,18,32,.15), rgba(12,18,32,.45)),
    url("../images/portrait/Profile.jpg") center 20% / cover no-repeat;
  transform: scale(1.08);
  filter: blur(18px) saturate(1.1);
}

.home-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 20px 28px;
}

.widget {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(28, 28, 32, .48);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,.16);
  margin-bottom: 18px;
  text-align: left;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.widget img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  object-position: top;
}

.widget h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.widget p {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.35;
  opacity: .82;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 12px;
  width: 100%;
}

.app-grid { width: 100%; }

.app-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.app-cell span.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,.55);
}

.app-icon {
  width: 60px;
  height: 60px;
  border-radius: 22.5%;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 0.5px rgba(255,255,255,.22),
    0 8px 16px rgba(0,0,0,.28);
}

.app-icon img,
.app-icon svg { width: 100%; height: 100%; display: block; }

.app-icon.pad svg { width: 70%; height: 70%; margin: auto; }

.phone-dock {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-radius: 32px;
  background: rgba(40, 40, 44, .38);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,.22);
}

.phone-dock .app-cell span.label { display: none; }
.phone-dock .app-icon { width: 58px; height: 58px; }

/* ---- In-phone apps ---- */
.app-chrome {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 10px;
  font-size: 16px;
  font-weight: 600;
}

.app-chrome .back,
.app-chrome .action {
  background: none;
  border: 0;
  color: var(--accent);
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  padding: 6px 4px;
}

.app-chrome .title { font-weight: 650; }

.app-body {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 16px 28px;
  -webkit-overflow-scrolling: touch;
}

.view.light {
  background: #f2f2f7;
  color: #111;
}

.view.light .status-bar,
.view.dark .status-bar { color: inherit; }

.view.dark {
  background: #000;
  color: #fff;
}

.view.yellow { background: #f7f3e8; color: #111; }

.view.photos-bg {
  background: #000;
  color: #fff;
}

/* Photos */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 0 -16px;
}

.photo-grid button {
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  background: #1c1c1e;
  cursor: pointer;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-hero {
  width: calc(100% + 32px);
  margin: 0 -16px 12px;
  max-height: 420px;
  object-fit: contain;
  background: #000;
}

.muted {
  margin: 0;
  font-size: 13px;
  opacity: .7;
  line-height: 1.45;
}

/* Notes */
.note-list { display: flex; flex-direction: column; gap: 8px; }

.note-row,
.social-card {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.note-row h3,
.social-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.note-row p,
.social-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #636366;
  line-height: 1.4;
}

.note-row small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #8e8e93;
}

.note-article h3 { margin: 0 0 8px; font-size: 22px; }
.note-article p { margin: 0 0 12px; font-size: 16px; line-height: 1.5; }

.compose label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.compose input,
.compose textarea {
  font: inherit;
  font-weight: 400;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: #111;
  -webkit-user-select: text;
  user-select: text;
}

.compose textarea { min-height: 140px; resize: vertical; }

.primary {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.primary:disabled { opacity: .5; }

/* Safari */
.safari-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #e8e8ed;
  font-size: 14px;
  color: #3a3a3c;
}

.bookmark {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 8px;
  padding: 12px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.bookmark .mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.bookmark strong { display: block; font-size: 15px; }
.bookmark span { font-size: 12px; color: #8e8e93; }

/* Mail / calendar / social */
.pill-meta {
  font-size: 12px;
  color: #8e8e93;
  margin-bottom: 10px;
}

.camera-view {
  background: #000;
}

.camera-live {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
}

.camera-live video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cam-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .08s;
}

.cam-flash.is-on { opacity: .85; }

.cam-denied {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: #111;
}

.cam-denied[hidden] { display: none; }

.cam-denied p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  max-width: 16rem;
}

.camera-hud {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.camera-hud .status-bar,
.camera-hud .app-chrome,
.camera-controls { pointer-events: auto; }

.camera-controls {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px 28px;
}

.cam-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #fff;
  padding: 0;
  background: #1c1c1e;
  cursor: pointer;
}

.cam-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cam-flip {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(30,30,32,.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.shutter {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.shutter i {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: block;
}

.shutter:active i { transform: scale(.92); }

.photo-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.photo-grid button { position: relative; }

/* Instagram */
.ig {
  background: #000;
  color: #f5f5f5;
}

.ig-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 10px;
  font-size: 16px;
  font-weight: 700;
}

.ig-head .back {
  background: none;
  border: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.ig-profile {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
  padding: 4px 16px 12px;
}

.ig-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #363636;
}

.ig-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.ig-stats strong { display: block; font-size: 16px; }
.ig-stats span { font-size: 12px; color: #a8a8a8; }

.ig-bio {
  padding: 0 16px 12px;
}

.ig-bio h3 { margin: 0; font-size: 14px; }
.ig-bio p { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: #dbdbdb; }

.ig-actions {
  display: flex;
  gap: 8px;
  padding: 0 16px 14px;
}

.ig-follow {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 650;
  font-size: 14px;
  padding: 8px;
  border-radius: 8px;
  background: #0095f6;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #000;
  flex: 1;
}

.ig-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.ig-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: #a8a8a8;
  font-size: 14px;
  line-height: 1.45;
}

.icon-ig {
  background: radial-gradient(circle at 30% 110%, #fccc63, #fbad50 20%, #e95950 40%, #cd2e6c 70%, #4c5fd7 100%);
}

.x-app {
  background: #000;
  color: #e7e9ea;
}

.x-handle {
  margin-top: 4px !important;
  color: #71767b !important;
}

.x-follow {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #0f1419;
  font-weight: 700;
  font-size: 14px;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
}

.x-tweet {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid #2f3336;
  text-align: left;
}

.x-tweet img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.x-tweet strong { font-size: 14px; }
.x-tweet span { color: #71767b; font-size: 13px; }
.x-tweet p { margin: 6px 0 0; font-size: 14px; line-height: 1.4; }

.x-more {
  display: block;
  margin: 12px 16px 0;
  text-align: center;
  color: #1d9bf0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* ---- Mac dock ---- */
.mac-dock-wrap {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 8px 12px 12px;
  flex-shrink: 0;
}

.mac-dock {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 10px 6px;
  border-radius: 22px;
  background: rgba(40, 40, 44, .32);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow:
    inset 0 0 0 0.5px rgba(255,255,255,.28),
    0 10px 40px rgba(0,0,0,.35);
}

.mac-dock button,
.mac-dock a {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.mac-dock .app-icon {
  width: 52px;
  height: 52px;
  transition: transform .15s ease;
}

.mac-dock button:hover .app-icon,
.mac-dock a:hover .app-icon { transform: translateY(-6px) scale(1.08); }

.mac-dock .divider {
  width: 1px;
  align-self: stretch;
  margin: 8px 4px;
  background: rgba(255,255,255,.28);
}

@media (max-width: 720px) {
  .mac-dock .hide-sm { display: none; }
}

@media (max-width: 640px) {
  .mac-dock-wrap { display: none; }
  .clone-caption {
    margin-top: 8px;
    font-size: 11px;
    max-width: 90vw;
  }
  .menubar { padding-left: 10px; padding-right: 10px; }
  .work-link,
  [data-menubar-clock] { display: none; }
}

/* On a real phone, fill the screen so it feels like using this phone. */
body.is-phone .menubar,
body.is-phone .mac-dock-wrap,
body.is-phone .clone-caption,
body.is-phone .side-btn,
body.is-phone .island { display: none; }

body.is-phone .desk {
  padding: 0;
  overflow: hidden;
}

body.is-phone .phone-fit {
  width: 100% !important;
  height: 100% !important;
}

body.is-phone .phone {
  position: relative;
  width: 100%;
  height: 100%;
  transform: none !important;
  border-radius: 0;
  padding: 0;
  background: #000;
  box-shadow: none;
}

body.is-phone .phone-screen { border-radius: 0; }

body.is-phone .status-bar,
body.is-phone .lock-fg { padding-top: env(safe-area-inset-top); }

body.is-phone .home-bar { bottom: max(8px, env(safe-area-inset-bottom)); }

body.is-phone .home-body { padding-left: 16px; padding-right: 16px; }
body.is-phone .app-icon { width: 54px; height: 54px; }
body.is-phone .phone-dock { padding: 12px 14px 8px; }
body.is-phone .phone-dock .app-icon { width: 52px; height: 52px; }

/* Icon fills */
.icon-photos { background: conic-gradient(from 210deg, #ff2d55, #ffcc00, #34c759, #00c7be, #007aff, #af52de, #ff2d55); }
.icon-play { background: linear-gradient(#3a3a3c, #1c1c1e); }
.icon-notes { background: linear-gradient(#fff8c2, #f4d35e); }
.icon-safari { background: radial-gradient(circle at 50% 50%, #7ec8ff, #0a84ff 62%, #0050c8); }
.icon-mail { background: linear-gradient(#5ac8fa, #007aff); }
.icon-cal { background: #fff; color: #ff3b30; }
.icon-cam { background: linear-gradient(#5a5a60, #2c2c30); }
.icon-book { background: #0b1c28; }
.icon-academy { background: #111; }
.icon-x { background: #000; }
.icon-li { background: #0a66c2; }
.icon-gh { background: #24292f; }
.icon-ss { background: #ff6719; }
.icon-call { background: #34c759; }

.toast {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 36px;
  z-index: 50;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(30,30,32,.88);
  color: #fff;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.toast.is-on {
  opacity: 1;
  transform: none;
}
