:root {
  --font: -apple-system, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --bg: #f2f2f7;
  --card: rgba(255,255,255,.82);
  --text: #111114;
  --muted: #8a8a93;
  --line: rgba(60,60,67,.14);
  --accent: #0a84ff;
  --green: #30d158;
  --red: #ff453a;
  --glass: rgba(255,255,255,.28);
  --glass-strong: rgba(255,255,255,.6);
  --glass-border: rgba(255,255,255,.55);
  --bubble-me: #0a84ff;
  --bubble-them: #e9e9eb;
  --k: 1;
}
.dark {
  --bg: #000;
  --card: rgba(28,28,30,.86);
  --text: #f5f5f7;
  --muted: #8e8e93;
  --line: rgba(84,84,88,.4);
  --glass: rgba(40,40,44,.38);
  --glass-strong: rgba(44,44,48,.7);
  --glass-border: rgba(255,255,255,.14);
  --bubble-them: #26262a;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { width: 100%; height: 100%; overflow: hidden; background: transparent; font-family: var(--font); user-select: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.browser { background: radial-gradient(circle at 30% 20%, #5b6270, #1b1d22); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: var(--text); }
.hidden { display: none !important; }

/* ============ Châssis ============ */
#root {
  position: fixed; right: 3vw; bottom: 0;
  transform-origin: bottom right;
  /* zoom (et pas transform: scale) : le texte est re-rendu net à la bonne taille */
  zoom: var(--k);
  transform: translateY(0);
  transition: transform .45s cubic-bezier(.2,.9,.25,1.05);
}
#root.closing { transform: translateY(110%); }

#phone {
  position: relative;
  width: 404px; height: 858px;
  margin-bottom: 70px;
  border-radius: 64px;
  padding: 10px;
  background: linear-gradient(145deg, #d8dade 0%, #8b9098 30%, #c9ccd1 55%, #6f747c 80%, #b9bcc2 100%);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 0 0 1.5px rgba(255,255,255,.55), inset 0 0 0 4px rgba(0,0,0,.25);
  transition: width .55s cubic-bezier(.65,0,.25,1), border-radius .55s;
}
#phone.unfolded { width: 790px; border-radius: 58px; }

.side-btn { position: absolute; background: linear-gradient(90deg, #8b9098, #cfd2d6); border-radius: 3px; }
.side-power { right: -4px; top: 210px; width: 5px; height: 96px; }
.side-vol1 { left: -4px; top: 180px; width: 5px; height: 62px; }
.side-vol2 { left: -4px; top: 256px; width: 5px; height: 62px; }

.hinge-btn {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%);
  width: 64px; height: 22px; border-radius: 11px; z-index: 5;
  background: linear-gradient(180deg, #e0e2e6, #8f949b);
  box-shadow: 0 6px 14px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.8);
}
.hinge-btn::before { content: ""; position: absolute; inset: 8px 18px; border-radius: 4px; background: rgba(0,0,0,.35); }
.hinge-btn:hover { filter: brightness(1.08); }

.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 54px; overflow: hidden;
  background: #000; color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.6);
}
#phone.unfolded .screen { border-radius: 48px; }

.wallpaper {
  position: absolute; inset: 0;
  background: url(../img/wallpapers/silver.svg) center / cover no-repeat;
  transition: filter .3s;
}
.crease {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(0,0,0,.08), rgba(255,255,255,.18), rgba(0,0,0,.08));
  opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 40;
}
#phone.unfolded .crease { opacity: 1; }

/* ============ Barre de statut / Dynamic Island ============ */
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: 54px; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 34px 0 44px; font-weight: 600; font-size: 16px; color: var(--sb, #111);
  pointer-events: none;
}
.statusbar.light { --sb: #fff; }
.sb-icons { display: flex; gap: 6px; align-items: center; }
.sb-icons svg { height: 12px; fill: currentColor; }
.battery { width: 26px; height: 12px; border: 1.5px solid currentColor; border-radius: 4px; padding: 1.5px; opacity: .9; position: relative; }
.battery::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: currentColor; border-radius: 0 1px 1px 0; }
.battery span { display: block; height: 100%; width: 78%; background: currentColor; border-radius: 1.5px; }

.island {
  position: absolute; left: 50%; top: 11px; transform: translateX(-50%);
  height: 34px; min-width: 120px; padding: 0 14px;
  background: #000; border-radius: 20px;
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  color: #fff; font-size: 13px; font-weight: 600;
  transition: min-width .4s cubic-bezier(.3,1.4,.5,1), height .4s;
  pointer-events: auto;
}
.island-dot { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2a3a55, #050608); }
.island-text { display: none; }
.island.active { min-width: 180px; justify-content: space-between; cursor: pointer; }
.island.active .island-text { display: block; color: var(--green); }
#phone.unfolded .island { left: calc(25% + 50px); }

/* ============ Panneaux (split-screen) ============ */
.panes { position: absolute; inset: 0; display: flex; z-index: 10; }
.pane { position: relative; flex: 1 1 100%; height: 100%; overflow: hidden; }
#paneB { display: none; }
#phone.unfolded #paneB { display: block; flex-basis: 50%; }
#phone.unfolded #paneA { flex-basis: 50%; }
#phone.unfolded.span #paneA { flex-basis: 100%; }
#phone.unfolded.span #paneB { display: none; }

.app {
  position: absolute; inset: 0; background: var(--bg);
  display: flex; flex-direction: column; padding-top: 54px;
  animation: appIn .32s cubic-bezier(.2,.9,.3,1);
}
@keyframes appIn { from { transform: scale(.92); opacity: 0; border-radius: 40px; } to { transform: none; opacity: 1; } }
/* ouverture depuis l'icône : l'app grandit à partir de l'icône touchée */
.app.zoom-in { animation: appZoom .38s cubic-bezier(.2,.85,.25,1); }
@keyframes appZoom {
  0% { transform: scale(var(--zs, .15)); opacity: 0; border-radius: 120px; }
  35% { opacity: 1; }
  100% { transform: none; opacity: 1; border-radius: 0; }
}
.app.glass { background: transparent; }
.app-header { padding: 6px 20px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-title { font-size: 32px; font-weight: 700; letter-spacing: -.5px; padding: 0 20px 10px; }
.app-body { flex: 1; overflow-y: auto; padding: 0 16px 40px; }
.app-body::-webkit-scrollbar { display: none; }
.link { color: var(--accent); font-size: 17px; }

/* Liquid glass */
.glass-card {
  background: var(--glass); backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--glass-border); border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 24px rgba(0,0,0,.12);
}

.home-indicator {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 140px; height: 5px; border-radius: 3px; background: rgba(0,0,0,.75); z-index: 60; cursor: pointer;
}
.home-indicator.light { background: rgba(255,255,255,.85); }
#phone.unfolded .home-indicator { width: 200px; }

/* ============ Accueil ============ */
.home { padding: 70px 24px 0; display: flex; flex-direction: column; height: 100%; }
.home-widget { padding: 16px 20px; margin-bottom: 22px; color: #1c1c1e; }
.home-widget .w-time { font-size: 54px; font-weight: 300; letter-spacing: -2px; line-height: 1; }
.home-widget .w-date { font-size: 15px; font-weight: 600; opacity: .7; margin-top: 4px; text-transform: capitalize; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 10px; }
.unfolded-span .grid { grid-template-columns: repeat(8, 1fr); }
.app-icon { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.app-icon .ic {
  width: 64px; height: 64px; border-radius: 17px; display: grid; place-items: center; position: relative;
  box-shadow: 0 6px 14px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .15s;
}
.app-icon:active .ic { transform: scale(.88); }
.app-icon .ic svg { width: 36px; height: 36px; fill: #fff; }
.app-icon span { font-size: 12px; color: #1c1c1e; font-weight: 500; text-shadow: 0 1px 2px rgba(255,255,255,.4); }
.badge {
  position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 600; border-radius: 11px;
  display: grid; place-items: center; border: 2px solid rgba(255,255,255,.6);
}
.dock {
  margin-top: auto; margin-bottom: 26px; padding: 14px 16px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; justify-items: center;
}
.dock .app-icon span { display: none; }

/* ============ Listes ============ */
.search {
  display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 9px 12px;
  background: rgba(118,118,128,.14); border-radius: 12px; color: var(--muted);
}
.search input { flex: 1; background: none; border: 0; outline: 0; font-size: 17px; }
.list { background: var(--card); border-radius: 18px; overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; position: relative; cursor: pointer; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: 1px; background: var(--line); }
.row:active { background: rgba(120,120,128,.12); }
.row .r-main { flex: 1; min-width: 0; }
.row .r-title { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .r-sub { font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .r-meta { font-size: 14px; color: var(--muted); }
.row.missed .r-title { color: var(--red); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(180deg, #a8adb7, #858a94); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: 17px;
}
.avatar.lg { width: 96px; height: 96px; font-size: 38px; }
.unread-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.empty { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 15px; }

/* ============ Onglets bas ============ */
.tabbar {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 6px; z-index: 20;
}
.tabbar button { padding: 8px 14px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--muted); }
.tabbar button svg { width: 22px; height: 22px; fill: currentColor; }
.tabbar button.on { color: var(--accent); background: rgba(10,132,255,.12); }

/* ============ Clavier ============ */
.dialer { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 20px 0 110px; }
.dial-number { font-size: 38px; font-weight: 400; min-height: 52px; letter-spacing: 1px; color: var(--text); }
.dial-add { color: var(--accent); font-size: 15px; min-height: 22px; margin-bottom: 16px; }
.keypad { display: grid; grid-template-columns: repeat(3, 78px); gap: 16px 26px; margin-top: auto; }
.key {
  width: 78px; height: 78px; border-radius: 50%;
  background: rgba(118,118,128,.16); backdrop-filter: blur(12px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.key:active { background: rgba(118,118,128,.36); }
.key b { font-size: 34px; font-weight: 400; line-height: 1; }
.key small { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--muted); }
.dial-actions { display: grid; grid-template-columns: repeat(3, 78px); gap: 26px; margin-top: 18px; align-items: center; justify-items: center; }
.call-btn { width: 78px; height: 78px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.call-btn svg { width: 34px; fill: #fff; }
.call-btn.end { background: var(--red); }
.call-btn.end svg { transform: rotate(135deg); }

/* ============ Écran d'appel ============ */
.call-screen {
  position: absolute; inset: 0; z-index: 30; color: #fff;
  background: linear-gradient(180deg, rgba(40,44,52,.75), rgba(10,12,16,.92));
  backdrop-filter: blur(40px);
  display: flex; flex-direction: column; align-items: center; padding: 110px 20px 70px;
  animation: appIn .3s;
}
.call-screen .avatar { margin-bottom: 18px; }
.call-name { font-size: 32px; font-weight: 600; }
.call-status { font-size: 17px; opacity: .7; margin-top: 6px; }
.call-controls { margin-top: auto; display: grid; grid-template-columns: repeat(3, 76px); gap: 22px 30px; }
.call-ctrl { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; }
.call-ctrl .c { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.call-ctrl.on .c { background: #fff; }
.call-ctrl.on .c svg { fill: #000; }
.call-ctrl .c svg { width: 30px; fill: #fff; }
.call-answer-row { display: flex; gap: 90px; margin-top: 40px; }

/* ============ Messages ============ */
.thread { display: flex; flex-direction: column; height: 100%; }
.thread-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 16px 10px; border-bottom: 1px solid var(--line); position: relative; }
.thread-head .back { position: absolute; left: 12px; top: 10px; }
.thread-head .avatar { width: 52px; height: 52px; }
.thread-head .t-name { font-size: 13px; font-weight: 500; }
.bubbles { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.bubbles::-webkit-scrollbar { display: none; }
.bubble { max-width: 76%; padding: 8px 13px; border-radius: 19px; font-size: 16px; line-height: 1.3; word-wrap: break-word; }
.bubble.me { align-self: flex-end; background: var(--bubble-me); color: #fff; border-bottom-right-radius: 6px; }
.bubble.them { align-self: flex-start; background: var(--bubble-them); color: var(--text); border-bottom-left-radius: 6px; }
.bubble img { display: block; width: 200px; max-width: 100%; border-radius: 12px; margin: 2px 0 4px; }
.day-sep { align-self: center; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.composer { display: flex; align-items: center; gap: 8px; padding: 8px 12px 30px; }
.composer input { flex: 1; padding: 9px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); outline: 0; font-size: 16px; }
.send-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.send-btn svg { width: 18px; fill: #fff; }
.send-btn:disabled { opacity: .35; }

/* ============ Formulaires ============ */
.form { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 10px; }
.form .list { width: 100%; }
.field { display: flex; padding: 12px 14px; }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 17px; }
.field + .field { border-top: 1px solid var(--line); }
.btn-danger { width: 100%; padding: 14px; background: var(--card); color: var(--red); border-radius: 14px; font-size: 17px; }
.contact-actions { display: flex; gap: 10px; width: 100%; }
.contact-actions button { flex: 1; padding: 10px 0; background: var(--card); border-radius: 14px; color: var(--accent); font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.contact-actions svg { width: 22px; fill: currentColor; }

/* ============ Galerie ============ */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -16px; }
#phone.unfolded.span .photos { grid-template-columns: repeat(6, 1fr); }
.photos div { aspect-ratio: 1; background: #ccc center / cover; cursor: pointer; }
.viewer { position: absolute; inset: 0; z-index: 30; background: #000; display: flex; flex-direction: column; padding-top: 54px; animation: appIn .25s; }
.viewer img { flex: 1; width: 100%; object-fit: contain; min-height: 0; }
.viewer-bar { display: flex; justify-content: space-between; padding: 14px 22px 34px; color: var(--accent); }

/* ============ Appareil photo (placeholder pendant la caméra jeu) ============ */
.camera-app { background: #000; color: #fff; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 0 30px; }
.camera-app .shutter { width: 78px; height: 78px; border-radius: 50%; border: 4px solid #fff; background: #fff; box-shadow: inset 0 0 0 4px #000; }

/* ============ Réglages ============ */
.settings-group { margin-bottom: 22px; }
.settings-group h4 { font-size: 13px; font-weight: 400; color: var(--muted); text-transform: uppercase; padding: 0 16px 6px; }
.set-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.set-ic svg { width: 18px; fill: #fff; }
.row.setting + .row.setting::before { left: 56px; }
.switch { width: 51px; height: 31px; border-radius: 16px; background: rgba(120,120,128,.32); position: relative; transition: background .2s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.18); transition: transform .25s; }
.switch.on { background: var(--green); }
.switch.on::after { transform: translateX(20px); }
.wall-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
.wall-picker div { aspect-ratio: 9/19; border-radius: 10px; background: center / cover; cursor: pointer; border: 3px solid transparent; }
.wall-picker div.on { border-color: var(--accent); }

/* ============ Notifications ============ */
.toasts { position: absolute; top: 54px; left: 10px; right: 10px; z-index: 70; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
#phone.unfolded .toasts { right: 50%; }
.toast {
  display: flex; gap: 10px; align-items: center; padding: 12px 14px; color: var(--text);
  background: var(--glass-strong); backdrop-filter: blur(30px) saturate(1.8);
  border: 1px solid var(--glass-border); border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2); pointer-events: auto; cursor: pointer;
  animation: toastIn .4s cubic-bezier(.2,1.3,.4,1);
}
.toast.out { animation: toastOut .3s forwards; }
.toast .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.toast .ic svg { width: 22px; fill: #fff; }
.toast .t-title { font-weight: 600; font-size: 14px; }
.toast .t-body { font-size: 14px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast > div:last-child { min-width: 0; }
@keyframes toastIn { from { transform: translateY(-30px) scale(.9); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(-30px); opacity: 0; } }

/* Volet de pliage : la moitié droite tourne vraiment autour de la charnière */
#phone { perspective: 2200px; }
#phone.flapping { transition: none !important; }
#phone.flapping #paneA { flex: 0 0 385px !important; }
#phone.flapping #paneB, #phone.flapping .crease, #phone.flapping .span-toggle { display: none !important; }
.flap {
  position: absolute; top: 0; bottom: 0; left: 395px; width: 395px;
  transform-origin: left center; transform-style: preserve-3d; z-index: 80; pointer-events: none;
  will-change: transform;
}
.flap-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45), 0 10px 30px rgba(0,0,0,.35); }
/* Face intérieure : l'écran droit */
.flap-in { padding: 10px 10px 10px 0; border-radius: 0 58px 58px 0; }
/* Face extérieure : l'écran externe du téléphone plié */
.flap-out { transform: rotateY(180deg); padding: 10px 1px 10px 10px; border-radius: 64px 56px 56px 64px; }
.flap .fscr { position: relative; width: 100%; height: 100%; overflow: hidden; background-color: #000; }
.flap-in .fscr { border-radius: 0 48px 48px 0; background-size: 200% 100% !important; background-position: right center !important; }
.flap-out .fscr { border-radius: 54px 48px 48px 54px; background-size: cover !important; background-position: center !important; }
.flap .fshade { position: absolute; inset: 0; background: #000; opacity: 0; }
.flap-in .fscr::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 40px;
  background: linear-gradient(90deg, rgba(0,0,0,.35), transparent); }
.flap-out .fclock { position: absolute; top: 120px; left: 0; right: 0; text-align: center; color: #fff;
  font-size: 74px; font-weight: 600; letter-spacing: -2px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.flap-out .fisland { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 14px; background: #000; }
.flap-cast { position: absolute; top: 10px; bottom: 10px; left: 10px; width: 385px; border-radius: 54px 0 0 54px;
  background: linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.65)); opacity: 0; z-index: 79; pointer-events: none; }
.flap-spine { position: absolute; top: 10px; bottom: 10px; left: 391px; width: 8px; z-index: 81; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.0), rgba(0,0,0,.45), rgba(255,255,255,.25), rgba(0,0,0,.0)); opacity: 0; }

/* Bouton plier / déplier sur l'écran d'accueil */
.fold-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 auto 18px; padding: 10px 18px; font-size: 14px; font-weight: 600; color: #1c1c1e;
}
.fold-btn svg { width: 18px; fill: currentColor; }

/* Split : bouton pour passer une app en plein écran déplié */
.span-toggle { position: absolute; top: 14px; right: 14px; z-index: 55; width: 30px; height: 30px; border-radius: 50%; display: none; place-items: center; }
.span-toggle svg { width: 16px; fill: var(--text); }
#phone.unfolded .span-toggle { display: grid; }
#paneB .span-toggle { right: auto; left: 14px; }
#phone.span #paneA .span-toggle { right: 120px; }

/* Téléphone 3D (animations de sortie et de pliage) */
#fold3d { position: fixed; z-index: 999; pointer-events: none; display: none; opacity: 1; transition: opacity .18s; }
#fold3d.on { display: block; }
#root.intro3d { transition: none !important; transform: none !important; }
#phone.hide3d { visibility: hidden; }

/* Les champs restent sélectionnables malgré user-select:none sur la page */
input, textarea, [contenteditable] { user-select: text; -webkit-user-select: text; }
