/* ===================== ENEKO v2 (theme2) ===================== */
:root {
  --blue: #0212ee; --cream: #f3f3e9; --pink: #fec6e9; --red: #d20002; --sky: #cfe0ff; --ink: #101419;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --display: 'Archivo', system-ui, sans-serif;
  --text: 'Lato', system-ui, sans-serif;
  --cur: url('/assets/cursor-arrow.png') 2 2, auto;
  --cur-hand: url('/assets/cursor-hand.png') 6 1, pointer;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body.v2 { font-family: var(--text); -webkit-font-smoothing: antialiased; cursor: var(--cur); overflow-x: clip; }
:where(.v2) a, :where(.v2) button { cursor: var(--cur-hand); color: inherit; }
:where(.v2) button { font: inherit; background: none; border: 0; padding: 0; }
.v2 img { display: block; max-width: 100%; }
.v2 :focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; border-radius: 10px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--cream); color: var(--blue); padding: 10px 16px; border-radius: 99px; font-weight: 700; transition: top .3s var(--ease-out); }
.skip:focus { top: 16px; }
.display { font-family: var(--display); font-stretch: 125%; font-weight: 900; }

/* ---------- Son ---------- */
.snd { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 12px; border-radius: 99px; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; transition: background-color .3s, transform .4s var(--ease-out); }
.snd:active { transform: scale(.94); }
.snd-bars { display: inline-flex; align-items: center; gap: 2px; height: 12px; }
.snd-bars i { width: 2px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: 50% 50%; animation: eq 1.1s ease-in-out infinite; }
.snd-bars i:nth-child(2) { animation-delay: -.35s; } .snd-bars i:nth-child(3) { animation-delay: -.7s; } .snd-bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.snd.is-off .snd-bars i { animation: none; transform: scaleY(.2); transition: transform .4s var(--ease-out); }

/* ===================== ACCUEIL ===================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:has(.v2-home), .v2-home { height: 100%; overflow: hidden; overscroll-behavior: none; }
.v2-home { background: var(--blue); color: var(--cream); }
.dots { background: var(--blue) radial-gradient(rgba(243, 243, 233, .12) 1px, transparent 1.2px) 0 0 / 26px 26px; }

/* Préchargement */
.pre { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(22px, 4vh, 40px); background: var(--blue); color: var(--cream); pointer-events: none; }
.pre-head { width: clamp(110px, 20vh, 190px); will-change: transform; }
.pre-svg { display: block; width: 100%; height: auto; }
.pre-word { display: flex; align-items: flex-end; gap: .9%; width: min(46vw, 520px); }
.hl { display: block; overflow: hidden; flex: 1 1 0; }
.hl:nth-child(1) { flex-grow: 128.75; } .hl:nth-child(2) { flex-grow: 142.88; } .hl:nth-child(3) { flex-grow: 128.74; } .hl:nth-child(4) { flex-grow: 147.71; } .hl:nth-child(5) { flex-grow: 154.63; } .hl:nth-child(6) { flex-grow: 35.89; align-self: flex-start; }
.hl svg { display: block; width: 100%; height: auto; }
.pre-bar { position: absolute; left: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px); bottom: clamp(20px, 4vh, 40px); height: 2px; background: rgba(243, 243, 233, .2); border-radius: 2px; overflow: hidden; }
.pre-bar i { display: block; height: 100%; background: var(--cream); transform: scaleX(0); transform-origin: 0 50%; }
.pre-n { position: absolute; right: clamp(16px, 3vw, 40px); bottom: calc(clamp(20px, 4vh, 40px) + 14px); font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(28px, 4vw, 54px); line-height: 1; font-variant-numeric: tabular-nums; }

/* Écran de verrouillage */
.lock { position: fixed; inset: 0; z-index: 60; overflow: hidden; color: var(--cream); background: var(--blue) url('/v2/img/fond-verrouillage.webp') no-repeat left center / auto 100%; user-select: none; -webkit-user-select: none; }
.lock[hidden] { display: none; }
.lock-time { position: absolute; top: clamp(22px, 5vh, 48px); left: 0; right: 0; text-align: center; line-height: 1.2; }
.lock-time b { display: block; font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 26px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.lock-time span { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pink); }
.lock-user { position: absolute; left: 50%; top: 50%; translate: -50% -56%; display: flex; flex-direction: column; align-items: center; }
.lock-avatar { position: relative; display: grid; place-items: center; width: clamp(92px, 14vh, 128px); aspect-ratio: 1; border-radius: 50%; color: var(--blue); }
.la-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--cream); transition: box-shadow .6s var(--ease-out); }
.la-head { position: relative; width: 52%; translate: -5% 0; }
.la-svg { display: block; width: 100%; height: auto; }
.lock-name { margin-top: 18px; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; }
.lock-enter { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(30px, 6vh, 54px); padding: 4px 4px 4px 14px; border-radius: 99px; background: var(--cream); color: var(--blue); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; transition: background-color .35s var(--ease-out), box-shadow .5s var(--ease-out); }
.lock-enter span { display: grid; place-items: center; width: 24px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--blue); color: var(--cream); }
.lock-enter svg, .lt-btn svg, .lt-ico svg, .power-on svg { width: 60%; height: 60%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lock-enter:hover { background: var(--pink); box-shadow: 0 10px 30px -10px rgba(1, 8, 122, .6); }
.lock-enter:hover span svg { animation: enter-arrow .7s cubic-bezier(.65,0,.35,1); }
@keyframes enter-arrow { 0% { transform: none; } 45% { transform: translateX(150%); } 46% { transform: translateX(-150%); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .lock-enter:hover span svg { animation: none; } }
.lock-tray { position: absolute; right: clamp(14px, 2.6vw, 30px); bottom: clamp(14px, 2.6vw, 30px); display: flex; align-items: center; gap: 4px; }
.lt-ico, .lt-btn { position: relative; display: grid; place-items: center; width: 40px; aspect-ratio: 1; border-radius: 50%; color: var(--cream); transition: background-color .3s; }
.lt-btn:hover { background: rgba(243, 243, 233, .16); }
.lt-btn::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); right: 0; padding: 6px 10px; border-radius: 8px; background: var(--cream); color: var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .35s var(--ease-out); pointer-events: none; }
.lt-btn:hover::after, .lt-btn:focus-visible::after { opacity: 1; transform: none; }

.dot { position: absolute; right: 6px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #1fcf7c; box-shadow: 0 0 0 2px var(--blue); }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.4s var(--ease-out) infinite; }
.dispo-charge .dot, .dot.dispo-charge { background: #ff9f1c; }
.dispo-indispo .dot, .dot.dispo-indispo { background: #ff2a2d; }
.lt-wifi { cursor: var(--cur); }
.lt-wifi::after { right: -6px; }

/* Éteint / démarrage */
.black { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; background: var(--ink); color: var(--cream); }
.black[hidden] { display: none; }
.power-on { grid-area: 1 / 1; display: grid; place-items: center; width: 84px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(243, 243, 233, .5); color: var(--cream); opacity: 0; pointer-events: none; transition: border-color .3s, background-color .3s, color .3s; }
.black.is-off .power-on { pointer-events: auto; }
.power-on::before { content: ''; position: absolute; width: 84px; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--cream); animation: ping 2.4s var(--ease-out) infinite; pointer-events: none; }
.power-on:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.9); opacity: 0; } }
.boot { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity .5s ease .5s; }
.black.booting .boot { opacity: 1; }
.black.booting .power-on { opacity: 0 !important; transition: opacity .3s; }
.boot-svg { width: 64px; height: auto; }
.boot i { width: 28px; aspect-ratio: 1; border-radius: 50%; border: 3px solid rgba(243, 243, 233, .25); border-top-color: var(--cream); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

/* ===================== LE BUREAU (OS) ===================== */
.os { position: fixed; inset: 0; z-index: 70; overflow: hidden; color: var(--cream); background: var(--blue) radial-gradient(rgba(243, 243, 233, .12) 1px, transparent 1.2px) 0 0 / 26px 26px; font-family: var(--text); user-select: none; -webkit-user-select: none; }
.os[hidden] { display: none; }
.os-wall { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 3vw calc(64px + 3vh); pointer-events: auto; }
.os-icons { position: absolute; top: 14px; left: 10px; right: 10px; bottom: 70px; pointer-events: none; }
.os-icons .os-ico { position: absolute; left: 0; top: 0; pointer-events: auto; touch-action: none; }
.os-ico.dragging { z-index: 5; opacity: .85; }
.os-ico.dragging .oi-art { transform: scale(1.08) rotate(-3deg); }
.os-ico.drop, .fd-ico.drop { background: rgba(254, 198, 233, .3); box-shadow: inset 0 0 0 2px var(--pink); }
.os-ico.drop .oi-art { transform: scale(1.14); }
[data-folder].drop { box-shadow: inset 0 0 0 3px var(--pink); background: color-mix(in srgb, var(--pink) 18%, transparent); }
.os-lasso { position: fixed; z-index: 3; border: 1.5px solid var(--cream); background: rgba(243, 243, 233, .12); border-radius: 4px; pointer-events: none; }
.os-lasso[hidden] { display: none; }
.os-ico { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 98px; padding: 8px 3px; margin: 0; border-radius: 12px; color: var(--cream); transition: background-color .2s; }
.os-ico:hover { background: rgba(243, 243, 233, .1); }
.os-ico.sel { background: rgba(243, 243, 233, .2); box-shadow: inset 0 0 0 1.5px rgba(243, 243, 233, .55); }
.oi-art { display: grid; place-items: center; width: 56px; height: 52px; transition: transform .45s var(--ease-out); }
.oi-art svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(1, 8, 122, .35)); }
.os-ico:active .oi-art { transform: scale(.94); }
.oi-label { max-width: 100%; padding: 1px 6px; border-radius: 5px; font-size: 12px; font-weight: 700; line-height: 1.25; text-align: center; overflow-wrap: break-word; hyphens: manual; text-shadow: 0 1px 6px rgba(1, 8, 122, .5); }
.os-ico.sel .oi-label { background: var(--cream); color: var(--blue); text-shadow: none; }
.oi-reel { position: relative; display: block; width: 56px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 2px var(--cream), 0 8px 14px rgba(1, 8, 122, .4); }
.oi-reel img { width: 100%; height: 100%; object-fit: cover; }
.oi-reel i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: var(--cream); }
.oi-reel i::after { content: ''; position: absolute; left: 8.5px; top: 6px; border-left: 8px solid var(--red); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.oi-thumb { position: relative; display: block; width: 76px; aspect-ratio: 16 / 10; margin-top: 4px; border-radius: 7px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 2px var(--cream), 0 8px 14px rgba(1, 8, 122, .4); }
.oi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.oi-thumb i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: var(--cream); }
.oi-thumb i::after { content: ''; position: absolute; left: 8px; top: 6px; border-left: 8px solid var(--red); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.oi-thumb b { position: absolute; right: 3px; bottom: 3px; padding: 1px 4px; border-radius: 3px; background: var(--red); color: var(--cream); font-size: 8px; font-weight: 900; letter-spacing: .06em; }
.oi-edit { width: 100%; resize: none; overflow: hidden; padding: 2px 5px; border: 0; border-radius: 5px; outline: 2px solid var(--pink); background: var(--cream); color: var(--blue); font: 700 12.5px/1.25 var(--text); text-align: center; }
.os-ico.editing, .fd-ico.editing { background: rgba(243, 243, 233, .14); }
.oi-ghost { position: fixed; z-index: 2000; pointer-events: none; display: grid; place-items: center; opacity: .9; filter: drop-shadow(0 10px 16px rgba(1, 8, 122, .35)); }
.oi-ghost svg { width: 100%; height: 100%; }
.fd-ico.ghosted { opacity: .35; }

/* Fenêtres */
.os-wins { position: absolute; inset: 0 0 56px 0; pointer-events: none; }
.win2 { --c: var(--blue); --c2: var(--pink); position: absolute; display: flex; flex-direction: column; pointer-events: auto; background: var(--cream); color: var(--blue); border: 2px solid var(--c); border-radius: 14px; overflow: hidden; box-shadow: 8px 8px 0 var(--c); transition: box-shadow .35s var(--ease-out), border-radius .35s; }
.win2.t-red { --c: var(--red); color: var(--red); }
.win2.t-blue.active:not(.max) { box-shadow: 0 0 0 1.5px rgba(243, 243, 233, .55), 8px 8px 0 #010a7d; }
.win2.t-blue.active.dragging { box-shadow: 0 0 0 1.5px rgba(243, 243, 233, .55), 14px 16px 0 #010a7d; }
.win2:not(.active) { box-shadow: 4px 4px 0 color-mix(in srgb, var(--c) 50%, transparent); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.win2.max { border-radius: 0; box-shadow: none; border-width: 0; }
.win2.dragging { box-shadow: 14px 16px 0 var(--c); }
.win2[hidden] { display: none; }
.w-bar { flex: none; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 12px; background: var(--cream); border-bottom: 2px solid var(--c); cursor: grab; touch-action: none; }
.win2.active .w-bar { background: var(--c); color: var(--cream); }
.win2.dragging .w-bar { cursor: grabbing; }
.w-ico { flex: none; width: 20px; height: 18px; display: grid; place-items: center; }
.w-ico svg { width: 100%; height: 100%; }
.w-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.w-ctrl { display: flex; gap: 4px; }
.w-btn { position: relative; width: 28px; height: 28px; border-radius: 8px; transition: background-color .2s; }
.w-btn:hover { background: color-mix(in srgb, currentColor 16%, transparent); }
.w-close:hover { background: var(--red); color: var(--cream); }
.t-red .w-close:hover { background: var(--blue); }
.w-btn i { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.w-min i { width: 11px; height: 2px; background: currentColor; border-radius: 2px; }
.w-max i { width: 11px; height: 11px; border: 2px solid currentColor; border-radius: 3px; }
.win2.max .w-max i { width: 9px; height: 9px; box-shadow: 3px -3px 0 -1px var(--cream), 3px -3px 0 0 currentColor; }
.w-close i::before, .w-close i::after { content: ''; position: absolute; left: -6px; top: -1px; width: 12px; height: 2px; border-radius: 2px; background: currentColor; rotate: 45deg; }
.w-close i::after { rotate: -45deg; }
.w-body, .w-body * { scrollbar-width: none; }
.w-body::-webkit-scrollbar, .w-body *::-webkit-scrollbar { display: none; }
.w-body { position: relative; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; user-select: text; -webkit-user-select: text; }
.w-rz { position: absolute; z-index: 20; touch-action: none; }
.rz-n, .rz-s { left: 10px; right: 10px; height: 6px; cursor: ns-resize; }
.rz-n { top: 0; } .rz-s { bottom: 0; }
.rz-e, .rz-w { top: 10px; bottom: 10px; width: 6px; cursor: ew-resize; }
.rz-e { right: 0; } .rz-w { left: 0; }
.rz-ne, .rz-nw, .rz-se, .rz-sw { width: 14px; height: 14px; }
.rz-ne { top: 0; right: 0; cursor: nesw-resize; } .rz-sw { bottom: 0; left: 0; cursor: nesw-resize; }
.rz-nw { top: 0; left: 0; cursor: nwse-resize; } .rz-se { bottom: 0; right: 0; cursor: nwse-resize; }
.win2.max .w-rz { display: none; }

/* Explorateur */
.fx-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--c) 18%, transparent); }
.fx-path { flex: none; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.fx-path i { font-style: normal; opacity: .4; margin: 0 4px; }
/* Les catégories passent à la ligne quand la fenêtre est étroite : toujours visibles, jamais coupées */
.fx-bar { flex-wrap: wrap; row-gap: 8px; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 240px; min-width: 0; margin-right: auto; }
.fx-bar { container-type: inline-size; }
@container (max-width: 640px) { .fx-chips { order: 3; flex-basis: 100%; } }
.fx-chips .chip { padding: 6px 11px; font-size: 11px; border-radius: 10px; color: var(--blue); }
.fx-chips .chip.is-on { background: var(--blue); color: var(--cream); }
.fx-count { flex: none; margin-left: auto; font-size: 12px; font-weight: 700; opacity: .6; }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 14px; padding: 18px 16px 24px; }
.fx-item { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 12px; text-align: left; color: inherit; transition: background-color .25s; }
.fx-item:hover { background: color-mix(in srgb, var(--c) 8%, transparent); }
.fx-item[hidden] { display: none; }
.fx-th { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--blue); }
.fx-th img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.fx-item:hover .fx-th img { transform: scale(1.05); }
.th-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cream); background: radial-gradient(circle at 30% 25%, #2a39ff, var(--blue) 60%, #01087a); }
.th-ph svg { width: 22%; height: auto; }
.fx-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: var(--cream); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .45s var(--ease-out); }
.fx-play::after { content: ''; position: absolute; left: 17px; top: 13px; border-left: 14px solid var(--blue); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.fx-item:hover .fx-play { opacity: 1; transform: none; }
.fx-t { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .02em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-g { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 55%, var(--pink)); }
.ph-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); align-items: start; }
.ph-item .fx-th { background: var(--pink); }

/* Lecteur : la vidéo prend toute la place disponible */
.w-player .w-body, .w-viewer .w-body, .w-snake .w-body { overflow: hidden; container-type: size; }
.pl { position: absolute; inset: 0; display: flex; flex-direction: column; }
.pl-video { position: relative; flex: 1; min-height: 120px; background: var(--ink) center / contain no-repeat; }
@container (min-aspect-ratio: 19 / 9) { .pl:not(.pl-solo) { flex-direction: row; } .pl:not(.pl-solo) .pl-info { width: clamp(240px, 30%, 360px); max-height: none; grid-template-columns: 1fr; align-content: start; } }
.pl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s ease; }
.pl-video.ready iframe { opacity: 1; }
.pl-load { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 3px solid rgba(243, 243, 233, .3); border-top-color: var(--cream); animation: spin .9s linear infinite; }
.pl-video.ready .pl-load { display: none; }
.pl-info { flex: none; max-height: 44%; overflow: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px 28px; padding: 18px 22px 20px; }
.pl-info h3 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(20px, 2.2vw, 30px); line-height: 1; text-transform: uppercase; }
.pl-meta { margin: 8px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.pl-meta i { font-style: normal; margin: 0 6px; opacity: .5; }
.pl-roles { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0 0; padding: 0; }
.pl-roles li { padding: 4px 10px; border-radius: 99px; background: var(--pink); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pl-desc { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
/* Lecteur maison */
.pl-video { overflow: hidden; container-type: inline-size; }
.pl-video::before, .pl-video::after { content: ''; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .45s ease; }
.pl-video::before { top: 0; height: 42%; background: linear-gradient(rgba(1, 10, 125, .55), transparent); }
.pl-video::after { bottom: 0; height: 38%; background: linear-gradient(transparent, rgba(1, 10, 125, .6)); }
.pl-video.ready:hover::before, .pl-video.ready:hover::after, .pl-video.ready.is-paused::after { opacity: 1; }
.pl-video.idle::before, .pl-video.idle::after { opacity: 0 !important; }
.pl-hit { position: absolute; inset: 0; z-index: 1; cursor: pointer; }
.pl-video.idle .pl-hit { cursor: none; }
.pl-top { position: absolute; left: clamp(14px, 2.4cqw, 26px); top: clamp(12px, 2.2cqw, 22px); right: 22%; z-index: 3; pointer-events: none; color: var(--cream); opacity: 0; translate: 0 -8px; transition: opacity .4s ease, translate .5s cubic-bezier(.16,1,.3,1); }
.pl-video.ready:hover .pl-top { opacity: 1; translate: 0 0; }
.pl-video.idle .pl-top { opacity: 0; translate: 0 -8px; }
.pl-top h3 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(16px, 3.4cqw, 34px); line-height: .95; text-transform: uppercase; text-shadow: 0 2px 18px rgba(1, 10, 125, .5); }
.pl-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 0; padding: 0; }
.pl-tags li { padding: 4px 10px 3px; border-radius: 99px; background: var(--pink); color: var(--blue); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pl-tags li:first-child { background: var(--cream); }
.pl-big { position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; place-items: center; width: clamp(60px, 10cqw, 92px); aspect-ratio: 1; margin: 0; padding: 0; translate: -50% -50%; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: rgba(2, 18, 238, .55); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 32px -8px rgba(0, 0, 0, .55); opacity: 0; scale: .8; pointer-events: none; cursor: pointer; transition: opacity .3s, scale .45s cubic-bezier(.16,1,.3,1), background .25s; }
.pl-big svg { width: 40%; height: 40%; fill: currentColor; }
.pl-big .i-pause { display: none; }
.pl-video.ready.is-paused .pl-big { opacity: 1; scale: 1; pointer-events: auto; }
.pl-big:hover { scale: 1.08 !important; background: rgba(2, 18, 238, .85); }
.pl-big:active { scale: .96 !important; }
.pl-ctl { position: absolute; left: clamp(8px, 1.6cqw, 14px); right: clamp(8px, 1.6cqw, 14px); bottom: clamp(8px, 1.6cqw, 14px); z-index: 4; padding: 4px 8px 4px; border-radius: 14px; color: var(--cream);
  background: linear-gradient(150deg, rgba(243, 243, 233, .2), rgba(2, 18, 238, .32)); -webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(243, 243, 233, .22), 0 12px 30px -10px rgba(1, 10, 125, .6);
  opacity: 0; translate: 0 10px; transition: opacity .35s ease, translate .5s cubic-bezier(.16,1,.3,1); }
.pl-video.ready:hover .pl-ctl, .pl-video.ready.is-paused .pl-ctl, .pl-video.ready:focus-within .pl-ctl { opacity: 1; translate: 0 0; }
.pl-video.idle .pl-ctl { opacity: 0 !important; translate: 0 10px !important; }
.pl-seek { position: relative; height: 16px; margin: 0 4px; cursor: pointer; touch-action: none; }
.pl-seek::before, .pl-buf, .pl-prog { content: ''; position: absolute; left: 0; top: 6px; height: 4px; border-radius: 4px; transition: height .2s, top .2s; }
.pl-seek::before { right: 0; background: rgba(243, 243, 233, .24); }
.pl-buf { width: 0; background: rgba(243, 243, 233, .4); }
.pl-prog { width: 0; background: var(--pink); }
.pl-seek:hover::before, .pl-seek:hover .pl-buf, .pl-seek:hover .pl-prog, .pl-seek.drag::before, .pl-seek.drag .pl-buf, .pl-seek.drag .pl-prog { top: 5px; height: 6px; }
.pl-knob { position: absolute; top: 8px; left: 0; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 3px var(--blue); scale: 0; transition: scale .25s cubic-bezier(.16,1,.3,1); }
.pl-seek:hover .pl-knob, .pl-seek.drag .pl-knob, .pl-seek:focus-visible .pl-knob { scale: 1; }
.pl-tip { position: absolute; bottom: calc(100% + 6px); translate: -50% 0; padding: 4px 8px; border-radius: 7px; background: var(--cream); color: var(--blue); font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; opacity: 0; pointer-events: none; transition: opacity .15s; }
.pl-seek:hover .pl-tip { opacity: 1; }
.pl-seek:focus-visible { outline: none; }
.pl-row { display: flex; align-items: center; gap: 2px; height: 36px; }
.pl-b { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; color: var(--cream); transition: background-color .2s, color .2s; }
.pl-b:hover, .pl-b[aria-expanded="true"] { background: rgba(243, 243, 233, .18); }
.pl-b:focus-visible { outline: 2px solid var(--pink); outline-offset: 1px; }
.pl-b svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.pl-play svg { fill: currentColor; stroke: none; }
.pl-video:not(.is-paused) .pl-play .i-play, .pl-video.is-paused .pl-play .i-pause { display: none; }
.pl-time { margin: 0 8px 0 4px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: rgba(243, 243, 233, .7); }
.pl-time b { color: var(--cream); }
.pl-sp { flex: 1; }
.pl-mute .spk { fill: currentColor; }
.pl-mute path { transition: opacity .3s; }
.pl-mute .x { opacity: 0; }
.pl-mute[data-lvl="0"] .w1, .pl-mute[data-lvl="0"] .w2, .pl-mute[data-lvl="1"] .w2 { opacity: 0; }
.pl-mute[data-lvl="0"] .x { opacity: 1; }
.pl-vol { display: flex; align-items: center; }
.pl-vol input { -webkit-appearance: none; appearance: none; width: 0; height: 4px; margin: 0; border-radius: 4px; opacity: 0; cursor: pointer; background: linear-gradient(90deg, var(--pink) var(--p, 50%), rgba(243, 243, 233, .28) var(--p, 50%)); transition: width .4s cubic-bezier(.16,1,.3,1), opacity .3s, margin .4s; }
.pl-vol:hover input, .pl-vol:focus-within input { width: 76px; opacity: 1; margin: 0 10px 0 4px; }
.pl-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 2px var(--blue); }
.pl-vol input::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 2px var(--blue); }
.pl-q { position: relative; }
.pl-q[hidden] { display: none; }
.pl-qbtn { width: auto; padding: 0 8px; }
.pl-qbtn span { padding: 3px 6px 2px; border-radius: 6px; box-shadow: 0 0 0 1.6px currentColor; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.pl-qmenu { position: absolute; right: 0; bottom: calc(100% + 10px); min-width: 110px; margin: 0; padding: 6px; list-style: none; border-radius: 12px; background: var(--cream); box-shadow: 0 0 0 1.5px var(--blue), 6px 6px 0 #010a7d; transform-origin: 100% 100%; }
.pl-qmenu[hidden] { display: none; }
.pl-qmenu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border-radius: 8px; color: var(--blue); font-size: 12.5px; font-weight: 800; text-align: left; }
.pl-qmenu button::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0; }
.pl-qmenu button[aria-checked="true"]::before { opacity: 1; }
.pl-qmenu button:hover { background: rgba(2, 18, 238, .1); }
.pl-fs .i-out { display: none; }
.pl-video.is-fs .pl-fs .i-in { display: none; }
.pl-video.is-fs .pl-fs .i-out { display: inline; }
.pl-video.is-fs { background-color: #000; }
.pl-vimeo svg { width: 18px; height: 18px; }
.pl-vimeo:hover { color: var(--pink); }
@container (max-width: 460px) { .pl-time { display: none; } .pl-top { right: 14px; } }

/* Visionneuse */
.vw { position: absolute; inset: 0; background: var(--pink); }
.vw-fig { position: absolute; inset: 0; margin: 0; }
.vw-fig { overflow: hidden; touch-action: none; }
.vw-fig img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.vw-fig.zoomed { cursor: grab; }
.vw-fig.zoomed.dragging { cursor: grabbing; }
.vw-nav, .vw-n { opacity: 0; transition: opacity .3s, transform .35s var(--ease-out); }
.vw:hover .vw-nav, .vw:hover .vw-n, .vw:focus-within .vw-nav { opacity: 1; }
@media (hover: none) { .vw-nav, .vw-n { opacity: 1; } }
.vw-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--red); font-size: 26px; line-height: 1; display: grid; place-items: center; box-shadow: 3px 3px 0 var(--red); transition: transform .35s var(--ease-out); }
.vw-nav:hover { transform: scale(1.08); }
.vw-nav.prev { left: 14px; } .vw-nav.next { right: 14px; }
.vw-n { position: absolute; bottom: 12px; left: 50%; translate: -50% 0; padding: 4px 10px; border-radius: 99px; background: var(--cream); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* moi.txt */
.txt { min-height: 100%; padding: 22px 24px 30px; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 14px; line-height: 1.7; color: var(--ink); background: repeating-linear-gradient(transparent 0 23.3px, color-mix(in srgb, var(--blue) 7%, transparent) 23.3px 23.8px) 0 22px; outline: none; }
.caret { display: inline-block; width: 8px; height: 16px; margin-left: 2px; vertical-align: -3px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Fichier texte */
.note { position: absolute; inset: 0; display: flex; flex-direction: column; }
.note textarea { flex: 1; min-height: 0; resize: none; border: 0; outline: 0; padding: 22px 24px; background: repeating-linear-gradient(transparent 0 23.3px, color-mix(in srgb, var(--blue) 7%, transparent) 23.3px 23.8px) 0 22px; color: var(--ink); font: 14px/1.7 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; caret-color: var(--blue); }
.note textarea::placeholder { color: color-mix(in srgb, var(--blue) 40%, transparent); }
.note-st { flex: none; display: flex; justify-content: space-between; margin: 0; padding: 7px 14px; border-top: 1.5px solid color-mix(in srgb, var(--blue) 15%, transparent); font-size: 11.5px; font-weight: 700; opacity: .65; }

/* Dossier créé */
.fd-grid { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; min-height: calc(100% - 46px); padding: 14px; transition: background-color .25s, box-shadow .25s; }
.fd-ico { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 98px; padding: 8px 6px; border-radius: 12px; color: var(--blue); touch-action: none; transition: background-color .2s; }
.fd-ico:hover { background: rgba(2, 18, 238, .07); }
.fd-ico.sel { background: rgba(2, 18, 238, .12); }
.fd-ico .oi-label { text-shadow: none; }
.fd-ico .oi-art svg { filter: drop-shadow(0 4px 6px rgba(1, 8, 122, .2)); }
.fd-ico .oi-edit { outline-color: var(--blue); background: #fff; }
.fd-empty { width: 100%; margin: 12vh 0 0; text-align: center; font-size: 13.5px; line-height: 1.6; font-weight: 700; opacity: .5; }

/* Snake */
.sn { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--red); color: var(--cream); outline: none; }
.sn-hud { flex: none; display: flex; justify-content: space-between; padding: 14px 18px 4px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sn-hud b { margin-left: 6px; font-size: 20px; font-stretch: 125%; font-weight: 900; color: var(--pink); font-variant-numeric: tabular-nums; }
.sn-stage { position: relative; flex: 1; min-height: 0; margin: 8px 14px 14px; }
.sn-stage canvas { position: absolute; inset: 0; }
.sn-over { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s; }
.sn-over.on { opacity: 1; pointer-events: auto; }
.sn-card { padding: 24px 30px 26px; border-radius: 18px; background: var(--cream); color: var(--red); text-align: center; border: 2px solid var(--red); box-shadow: 6px 6px 0 var(--red); transform: translateY(10px) scale(.96); transition: transform .6s var(--ease-out); }
.sn-over.on .sn-card { transform: none; }
.sn-t { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 30px; text-transform: uppercase; }
.sn-m { margin: 8px 0 16px; font-size: 13px; line-height: 1.5; font-weight: 700; color: var(--ink); }
.sn-go { padding: 10px 22px; border-radius: 99px; background: var(--red); color: var(--cream); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; transition: transform .4s var(--ease-out), background-color .3s; }
.sn-go:hover { transform: scale(1.05); background: var(--blue); }

/* Logiciels (barre des tâches) */
.os-apps { flex: none; display: flex; align-items: center; gap: 4px; }
.os-app.open::before, .os-task::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 6px; height: 3px; margin-left: -3px; border-radius: 3px; background: var(--blue); opacity: .45; transition: width .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s; }
.os-app.active::before, .os-task.active::after { width: 16px; margin-left: -8px; opacity: 1; }
.os-app.active { background: rgba(2, 18, 238, .1); }
.os-task::before { content: attr(data-tip); position: absolute; bottom: calc(100% + 12px); left: 50%; translate: -50% 0; padding: 6px 10px; border-radius: 8px; background: var(--cream); color: var(--blue); box-shadow: 0 0 0 1.5px var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .35s var(--ease-out); pointer-events: none; }
.os-task:hover::before { opacity: 1; transform: none; }
.os-startbtn { position: relative; }
.os-app { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; transition: background-color .2s; }
.os-app svg { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 6px rgba(1, 8, 122, .2); transition: transform .45s var(--ease-out); }
.os-app:hover { background: rgba(2, 18, 238, .08); }
.os-app:hover svg { transform: translateY(-3px) scale(1.08); }
.os-app:active svg { transform: scale(.92); }
.os-app::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 12px); left: 50%; translate: -50% 0; padding: 6px 10px; border-radius: 8px; background: var(--cream); color: var(--blue); box-shadow: 0 0 0 1.5px var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .35s var(--ease-out); pointer-events: none; }
.os-app:hover::after { opacity: 1; transform: none; }
.os-wifi { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--blue); transition: background-color .2s; }
.os-wifi:hover, .os-wifi[aria-expanded="true"] { background: rgba(2, 18, 238, .1); }
.os-wifi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.os-wifi .dot { right: 5px; top: 5px; width: 8px; height: 8px; box-shadow: 0 0 0 2px var(--cream); }
.os-dispo { position: absolute; right: 60px; bottom: 66px; z-index: 1001; width: min(300px, calc(100vw - 20px)); padding: 16px; border-radius: 18px; background: var(--cream); color: var(--blue); border: 2px solid var(--blue); box-shadow: 8px 8px 0 #010a7d; transform-origin: 100% 100%; }
.os-dispo[hidden] { display: none; }
.od-h { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 14px; line-height: 1.3; }
.od-h .dot { position: relative; inset: auto; flex: none; box-shadow: none; }
.od-note { margin: 8px 0 0 19px; font-size: 13px; font-weight: 700; opacity: .7; }
.od-mail { margin-top: 14px; width: 100%; padding: 10px; border-radius: 12px; background: var(--blue); color: var(--cream); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: background-color .25s; }
.od-mail:hover { background: var(--red); }
.ap { padding: 22px 22px 26px; }
.ap-head { display: flex; align-items: center; gap: 16px; }
.ap-ico svg { display: block; width: 64px; height: 64px; }
.ap-head h3 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(22px, 3vw, 32px); line-height: 1; text-transform: uppercase; }
.ap-lvl { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.ap-meter { display: inline-flex; gap: 3px; }
.ap-meter i { width: 16px; height: 6px; border-radius: 3px; background: rgba(2, 18, 238, .15); }
.ap-meter i:nth-child(-n + 1) { background: var(--blue); }
.ap-meter[style*="--n:2"] i:nth-child(-n + 2), .ap-meter[style*="--n:3"] i:nth-child(-n + 3), .ap-meter[style*="--n:4"] i:nth-child(-n + 4) { background: var(--blue); }
.ap-txt { margin: 18px 0 0; max-width: 60ch; font-size: 15px; line-height: 1.6; color: var(--ink); }
.ap-sub { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ap-sub b { padding: 2px 8px; border-radius: 99px; background: var(--pink); font-size: 11px; }
.ap-grid { padding: 12px 0 0; }

/* Lecteur Spotify */
.os-spot { position: absolute; top: 14px; right: 14px; z-index: 900; width: min(380px, calc(100vw - 28px)); padding: 0 7px 7px; border-radius: 24px; isolation: isolate;
  background: linear-gradient(150deg, rgba(243, 243, 233, .34), rgba(254, 198, 233, .14) 42%, rgba(2, 18, 238, .22));
  -webkit-backdrop-filter: blur(26px) saturate(1.9) brightness(1.06); backdrop-filter: blur(26px) saturate(1.9) brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(243, 243, 233, .32), inset 0 0 26px rgba(255, 255, 255, .12), 8px 8px 0 #010a7d, 0 24px 60px -12px rgba(1, 10, 125, .55);
  transform-origin: 100% 0; transition: box-shadow .35s cubic-bezier(.16,1,.3,1), translate .35s cubic-bezier(.16,1,.3,1); }
/* reflet spéculaire */
.os-spot::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 18% -10%, rgba(255, 255, 255, .55), transparent 55%), radial-gradient(80% 50% at 110% 110%, rgba(254, 198, 233, .35), transparent 60%); mix-blend-mode: soft-light; }
.os-spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.5px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .08) 35%, rgba(254, 198, 233, .5) 70%, rgba(255, 255, 255, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.os-spot.dragging { translate: -3px -3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 0 0 1px rgba(243, 243, 233, .32), 12px 12px 0 #010a7d, 0 34px 80px -12px rgba(1, 10, 125, .6); }
.os-spot.dragging iframe, .os-spot.resizing iframe { pointer-events: none; }
.os-spot[hidden] { display: none; }
.sp-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 0 0 7px; color: var(--cream); cursor: grab; user-select: none; touch-action: none; text-shadow: 0 1px 8px rgba(1, 10, 125, .35); }
.os-spot.dragging .sp-bar { cursor: grabbing; }
.sp-ico svg { display: block; width: 22px; height: 22px; filter: drop-shadow(0 2px 6px rgba(1, 10, 125, .35)); }
.sp-bar b { flex: 1; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sp-close { position: relative; width: 30px; height: 30px; border-radius: 50%; color: var(--cream); background: rgba(243, 243, 233, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); transition: background-color .2s, color .2s, scale .3s cubic-bezier(.16,1,.3,1); }
.sp-close:hover { background: var(--cream); color: var(--blue); scale: 1.06; }
.sp-close i::before, .sp-close i::after { content: ''; position: absolute; left: 9px; top: 14px; width: 12px; height: 2px; border-radius: 2px; background: currentColor; rotate: 45deg; }
.sp-close i::after { rotate: -45deg; }
.sp-frame { height: 352px; border-radius: 16px; overflow: hidden; background: rgba(1, 10, 125, .35); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 8px 24px -8px rgba(1, 10, 125, .6); }
.sp-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.sp-resize { position: absolute; right: 2px; bottom: 2px; width: 22px; height: 22px; cursor: nwse-resize; touch-action: none; }
.sp-resize::before { content: ''; position: absolute; right: 7px; bottom: 7px; width: 9px; height: 9px; border-right: 2px solid rgba(243, 243, 233, .85); border-bottom: 2px solid rgba(243, 243, 233, .85); border-bottom-right-radius: 5px; opacity: .55; transition: opacity .2s; }
.os-spot:hover .sp-resize::before { opacity: 1; }
@media (max-width: 760px) { .sp-frame { height: 232px; } .sp-resize { display: none; } .sp-bar { cursor: default; } }

/* Bouton de langue */
.lang-btn b { display: block; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 12px; letter-spacing: .04em; line-height: 1; }
.lang-btn { overflow: visible; }
.os-lang { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--blue); transition: background-color .2s; }
.os-lang:hover { background: rgba(2, 18, 238, .1); }
.os-lang b { padding: 4px 5px 3px; border-radius: 6px; box-shadow: 0 0 0 1.8px currentColor; }
.os-lang::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 12px); right: 0; padding: 6px 10px; border-radius: 8px; background: var(--cream); color: var(--blue); box-shadow: 0 0 0 1.5px var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; translate: 0 4px; pointer-events: none; transition: opacity .2s, translate .2s; }
.os-lang:hover::after, .os-lang:focus-visible::after { opacity: 1; translate: 0 0; }
.lt-btn.lang-btn b { padding: 4px 5px 3px; border-radius: 6px; box-shadow: 0 0 0 1.8px currentColor; font-size: 11px; }

/* Menu clic droit */
.os-menu { position: fixed; z-index: 1003; min-width: 220px; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: color-mix(in srgb, var(--cream) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--blue); border: 0; box-shadow: 0 0 0 1.5px rgba(243, 243, 233, .6), 6px 6px 0 #010a7d; }
.os-menu[hidden] { display: none; }
.om-i { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 700; text-align: left; outline: none; }
.om-i:hover, .om-i:focus { background: var(--blue); color: var(--cream); }
.om-i.danger { color: var(--red); }
.om-i.danger:hover, .om-i.danger:focus { background: var(--red); color: var(--cream); }
.om-i kbd { font: 700 11px var(--text); opacity: .5; }
.om-sep { height: 1.5px; margin: 5px 8px; background: rgba(2, 18, 238, .14); }

/* Réglages du son */
.os-volbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--blue); transition: background-color .2s; }
.os-volbtn:hover, .os-volbtn[aria-expanded="true"] { background: rgba(2, 18, 238, .1); }
.os-volbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.os-volbtn .spk { fill: currentColor; }
.os-volbtn path { transition: opacity .3s; }
.os-volbtn .x { opacity: 0; }
.os-volbtn[data-lvl="0"] .w1, .os-volbtn[data-lvl="0"] .w2, .os-volbtn[data-lvl="1"] .w2 { opacity: 0; }
.os-volbtn[data-lvl="0"] .x { opacity: 1; }
.os-vol { position: absolute; right: 10px; bottom: 66px; z-index: 1001; width: min(320px, calc(100vw - 20px)); padding: 16px 16px 10px; border-radius: 18px; background: var(--cream); color: var(--blue); border: 2px solid var(--blue); box-shadow: 8px 8px 0 var(--blue); transform-origin: 100% 100%; }
.os-vol[hidden] { display: none; }
.ov-h { margin: 0 0 6px; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 14px; text-transform: uppercase; }
.ov-row { display: block; padding: 10px 0; }
.ov-row + .ov-row { border-top: 1.5px solid rgba(2, 18, 238, .12); }
.ov-l { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.ov-ctl { display: flex; align-items: center; gap: 10px; }
.ov-ctl output { width: 42px; text-align: right; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ov-mute { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue) center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f3e9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.2L12 5.5v13l-4.8-4H4z' fill='%23f3f3e9'/%3E%3Cpath d='M15.5 9.2a4 4 0 0 1 0 5.6M18.2 6.6a7.6 7.6 0 0 1 0 10.8'/%3E%3C/svg%3E"); transition: background-color .25s, transform .4s var(--ease-out); }
.ov-mute.is-off { background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f3e9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5h3.2L12 5.5v13l-4.8-4H4z' fill='%23f3f3e9'/%3E%3Cpath d='m16 9.5 5 5m0-5-5 5'/%3E%3C/svg%3E"); }
.ov-mute:active { transform: scale(.9); }
.ov-ctl input { --p: 50%; flex: 1; min-width: 0; height: 22px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: var(--cur-hand); }
.ov-ctl input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(var(--blue), var(--blue)) 0 0 / var(--p) 100% no-repeat, rgba(2, 18, 238, .15); }
.ov-ctl input::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(var(--blue), var(--blue)) 0 0 / var(--p) 100% no-repeat, rgba(2, 18, 238, .15); }
.ov-ctl input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: var(--cream); border: 2.5px solid var(--blue); transition: transform .3s var(--ease-out); }
.ov-ctl input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 2.5px solid var(--blue); }
.ov-ctl input:active::-webkit-slider-thumb { transform: scale(1.2); }

/* Barre des tâches */
.os-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; z-index: 1000; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 0 10px; background: color-mix(in srgb, var(--cream) 90%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-top: 2px solid var(--blue); color: var(--blue); }
.os-startbtn { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue); color: var(--cream); transition: transform .4s var(--ease-out), background-color .3s; }
.os-startbtn:hover { transform: rotate(-8deg) scale(1.05); }
.os-startbtn[aria-expanded="true"] { background: var(--red); }
.osb-svg { width: 20px; height: 24px; }
.os-center { grid-column: 2; display: flex; align-items: center; gap: 4px; min-width: 0; }
.os-tasks { min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.os-tasks:empty { display: none; }
.os-tasks::before { content: ''; flex: none; width: 1.5px; height: 24px; margin: auto 4px; background: rgba(2, 18, 238, .15); }
.os-task { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--blue); position: relative; transition: background-color .25s; }
.os-task .ot-t { display: none; }
.os-task .ot-ico { width: 26px; height: 24px; }
.os-task:hover { background: rgba(2, 18, 238, .08); }
.os-task::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 3px; margin-left: -3px; border-radius: 3px; background: var(--blue); opacity: .45; transition: width .35s var(--ease-out), margin .35s var(--ease-out), opacity .3s; }
.os-task.active { background: rgba(2, 18, 238, .1); }
.os-task.active::after { width: 18px; margin-left: -9px; opacity: 1; }
.ot-ico { width: 20px; height: 18px; flex: none; }
.ot-ico svg { width: 100%; height: 100%; }
.ot-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 700; }
.os-tray { grid-column: 3; justify-self: end; flex: none; display: flex; align-items: center; gap: 6px; }
.os .snd { color: var(--blue); height: 36px; }
.os .snd:hover { background: rgba(2, 18, 238, .08); }
.os-clock { display: flex; flex-direction: column; align-items: flex-end; padding: 0 6px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.os-clock b { font-size: 13px; } .os-clock small { font-size: 11px; font-weight: 700; opacity: .7; }

/* Menu démarrer */
.os-start { position: absolute; left: 50%; margin-left: max(-165px, calc(-50vw + 10px)); bottom: 66px; z-index: 1001; width: min(330px, calc(100vw - 20px)); padding: 14px; border-radius: 18px; background: var(--cream); color: var(--blue); border: 2px solid var(--blue); box-shadow: 8px 8px 0 #010a7d; transform-origin: 50% 100%; }
.os-start[hidden] { display: none; }
.os-start-head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; border-bottom: 1.5px solid rgba(2, 18, 238, .15); }
.osh-av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: var(--cream); }
.osh-svg { width: 20px; height: 24px; }
.os-start-head b { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 15px; text-transform: uppercase; }
.os-start-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px 0; }
.osl-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font-size: 13px; font-weight: 700; text-align: left; transition: background-color .2s; }
.osl-item:hover { background: rgba(2, 18, 238, .08); }
.osl-ico { width: 26px; height: 24px; flex: none; display: grid; place-items: center; }
.osl-ico svg { width: 100%; height: 100%; }
.os-start-foot { display: flex; justify-content: space-between; gap: 6px; padding-top: 10px; border-top: 1.5px solid rgba(2, 18, 238, .15); }
.osf-btn { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.osf-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.osf-btn:hover { background: var(--blue); color: var(--cream); }
.osf-btn[data-act="off"]:hover { background: var(--red); }

.os-toast { position: absolute; right: 14px; bottom: 70px; z-index: 1002; padding: 12px 16px; border-radius: 12px; background: var(--cream); color: var(--blue); border: 2px solid var(--blue); box-shadow: 5px 5px 0 var(--blue); font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .5s var(--ease-out); pointer-events: none; }
.os-toast.on { opacity: 1; transform: none; }

.iris { position: fixed; inset: 0; z-index: 90; display: none; pointer-events: none; }

@media (max-width: 760px) {
  .snd-txt { display: none; }
  .os-icons { right: 4px; left: 4px; }
  .pre-word { width: 72vw; }
  .pl-info { max-height: 50%; }
  .os-clock small { display: none; }
  .os-apps { display: none; }
  .os-bar { display: flex; }
  .os-center { flex: 1; }
  .os-tray { margin-left: auto; }
  .os-start { left: 10px; margin-left: 0; transform-origin: 0 100%; }
  .os-dispo { right: 10px; }
  .win2 { border-width: 0; border-radius: 0; box-shadow: none !important; }
  .w-rz { display: none; }
  .pl-info { grid-template-columns: 1fr; }
  .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-bar { flex-wrap: wrap; }
  .fx-chips { order: 3; width: 100%; }
}

/* ===================== BUREAUX ===================== */
.v2-desk { --bg: var(--cream); --fg: var(--blue); --accent: var(--pink); --card: #fff; --cap: var(--blue); --dot: rgba(2, 18, 238, .14); background: var(--bg); color: var(--fg); overflow: hidden; height: 100vh; height: 100svh; }
.desk-photos { --bg: var(--pink); --fg: var(--red); --accent: var(--red); --card: #fff; --cap: var(--red); --dot: rgba(210, 0, 2, .16); }
.desk { position: fixed; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: none; background-image: radial-gradient(var(--dot) 1.2px, transparent 1.3px); background-size: 26px 26px; background-attachment: local; transform-origin: 50% 40%; }
.desk::-webkit-scrollbar { display: none; }
.desk-title { position: fixed; left: 50%; top: 52%; transform: translate(-50%, -50%); margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(64px, 17vw, 300px); letter-spacing: -.02em; text-transform: uppercase; color: var(--fg); opacity: .07; white-space: nowrap; pointer-events: none; user-select: none; }
.desk-items { position: relative; }

.menubar { position: fixed; z-index: 40; top: 12px; left: 12px; right: 12px; height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 8px 0 14px; border-radius: 16px; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg) 12%, transparent), 0 10px 30px -18px rgba(0, 0, 0, .35); animation: drop .9s var(--ease-out) .1s both; }
@keyframes drop { from { opacity: 0; transform: translateY(-24px); } }
.mb-home { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 15px; text-transform: uppercase; }
.mb-head { width: 22px; height: 26px; transition: transform .6s var(--ease-out); }
.mb-home:hover .mb-head { transform: rotate(-12deg) scale(1.1); }
.mb-nav { display: flex; gap: 2px; margin-right: auto; margin-left: 14px; }
.mb-nav a, .mb-btn { padding: 7px 12px; border-radius: 10px; text-decoration: none; font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 13px; letter-spacing: .03em; transition: background-color .3s var(--ease-out), color .3s; }
.mb-nav a:hover, .mb-btn:hover { background: color-mix(in srgb, var(--fg) 10%, transparent); }
.mb-nav a[aria-current] { background: var(--fg); color: var(--bg); }
.mb-right { display: flex; align-items: center; gap: 4px; }
.v2-desk .snd { height: 32px; color: var(--fg); }
.v2-desk .snd:hover { background: color-mix(in srgb, var(--fg) 10%, transparent); }
.mb-clock { padding: 0 8px 0 6px; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; text-transform: capitalize; }

.item { position: absolute; left: 0; top: 0; display: block; padding: 8px 8px 0; border-radius: 14px; background: var(--card); color: var(--cap); text-align: left; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; opacity: 0;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06), 0 10px 24px -12px rgba(16, 20, 25, .35); transition: box-shadow .4s var(--ease-out); cursor: grab; }
.item:hover { box-shadow: 0 1px 1px rgba(0, 0, 0, .06), 0 20px 40px -16px rgba(16, 20, 25, .45); }
.item.is-drag { cursor: grabbing; box-shadow: 0 2px 2px rgba(0, 0, 0, .05), 0 40px 70px -20px rgba(16, 20, 25, .55); }
body.dragging, body.dragging * { cursor: grabbing !important; }
.item-thumb { display: block; position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 16 / 9; background: var(--blue); }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1s var(--ease-out); }
.item:hover .item-thumb img { transform: scale(1.05); }
.thumb-ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #2a39ff, var(--blue) 60%, #01087a); }
.ph-head { width: 26%; color: var(--cream); opacity: .9; }
.item-cap { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 4px 10px; }
.item-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 12.5px; text-transform: uppercase; letter-spacing: .01em; }
.item-genre { flex: none; padding: 3px 8px; border-radius: 99px; background: var(--pink); color: var(--blue); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.item-photo { padding: 9px 9px 0; border-radius: 6px; }
.item-photo .item-thumb { aspect-ratio: var(--ar); border-radius: 3px; background: var(--pink); }
.item-photo .item-cap { padding: 10px 2px 12px; }
.item-photo .item-title { font-size: 11px; }

.dock { position: fixed; z-index: 40; left: 50%; bottom: 16px; transform: translateX(-50%); max-width: calc(100vw - 24px); padding: 8px; border-radius: 22px; background: color-mix(in srgb, #fff 62%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fg) 12%, transparent), 0 16px 40px -20px rgba(0, 0, 0, .4); animation: rise-dock 1s var(--ease-out) .3s both; }
@keyframes rise-dock { from { opacity: 0; transform: translate(-50%, 30px); } }
.dock-group { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; padding: 9px 14px; border-radius: 14px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--fg); transition: background-color .35s var(--ease-out), color .35s, transform .4s var(--ease-out); }
.chip:hover { background: color-mix(in srgb, var(--fg) 10%, transparent); }
.chip:active { transform: scale(.94); }
.chip.is-on { background: var(--fg); color: var(--bg); }
.dock-note { margin: 0; padding: 8px 14px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }

/* ---------- Fenêtre ---------- */
.win-backdrop { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--ink) 38%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.win { position: fixed; z-index: 61; left: 50%; top: 50%; translate: -50% -50%; width: min(92vw, 1120px); max-height: calc(100svh - 40px); display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card); color: var(--cap); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .06); transform-origin: 50% 50%; }
.win[hidden], .win-backdrop[hidden] { display: none; }
.win-bar { position: relative; flex: none; display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 14px; border-bottom: 1px solid color-mix(in srgb, var(--cap) 12%, transparent); }
.win-close { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; display: grid; place-items: center; }
.win-close span { width: 14px; height: 14px; border-radius: 50%; background: var(--red); position: relative; transition: transform .35s var(--ease-out); }
.win-close span::before, .win-close span::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.6px; background: #fff; border-radius: 2px; translate: -50% -50%; rotate: 45deg; opacity: 0; transition: opacity .2s; }
.win-close span::after { rotate: -45deg; }
.win-close:hover span { transform: scale(1.18); }
.win-close:hover span::before, .win-close:hover span::after { opacity: 1; }
.win-name { max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.win-count { position: absolute; right: 16px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .7; }
.win-body { position: relative; overflow-y: auto; }
.win-player { position: relative; aspect-ratio: 16 / 9; background: var(--ink) center / cover no-repeat; }
.win-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .6s ease; }
.win-player.is-ready iframe { opacity: 1; }
.win-loader { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; border: 3px solid rgba(243, 243, 233, .3); border-top-color: var(--cream); animation: spin .9s linear infinite; }
.win-player.is-ready .win-loader { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.win-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 40px; padding: 26px 30px 30px; }
.win-info h2 { grid-column: 1; margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(24px, 3vw, 40px); line-height: 1; text-transform: uppercase; color: var(--blue); }
.win-meta { grid-column: 1; margin: 6px 0 0; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, var(--blue) 70%, var(--pink)); }
.win-meta i { font-style: normal; margin: 0 8px; opacity: .5; }
.win-roles { grid-column: 1; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; }
.win-roles li { padding: 5px 11px; border-radius: 99px; background: var(--pink); color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.win-desc { grid-column: 2; grid-row: 1 / span 3; margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.win-photo { margin: 0; padding: 14px 14px 0; display: flex; flex-direction: column; align-items: center; }
.win-photo img { max-width: 100%; max-height: calc(100svh - 170px); width: auto; height: auto; border-radius: 6px; }
.win-photo figcaption { padding: 14px 0 18px; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.desk-photos .win { width: auto; max-width: min(92vw, 1400px); }
.win-nav { position: absolute; top: 50%; translate: 0 -70%; width: 46px; height: 46px; border-radius: 50%; background: color-mix(in srgb, #fff 80%, transparent); backdrop-filter: blur(8px); color: var(--red); font-size: 28px; line-height: 1; display: grid; place-items: center; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .35); transition: transform .35s var(--ease-out), background-color .3s; }
.win-nav:hover { transform: scale(1.1); background: #fff; }
.win-nav.prev { left: 24px; } .win-nav.next { right: 24px; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .dock-note { white-space: normal; text-align: center; font-size: 11px; }
  .desk-photos .win { width: calc(100vw - 16px); }
  .menubar { left: 8px; right: 8px; top: 8px; padding: 0 6px 0 10px; }
  .mb-home span, .mb-clock { display: none; }
  .mb-nav { margin-left: 6px; }
  .mb-nav a, .mb-btn { padding: 7px 9px; font-size: 12px; }
  .v2-desk .snd { padding: 0 10px; }
  .dock { bottom: 10px; }
  .item-genre { display: none; }
  .win { width: calc(100vw - 16px); border-radius: 16px; }
  .win-info { grid-template-columns: 1fr; padding: 20px; }
  .win-desc { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .win-nav { width: 40px; height: 40px; }
  .win-nav.prev { left: 12px; } .win-nav.next { right: 12px; }
}
@media (hover: none) { body.v2, .v2 a, .v2 button { cursor: auto; } .item { cursor: auto; } }

/* =====================================================================
   Version téléphone / tablette : écran d'accueil façon iPhone, dans la DA
   ===================================================================== */
html.is-phone, html.is-phone body { overscroll-behavior: none; }
html.is-phone .os { display: none !important; }
.ph { --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px); --ico: clamp(46px, 15.4vw, 76px); --e: cubic-bezier(.2,.9,.1,1);
  position: fixed; inset: 0; z-index: 50; overflow: hidden; color: var(--cream); background: var(--blue); -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ph[hidden] { display: none; }
.ph button { -webkit-tap-highlight-color: transparent; }
/* fond : bleu DA, trame de points + halos pour donner de la matière au verre */
.ph-wall { position: absolute; inset: -6%; background: var(--blue) radial-gradient(rgba(243, 243, 233, .13) 1px, transparent 1.3px) 0 0 / 24px 24px; }
.ph-wall i { position: absolute; border-radius: 50%; opacity: .55; background: radial-gradient(closest-side, var(--c), transparent) !important; will-change: transform; }
.ph.in-app .ph-wall i, .ph.in-app .pw-reel img, .ph[hidden] * { animation-play-state: paused !important; }
.ph-wall i:nth-child(1) { width: 70vw; height: 70vw; left: -20vw; top: 8vh; --c: #fec6e9; opacity: .4; animation: ph-drift 18s ease-in-out infinite alternate; }
.ph-wall i:nth-child(2) { width: 80vw; height: 80vw; right: -30vw; bottom: 4vh; --c: #cfe0ff; opacity: .34; animation: ph-drift 22s ease-in-out infinite alternate-reverse; }
.ph-wall i:nth-child(3) { width: 50vw; height: 50vw; left: 30vw; top: 40vh; --c: #010a7d; opacity: .6; }
@keyframes ph-drift { to { transform: translate(8vw, -6vh) scale(1.12); } }

/* barre d'état */
.ph-status { position: absolute; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; height: calc(var(--sat) + 46px); padding: var(--sat) max(22px, env(safe-area-inset-right, 0px)) 0 max(28px, env(safe-area-inset-left, 0px)); pointer-events: none; transition: color .3s; }
.ph-status > * { pointer-events: auto; }
.ph-status b.clock-hm { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 15.5px; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.ph-st-r { display: flex; align-items: center; gap: 8px; }
.ph-lang { display: grid; place-items: center; height: 24px; padding: 0 2px; color: inherit; }
.ph-lang b { padding: 3px 5px 2px; border-radius: 6px; box-shadow: 0 0 0 1.6px currentColor; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 10px; letter-spacing: .04em; line-height: 1; }
.ph-wifi { position: relative; display: grid; place-items: center; width: 26px; height: 24px; color: inherit; }
.ph-wifi svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ph-wifi .dot { right: -1px; top: 1px; width: 7px; height: 7px; box-shadow: 0 0 0 1.6px var(--blue); }
.ph-batt { position: relative; width: 25px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1.4px currentColor; opacity: .95; }
.ph-batt::after { content: ''; position: absolute; right: -3.5px; top: 4px; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: currentColor; opacity: .6; }
.ph-batt i { position: absolute; inset: 2.5px; right: 5px; border-radius: 2px; background: currentColor; }
.ph.in-app .ph-status { color: var(--blue); }
.ph.in-app:has(.pss.is-dark:last-child) .ph-status { color: var(--cream); }

/* accueil */
.ph-home { position: absolute; inset: 0; padding: calc(var(--sat) + 58px) max(20px, env(safe-area-inset-right, 0px)) calc(var(--sab) + 130px) max(20px, env(safe-area-inset-left, 0px)); overflow-y: auto; scrollbar-width: none; transform-origin: 50% 50%; }
.ph-home::-webkit-scrollbar { display: none; }
.ph-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: calc(var(--ico) + 30px); gap: 14px 0; max-width: 560px; margin: 0 auto; justify-items: center; }
.pa { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%; max-width: calc(var(--ico) + 18px); color: var(--cream); transition: transform .45s var(--e), filter .3s; }
.pa.down, .pw.down, .ph-press.down { transform: scale(.88); filter: brightness(.9); transition-duration: .12s; }
.pa-ico { position: relative; display: block; width: var(--ico); height: var(--ico); }
.pi { position: absolute; inset: 0; overflow: hidden; border-radius: 23.5%; background: var(--cream); box-shadow: 0 10px 22px -10px rgba(1, 10, 125, .7), 0 2px 4px rgba(1, 10, 125, .25); }
.pi > svg { display: block; width: 100%; height: 100%; }
/* reflet « verre liquide » sur chaque icône */
.pi::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(160deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 38%), radial-gradient(120% 60% at 50% 120%, rgba(255, 255, 255, .22), transparent 60%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 0 .8px rgba(255, 255, 255, .35); mix-blend-mode: soft-light; }
.pa-l { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; text-shadow: 0 1px 6px rgba(1, 10, 125, .55); }
/* dossier Logiciels */
.pi-folder { display: grid; grid-template-columns: repeat(3, 1fr); align-content: start; gap: 9%; padding: 15%; background: rgba(243, 243, 233, .26); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 10px 22px -10px rgba(1, 10, 125, .6); }
.pi-folder span { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 26%; }
.pi-folder svg { display: block; width: 100%; height: 100%; }
/* widgets */
.pw { position: relative; overflow: hidden; border-radius: 26px; color: var(--cream); text-align: left; transition: transform .45s var(--e), filter .3s; box-shadow: 0 16px 34px -16px rgba(1, 10, 125, .8); }
.pw-reel { grid-column: 1 / -1; grid-row: span 2; width: calc(100% - 18px); height: calc(100% - 4px); align-self: start; background: #010a7d; }
.pw-reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: ph-ken 16s ease-in-out infinite alternate; }
@keyframes ph-ken { to { transform: scale(1.14) translate(-2%, -2%); } }
.pw-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 10, 125, .1), rgba(1, 10, 125, .1) 40%, rgba(1, 10, 125, .78)); }
.pw-tag { position: absolute; left: 16px; top: 14px; padding: 4px 10px 3px; border-radius: 99px; background: var(--pink); color: var(--blue); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pw-title { position: absolute; left: 16px; right: 70px; bottom: 14px; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(17px, 5vw, 24px); line-height: .95; text-transform: uppercase; text-wrap: balance; }
.pw-play { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(243, 243, 233, .24); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.pw-play svg { width: 20px; height: 20px; margin-left: 3px; fill: var(--cream); }
.pw-dispo { grid-column: span 2; grid-row: span 2; width: calc(100% - 18px); height: calc(100% - 4px); align-self: start; display: flex; flex-direction: column; padding: 14px; background: linear-gradient(150deg, rgba(243, 243, 233, .3), rgba(243, 243, 233, .1)); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .22), 0 16px 34px -16px rgba(1, 10, 125, .8); }
.pwd-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--blue); }
.pwd-av svg { width: 72%; height: 72%; }
.pwd-st { position: relative; display: flex; align-items: center; gap: 7px; margin-top: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.pwd-st .dot { position: relative; inset: auto; width: 8px; height: 8px; box-shadow: none; }
.pwd-t { margin-top: 4px; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: clamp(13px, 3.7vw, 16px); line-height: 1.08; }

/* dock en verre */
.ph-dock { position: absolute; z-index: 5; left: 50%; bottom: calc(var(--sab) + 12px); translate: -50% 0; display: flex; justify-content: space-around; width: min(calc(100% - 20px), 560px); padding: 13px 8px; border-radius: 34px;
  background: linear-gradient(160deg, rgba(243, 243, 233, .32), rgba(243, 243, 233, .12)); -webkit-backdrop-filter: blur(26px) saturate(1.9); backdrop-filter: blur(26px) saturate(1.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(255, 255, 255, .15), inset 0 0 0 1px rgba(255, 255, 255, .22), 0 18px 40px -16px rgba(1, 10, 125, .8); }
.ph-dock .pa-l { display: none; }
.ph-dock .pa { width: auto; }
.pa.is-on .pa-ico::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--cream); }

/* écrans d'apps */
.ph-screens { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.pss { --bg: var(--cream); --fg: var(--blue); position: absolute; inset: 0; overflow: hidden; pointer-events: auto; background: var(--bg); color: var(--fg); transform-origin: 0 0; contain: layout paint; }
.pss.is-dark { --bg: #05072a; --fg: var(--cream); }
.pss.dragging { transform-origin: 50% 100%; transition: none; }
.pss-in { position: absolute; inset: 0; }
/* Barre du haut toujours opaque (dépoli, couleur de l'app) : le bouton retour ne passe jamais sur le contenu.
   Seuls le petit titre et le filet du bas apparaissent au défilement (opacité/translation uniquement). */
.pss-nav { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; align-items: center; height: calc(var(--sat) + 96px); padding: calc(var(--sat) + 44px) 12px 0; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8); }
.pss-nav::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: color-mix(in srgb, var(--fg) 18%, transparent); opacity: 0; transition: opacity .25s; pointer-events: none; }
.pss.scrolled .pss-nav::after { opacity: 1; }
.pss-back { display: flex; align-items: center; gap: 2px; height: 44px; padding: 0 10px 0 2px; border-radius: 22px; color: inherit; font-size: 16px; font-weight: 700; }
.pss-back svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pss-back span { max-width: 32vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pss-back:active { opacity: .5; }
.pss-mini { position: absolute; left: 50%; bottom: 13px; translate: -50% 0; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s var(--e); }
.pss.scrolled .pss-mini { opacity: 1; transform: none; }
.pss-scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: calc(var(--sat) + 96px) max(18px, env(safe-area-inset-right, 0px)) calc(var(--sab) + 54px) max(18px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
.pss-scroll::-webkit-scrollbar { display: none; }
.pss-h { margin: 0 0 16px; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(32px, 9vw, 46px); line-height: .95; text-transform: uppercase; text-wrap: balance; }
.pss-body { max-width: 860px; margin: 0 auto; }
.pss-h { max-width: 860px; margin-left: auto; margin-right: auto; }
.pss-hi { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: calc(var(--sab) + 30px); display: flex; align-items: flex-end; justify-content: center; padding-bottom: calc(var(--sab) + 8px); touch-action: none; }
.pss-hi i { width: 134px; height: 5px; border-radius: 5px; background: var(--fg); opacity: .85; }
.ps-player .pss-hi i, .ps-viewer .pss-hi i { background: var(--cream); }

/* puces de genre */
.pchips { display: flex; gap: 7px; margin: 0 calc(-1 * max(18px, env(safe-area-inset-left, 0px))) 18px; padding: 2px max(18px, env(safe-area-inset-left, 0px)); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.pchips::-webkit-scrollbar { display: none; }
.pchip { flex: none; height: 36px; padding: 0 15px; border-radius: 18px; background: rgba(2, 18, 238, .08); color: var(--blue); font-size: 13.5px; font-weight: 800; white-space: nowrap; scroll-snap-align: center; transition: background-color .25s, color .25s, transform .3s var(--e); }
.pchip:active { transform: scale(.94); }
.pchip.on { background: var(--blue); color: var(--cream); }
/* cartes vidéo */
.pv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 22px 16px; }
.pv-card { display: flex; flex-direction: column; gap: 10px; text-align: left; color: var(--blue); transition: transform .4s var(--e); }
.pv-card:active { transform: scale(.97); }
.pv-th { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: var(--blue); box-shadow: 0 0 0 1.5px var(--blue), 6px 6px 0 #010a7d; }
.pv-th img { width: 100%; height: 100%; object-fit: cover; }
.pv-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--cream); }
.pv-ph svg { width: 30%; }
.pv-play { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(243, 243, 233, .3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); }
.pv-play svg { width: 16px; height: 16px; margin-left: 2px; fill: var(--cream); }
.pv-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 2px; }
.pv-meta b { min-width: 0; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 15px; line-height: 1.05; text-transform: uppercase; }
.pv-meta em { flex: none; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.pv-card[hidden] { display: none; }
/* lecteur */
.ps-player .pss-scroll { padding-left: 0; padding-right: 0; }
.ps-player .pss-h { display: none; }
.pp-video { position: relative; width: 100%; max-height: 72vh; margin: 0 auto; background: #000 center / cover no-repeat; }
.pp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .5s; }
.pp-video.ready iframe { opacity: 1; }
.pp-load { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 3px solid rgba(243, 243, 233, .3); border-top-color: var(--cream); animation: spin .8s linear infinite; }
.pp-video.ready .pp-load { display: none; }
.pp-info { padding: 20px max(18px, env(safe-area-inset-left, 0px)) 0; max-width: 860px; margin: 0 auto; }
.pp-info h2 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(24px, 7vw, 36px); line-height: .95; text-transform: uppercase; }
.pp-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.pp-tags li { padding: 5px 11px 4px; border-radius: 99px; background: var(--pink); color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pp-tags li:first-child { background: var(--cream); }
.pp-desc { margin: 18px 0 0; font-size: 15.5px; line-height: 1.6; color: rgba(243, 243, 233, .85); }
.pp-vimeo { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; height: 46px; padding: 0 18px; border-radius: 23px; background: rgba(243, 243, 233, .12); color: var(--cream); font-size: 14px; font-weight: 800; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .3s var(--e); }
.pp-vimeo svg { width: 18px; height: 18px; fill: currentColor; }
/* photos */
.pp-count { margin: -8px 0 14px; font-size: 13px; font-weight: 700; color: rgba(2, 18, 238, .6); }
.pg { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(31%, 150px), 1fr)); gap: 3px; margin: 0 calc(-1 * max(18px, env(safe-area-inset-left, 0px))); }
.pg-i { position: relative; aspect-ratio: 1; overflow: hidden; background: rgba(2, 18, 238, .08); transition: opacity .2s; }
.pg-i img { width: 100%; height: 100%; object-fit: cover; }
.pg-i:active { opacity: .7; }
.ps-photos { --fg: var(--red); --bg: #fff1f9; }
.ps-photos .pp-count { color: rgba(210, 0, 2, .6); }
.ps-viewer { background: #000; }
.ps-viewer .pss-scroll { padding: 0; overflow: hidden; }
.pvw { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.pvw::-webkit-scrollbar { display: none; }
.pvw figure { flex: none; display: grid; place-items: center; width: 100%; height: 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.pvw img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pvw-x { position: absolute; z-index: 4; top: calc(var(--sat) + 52px); right: max(16px, env(safe-area-inset-right, 0px)); width: 38px; height: 38px; border-radius: 50%; background: rgba(243, 243, 233, .2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.pvw-x i::before, .pvw-x i::after { content: ''; position: absolute; left: 12px; top: 18px; width: 14px; height: 2px; border-radius: 2px; background: var(--cream); rotate: 45deg; }
.pvw-x i::after { rotate: -45deg; }
.pvw-n { position: absolute; z-index: 4; left: 50%; bottom: calc(var(--sab) + 40px); translate: -50% 0; padding: 6px 12px; border-radius: 99px; background: rgba(243, 243, 233, .18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--cream); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
/* notes */
.pn { font-size: 16.5px; line-height: 1.6; }
.pn p { margin: 0 0 12px; max-width: 60ch; color: var(--ink); }
.pn .pn-lead { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 22px; line-height: 1.1; color: var(--blue); }
.pn h3 { margin: 26px 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.pn-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.pn-tags li { padding: 6px 12px 5px; border-radius: 99px; background: var(--blue); color: var(--cream); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pn-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pn-nums span { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1.5px var(--blue), 5px 5px 0 #010a7d; font-size: 12.5px; font-weight: 700; color: var(--blue); }
.pn-nums b { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 36px; line-height: 1; font-variant-numeric: tabular-nums; }
.pn-links { display: flex; flex-direction: column; gap: 8px; }
.pn-links a { display: flex; align-items: center; height: 50px; padding: 0 18px; border-radius: 16px; background: #fff; color: var(--blue); font-weight: 800; text-decoration: none; box-shadow: 0 0 0 1px rgba(2, 18, 238, .12); transition: transform .3s var(--e); }
/* snake */
.ps-snake { --bg: #fff1f9; --fg: var(--red); }
.psn { position: relative; height: min(118vw, calc(100dvh - var(--sat) - var(--sab) - 230px)); max-width: 640px; margin: 0 auto; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 2px var(--red), 6px 6px 0 var(--red); }
/* logiciels */
.ph-folder { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(1, 10, 125, .25); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.ph-folder[hidden] { display: none; }
.pf-panel { width: min(330px, 86vw); padding: 18px 16px 22px; border-radius: 38px; background: linear-gradient(160deg, rgba(243, 243, 233, .36), rgba(243, 243, 233, .14)); -webkit-backdrop-filter: blur(30px) saturate(1.9); backdrop-filter: blur(30px) saturate(1.9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 0 0 1px rgba(255, 255, 255, .25), 0 30px 60px -20px rgba(1, 10, 125, .8); }
.pf-t { margin: 0 0 16px; text-align: center; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 22px; text-transform: uppercase; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 0; justify-items: center; }
.pf-grid .pa { width: 86px; }
.pso-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pso-ico { flex: none; width: 76px; height: 76px; overflow: hidden; border-radius: 23.5%; box-shadow: 0 10px 22px -10px rgba(1, 10, 125, .6); }
.pso-ico svg { display: block; width: 100%; height: 100%; }
.pso-lvl { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.pso-yrs { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: rgba(2, 18, 238, .7); }
.pso-txt { margin: 0 0 8px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.p-sub { display: flex; align-items: center; gap: 8px; margin: 26px 0 14px; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 15px; text-transform: uppercase; }
.p-sub b { padding: 2px 8px; border-radius: 99px; background: var(--pink); font-size: 11px; }
.p-empty { padding: 40px 0; text-align: center; font-weight: 700; color: rgba(2, 18, 238, .55); }
/* réglages */
.ps-settings { --bg: #eef0ff; }
.pst-me { display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 8px; border-radius: 20px; background: #fff; }
.pst-av { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--blue); color: var(--blue); box-shadow: inset 0 0 0 3px var(--blue), inset 0 0 0 30px var(--cream); }
.pst-av svg { width: 70%; height: 70%; }
.pst-me b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 20px; text-transform: uppercase; }
.pst-me span { font-size: 13px; font-weight: 700; color: rgba(2, 18, 238, .6); letter-spacing: .08em; text-transform: uppercase; }
.pst-h { margin: 24px 16px 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(2, 18, 238, .55); }
.pst-g { overflow: hidden; border-radius: 20px; background: #fff; }
.pst-g + .pst-g { margin-top: 18px; }
.pst-r { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 10px 16px; color: var(--blue); font-size: 15.5px; font-weight: 700; text-align: left; }
.pst-r + .pst-r { box-shadow: 0 -.5px 0 rgba(2, 18, 238, .14); }
.pst-slider { flex-wrap: wrap; gap: 6px 12px; padding-block: 12px; }
.pst-slider span { flex: 1; }
.pst-slider output { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; color: rgba(2, 18, 238, .6); }
.pst-slider input { order: 3; flex-basis: 100%; -webkit-appearance: none; appearance: none; height: 30px; margin: 0; background: transparent; }
.pst-slider input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue) var(--p, 50%), rgba(2, 18, 238, .12) var(--p, 50%)); }
.pst-slider input::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue) var(--p, 50%), rgba(2, 18, 238, .12) var(--p, 50%)); }
.pst-slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(1, 10, 125, .3), 0 0 0 .5px rgba(1, 10, 125, .2); }
.pst-slider input::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(1, 10, 125, .3); }
.pst-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; padding: 3px; border-radius: 12px; background: rgba(2, 18, 238, .08); }
.pst-seg button { position: relative; z-index: 1; height: 36px; border-radius: 9px; color: var(--blue); font-size: 14px; font-weight: 800; transition: color .3s; }
.pst-seg i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 9px; background: var(--blue); box-shadow: 0 3px 8px rgba(1, 10, 125, .25); transition: transform .45s cubic-bezier(.34,1.36,.5,1); }
.pst-seg[data-on="en"] i { transform: translateX(100%); }
.pst-seg[data-on="fr"] button[data-l="fr"], .pst-seg[data-on="en"] button[data-l="en"] { color: var(--cream); }
.pst-dispo { position: relative; padding-left: 40px; }
.pst-dispo .dot { left: 16px; top: 50%; right: auto; margin-top: -5px; width: 10px; height: 10px; box-shadow: none; }
.pst-dispo small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: rgba(2, 18, 238, .6); }
.pst-btn { justify-content: space-between; color: var(--blue); }
.pst-btn svg { width: 18px; height: 18px; fill: none; stroke: rgba(2, 18, 238, .4); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pst-lock { justify-content: center; color: var(--red); }
/* spotify */
.ph-spot { position: absolute; z-index: 25; left: max(8px, env(safe-area-inset-left, 0px)); right: max(8px, env(safe-area-inset-right, 0px)); bottom: calc(var(--sab) + 8px); max-width: 560px; margin: 0 auto; padding: 6px 8px 8px; border-radius: 30px; background: linear-gradient(160deg, rgba(243, 243, 233, .34), rgba(2, 18, 238, .22)); -webkit-backdrop-filter: blur(28px) saturate(1.9); backdrop-filter: blur(28px) saturate(1.9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 0 0 1px rgba(255, 255, 255, .25), 0 -10px 40px -10px rgba(1, 10, 125, .6); }
.ph-spot[hidden] { display: none; }
.ps-grab { display: block; width: 40px; height: 5px; margin: 2px auto 4px; border-radius: 5px; background: rgba(243, 243, 233, .7); touch-action: none; }
.ph-spot header { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 2px 0 6px; touch-action: none; }
.ps-ico svg { display: block; width: 24px; height: 24px; }
.ph-spot header b { flex: 1; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.ps-x { position: relative; width: 32px; height: 32px; border-radius: 50%; background: rgba(243, 243, 233, .18); }
.ps-x i::before, .ps-x i::after { content: ''; position: absolute; left: 10px; top: 15px; width: 12px; height: 2px; border-radius: 2px; background: var(--cream); rotate: 45deg; }
.ps-x i::after { rotate: -45deg; }
.ps-frame { height: 232px; overflow: hidden; border-radius: 20px; background: rgba(1, 10, 125, .4); }
.ps-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
/* toast */
.ph-toast { position: absolute; z-index: 40; left: 50%; top: calc(var(--sat) + 8px); translate: -50% -140%; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 22px; background: rgba(5, 7, 42, .82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--cream); font-size: 13.5px; font-weight: 700; text-align: center; transition: translate .55s var(--e); }
.ph-toast.on { translate: -50% 0; }

/* iPad : plus de colonnes, icônes un peu plus grandes */
@media (min-width: 761px) {
  .ph { --ico: 76px; }
  .ph-grid { grid-template-columns: repeat(6, 1fr); max-width: 760px; gap: 26px 0; }
  .pw-reel { grid-column: span 4; }
  .pss-scroll { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
  .ps-spot, .ph-spot { left: auto; right: 20px; width: 420px; }
  .ps-frame { height: 352px; }
}

/* Verrouillage version téléphone : grande heure, glisser vers le haut */
html.is-phone .lock { touch-action: none; }
@media (orientation: portrait) { html.is-phone .lock { background: linear-gradient(rgba(2, 18, 238, .92) 0, rgba(2, 18, 238, .55) 22%, rgba(2, 18, 238, 0) 38%, rgba(2, 18, 238, 0) 68%, rgba(2, 18, 238, .7) 84%, rgba(2, 18, 238, .95) 100%), var(--blue) url('/v2/img/fond-verrouillage.webp') no-repeat center / cover; } }
html.is-phone .lock-time { top: calc(env(safe-area-inset-top, 0px) + 7vh); }
html.is-phone .lock-time b { font-size: clamp(64px, 22vw, 108px); font-stretch: 125%; font-weight: 900; line-height: .9; letter-spacing: -.01em; }
html.is-phone .lock-time span { margin-top: 10px; font-size: 13px; }
/* Sur téléphone : pas d'avatar ni de bouton « Entrer » au centre, on glisse vers le haut pour entrer */
html.is-phone .lock-user { display: none; }
html.is-phone .lock-tray { bottom: calc(env(safe-area-inset-bottom, 0px) + 64px); right: 50%; translate: 50% 0; }
.lock-swipe { display: none; }
html.is-phone .lock-swipe { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 10px); display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
.lock-swipe span { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(243, 243, 233, .7); animation: ph-hint 2.6s ease-in-out infinite; }
.lock-swipe i { width: 134px; height: 5px; border-radius: 5px; background: var(--cream); }
@keyframes ph-hint { 0%, 100% { transform: none; opacity: .6; } 50% { transform: translateY(-6px); opacity: 1; } }

/* Téléphone à l'horizontale */
@media (orientation: landscape) and (max-height: 520px) {
  html.is-phone .lock-time { top: calc(env(safe-area-inset-top, 0px) + 14px); }
  html.is-phone .lock-time b { font-size: clamp(44px, 14vh, 64px); }
  html.is-phone .lock-time span { margin-top: 6px; }
  html.is-phone .lock-user { top: 58%; }
  html.is-phone .lock-avatar { width: 78px; }
  html.is-phone .lock-enter { margin-top: 18px; }
  html.is-phone .lock-tray { right: max(16px, env(safe-area-inset-right, 0px)); translate: none; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); }
  html.is-phone .lock-swipe span { display: none; }
  .ph { --ico: 48px; }
  .ph-status { height: calc(var(--sat) + 30px); }
  .ph-home { padding-top: calc(var(--sat) + 32px); padding-bottom: calc(var(--sab) + 92px); }
  .ph-grid { grid-template-columns: repeat(8, 1fr); grid-auto-rows: calc(var(--ico) + 26px); max-width: 780px; gap: 8px 0; }
  .pw-reel { grid-column: span 4; }
  .ph-dock { padding: 9px 8px; width: min(calc(100% - 40px), 420px); bottom: calc(var(--sab) + 8px); }
  .pss-nav { height: calc(var(--sat) + 56px); padding-top: calc(var(--sat) + 10px); }
  .pss-scroll { padding-top: calc(var(--sat) + 60px); padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
  .pss-h { font-size: 30px; }
  .ps-player .pp-video { max-height: calc(100dvh - 60px); }
  .psn { height: calc(100dvh - var(--sat) - var(--sab) - 150px); max-width: none; aspect-ratio: auto; }
  .ph-spot { left: auto; right: max(12px, env(safe-area-inset-right, 0px)); width: 380px; }
  .ps-frame { height: 152px; }
  .pvw-x { top: calc(var(--sat) + 12px); }
}
/* images : pas de menu « enregistrer » au doigt long, pas de surbrillance */
.ph img, .lock img { -webkit-touch-callout: none; }
/* Mentions légales : discret mais toujours accessible */
.lock-legal { position: absolute; left: clamp(14px, 2.6vw, 30px); bottom: clamp(20px, 3.2vw, 38px); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: rgba(243, 243, 233, .78); text-decoration: none; border-bottom: 1px solid rgba(243, 243, 233, .3); transition: color .2s, border-color .2s; }
.lock-legal:hover, .lock-legal:focus-visible { color: var(--cream); border-color: var(--cream); }
html.is-phone .lock-legal { display: none; }
.os-start-legal { display: block; margin: 2px 0 8px; padding: 4px 12px; font-size: 11.5px; font-weight: 700; color: rgba(2, 18, 238, .7); text-decoration: none; }
.os-start-legal:hover { color: var(--blue); text-decoration: underline; }
a.pst-btn { text-decoration: none; }
/* ---------- Contact ---------- */
.ct { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 26px 26px 30px; text-align: center; background: var(--pink); color: var(--red); }
.ct-ico svg { width: 64px; height: 64px; display: block; filter: drop-shadow(0 10px 18px rgba(210, 0, 2, .25)); }
.ct-h { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.ct-mail { display: flex; align-items: center; gap: 12px; max-width: 100%; padding: 8px 8px 8px 18px; border-radius: 99px; background: #fff; color: var(--red); box-shadow: 0 10px 24px -14px rgba(210, 0, 2, .6); transition: transform .2s var(--ease-out), background-color .2s; }
.ct-mail b { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-mail:hover { transform: translateY(-2px); }
.ct-mail:active { transform: scale(.97); }
.ct-copy { flex: none; padding: 8px 14px; border-radius: 99px; background: var(--red); color: #fff; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; transition: background-color .2s; }
.ct-mail.is-ok .ct-copy { background: #1a9e5c; }
.ct-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ct-btn { padding: 10px 16px; border-radius: 99px; border: 2px solid var(--red); color: var(--red); text-decoration: none; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.ct-btn:hover, .ct-btn:focus-visible { background: var(--red); color: #fff; }
.ct-or { margin: 4px 0 0; font-size: 13.5px; font-weight: 700; }
.ct-or a { color: var(--red); }
.pct { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 4px 0 22px; text-align: center; }
.pct-ico { position: relative; display: block; width: 76px; height: 76px; flex: none; }
.pct-ico .pi { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; }
.pct-ico svg { width: 100%; height: 100%; display: block; }
.pct p { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 20px; color: var(--blue); text-transform: uppercase; }
.pct-mail b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pct-copy { flex: none; padding: 6px 12px; border-radius: 99px; background: var(--blue); color: var(--cream); font-size: 12.5px; font-weight: 800; transition: background-color .2s; }
.pct-mail.is-ok .pct-copy { background: #1a9e5c; }
/* icônes du bureau à l'échelle de l'écran (--ds calculé dans os.js) */
.os-icons .os-ico { gap: calc(8px * var(--ds, 1)); padding: calc(8px * var(--ds, 1)) 3px; }
.os-icons .oi-art { width: calc(56px * var(--ds, 1)); height: calc(52px * var(--ds, 1)); }
.os-icons .oi-label { font-size: calc(12px * min(var(--ds, 1), 1.25)); }
.os-icons .oi-reel { width: 100%; }

/* ===================== Apps bonus : musique, corbeille, Minecraft, Discord ===================== */
/* ---------- Lecteur de musique ---------- */
.os-mu { width: min(340px, calc(100vw - 28px)); }
.os-mu .sp-bar { cursor: grab; }
.mu { position: relative; color: var(--cream); isolation: isolate; padding: 4px 6px 8px; border-radius: 18px; overflow: hidden; }
.mu-bg { position: absolute; inset: -30px; z-index: -1; background: center / cover no-repeat; opacity: .55; filter: blur(30px) saturate(1.6); transition: background-image .6s; }
.mu-top { display: flex; align-items: center; gap: 14px; padding: 6px 2px 14px; }
.mu-cover { position: relative; flex: none; width: 74px; height: 74px; border-radius: 16px; overflow: hidden; background: linear-gradient(140deg, #3b47ff, var(--blue)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 12px 26px -8px rgba(1, 10, 125, .7); }
.mu-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mu-disc { position: absolute; inset: 9px; display: grid; place-items: center; border-radius: 50%; background: repeating-radial-gradient(circle, #05072a 0 1.6px, #10155e 1.6px 3.2px); box-shadow: 0 0 0 2px rgba(254, 198, 233, .35); }
.mu-disc::after { content: ''; position: absolute; inset: 34%; border-radius: 50%; background: var(--pink); }
.mu-disc svg { position: relative; z-index: 1; width: 22%; height: 22%; color: var(--blue); }
.mu.is-playing .mu-disc { animation: mu-spin 4.5s linear infinite; }
@keyframes mu-spin { to { rotate: 360deg; } }
.mu-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mu-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 15.5px; letter-spacing: .01em; text-shadow: 0 1px 10px rgba(1, 10, 125, .4); }
.mu-a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; opacity: .78; }
.mu-eq { flex: none; display: inline-flex; align-items: flex-end; gap: 2.5px; height: 16px; }
.mu-eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--pink); transform-origin: bottom; transform: scaleY(.18); transition: transform .4s var(--ease-out); }
.mu.is-playing .mu-top .mu-eq i, .mu.is-playing .mu-list .on .mu-eq i { animation: mu-eq .9s ease-in-out infinite alternate; }
.mu-eq i:nth-child(2) { animation-delay: -.35s !important; } .mu-eq i:nth-child(3) { animation-delay: -.6s !important; } .mu-eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes mu-eq { 0% { transform: scaleY(.2); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.45); } }
.mu-seek { position: relative; height: 18px; margin: 0 2px; cursor: var(--cur-hand); touch-action: none; }
.mu-seek::before, .mu-buf, .mu-prog { content: ''; position: absolute; left: 0; top: 7px; height: 4px; border-radius: 4px; }
.mu-seek::before { right: 0; background: rgba(243, 243, 233, .22); }
.mu-buf { background: rgba(243, 243, 233, .25); }
.mu-prog { background: var(--cream); box-shadow: 0 0 12px rgba(254, 198, 233, .6); }
.mu-knob { position: absolute; top: 3px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--cream); box-shadow: 0 2px 8px rgba(1, 10, 125, .5); scale: 0; transition: scale .25s var(--ease-out); }
.mu-seek:hover .mu-knob, .mu-seek.drag .mu-knob, .mu-seek:focus-visible .mu-knob { scale: 1; }
.mu-seek.drag .mu-prog, .mu-seek.drag .mu-knob { transition: none; }
.mu-times { display: flex; justify-content: space-between; padding: 0 2px; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .7; }
.mu-ctl { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 8px; }
.mu-b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--cream); transition: background-color .2s, scale .3s var(--ease-out), color .2s, opacity .2s; }
.mu-b:hover { background: rgba(243, 243, 233, .16); }
.mu-b:active { scale: .9; }
.mu-b svg { width: 22px; height: 22px; fill: currentColor; }
.mu-prev svg { rotate: 180deg; }
.mu-shuf, .mu-lst { opacity: .55; }
.mu-shuf svg, .mu-lst svg { width: 20px; height: 20px; fill: none; }
.mu-shuf.on, .mu-lst.on { opacity: 1; color: var(--pink); }
.mu-play { width: 56px; height: 56px; background: var(--cream); color: var(--blue); box-shadow: 0 10px 24px -8px rgba(1, 10, 125, .7), inset 0 -2px 0 rgba(1, 10, 125, .12); }
.mu-play:hover { background: #fff; scale: 1.05; }
.mu-play svg { width: 26px; height: 26px; }
.mu-play .i-pause, .mu.is-playing .mu-play .i-play { display: none; }
.mu.is-playing .mu-play .i-pause { display: block; }
.mu-vol { display: flex; align-items: center; gap: 8px; padding: 2px 4px 2px 0; }
.mu-mute { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--cream); }
.mu-mute svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mu-mute .spk { fill: currentColor; }
.mu-mute .x, .mu-mute[data-lvl="0"] .w1, .mu-mute[data-lvl="0"] .w2, .mu-mute[data-lvl="1"] .w2 { display: none; }
.mu-mute[data-lvl="0"] .x { display: block; }
.mu-vol input { flex: 1; min-width: 0; height: 18px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: var(--cur-hand); }
.mu-vol input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cream) var(--p, 30%), rgba(243, 243, 233, .25) var(--p, 30%)); }
.mu-vol input::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cream) var(--p, 30%), rgba(243, 243, 233, .25) var(--p, 30%)); }
.mu-vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--cream); box-shadow: 0 2px 8px rgba(1, 10, 125, .5); }
.mu-vol input::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--cream); }
.mu-vol output { flex: none; width: 38px; text-align: right; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; opacity: .75; }
.mu-list { list-style: none; margin: 8px 0 0; padding: 6px; max-height: 210px; overflow: auto; border-radius: 14px; background: rgba(1, 10, 125, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.mu-list[hidden] { display: none; }
.mu-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 10px; text-align: left; color: var(--cream); transition: background-color .2s; }
.mu-list button:hover { background: rgba(243, 243, 233, .12); }
.mu-list button.on { background: rgba(254, 198, 233, .2); }
.ml-n { width: 18px; font-size: 11px; font-weight: 800; opacity: .55; text-align: center; font-variant-numeric: tabular-nums; }
.ml-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ml-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.ml-t small { font-size: 11.5px; opacity: .65; }
.mu-list .mu-eq { opacity: 0; } .mu-list .on .mu-eq { opacity: 1; }
.ph-mu .ps-frame { height: auto; background: none; overflow: visible; }
.ph-mu .mu { padding-bottom: 4px; }
.ph-mu .ps-ico svg { width: 24px; height: 24px; border-radius: 6px; }

/* ---------- Lecteur intégré (YouTube, TikTok, Vimeo) ---------- */
.w-embed .w-body { position: relative; background: #05072a; }
.em { position: absolute; inset: 0; background: #05072a; }
.em iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .5s; }
.em.ready iframe { opacity: 1; }
.em-load { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 3px solid rgba(243, 243, 233, .2); border-top-color: var(--pink); animation: mu-spin .8s linear infinite; }
.em.ready .em-load { display: none; }
.ps-embed .pss-body { padding: 0; }
.ps-embed .em { position: relative; inset: auto; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
.ps-embed .em.is-v { aspect-ratio: 9 / 16; max-height: 74vh; margin: 0 auto; }
.pim img { display: block; width: 100%; height: auto; border-radius: 18px; }
.note-ro { flex: 1; min-height: 0; overflow: auto; padding: 22px 24px; background: repeating-linear-gradient(transparent 0 23.3px, color-mix(in srgb, var(--blue) 7%, transparent) 23.3px 23.8px) 0 22px; color: var(--ink); font: 14px/1.7 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; white-space: normal; user-select: text; }
.pn .pn-pre { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 14.5px; }

/* ---------- Corbeille ---------- */
.tr { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ps-trash .tr { position: static; }
.tr-bar { flex-wrap: nowrap; }
.tr-empty { margin-left: auto; padding: 6px 12px; border-radius: 10px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--red); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--red) 40%, transparent); transition: background-color .2s, color .2s; }
.tr-empty:hover { background: var(--red); color: var(--cream); }
.tr-grid { flex: 1; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); align-content: start; gap: 6px; padding: 16px; }
.tr-it { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px 8px; border-radius: 12px; transition: background-color .2s; }
.tr-it:hover, .tr-it.sel { background: color-mix(in srgb, var(--blue) 9%, transparent); }
.tr-art { display: grid; place-items: center; width: 64px; height: 64px; transition: transform .35s var(--ease-out); }
.tr-it:hover .tr-art { transform: translateY(-3px) rotate(-2deg); }
.tr-art svg { width: 52px; height: 64px; filter: drop-shadow(0 6px 10px rgba(1, 8, 122, .18)); }
.tr-art.is-ph img, .tr-vth img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(1, 8, 122, .25); rotate: -3deg; }
.tr-vth { position: relative; }
.tr-vth img { width: 72px; height: 48px; rotate: 0deg; }
.tr-vth i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: var(--red); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.tr-vth i::after { content: ''; position: absolute; left: 8.5px; top: 6px; border: 5px solid transparent; border-left: 7px solid var(--cream); border-right: 0; }
.tr-n { max-width: 100%; overflow-wrap: anywhere; text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--blue); }
.tr-none { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; margin: 0; padding: 30px; font-weight: 700; opacity: .65; }
.tr-none svg { width: 70px; height: 80px; }
.ps-trash .tr-bar { display: none; }
.ps-trash .tr-grid { padding: 0; grid-template-columns: repeat(3, 1fr); gap: 10px 4px; }

/* ---------- Discord ---------- */
.win2.t-dc { --c: #010a7d; }
.w-dc .w-body { position: relative; }
.dc { --dc0: #04073a; --dc1: #080d52; --dc2: #0d1466; --dc3: #141d80; --dct: #e9e9f6; --dcm: #a7abd8; position: absolute; inset: 0; display: grid; grid-template-columns: 72px 232px 1fr; background: var(--dc2); color: var(--dct); font-size: 14.5px; }
.dc-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; background: var(--dc0); overflow: auto; }
.dc-line { width: 32px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.dc-sv { position: relative; flex: none; width: 48px; height: 48px; }
.dc-sv span { display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: var(--c, var(--dc3)); color: #fff; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 15px; transition: border-radius .3s var(--ease-out), background-color .3s; }
.dc-sv img { width: 100%; height: 100%; object-fit: cover; }
.dc-sv:hover span, .dc-sv.on span { border-radius: 16px; }
.dc-home span { background: var(--blue); }
.dc-home svg { width: 60%; height: 60%; color: var(--cream); }
.dc-home.on span, .dc-home:hover span { background: var(--pink); } .dc-home.on svg, .dc-home:hover svg { color: var(--blue); }
.dc-sv::before { content: ''; position: absolute; left: -12px; top: 50%; width: 4px; height: 0; margin-top: 0; border-radius: 0 4px 4px 0; background: var(--cream); transition: height .3s var(--ease-out), margin .3s var(--ease-out); }
.dc-sv:hover::before { height: 20px; margin-top: -10px; }
.dc-sv.on::before { height: 40px; margin-top: -20px; }
.dc-side { display: flex; flex-direction: column; min-width: 0; background: var(--dc1); }
.dc-sname { flex: none; display: flex; align-items: center; height: 50px; padding: 0 16px; border-bottom: 1px solid rgba(0, 0, 0, .3); font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-chs { flex: 1; padding: 12px 8px; overflow: auto; }
.dc-ch { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; margin-bottom: 2px; border-radius: 6px; color: var(--dcm); font-weight: 700; text-align: left; transition: background-color .15s, color .15s; }
.dc-ch i { font-style: normal; font-size: 19px; line-height: 1; opacity: .7; }
.dc-ch:hover { background: rgba(255, 255, 255, .06); color: var(--dct); }
.dc-ch.on { background: rgba(255, 255, 255, .11); color: #fff; }
.dc-me { flex: none; display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: rgba(0, 0, 0, .22); }
.dc-me .dc-av { width: 34px; height: 34px; }
.dc-me .dc-av svg { width: 60%; height: 60%; color: var(--cream); }
.dc-me b { display: block; font-size: 13.5px; }
.dc-me small { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--dcm); }
.dc-me .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ba55c; }
.dc-me .dispo-charge .dot { background: #faa61a; } .dc-me .dispo-indispo .dot { background: var(--red); }
.dc-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.dc-head { flex: none; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px; border-bottom: 1px solid rgba(0, 0, 0, .3); box-shadow: 0 1px 0 rgba(255, 255, 255, .03); }
.dc-head .dc-hash { font-size: 22px; color: var(--dcm); }
.dc-head b { font-size: 15px; }
.dc-tabs { display: none; margin-left: auto; gap: 4px; }
.dc-tab { padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; color: var(--dcm); background: rgba(255, 255, 255, .06); }
.dc-tab i { font-style: normal; opacity: .6; margin-right: 2px; }
.dc-tab.on { background: var(--cream); color: var(--blue); }
.dc-msgs { flex: 1; min-height: 0; overflow: auto; padding: 18px 0 10px; }
.dc-start { padding: 10px 18px 18px; }
.dc-start .dc-hash { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 12px; border-radius: 50%; background: var(--dc3); font-size: 38px; color: #fff; }
.dc-start h3, .dc-welcome h3 { margin: 0 0 6px; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 24px; color: #fff; }
.dc-start p, .dc-welcome p { margin: 0; color: var(--dcm); max-width: 60ch; line-height: 1.5; }
.dc-msg { display: flex; gap: 14px; padding: 8px 18px; animation: dc-in .5s var(--ease-out) var(--d, 0ms) backwards; transition: background-color .15s; }
.dc-msg:hover { background: rgba(0, 0, 0, .1); }
@keyframes dc-in { from { opacity: 0; transform: translateY(10px); } }
.dc-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; overflow: hidden; border-radius: 50%; background: var(--c, var(--blue)); color: #fff; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 14px; }
.dc-av img { width: 100%; height: 100%; object-fit: cover; }
.dc-mb { min-width: 0; }
.dc-mh { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 3px; }
.dc-mh b { color: var(--pink); font-size: 15px; }
.dc-role { padding: 1px 6px; border-radius: 4px; background: var(--blue); color: var(--cream); font-size: 10.5px; font-weight: 800; letter-spacing: .02em; }
.dc-from { font-size: 12px; font-weight: 700; color: var(--dcm); }
.dc-from::before { content: '@'; opacity: .6; }
.dc-mh time { font-size: 12px; color: var(--dcm); opacity: .8; }
.dc-txt { margin: 0; line-height: 1.5; color: var(--dct); overflow-wrap: anywhere; }
.dc-sep { display: flex; align-items: center; gap: 10px; margin: 18px 18px 8px; color: var(--dcm); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.dc-sep::before, .dc-sep::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .1); }
.dc-welcome { position: relative; margin: 0 18px 8px; padding: 70px 22px 22px; border-radius: 14px; background: var(--dc1); overflow: hidden; }
.dc-welcome::before { content: ''; position: absolute; inset: 0 0 auto; height: 64px; background: linear-gradient(120deg, var(--c), color-mix(in srgb, var(--c) 40%, var(--pink))); }
.dc-sic { display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border-radius: 16px; background: var(--c); color: #fff; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 18px; box-shadow: 0 0 0 4px var(--dc1); }
.dc-sic img { width: 100%; height: 100%; object-fit: cover; }
.dc-sic.big { position: absolute; left: 22px; top: 30px; width: 72px; height: 72px; border-radius: 22px; }
.dc-welcome h3 { margin-top: 14px; }
.dc-site { display: inline-block; margin-top: 12px; padding: 7px 12px; border-radius: 8px; background: var(--cream); color: var(--blue); font-weight: 800; font-size: 13px; text-decoration: none; transition: background-color .2s; }
.dc-site:hover { background: var(--pink); }
.dc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; padding: 0 18px 10px; }
.dc-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 52px 16px 16px; border-radius: 14px; overflow: hidden; background: var(--dc1); text-align: left; color: var(--dct); transition: transform .35s var(--ease-out), box-shadow .35s; animation: dc-in .5s var(--ease-out) backwards; }
.dc-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
.dc-cardw { position: relative; display: grid; }
.dc-csite { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; transition: background-color .2s, transform .35s var(--ease-out); }
.dc-csite svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dc-csite:hover { background: var(--blue); }
.dc-cardw:hover .dc-csite { transform: translateY(-3px); }
.dc-mebtn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 4px; margin: -4px; border-radius: 8px; color: inherit; text-align: left; transition: background-color .2s; }
.dc-mebtn:hover { background: rgba(255, 255, 255, .08); }
.dc-banner { position: absolute; inset: 0 0 auto; height: 44px; background: linear-gradient(120deg, var(--c), color-mix(in srgb, var(--c) 40%, var(--pink))); }
.dc-card .dc-sic { position: absolute; left: 14px; top: 18px; width: 48px; height: 48px; border-radius: 14px; font-size: 15px; }
.dc-card b { margin-top: 18px; font-size: 16px; color: #fff; }
.dc-cd { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--dcm); font-size: 13px; line-height: 1.45; }
.dc-cn { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--dcm); }
.dc-cn i { width: 8px; height: 8px; border-radius: 50%; background: #3ba55c; }
.dc-none { padding: 30px 18px; color: var(--dcm); }
.dc-input { flex: none; display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 12px 14px; border-radius: 10px; background: var(--dc3); color: var(--dcm); text-align: left; font-size: 14px; transition: background-color .2s, color .2s; }
.dc-input span { flex: 1; }
.dc-input i svg { display: block; width: 20px; height: 20px; fill: currentColor; }
.dc-input:hover { background: #1b2596; color: var(--cream); }
@container (max-width: 620px) {
  .dc { grid-template-columns: 64px 1fr; }
  .dc-side { display: none; }
  .dc-rail .dc-sv { width: 44px; height: 44px; }
  .dc-tabs { display: flex; }
  .dc-head > b { display: none; }
  .dc-head .dc-hash { display: none; }
  .dc-head { padding: 0 10px; }
  .dc-tabs { margin-left: 0; overflow: auto; }
}
/* Discord sur téléphone : plein écran */
.ps-dc .pss-scroll { display: flex; flex-direction: column; }
.ps-dc .pss-h { display: none; }
.ps-dc .pss-body { flex: 1; position: relative; width: 100%; max-width: none; padding: 0; min-height: 0; }
.ps-dc .dc { border-radius: 22px 22px 0 0; overflow: hidden; }
.ps-dc .pss-scroll { padding: calc(var(--sat) + 96px) 0 0; overflow: hidden; }
.ps-dc .dc-input { margin-bottom: calc(var(--sab) + 26px); }
.dc-me .dot { position: relative; inset: auto; flex: none; box-shadow: none; }
.dc-me .dot::after { display: none; }
.dc-welcome { padding-top: 116px; }
.dc-welcome h3 { margin-top: 0; }
.dc-tab { flex: none; white-space: nowrap; }
@media (orientation: landscape) and (max-height: 520px) { .ps-dc .pss-scroll { padding-top: calc(var(--sat) + 56px); } }

/* ---------- Minecraft : façon launcher, avec la DA ---------- */
.win2.t-mc { --c: #16171d; }
.win2.t-mc.active:not(.max) { box-shadow: 0 0 0 1.5px rgba(243, 243, 233, .4), 8px 8px 0 #010a7d; }
.w-mc .w-body { position: relative; }
.mc-ph { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.mcl { --k0: #121318; --k1: #1b1c23; --k2: #24252e; --k3: #30313c; --kt: #f3f3e9; --km: #a3a4b5; --green: #3c8527; position: absolute; inset: 0; display: grid; grid-template-columns: 230px 1fr; background: var(--k1); color: var(--kt); }
.mcl-side { display: flex; flex-direction: column; min-height: 0; background: var(--k0); border-right: 1px solid rgba(255, 255, 255, .05); }
.mcl-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 18px 18px; }
.mcl-logo { display: block; width: 100%; max-width: 168px; height: auto; user-select: none; }
.mcl-brand > span svg { display: block; width: 46px; height: 46px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); }
@keyframes mc-float { 50% { translate: 0 -3px; } }
.mcl-brand b { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 17px; letter-spacing: .01em; }
.mcl-brand small { font-size: 12px; color: var(--pink); font-weight: 700; }
.mcl-navs { flex: 1; overflow: auto; padding: 6px 10px; }
.mcl-nav { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; margin-bottom: 3px; border-radius: 8px; color: var(--km); font-weight: 700; font-size: 14px; text-align: left; transition: background-color .2s, color .2s; }
.mcl-nav:hover { background: rgba(255, 255, 255, .05); color: var(--kt); }
.mcl-nav.on { background: var(--k2); color: #fff; }
.mcl-nav.on::before { content: ''; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pink); }
.mcl-nav span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcl-nav small { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 99px; background: rgba(255, 255, 255, .07); }
.mcl-dot { flex: none; width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.c-all { background: #6cbd3e; } .c-trailer { background: var(--blue); } .c-short { background: #d20002; } .c-spoil { background: #f59bd0; } .c-autre { background: #8d5c39; }
.mcl-me { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-top: 1px solid rgba(255, 255, 255, .06); }
.mcl-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--blue); }
.mcl-av svg { width: 64%; height: 64%; color: var(--cream); }
.mcl-av img { display: block; width: 100%; height: 100%; border-radius: inherit; image-rendering: pixelated; }
.mcl-me b { display: block; font-size: 13.5px; }
.mcl-me small { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--km); }
.mcl-me small i { width: 7px; height: 7px; border-radius: 50%; background: #52c234; }
.mcl-main { min-width: 0; min-height: 0; overflow: auto; padding-bottom: 28px; }
.mcl-hero { position: relative; display: flex; align-items: flex-end; min-height: 300px; height: 56%; max-height: 380px; overflow: hidden; }
.mcl-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: mcl-zoom 18s ease-in-out infinite alternate; }
@keyframes mcl-zoom { to { transform: scale(1.12) translate(-1%, -1%); } }
.mcl-bgpix { display: block; background: #58a332; }
.mcl-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 19, 24, .92) 0%, rgba(18, 19, 24, .55) 45%, rgba(18, 19, 24, .1) 75%), linear-gradient(0deg, var(--k1) 0%, transparent 45%); }
.mcl-hin { position: relative; z-index: 1; max-width: 520px; padding: 30px 32px 26px; }
.mcl-tag { display: inline-block; padding: 4px 9px; border-radius: 6px; background: var(--pink); color: var(--blue); font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.mcl-hin h3 { margin: 12px 0 8px; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(22px, 3.2vw, 34px); line-height: 1.02; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.mcl-hin p { margin: 0 0 20px; color: #d6d6df; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mcl-row { display: flex; align-items: center; gap: 18px; }
.mcl-play { min-width: 190px; padding: 15px 34px; border-radius: 4px; background: var(--green); color: #fff; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 2px 0 rgba(0, 0, 0, .3);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .22), inset 0 -5px 0 rgba(0, 0, 0, .3), 0 0 0 2px #1d4a13, 6px 6px 0 var(--blue); transition: background-color .15s, transform .2s var(--ease-out), box-shadow .2s; }
.mcl-play:hover { background: #4a9c33; transform: translate(-2px, -2px); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .22), inset 0 -5px 0 rgba(0, 0, 0, .3), 0 0 0 2px #1d4a13, 8px 8px 0 var(--pink); }
.mcl-play:active { transform: translate(2px, 2px); box-shadow: inset 0 3px 0 rgba(0, 0, 0, .2), 0 0 0 2px #1d4a13, 2px 2px 0 var(--blue); }
.mcl-ver { font-size: 12px; color: var(--km); line-height: 1.4; }
.mcl-ver b { color: var(--kt); }
.mcl-tabs { display: none; gap: 6px; overflow-x: auto; padding: 4px 18px 0; scrollbar-width: none; }
.mcl-tabs .mcl-nav { flex: none; width: auto; margin: 0; padding: 8px 12px; background: var(--k2); }
.mcl-tabs .mcl-nav.on { background: var(--cream); color: var(--blue); }
.mcl-tabs .mcl-nav.on::before { display: none; }
.mcl-h { margin: 22px 32px 14px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--km); }
.mcl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; padding: 0 32px; }
.mcl-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 10px; background: var(--k2); text-align: left; color: var(--kt); box-shadow: 0 0 0 1px rgba(255, 255, 255, .05); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .2s; animation: mcl-in .55s var(--ease-out) backwards; }
@keyframes mcl-in { from { opacity: 0; transform: translateY(12px); } }
.mcl-card:hover { transform: translateY(-4px); background: var(--k3); box-shadow: 0 0 0 2px var(--pink), 6px 8px 0 var(--blue); }
.mcl-th { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #58a332; }
.mcl-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.mcl-card:hover .mcl-th img { transform: scale(1.06); }
.mcl-pl { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 6px; background: var(--green); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), inset 0 -4px 0 rgba(0, 0, 0, .3), 0 6px 16px rgba(0, 0, 0, .4); opacity: 0; scale: .8; transition: opacity .25s, scale .35s var(--ease-out); }
.mcl-pl::after { content: ''; position: absolute; left: 18px; top: 14px; border: 9px solid transparent; border-left: 13px solid #fff; border-right: 0; }
.mcl-card:hover .mcl-pl { opacity: 1; scale: 1; }
.mcl-ci { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 14px; }
.mcl-cat { align-self: flex-start; padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.mcl-cat.c-spoil { color: var(--blue); }
.mcl-ci b { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: 14.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcl-ci small { color: var(--km); font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcl-none { padding: 0 32px; color: var(--km); }
@container (max-width: 680px) {
  .mcl { grid-template-columns: 1fr; }
  .mcl-side { display: none; }
  .mcl-tabs { display: flex; }
  .mcl-hero { min-height: 260px; height: auto; }
  .mcl-hin { padding: 24px 18px 20px; }
  .mcl-h { margin: 18px 18px 12px; }
  .mcl-grid { padding: 0 18px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .mcl-play { min-width: 150px; padding: 13px 24px; font-size: 16px; }
}
/* Minecraft sur téléphone : plein écran sombre */
.ps-mc .pss-scroll { padding: calc(var(--sat) + 96px) 0 0; overflow: hidden; }
.ps-mc .pss-h { display: none; }
.ps-mc .pss-body { position: relative; height: 100%; max-width: none; }
.ps-mc .mcl { border-radius: 22px 22px 0 0; overflow: hidden; }
.ps-mc .mcl-main { padding-bottom: calc(var(--sab) + 40px); }
@media (orientation: landscape) and (max-height: 520px) { .ps-mc .pss-scroll { padding-top: calc(var(--sat) + 56px); } }
/* Vidéos verticales (shorts) dans le lecteur maison */
.w-vert .pl-top { display: none; }
/* Les apps Discord et Minecraft s'adaptent à la largeur de leur fenêtre ou de l'écran */
.w-mc .w-body, .w-dc .w-body, .ps-mc .pss-body, .ps-dc .pss-body { container-type: inline-size; }

/* Discord : projets d'un client */
.dc-cn { flex-wrap: wrap; gap: 12px; }
.dc-cn > span { display: inline-flex; align-items: center; gap: 6px; }
.dc-cn i.w { border-radius: 2px; background: var(--pink); }
.dc-works { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; padding: 4px 18px 14px; }
.dc-work { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 12px; background: var(--dc1); color: var(--dct); text-align: left; animation: dc-in .5s var(--ease-out) backwards; animation-delay: var(--d); transition: transform .35s var(--ease-out), background-color .2s; }
.dc-work:hover { transform: translateY(-3px); background: var(--dc3); }
.dc-wth { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #0b0f4a; margin-bottom: 4px; }
.dc-wth.is-v { aspect-ratio: 16 / 9; }
.dc-wth img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-wth.is-v::after { content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: rgba(2, 18, 238, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23f3f3e9'/%3E%3C/svg%3E") center / 20px no-repeat; transition: transform .3s var(--ease-out); }
.dc-work:hover .dc-wth.is-v::after { transform: scale(1.12); }
.dc-work b { font-size: 14px; color: #fff; line-height: 1.3; }
.dc-work small { font-size: 12px; color: var(--dcm); }
@container (max-width: 620px) { .dc-works { grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 12px 12px; } .dc-work b { font-size: 13px; } }

/* YouTube dans le lecteur maison : l'interface YouTube est rognée (titre en haut, logo et suggestions en bas) */
/* Le lecteur est rendu deux fois plus grand puis réduit : YouTube choisit sa qualité selon la taille du lecteur, il prend donc la meilleure (1080p, 1440p ou 4K selon l'écran) */
.pl-video.is-yt iframe { top: -160px; bottom: auto; width: 200%; height: calc(200% + 640px); transform: scale(.5); transform-origin: 0 0; opacity: 0 !important; transition: opacity .12s ease; }
/* Pas de gros bouton de lecture au centre : on clique sur la vidéo ou sur la barre du bas */
.pl-big { display: none !important; }
.pl-video.is-yt.yt-on iframe { opacity: 1 !important; transition: opacity .4s ease; }
.pl-video.is-yt.yt-end iframe { opacity: 0 !important; }
.pl-yt:hover { color: #ff3b3b; }
.pl-yt svg { width: 20px; height: 20px; }

/* Mentions légales : icône de la barre des tâches + fenêtre */
.os-legal { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--blue); transition: background-color .2s; }
.os-legal:hover, .os-legal:focus-visible { background: rgba(2, 18, 238, .1); }
.os-legal svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.os-legal::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 12px); right: 0; padding: 6px 10px; border-radius: 8px; background: var(--cream); color: var(--blue); box-shadow: 0 0 0 1.5px var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; opacity: 0; translate: 0 4px; pointer-events: none; transition: opacity .2s, translate .2s; }
.os-legal:hover::after, .os-legal:focus-visible::after { opacity: 1; translate: 0 0; }
.w-legal .w-body { overflow: auto; container-type: inline-size; background: var(--cream); }
.lg-doc { padding: 28px clamp(18px, 4vw, 36px) 36px; color: var(--ink); font: 15px/1.6 Lato, system-ui, sans-serif; }
.lg-doc h1 { margin: 0 0 8px; font: 900 clamp(30px, 5vw, 46px)/.95 Archivo, sans-serif; font-stretch: 125%; text-transform: uppercase; color: var(--blue); }
.lg-lead { margin: 0 0 22px; color: rgba(16, 20, 25, .7); }
.lg-doc .pg-card { margin: 0 0 14px; padding: 22px 24px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1.5px rgba(2, 18, 238, .12), 0 16px 34px -24px rgba(1, 10, 125, .6); }
.lg-doc h2 { margin: 0 0 12px; color: var(--blue); font: 900 15px/1.1 Archivo, sans-serif; font-stretch: 112%; letter-spacing: .04em; text-transform: uppercase; }
.lg-doc h3 { margin: 16px 0 4px; color: var(--red, #d20002); font-size: 14px; font-weight: 800; }
.lg-doc p { margin: 0 0 10px; }
.lg-doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.lg-doc dt { font-weight: 700; color: var(--blue); }
.lg-doc dd { margin: 0; overflow-wrap: anywhere; }
.lg-doc a { color: var(--blue); font-weight: 700; }
.lg-foot { margin: 18px 0 0; font-size: 13px; color: rgba(16, 20, 25, .6); }
@container (max-width: 480px) { .lg-doc dl { grid-template-columns: 1fr; gap: 0; } .lg-doc dd { margin-bottom: 8px; } }
.lg-pop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px 16px; background: rgba(1, 10, 125, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; user-select: text; -webkit-user-select: text; }
.lg-pop.in { opacity: 1; }
.lg-box { display: flex; flex-direction: column; width: min(720px, 100%); max-height: min(680px, 100%); overflow: hidden; border-radius: 18px; background: var(--cream); box-shadow: 0 0 0 1.5px var(--cream), 0 40px 80px -30px rgba(0, 0, 0, .6); translate: 0 18px; scale: .97; transition: translate .45s var(--ease-out), scale .45s var(--ease-out); }
.lg-pop.in .lg-box { translate: 0 0; scale: 1; }
.lg-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; background: var(--blue); color: var(--cream); }
.lg-head b { flex: 1; font: 800 13px/1 var(--display); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; }
.lg-ico svg { display: block; width: 22px; height: 22px; }
.lg-x { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--cream); font-size: 24px; line-height: 1; transition: background-color .2s; }
.lg-x:hover, .lg-x:focus-visible { background: rgba(243, 243, 233, .16); }
.lg-scroll { overflow: auto; overscroll-behavior: contain; container-type: inline-size; }

/* ===== Pour les futurs clients (2026-11-08) ===== */
/* Barre des tâches : bouton contact permanent */
.os-contact { display: inline-flex; align-items: center; gap: 8px; height: 36px; margin-right: 4px; padding: 0 15px 0 12px; border-radius: 99px; background: var(--blue); color: var(--cream); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .04em; white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(2, 18, 238, .8); transition: transform .3s var(--ease-out), background-color .2s; }
.os-contact svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.os-contact:hover, .os-contact:focus-visible { background: #2a37ff; transform: translateY(-1px); }
.os-contact:active { transform: scale(.96); }
@media (max-width: 1100px) { .os-contact span { display: none; } .os-contact { padding: 0 9px; } }

/* Lecteur : description du projet + badge À la une */
.pl-desc { color: var(--cream); max-width: 60ch; margin: 10px 0 0; font-size: clamp(12.5px, 1.5cqw, 15px); font-weight: 700; line-height: 1.45; text-shadow: 0 1px 12px rgba(1, 10, 125, .8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-une { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 4px 9px 3px; border-radius: 99px; background: var(--pink); color: var(--blue); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 4px 12px -4px rgba(1, 10, 125, .5); }

/* Écran de fin de vidéo */
.pl-end { position: absolute; inset: 0; z-index: 12; display: grid; place-items: center; padding: 20px; background: rgba(1, 8, 110, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--cream); }
.pe-in { display: flex; flex-direction: column; align-items: center; gap: 16px; width: min(100%, 520px); }
.pe-next { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(243, 243, 233, .1); box-shadow: inset 0 0 0 1px rgba(243, 243, 233, .2); text-align: left; transition: background-color .2s, transform .3s var(--ease-out); }
.pe-next:hover { background: rgba(243, 243, 233, .18); transform: translateY(-2px); }
.pe-th { position: relative; flex: none; width: 34%; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--blue); }
.pe-th img { width: 100%; height: 100%; object-fit: cover; }
.pe-th .th-ph svg { width: 30%; }
.pe-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pe-tx small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.pe-tx b { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: clamp(14px, 2.6cqw, 20px); line-height: 1.05; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pe-next > svg, .pe-b svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pe-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pe-b { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 99px; background: rgba(243, 243, 233, .14); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; transition: background-color .2s, transform .3s var(--ease-out); }
.pe-b:hover { background: rgba(243, 243, 233, .24); }
.pe-b.pe-cta { background: var(--pink); color: var(--blue); }
.pe-b.pe-cta:hover { background: #fff; transform: translateY(-1px); }
@container (max-width: 460px) { .pe-th { display: none; } .pe-b { height: 36px; font-size: 11px; } }

/* moi.txt : vraie présentation */
.w-moi .w-body { background: var(--cream); }
.moi { padding: 26px 28px 30px; color: var(--ink); font-size: 15px; line-height: 1.55; }
.moi h3 { margin: 24px 0 10px; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.moi-h { display: flex; align-items: center; gap: 18px; }
.moi-h p { margin: 0; }
.moi-ph { flex: none; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--blue); color: var(--cream); box-shadow: 0 0 0 3px var(--cream), 0 0 0 5px var(--blue); }
.moi-ph img { width: 100%; height: 100%; object-fit: cover; }
.moi-ph svg { width: 64%; height: 64%; }
.moi-n { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 30px; line-height: 1; text-transform: uppercase; color: var(--blue); }
.moi-j { margin-top: 5px !important; font-weight: 800; font-size: 14px; color: var(--blue); }
.moi-w { display: flex; align-items: center; gap: 5px; margin-top: 4px !important; font-size: 13px; font-weight: 700; opacity: .72; }
.moi-w svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.moi-d { position: relative; display: inline-flex; align-items: center; gap: 7px; margin-top: 8px !important; padding: 4px 11px 4px 9px; border-radius: 99px; background: rgba(2, 18, 238, .08); font-size: 12px; font-weight: 800; color: var(--blue); }
.moi-d .dot, .cf-d .dot { position: relative; inset: auto; width: 8px; height: 8px; box-shadow: none; }
.moi-lead { margin: 20px 0 0; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 19px; line-height: 1.25; color: var(--blue); }
.moi-p { margin: 10px 0 0; }
.moi-off { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.moi-off div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1.5px var(--blue), 4px 4px 0 #010a7d; }
.moi-off b { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 15px; line-height: 1.15; color: var(--blue); text-transform: uppercase; }
.moi-off span { font-size: 13.5px; line-height: 1.45; opacity: .82; }
.moi-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.moi-tags li { padding: 5px 11px 4px; border-radius: 99px; background: var(--blue); color: var(--cream); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.moi-cl { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.moi-cl li { display: grid; place-items: center; height: 54px; min-width: 54px; padding: 0 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(2, 18, 238, .16); font-weight: 800; font-size: 13px; color: var(--blue); }
.moi-cl img { width: 38px; height: 38px; object-fit: contain; border-radius: 8px; }
.moi-num { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.moi-num span { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1.5px var(--blue); font-size: 12px; font-weight: 700; color: var(--blue); }
.moi-num b { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 30px; line-height: 1; }
.moi-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; margin-top: 26px; border-radius: 99px; background: var(--blue); color: var(--cream); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 10px 22px -12px rgba(2, 18, 238, .9); transition: transform .3s var(--ease-out), background-color .2s; }
.moi-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.moi-cta:hover { background: #2a37ff; transform: translateY(-2px); }
.ps-moi .moi { padding: 6px 2px 24px; }
.ps-moi .moi-ph { width: 84px; height: 84px; }

/* Formulaire de contact */
.w-contact .w-body { background: var(--pink); }
.cf { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 26px; color: var(--red); }
.cf-h { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.cf-d { position: relative; display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; margin: -2px 0 4px; font-size: 12.5px; font-weight: 800; }
.cf label { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf input, .cf select, .cf textarea { width: 100%; padding: 11px 14px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); font: 600 15px/1.35 var(--text); letter-spacing: 0; text-transform: none; box-shadow: inset 0 0 0 1.5px rgba(210, 0, 2, .18); transition: box-shadow .2s; }
.cf textarea { resize: vertical; min-height: 96px; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--red); }
.cf ::placeholder { color: rgba(16, 20, 25, .4); }
.cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-err { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff; font-size: 13.5px; font-weight: 700; }
.cf-send { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; margin-top: 4px; border-radius: 99px; background: var(--red); color: #fff; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 10px 22px -12px rgba(210, 0, 2, .9); transition: transform .3s var(--ease-out), opacity .2s; }
.cf-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.cf-send:hover { transform: translateY(-2px); }
.cf-send:disabled { opacity: .6; transform: none; }
.cf-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-top: 4px; font-size: 13px; font-weight: 700; }
.cf-alt a, .cf-mail { color: var(--red); text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
.cf-mail.is-ok { color: #1a9e5c; }
.cf-ok { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 100%; padding: 40px 26px; text-align: center; color: var(--red); }
.cf-ok p { margin: 0; font-size: 15px; font-weight: 700; }
.cf-ok-i { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--red); color: #fff; }
.cf-ok-i svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ps-contact .cf { padding: 4px 0 24px; }
@media (max-width: 520px) { .cf-row { grid-template-columns: 1fr; } }

/* Téléphone : sous la vidéo, contact + projet suivant */
.pp-next { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.pp-cta, .pp-more { height: 50px; border-radius: 99px; background: var(--pink); color: var(--blue); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.pp-more { background: rgba(243, 243, 233, .12); color: var(--cream); }
.pp-nx { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 16px; background: rgba(243, 243, 233, .08); color: var(--cream); text-align: left; }
.pp-nx-th { position: relative; flex: none; width: 96px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--blue); }
.pp-nx-th img { width: 100%; height: 100%; object-fit: cover; }
.pp-nx span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pp-nx small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.pp-nx b { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 15px; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Téléphone : noms sous le dock, et les apps ne passent plus derrière lui */
.ph-dock { padding-top: 10px; padding-bottom: 6px; }
.ph-dock .pa-l { display: block; margin-top: 2px; font-size: 10.5px; }
.ph-home { padding-bottom: calc(var(--sab) + 140px); -webkit-mask-image: linear-gradient(#000 calc(100% - var(--sab) - 130px), transparent calc(100% - var(--sab) - 108px)); mask-image: linear-gradient(#000 calc(100% - var(--sab) - 130px), transparent calc(100% - var(--sab) - 108px)); }
@media (max-height: 760px) and (max-width: 760px) { .ph-grid { row-gap: 6px; } }

/* ===== 2026-11-09 : moi.txt en bloc-notes, choix du formulaire, Vidéos et Photos, messages privés Discord ===== */
.note-pre { white-space: pre-wrap; line-height: 24px; background: repeating-linear-gradient(transparent 0 23px, color-mix(in srgb, var(--blue) 8%, transparent) 23px 24px) 0 22px / 100% 24px local; }
.note-link { display: inline; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.note-link:hover { background: color-mix(in srgb, var(--blue) 12%, transparent); }

.cf-pick { margin: 0; padding: 0; border: 0; min-width: 0; }
.cf-pick legend { margin-bottom: 6px; padding: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cf-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.cf .cf-opt { position: relative; display: inline-flex; flex-direction: row; gap: 0; cursor: pointer; letter-spacing: 0; text-transform: none; }
.cf .cf-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; box-shadow: none; }
.cf-opt span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 99px; background: #fff; color: var(--red); font: 700 13.5px/1 var(--text); box-shadow: inset 0 0 0 1.5px rgba(210, 0, 2, .22); transition: background-color .2s, color .2s, box-shadow .2s, transform .25s var(--ease-out); }
.cf-opt:hover span { box-shadow: inset 0 0 0 1.5px var(--red); }
.cf-opt input:checked + span { background: var(--red); color: var(--pink); box-shadow: none; }
.cf-opt input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.cf-opt:active span { transform: scale(.96); }

.vx-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: center; width: calc(100% - 32px); margin: 18px 16px 4px; padding: 10px; border-radius: 16px; text-align: left; color: inherit; background: color-mix(in srgb, var(--c) 6%, transparent); transition: background-color .25s; }
.vx-hero[hidden] { display: none; }
.vx-hero:hover { background: color-mix(in srgb, var(--c) 11%, transparent); }
.vx-hero .fx-th { border-radius: 10px; }
.vx-hero:hover .fx-th img { transform: scale(1.04); }
.vx-hero:hover .fx-play { opacity: 1; transform: none; }
.vx-hi { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-right: 12px; }
.vx-hi small { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.vx-hi b { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 26px; line-height: 1.02; text-transform: uppercase; color: var(--c); }
.vx-hi .vx-meta { font-size: 13px; }
.vx-d { font-size: 14px; line-height: 1.5; opacity: .8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vx-go { display: inline-flex; align-self: flex-start; align-items: center; gap: 9px; margin-top: 6px; padding: 10px 18px 10px 14px; border-radius: 99px; background: var(--c); color: var(--cream); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.vx-go i { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent; }
.vx-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px 10px; }
.vx-grid .fx-item { gap: 4px; }
.vx-grid .fx-t { margin-top: 4px; }
.vx-meta { font-size: 12px; font-weight: 700; color: color-mix(in srgb, var(--c) 60%, var(--ink)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-g { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px 3px; border-radius: 6px; background: rgba(1, 10, 125, .72); color: var(--cream); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .35s var(--ease-out); }
.fx-item:hover .vx-g { opacity: 1; transform: none; }
@media (max-width: 760px) { .vx-hero { grid-template-columns: 1fr; } }

.px-wall { columns: 220px; column-gap: 10px; padding: 14px 14px 24px; }
.px-item { position: relative; display: block; width: 100%; margin: 0 0 10px; padding: 0; break-inside: avoid; border-radius: 10px; overflow: hidden; text-align: left; color: #fff; }
.px-item .fx-th { border-radius: 0; background: var(--pink); }
.px-item:hover .fx-th img { transform: scale(1.04); }
.px-t { position: absolute; inset: auto 0 0 0; padding: 22px 12px 10px; background: rgba(16, 20, 25, .5); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 11.5px; letter-spacing: .03em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .35s var(--ease-out); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.px-item:hover .px-t, .px-item:focus-visible .px-t { opacity: 1; transform: none; }

.dc-dm { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; margin-bottom: 2px; border-radius: 6px; color: var(--dcm); text-align: left; transition: background-color .15s, color .15s; }
.dc-dm:hover { background: rgba(255, 255, 255, .06); color: var(--dct); }
.dc-dm.on { background: rgba(255, 255, 255, .11); color: #fff; }
.dc-dm .dc-av { width: 32px; height: 32px; font-size: 11px; }
.dc-dm > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.dc-dm b { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-dm small { font-size: 11.5px; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-dmi, .dc-hico { display: grid; place-items: center; width: 32px; height: 32px; flex: none; }
.dc-dmi svg, .dc-hico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dc-hico { width: 26px; color: var(--dcm); }
.dc-dm--top { padding: 8px; }
.dc-dmh { margin: 16px 8px 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dcm); }
.dc-at { font-size: 20px; color: var(--dcm); }
.dc-dmstart { padding: 10px 18px 18px; }
.dc-dmstart .dc-av.big { width: 80px; height: 80px; margin-bottom: 12px; font-size: 26px; }
.dc-dmstart h3 { margin: 0 0 6px; font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 26px; color: #fff; }
.dc-dmstart p { margin: 0; color: var(--dcm); line-height: 1.5; }
.dc-dmstart p b { color: var(--dct); }
.dc-av--me { background: var(--blue); }
.dc-av--me svg { width: 70%; height: 70%; color: var(--cream); }
.dc-me-n { color: #8b95ff; }
.dc-embed { display: flex; flex-direction: column; gap: 4px; max-width: 360px; margin-top: 8px; padding: 12px 14px; border-left: 4px solid var(--pink); border-radius: 4px; background: rgba(0, 0, 0, .22); color: var(--dct); text-decoration: none; }
.dc-embed small { font-size: 12px; color: var(--dcm); }
.dc-embed b { font-size: 15px; color: #fff; }
.dc-embed span { font-size: 13px; font-weight: 700; color: #8fb3ff; }
.dc-embed:hover span { text-decoration: underline; }

/* =====================================================================
   Téléphone (2026-11-10) : accueil sur un seul écran, look iPhone, responsive
   ===================================================================== */
/* L'accueil ne défile plus : rangées et icônes calculées pour remplir l'écran (phone.js fit) */
.ph-home { overflow: hidden; padding-top: calc(var(--sat) + 50px); padding-bottom: 0; }
.ph-grid { grid-auto-rows: var(--row, calc(var(--ico) + 30px)); gap: 0; grid-auto-flow: row dense; }
.ph-grid .pa { gap: 6px; padding-top: 1px; }
.pa-l { font-size: 11px; font-weight: 600; letter-spacing: 0; }
.pw-reel, .pw-dispo { height: calc(100% - 14px); border-radius: 22px; }
.pw-reel { width: calc(100% - 16px); }
.pw-dispo { width: calc(100% - 16px); padding: 12px 13px; }
.pw-title { font-size: clamp(15px, 4.4vw, 21px); right: 64px; }
.pw-play { width: 40px; height: 40px; }
.pwd-av { width: 34px; height: 34px; }
.pwd-st { font-size: 9.5px; }
.pwd-t { font-size: clamp(12px, 3.5vw, 15px); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ph-dock { padding: 10px 8px; border-radius: 30px; }
.ph-status { height: calc(var(--sat) + 44px); }
@media (orientation: landscape) and (max-height: 520px) {
  .ph-home { padding-top: calc(var(--sat) + 30px); }
  .pw-reel, .pw-dispo { height: calc(100% - 8px); }
}
/* Déverrouillage : l'écran glisse, pas d'effet coûteux */
html.is-phone .lock { will-change: transform; }
html.is-phone .ph-home, html.is-phone .ph-dock { will-change: transform, opacity; }

/* moi.txt sur téléphone : un vrai bloc-notes qui défile avec l'écran */
.ps-moi .note { position: relative; inset: auto; display: block; }
.ps-moi .note-ro { overflow: visible; padding: 0 0 6px; font-size: 12.5px; line-height: 22px; letter-spacing: -.01em; background: repeating-linear-gradient(transparent 0 21px, color-mix(in srgb, var(--blue) 10%, transparent) 21px 22px) 0 0 / 100% 22px; }
.ps-moi .note-st { padding: 10px 0 0; border-top: 0; }
.ps-moi .note-link { font-size: 13.5px; }

/* Discord sur un écran étroit : liste des messages privés, puis la conversation */
.dc-back { display: none; }
@container (max-width: 620px) {
  .dc--list .dc-side { display: flex; }
  .dc--list .dc-main { display: none; }
  .dc--list .dc-sname { font-size: 15px; }
  .dc--list .dc-dm { padding: 10px; }
  .dc--list .dc-dm .dc-av { width: 40px; height: 40px; font-size: 13px; }
  .dc--list .dc-dm b { font-size: 15.5px; }
  .dc--conv .dc-head > b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dc--conv .dc-back { display: grid; place-items: center; width: 36px; height: 36px; margin-left: -6px; border-radius: 50%; color: var(--dct); }
  .dc--conv .dc-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  .dc-dmstart .dc-av.big { width: 64px; height: 64px; font-size: 22px; }
  .dc-dmstart h3 { font-size: 22px; }
}
.ps-dc .dc-me { padding-bottom: calc(var(--sab) + 30px); }
.pwd-t { -webkit-line-clamp: 4; font-size: clamp(11.5px, 3.3vw, 15px); }
@media (orientation: landscape) and (max-height: 520px) {
  .ph-home { padding-top: calc(var(--sat) + 40px); }
  .pwd-av { display: none; }
  .pwd-t { -webkit-line-clamp: 2; }
  .pw-title { font-size: 16px; }
}

/* =====================================================================
   2026-11-10 : notifications, heure du verrouillage, contact sans défilement
   ===================================================================== */
.lock-time { top: clamp(26px, 6vh, 64px); }
.lock-time b { font-size: clamp(44px, 7.4vh, 72px); letter-spacing: .01em; line-height: 1; }
.lock-time span { margin-top: 10px; font-size: clamp(14px, 2vh, 18px); letter-spacing: .08em; }

.os-notifs { position: absolute; top: 14px; right: 14px; z-index: 1003; display: flex; flex-direction: column; gap: 10px; width: min(360px, calc(100vw - 28px)); pointer-events: none; }
.os-notif { position: relative; pointer-events: auto; border-radius: 16px; background: var(--cream); color: var(--blue); border: 2px solid var(--blue); box-shadow: 5px 5px 0 var(--blue); }
.on-body { display: flex; flex-direction: column; gap: 9px; width: 100%; padding: 12px 14px 13px; text-align: left; cursor: pointer; }
.on-head { display: flex; align-items: center; gap: 7px; padding-right: 26px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.on-ico { display: grid; place-items: center; width: 20px; height: 20px; }
.on-ico svg { width: 20px; height: 20px; }
.on-when { margin-left: auto; font-weight: 700; letter-spacing: .02em; text-transform: none; opacity: .6; }
.on-main { display: flex; gap: 12px; align-items: center; }
.on-th { position: relative; flex: none; width: 104px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: var(--blue); }
.on-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.on-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.on-txt b { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: 15px; line-height: 1.15; }
.on-txt span { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.on-act { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 99px; background: var(--blue); color: var(--cream); font-size: 12.5px; font-weight: 800; transition: transform .3s var(--ease-out); }
.on-act svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.on-body:hover .on-act svg { transform: translateX(3px); }
.on-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--blue); }
.on-x:hover { background: color-mix(in srgb, var(--blue) 12%, transparent); }
.on-x i, .on-x i::before { position: absolute; width: 12px; height: 2px; border-radius: 2px; background: currentColor; rotate: 45deg; }
.on-x i::before { content: ''; inset: 0; rotate: 90deg; }

/* Contact : tout tient dans la fenêtre, le message prend la place qui reste */
.w-contact .w-body { overflow: auto; container-type: size; }
.w-contact .cf { min-height: 100%; height: 100%; gap: 10px; padding: 18px 22px 16px; }
.w-contact .cf-h { font-size: 20px; }
.w-contact .cf-d { margin: -4px 0 0; }
.w-contact .cf input, .w-contact .cf textarea { padding: 9px 13px; font-size: 14.5px; border-radius: 12px; }
.w-contact .cf-msg { flex: 1 1 auto; min-height: 0; }
.w-contact .cf-msg textarea { flex: 1 1 auto; min-height: 56px; resize: none; }
.w-contact .cf-pick legend { margin-bottom: 5px; }
.w-contact .cf-opt span { height: 32px; padding: 0 12px; font-size: 13px; }
.w-contact .cf-send { flex: none; height: 44px; margin-top: 2px; }
.w-contact .cf-alt { margin-top: 0; font-size: 12.5px; }
@container (max-width: 460px) { .w-contact .cf-row { grid-template-columns: 1fr; gap: 10px; } .w-contact .cf { padding: 14px 16px; } }
@container (max-height: 560px) {
  .w-contact .cf { gap: 7px; padding-top: 12px; padding-bottom: 10px; }
  .w-contact .cf-h { font-size: 17px; }
  .w-contact .cf label { gap: 3px; }
  .w-contact .cf input { padding: 7px 12px; }
  .w-contact .cf-opt span { height: 28px; padding: 0 10px; font-size: 12.5px; }
  .w-contact .cf-send { height: 38px; }
}
@container (max-height: 470px) { .w-contact .cf-d, .w-contact .cf-alt { display: none; } }

/* Discord : conversation avec un pote, messages groupés */
.dc-more { margin-top: 4px; }
/* Notifications en bas à droite, au-dessus de l'heure et de la date (comme Windows) */
.os-notifs { top: auto; bottom: 66px; justify-content: flex-end; }

/* Centre de notifications (clic sur l'heure) */
.os-clock { position: relative; cursor: pointer; border-radius: 10px; padding: 4px 8px; transition: background-color .2s; }
.os-clock:hover, .os-clock.open { background: color-mix(in srgb, var(--blue) 10%, transparent); }
.os-clock.has-n::after { content: attr(data-n); position: absolute; top: -2px; right: -4px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }
.os-nc { position: absolute; right: 10px; bottom: 66px; z-index: 1004; display: flex; flex-direction: column; width: min(380px, calc(100vw - 20px)); max-height: calc(100% - 86px); border-radius: 18px; background: var(--cream); color: var(--blue); border: 2px solid var(--blue); box-shadow: 8px 8px 0 #010a7d; overflow: hidden; }
.os-nc[hidden] { display: none; }
.nc-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; }
.nc-h b { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.nc-clear { font-size: 12.5px; font-weight: 800; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.nc-list { display: flex; flex-direction: column; gap: 10px; padding: 2px 14px 14px; overflow: auto; overscroll-behavior: contain; }
.nc-list .os-notif { box-shadow: none; border-width: 1.5px; background: #fff; }
.nc-none { margin: 0; padding: 26px 0; text-align: center; font-size: 13.5px; font-weight: 700; opacity: .6; }
.nc-day { display: flex; align-items: baseline; gap: 10px; padding: 12px 16px; border-top: 1.5px solid color-mix(in srgb, var(--blue) 20%, transparent); }
.nc-day b { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.nc-day span { font-size: 13px; font-weight: 700; opacity: .75; }
.nc-day span::first-letter { text-transform: uppercase; }

/* =====================================================================
   Notifications façon macOS, dans la DA (crème, bleu, rose)
   ===================================================================== */
.os-notifs { width: min(356px, calc(100vw - 28px)); gap: 10px; bottom: 68px; right: 12px; }
.os-notif {
  overflow: hidden; border: 0; border-radius: 20px;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  -webkit-backdrop-filter: blur(28px) saturate(1.6); backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: 0 0 0 .5px rgba(2, 18, 238, .18), 0 12px 32px -8px rgba(1, 6, 80, .38), 0 2px 6px rgba(1, 6, 80, .12);
  color: var(--ink);
}
.on-body { gap: 4px; padding: 11px 14px 12px; }
.on-head { gap: 8px; padding-right: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .01em; text-transform: none; color: rgba(16, 20, 25, .6); }
.on-ico { width: 20px; height: 20px; border-radius: 5px; overflow: hidden; }
.on-ico svg { width: 20px; height: 20px; }
.on-app { text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; font-weight: 700; color: var(--blue); }
.on-when { margin-left: auto; font-size: 11.5px; font-weight: 500; opacity: 1; color: rgba(16, 20, 25, .5); }
.on-main { align-items: flex-start; gap: 12px; margin-top: 2px; }
.on-txt { flex: 1; gap: 1px; }
.on-txt b { font-family: var(--text); font-stretch: normal; font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--ink); }
.on-txt span { font-size: 13px; font-weight: 500; line-height: 1.35; color: rgba(16, 20, 25, .72); }
.on-th { width: 52px; aspect-ratio: 1; border-radius: 9px; background: color-mix(in srgb, var(--blue) 14%, transparent); }
.on-act { height: auto; padding: 0; margin-top: 6px; border-radius: 0; background: none; color: var(--blue); font-size: 12.5px; font-weight: 700; gap: 4px; }
.on-act svg { width: 13px; height: 13px; }
/* fermer : petit rond en haut à gauche, au survol (comme sur Mac) */
.on-x { top: 6px; left: 6px; right: auto; width: 20px; height: 20px; color: rgba(16, 20, 25, .7); background: color-mix(in srgb, var(--cream) 92%, transparent); box-shadow: 0 0 0 .5px rgba(16, 20, 25, .2), 0 1px 3px rgba(0, 0, 0, .12); opacity: 0; transform: scale(.7); transition: opacity .18s, transform .22s var(--ease-out); }
.on-x i, .on-x i::before { width: 8px; height: 1.6px; }
.os-notif:hover .on-x, .on-x:focus-visible { opacity: 1; transform: none; }
.on-x:hover { background: #fff; }
.os-notif:active .on-body { transform: scale(.985); }
.on-body { transition: transform .2s var(--ease-out); }

/* Centre de notifications */
.os-nc {
  right: 10px; bottom: 68px; width: min(380px, calc(100vw - 20px)); border: 0; border-radius: 26px;
  background: color-mix(in srgb, var(--cream) 72%, transparent);
  -webkit-backdrop-filter: blur(36px) saturate(1.6); backdrop-filter: blur(36px) saturate(1.6);
  box-shadow: 0 0 0 .5px rgba(2, 18, 238, .2), 0 24px 60px -16px rgba(1, 6, 80, .5);
  color: var(--ink);
}
.nc-h { padding: 16px 18px 10px; }
.nc-h b { font-family: var(--text); font-stretch: normal; font-size: 15px; font-weight: 800; text-transform: none; letter-spacing: 0; color: var(--blue); }
.nc-clear { height: 26px; padding: 0 11px; border-radius: 99px; background: color-mix(in srgb, var(--blue) 10%, transparent); text-decoration: none; font-size: 12px; font-weight: 700; color: var(--blue); }
.nc-clear:hover { background: color-mix(in srgb, var(--blue) 16%, transparent); }
.nc-list { gap: 8px; padding: 0 12px 12px; }
.nc-list .os-notif { box-shadow: 0 0 0 .5px rgba(2, 18, 238, .12), 0 2px 8px -2px rgba(1, 6, 80, .14); background: color-mix(in srgb, #fff 70%, transparent); }
.nc-none { color: rgba(16, 20, 25, .5); }
.nc-day { padding: 14px 18px 16px; border-top: .5px solid rgba(16, 20, 25, .12); color: var(--blue); }
.nc-day b { font-size: 26px; }
.nc-day span { color: rgba(16, 20, 25, .6); opacity: 1; }

/* Pastille : un petit point à gauche de l'heure, qui ne cache rien */
.os-clock.has-n { padding-left: 18px; }
.os-clock.has-n::after { content: ''; top: 50%; left: 6px; right: auto; min-width: 0; width: 7px; height: 7px; padding: 0; translate: 0 -50%; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px color-mix(in srgb, var(--cream) 90%, transparent); }
.os-notifs .os-notif { background: color-mix(in srgb, var(--cream) 92%, transparent); }
.os-nc { background: color-mix(in srgb, var(--cream) 86%, transparent); }

/* moi.txt : ta photo scotchée sur la page, comme un tirage collé (le texte coule autour) */
.note-pic { float: right; position: relative; width: 164px; margin: 4px 4px 18px 20px; padding: 7px 7px 20px; background: #fbfaf2; box-shadow: 0 0 0 1px rgba(1, 8, 122, .06), 0 12px 24px -14px rgba(1, 8, 122, .6); rotate: -3deg; white-space: normal; animation: note-pic-in .5s cubic-bezier(.16,1,.3,1) .12s both; }
.note-pic img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.82) contrast(1.04); user-select: none; }
.note-pic::after { content: ''; position: absolute; inset: 7px 7px 20px; pointer-events: none; background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px) 0 0 / 3px 3px; mix-blend-mode: soft-light; }
.note-pic::before { content: ''; position: absolute; z-index: 1; top: -11px; left: 50%; width: 74px; height: 22px; translate: -50% 0; rotate: 5deg; background: color-mix(in srgb, var(--pink) 72%, transparent); box-shadow: 0 1px 2px rgba(1, 8, 122, .12); }
@keyframes note-pic-in { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .note-pic { animation: none; } }
.ps-moi .note-pic { width: 112px; margin: 4px 2px 12px 14px; padding: 5px 5px 14px; }
.ps-moi .note-pic::after { inset: 5px 5px 14px; }
.ps-moi .note-pic::before { width: 56px; height: 18px; top: -9px; }

/* ---------- Discord : conversations avec profil, photos, alignements ---------- */
.dc-main > .dc-msgs, .dc-conv { flex: 1; min-height: 0; }
.dc-conv { display: flex; }
.dc-conv > .dc-msgs { flex: 1; min-width: 0; }
.dc-msgs { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent; }
.dc-head { gap: 10px; min-width: 0; }
.dc-head > b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-at, .dc-head .dc-hash { flex: none; line-height: 1; }
.dc-hlink { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; margin-left: auto; padding: 0 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--dct); font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.dc-hlink:hover { background: var(--cream); color: var(--blue); }
.dc-hlink svg, .dc-pbtn svg, .dc-site svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dc-site { display: inline-flex; align-items: center; gap: 7px; }

/* Messages : avatar 40, nom et texte alignés, bulles groupées sous le même nom */
.dc-msg { gap: 14px; padding: 6px 18px; }
.dc-msg + .dc-msg { margin-top: 10px; }
.dc-msg .dc-av { width: 40px; height: 40px; margin-top: 2px; font-size: 13px; }
.dc-mb { flex: 1; }
.dc-mh { margin: 0 0 2px; line-height: 1.3; }
.dc-mh b { font-size: 15px; line-height: 1.3; }
.dc-txt { font-size: 14.5px; line-height: 1.45; }
.dc-more { margin-top: 3px; }
.dc-av--me { background: var(--blue); }
.dc-av--me img { width: 100%; height: 100%; object-fit: cover; }

/* Photos envoyées dans la conversation */
.dc-att { display: block; max-height: 240px; margin-top: 6px; padding: 0; overflow: hidden; border-radius: 8px; background: rgba(0, 0, 0, .25); cursor: zoom-in; }
.dc-att img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.dc-att:hover img { opacity: .9; }
.dc-txt + .dc-att { margin-top: 8px; }

/* Début de conversation */
.dc-dmstart { padding: 6px 18px 22px; }
.dc-dmstart p { font-size: 14px; }

/* Profil du pote, à droite (comme Discord) */
.dc-prof { position: relative; flex: none; width: 264px; overflow: auto; background: var(--dc1); border-left: 1px solid rgba(0, 0, 0, .3); }
.dc-pban { display: block; height: 96px; background: linear-gradient(120deg, var(--c), color-mix(in srgb, var(--c) 40%, var(--pink))); }
.dc-av--xl { position: absolute; left: 16px; top: 52px; width: 84px; height: 84px; font-size: 26px; box-shadow: 0 0 0 6px var(--dc1); }
.dc-pcard { margin: 52px 12px 12px; padding: 14px; border-radius: 10px; background: var(--dc0); }
.dc-pcard b { display: block; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 18px; line-height: 1.2; color: #fff; overflow-wrap: anywhere; }
.dc-pcard p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--dcm); }
.dc-pbtn { display: flex; align-items: center; justify-content: center; gap: 7px; height: 36px; margin-top: 14px; border-radius: 8px; background: var(--cream); color: var(--blue); font-size: 13px; font-weight: 800; text-decoration: none; transition: background-color .15s; }
.dc-pbtn:hover { background: var(--pink); }
.dc-pcard small { display: block; margin-top: 8px; font-size: 12px; text-align: center; color: var(--dcm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Liste des messages privés : nom + dernier message, sur une ligne chacun */
.dc-dm { min-height: 44px; }
.dc-dm > span:last-child { gap: 1px; flex: 1; }
.dc-dm small { font-size: 12px; line-height: 1.3; }
.dc-dm .dc-av { margin: 0; }
.dc-sname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-me .dc-av { width: 32px; height: 32px; }
.dc-me .dc-av--me svg { width: 66%; height: 66%; }
.dc-mebtn > span:last-child { min-width: 0; }
.dc-mebtn b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-cn { margin-top: 6px; }

@container (max-width: 900px) { .dc-prof { display: none; } }
@container (max-width: 620px) {
  .dc-hlink { height: 28px; padding: 0 10px; font-size: 12px; }
  .dc-msg { padding: 6px 14px; gap: 12px; }
  .dc-att { max-height: 220px; }
}

/* Discord : plusieurs photos dans un message (mosaïque) */
.dc-gal { display: grid; gap: 4px; width: min(100%, 400px); margin-top: 6px; border-radius: 8px; overflow: hidden; }
.dc-txt + .dc-gal { margin-top: 8px; }
.dc-gal .dc-att { width: 100%; height: 100%; max-height: none; margin: 0; border-radius: 0; aspect-ratio: 1; }
.dc-gal.n2 { grid-template-columns: 1fr 1fr; }
.dc-gal.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.dc-gal.n3 .dc-att:first-child { grid-row: span 2; aspect-ratio: auto; }
.dc-gal.n4 { grid-template-columns: 1fr 1fr; }

.dc-gal .dc-att { position: relative; }
.dc-more-n { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(4, 7, 58, .62); color: #fff; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 26px; pointer-events: none; }

/* Écran de verrouillage : icône « À propos » parmi les icônes du bas */
.lt-about { text-decoration: none; }

/* =====================================================================
   2026-11-14 : téléphone, accueil sur deux pages, plus aucun geste vers le haut
   ===================================================================== */
html.is-phone, html.is-phone body { overscroll-behavior: none; }
.ph button, .ph a, .lock { touch-action: manipulation; }
.ph-home { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; touch-action: pan-x; padding-left: 0; padding-right: 0; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
.ph-page { flex: 0 0 100%; min-width: 0; box-sizing: border-box; scroll-snap-align: start; scroll-snap-stop: always; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); }
.ph-page .ph-grid { margin: 0 auto; }
.ph-dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(var(--dock-top, 120px) + 4px); display: flex; justify-content: center; gap: 0; pointer-events: none; }
.ph-dots:empty { display: none; }
.ph-dots button { pointer-events: auto; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; }
.ph-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(243, 243, 233, .4); transition: background .25s, transform .25s; }
.ph-dots .on i { background: var(--cream); transform: scale(1.1); }
.pss-hi { display: none; }
html.is-phone .lock { cursor: pointer; }
html.is-phone .lock-swipe { bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); }
.lock-swipe span { padding: 9px 16px; border-radius: 99px; background: rgba(243, 243, 233, .12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--cream); animation: ph-tap 2.4s ease-in-out infinite; }
@keyframes ph-tap { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (orientation: landscape) and (max-height: 520px) { html.is-phone .lock-swipe span { display: block; } html.is-phone .lock-swipe { bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); } }
.ph-grid:has(.pw) > .pa { align-self: center; }

/* 2026-11-16 : widget « Derniers projets » (remplace le statut) et logos entiers */
.pw-proj { grid-column: span 2; grid-row: span 2; width: calc(100% - 16px); height: calc(100% - 14px); align-self: start; border-radius: 22px; background: #010a7d; }
.pw-proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s ease, transform 5.5s ease-out; }
.pw-proj img.on { opacity: 1; transform: scale(1); }
.pw-proj .pw-tag { left: 12px; top: 12px; }
.pwp-t { position: absolute; left: 13px; right: 13px; bottom: 24px; display: flex; flex-direction: column; gap: 3px; }
.pwp-t b { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(13px, 3.8vw, 17px); line-height: 1; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pwp-t em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: rgba(243, 243, 233, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pwp-dots { position: absolute; left: 13px; bottom: 11px; display: flex; gap: 4px; }
.pwp-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(243, 243, 233, .4); transition: background .3s, width .3s; }
.pwp-dots i.on { width: 12px; border-radius: 3px; background: var(--cream); }
.pi.pi-raw { background: none; overflow: visible; box-shadow: none; }
.pi.pi-raw svg { filter: drop-shadow(0 8px 10px rgba(1, 10, 125, .45)); }
/* Fenêtre Vidéos étroite : la vidéo à la une passe en colonne (titre lisible) */
:has(> .vx-hero) { container-type: inline-size; }
@container (max-width: 560px) { .vx-hero { grid-template-columns: 1fr; gap: 12px; } .vx-hi { padding: 0 4px 6px; } .vx-hi b { font-size: 22px; } }

/* 2026-11-16 : bouton « Entrer » plus présent sur grand écran (taille et zone de clic suivent l'écran) */
html:not(.is-phone) .lock-enter { gap: 10px; min-height: 44px; margin-top: clamp(32px, 6vh, 58px); padding: 5px 5px 5px clamp(17px, 1.3vw, 22px); font-size: clamp(12px, .85vw, 13.5px); letter-spacing: .12em; box-shadow: 0 12px 32px -16px rgba(1, 8, 122, .6); }
html:not(.is-phone) .lock-enter span { width: clamp(30px, 3.2vh, 34px); }

/* 2026-11-16 : Discord, @ collé au pseudo, projets ensemble, champ de message (gadget, rien n'est gardé) */
.dc-head .dc-at + b { margin-left: -6px; }
.dc-pworks { margin-top: 16px; text-align: left; }
.dc-pworks p { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dcm); }
.dc-pw { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px; border-radius: 8px; text-align: left; color: #fff; transition: background-color .2s; }
.dc-pw:hover { background: rgba(255, 255, 255, .07); }
.dc-pwth { flex: none; width: 66px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: rgba(0, 0, 0, .3); }
.dc-pwth img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dc-pw b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.3; font-weight: 700; }
.dc-mini { display: none; }
@container (max-width: 900px) { .dc-mini { display: block; max-width: 360px; margin-top: 14px; } .dc-mini .dc-pbtn { margin-top: 0; } }
.dc-compose { flex: none; display: flex; align-items: center; gap: 6px; margin: 0 16px 16px; padding: 0 6px 0 0; border-radius: 10px; background: var(--dc3); }
.dc-compose input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--cream); font: inherit; font-size: 14.5px; outline: none; }
.dc-compose input::placeholder { color: var(--dcm); }
.dc-compose button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: var(--dcm); transition: background-color .2s, color .2s; }
.dc-compose button:hover, .dc-compose input:not(:placeholder-shown) + button { color: var(--cream); }
.dc-compose button svg { width: 20px; height: 20px; fill: currentColor; }
.dc-compose:focus-within { box-shadow: 0 0 0 2px rgba(254, 198, 233, .5); }
.ps-dc .dc-compose { margin-bottom: calc(var(--sab) + 26px); }
.ps-dc .dc-compose input { font-size: 16px; }
.dc-av--you { background: var(--pink); color: var(--blue); }
.dc-mh small { margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--dcm); }

/* 2026-11-16 : Vidéos en explorateur (dossiers à gauche, chemin, grille) */
.vx { display: flex; height: 100%; min-height: 0; }
.w-vx .w-body { container-type: inline-size; }
.vx-side { flex: none; width: 210px; overflow: auto; padding: 14px 10px; border-right: 1px solid color-mix(in srgb, var(--c) 14%, transparent); background: color-mix(in srgb, var(--c) 4%, transparent); scrollbar-width: none; }
.vx-side::-webkit-scrollbar { display: none; }
.vx-sh { margin: 10px 10px 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 55%, transparent); }
.vx-sh:first-child { margin-top: 0; }
.vx-f { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 6px 10px; border-radius: 9px; text-align: left; color: var(--c); font-size: 13.5px; font-weight: 700; transition: background-color .2s, color .2s; }
.vx-f:hover { background: color-mix(in srgb, var(--c) 8%, transparent); }
.vx-f.on { background: var(--c); color: var(--cream); }
.vx-fi { flex: none; display: grid; place-items: center; width: 22px; height: 22px; }
.vx-fi svg { width: 100%; height: 100%; }
.vx-f .vx-fi svg[viewBox="0 0 24 24"] { width: 17px; height: 17px; fill: currentColor; }
.vx-fl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-fn { flex: none; font-size: 11.5px; font-weight: 800; opacity: .55; font-variant-numeric: tabular-nums; }
.vx-f.on .vx-fn { opacity: .8; }
.vx-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vx-bar { flex: none; flex-wrap: nowrap; position: relative; }
.vx-path { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-path b[data-id="videos"] { cursor: pointer; }
.vx-path b[data-id="videos"]:hover { text-decoration: underline; }
.vx-view { flex: 1; min-height: 0; overflow: auto; }
.vx-folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; padding: 16px 16px 4px; }
.vx-folders[hidden] { display: none; }
.vx-dir { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; text-align: center; color: var(--c); transition: background-color .2s; }
.vx-dir:hover { background: color-mix(in srgb, var(--c) 7%, transparent); }
.vx-dir.sel { background: color-mix(in srgb, var(--c) 14%, transparent); }
.vx-dico { display: block; width: 62px; }
.vx-dico svg { display: block; width: 100%; height: auto; }
.vx-dir b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-stretch: 112%; font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.vx-dir small { font-size: 11px; font-weight: 700; opacity: .55; }
.vx-star { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pink); color: var(--blue); }
.vx-star svg { width: 13px; height: 13px; fill: currentColor; }
/* Fenêtre étroite : les dossiers passent en bande horizontale au-dessus (défilement à la molette ou au doigt) */
@container (max-width: 600px) {
  .vx { flex-direction: column; }
  .vx-side { display: flex; gap: 4px; width: auto; padding: 8px 10px; overflow-x: auto; overflow-y: hidden; border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--c) 14%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .vx-sh { display: none; }
  .vx-f { flex: none; width: auto; min-height: 34px; padding: 5px 12px 5px 8px; gap: 7px; font-size: 12.5px; white-space: nowrap; }
  .vx-fi { width: 18px; height: 18px; }
  .vx-folders { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .vx-dico { width: 50px; }
}
.w-vx .w-body { overflow: hidden; }

/* Téléphone : catégories de Vidéos en dossiers (icône + nombre), façon app Fichiers */
.pchips-f .pchip { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px 0 11px; }
.pchips-f .pchip svg { width: 18px; height: 18px; fill: currentColor; opacity: .85; }
.pchips-f .pchip small { font-size: 11.5px; font-weight: 800; opacity: .55; }

/* Bureau : le fond du verrouillage, retourné pour poser la fleur à droite (les icônes restent à gauche) */
.os-wall::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/v2/img/fond-verrouillage.webp") no-repeat left center / auto 100%; transform: scaleX(-1); pointer-events: none; }
.os-wall { isolation: isolate; }

/* « À propos » en fenêtre par-dessus le site */
.ab-pop { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(1, 10, 125, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ab-card { display: flex; flex-direction: column; width: min(780px, 100%); height: min(860px, 88vh); overflow: hidden; border-radius: 16px; border: 2px solid var(--cream); background: var(--cream); box-shadow: 0 30px 80px -30px rgba(1, 8, 80, .8); will-change: transform, opacity; }
.ab-bar { flex: none; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 8px 0 16px; background: var(--blue); color: var(--cream); }
.ab-bar b { font: 800 12.5px/1 var(--display); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; }
.ab-x { position: relative; width: 36px; height: 36px; border-radius: 9px; color: inherit; }
.ab-x:hover { background: rgba(243, 243, 233, .16); }
.ab-x i::before, .ab-x i::after { content: ''; position: absolute; left: 11px; right: 11px; top: 17px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.ab-x i::after { transform: rotate(-45deg); }
.ab-card iframe { flex: 1; width: 100%; border: 0; background: var(--cream); }
html.is-phone .ab-pop { padding: 0; }
html.is-phone .ab-card { width: 100%; height: 100%; border: 0; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); background: var(--blue); }
.dc-compose input, .dc-compose input:focus { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: none !important; background: transparent !important; }
