/* Célène's Phone — prop shell */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --ios-blue: #0a84ff;
  --bubble-grey: #e9e9eb;
  --sea: #7fb6c4;
}

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  background: #101418;
  overflow: hidden;
}

/* Desktop: framed device. Mobile: full screen. */
#stage {
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#phone {
  position: relative;
  width: 390px;
  height: 780px;
  max-height: 96dvh;
  border-radius: 44px;
  border: 10px solid #1c1c1e;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
}

@media (max-width: 700px) {
  #stage { align-items: stretch; }
  #phone {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* ---------------------------------------------------------------- status bar */
#statusbar {
  position: relative;
  z-index: 50;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  pointer-events: none;
  mix-blend-mode: normal;
}

.sb-right { display: flex; align-items: center; gap: 6px; }
.sb-carrier { font-size: 11px; font-weight: 500; opacity: .85; }
.sb-batt {
  position: relative;
  width: 24px; height: 12px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 3.5px;
  padding: 1.5px;
}
.sb-batt::after {
  content: ""; position: absolute; right: -3.5px; top: 3.5px;
  width: 2px; height: 4px; background: rgba(255,255,255,.8); border-radius: 0 1px 1px 0;
}
.sb-batt-fill { display: block; height: 100%; background: #fff; border-radius: 1.5px; }
.sb-batt.low .sb-batt-fill { background: #ff453a; }
.sb-batt-pc { font-size: 11px; font-weight: 500; }

/* ---------------------------------------------------------------- screens */
#screens { position: relative; flex: 1; }

.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}

.app-screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: #f2f2f7;
  transform: translateX(100%);
  transition: transform .26s cubic-bezier(.32,.72,.35,1);
  z-index: 10;
}
.push-in.shown { transform: translateX(0); }
.screen.home { z-index: 1; transform: none; }

/* ---------------------------------------------------------------- lock */
.lock {
  background:
    linear-gradient(180deg, rgba(8,14,22,.52) 0%, rgba(8,14,22,.10) 32%, rgba(8,14,22,.32) 68%, rgba(8,14,22,.60) 100%),
    url('wallpaper.png') center top / cover no-repeat,
    radial-gradient(120% 90% at 70% 10%, #9fd0dc 0%, #5d93ad 35%, #2c5878 70%, #17364f 100%);
  color: #fff;
  align-items: center;
  justify-content: flex-start;
  padding-top: 54px;
  cursor: pointer;
  z-index: 30;
}
.lock-clock { font-size: 76px; font-weight: 300; letter-spacing: -1px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.lock-date { font-size: 18px; font-weight: 500; opacity: .92; margin-top: 2px; }

.lock-notifs { margin-top: 34px; width: calc(100% - 32px); display: flex; flex-direction: column; gap: 10px; }
.lock-notif {
  display: flex; align-items: center; gap: 10px;
  background: rgba(250,250,250,.78);
  backdrop-filter: blur(14px);
  color: #111;
  border-radius: 16px;
  padding: 10px 12px;
  text-align: left;
}
.ln-icon { width: 34px; height: 34px; border-radius: 8.5px; flex: 0 0 34px; }
.ln-body { flex: 1; display: flex; flex-direction: column; font-size: 13.5px; }
.ln-body b { font-size: 14px; }
.ln-body span { color: #333; }
.ln-time { font-size: 12px; color: #555; align-self: flex-start; }

.lock-hint { margin-top: auto; margin-bottom: 26px; font-size: 15px; opacity: .85; animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
.lock-bar { width: 130px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.9); margin-bottom: 10px; }

/* ---------------------------------------------------------------- PIN */
.pinpad {
  background:
    linear-gradient(180deg, rgba(8,14,22,.62), rgba(8,14,22,.72)),
    url('wallpaper.png') center top / cover no-repeat,
    radial-gradient(120% 90% at 70% 10%, #9fd0dc 0%, #5d93ad 35%, #2c5878 70%, #17364f 100%);
  color: #fff;
  align-items: center;
  padding-top: 60px;
  z-index: 30;
}
.pin-title { font-size: 20px; font-weight: 500; margin-bottom: 24px; }
.pin-dots { display: flex; gap: 22px; margin-bottom: 10px; }
.pin-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #fff; }
.pin-dot.filled { background: #fff; }
.pin-dots.shake { animation: shake .4s; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-10px); } 40% { transform: translateX(9px); }
  60% { transform: translateX(-7px); } 80% { transform: translateX(5px); }
}
.pin-error { min-height: 22px; font-size: 13.5px; color: #ffd7d5; }

.pin-keys {
  display: grid;
  grid-template-columns: repeat(3, 76px);
  gap: 16px 24px;
  margin-top: 8px;
  justify-items: center;
}
.pin-key {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.pin-key:active { background: rgba(255,255,255,.45); }
.pin-key b { font-size: 30px; font-weight: 400; line-height: 1; }
.pin-key small { font-size: 9.5px; letter-spacing: 1.8px; margin-top: 3px; opacity: .8; }
.pin-key[data-k="0"] { grid-column: 2; }
.pin-clear { margin-top: 18px; background: none; border: none; color: #fff; font-size: 16px; opacity: .9; cursor: pointer; }

/* ---------------------------------------------------------------- home */
.home {
  background:
    linear-gradient(180deg, rgba(12,22,34,.25), rgba(12,22,34,.45)),
    radial-gradient(120% 90% at 70% 10%, #9fd0dc 0%, #5d93ad 35%, #2c5878 70%, #17364f 100%);
  padding: 46px 10px 12px;
}
.home-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 96px;
  padding: 4px 8px;
  gap: 6px 0;
  align-content: start;
}
.app { background: none; border: none; display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; }
.app:active .icon-gfx { transform: scale(.92); }
.icon-wrap { position: relative; }
.app-label { font-size: 11.5px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); }

.badge {
  position: absolute; top: -6px; right: -8px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  background: #ff3b30;
  color: #fff;
  font-size: 11.5px; font-weight: 600;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.dock {
  flex: 0 0 92px;
  margin: 0 6px;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.dock .app-label { display: none; }

/* ---------------------------------------------------------------- app icons (pure CSS) */
.icon-gfx {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px;
  border-radius: 14px;
  font-size: 29px;
  box-shadow: 0 4px 10px rgba(0,0,0,.22);
  transition: transform .12s;
  color: #fff;
}
.ln-icon.icon-gfx { width: 34px; height: 34px; font-size: 18px; border-radius: 8.5px; box-shadow: none; }

.icon-messages { background: linear-gradient(180deg,#67e574,#12a52f); }
.icon-messages::before { content: "💬"; }
.icon-notes { background: linear-gradient(180deg,#fffefa,#f7f4e9); }
.icon-notes::before { content: "📝"; }
.icon-music { background: linear-gradient(180deg,#fc5c7d,#e93b52); }
.icon-music::before { content: "♪"; font-weight: 700; font-size: 32px; }
.icon-duolingo { background: linear-gradient(180deg,#8ee000,#58cc02); }
.icon-duolingo::before { content: "🦉"; }
.icon-appstore { background: linear-gradient(180deg,#41b0ff,#0a6ef0); }
.icon-appstore::before { content: "Ⓐ"; font-size: 30px; }
.icon-photos { background: #fff; }
.icon-photos::before { content: "🌸"; }
.icon-mail { background: linear-gradient(180deg,#5cb8ff,#1673e6); }
.icon-mail::before { content: "✉️"; }
.icon-seaquest { background: linear-gradient(180deg,#1c3f8f,#122a63); }
.icon-seaquest::before { content: "🛳️"; }
.icon-health { background: #fff; }
.icon-health::before { content: "❤️"; }
.icon-calendar { background: #fff; }
.icon-calendar::before { content: "14"; color: #e8443a; font-size: 26px; font-weight: 500; }
.icon-settings { background: linear-gradient(180deg,#8e8e93,#636366); }
.icon-settings::before { content: "⚙️"; }
.icon-phone { background: linear-gradient(180deg,#67e574,#12a52f); }
.icon-phone::before { content: "📞"; }
.icon-safari { background: linear-gradient(180deg,#f2f7fb,#d9e6f2); }
.icon-safari::before { content: "🧭"; }

/* ---------------------------------------------------------------- app chrome */
.app-header {
  flex: 0 0 52px;
  display: flex; align-items: center;
  padding: 0 8px;
  background: rgba(246,246,248,.94);
  backdrop-filter: blur(10px);
  border-bottom: .5px solid #d5d5da;
}
.back-btn {
  width: 44px; height: 44px;
  background: none; border: none;
  color: var(--ios-blue);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.app-header-title { flex: 1; text-align: center; font-weight: 600; font-size: 16.5px; color: #111; }
.app-header-title small { display: block; font-weight: 400; font-size: 11.5px; color: #777; }
.app-header-spacer { width: 44px; }

/* ---------------------------------------------------------------- messages */
.thread-list { flex: 1; overflow-y: auto; background: #fff; }
.thread-row {
  width: 100%;
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px 11px 6px;
  background: none; border: none; border-bottom: .5px solid #e4e4e8;
  cursor: pointer; text-align: left;
  font-family: inherit;
}
.thread-row:active { background: #f0f0f4; }
.unread-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }
.unread-dot.on { background: var(--ios-blue); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  flex: 0 0 46px;
  color: #fff; font-weight: 600; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.thread-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.thread-mid b { font-size: 15.5px; color: #111; }
.thread-preview {
  font-size: 13.5px; color: #737378;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.thread-time { font-size: 13px; color: #9a9aa0; white-space: nowrap; }

.bubble-scroll {
  flex: 1; overflow-y: auto;
  padding: 12px 12px 6px;
  display: flex; flex-direction: column; gap: 3px;
  background: #fff;
}
.date-sep { text-align: center; font-size: 11.5px; color: #98989f; font-weight: 600; margin: 12px 0 6px; }
.bubble-row { display: flex; }
.bubble-row.mine { justify-content: flex-end; }
.bubble {
  max-width: 76%;
  padding: 7px 11px 5px;
  border-radius: 17px;
  font-size: 14.5px;
  line-height: 1.32;
  margin-bottom: 2px;
}
.bubble-row.theirs .bubble { background: var(--bubble-grey); color: #111; border-bottom-left-radius: 5px; }
.bubble-row.mine .bubble { background: var(--ios-blue); color: #fff; border-bottom-right-radius: 5px; }
.bubble-name { font-size: 11.5px; font-weight: 600; margin-bottom: 1px; }
.bubble-time { font-size: 10px; opacity: .6; text-align: right; margin-top: 2px; }

.compose-bar {
  flex: 0 0 50px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
  background: #f6f6f8;
  border-top: .5px solid #d5d5da;
}
.compose-emoji { font-size: 22px; color: #8e8e93; }
.compose-field {
  flex: 1;
  border: 1px solid #d0d0d5; border-radius: 17px;
  padding: 7px 13px;
  font-size: 14px; color: #a0a0a6;
  background: #fff;
}
.compose-send { color: var(--ios-blue); font-size: 20px; }

/* ---------------------------------------------------------------- notes */
.notes-list { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.note-row {
  background: #fff; border: none; border-radius: 12px;
  padding: 13px 15px;
  text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  font-family: inherit;
}
.note-row b { font-size: 15.5px; color: #111; }
.note-row span { font-size: 13px; color: #85858a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-detail { background: #fffef7; }
.note-body { flex: 1; overflow-y: auto; padding: 20px 20px 30px; }
.note-body h2 { font-size: 21px; margin-bottom: 2px; color: #111; }
.note-date { font-size: 12.5px; color: #98989f; margin-bottom: 14px; }
.note-body p { font-size: 15.5px; line-height: 1.65; color: #222; }

/* ---------------------------------------------------------------- music */
.music-body { flex: 1; overflow-y: auto; padding: 18px 16px 30px; }
.now-playing { text-align: center; margin-bottom: 22px; }
.art {
  width: 190px; height: 190px; margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8b78c, #e2645f 55%, #7c3f74);
  color: rgba(255,255,255,.9);
  font-size: 70px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.np-title { font-size: 19px; font-weight: 600; color: #111; }
.np-artist { font-size: 14px; color: #77777c; margin-top: 2px; }
.np-progress { height: 4px; border-radius: 2px; background: #dcdce0; margin: 16px 22px 6px; overflow: hidden; }
.np-progress span { display: block; width: 34%; height: 100%; background: #8e8e93; }
.np-controls { display: flex; justify-content: center; gap: 44px; font-size: 24px; color: #111; margin-top: 8px; }
.np-play { font-size: 32px; }
.music-body h3 { font-size: 17px; margin: 4px 2px 10px; color: #111; }
.track-list { background: #fff; border-radius: 12px; overflow: hidden; }
.track { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: .5px solid #ececf0; }
.track:last-child { border-bottom: none; }
.tno { color: #98989f; font-size: 13px; width: 14px; }
.tmid { flex: 1; display: flex; flex-direction: column; }
.tmid b { font-size: 14.5px; color: #111; font-weight: 500; }
.tmid small { font-size: 12px; color: #85858a; }
.tlen { font-size: 12.5px; color: #98989f; }

/* ---------------------------------------------------------------- duolingo */
.duo-app { background: #58cc02; }
.duo-app .app-header { background: rgba(88,204,2,.95); border-bottom-color: rgba(0,0,0,.1); }
.duo-app .app-header-title, .duo-app .back-btn { color: #fff; }
.duo-body { flex: 1; overflow-y: auto; text-align: center; padding: 26px 20px; color: #fff; }
.duo-owl { font-size: 74px; }
.duo-streak { font-size: 54px; font-weight: 800; margin-top: 8px; }
.duo-streak-label { font-size: 17px; opacity: .95; margin-bottom: 24px; }
.duo-cards { display: flex; flex-direction: column; gap: 10px; }
.duo-card {
  background: rgba(255,255,255,.94);
  border-radius: 14px;
  padding: 13px;
  color: #3c3c3c;
  display: flex; flex-direction: column;
}
.duo-card b { font-size: 17px; color: #1cb0f6; }
.duo-card small { font-size: 12px; color: #8a8a8a; }
.duo-nag { margin-top: 22px; font-size: 14px; background: rgba(0,0,0,.15); border-radius: 12px; padding: 11px 14px; }

/* ---------------------------------------------------------------- app store */
.store-list { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.store-row {
  background: #fff; border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
}
.store-icon {
  width: 46px; height: 46px; border-radius: 11px; flex: 0 0 46px;
  background: linear-gradient(135deg,#7ac0ff,#4a5ce8);
  color: #fff; font-size: 21px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.store-mid { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.store-mid b { font-size: 15px; color: #111; }
.store-mid small { font-size: 12.5px; color: #85858a; }
.store-btn {
  border: none; background: #eeeef2; color: var(--ios-blue);
  font-weight: 700; font-size: 12.5px;
  padding: 7px 14px; border-radius: 14px;
  cursor: pointer;
}

/* ---------------------------------------------------------------- calendar */
.cal-body { flex: 1; overflow-y: auto; padding: 14px 12px; background: #fff; }
.cal-dow { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; font-size: 11px; color: #98989f; font-weight: 600; margin-bottom: 6px; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); row-gap: 4px; border-top: .5px solid #ececf0; padding-top: 8px; }
.cal-cell {
  position: relative;
  height: 44px;
  background: none; border: none;
  font-size: 15px; color: #111; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  cursor: pointer;
  border-radius: 50%;
}
.cal-num {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.cal-cell.today .cal-num { background: #ff3b30; color: #fff; }
.cal-cell.sel:not(.today) .cal-num { background: #f0f0f4; }
.cal-dots { display: flex; gap: 2px; height: 4px; }
.cal-dots i { width: 4px; height: 4px; border-radius: 50%; }
.cal-events { margin-top: 14px; border-top: .5px solid #ececf0; padding-top: 12px; }
.cal-events h4 { font-size: 14px; color: #98989f; font-weight: 600; margin-bottom: 8px; }
.cal-event { display: flex; align-items: center; gap: 8px; padding: 9px 4px; font-size: 14.5px; color: #111; border-bottom: .5px solid #f2f2f6; }
.cal-event i { width: 4px; height: 26px; border-radius: 2px; flex: 0 0 4px; }
.ce-time { color: #85858a; font-size: 12.5px; width: 52px; flex: 0 0 52px; }
.cal-none { font-size: 14px; color: #b5b5ba; padding: 8px 4px; }

/* ---------------------------------------------------------------- seaquest */
.sq-app { background: #edf1f8; }
.sq-body { flex: 1; overflow-y: auto; padding: 14px 14px 28px; }
.sq-hero {
  background: linear-gradient(150deg,#1c3f8f,#122a63);
  border-radius: 16px;
  color: #fff;
  text-align: center;
  padding: 22px 16px;
  margin-bottom: 12px;
  display: flex; flex-direction: column; gap: 3px;
}
.sq-logo { font-size: 40px; }
.sq-hero b { font-size: 19px; letter-spacing: 2.5px; }
.sq-hero small { font-size: 12.5px; opacity: .85; }
.sq-card { background: #fff; border-radius: 14px; padding: 14px 15px; margin-bottom: 12px; }
.sq-card h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #8a94ad; margin-bottom: 8px; }
.sq-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: .5px solid #f0f2f7; font-size: 14px; }
.sq-row:last-child { border-bottom: none; }
.sq-row span { color: #7c86a0; flex: 0 0 auto; }
.sq-row b { color: #182648; font-weight: 500; text-align: right; }
.sq-fact { font-size: 13.5px; color: #45507a; padding: 4px 0; }

/* ---------------------------------------------------------------- settings */
.set-body { flex: 1; overflow-y: auto; padding: 12px 14px 28px; }
.set-profile {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 12px;
  padding: 13px 14px; margin-bottom: 12px;
}
.set-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(160deg,#9fb6c9,#5b7b96);
  color: #fff; font-size: 20px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 52px;
}
.set-profile span { display: flex; flex-direction: column; }
.set-profile b { font-size: 17px; color: #111; }
.set-profile small { font-size: 12.5px; color: #85858a; }
.set-warn {
  background: #fff; border-radius: 12px;
  padding: 12px 14px; margin-bottom: 12px;
  font-size: 14px; color: #111;
  display: flex; justify-content: space-between; align-items: center;
}
.set-group { background: #fff; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.set-row {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 14px;
  border-bottom: .5px solid #ececf0;
  font-size: 15px; color: #111;
}
.set-row:last-child { border-bottom: none; }
.set-row:active { background: #f5f5f8; }
.set-icon {
  width: 29px; height: 29px; border-radius: 7px; flex: 0 0 29px;
  color: #fff; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.set-label { flex: 1; }
.set-value { color: #98989f; font-size: 14.5px; }
.set-toggle {
  width: 46px; height: 28px; border-radius: 14px;
  background: #d8d8dc;
  position: relative;
  flex: 0 0 46px;
}
.set-toggle.on { background: #34c759; }
.set-toggle i {
  position: absolute; top: 2px; left: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
  transition: left .15s;
}
.set-toggle.on i { left: 20px; }

/* ---------------------------------------------------------------- safari */
.safari-app { background: #f6f6f8; }
.saf-body { flex: 1; display: flex; flex-direction: column; }
.saf-addr {
  margin: 10px 14px;
  background: #e9e9ee;
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 14px; color: #55555a;
  display: flex; align-items: center; gap: 8px;
}
.saf-addr span { flex: 1; text-align: center; color: #111; }
.saf-offline {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 0 34px 60px;
  color: #55555a;
}
.saf-cloud { font-size: 52px; margin-bottom: 12px; filter: grayscale(1); opacity: .6; }
.saf-offline h3 { font-size: 17px; color: #333; margin-bottom: 8px; }
.saf-offline p { font-size: 13.5px; line-height: 1.5; color: #85858a; }
.saf-tip { margin-top: 10px; }

/* ---------------------------------------------------------------- image + placeholder apps */
.image-app { background: #000; }
.image-body { flex: 1; overflow-y: auto; display: flex; align-items: flex-start; justify-content: center; }
.image-body img { width: 100%; height: auto; }

.placeholder-body {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 30px; text-align: center; color: #55555a;
}
.placeholder-body .ph-icon { opacity: .9; }
.placeholder-body p { font-size: 15px; }
.ph-note { font-size: 12.5px !important; color: #98989f; }

/* ---------------------------------------------------------------- phone / voicemail (Célène addition) */
.phone-app { background: #f2f2f7; }
.phone-tabs { display: flex; gap: 6px; padding: 8px 12px; background: #fff; border-bottom: .5px solid #d1d1d6; }
.phone-tab { flex: 1; border: 0; background: #e9e9eb; border-radius: 8px; padding: 7px 0; font-size: 14px; font-weight: 600; color: #3a3a3c; }
.phone-tab.on { background: var(--ios-blue); color: #fff; }
.phone-body { flex: 1; overflow-y: auto; }
.recent-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: .5px solid #e3e3e8; background: #fff; font-size: 15px; }
.recent-row .avatar { width: 38px; height: 38px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: 0 0 auto; }
.recent-mid { flex: 1; display: flex; flex-direction: column; }
.recent-mid b { font-weight: 600; }
.recent-mid.missed b { color: #ff3b30; }
.recent-mid small { color: #8e8e93; font-size: 12.5px; }
.recent-time { color: #8e8e93; font-size: 13px; }
.vm-row { padding: 13px 16px; border-bottom: .5px solid #e3e3e8; background: #fff; }
.vm-head { display: flex; justify-content: space-between; align-items: baseline; }
.vm-head b { font-size: 16px; font-weight: 600; }
.vm-head.unheard b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ios-blue); margin-right: 8px; vertical-align: 2px; }
.vm-head small { color: #8e8e93; font-size: 13px; }
.vm-meta { color: #8e8e93; font-size: 12.5px; margin: 2px 0 8px; }
.vm-player { display: flex; align-items: center; gap: 10px; }
.vm-play { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--ios-blue); color: #fff; font-size: 14px; }
.vm-bar { flex: 1; height: 4px; background: #d1d1d6; border-radius: 2px; overflow: hidden; }
.vm-bar span { display: block; height: 100%; width: 0; background: var(--ios-blue); transition: width .2s linear; }
.vm-len { color: #8e8e93; font-size: 12.5px; min-width: 34px; text-align: right; }
.vm-transcript { margin-top: 10px; font-size: 14px; color: #3a3a3c; background: #f2f2f7; border-radius: 10px; padding: 10px 12px; line-height: 1.45; }
.vm-transcript::before { content: "Transcription"; display: block; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: #8e8e93; margin-bottom: 4px; }
.vm-audio { display: none; }
