/* =========================================================
   GLOBAL RESET
========================================================= */

:root {
  --device-width: 430px;
  --device-height: 932px;

  --white: #ffffff;
  --black: #000000;
  --red: #ff3535;

  --glass-light: rgba(255, 255, 255, 0.2);
  --glass-medium: rgba(255, 255, 255, 0.13);
  --glass-dark: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  overflow: hidden;

  padding: 6px;
  background: radial-gradient(circle at 50% 35%, #242427 0, #09090a 42%, #000 78%);
  color: #fff;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;

  display: flex;
  align-items: center;
  justify-content: center;
}

button {
  border: 0;
  font: inherit;
}

#site-root {
  width: 100%;
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   DEVICE SHELL
========================================================= */

.device {
  position: relative;

  width: min(var(--device-width), calc(100vw - 12px));
  height: min(var(--device-height), calc(100vh - 12px));

  overflow: hidden;
  isolation: isolate;

  border: 6px solid #111114;
  border-radius: 50px;
  background: #000;
  box-shadow:
    inset 0 0 0 2px #3b3b40,
    inset 0 0 0 4px #050506,
    0 24px 80px rgba(0,0,0,.9),
    0 0 0 1px rgba(255,255,255,.16);
}

@media (min-width: 500px) and (min-height: 700px) {
  .device {
    border-radius: 54px;
  }
}

.screen {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
}

.screen-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   STATUS BAR
========================================================= */

.status-bar {
  position: absolute;
  z-index: 100;

  top: max(16px, env(safe-area-inset-top));
  left: 21px;
  right: 21px;

  height: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  pointer-events: none;
}

.status-left {
  min-width: 62px;
  min-height: 18px;
}

.status-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-time {
  display: none;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.94);
  font-variant-numeric: tabular-nums;
}

.device.unlocked .status-time {
  display: inline-block;
}

.signal-icon {
  width: 16px;
  height: 12px;

  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.signal-icon span {
  width: 2.5px;

  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
}

.signal-icon span:nth-child(1) {
  height: 4px;
}

.signal-icon span:nth-child(2) {
  height: 6px;
}

.signal-icon span:nth-child(3) {
  height: 9px;
}

.signal-icon span:nth-child(4) {
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
}

.network-label {
  margin: 0 2px 0 -1px;
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.92);
}

.wifi-icon {
  position: relative;

  width: 16px;
  height: 12px;

  overflow: hidden;
}

.wifi-icon::before,
.wifi-icon::after {
  content: "";

  position: absolute;
  left: 50%;

  border: 1.6px solid rgba(255, 255, 255, 0.92);
  border-top-color: transparent;
  border-left-color: transparent;

  border-radius: 50%;

  transform: translateX(-50%) rotate(45deg);
}

.wifi-icon::before {
  top: -8px;

  width: 20px;
  height: 20px;
}

.wifi-icon::after {
  top: -3px;

  width: 10px;
  height: 10px;
}

.wifi-dot {
  position: absolute;

  left: 50%;
  bottom: 0;

  width: 3px;
  height: 3px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);

  transform: translateX(-50%);
}

.battery-wrap {
  display: flex;
  align-items: center;
  gap: 3px;
}

.battery-shell {
  position: relative;

  width: 25px;
  height: 12px;

  padding: 1.5px;

  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 3px;
}

.battery-shell::after {
  content: "";

  position: absolute;

  top: 3px;
  right: -3px;

  width: 2px;
  height: 5px;

  border-radius: 0 2px 2px 0;
  background: rgba(255, 255, 255, 0.52);
}

.battery-fill {
  width: 33%;
  height: 100%;

  border-radius: 1px;
  background: #fff;

  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.battery-percent {
  min-width: 22px;

  font-size: 9px;
  font-weight: 700;
  text-align: right;
}

/* =========================================================
   DYNAMIC ISLAND
========================================================= */

.dynamic-island {
  position: absolute;
  z-index: 220;
  top: max(10px, env(safe-area-inset-top));
  left: 50%;
  width: 118px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 999px;
  background: #000;
  box-shadow: 0 3px 12px rgba(0,0,0,.46);
  color: #fff;
  pointer-events: none;
  transform: translateX(-50%);
  transform-origin: top center;
  transition:
    width .5s cubic-bezier(.2,.9,.2,1),
    height .5s cubic-bezier(.2,.9,.2,1),
    border-radius .5s cubic-bezier(.2,.9,.2,1),
    box-shadow .35s ease;
}

.island-face,
.island-copy,
.island-status {
  opacity: 0;
  transition: opacity .22s ease, transform .38s cubic-bezier(.2,.9,.2,1);
}

.island-face {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-left: 12px;
  border: 2px solid #4dff9c;
  border-radius: 13px;
  color: #4dff9c;
  transform: scale(.55);
  filter: drop-shadow(0 0 6px rgba(77,255,156,.65));
}

.island-eye {
  position: absolute;
  top: 12px;
  width: 3px;
  height: 8px;
  border-radius: 4px;
  background: currentColor;
}

.island-eye.left { left: 11px; }
.island-eye.right { right: 11px; }

.island-mouth {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 17px;
  height: 7px;
  border-bottom: 2px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.island-scan-line {
  position: absolute;
  left: 4px;
  top: 6px;
  width: 32px;
  height: 1px;
  background: #caffdc;
  box-shadow: 0 0 6px #4dff9c;
}

.island-copy {
  min-width: 0;
  margin-left: 11px;
  display: grid;
  gap: 2px;
  text-align: left;
  transform: translateX(-8px);
}

.island-copy strong {
  font-size: 13px;
  line-height: 1.1;
  font-weight: 650;
}

.island-copy span {
  font-size: 10px;
  color: rgba(255,255,255,.58);
  white-space: nowrap;
}

.island-status {
  width: 9px;
  height: 9px;
  margin: 0 14px 0 auto;
  border: 2px solid #4dff9c;
  border-top-color: transparent;
  border-radius: 50%;
}

.dynamic-island.scanning,
.dynamic-island.failed {
  width: min(78%, 286px);
  height: 68px;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(0,0,0,.7), 0 0 0 1px rgba(77,255,156,.1);
}

.dynamic-island.scanning .island-face,
.dynamic-island.scanning .island-copy,
.dynamic-island.scanning .island-status,
.dynamic-island.failed .island-face,
.dynamic-island.failed .island-copy,
.dynamic-island.failed .island-status {
  opacity: 1;
  transform: none;
}

.dynamic-island.scanning .island-scan-line {
  animation: island-scan 1s ease-in-out infinite;
}

.dynamic-island.scanning .island-status {
  animation: island-spin .9s linear infinite;
}

.dynamic-island.failed {
  animation: island-reject .38s ease both;
  box-shadow: 0 8px 28px rgba(0,0,0,.75), 0 0 0 1px rgba(255,75,75,.16);
}

.dynamic-island.failed .island-face {
  color: #ff5555;
  border-color: #ff5555;
  filter: drop-shadow(0 0 7px rgba(255,70,70,.55));
}

.dynamic-island.failed .island-mouth {
  bottom: 5px;
  border-top: 2px solid currentColor;
  border-bottom: 0;
}

.dynamic-island.failed .island-status {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 0;
}

.dynamic-island.failed .island-status::before,
.dynamic-island.failed .island-status::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 2px;
  background: #ff5555;
  transform: rotate(45deg);
}

.dynamic-island.failed .island-status::after { transform: rotate(-45deg); }

@keyframes island-scan {
  0%, 100% { transform: translateY(0); opacity: .45; }
  50% { transform: translateY(29px); opacity: 1; }
}

@keyframes island-spin { to { transform: rotate(360deg); } }

@keyframes island-reject {
  25% { transform: translateX(calc(-50% - 5px)); }
  55% { transform: translateX(calc(-50% + 4px)); }
  80% { transform: translateX(calc(-50% - 2px)); }
}

/* =========================================================
   LOCK SCREEN
========================================================= */

.lock-screen {
  z-index: 50;

  touch-action: none;

  background: #000 url("../media/wallpaper/phone-wallpaper.png") center / cover no-repeat;

  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease;
}

.lock-screen.unlocking {
  transform: translateY(-105%);
  opacity: 0;
}

.lock-content {
  position: absolute;

  top: 49%;
  left: 50%;

  width: calc(100% - 40px);

  text-align: center;

  transform: translate(-50%, -50%);
}

.lock-date {
  margin-bottom: 5px;

  font-size: 18px;
  font-weight: 500;

  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.lock-clock {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.lock-time {
  font-size: clamp(78px, 20vw, 96px);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -6px;

  text-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.lock-period {
  margin-top: 9px;
  margin-left: 8px;

  font-size: 13px;
  font-weight: 600;
}

/* =========================================================
   LOCK SCREEN BOTTOM CONTROLS
========================================================= */

.lock-bottom {
  position: absolute;

  left: 0;
  right: 0;
  bottom: max(18px, env(safe-area-inset-bottom));

  padding: 0 26px;
}

.swipe-zone {
  width: 100%;

  padding-top: 18px;

  text-align: center;

  user-select: none;
  -webkit-user-select: none;

  cursor: grab;
}

.swipe-zone:active {
  cursor: grabbing;
}

.swipe-arrow {
  margin-bottom: 3px;

  font-size: 20px;
  opacity: 0.8;

  animation: swipe-arrow 1.55s ease-in-out infinite;
}

.swipe-text {
  font-size: 14px;
  font-weight: 500;

  opacity: 0.78;
}

.home-indicator {
  width: 135px;
  height: 5px;

  margin: 13px auto 0;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

@keyframes swipe-arrow {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(4px);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

/* =========================================================
   FACE ID SCREEN
========================================================= */

.face-id-screen {
  z-index: 45;
  background: #000;
  transition: opacity 0.25s ease;
}

.face-id-screen.screen-hidden {
  transform: none;
}

.face-id-content {
  position: absolute;

  top: 50%;
  left: 50%;

  width: calc(100% - 40px);

  text-align: center;

  transform: translate(-50%, -50%);
}

.biometric-field {
  position: relative;
  width: min(78vw, 310px);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 24px rgba(47, 255, 137, 0.22));
  animation: field-arrival 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.face-scan {
  position: relative;
  width: 66%;
  height: 66%;
  color: #4dff9c;
  animation: face-distort 1.08s steps(2, end) both, face-breathe 1.8s ease-in-out 1.08s infinite;
}

.face-corner {
  position: absolute;

  width: 39%;
  height: 39%;

  border-color: currentColor;
  border-style: solid;
  filter: drop-shadow(0 0 7px currentColor);
}

.face-corner.top-left {
  top: 0;
  left: 0;

  border-width: 7px 0 0 7px;
  border-radius: 28px 0 0 0;
}

.face-corner.top-right {
  top: 0;
  right: 0;

  border-width: 7px 7px 0 0;
  border-radius: 0 28px 0 0;
}

.face-corner.bottom-left {
  bottom: 0;
  left: 0;

  border-width: 0 0 7px 7px;
  border-radius: 0 0 0 28px;
}

.face-corner.bottom-right {
  right: 0;
  bottom: 0;

  border-width: 0 7px 7px 0;
  border-radius: 0 0 28px 0;
}

.face-eye,
.face-nose,
.face-mouth {
  position: absolute;
  display: block;
  border-color: currentColor;
  filter: drop-shadow(0 0 6px currentColor);
}

.face-eye {
  top: 36%;
  width: 8px;
  height: 18px;
  border: 4px solid currentColor;
  border-width: 0 4px;
  border-radius: 50%;
}

.face-eye-left { left: 29%; }
.face-eye-right { right: 29%; }

.face-nose {
  top: 38%;
  left: 50%;
  width: 20px;
  height: 42px;
  border: 4px solid currentColor;
  border-width: 0 0 4px 4px;
  border-radius: 0 0 0 12px;
  transform: translateX(-50%);
}

.face-mouth {
  left: 50%;
  bottom: 23%;
  width: 48px;
  height: 22px;
  border-bottom: 5px solid currentColor;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
}

.face-line {
  position: absolute;

  top: 8%;
  left: 4%;

  width: 92%;
  height: 3px;

  border-radius: 999px;

  background: #baffd5;

  box-shadow: 0 0 8px #5cff9f, 0 0 24px #32ff86;

  animation: scan-face 1.05s ease-in-out infinite;
}

@keyframes scan-face {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(168px);
  }
}

.scan-orbit,
.scan-axis {
  position: absolute;
  pointer-events: none;
}

.scan-orbit {
  inset: 7%;
  border: 1px solid rgba(78, 255, 156, 0.38);
  border-radius: 50%;
}

.orbit-one { animation: orbit-spin 4.8s linear infinite; border-style: dashed; }
.orbit-two { inset: 18%; animation: orbit-spin 3.2s linear infinite reverse; border-color: rgba(78,255,156,.2); }

.scan-axis { background: linear-gradient(90deg, transparent, rgba(78,255,156,.32), transparent); }
.scan-axis-x { left: 0; right: 0; top: 50%; height: 1px; }
.scan-axis-y { top: 0; bottom: 0; left: 50%; width: 1px; transform: rotate(90deg); }

.scan-readout {
  position: absolute;
  left: 50%;
  color: rgba(104, 255, 173, 0.58);
  font: 600 8px/1 monospace;
  letter-spacing: 0.2em;
  white-space: nowrap;
  transform: translateX(-50%);
}
.readout-top { top: 3%; }
.readout-bottom { bottom: 3%; }

@keyframes field-arrival {
  0% { opacity: 0; transform: scale(1.55); filter: blur(20px); }
  58% { opacity: 1; transform: scale(0.94); filter: blur(0); }
  100% { transform: scale(1); }
}

@keyframes face-distort {
  0% { opacity: 0; transform: scaleX(2.3) scaleY(.04) skewX(26deg); filter: blur(13px); }
  32% { opacity: 1; transform: scaleX(.62) scaleY(1.16) skewX(-9deg); }
  48% { transform: translateX(11px) scaleX(1.18); clip-path: inset(0 0 58% 0); }
  64% { transform: translateX(-7px) scaleX(.9); clip-path: inset(36% 0 0 0); }
  100% { transform: none; clip-path: inset(0); filter: none; }
}

@keyframes face-breathe {
  50% { transform: scale(.97); opacity: .76; }
}

@keyframes orbit-spin { to { transform: rotate(360deg); } }

@keyframes biometric-noise {
  50% { transform: translate(1px, -1px); opacity: .72; }
}

.face-id-heading {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.face-id-message {
  min-height: 22px;

  margin-top: 9px;

  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}

.face-id-message.failed {
  color: #64ffa9;
  text-shadow: 0 0 12px rgba(55, 255, 144, .5);
}

/* =========================================================
   PASSCODE SCREEN
========================================================= */

.passcode-screen {
  z-index: 40;

  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(255, 255, 255, 0.08),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #101010 0%,
      #050505 47%,
      #000 100%
    );

  transition:
    opacity 0.28s ease,
    transform 0.35s ease;
}

.passcode-screen.screen-hidden {
  transform: scale(1.025);
}

.lost-phone-screen { z-index: 58; display: grid; place-items: center; padding: 38px; background: #000; color: #fff; text-align: center; }
.lost-phone-screen.screen-hidden { display: none; }
.lost-phone-message { max-width: 290px; }
.lost-phone-message h1 { font-size: 25px; line-height: 1.08; letter-spacing: -.02em; }
.lost-phone-message > p { margin-top: 18px; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.45; }
.lost-access-code { margin-top: 34px; display: grid; gap: 4px; }
.lost-access-code span { color: rgba(255,255,255,.55); font-size: 12px; }
.lost-access-code strong { font-size: 42px; letter-spacing: .18em; text-indent: .18em; }
.lost-phone-message button { margin-top: 30px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: #fff; color: #000; font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.device.lost-mode .dynamic-island { opacity: 0; pointer-events: none; }

.passcode-layout {
  position: absolute;
  inset: 0;

  padding:
    max(58px, calc(env(safe-area-inset-top) + 40px))
    28px
    max(20px, env(safe-area-inset-bottom));

  display: grid;
  grid-template-rows: 1fr auto 1fr;
}

/*
The empty top and bottom grid rows are equal.
That keeps the complete passcode block centered vertically.
*/

.passcode-center {
  grid-row: 2;

  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.passcode-heading {
  font-size: 20px;
  font-weight: 500;
}

.passcode-subtitle {
  margin-top: 7px;

  font-size: 13px;
  opacity: 0.58;
}

.passcode-dots {
  display: flex;
  gap: 19px;

  margin-top: 25px;
}

.passcode-dot {
  width: 12px;
  height: 12px;

  border: 1.5px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;

  transition:
    background 0.14s ease,
    transform 0.14s ease;
}

.passcode-dot.filled {
  background: #fff;
  transform: scale(1.08);
}

.passcode-error {
  min-height: 20px;

  margin-top: 10px;

  color: #ff5d5d;

  font-size: 13px;
  opacity: 0;

  transition: opacity 0.18s ease;
}

.passcode-error.visible {
  opacity: 1;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 74px);
  gap: 16px 23px;

  margin-top: 3px;
}

.keypad-space {
  width: 74px;
  height: 74px;
}

.passcode-key {
  width: 74px;
  height: 74px;

  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.19),
      rgba(255, 255, 255, 0.1)
    );

  color: #fff;

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.18);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  font-size: 29px;
  font-weight: 400;

  cursor: pointer;

  transition:
    transform 0.1s ease,
    background 0.1s ease;
}

.passcode-key:active {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0.92);
}

.passcode-actions {
  position: absolute;

  left: 23px;
  right: 23px;
  bottom: max(38px, calc(env(safe-area-inset-bottom) + 18px));

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.passcode-action {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);

  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
}

.full-screen-shake {
  animation: full-screen-shake 0.43s ease;
}

@keyframes full-screen-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  15% {
    transform: translateX(-15px);
  }

  30% {
    transform: translateX(15px);
  }

  45% {
    transform: translateX(-11px);
  }

  60% {
    transform: translateX(11px);
  }

  75% {
    transform: translateX(-6px);
  }

  90% {
    transform: translateX(6px);
  }
}

/* =========================================================
   HOME SCREEN
========================================================= */

.home-screen {
  z-index: 10;

  padding:
    max(54px, calc(env(safe-area-inset-top) + 42px))
    20px
    calc(132px + env(safe-area-inset-bottom));

  background: #000 url("../media/wallpaper/phone-wallpaper.png") center / cover no-repeat;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.home-screen.screen-hidden {
  transform: scale(1.03);
}

.device.app-open .home-screen {
  filter: blur(22px) saturate(.72) brightness(.62);
  transform: scale(1.09);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 90px;
  gap: 20px 10px;
  align-items: start;
}

.weather-widget {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  height: 180px;
  padding: 17px 17px 15px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, rgba(43,46,65,.98), rgba(34,42,61,.96));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.08), 0 18px 38px rgba(0,0,0,.24);
  color: #fff;
  text-align: left;
}

.weather-location-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.weather-location-row strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-location-arrow {
  flex: 0 0 auto;
  font-size: 7px;
  transform: rotate(45deg);
}

.weather-temperature {
  margin-top: 2px;
  font-size: 45px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
}

.weather-details {
  margin-top: auto;
  display: grid;
  gap: 1px;
  font-size: 12px;
  line-height: 1.2;
}

.weather-symbol {
  margin-bottom: 2px;
  font-size: 23px;
  line-height: 1;
}

.weather-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -23px;
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.app-button {
  min-width: 0;

  background: transparent;
  color: #fff;

  cursor: pointer;
}

.app-icon {
  width: 62px;
  height: 62px;

  margin: 0 auto;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 17px;

  display: grid;
  place-items: center;

  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(10, 13, 12, 0.32));

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.26);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  font-size: 27px;

  transition:
    transform 0.13s ease,
    filter 0.13s ease;
}

.app-button:active .app-icon {
  transform: scale(0.9);
  filter: brightness(1.2);
}

.glass-icon {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.glass-icon::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 2px;
  left: 7px;
  right: 7px;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.04));
  opacity: 0.48;
  pointer-events: none;
}

.glass-icon > span {
  position: relative;
  z-index: 1;
}

.glass-icon-music {
  background: linear-gradient(145deg, rgba(255, 75, 94, 0.88), rgba(123, 12, 39, 0.64));
}

.music-symbol {
  font-size: 36px;
  font-weight: 600;
  transform: translateY(-1px);
}

.glass-icon-photos {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(192, 210, 201, 0.36));
}

.photos-symbol {
  width: 37px;
  height: 37px;
}

.photos-symbol i {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 10px;
  height: 18px;
  border-radius: 9px;
  background: #ffbd2e;
  transform-origin: 5px 5px;
}

.photos-symbol i:nth-child(2) { background: #ff6259; transform: rotate(60deg); }
.photos-symbol i:nth-child(3) { background: #d756d9; transform: rotate(120deg); }
.photos-symbol i:nth-child(4) { background: #5b83f7; transform: rotate(180deg); }
.photos-symbol i:nth-child(5) { background: #49c9dd; transform: rotate(240deg); }
.photos-symbol i:nth-child(6) { background: #64c96b; transform: rotate(300deg); }

.photos-symbol b {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
}

.glass-icon-notes {
  background: linear-gradient(145deg, rgba(255, 222, 74, 0.92), rgba(150, 104, 7, 0.55));
}

.notes-symbol {
  width: 34px;
  height: 39px;
  padding-top: 11px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.notes-symbol::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 5px 5px 0 0;
  background: #ffd634;
}

.notes-symbol i {
  display: block;
  width: 24px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: rgba(75, 66, 40, 0.38);
}

.glass-icon-settings {
  background: linear-gradient(145deg, rgba(157, 167, 174, 0.9), rgba(47, 56, 61, 0.62));
}

.settings-symbol { font-size: 36px; }

.glass-icon-mail {
  background: linear-gradient(145deg, rgba(74, 174, 255, 0.92), rgba(20, 65, 143, 0.62));
}

.mail-symbol {
  width: 38px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mail-symbol::before,
.mail-symbol::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 23px;
  height: 2px;
  background: #fff;
}

.mail-symbol::before { left: -1px; transform: rotate(35deg); }
.mail-symbol::after { right: -1px; transform: rotate(-35deg); }

.glass-icon-instagram {
  background: linear-gradient(145deg, rgba(230, 69, 143, 0.9), rgba(89, 44, 164, 0.68) 58%, rgba(246, 145, 48, 0.72));
}

.glass-icon-supply {
  background:
    radial-gradient(circle at 28% 20%, rgba(255,255,255,.42), transparent 28%),
    linear-gradient(145deg, rgba(59,255,128,.96), rgba(0,113,47,.8));
}

.supply-symbol {
  width: 41px;
  height: 39px;
  transform: rotate(-4deg);
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.22));
}

.supply-handle {
  position: absolute;
  top: 4px;
  left: 2px;
  width: 11px;
  height: 7px;
  border: 4px solid #fff;
  border-width: 4px 0 0 4px;
  border-radius: 5px 0 0 0;
}

.supply-basket {
  position: absolute;
  top: 10px;
  left: 9px;
  width: 29px;
  height: 20px;
  border: 4px solid #fff;
  border-top-width: 3px;
  border-radius: 4px 6px 9px 8px;
  transform: skewX(-8deg);
}

.supply-basket::before,
.supply-basket::after {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,.72);
}

.supply-basket::before { left: 7px; }
.supply-basket::after { right: 7px; }

.supply-wheel {
  position: absolute;
  bottom: 1px;
  width: 6px;
  height: 6px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(0,92,37,.7);
}

.supply-wheel.left { left: 12px; }
.supply-wheel.right { right: 3px; }

.supply-symbol b {
  position: absolute;
  top: 13px;
  left: 16px;
  width: 14px;
  height: 10px;
  border-radius: 2px;
  background: rgba(0,83,35,.82);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}

.supply-symbol b::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 4px;
  width: 6px;
  height: 4px;
  border: 1.5px solid rgba(255,255,255,.9);
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.glass-icon-maps {
  background: linear-gradient(145deg, #49db70, #218bdd 52%, #f1d34a);
}

.maps-symbol {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 50%;
}

.maps-symbol i {
  position: absolute;
  inset: 7px;
  border-radius: 50% 50% 50% 4px;
  background: #1586ff;
  box-shadow: inset 0 0 0 4px #fff;
  transform: rotate(-45deg);
}

.maps-symbol b {
  position: absolute;
  left: 17px;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.dock-button { position: relative; }

.messages-unread-badge,
.thread-unread-dot {
  display: block;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 2px rgba(0,0,0,.5);
}

.messages-unread-badge {
  position: absolute;
  z-index: 3;
  top: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
}

[data-messages-unread][hidden] { display: none; }

.instagram-symbol {
  width: 36px;
  height: 36px;
  border: 3px solid #fff;
  border-radius: 10px;
}

.instagram-symbol i {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
}

.instagram-symbol b {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.glass-icon-phone {
  background: linear-gradient(145deg, rgba(75, 221, 103, 0.92), rgba(16, 111, 52, 0.66));
}

.phone-symbol {
  font-size: 33px;
  transform: rotate(-12deg);
}

.glass-icon-messages {
  background: linear-gradient(145deg, rgba(81, 224, 112, 0.92), rgba(17, 114, 55, 0.66));
}

.messages-symbol {
  width: 38px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
}

.messages-symbol::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -4px;
  width: 12px;
  height: 12px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform: rotate(-9deg);
}

.app-label {
  display: block;

  margin-top: 7px;

  overflow: hidden;

  color: #fff;

  font-size: 12px;
  font-weight: 500;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================================
   DOCK
========================================================= */

.system-dock-wrap {
  position: absolute;
  z-index: 80;

  left: 20px;
  right: 20px;
  bottom: max(15px, env(safe-area-inset-bottom));

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.system-dock-wrap.dock-hidden {
  visibility: hidden;
  opacity: 0;

  pointer-events: none;

  transform: translateY(30px);
}

.system-dock {
  min-height: 92px;

  padding: 11px 18px;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 29px;

  background: rgba(255, 255, 255, 0.13);

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 18px 45px rgba(0, 0, 0, 0.3);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.dock-button {
  background: transparent;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.dock-icon {
  width: 58px;
  height: 58px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;

  display: grid;
  place-items: center;

  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(10, 13, 12, 0.32));

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 9px 25px rgba(0, 0, 0, 0.24);

  font-size: 25px;

  transition:
    transform 0.13s ease,
    filter 0.13s ease;
}

.dock-button:active .dock-icon {
  transform: scale(0.9);
  filter: brightness(1.2);
}

.home-x-icon {
  width: 58px;
  height: 58px;

  border: 1px solid rgba(255, 70, 70, 0.48);
  border-radius: 50%;

  background:
    radial-gradient(
      circle at 35% 25%,
      rgba(255, 70, 70, 0.16),
      transparent 55%
    ),
    rgba(35, 0, 0, 0.88);

  color: var(--red);

  display: grid;
  place-items: center;

  box-shadow:
    inset 0 1px 1px rgba(255, 100, 100, 0.12),
    0 8px 26px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 0, 0, 0.1);

  font-size: 39px;
  font-weight: 250;
  line-height: 1;

  transition:
    transform 0.13s ease,
    background 0.13s ease;
}

.dock-button:active .home-x-icon {
  background: rgba(90, 0, 0, 0.85);
  transform: scale(0.9);
}

/* =========================================================
   APP WINDOW
========================================================= */

.app-window {
  position: absolute;
  z-index: 60;
  inset: 0;

  padding:
    max(58px, calc(env(safe-area-inset-top) + 44px))
    20px
    calc(132px + env(safe-area-inset-bottom));

  overflow-y: auto;

  background:
    radial-gradient(
      circle at top right,
      rgba(145, 0, 0, 0.17),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      rgba(18, 18, 18, .9),
      rgba(7, 7, 7, .92) 45%,
      rgba(0, 0, 0, .94)
    );

  backdrop-filter: blur(18px) saturate(.8);
  -webkit-backdrop-filter: blur(18px) saturate(.8);

  opacity: 0;
  pointer-events: none;

  transform: translateY(100%);

  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

.app-window.open {
  opacity: 1;
  pointer-events: auto;

  transform: translateY(0);
}

.app-heading {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1.3px;
}

.app-content {
  margin-top: 27px;
}

.placeholder-card {
  padding: 22px;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.07);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.placeholder-card h2 {
  font-size: 20px;
  font-weight: 650;
}

.placeholder-card p {
  margin-top: 9px;

  font-size: 14px;
  line-height: 1.55;

  opacity: 0.67;
}

/* =========================================================
   MUSIC AND NOTES
========================================================= */

.media-app-content {
  margin-top: 18px;
}

.app-loading,
.app-error,
.empty-state {
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.45;
}

.app-error {
  color: #ff7777;
}

.app-back-button {
  margin-bottom: 20px;
  background: transparent;
  color: #ff4242;
  font-size: 17px;
  cursor: pointer;
}

.music-album-card {
  width: 100%;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.music-artwork-wrap,
.player-artwork-wrap {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(145deg, #331010, #0b0b0b);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.music-artwork,
.player-artwork {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.music-artwork.missing,
.player-artwork.missing {
  display: none;
}

.music-artwork-fallback,
.player-artwork-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 70px;
}

.music-album-title {
  display: block;
  margin-top: 15px;
  font-size: 20px;
  font-weight: 700;
}

.music-album-artist,
.music-album-header p,
.player-meta p {
  display: block;
  margin-top: 3px;
  color: #ff4242;
  font-size: 15px;
}

.music-album-actions,
.music-list-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 8px;
}

.music-album-actions button,
.music-list-actions button {
  min-height: 46px;
  border-radius: 12px;
  background: rgba(255, 66, 66, 0.14);
  color: #ff5454;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.music-album-header {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 17px;
  align-items: end;
  margin-bottom: 24px;
}

.music-artwork-wrap.small {
  width: 112px;
  border-radius: 12px;
}

.music-album-header h2 {
  font-size: 23px;
  line-height: 1.1;
}

.music-track-list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.music-track-row {
  width: 100%;
  min-height: 62px;
  padding: 9px 4px;
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.music-track-row.current { color: #ff5454; }
.music-track-row.current .music-track-copy small { color: rgba(255, 84, 84, 0.7); }

.music-equalizer { height: 14px; display: inline-flex; align-items: end; gap: 2px; }
.music-equalizer b { width: 2px; height: 8px; border-radius: 2px; background: #ff5454; animation: music-level .7s ease-in-out infinite alternate; }
.music-equalizer b:nth-child(2) { height: 13px; animation-delay: -.35s; }
.music-equalizer b:nth-child(3) { height: 5px; animation-delay: -.15s; }
@keyframes music-level { to { height: 3px; } }

.music-track-number,
.music-track-play,
.music-track-copy small {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.music-track-copy strong,
.music-track-copy small {
  display: block;
}

.music-track-copy strong {
  font-size: 16px;
}

.music-track-copy small {
  margin-top: 3px;
}

.music-track-play {
  text-align: right;
}

.music-player-view {
  text-align: center;
}

.music-player-view .app-back-button {
  display: block;
}

.player-artwork-wrap {
  width: min(100%, 310px);
  margin: 0 auto;
}

.player-artwork-wrap { transition: transform .35s ease, border-radius .35s ease; }
.player-artwork-wrap.paused { transform: scale(.88); border-radius: 20px; }

.player-meta {
  margin-top: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.player-meta button { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }

.player-meta h2 {
  font-size: 23px;
}

.music-seek {
  width: 100%;
  margin-top: 21px;
  height: 5px;
  border-radius: 5px;
  appearance: none;
  background: linear-gradient(to right, #fff var(--progress), rgba(255,255,255,.22) var(--progress));
}
.music-seek::-webkit-slider-thumb { appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; }

.music-time {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.music-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin: 20px auto 4px;
}

.music-controls button {
  min-height: 54px;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.music-controls .music-play-button {
  width: 62px;
  height: 62px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 24px;
}

.music-secondary-controls { display: grid; grid-template-columns: 40px 1fr 40px; gap: 12px; align-items: center; margin-top: 15px; }
.music-secondary-controls > button { height: 40px; background: transparent; color: rgba(255,255,255,.55); font-size: 19px; cursor: pointer; }
.music-secondary-controls > button.active { color: #ff5454; }
.music-volume { display: grid; grid-template-columns: 20px 1fr 20px; gap: 6px; align-items: center; color: rgba(255,255,255,.45); font-size: 11px; }
.music-volume input { width: 100%; accent-color: #fff; }
.music-lyrics-toggle { margin-top: 18px; padding: 9px 15px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-weight: 650; cursor: pointer; }
.music-lyrics { margin-top: 18px; padding: 18px; border-radius: 18px; background: linear-gradient(145deg, rgba(255,66,66,.3), rgba(80,12,12,.4)); text-align: left; }
.music-lyrics h3 { margin-bottom: 12px; font-size: 18px; }
.music-lyrics p { white-space: pre-line; color: rgba(255,255,255,.88); font-size: 16px; font-weight: 600; line-height: 1.65; }

@media (prefers-reduced-motion: reduce) { .music-equalizer b { animation: none; } .player-artwork-wrap { transition: none; } }

/* =========================================================
   SUPPLY APP
========================================================= */

.supply-app-content {
  padding: 0 !important;
  background: #080808;
}

.supply-store {
  min-height: 100%;
  padding: 8px 18px 130px;
  color: #f4f4ef;
}

.supply-header {
  padding: 13px 2px 16px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.52);
  font: 600 9px/1 monospace;
  letter-spacing: .12em;
}

.supply-grid { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.supply-shelf { min-width: 0; min-height: 184px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; background: #101010; color: #f4f4ef; text-align: left; }
.supply-shelf.product img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; }
.supply-shelf.product > span { padding: 10px; display: grid; }
.supply-shelf.product small { color: #c7a34a; font: 650 7px/1.2 monospace; letter-spacing: .08em; }
.supply-shelf.product strong { min-height: 38px; margin-top: 6px; font-size: 11px; line-height: 1.25; }
.supply-shelf.product b { margin-top: 7px; font-size: 13px; }
.supply-shelf.product em { margin-top: 5px; color: rgba(255,255,255,.43); font: 600 7px/1.3 monospace; font-style: normal; }
.supply-shelf.empty { padding: 13px; display: flex; flex-direction: column; justify-content: space-between; color: rgba(255,255,255,.19); }
.supply-shelf.empty span { font: 700 24px/1 monospace; }.supply-shelf.empty p { font: 600 7px/1 monospace; letter-spacing: .12em; }

.supply-detail { min-height: 100%; padding: 8px 18px 140px; background: #080808; color: #f4f4ef; }
.supply-detail > header { padding: 10px 0 14px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.14); }.supply-detail > header button { background: transparent; color: #4dff87; font-size: 13px; }.supply-detail > header span { color: rgba(255,255,255,.42); font: 600 8px/1 monospace; }
.supply-gallery { margin-top: 14px; }.supply-gallery > img { width: 100%; aspect-ratio: 1; display: block; border-radius: 4px; object-fit: contain; background: #0c0c0c; }.supply-gallery > div { margin-top: 8px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.supply-gallery button { padding: 2px; border: 1px solid transparent; border-radius: 3px; background: #111; }.supply-gallery button.active { border-color: #c7a34a; }.supply-gallery button img { width: 100%; aspect-ratio: 1; display: block; object-fit: contain; background:#0c0c0c; }
.supply-product-intro { padding: 22px 0 18px; border-bottom: 1px solid rgba(255,255,255,.13); }.supply-product-intro > p:first-child { color: #c7a34a; font: 700 8px/1 monospace; letter-spacing: .13em; }.supply-product-intro h2 { margin-top: 8px; font-size: 27px; line-height: 1.02; letter-spacing: -.04em; }.supply-product-intro > strong { display: block; margin-top: 11px; font-size: 20px; }.supply-product-intro .supply-lead { margin-top: 18px; color: #fff; font-size: 14px; font-weight: 700; }.supply-product-intro > p:last-child { margin-top: 9px; color: rgba(255,255,255,.6); font-size: 11px; line-height: 1.55; }
.supply-edition-status { margin-top: 14px; padding: 10px; display: grid; grid-template-columns: 8px 1fr; gap: 3px 8px; align-items: center; background: #141414; }.supply-edition-status > span { width: 8px; height: 8px; grid-row: 1/3; border-radius: 50%; background: #c7a34a; box-shadow: 0 0 10px rgba(199,163,74,.5); }.supply-edition-status b { font: 700 9px/1 monospace; }.supply-edition-status small { color: rgba(255,255,255,.45); font-size: 8px; }
.supply-order { margin: 18px 0; padding: 15px; border: 1px solid rgba(255,255,255,.15); background: #101010; }.supply-order label { display:block;color: rgba(255,255,255,.55); font: 700 8px/1 monospace; letter-spacing: .1em; }.supply-order select,.supply-order input,.supply-order textarea { width: 100%; margin: 8px 0 14px; padding: 12px; border: 1px solid #555; border-radius: 2px; background: #080808; color: #fff; font: inherit; resize:vertical }.supply-order .supply-desktop-alert{margin:0 0 14px;display:flex;gap:9px;align-items:center;line-height:1.35}.supply-order .supply-desktop-alert input{width:16px;height:16px;margin:0}.supply-order > p { padding: 8px 0; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.09); font-size: 10px; }.supply-order > p span { color: rgba(255,255,255,.5); }.supply-order > button { width: 100%; margin-top: 12px; padding: 14px; background: #f4f4ef; color: #050505; font-size: 11px; font-weight: 800; letter-spacing: .08em; }.supply-order > button:disabled { opacity: .35; }.supply-order > small { min-height: 26px; margin-top: 9px; display: block; color: #c7a34a; font-size: 9px; line-height: 1.4; text-align: center; }
.supply-information { padding: 19px 0; border-top: 1px solid rgba(255,255,255,.13); }.supply-information h3 { color: #c7a34a; font-size: 15px; }.supply-information p,.supply-information li { color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.55; }.supply-information p { margin-top: 10px; }.supply-information ul { margin: 11px 0 0 17px; }.supply-information li + li { margin-top: 4px; }.supply-information b { color: #fff; }.supply-information blockquote { margin-top: 12px; padding: 12px; border-left: 2px solid #c7a34a; background: #111; color: #c7a34a; font: 700 12px/1 monospace; }
.supply-detail > footer { padding: 15px; border: 1px solid rgba(199,163,74,.38); background: #0d0d0d; }.supply-detail > footer p { padding: 8px 0; color: #fff; font-size: 10px; }.supply-detail > footer p + p { border-top: 1px solid rgba(255,255,255,.08); }.supply-detail > footer span { width: 90px; display: inline-block; color: #c7a34a; font: 650 7px/1 monospace; letter-spacing: .1em; }

@media (max-width: 360px) {
  .home-screen { padding-inline: 14px; }
  .app-grid { gap-inline: 6px; }
  .app-icon { width: 56px; height: 56px; }
  .weather-widget { height: 172px; padding-inline: 14px; }
}

/* =========================================================
   MESSAGES / PHOTOS / MAPS
========================================================= */

.connected-app-content { padding: 0 !important; background: #000; }

.messages-list-view { min-height: 100%; padding: 8px 18px 130px; color: #fff; }
.messages-list-heading { display: flex; align-items: center; justify-content: space-between; padding: 8px 1px 14px; }
.messages-list-heading h2 { font-size: 30px; letter-spacing: -.04em; }
.messages-list-heading button { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.1); color: #178bff; }
.message-thread-row { position: relative; width: 100%; padding: 11px 4px; display: grid; grid-template-columns: 54px 1fr 10px; gap: 11px; align-items: center; border-top: 1px solid rgba(255,255,255,.12); background: transparent; color: #fff; text-align: left; }
.message-composer { position: static; margin: 0 10px 22px; padding: 9px; display: grid; grid-template-columns: 1fr 34px; gap: 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(18,18,18,.92); box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.message-composer input { min-width: 0; padding: 0 7px; background: transparent; color: #fff; font-size: 14px; }
.message-composer input::placeholder { color: rgba(255,255,255,.42); }
.message-composer button { width: 34px; height: 34px; border-radius: 50%; background: #1687f8; color: #fff; font-size: 20px; font-weight: 800; }
.typing-message { margin-top: 6px; }
.typing-indicator { min-width: 54px; min-height: 34px; display: flex; gap: 4px; align-items: center; justify-content: center; }
.typing-indicator i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.58); animation: message-typing 1.1s infinite ease-in-out; }
.typing-indicator i:nth-child(2) { animation-delay: .15s; }
.typing-indicator i:nth-child(3) { animation-delay: .3s; }
@keyframes message-typing { 0%,60%,100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.message-thread-row > img, .message-thread-row > .contact-initials { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.contact-initials { display: grid; place-items: center; flex: 0 0 auto; background: linear-gradient(145deg,#85858a,#4c4c50); color: #fff; font-size: 25px; font-weight: 400; text-transform: uppercase; }
.thread-unread-dot { position: absolute; left: -7px; width: 8px; height: 8px; box-shadow: none; }
.thread-unread-dot[hidden] { display: none; }
.thread-summary { min-width: 0; display: grid; grid-template-columns: 1fr auto; }
.thread-summary strong { font-size: 15px; }
.thread-summary small { color: rgba(255,255,255,.42); font-size: 11px; }
.thread-summary p { grid-column: 1 / -1; margin-top: 3px; overflow: hidden; color: rgba(255,255,255,.5); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.thread-chevron { color: rgba(255,255,255,.36); font-size: 21px; }

.message-conversation { min-height: 100%; background: #000; color: #fff; }
.conversation-header { position: relative; min-height: 104px; padding: 12px 14px 10px; display: grid; place-items: center; background: transparent; border: 0; }
.conversation-header > button { position: absolute; left: 14px; top: 29px; color: #168cff; background: transparent; font-size: 38px; font-weight: 300; }
.conversation-contact-glass { position: relative; width: 78px; min-height: 76px; padding: 7px 7px 6px; display: grid; place-items: center; gap: 3px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.055)); box-shadow: inset 0 1px 1px rgba(255,255,255,.17),0 10px 28px rgba(0,0,0,.35); backdrop-filter: blur(20px) saturate(1.25); }
.conversation-contact-glass::before { content:""; position:absolute; inset:1px 8px auto; height:32%; border-radius:999px; background:linear-gradient(180deg,rgba(255,255,255,.3),transparent); opacity:.55; pointer-events:none; }
.conversation-contact-glass img, .conversation-contact-glass .contact-initials { position:relative; z-index:1; width:48px; height:48px; border:1px solid rgba(255,255,255,.3); border-radius:50%; object-fit:cover; box-shadow:0 4px 12px rgba(0,0,0,.3); }
.conversation-contact-glass strong { position:relative; z-index:1; max-width:64px; overflow:hidden; font-size:10px; font-weight:650; text-align:center; text-overflow:ellipsis; white-space:nowrap; }
.conversation-stream { padding: 8px 10px 18px; }
.message-date { margin: 23px auto 12px; color: rgba(255,255,255,.43); font-size: 10px; font-weight: 650; text-align: center; text-transform: uppercase; }
.message-gap { height: 19px; }
.message-item { max-width: 79%; margin: 2px 0; display: flex; flex-direction: column; align-items: flex-start; }
.message-item.outgoing { margin-left: auto; align-items: flex-end; }
.message-item time { margin: 4px 8px 3px; color: rgba(255,255,255,.34); font-size: 9px; }
.message-bubble { overflow: hidden; padding: 8px 12px; border-radius: 18px; background: #303034; font-size: 14px; line-height: 1.28; text-align: left; }
.message-link { color: #61aaff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; overflow-wrap: anywhere; }
.outgoing .message-bubble { background: #1687f8; }
.outgoing.android-message .message-bubble { background: #34c759; color: #fff; }
.bank-message.incoming .message-bubble { border: 1px solid rgba(50,148,220,.24); background: linear-gradient(145deg,#252a31,#1c2026); color: #f7fbff; }
.bank-message.incoming .message-bubble::first-line { font-weight: 650; }
.message-system { margin: 9px auto 25px; display: grid; gap: 3px; color: rgba(255,255,255,.48); font-size: 10px; text-align: center; }
.message-system strong { color: rgba(255,255,255,.72); font-size: 11px; }
.message-bubble.has-image, .message-bubble.has-location { padding: 3px; background: #303034; }
.message-bubble.has-image p, .message-bubble.has-location p { padding: 7px 9px 8px; }
.message-photo { display: block; width: min(224px, 60vw); max-height: 285px; border-radius: 15px; object-fit: cover; }
.message-receipt { margin: 3px 7px 1px; color: rgba(255,255,255,.42); font-size: 9px; }
.message-receipt.incoming-status { align-self: flex-start; }
.message-status-event { margin: 12px auto 24px; display: grid; gap: 4px; color: rgba(255,255,255,.38); font-size: 9px; text-align: center; }
.message-status-event strong { color: rgba(255,255,255,.55); font-weight: 600; }
.message-location-card { width: min(225px, 61vw); overflow: hidden; display: grid; background: #efefef; color: #111; border-radius: 15px; text-align: left; }
.mini-map { position: relative; height: 112px; overflow: hidden; background: linear-gradient(35deg,#d7e8d1 0 26%,#e9e2cb 27% 53%,#caddf1 54%); }
.mini-map::before, .mini-map::after { content: ""; position: absolute; width: 240px; height: 14px; background: #fff; box-shadow: 0 0 0 2px #c9c4b8; transform: rotate(-24deg) translate(-25px,55px); }
.mini-map::after { transform: rotate(52deg) translate(35px,-60px); }
.mini-map i { position: absolute; z-index: 2; left: 50%; top: 42%; width: 21px; height: 21px; border-radius: 50% 50% 50% 2px; background: #f23b35; transform: rotate(-45deg); }
.mini-map b { position: absolute; z-index: 3; left: calc(50% + 7px); top: calc(42% + 7px); width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.message-location-card strong { padding: 8px 10px 1px; font-size: 13px; }
.message-location-card small { padding: 0 10px 9px; color: #777; font-size: 9px; }

.photos-library { min-height: 100%; padding-bottom: 130px; color: #fff; }
.photos-library header { padding: 12px 15px; display: flex; align-items: end; justify-content: space-between; }
.photos-library h2 { font-size: 30px; letter-spacing: -.04em; }
.photos-library header span { color: rgba(255,255,255,.45); font-size: 11px; }
.photos-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; }
.photos-grid button { aspect-ratio: 1; overflow: hidden; background: #111; }
.photos-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-lightbox { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.95); }
.photo-lightbox[hidden] { display: none; }
.photo-lightbox img { max-width: 94%; max-height: 84%; object-fit: contain; }
.photo-lightbox button { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 23px; }

.maps-view { min-height: 100%; padding-bottom: 130px; background: #dbe8d5; color: #111; }
.maps-canvas { position: relative; height: 58vh; overflow: hidden; background: linear-gradient(32deg,#cce1c3 0 30%,#e9e2ca 31% 61%,#bcd6eb 62%); }
.map-road { position: absolute; width: 150%; height: 28px; background: #fff; box-shadow: 0 0 0 3px #c6c2b8; }
.road-one { left: -25%; top: 44%; transform: rotate(-25deg); }
.road-two { left: -15%; top: 60%; transform: rotate(47deg); }
.map-pin { position: absolute; left: 50%; top: 47%; width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; background: #f43b36; box-shadow: 0 5px 12px rgba(0,0,0,.25); transform: rotate(-45deg); }
.map-pin::after { content:""; position:absolute; inset:10px; border-radius:50%; background:#fff; }
.map-place-card { position: relative; margin: -24px 12px 0; padding: 17px; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.map-place-card p { color: #1687f8; font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.map-place-card h2 { margin-top: 5px; font-size: 23px; }
.map-place-card span, .map-place-card small { display: block; margin-top: 5px; color: #666; font-size: 11px; }

/* =========================================================
   INSTAGRAM PROFILE HANDOFF
========================================================= */

.instagram-app-content { padding: 0 !important; background: #080808; }
.instagram-profile-launcher { min-height: 100%; padding: 21px 18px 140px; display: flex; flex-direction: column; color: #fff; background: radial-gradient(circle at 90% 5%, rgba(190,47,142,.24), transparent 28%), #080808; }
.instagram-wordmark { font-family: cursive; font-size: 30px; font-weight: 650; letter-spacing: -.06em; }
.instagram-profile-card { margin-top: 34px; padding: 21px 16px; display: flex; gap: 15px; align-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.055); }
.instagram-profile-avatar { flex: 0 0 66px; width: 66px; height: 66px; padding: 3px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#f9ce34,#ee2a7b,#6228d7,#f9ce34); }
.instagram-profile-avatar span { width: 58px; height: 58px; display: grid; place-items: center; border: 3px solid #080808; border-radius: 50%; background: #141414; font-size: 16px; font-weight: 850; letter-spacing: -.08em; }
.instagram-profile-copy { min-width: 0; }
.instagram-profile-copy p { color: #d258e8; font-size: 8px; font-weight: 750; letter-spacing: .16em; }
.instagram-profile-copy h2 { margin-top: 4px; overflow: hidden; font-size: 20px; letter-spacing: -.03em; text-overflow: ellipsis; }
.instagram-profile-copy span { display: block; margin-top: 7px; color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.4; }
.instagram-open-profile { margin-top: 18px; padding: 14px; border-radius: 12px; display: block; background: #1687f8; color: #fff; font-size: 13px; font-weight: 750; text-align: center; }
.instagram-privacy-note { margin: 12px auto 0; max-width: 31ch; color: rgba(255,255,255,.34); font-size: 9px; line-height: 1.45; text-align: center; }

img,
[data-protected-media] {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

/* =========================================================
   PREMIUM MUSIC PLAYER
========================================================= */

.music-player-view {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  padding-bottom: 130px;
}

.music-player-view > *:not(.player-backdrop) { position: relative; z-index: 1; }

.player-backdrop {
  position: absolute;
  z-index: -1;
  top: -90px;
  left: -35px;
  right: -35px;
  height: 72%;
  background-position: center;
  background-size: cover;
  filter: blur(60px) saturate(1.35);
  opacity: .3;
  transform: scale(1.2);
  -webkit-mask-image: linear-gradient(#000 0 55%,transparent 100%);
  mask-image: linear-gradient(#000 0 55%,transparent 100%);
}

.player-kicker {
  margin: 2px 0 13px;
  color: rgba(255,255,255,.47);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .19em;
}

.player-artwork-wrap {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  box-shadow: 0 30px 55px rgba(0,0,0,.42), inset 0 1px 1px rgba(255,255,255,.12);
}

.player-artwork-wrap.paused { transform: scale(.88); border-radius: 29px; box-shadow: 0 17px 36px rgba(0,0,0,.36); }
.player-meta h2 { font-size: 26px; letter-spacing: -.035em; }
.player-meta p { margin-top: 3px; color: rgba(255,255,255,.58); font-size: 14px; }
.player-meta small { display: block; margin-top: 5px; color: rgba(255,255,255,.35); font-size: 10px; }
.music-seek { height: 7px; background: linear-gradient(to right,#fff var(--progress),rgba(255,255,255,.18) var(--progress)); box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.music-seek::-webkit-slider-thumb { width: 15px; height: 15px; box-shadow: 0 2px 7px rgba(0,0,0,.35); }
.music-controls .music-play-button { width: 68px; height: 68px; box-shadow: 0 12px 28px rgba(0,0,0,.28); transition: transform .15s ease; }
.music-controls .music-play-button:active { transform: scale(.92); }
.music-track-row { grid-template-columns: 30px minmax(0,1fr) auto; }
.music-track-stats { min-width: 58px; display: flex; align-items: center; justify-content: flex-end; gap: 7px; color: rgba(255,255,255,.34); }
.music-track-stats small { font-size: 9px; white-space: nowrap; }
.music-track-stats i { font-size: 20px; font-style: normal; }
.music-track-row.current .music-track-stats { color: rgba(255,84,84,.7); }

/* =========================================================
   INTERACTIVE SAVED MAPS
========================================================= */

.maps-view { position: relative; min-height: 100%; padding-bottom: 145px; background: #eef0ed; }
.maps-toolbar { position: absolute; z-index: 500; top: 12px; left: 12px; right: 12px; height: 42px; padding: 0 8px 0 15px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; background: rgba(248,248,248,.86); box-shadow: 0 7px 24px rgba(0,0,0,.17); color: #171719; backdrop-filter: blur(18px); }
.maps-toolbar strong { font-size: 15px; letter-spacing: -.02em; }
.maps-toolbar button { width: 31px; height: 31px; border-radius: 50%; background: #fff; color: #1687f8; font-size: 18px; box-shadow: 0 2px 7px rgba(0,0,0,.12); }
.maps-search { position: absolute; z-index: 600; top: 12px; left: 12px; right: 56px; height: 43px; padding: 0 6px 0 13px; display: grid; grid-template-columns: 20px 1fr auto; align-items: center; border: 1px solid rgba(255,255,255,.78); border-radius: 14px; background: rgba(248,248,248,.92); box-shadow: 0 7px 24px rgba(0,0,0,.18); color: #171719; backdrop-filter: blur(18px); }
.maps-search > span { color: #777; font-size: 20px; }
.maps-search input { min-width: 0; padding: 8px 5px; border: 0; outline: 0; background: transparent; color: #171719; font-size: 13px; }
.maps-search button { padding: 8px 10px; border-radius: 9px; background: #1687f8; color: #fff; font-size: 10px; font-weight: 700; }
.maps-recenter { position: absolute; z-index: 600; top: 12px; right: 12px; width: 36px; height: 43px; border: 1px solid rgba(255,255,255,.78); border-radius: 13px; background: rgba(248,248,248,.92); color: #1687f8; font-size: 19px; box-shadow: 0 7px 24px rgba(0,0,0,.18); backdrop-filter: blur(18px); }
.map-search-results { position: absolute; z-index: 650; top: 62px; left: 12px; right: 12px; max-height: 240px; overflow-y: auto; padding: 6px; border: 1px solid rgba(255,255,255,.82); border-radius: 14px; background: rgba(250,250,250,.96); box-shadow: 0 13px 34px rgba(0,0,0,.26); color: #171719; backdrop-filter: blur(20px); }
.map-search-results[hidden] { display: none; }
.map-search-results > p { padding: 11px; color: #666; font-size: 11px; text-align: center; }
.map-search-results button { width: 100%; padding: 10px; display: grid; border-radius: 9px; background: transparent; color: #171719; text-align: left; }
.map-search-results button + button { border-top: 1px solid #ddd; }
.map-search-results button:active { background: #e7eff9; }
.map-search-results strong { font-size: 12px; }
.map-search-results small { margin-top: 2px; overflow: hidden; color: #737373; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.maps-canvas { height: min(58vh,480px); min-height: 360px; background: #dfe8dc; }
.maps-canvas .leaflet-tile-pane { filter: saturate(.78) contrast(.93) brightness(1.04); }
.maps-canvas .leaflet-control-attribution { max-width: 75%; overflow: hidden; border-radius: 7px 0 0 0; font-size: 8px; white-space: nowrap; }
.maps-canvas .leaflet-control-zoom { overflow: hidden; border: 0; border-radius: 12px; box-shadow: 0 5px 18px rgba(0,0,0,.2); }
.maps-canvas .leaflet-control-zoom a { color: #1687f8; border-color: #e5e5e5; }
.saved-map-pin-wrap { background: transparent; border: 0; }
.saved-map-pin { position: relative; width: 36px; height: 36px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50% 50% 50% 5px; background: #ff3b30; box-shadow: 0 5px 13px rgba(0,0,0,.35); transform: rotate(-45deg); }
.saved-map-pin i { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.search-map-pin-wrap { background: transparent; border: 0; }
.search-map-pin { position: relative; width: 32px; height: 32px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50% 50% 50% 5px; background: #1687f8; box-shadow: 0 5px 13px rgba(0,0,0,.35); transform: rotate(-45deg); }
.search-map-pin i { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.saved-places-heading { margin: 14px 14px 6px; color: #171719; font-size: 17px; letter-spacing: -.025em; }
.saved-places-strip { position: relative; z-index: 2; margin: 0 10px; padding: 8px; overflow-x: auto; display: flex; gap: 8px; border-radius: 18px; background: rgba(245,245,245,.94); box-shadow: 0 7px 20px rgba(0,0,0,.14); backdrop-filter: blur(18px); scrollbar-width: none; }
.saved-places-strip::-webkit-scrollbar { display: none; }
.saved-places-strip button { flex: 0 0 210px; padding: 10px; display: grid; grid-template-columns: 12px 1fr; column-gap: 7px; border-radius: 12px; background: #fff; color: #151517; text-align: left; }
.saved-places-strip button.active { box-shadow: inset 0 0 0 2px #1687f8; }
.saved-places-strip button > span { grid-row: 1 / 3; color: #ff3b30; }
.saved-places-strip strong { font-size: 12px; }
.saved-places-strip small { overflow: hidden; color: #777; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.maps-view .map-place-card { margin-top: 12px; }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.22); }
.leaflet-popup-content { margin: 11px 13px; font: 11px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }

/* =========================================================
   LIVE MAIL + SPONSORED INBOX
========================================================= */

.app-button { position: relative; }
.mail-app-badge { position: absolute; z-index: 4; top: -5px; left: calc(50% + 20px); min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid #000; border-radius: 999px; display: grid; place-items: center; background: #ff3b30; color: #fff; font-size: 9px; font-weight: 750; }
.mail-app-badge[hidden] { display: none; }

.mail-notification-banner {
  position: absolute;
  z-index: 500;
  top: max(50px,calc(env(safe-area-inset-top) + 42px));
  left: 10px;
  right: 10px;
  min-height: 78px;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 22px;
  background: linear-gradient(145deg,rgba(62,62,68,.94),rgba(24,24,28,.9));
  box-shadow: 0 16px 40px rgba(0,0,0,.5),inset 0 1px 1px rgba(255,255,255,.18);
  color: #fff;
  text-align: left;
  backdrop-filter: blur(30px) saturate(1.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-125%) scale(.96);
  transition: opacity .38s ease,transform .55s cubic-bezier(.18,.9,.2,1),visibility .55s;
  touch-action: none;
  cursor: grab;
}
.mail-notification-banner.dragging { transition: none; cursor: grabbing; }
.mail-notification-banner.visible { opacity: 1; visibility: visible; transform: none; }
.mail-notification-banner.leaving { opacity: 0; transform: translateY(-115%) scale(.97); }
.mail-notification-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg,#42a8ff,#126ed6); font-size: 22px; box-shadow: inset 0 1px 1px rgba(255,255,255,.35); }
.mail-notification-banner > span:last-child { min-width: 0; display: grid; }
.mail-notification-banner small { color: rgba(255,255,255,.52); font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.mail-notification-banner strong { margin-top: 2px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.mail-notification-banner p { margin-top: 2px; overflow: hidden; color: rgba(255,255,255,.62); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.mail-app-content { padding: 0 !important; background: #000; }
.mail-inbox { min-height: 100%; padding: 0 0 135px; color: #fff; }
.mail-inbox > header { padding: 10px 15px 14px; display: grid; grid-template-columns: 45px 1fr 45px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); }
.mail-inbox > header h2 { font-size: 26px; text-align: center; }
.mail-inbox > header button { background: transparent; color: #1687f8; font-size: 13px; }
.mail-inbox > header button:last-child { font-size: 21px; text-align: right; }
.mail-inbox-list { padding-left: 15px; }
.mail-row-wrap { display: grid; grid-template-columns: 1fr; align-items: center; }
.mail-inbox.editing .mail-row-wrap { grid-template-columns: 36px 1fr; }
.mail-select { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: transparent; color: #fff; font-size: 13px; }
.mail-row-wrap.selected .mail-select { border-color: #1687f8; background: #1687f8; }
.mail-row-wrap.premium .mail-select { border: 0; color: #ffd45a; font-size: 18px; opacity: 1; }
.mail-row { position: relative; width: 100%; padding: 11px 10px 11px 0; display: grid; grid-template-columns: 9px 1fr 10px; gap: 7px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.11); background: transparent; color: #fff; text-align: left; }
.mail-row > i { width: 7px; height: 7px; border-radius: 50%; background: transparent; }
.mail-row.unread > i { background: #1687f8; }
.mail-row > span { min-width: 0; display: grid; grid-template-columns: 1fr auto; }
.mail-row strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.mail-row time { color: rgba(255,255,255,.38); font-size: 10px; }
.mail-row b,.mail-row p { grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-row b { margin-top: 3px; font-size: 12px; font-weight: 550; }
.mail-row p { margin-top: 2px; color: rgba(255,255,255,.48); font-size: 11px; }
.mail-row > em { color: rgba(255,255,255,.3); font-size: 20px; font-style: normal; }
.mail-row.unread strong,.mail-row.unread b { font-weight: 750; }
.mail-favorite-star { display: inline; margin-right: 5px; color: #ffd45a; font-size: 12px; }
.mail-edit-toolbar { position: sticky; z-index: 4; bottom: 0; padding: 10px 15px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; border-top: 1px solid rgba(255,255,255,.12); background: rgba(15,15,17,.96); backdrop-filter: blur(18px); }
.mail-edit-toolbar button { padding: 9px 14px; border-radius: 9px; background: #ff453a; color: #fff; font-weight: 700; }
.mail-edit-toolbar button:disabled { opacity: .35; }
.mail-edit-toolbar small { color: rgba(255,255,255,.42); font-size: 9px; }

.mail-compose { min-height: 100%; padding-bottom: 135px; background: #f6f6f8; color: #171717; }
.mail-compose > header { padding: 10px 14px; display: grid; grid-template-columns: 58px 1fr 58px; align-items: center; border-bottom: 1px solid #d4d4d8; background: #fff; }
.mail-compose > header h2 { font-size: 16px; text-align: center; }
.mail-compose > header button { background: transparent; color: #087ff5; font-size: 13px; }
.mail-compose > header button:last-child { text-align: right; font-weight: 700; }
.mail-compose form { background: #fff; }
.mail-compose label { min-height: 46px; padding: 0 14px; display: grid; grid-template-columns: 60px 1fr; align-items: center; border-bottom: 1px solid #dedee2; }
.mail-compose label span { color: #777; font-size: 13px; }
.mail-compose input { min-width: 0; padding: 13px 0; border: 0; outline: 0; background: transparent; color: #171717; font: inherit; font-size: 14px; }
.mail-compose input:disabled { color: #999; -webkit-text-fill-color: #999; opacity: 1; }
.mail-compose textarea { width: 100%; min-height: 310px; padding: 17px 14px; border: 0; outline: 0; resize: vertical; background: #fff; color: #171717; font: inherit; font-size: 14px; line-height: 1.5; }
.mail-compose input::placeholder,.mail-compose textarea::placeholder { color: #aaa; opacity: 1; }
.mail-compose form > p { min-height: 30px; padding: 8px 14px; color: #31824a; font-size: 11px; font-weight: 700; text-align: center; }

.sponsored-email { min-height: 100%; padding-bottom: 135px; background: #f4f1e9; color: #171717; }
.mail-back { margin: 10px 13px; background: transparent; color: #087ff5; font-size: 15px; }
.sponsored-email-header { padding: 24px 20px 20px; border-top: 1px solid #d6d1c7; border-bottom: 1px solid #d6d1c7; background: #fff; }
.sponsored-email-header > span { color: #8b6c30; font-size: 8px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sponsored-email-logo { width: auto; max-width: 150px; height: auto; max-height: 82px; margin: 16px auto 4px; display: block; object-fit: contain; }
.sponsored-email-header h2 { margin-top: 8px; font-size: 14px; }
.sponsored-email-header h1 { margin-top: 13px; font-size: 27px; line-height: 1.02; letter-spacing: -.04em; }
.sponsored-email-header p,.sponsored-email-header time { display: inline-block; margin-top: 13px; color: #777; font-size: 10px; }
.sponsored-email-header time { float: right; }
.sponsored-email-body { padding: 24px 20px 34px; font-size: 13px; line-height: 1.55; }
.sponsored-email-body > p + p { margin-top: 13px; }
.sponsored-section { margin-top: 27px; padding-top: 20px; border-top: 2px solid #171717; }
.sponsored-section h3 { font-size: 15px; letter-spacing: .03em; }
.sponsored-section > strong { display: block; margin-top: 8px; color: #8b6c30; font-size: 11px; }
.sponsored-section > p { margin-top: 9px; }
.sponsored-section ul { margin: 13px 0 0 17px; }
.sponsored-section li + li { margin-top: 5px; }
.sponsored-closing { margin-top: 28px; padding: 19px; border: 1px solid #cfc6b4; background: #fff; font-weight: 620; text-align: center; }
.sponsored-closing p + p { margin-top: 5px; }
.sponsored-cta { width: 100%; margin-top: 20px; padding: 15px; display: block; border-radius: 3px; background: #171717; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-align: center; }
.sponsored-cta.disabled { background: #817d75; cursor: not-allowed; }
.streaming-actions { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.streaming-actions .sponsored-cta { grid-column: 1 / -1; margin-top: 0; }
.streaming-actions > a,.streaming-actions > span { min-height: 54px; padding: 10px; display: grid; place-items: center; border: 1px solid #cfc6b4; border-radius: 4px; background: #fff; color: #171717; font-size: 11px; font-weight: 750; text-align: center; }
.streaming-actions > span { color: #777; }
.streaming-actions small { display: block; margin-top: 3px; color: #aaa; font-size: 7px; letter-spacing: .08em; }

.project-inquiry { min-height: 100%; padding-bottom: 135px; background: #f4f1e9; color: #171717; }
.project-inquiry > header { padding: 22px 20px; border-block: 1px solid #d6d1c7; background: #fff; }
.project-inquiry > header span { color: #8b6c30; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-inquiry > header h2 { margin-top: 8px; font-size: 28px; letter-spacing: -.03em; }
.project-inquiry > header p { margin-top: 8px; color: #666; font-size: 12px; line-height: 1.45; }
.inquiry-brand-logo { width: 88px; height: 88px; margin: 0 auto 16px; display: block; border-radius: 8px; object-fit: cover; }
.project-inquiry form { padding: 22px 20px 36px; }
.project-inquiry label { margin-top: 17px; display: block; color: #6d5a34; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.project-inquiry label:first-child { margin-top: 0; }
.project-inquiry input,.project-inquiry select,.project-inquiry textarea { width: 100%; margin-top: 7px; padding: 12px; border: 1px solid #cfc6b4; border-radius: 4px; background: #fff; color: #171717; font: inherit; font-size: 13px; letter-spacing: 0; }
.project-inquiry textarea { min-height: 110px; resize: vertical; }
.project-inquiry label em { margin-left: 5px; color: #999; font-size: 8px; font-style: normal; }
.character-count { margin-top: 5px; display: block; color: #888; font-size: 9px; font-weight: 600; letter-spacing: 0; text-align: right; }
.project-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.project-privacy { margin-top: 18px; color: #777; font-size: 9px; line-height: 1.45; }
.project-submit { width: 100%; margin-top: 18px; padding: 15px; border-radius: 3px; background: #171717; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.project-submit:disabled { opacity: .65; }
.project-form-status { min-height: 34px; margin-top: 12px; color: #44613d; font-size: 11px; font-weight: 700; line-height: 1.4; text-align: center; }
.project-inquiry form.submitted label,.project-inquiry form.submitted .project-privacy { display: none; }

/* Settings */
.settings-app-content { padding: 0 0 135px !important; background: #000; color: #fff; }
.settings-screen { min-height: 100%; padding: 8px 12px 35px; overflow-x: hidden; }
.settings-profile { margin-bottom: 20px; padding: 15px; display: grid; grid-template-columns: 52px 1fr 12px; gap: 12px; align-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: linear-gradient(145deg,rgba(44,44,46,.95),rgba(25,25,27,.95)); box-shadow: 0 10px 26px rgba(0,0,0,.35); cursor: pointer; }
.settings-x-avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #050505; color: #e31520; font-size: 35px; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12),0 5px 15px rgba(0,0,0,.4); }
.settings-profile strong,.settings-profile small { display: block; }.settings-profile small { margin-top: 3px; color: #98989f; font-size: 10px; line-height: 1.35; }.settings-profile b { color:#777; font-size:22px; }
.settings-group { margin-bottom: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: #1c1c1e; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.settings-group-label { margin: 7px 11px 7px; color: #8e8e93; font-size: 9px; letter-spacing: .12em; }
.settings-row { width:100%; min-height:48px; padding: 11px 13px; display:grid; grid-template-columns:minmax(0,1fr) auto 10px; gap:8px; align-items:center; border-bottom:1px solid rgba(255,255,255,.08); background:transparent; color:#fff; text-align:left; }
.settings-row:last-child { border-bottom:0; }.settings-row small { max-width:140px; color:#8e8e93; font-size:11px; text-align:right; overflow-wrap:anywhere; }.settings-row b { color:#666; font-size:19px; }.settings-row.info { grid-template-columns:minmax(0,1fr) minmax(70px,auto); }.settings-row.destructive span { color:#ff453a; }
.settings-footer { padding: 12px; color:#777; font-size:10px; line-height:1.7; text-align:center; }.settings-footer span { color:#a33; }
.settings-page-header { position:sticky; z-index:4; top:-8px; margin: -8px -12px 18px; padding: 10px 12px 13px; background:rgba(0,0,0,.88); backdrop-filter:blur(16px); }.settings-page-header button { background:transparent; color:#ff453a; font-size:13px; }.settings-page-header h2 { margin-top:10px; font-size:28px; letter-spacing:-.04em; }.settings-page-header p { margin-top:4px; color:#8e8e93; font-size:11px; }
.settings-note { margin: -8px 10px 18px; color:#777; font-size:10px; line-height:1.45; }.settings-note.inside { margin:14px; }
.dark-preview { padding:16px; display:grid; grid-template-columns:90px 1fr; gap:15px; align-items:center; }.dark-preview>div { height:145px; position:relative; border-radius:18px; display:grid; place-items:center; background:#000; box-shadow:inset 0 0 0 1px #444; }.dark-preview>div span { font-size:22px; }.dark-preview>div b { position:absolute; bottom:22px; color:#d20d19; font-size:32px; }.dark-preview p strong,.dark-preview p small,.dark-preview p em { display:block; }.dark-preview p small { margin-top:4px;color:#aaa; }.dark-preview p em { margin-top:14px;color:#777;font-size:9px;font-style:normal;text-transform:uppercase; }
.brightness-control { padding:15px; display:grid; grid-template-columns:1fr auto; gap:10px; }.brightness-control input { grid-column:1/-1; width:100%; accent-color:#ff453a; }
.settings-toggle-row { min-height:64px; padding:11px 13px; display:grid; grid-template-columns:1fr 48px; gap:10px; align-items:center; border-bottom:1px solid rgba(255,255,255,.08); }.settings-toggle-row:last-child{border-bottom:0}.settings-toggle-row strong,.settings-toggle-row small{display:block}.settings-toggle-row small{margin-top:4px;color:#888;font-size:10px;line-height:1.35}.settings-toggle-row input{position:absolute;opacity:0}.settings-toggle-row i{width:46px;height:27px;position:relative;border-radius:20px;background:#555;transition:.2s}.settings-toggle-row i::after{content:"";width:23px;height:23px;position:absolute;top:2px;left:2px;border-radius:50%;background:#fff;transition:.2s}.settings-toggle-row input:checked+i{background:#30d158}.settings-toggle-row input:checked+i::after{transform:translateX(19px)}
.privacy-card,.storage-hero,.album-storage-card,.battery-settings-hero,.credits-hero,.update-hero,.update-status { margin-bottom:16px;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#1c1c1e;box-shadow:0 8px 22px rgba(0,0,0,.25) }.privacy-card strong{font-size:13px}.privacy-card p{margin-top:7px;color:#999;font-size:11px;line-height:1.45}
.storage-hero strong,.storage-hero span{display:block}.storage-hero strong{font-size:31px}.storage-hero span,.storage-hero small{color:#999}.storage-bar{height:13px;margin:17px 0 9px;display:flex;overflow:hidden;border-radius:8px;background:#333}.storage-bar i:nth-child(1){width:12%;background:#fa4454}.storage-bar i:nth-child(2){width:16%;background:#a45cff}.storage-bar i:nth-child(3){width:9%;background:#4b9eff}.storage-bar i:nth-child(4){width:28%;background:#888}.album-storage-card{display:grid;grid-template-columns:52px 1fr auto;gap:11px;align-items:center}.album-storage-card small{display:block;margin-top:4px;color:#888;font-size:9px;line-height:1.4}.album-storage-card button{padding:7px 9px;border-radius:9px;background:#333;color:#ff453a}
.battery-settings-hero{display:grid;grid-template-columns:100px 1fr;gap:16px;align-items:center}.battery-settings-hero>div{width:96px;height:96px;display:grid;place-items:center;border:8px solid #ff453a;border-radius:50%;color:#ff6961}.battery-settings-hero>div strong{font-size:23px}.battery-settings-hero p b,.battery-settings-hero p span{display:block}.battery-settings-hero p span{margin-top:6px;color:#888;font-size:10px;line-height:1.4}
.order-email-facts{margin:15px 0;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12)}.order-email-facts p{margin:0!important;padding:9px 0;display:grid;grid-template-columns:110px 1fr;gap:10px;border-bottom:1px solid rgba(255,255,255,.07)}.order-email-facts p:last-child{border:0}.order-email-facts b{color:#aaa;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.order-email-facts span{white-space:pre-line}
.credits-hero{text-align:center}.credits-hero .settings-x-avatar{margin:auto;width:86px;height:86px;font-size:55px}.credits-hero strong,.credits-hero small{display:block}.credits-hero strong{margin-top:12px;font-size:20px}.credits-hero small{margin-top:4px;color:#999}.settings-rights{padding:17px;color:#888;font-size:10px;line-height:1.5;text-align:center}
.update-hero strong,.update-hero span{display:block}.update-hero strong{font-size:28px}.update-hero span{color:#ff453a}.update-hero p{margin-top:15px;color:#aaa;font-size:11px;line-height:1.5}.update-status{display:flex;gap:13px;align-items:center}.update-status>b{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#30d158;color:#fff;font-size:21px}.update-status span strong,.update-status span small{display:block}.update-status span small{margin-top:3px;color:#888;font-size:10px}.release-note{padding:5px 13px;color:#bbb;font-size:11px;line-height:1.35}
.confirm-screen{display:flex;min-height:calc(100vh - 160px);flex-direction:column;justify-content:center;text-align:center}.confirm-screen .settings-page-header{position:static;background:transparent}.confirm-screen>p{margin:0 auto 25px;max-width:280px;color:#aaa;font-size:12px;line-height:1.5}.confirm-destructive,.confirm-cancel{width:100%;margin-top:10px;padding:14px;border-radius:13px;font-weight:700}.confirm-destructive{background:#ff453a;color:#fff}.confirm-cancel{background:#2c2c2e;color:#fff}
.device.reduce-motion *,.device.reduce-motion *::before,.device.reduce-motion *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.device.low-power-mode *{backdrop-filter:none!important}.device.low-power-mode .home-screen{background-color:#000}.device.low-power-mode .weather-widget{box-shadow:none}

/* myStage + myCalendar */
.home-screen{overflow:hidden}.home-pages{width:200%;min-height:460px;display:flex;touch-action:pan-y;transition:transform .42s cubic-bezier(.22,1,.36,1)}.home-page{width:50%;flex:0 0 50%;overflow:hidden}.home-page-dots{position:absolute;left:50%;bottom:calc(122px + env(safe-area-inset-bottom));z-index:2;display:flex;gap:7px;transform:translateX(-50%)}.home-page-dot{width:7px;height:7px;padding:0;border-radius:50%;background:rgba(255,255,255,.32);cursor:pointer}.home-page-dot.active{background:#fff}
.glass-icon-stage{background:linear-gradient(145deg,rgba(239,49,67,.94),rgba(74,5,18,.8))}.stage-symbol{width:35px;height:35px;border:2px solid rgba(255,255,255,.92);border-radius:50%;display:grid;place-items:center}.stage-symbol i{width:0;height:0;margin-left:3px;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid #fff}.glass-icon-calendar{background:linear-gradient(180deg,#f74b4b 0 28%,rgba(248,248,248,.96) 28% 100%)}.calendar-symbol{width:100%;height:100%;display:flex;flex-direction:column;align-items:center}.calendar-symbol b{margin-top:6px;color:#fff;font-size:8px;letter-spacing:.7px}.calendar-symbol i{margin-top:5px;color:#191919;font-size:25px;font-style:normal;font-weight:400;text-shadow:none}
.app-window{scrollbar-width:none}.app-window::-webkit-scrollbar{display:none}.stage-app-content,.calendar-app-content{padding:0!important}.stage-shell{min-height:100%;background:#050505}.stage-view{position:relative;height:min(49vh,430px);min-height:330px;overflow:hidden;background:radial-gradient(circle at 50% 70%,#292020 0,#080808 52%,#000 100%);border-bottom:1px solid rgba(255,255,255,.08)}.stage-view::after{content:"";position:absolute;left:10%;right:10%;bottom:0;height:8%;background:linear-gradient(#241719,#060606);transform:perspective(90px) rotateX(8deg);transform-origin:bottom}.stage-curtain{position:absolute;z-index:1;top:0;width:34%;height:100%;background:repeating-linear-gradient(90deg,#090909 0 13px,#171717 24px,#030303 39px);box-shadow:inset 0 0 30px #000,0 0 30px #000}.stage-curtain-left{left:0;border-radius:0 0 55% 0}.stage-curtain-right{right:0;border-radius:0 0 0 55%}.stage-center{position:absolute;z-index:2;inset:0 21%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.stage-live-mark{color:#ff4646;font-size:11px;font-weight:800;letter-spacing:2px;text-transform:uppercase}.stage-center h2{margin-top:12px;font-size:25px;line-height:1.05}.stage-center p{margin-top:9px;color:rgba(255,255,255,.48);font-size:12px;line-height:1.4}.stage-video{width:100%;max-height:100%;background:#000}.stage-feed{padding:22px 20px 130px}.stage-section-heading{display:flex;justify-content:space-between;align-items:center}.stage-section-heading h3{font-size:18px}.stage-section-heading span{min-width:24px;padding:4px 7px;border-radius:99px;background:#ef3434;font-size:11px;text-align:center}.stage-notification-list{margin-top:14px;list-style:none}.stage-notification{padding:13px 0;border-top:1px solid rgba(255,255,255,.09)}.stage-notification span{color:#ff5555;font-size:11px;font-weight:700}.stage-notification p{margin-top:5px;color:rgba(255,255,255,.8);font-size:14px}.stage-empty-note{padding:16px;border:1px dashed rgba(255,255,255,.13);border-radius:14px;color:rgba(255,255,255,.38);font-size:13px;line-height:1.45}
.planner-shell{min-height:100%;padding:8px 18px 135px;background:#f3efe7;color:#1d1b18}.planner-header{padding:18px 4px 20px;display:flex;align-items:flex-end;justify-content:space-between;border-bottom:2px solid #1d1b18}.planner-header span,.event-detail>span{color:#d93434;font-size:10px;font-weight:800;letter-spacing:2px}.planner-header h2{margin-top:4px;font-family:Georgia,serif;font-size:27px;font-weight:500}.planner-nav{display:flex;gap:6px}.planner-nav button{width:32px;height:32px;border:1px solid #b7b0a5;border-radius:50%;background:transparent;color:#1d1b18;font-size:24px;cursor:pointer}.planner-weekdays,.planner-grid{display:grid;grid-template-columns:repeat(7,1fr)}.planner-weekdays{padding:14px 0 7px}.planner-weekdays span{color:#756f67;font-size:9px;font-weight:700;text-align:center;text-transform:uppercase}.planner-grid{border-top:1px solid #bdb5a9;border-left:1px solid #bdb5a9}.calendar-day{position:relative;aspect-ratio:.82;padding:7px 5px;border-right:1px solid #bdb5a9;border-bottom:1px solid #bdb5a9;background:rgba(255,255,255,.24);color:#1d1b18;font-size:12px;text-align:left;cursor:default}.calendar-day:not(.blank):active{background:rgba(201,52,52,.09)}.calendar-day.today span{display:grid;place-items:center;width:22px;height:22px;margin:-4px;border-radius:50%;background:#1d1b18;color:#fff}.calendar-day i{position:absolute;left:50%;bottom:7px;width:6px;height:6px;border-radius:50%;background:#dc3030;transform:translateX(-50%)}.planner-agenda{margin-top:22px;padding-top:16px;border-top:1px solid #bdb5a9}.planner-agenda h3{font-family:Georgia,serif;font-size:22px}.planner-agenda p{margin-top:7px;color:#777066;font-size:13px}.event-detail{min-height:100%;padding:25px 22px 140px;background:#f3efe7;color:#1d1b18}.event-back{display:block;margin-bottom:55px;background:transparent;color:#d93434;font-size:15px;cursor:pointer}.event-detail h2{margin-top:12px;font-family:Georgia,serif;font-size:38px;line-height:1.05}.event-detail p{margin-top:18px;color:#6d665e;line-height:1.5}.event-reserve{width:100%;margin-top:34px;padding:15px;border-radius:12px;background:#d93434;color:#fff;font-weight:700;cursor:pointer}
.event-detail h3{margin-top:12px;color:#6d665e;font-size:15px;font-weight:600;line-height:1.35}.release-platforms{display:grid;gap:10px;margin-top:30px}.platform-button{width:100%;padding:14px 16px;border-radius:13px;display:flex;align-items:center;justify-content:space-between;color:#fff;text-align:left;opacity:1}.platform-button span{font-size:15px;font-weight:750}.platform-button small{font-size:10px;opacity:.62}.apple-button{background:#171717}.spotify-button{background:#168c46}.release-more{padding:13px 4px;display:flex;justify-content:space-between;border-top:1px solid #c7c0b6;color:#6d665e;font-size:12px}.concert-ticket-note{margin-top:28px;padding:17px;border:1px solid #c7c0b6;border-radius:13px;display:flex;align-items:center;justify-content:space-between}.concert-ticket-note span{color:#786f65;font-size:11px;text-transform:uppercase}.concert-ticket-note strong{font-size:13px}.rsvp-modal{position:fixed;z-index:140;inset:0;padding:20px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.72);backdrop-filter:blur(12px)}.rsvp-card{position:relative;width:min(100%,360px);padding:27px 22px 23px;border-radius:22px;background:#f3efe7;color:#1d1b18;box-shadow:0 24px 70px rgba(0,0,0,.5)}.rsvp-card>span{color:#d93434;font-size:9px;font-weight:800;letter-spacing:2px}.rsvp-card h2{margin-top:5px;font-family:Georgia,serif;font-size:31px}.rsvp-card>p{margin-top:10px;color:#6d665e;font-size:13px;line-height:1.45}.rsvp-close{position:absolute;top:14px;right:15px;width:31px;height:31px;border-radius:50%;background:#ded8cf;color:#1d1b18;font-size:21px}.rsvp-form{display:grid;gap:13px;margin-top:20px}.rsvp-form label{display:grid;gap:6px;color:#5f5951;font-size:11px;font-weight:700}.rsvp-form input{width:100%;padding:12px;border:1px solid #bdb5a9;border-radius:10px;background:#fff;color:#1d1b18;font:inherit}.rsvp-form button{margin-top:3px;padding:14px;border-radius:11px;background:#d93434;color:#fff;font-weight:750}.rsvp-status.success{padding:16px;border-radius:12px;background:#e1ebdf;color:#31552d;font-weight:700;text-align:center}
.rsvp-status.error{padding:13px;border-radius:12px;background:#f4d9d7;color:#7d2823;font-weight:700;text-align:center}.rsvp-form button:disabled{opacity:.62;cursor:wait}
.upcoming-event-list{display:grid;gap:8px;margin-top:13px}.upcoming-event-row{width:100%;padding:12px 10px;border:1px solid #c7c0b6;border-radius:12px;display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;background:rgba(255,255,255,.3);color:#1d1b18;text-align:left}.upcoming-event-row>span{display:grid;place-items:center;min-height:42px;border-radius:9px;background:#d93434;color:#fff;font-size:11px;font-weight:800;text-transform:uppercase}.upcoming-event-row strong,.upcoming-event-row small{display:block}.upcoming-event-row strong{font-family:Georgia,serif;font-size:14px;line-height:1.15}.upcoming-event-row small{margin-top:4px;color:#746d64;font-size:10px;line-height:1.25}.upcoming-event-row i{color:#d93434;font-size:25px;font-style:normal}.stage-calendar-link{margin-top:18px;padding:11px 15px;border:1px solid rgba(255,255,255,.32);border-radius:99px;background:rgba(255,255,255,.1);color:#fff;font-size:11px;font-weight:750}.stage-error-icon{width:48px;height:48px;margin-bottom:12px;border:2px solid #ff4848;border-radius:50%;display:grid;place-items:center;color:#ff4848;font-size:28px;font-weight:300}.stage-error-code{color:#ff4848;font-size:9px;font-weight:900;letter-spacing:2px}.stage-center:has(.stage-error-icon){inset:0 17%;background:repeating-linear-gradient(135deg,rgba(255,55,55,.045) 0 8px,transparent 8px 16px)}

/* Camera / Exposure live venue */
.glass-icon-stage{background:linear-gradient(145deg,#777,#101010)}.camera-symbol{position:relative;width:38px;height:27px;border:2px solid #fff;border-radius:7px}.camera-symbol::before{content:"";position:absolute;top:-7px;left:8px;width:17px;height:7px;border-radius:4px 4px 0 0;background:#fff}.camera-symbol i{position:absolute;top:5px;left:11px;width:13px;height:13px;border:2px solid #fff;border-radius:50%}.camera-symbol b{position:absolute;top:4px;right:3px;width:4px;height:4px;border-radius:50%;background:#ff3b30}.stage-app-content{margin:-4px -20px calc(-132px - env(safe-area-inset-bottom));padding:0!important}.camera-app{min-height:calc(100vh - 100px);background:#000;color:#fff;overflow:hidden}.camera-viewfinder{position:relative;height:min(54vh,500px);min-height:400px;background:#020202}.camera-top-controls{height:70px;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;background:#000}.camera-format,.camera-tools{padding:10px 14px;border-radius:999px;background:#1b1b1d;color:#fff;font-size:13px}.camera-format small{color:#888}.camera-tools{font-size:18px;letter-spacing:1px}.camera-privacy-dot{position:absolute;top:18px;left:50%;width:7px;height:7px;border-radius:50%;background:#30d158;transform:translateX(-50%)}.exposure-rail{position:absolute;z-index:5;top:82px;bottom:12px;left:8px;width:39px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(20,20,22,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.exposure-rail strong{font-size:8px;letter-spacing:2px;writing-mode:vertical-rl;transform:rotate(180deg)}.exposure-x{position:relative;width:23px;height:23px}.exposure-x i,.exposure-x b{position:absolute;top:10px;left:0;width:23px;height:2px;background:#fff;box-shadow:0 0 8px rgba(255,255,255,.6)}.exposure-x i{transform:rotate(48deg)}.exposure-x b{transform:rotate(-48deg)}.camera-screen-frame{position:absolute;top:76px;left:55px;right:12px;bottom:12px;overflow:hidden;background:radial-gradient(circle at 50% 46%,#25171b,#090909 58%,#020202);display:flex;align-items:center;justify-content:center}.camera-screen-frame::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(255,255,255,.018) 0 1px,transparent 1px 4px)}.focus-corner{position:absolute;z-index:3;width:28px;height:28px;border-color:#ffd60a}.focus-corner.tl{top:14px;left:14px;border-top:3px solid;border-left:3px solid;border-radius:8px 0 0}.focus-corner.tr{top:14px;right:14px;border-top:3px solid;border-right:3px solid;border-radius:0 8px 0 0}.focus-corner.bl{bottom:14px;left:14px;border-bottom:3px solid;border-left:3px solid;border-radius:0 0 0 8px}.focus-corner.br{right:14px;bottom:14px;border-right:3px solid;border-bottom:3px solid;border-radius:0 0 8px}.camera-event-preview,.camera-error-screen{position:relative;z-index:2;width:min(88%,330px);padding:24px 18px;text-align:center}.camera-event-preview>span,.camera-error-screen>span{color:#ff453a;font-size:9px;font-weight:850;letter-spacing:2px}.camera-event-preview h2,.camera-error-screen h2{margin-top:10px;font-size:23px;line-height:1.08}.camera-event-preview p,.camera-error-screen p{margin-top:9px;color:#9b9b9f;font-size:11px;line-height:1.45}.camera-event-preview button,.camera-error-screen button{margin-top:16px;padding:10px 14px;border:1px solid rgba(255,255,255,.28);border-radius:99px;background:rgba(255,255,255,.1);color:#fff;font-size:10px;font-weight:750}.exposure-mini-mark{width:30px;height:30px;margin:12px auto 0;display:grid;place-items:center;border:1px solid rgba(255,255,255,.3);transform:rotate(45deg);font-size:17px}.exposure-mini-mark+ h2{margin-top:17px}.camera-event-preview.live-now>span{animation:camera-live-text 1.1s ease-in-out infinite}.camera-error-screen>div{width:44px;height:44px;margin:0 auto 13px;border:2px solid #ff453a;border-radius:50%;display:grid;place-items:center;color:#ff453a;font-size:26px}.camera-live-video{position:relative;z-index:2;width:100%;height:100%;object-fit:contain;background:#000}.camera-controls{min-height:340px;padding:11px 20px 130px;background:#000}.camera-zoom{height:44px;display:flex;align-items:center;justify-content:center;gap:25px;color:#ddd;font-size:15px}.camera-zoom strong{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#19191b;color:#ffd60a;font-weight:500}.camera-record{width:84px;height:84px;margin:11px auto 22px;border:5px solid #363638;border-radius:50%;display:grid;place-items:center;background:transparent}.camera-record i{width:65px;height:65px;border-radius:50%;background:#d82828;box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)}.camera-record.recording{box-shadow:0 0 0 0 rgba(255,59,48,.65);animation:camera-record-pulse 1.25s infinite}.camera-record.recording i{background:#ff3b30}.camera-bottom-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}.camera-library{width:58px;height:58px;border:2px solid #373739;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#332b2d,#0b0b0c);color:#fff;font-size:18px}.camera-library span{width:27px;height:27px;border:1px solid rgba(255,255,255,.5);display:grid;place-items:center}.camera-modes{padding:5px;border-radius:999px;display:flex;background:#171719;box-shadow:inset 0 0 0 1px #29292c}.camera-modes span,.camera-modes strong{padding:12px 17px;font-size:12px}.camera-modes strong{border-radius:999px;background:#2a2a2c;color:#ffd60a;font-weight:600;box-shadow:inset 0 0 0 1px #4b4b4e}.camera-switch{justify-self:end;width:58px;height:58px;border-radius:50%;background:#18181a;color:#fff;font-size:29px}.camera-library-overlay{position:fixed;z-index:150;inset:0;padding:22px;display:flex;align-items:flex-end;background:rgba(0,0,0,.72);backdrop-filter:blur(12px)}.camera-library-overlay>section{width:100%;max-height:75vh;padding:22px 18px 130px;border-radius:28px 28px 0 0;background:#141416;color:#fff}.camera-library-overlay header{display:flex;justify-content:space-between;align-items:flex-start}.camera-library-overlay header span{color:#ff453a;font-size:9px;font-weight:800;letter-spacing:2px}.camera-library-overlay header h2{margin-top:5px;font-size:27px}.camera-library-overlay header button{width:33px;height:33px;border-radius:50%;background:#303033;color:#fff;font-size:21px}.camera-recording-grid{margin-top:24px}.camera-library-empty{padding:45px 15px;text-align:center;border:1px dashed #3b3b3e;border-radius:18px;color:#8e8e93}.camera-library-empty>span{font-size:34px}.camera-library-empty h3{margin-top:10px;color:#fff}.camera-library-empty p{margin-top:7px;font-size:12px;line-height:1.4}@keyframes camera-record-pulse{0%{box-shadow:0 0 0 0 rgba(255,59,48,.7)}70%{box-shadow:0 0 0 16px rgba(255,59,48,0)}100%{box-shadow:0 0 0 0 rgba(255,59,48,0)}}@keyframes camera-live-text{50%{opacity:.35}}

/* Phone */
.app-window:has(.phone-app-content){overflow:hidden}.phone-app-badge{left:calc(50% + 19px)}.phone-app-content{position:absolute;top:105px;right:0;bottom:108px;left:0;margin:0!important;padding:0!important;overflow:hidden;background:#000;color:#fff}.phone-screen{height:100%;display:flex;flex-direction:column;background:#000}.phone-header{flex:0 0 auto;padding:8px 14px 13px;border-bottom:1px solid rgba(255,255,255,.1)}.phone-header h2{font-size:28px}.phone-body{min-height:0;flex:1 1 auto;padding:10px 12px 22px;overflow-y:auto;overscroll-behavior:contain}.phone-tabs{position:relative;z-index:70;flex:0 0 68px;height:68px;padding:6px 12px 9px;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.12);background:rgba(14,14,15,.95);backdrop-filter:blur(18px)}.phone-tabs button{display:grid;place-items:center;background:transparent;color:#777;font-size:9px}.phone-tabs i{font-size:20px;font-style:normal}.phone-tabs button.active{color:#ff453a}
.phone-segment{margin:2px auto 12px;padding:2px;display:grid;grid-template-columns:1fr 1fr;border-radius:9px;background:#29292b}.phone-segment button{padding:6px;border-radius:7px;background:transparent;color:#aaa;font-size:11px}.phone-segment button.active{background:#5b151a;color:#fff}
.recent-call{min-height:64px;display:grid;grid-template-columns:1fr 34px;align-items:center;border-bottom:1px solid rgba(255,255,255,.09)}.recent-call>button:first-child{min-width:0;padding:8px 2px;display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;background:transparent;color:#fff;text-align:left}.recent-call span strong,.recent-call span small{display:block}.recent-call span small{margin-top:3px;color:#888;font-size:10px}.recent-call time{color:#777;font-size:10px}.recent-call.missed strong,.recent-call.missed span small{color:#ff453a}.call-info-button{background:transparent;color:#ff453a;font-size:19px}
.phone-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover}.phone-initials{display:grid;place-items:center;background:#2c2c2e;color:#fff;font-size:14px;font-weight:750}.phone-initials.ghosts{background:#050505;color:#e31520;font-size:28px}.phone-avatar.large{width:92px;height:92px;font-size:34px}.phone-avatar.call{width:112px;height:112px;font-size:40px}
.favorite-card{margin-bottom:10px;padding:12px;display:grid;grid-template-columns:46px 1fr 38px 38px;gap:8px;align-items:center;border-radius:15px;background:#1c1c1e}.favorite-card span strong,.favorite-card span small{display:block}.favorite-card span small{color:#888;font-size:10px}.favorite-card button{width:36px;height:36px;border-radius:50%;background:#2c2c2e;color:#30d158}
.contact-letter{margin:13px 7px 5px;color:#ff453a;font-size:10px}.contact-row{width:100%;padding:9px 4px;display:grid;grid-template-columns:44px 1fr 10px;gap:10px;align-items:center;border-bottom:1px solid rgba(255,255,255,.09);background:transparent;color:#fff;text-align:left}.contact-row span strong,.contact-row span small{display:block}.contact-row span small{margin-top:3px;color:#888;font-size:10px}.contact-row b{color:#555;font-size:19px}
.phone-detail{height:100%;padding:6px 12px 30px;overflow-y:auto;background:#000;color:#fff}.phone-detail>header button{padding:8px 0;background:transparent;color:#ff453a}.phone-contact-hero{text-align:center}.phone-contact-hero .phone-avatar{margin:auto}.phone-contact-hero h2{margin-top:10px;font-size:23px}.phone-contact-hero p{margin-top:3px;color:#888}.phone-contact-actions{margin:18px 0;display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.phone-contact-actions button{width:66px;display:grid;gap:5px;place-items:center;background:transparent;color:#ddd;font-size:8px}.phone-contact-actions i{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#2c2c2e;color:#30d158;font-size:19px;font-style:normal}.call-detail-list{overflow:hidden;border-radius:14px;background:#1c1c1e}.call-detail-list p{padding:11px 13px;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(255,255,255,.08);font-size:11px}.call-detail-list p:last-child{border:0}.call-detail-list span{color:#888}.call-detail-list strong{text-align:right}
.dial-display{min-height:72px;display:grid;place-items:center;text-align:center}.dial-display strong{font-size:25px}.dial-display small{color:#888;font-size:10px}.phone-keypad{max-width:270px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.phone-keypad button{width:64px;height:64px;margin:auto;border-radius:50%;display:grid;place-content:center;background:#28282a;color:#fff}.phone-keypad strong{font-size:25px;font-weight:450}.phone-keypad small{font-size:7px;letter-spacing:.12em}.dial-actions{margin:15px auto;display:grid;grid-template-columns:1fr 68px 1fr;align-items:center}.dial-actions button{margin:auto}.dial-call{width:62px;height:62px;border-radius:50%;background:#30d158;color:#fff;font-size:25px}.dial-call:disabled{opacity:.3}.dial-delete{background:transparent;color:#aaa;font-size:20px}
.calling-screen,.call-result{min-height:calc(100vh - 135px);padding:25px 15px 145px;position:relative;background:radial-gradient(circle at 50% 18%,#39393c,#090909 55%,#000);color:#fff;text-align:center}.calling-contact .phone-avatar{margin:auto}.calling-contact h2{margin-top:14px;font-size:26px}.calling-contact p{margin-top:6px;color:#bbb}.call-controls{max-width:270px;margin:34px auto 25px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px 10px}.call-controls button{display:grid;gap:5px;place-items:center;background:transparent;color:#fff;font-size:8px}.call-controls i{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.16);font-size:20px;font-style:normal}.call-controls button.active i{background:#fff;color:#000}.call-controls button:disabled{opacity:.28}.end-call{width:65px;height:65px;border-radius:50%;background:#ff3b30;color:#fff;font-size:25px;transform:rotate(135deg)}.call-result{display:flex;flex-direction:column;justify-content:center}.call-result h2{font-size:27px}.call-result p{margin:12px auto 24px;max-width:280px;color:#aaa;line-height:1.45}.call-result button{width:100%;margin-top:9px;padding:13px;border-radius:12px;background:#2c2c2e;color:#fff}.call-result button:first-of-type:not(:disabled){background:#ff453a}.call-result button:disabled{opacity:.35}
.call-overlay{position:absolute;z-index:5;inset:0;padding:45px 22px 145px;overflow:auto;background:rgba(10,10,10,.97);text-align:left}.call-overlay h3{font-size:27px}.call-overlay p{padding:11px 4px;border-bottom:1px solid #333}.call-overlay>button{width:100%;margin-top:18px;padding:13px;border-radius:12px;background:#2c2c2e;color:#fff}.mini-keypad{margin-top:22px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mini-keypad button{width:58px;height:58px;margin:auto;border-radius:50%;background:#333;color:#fff;font-size:20px}
.device.reduce-motion .calling-screen .phone-avatar,.device.low-power-mode .calling-screen .phone-avatar{animation:none!important}

@media (max-height: 820px) {
  .camera-viewfinder {
    height: 350px;
    min-height: 350px;
  }

  .camera-controls {
    min-height: 250px;
    padding: 4px 20px 118px;
  }

  .camera-zoom {
    height: 36px;
  }

  .camera-record {
    width: 70px;
    height: 70px;
    margin: 4px auto 10px;
  }

  .camera-record i {
    width: 54px;
    height: 54px;
  }

  .camera-library,
  .camera-switch {
    width: 50px;
    height: 50px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .mail-notification-banner { transition-duration: .01ms; }
}

.notes-folder-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.notes-folder-heading span {
  font-size: 20px;
  font-weight: 700;
}

.notes-folder-heading small {
  color: rgba(255, 255, 255, 0.48);
}

.note-row {
  width: 100%;
  padding: 14px 2px 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.note-row strong,
.note-row span,
.note-row p {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-row strong {
  font-size: 17px;
}

.note-row span,
.note-row p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.note-row p {
  color: rgba(255, 255, 255, 0.72);
}

.note-row .note-preview-error {
  color: #ff7777;
}

.note-text {
  min-height: 100%;
  padding-bottom: 20px;
  overflow: visible;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.48;
  white-space: pre-wrap;
  word-break: break-word;
}

/* =========================================================
   SMALL HEIGHT DEVICES
========================================================= */

@media (max-height: 760px) {
  .lock-content {
    top: 46%;
  }

  .lock-time {
    font-size: 68px;
  }

  .passcode-layout {
    padding-top: 46px;
  }

  .keypad {
    grid-template-columns: repeat(3, 65px);
    gap: 11px 20px;
  }

  .passcode-key,
  .keypad-space {
    width: 65px;
    height: 65px;
  }

  .app-grid {
    gap: 18px 10px;
  }
}
