/* =====================================================================
   ELITE STUDIO — le téléphone jouable
   Reprend le vrai téléphone de la base : icônes, fonds d'écran, apps.
   ===================================================================== */
.ph-layer {
  --s: 1;
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: radial-gradient(70% 70% at 60% 50%, rgba(30, 30, 32, 0.55), rgba(0, 0, 0, 0.82));
  -webkit-backdrop-filter: blur(14px) saturate(0.7); backdrop-filter: blur(14px) saturate(0.7);
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease, ease), visibility 0s 0.45s;
  font-family: "Montserrat", -apple-system, "Segoe UI", sans-serif;
}
.ph-layer.on { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease, ease); }
.ph-stage { display: flex; align-items: center; gap: clamp(28px, 5vw, 80px); }
.ph-side { width: 300px; color: var(--pearl, #f5f4f0); transform: translateX(-20px); opacity: 0; transition: transform 0.8s var(--ease, ease) 0.1s, opacity 0.8s var(--ease, ease) 0.1s; }
.ph-layer.on .ph-side { transform: none; opacity: 1; }
.ph-side .kicker { margin-bottom: 14px; }
.ph-side h2 { margin: 0 0 14px; font: 900 40px/0.95 var(--f, "Montserrat"); letter-spacing: -0.03em; text-transform: uppercase; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-side p { margin: 0 0 18px; font: 500 14.5px/1.6 var(--f, "Montserrat"); color: var(--muted); }
.ph-side ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.ph-side li { display: flex; gap: 10px; align-items: center; font: 500 13px/1.3 var(--f, "Montserrat"); color: var(--pearl); }
.ph-side li kbd { min-width: 22px; padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line-strong); font: 600 10px/1 var(--f-mono); color: var(--silver); text-align: center; }
.ph-close { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: 18px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background 0.3s, transform 0.4s var(--spring); }
.ph-close:hover { background: rgba(255, 255, 255, 0.14); transform: rotate(90deg); }
.ph-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

/* --------------------------------------------------------------- l'appareil */
.ph-box { width: calc(412px * var(--s)); height: calc(866px * var(--s)); position: relative; transform: translateY(40px) scale(0.94); opacity: 0; transition: transform 0.7s var(--spring), opacity 0.5s var(--ease); }
.ph-layer.on .ph-box { transform: none; opacity: 1; }
.ph-device {
  position: absolute; left: 0; top: 0; width: 412px; height: 866px; transform: scale(var(--s)); transform-origin: 0 0;
  border-radius: 68px; padding: 11px;
  background: linear-gradient(145deg, #5b5b5e 0%, #1d1d20 18%, #0d0d0f 50%, #2b2b2e 82%, #6a6a6d 100%);
  box-shadow: 0 0 0 1.5px #000, inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 60px 120px -20px rgba(0, 0, 0, 0.9), 0 0 120px -30px rgba(255, 255, 255, 0.25);
}
.ph-device::before, .ph-device::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2a2a2d, #6d6d70); }
.ph-device::before { left: -3px; top: 190px; height: 64px; box-shadow: 0 84px 0 #4a4a4d; }
.ph-device::after { right: -3px; top: 230px; height: 100px; }
.ph-screen {
  position: relative; width: 100%; height: 100%; border-radius: 57px; overflow: hidden; background: #000;
  color: #fff; font-family: "Montserrat", -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased;
  isolation: isolate; user-select: none; -webkit-user-select: none;
}
.ph-screen input, .ph-screen textarea { user-select: text; -webkit-user-select: text; }
.ph-island { position: absolute; z-index: 60; left: 50%; top: 12px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; transition: width 0.5s var(--spring), margin 0.5s var(--spring), height 0.5s var(--spring); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; overflow: hidden; }
.ph-island.wide { width: 300px; margin-left: -150px; height: 40px; }
.ph-island .isl-l, .ph-island .isl-r { opacity: 0; transition: opacity 0.3s; font: 700 12px/1 "Montserrat", sans-serif; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.ph-island.wide .isl-l, .ph-island.wide .isl-r { opacity: 1; transition-delay: 0.2s; }
.ph-island .isl-l i { width: 22px; height: 22px; border-radius: 6px; overflow: hidden; display: block; }
.ph-island .isl-l i svg { width: 100%; height: 100%; display: block; }

/* barre d'état */
.ph-status { position: absolute; z-index: 50; left: 0; right: 0; top: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 40px; font: 700 16px/1 "Montserrat", sans-serif; pointer-events: none; transition: color 0.3s; }
.ph-status.dark { color: #000; }
.ph-status .st-r { display: flex; align-items: center; gap: 6px; }
.ph-status svg { height: 13px; width: auto; fill: currentColor; }
.ph-status .plane { display: none; }
.ph-screen.airplane .ph-status .plane { display: block; }
.ph-screen.airplane .ph-status .sig, .ph-screen.airplane .ph-status .wifi { display: none; }

/* barre home */
.ph-homebar { position: absolute; z-index: 55; left: 50%; bottom: 8px; width: 140px; height: 5px; margin-left: -70px; border-radius: 3px; background: #fff; opacity: 0.85; cursor: pointer; }
.ph-homebar::before { content: ""; position: absolute; inset: -14px -30px; }
.ph-homebar.dark { background: #000; }

/* --------------------------------------------------------------- écran verrouillé */
.ph-lock { position: absolute; inset: 0; z-index: 30; background: #08090c center / cover no-repeat; display: flex; flex-direction: column; align-items: center; padding: 74px 16px 0; transition: transform 0.6s var(--ease), opacity 0.6s; cursor: pointer; }
.ph-lock.gone { transform: translateY(-100%); opacity: 0.4; pointer-events: none; }
.ph-lock .lk-lock { width: 16px; height: 16px; opacity: 0.85; margin-bottom: 6px; }
.ph-lock .lk-date { font: 600 18px/1 "Montserrat", sans-serif; opacity: 0.85; text-transform: capitalize; }
.ph-lock .lk-time { font: 800 96px/1 "Montserrat", sans-serif; letter-spacing: -0.04em; margin: 4px 0 0; background: linear-gradient(180deg, #fff, #cfcfcf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-lock .lk-crown { width: 74px; opacity: 0.6; margin: 6px 0 0; filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.3)); }
.lk-notifs { width: 100%; margin-top: auto; margin-bottom: 18px; display: grid; gap: 8px; }
.lk-n { display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: center; padding: 12px 13px; border-radius: 22px; background: rgba(40, 40, 44, 0.55); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4); text-align: left; cursor: pointer; animation: lkIn 0.6s var(--spring) both; transition: transform 0.2s; }
.lk-n:hover { transform: scale(1.02); }
.lk-n:active { transform: scale(0.98); }
.lk-n .ic { width: 38px; height: 38px; border-radius: 9px; overflow: hidden; }
.lk-n .ic svg { width: 100%; height: 100%; display: block; }
.lk-n .tp { display: flex; justify-content: space-between; font: 700 13px/1.2 "Montserrat", sans-serif; }
.lk-n .tp time { font-weight: 500; opacity: 0.6; font-size: 12px; }
.lk-n p { margin: 2px 0 0; font: 500 13px/1.3 "Montserrat", sans-serif; opacity: 0.92; }
@keyframes lkIn { from { opacity: 0; transform: translateY(18px) scale(0.96); } }
.lk-bottom { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 30px 46px; }
.lk-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(40, 40, 44, 0.55); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.lk-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; }
.lk-hint { font: 600 13px/1 "Montserrat", sans-serif; opacity: 0.75; animation: lkHint 2.4s ease-in-out infinite; }
@keyframes lkHint { 50% { opacity: 0.35; transform: translateY(-3px); } }

/* --------------------------------------------------------------- accueil */
.ph-home { position: absolute; inset: 0; z-index: 10; background: #333 center / cover no-repeat; transition: transform 0.5s var(--ease), filter 0.5s; }
.ph-home::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.25) 100%); pointer-events: none; }
.ph-home.behind { transform: scale(0.92); filter: blur(6px) brightness(0.7); }
.ph-pages { position: absolute; left: 0; right: 0; top: 64px; bottom: 150px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ph-pages::-webkit-scrollbar { display: none; }
.ph-page { flex: none; width: 100%; scroll-snap-align: start; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 92px; row-gap: 6px; padding: 8px 22px 0; align-content: start; }
.ph-app-ic { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; background: none; border: 0; padding: 0; color: #fff; -webkit-tap-highlight-color: transparent; }
.ph-app-ic .ic { position: relative; width: 64px; height: 64px; border-radius: 15px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28); transition: transform 0.25s var(--spring), filter 0.2s; }
.ph-app-ic .ic svg { width: 100%; height: 100%; display: block; }
.ph-app-ic:hover .ic { transform: translateY(-2px) scale(1.04); }
.ph-app-ic:active .ic { transform: scale(0.9); filter: brightness(0.75); }
.ph-app-ic .lb { max-width: 84px; font: 600 11.5px/1.15 "Montserrat", sans-serif; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-app-ic .badge { position: absolute; z-index: 2; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ff3b30; font: 700 12px/22px "Montserrat", sans-serif; text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.ph-app-ic .icw { position: relative; display: block; }
.ph-app-ic .ic { display: block; }
.ph-folder .ic { background: rgba(255, 255, 255, 0.28); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px; }
.ph-folder .ic span { border-radius: 4px; overflow: hidden; display: block; aspect-ratio: 1; }
.ph-folder .ic span svg { width: 100%; height: 100%; }
.ph-dots { position: absolute; left: 0; right: 0; bottom: 126px; display: flex; justify-content: center; gap: 8px; }
.ph-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); transition: background 0.3s; }
.ph-dots i.on { background: #fff; }
.ph-dock { position: absolute; left: 14px; right: 14px; bottom: 24px; height: 94px; border-radius: 34px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 0 8px; background: rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); }
.ph-dock .lb { display: none; }

/* widgets */
.ph-widget { grid-column: span 2; grid-row: span 2; margin: 6px 6px 10px; border-radius: 24px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); cursor: pointer; transition: transform 0.25s var(--spring); }
.ph-widget:active { transform: scale(0.96); }
.ph-widget.wallet { background: linear-gradient(150deg, #0b3d2e, #062019); }
.ph-widget.wallet .wl-t { font: 700 12px/1 "Montserrat", sans-serif; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.08em; }
.ph-widget.wallet .wl-v { font: 800 26px/1 "Montserrat", sans-serif; letter-spacing: -0.02em; }
.ph-widget.wallet .wl-s { font: 600 12px/1.3 "Montserrat", sans-serif; color: #5ce0a6; }
.ph-widget.weather { background: linear-gradient(180deg, #24364f, #0f1a2a); }
.ph-widget.weather .wt-c { font: 700 14px/1 "Montserrat", sans-serif; }
.ph-widget.weather .wt-v { font: 300 44px/1 "Montserrat", sans-serif; }
.ph-widget.weather .wt-s { font: 600 12px/1.3 "Montserrat", sans-serif; opacity: 0.8; }

/* dossier ouvert */
.ph-fold { position: absolute; inset: 0; z-index: 25; display: grid; place-items: center; background: rgba(0, 0, 0, 0.25); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.ph-fold.on { opacity: 1; pointer-events: auto; }
.ph-fold h4 { margin: 0 0 16px; text-align: center; font: 700 26px/1 "Montserrat", sans-serif; }
.ph-fold .fd-box { width: 300px; padding: 22px 16px; border-radius: 34px; background: rgba(255, 255, 255, 0.22); display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 14px; transform: scale(0.7); transition: transform 0.45s var(--spring); }
.ph-fold.on .fd-box { transform: none; }

/* --------------------------------------------------------------- les apps */
.ph-appwin { position: absolute; inset: 0; z-index: 20; background: #000; overflow: hidden; display: none; border-radius: 57px; }
.ph-appwin.on { display: block; animation: appIn 0.48s var(--spring) both; }
.ph-appwin.closing { display: block; animation: appOut 0.32s var(--ease) both; }
@keyframes appIn { from { transform: scale(0.16); opacity: 0; border-radius: 30px; } }
@keyframes appOut { to { transform: scale(0.16); opacity: 0; } }
.ph-view { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg, #000); }
.ph-view.push { animation: viewIn 0.42s var(--ease) both; }
@keyframes viewIn { from { transform: translateX(100%); } }
.ph-top { flex: none; padding: 58px 18px 8px; }
.ph-top .back { display: inline-flex; align-items: center; gap: 2px; color: var(--accent, #0a84ff); font: 600 16px/1 "Montserrat", sans-serif; cursor: pointer; background: none; border: 0; padding: 4px 0; }
.ph-top .back svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.4; fill: none; }
.ph-top h3 { margin: 6px 0 0; font: 800 32px/1.1 "Montserrat", sans-serif; letter-spacing: -0.02em; }
.ph-top .sub { margin: 4px 0 0; font: 500 13px/1.3 "Montserrat", sans-serif; opacity: 0.6; }
.ph-top.center { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(20, 20, 22, 0.85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.ph-top.center h3 { margin: 0; font-size: 16px; text-align: center; }
.ph-top.center .sub { text-align: center; font-size: 11px; margin: 2px 0 0; }
.ph-body { flex: 1; overflow-y: auto; padding: 4px 16px 40px; scrollbar-width: none; }
.ph-body::-webkit-scrollbar { display: none; }
.ph-list { border-radius: 14px; background: rgba(255, 255, 255, 0.07); overflow: hidden; margin: 10px 0 18px; }
.ph-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; position: relative; transition: background 0.15s; }
.ph-row:hover { background: rgba(255, 255, 255, 0.05); }
.ph-row + .ph-row::before { content: ""; position: absolute; left: 62px; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, 0.08); }
.ph-row .av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 "Montserrat", sans-serif; background: var(--c, #555); overflow: hidden; }
.ph-row .av svg { width: 100%; height: 100%; }
.ph-row .tx { flex: 1; min-width: 0; }
.ph-row .tx b { display: block; font: 700 15px/1.25 "Montserrat", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-row .tx span { display: block; font: 500 13px/1.3 "Montserrat", sans-serif; opacity: 0.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-row .rt { flex: none; font: 600 13px/1 "Montserrat", sans-serif; opacity: 0.55; text-align: right; }
.ph-row .rt.plus { color: #30d158; opacity: 1; }
.ph-row .rt.minus { opacity: 0.9; }
.ph-row .chev { width: 8px; height: 13px; opacity: 0.35; stroke: #fff; stroke-width: 2; fill: none; }
.ph-sec { margin: 16px 4px 6px; font: 600 12px/1 "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.5; }
.ph-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 14px; border: 0; background: var(--accent, #0a84ff); color: #fff; font: 700 15px/1 "Montserrat", sans-serif; cursor: pointer; transition: transform 0.15s, filter 0.2s; }
.ph-btn:active { transform: scale(0.96); }
.ph-btn.ghost { background: rgba(255, 255, 255, 0.1); }
.ph-btn.wide { width: 100%; }
.ph-input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.06); color: #fff; font: 600 16px/1 "Montserrat", sans-serif; outline: none; }
.ph-input:focus { border-color: var(--accent, #0a84ff); }
.ph-toggle { position: relative; width: 51px; height: 31px; border-radius: 16px; background: rgba(120, 120, 128, 0.36); transition: background 0.25s; flex: none; }
.ph-toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); transition: transform 0.3s var(--spring); }
.ph-toggle.on { background: #30d158; }
.ph-toggle.on::after { transform: translateX(20px); }
.ph-empty { text-align: center; padding: 50px 20px; opacity: 0.6; font: 500 14px/1.5 "Montserrat", sans-serif; }

/* messages */
.ms-thread { flex: 1; overflow-y: auto; padding: 14px 12px 10px; display: flex; flex-direction: column; gap: 4px; scrollbar-width: none; }
.ms-thread::-webkit-scrollbar { display: none; }
.ms-day { align-self: center; margin: 8px 0; font: 600 11px/1 "Montserrat", sans-serif; opacity: 0.45; }
.ms-b { max-width: 76%; padding: 9px 13px; border-radius: 19px; font: 500 15px/1.35 "Montserrat", sans-serif; word-wrap: break-word; animation: bIn 0.35s var(--spring) both; }
@keyframes bIn { from { opacity: 0; transform: translateY(10px) scale(0.9); } }
.ms-b.me { align-self: flex-end; background: var(--me, #0a84ff); border-bottom-right-radius: 6px; }
.ms-b.them { align-self: flex-start; background: #26262a; border-bottom-left-radius: 6px; }
.ms-b .who { display: block; font: 700 11px/1.3 "Montserrat", sans-serif; opacity: 0.6; margin-bottom: 2px; }
.ms-typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 15px; border-radius: 19px; background: #26262a; }
.ms-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: typ 1.2s infinite; }
.ms-typing i:nth-child(2) { animation-delay: 0.15s; }
.ms-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typ { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: 0.4; } }
.ms-bar { flex: none; display: flex; gap: 8px; align-items: center; padding: 8px 12px 34px; background: rgba(20, 20, 22, 0.9); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ms-bar input { flex: 1; padding: 10px 14px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.16); background: transparent; color: #fff; font: 500 15px/1 "Montserrat", sans-serif; outline: none; }
.ms-bar button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--me, #0a84ff); display: grid; place-items: center; cursor: pointer; flex: none; }
.ms-bar button svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.6; fill: none; }

/* banque */
.bk-card { position: relative; margin: 8px 0 16px; padding: 20px; border-radius: 22px; min-height: 180px; overflow: hidden; background: linear-gradient(135deg, #00b894 0%, #00745c 55%, #003d31 100%); box-shadow: 0 16px 40px -14px rgba(0, 184, 148, 0.6); display: flex; flex-direction: column; justify-content: space-between; }
.bk-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, 0.08); }
.bk-card .k { font: 600 13px/1 "Montserrat", sans-serif; opacity: 0.85; }
.bk-card .v { font: 800 38px/1 "Montserrat", sans-serif; letter-spacing: -0.03em; transition: transform 0.3s var(--spring); }
.bk-card .v.bump { transform: scale(1.08); }
.bk-card .n { display: flex; justify-content: space-between; font: 600 13px/1 "JetBrains Mono", monospace; opacity: 0.85; }
.bk-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 4px; }
.bk-act { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 0; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 0; color: #fff; font: 600 12px/1 "Montserrat", sans-serif; cursor: pointer; }
.bk-act i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 184, 148, 0.2); }
.bk-act svg { width: 18px; height: 18px; stroke: #00d8a8; stroke-width: 2; fill: none; }
.ph-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 18px 18px 40px; border-radius: 26px 26px 0 0; background: #1c1c1f; box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6); transform: translateY(105%); transition: transform 0.45s var(--spring); display: grid; gap: 12px; }
.ph-sheet.on { transform: none; }
.ph-sheet h4 { margin: 0; font: 800 20px/1.2 "Montserrat", sans-serif; }
.ph-sheet .grip { justify-self: center; width: 40px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); margin-top: -6px; }
.ph-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ph-chip { padding: 9px 12px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); color: #fff; font: 600 13px/1 "Montserrat", sans-serif; cursor: pointer; }
.ph-chip.on { background: var(--accent, #0a84ff); border-color: transparent; color: var(--on-accent, #fff); }
.ph-done { display: grid; place-items: center; gap: 10px; padding: 20px 0; text-align: center; font: 700 17px/1.3 "Montserrat", sans-serif; }
.ph-done svg { width: 64px; height: 64px; stroke: #30d158; stroke-width: 3; fill: none; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 0.6s 0.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* garage */
.gr-car { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); margin-bottom: 10px; cursor: pointer; transition: transform 0.2s; }
.gr-car:active { transform: scale(0.98); }
.gr-car b { font: 800 18px/1.2 "Montserrat", sans-serif; }
.gr-car .pl { font: 700 12px/1 "JetBrains Mono", monospace; padding: 5px 7px; border-radius: 5px; background: #f2f2f2; color: #111; align-self: start; }
.gr-car span { font: 500 13px/1.3 "Montserrat", sans-serif; opacity: 0.6; }
.gr-st { justify-self: end; font: 700 11px/1 "Montserrat", sans-serif; padding: 5px 8px; border-radius: 10px; }
.gr-st.stored { background: rgba(48, 209, 88, 0.18); color: #30d158; }
.gr-st.out { background: rgba(10, 132, 255, 0.18); color: #4ea3ff; }
.gr-st.impound { background: rgba(255, 69, 58, 0.18); color: #ff6961; }
.gr-hero { height: 150px; border-radius: 20px; margin: 6px 0 14px; display: grid; place-items: center; background: radial-gradient(70% 90% at 50% 100%, rgba(110, 92, 242, 0.45), transparent 70%), #111; }
.gr-hero svg { width: 220px; height: auto; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; opacity: 0.9; }
.gr-bar { margin: 12px 0; }
.gr-bar .t { display: flex; justify-content: space-between; font: 600 13px/1 "Montserrat", sans-serif; margin-bottom: 7px; }
.gr-bar .t span { opacity: 0.6; }
.gr-bar .b { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.gr-bar .b i { display: block; height: 100%; border-radius: 4px; background: var(--accent, #6e5cf2); width: 0; transition: width 0.9s var(--ease) 0.15s; }
.gr-lock { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); cursor: pointer; margin: 14px 0; }
.gr-lock .lk { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(110, 92, 242, 0.25); transition: background 0.3s, transform 0.3s var(--spring); }
.gr-lock .lk svg { width: 22px; height: 22px; stroke: #b3a8ff; stroke-width: 2; fill: none; }
.gr-lock.unl .lk { background: rgba(255, 159, 10, 0.25); transform: rotate(-12deg); }
.gr-lock.unl .lk svg { stroke: #ffb340; }

/* carte */
.mp-wrap { position: absolute; inset: 0; overflow: hidden; background: #0e1116; cursor: grab; touch-action: none; }
.mp-wrap.drag { cursor: grabbing; }
.mp-map { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.mp-map img { display: block; width: 1100px; height: auto; max-width: none; pointer-events: none; }
.mp-pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.mp-pin b { padding: 5px 9px; border-radius: 10px; background: #fff; color: #111; font: 700 11px/1 "Montserrat", sans-serif; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
.mp-pin i { width: 2px; height: 10px; background: #fff; }
.mp-pin.on b { background: #f0c43a; }
.mp-search { position: absolute; left: 14px; right: 14px; bottom: 30px; z-index: 3; padding: 14px; border-radius: 22px; background: rgba(28, 28, 30, 0.86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: grid; gap: 10px; }
.mp-search .q { padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); font: 500 15px/1 "Montserrat", sans-serif; opacity: 0.7; }
.mp-route { font: 600 14px/1.4 "Montserrat", sans-serif; }
.mp-route small { display: block; opacity: 0.6; font-weight: 500; }

/* ryde */
.rd-map { position: relative; height: 330px; margin: 0 -16px; overflow: hidden; background: #111 center / 1100px auto no-repeat; }
.rd-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000); }
.rd-car { position: absolute; z-index: 2; left: 50%; top: 52%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18), 0 0 30px rgba(255, 255, 255, 0.5); animation: rdPulse 1.6s infinite; }
.rd-car svg { width: 18px; height: 18px; fill: #000; }
@keyframes rdPulse { 50% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.05), 0 0 30px rgba(255, 255, 255, 0.5); } }
.rd-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1.5px solid transparent; background: rgba(255, 255, 255, 0.06); margin-bottom: 8px; cursor: pointer; }
.rd-opt.on { border-color: #fff; }
.rd-opt b { flex: 1; font: 700 15px/1.2 "Montserrat", sans-serif; }
.rd-opt b small { display: block; font: 500 12px/1.3 "Montserrat", sans-serif; opacity: 0.6; }
.rd-opt span { font: 700 15px/1 "Montserrat", sans-serif; }
.rd-search { display: grid; place-items: center; gap: 14px; padding: 30px 0; text-align: center; font: 600 15px/1.4 "Montserrat", sans-serif; }
.rd-spin { width: 48px; height: 48px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: #fff; animation: spin 0.9s linear infinite; }

/* calculatrice */
.calc { position: absolute; inset: 0; background: #000; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 16px 40px; }
.calc .scr { text-align: right; font: 300 78px/1.1 "Montserrat", sans-serif; letter-spacing: -0.03em; padding: 0 10px 14px; white-space: nowrap; overflow: hidden; }
.calc .keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.calc button { aspect-ratio: 1; border-radius: 50%; border: 0; font: 500 30px/1 "Montserrat", sans-serif; color: #fff; background: #333335; cursor: pointer; transition: filter 0.1s; }
.calc button:active { filter: brightness(1.6); }
.calc button.fn { background: #a5a5a5; color: #000; }
.calc button.op { background: #ff9f0a; }
.calc button.op.on { background: #fff; color: #ff9f0a; }
.calc button.zero { grid-column: span 2; aspect-ratio: auto; border-radius: 44px; text-align: left; padding-left: 32px; }

/* réglages */
.st-prof { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); margin: 10px 0 18px; }
.st-prof .av { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(150deg, #3a3a3a, #0b0b0b); display: grid; place-items: center; overflow: hidden; }
.st-prof .av img { width: 70%; filter: grayscale(1) brightness(1.3); }
.st-prof b { display: block; font: 700 18px/1.2 "Montserrat", sans-serif; }
.st-prof span { font: 500 13px/1.3 "Montserrat", sans-serif; opacity: 0.6; }
.st-ico { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; background: var(--c); flex: none; }
.st-ico svg { width: 17px; height: 17px; stroke: #fff; stroke-width: 2; fill: none; }
.st-walls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 18px; }
.st-walls button { aspect-ratio: 9 / 19.5; border-radius: 12px; border: 2px solid transparent; background: #222 center / cover; cursor: pointer; padding: 0; }
.st-walls button.on { border-color: #0a84ff; box-shadow: 0 0 0 2px #000 inset; }

/* elitegram */
.eg-head { display: flex; justify-content: space-between; align-items: center; padding: 58px 16px 10px; }
.eg-head b { font: 800 italic 26px/1 "Montserrat", sans-serif; letter-spacing: -0.02em; }
.eg-stories { display: flex; gap: 12px; padding: 4px 16px 12px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.eg-stories::-webkit-scrollbar { display: none; }
.eg-st { flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; font: 500 11px/1 "Montserrat", sans-serif; }
.eg-st i { width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf); }
.eg-st i img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #000; }
.eg-post { padding-bottom: 14px; }
.eg-post .ph { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font: 700 14px/1 "Montserrat", sans-serif; }
.eg-post .ph img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.eg-post .ph small { display: block; font: 500 11px/1.3 "Montserrat", sans-serif; opacity: 0.6; }
.eg-post .im { position: relative; aspect-ratio: 1; background: #111 center / cover; cursor: pointer; }
.eg-post .im .bigheart { position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; margin: -50px; fill: #fff; opacity: 0; transform: scale(0.4); filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5)); }
.eg-post .im.pop .bigheart { animation: heart 0.8s var(--spring) both; }
@keyframes heart { 30% { opacity: 1; transform: scale(1.1); } 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.eg-acts { display: flex; gap: 16px; padding: 10px 14px 6px; }
.eg-acts svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 1.8; fill: none; cursor: pointer; transition: transform 0.3s var(--spring); }
.eg-acts svg.liked { fill: #ff3040; stroke: #ff3040; transform: scale(1.15); }
.eg-post p { margin: 0; padding: 0 14px; font: 500 14px/1.45 "Montserrat", sans-serif; }
.eg-post p b { font-weight: 700; }

/* photos */
.pt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -16px; }
.pt-grid button { aspect-ratio: 1; border: 0; padding: 0; background: #111 center / cover; cursor: pointer; }
.pt-full { position: absolute; inset: 0; z-index: 6; background: #000 center / contain no-repeat; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.pt-full.on { opacity: 1; pointer-events: auto; }

/* darkchat */
.dc { --bg: #07080a; --accent: #c9c9c9; font-family: "JetBrains Mono", monospace; }
.dc .ph-top h3 { font-family: "JetBrains Mono", monospace; font-weight: 600; font-size: 26px; letter-spacing: 0.04em; }
.dc .room { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 8px; cursor: pointer; background: rgba(255, 255, 255, 0.025); transition: border-color 0.2s; }
.dc .room:hover { border-color: rgba(255, 255, 255, 0.25); }
.dc .room i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); font: 700 16px/1 "JetBrains Mono", monospace; font-style: normal; }
.dc .room b { display: block; font: 600 14px/1.3 "JetBrains Mono", monospace; }
.dc .room span { display: block; font: 400 11.5px/1.4 "JetBrains Mono", monospace; opacity: 0.5; }
.dc .room em { margin-left: auto; font: 600 10px/1 "JetBrains Mono", monospace; font-style: normal; color: #30d158; }
.dc .ms-b { font-family: "JetBrains Mono", monospace; font-size: 13px; border-radius: 8px; }
.dc .ms-b.them { background: #15171b; border: 1px solid rgba(255, 255, 255, 0.06); }
.dc .ms-b.me { background: #e8e8e8; color: #000; }
.dc .ms-bar { background: #0b0c0f; }
.dc .ms-bar input { font-family: "JetBrains Mono", monospace; font-size: 13px; border-radius: 8px; }
.dc .ms-bar button { background: #e8e8e8; border-radius: 8px; }
.dc .ms-bar button svg { stroke: #000; }

/* téléphone (clavier) */
.tl-num { text-align: center; font: 400 36px/1.2 "Montserrat", sans-serif; min-height: 50px; margin: 60px 0 20px; letter-spacing: 0.04em; }
.tl-keys { display: grid; grid-template-columns: repeat(3, 78px); gap: 16px 26px; justify-content: center; }
.tl-keys button { width: 78px; height: 78px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font: 400 32px/1 "Montserrat", sans-serif; cursor: pointer; display: grid; place-items: center; align-content: center; }
.tl-keys button small { display: block; font: 700 9px/1 "Montserrat", sans-serif; letter-spacing: 0.18em; opacity: 0.7; margin-top: 3px; }
.tl-keys button:active { background: rgba(255, 255, 255, 0.35); }
.tl-call { width: 78px; height: 78px; border-radius: 50%; border: 0; background: #30d158; display: grid; place-items: center; margin: 22px auto 0; cursor: pointer; }
.tl-call svg { width: 32px; height: 32px; fill: #fff; }
.tl-oncall { position: absolute; inset: 0; z-index: 5; background: linear-gradient(180deg, #2b2f38, #0a0b0d); display: flex; flex-direction: column; align-items: center; padding-top: 120px; gap: 10px; }
.tl-oncall .av { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; font: 700 40px/1 "Montserrat", sans-serif; background: #d6b56d; color: #111; }
.tl-oncall b { font: 600 30px/1.2 "Montserrat", sans-serif; }
.tl-oncall span { opacity: 0.7; font: 500 16px/1 "Montserrat", sans-serif; }
.tl-oncall .end { margin-top: auto; margin-bottom: 80px; width: 78px; height: 78px; border-radius: 50%; border: 0; background: #ff3b30; display: grid; place-items: center; cursor: pointer; }
.tl-oncall .end svg { width: 34px; height: 34px; fill: #fff; transform: rotate(135deg); }

/* penta (wordle) */
.pn { --bg: #121213; }
.pn-grid { display: grid; grid-template-rows: repeat(6, 54px); gap: 6px; justify-content: center; margin: 14px 0 18px; }
.pn-row { display: grid; grid-template-columns: repeat(5, 54px); gap: 6px; }
.pn-row.shake { animation: shake 0.4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pn-c { display: grid; place-items: center; border: 2px solid #3a3a3c; font: 800 26px/1 "Montserrat", sans-serif; text-transform: uppercase; transition: transform 0.12s; }
.pn-c.filled { border-color: #565758; transform: scale(1.06); }
.pn-c.g, .pn-c.y, .pn-c.x { border-color: transparent; animation: flip 0.5s var(--ease) both; }
.pn-c.g { background: #6aaa64; }
.pn-c.y { background: #c9b458; }
.pn-c.x { background: #3a3a3c; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
.pn-kb { display: grid; gap: 7px; padding: 0 4px; }
.pn-kb div { display: flex; justify-content: center; gap: 5px; }
.pn-kb button { flex: 1; max-width: 32px; height: 50px; border-radius: 5px; border: 0; background: #818384; color: #fff; font: 700 14px/1 "Montserrat", sans-serif; cursor: pointer; padding: 0; }
.pn-kb button.big { max-width: 56px; font-size: 11px; }
.pn-kb button.g { background: #6aaa64; }
.pn-kb button.y { background: #c9b458; }
.pn-kb button.x { background: #3a3a3c; }
.pn-msg { text-align: center; min-height: 22px; font: 700 14px/1.4 "Montserrat", sans-serif; }

/* weazel */
.wz-top { padding: 58px 16px 12px; background: #c8102e; }
.wz-top b { font: 900 italic 30px/1 "Montserrat", sans-serif; letter-spacing: -0.02em; }
.wz-break { display: flex; gap: 10px; align-items: center; padding: 9px 16px; background: #000; overflow: hidden; white-space: nowrap; font: 700 12px/1 "Montserrat", sans-serif; }
.wz-break em { flex: none; font-style: normal; padding: 4px 6px; background: #c8102e; border-radius: 3px; }
.wz-break span { display: inline-block; animation: wzTick 16s linear infinite; padding-left: 100%; }
@keyframes wzTick { to { transform: translateX(-100%); } }
.wz-art { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.wz-art .im { height: 170px; border-radius: 14px; background: #222 center / cover; margin-bottom: 10px; }
.wz-art small { font: 700 11px/1 "Montserrat", sans-serif; color: #ff4d64; text-transform: uppercase; letter-spacing: 0.06em; }
.wz-art b { display: block; margin-top: 6px; font: 800 18px/1.3 "Montserrat", sans-serif; }

/* app générique */
.gn { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 40px 34px; height: 100%; background: radial-gradient(80% 50% at 50% 30%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%), #000; }
.gn .ic { width: 120px; height: 120px; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 60px -10px color-mix(in srgb, var(--accent) 70%, transparent); animation: gnIn 0.7s var(--spring) both; }
.gn .ic svg { width: 100%; height: 100%; }
@keyframes gnIn { from { transform: scale(0.5) rotate(-8deg); opacity: 0; } }
.gn h3 { margin: 6px 0 0; font: 800 30px/1.1 "Montserrat", sans-serif; }
.gn p { margin: 0; font: 500 15px/1.55 "Montserrat", sans-serif; opacity: 0.75; }
.gn .tag { font: 700 11px/1 "Montserrat", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 12px; border-radius: 20px; background: rgba(255, 255, 255, 0.1); }

/* appareil photo */
.cam { position: absolute; inset: 0; background: #000; display: flex; flex-direction: column; }
.cam .vf { flex: 1; margin-top: 90px; background: radial-gradient(60% 50% at 50% 45%, #2b2b30, #050505); position: relative; overflow: hidden; }
.cam .vf::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px); background-size: 33.33% 33.33%; }
.cam .vf .fl { position: absolute; inset: 0; background: #fff; opacity: 0; }
.cam .vf .fl.go { animation: flash 0.35s ease-out; }
@keyframes flash { 10% { opacity: 1; } }
.cam .vf img { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); opacity: 0.85; filter: grayscale(1) brightness(1.2); }
.cam .bar { flex: none; height: 190px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 34px 30px; }
.cam .shot { width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; background: #fff; box-shadow: inset 0 0 0 3px #000; cursor: pointer; transition: transform 0.12s; }
.cam .shot:active { transform: scale(0.9); }
.cam .last { width: 46px; height: 46px; border-radius: 10px; background: #222 center / cover; border: 2px solid rgba(255, 255, 255, 0.3); }
.cam .modes { position: absolute; left: 0; right: 0; bottom: 196px; display: flex; justify-content: center; gap: 22px; font: 700 13px/1 "Montserrat", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.cam .modes span { opacity: 0.5; }
.cam .modes span.on { opacity: 1; color: #ffd60a; }

/* bouton qui ouvre le téléphone (site) */
.phone-fab {
  position: fixed; z-index: 16; right: var(--pad); bottom: calc(var(--pad) + 74px);
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 40px;
  background: rgba(20, 21, 24, 0.7); border: 1px solid var(--line-strong); color: var(--pearl);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  font: 700 12px/1 var(--f); letter-spacing: 0.04em; cursor: pointer;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--spring), background 0.3s, border-color 0.3s;
}
body.ready .phone-fab { opacity: 1; transform: none; }
.phone-fab:hover { background: rgba(40, 41, 44, 0.85); border-color: rgba(255, 255, 255, 0.4); }
.phone-fab .pf-ic { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--btn); }
.phone-fab .pf-ic svg { width: 16px; height: 16px; stroke: #111; stroke-width: 2; fill: none; }
.phone-fab .pf-ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); animation: pfRing 2.2s ease-out infinite; }
@keyframes pfRing { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.phone-fab small { display: block; font: 500 10px/1.2 var(--f-mono); color: var(--muted); letter-spacing: 0.02em; margin-top: 3px; }
body.in-more .phone-fab, body.at-offers .phone-fab { opacity: 0; pointer-events: none; transform: translateY(20px); }
.notif { pointer-events: auto; cursor: pointer; transition: transform 0.25s var(--spring), border-color 0.3s; }
.notif:hover { transform: translateX(-4px); border-color: rgba(255, 255, 255, 0.4); }
.notif .open { font: 600 10px/1 var(--f-mono); color: var(--faint); margin-top: 6px; display: block; letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .ph-side { display: none; }
}
@media (max-width: 760px) {
  .phone-fab { bottom: auto; top: calc(74px + env(safe-area-inset-top, 0px)); right: var(--pad); padding: 6px 12px 6px 6px; }
  .phone-fab small { display: none; }
  .phone-fab .pf-ic { width: 28px; height: 28px; }
  .ph-close { top: calc(8px + env(safe-area-inset-top, 0px)); right: 8px; width: 40px; height: 40px; background: rgba(0, 0, 0, 0.7); }
}
html.phone-open, html.phone-open body { overflow: hidden; }
html.phone-open .notifs, html.phone-open .card, html.phone-open .offers { visibility: hidden; }
