@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(../fonts/inter-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(../fonts/inter-600.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(../fonts/inter-800.woff2) format('woff2'); }
@font-face { font-family: Funnel; font-weight: 500; font-display: swap; src: url(../fonts/funnel-500.woff2) format('woff2'); }
@font-face { font-family: Funnel; font-weight: 600; font-display: swap; src: url(../fonts/funnel-600.woff2) format('woff2'); }

:root { color-scheme: dark; --lime: #bef837; --lime-rgb: 190, 248, 55; --bg: #070708; --l1: #111113; --l2: #18181b; --l3: #222226; --line: rgba(255,255,255,.08); --muted: #9b9ba2;
  --top: env(safe-area-inset-top, 0px); --bot: env(safe-area-inset-bottom, 0px); --ease: cubic-bezier(.2,.8,.2,1); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; }
.bar, .tabs, button, .st, .pcard, .grid button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#tabs[hidden] { display: none; }
/* iPhone : un champ en dessous de 16 px fait zoomer tout l'écran quand on le touche */
input, textarea, .field, .composer input { font-size: 16px !important; }
html, body { margin: 0; height: 100%; background: var(--bg); color: #f4f4f5; font: 15px/1.45 Inter, -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
body { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: #fff; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
svg.i { width: 24px; height: 24px; fill: currentColor; flex: none; }

/* ---------- structure : barre du haut, page qui défile, barre d'onglets en bas */
#app { position: fixed; inset: 0; display: flex; flex-direction: column; }
.bar { flex: none; display: flex; align-items: center; gap: 12px; padding: calc(var(--top) + 10px) 16px 10px; background: rgba(7,7,8,.86); backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid var(--line); z-index: 5; }
.bar h1 { margin: 0; font: 600 21px/1 Funnel, Inter, sans-serif; letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; }
.bar h1 svg { width: 26px; height: 23px; fill: #fff; }
.bar .grow { flex: 1; }
.bar .ib { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--l2); }
.bar .ib svg { width: 20px; height: 20px; }
.bar .title { font: 600 17px/1.2 Inter, sans-serif; }
.page { flex: 1; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-bottom: 20px; }
.tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 2px 6px max(0px, calc(var(--bot) - 34px)); background: rgba(7,7,8,.92); backdrop-filter: blur(18px); border-top: 1px solid var(--line); z-index: 5; }
.tabs a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 5px 0 3px; color: #7c7c83; font-size: 11px; font-weight: 600; transition: color .2s; }
.tabs a.on { color: #fff; }
.tabs a.on svg { color: var(--lime); }
.tabs .badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: #ff3b47; color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }

/* ---------- connexion */
.login { position: fixed; inset: 0; overflow-y: auto; padding: calc(var(--top) + 40px) 24px calc(var(--bot) + 30px); display: flex; flex-direction: column;
  background: radial-gradient(90% 60% at 50% 0%, rgba(var(--lime-rgb),.16), transparent 70%), var(--bg); }
.login .logo { width: 76px; height: 68px; fill: #fff; margin: 20px auto 22px; filter: drop-shadow(0 0 30px rgba(var(--lime-rgb),.35)); }
.login h2 { margin: 0 0 8px; text-align: center; font: 500 32px/1.05 Funnel, Inter, sans-serif; letter-spacing: -.02em; }
.login p.sub { margin: 0 auto 30px; text-align: center; color: var(--muted); max-width: 300px; }
.prov { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 14px; font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.prov svg { width: 22px; height: 22px; }
.prov.discord { background: #5865f2; } .prov.google { background: #fff; color: #111; } .prov.steam { background: #1b2838; border: 1px solid #2a475e; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #6b6b72; font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; background: var(--l1); border: 1px solid var(--line); margin-bottom: 10px; outline: none; transition: border-color .2s; }
.field:focus { border-color: rgba(var(--lime-rgb),.6); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 14px; font-weight: 700; font-size: 15px; transition: transform .12s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn.lime { background: var(--lime); color: #000; }
.btn.ghost { background: var(--l2); color: #fff; }
.btn.wide { width: 100%; height: 52px; font-size: 16px; }
.btn:disabled { opacity: .5; }
.link-sw { margin-top: 16px; text-align: center; color: var(--muted); font-size: 14px; }
.link-sw button { color: var(--lime); font-weight: 600; }
.err { min-height: 20px; color: #ff6b6b; font-size: 13.5px; text-align: center; margin: 4px 0 10px; }

/* ---------- stories */
.stories { display: flex; gap: 14px; padding: 14px 16px 6px; overflow-x: auto; scrollbar-width: none; }
.stories:empty { display: none; }
.stories::-webkit-scrollbar { display: none; }
.st { flex: none; width: 70px; display: grid; justify-items: center; gap: 6px; font-size: 11.5px; color: #cfcfd4; }
.st .ring { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--lime), #6be0ff, var(--lime)); }
.st.seen .ring { background: #3a3a40; }
.st .ring > * { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg); object-fit: cover; background: var(--l3); }
.st span { max-width: 70px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- onglets du fil */
.seg { display: flex; gap: 8px; padding: 10px 16px; position: sticky; top: 0; z-index: 3; background: linear-gradient(var(--bg) 70%, transparent); }
.seg button { height: 34px; padding: 0 16px; border-radius: 17px; background: var(--l2); font-weight: 600; font-size: 14px; color: #c9c9ce; }
.seg button.on { background: #fff; color: #000; }

/* ---------- clip du fil */
.post { margin: 6px 0 18px; }
.ph { display: flex; align-items: center; gap: 10px; padding: 0 16px 10px; }
.av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--l3); flex: none; display: grid; place-items: center; font-weight: 800; color: #fff; }
.av.lg { width: 88px; height: 88px; font-size: 32px; border: 4px solid var(--bg); }
.who { flex: 1; min-width: 0; }
.who b { display: flex; align-items: center; gap: 5px; font-size: 15px; }
.who b svg { width: 16px; height: 16px; color: var(--lime); }
.who small { color: var(--muted); font-size: 12.5px; }
.follow { height: 32px; padding: 0 14px; border-radius: 16px; background: #fff; color: #000; font-weight: 700; font-size: 13px; }
.follow.on { background: var(--l2); color: #fff; }
.vid { position: relative; background: #000; aspect-ratio: 16 / 9; }
.vid video, .vid img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vid .snd { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.6); display: grid; place-items: center; }
.vid .snd svg { width: 18px; height: 18px; }
.vid .dur { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.6); font-size: 12px; font-weight: 600; }
.vid .heart-pop { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px; color: #ff3b5c; opacity: 0; pointer-events: none; filter: drop-shadow(0 6px 20px rgba(0,0,0,.5)); }
.vid .heart-pop.go { animation: pop .8s var(--ease); }
@keyframes pop { 0% { opacity: 0; transform: scale(.3); } 25% { opacity: 1; transform: scale(1.15); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.3); } }
.pt { padding: 10px 16px 0; }
.pt b { display: block; font-size: 15.5px; }
.pt small { color: var(--muted); font-size: 13px; }
.acts { display: flex; align-items: center; gap: 4px; padding: 6px 10px 0; }
.acts button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 20px; font-weight: 600; font-size: 14px; color: #e4e4e8; }
.acts button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; }
.acts button.liked { color: #ff3b5c; } .acts button.liked svg { fill: currentColor; }
.acts button.saved svg { fill: var(--lime); stroke: var(--lime); }
.acts .grow { flex: 1; }
.lastc { padding: 2px 16px 0; font-size: 13.5px; color: #cfcfd4; }
.lastc b { color: #fff; }
.more { display: block; margin: 0 auto 30px; }
.empty { padding: 60px 30px; text-align: center; color: var(--muted); }
.empty b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.spin { width: 28px; height: 28px; margin: 30px auto; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--lime); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- recherche, listes */
.search { padding: 12px 16px; }
.search .field { margin: 0; }
.ucard { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.ucard:active { background: var(--l1); }

/* ---------- messages */
.conv { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.conv:active { background: var(--l1); }
.conv .who small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .dot { min-width: 20px; height: 20px; border-radius: 10px; background: var(--lime); color: #000; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
.thread { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; }
.bub { max-width: 78%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.38; white-space: pre-wrap; overflow-wrap: anywhere; }
.bub.them { align-self: flex-start; background: var(--l3); border-bottom-left-radius: 6px; }
.bub.me { align-self: flex-end; background: var(--lime); color: #000; border-bottom-right-radius: 6px; }
.bub small { display: block; margin-top: 3px; font-size: 10.5px; opacity: .55; }
.composer { flex: none; display: flex; gap: 8px; padding: 8px 10px calc(var(--bot) + 8px); background: rgba(7,7,8,.95); border-top: 1px solid var(--line); }
.composer input { flex: 1; height: 44px; padding: 0 16px; border-radius: 22px; background: var(--l2); border: 1px solid var(--line); outline: none; }
.composer button { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: #000; display: grid; place-items: center; flex: none; }
.composer button svg { width: 20px; height: 20px; }

/* ---------- profil */
.pban { height: 150px; background: linear-gradient(135deg, rgba(var(--lime-rgb),.35), #1a1a1f 60%) center / cover; }
.phead { padding: 0 16px; margin-top: -44px; display: flex; align-items: flex-end; gap: 12px; }
.phead .grow { flex: 1; }
.pname { padding: 10px 16px 0; }
.pname h2 { margin: 0; display: flex; align-items: center; gap: 8px; font: 600 24px/1.15 Funnel, Inter, sans-serif; }
.pname h2 svg { width: 24px; height: 24px; color: var(--lime); }
.pname small { color: var(--muted); }
.pname p { margin: 8px 0 0; color: #d6d6da; }
.pstats { display: flex; gap: 22px; padding: 14px 16px; }
.pstats b { display: block; font-size: 18px; }
.pstats span { color: var(--muted); font-size: 12.5px; }
.pbtns { display: flex; gap: 8px; padding: 0 16px 14px; }
.pbtns .btn { flex: 1; height: 42px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.grid button { position: relative; aspect-ratio: 9 / 12; background: var(--l2) center / cover; }
.grid button span { position: absolute; left: 6px; bottom: 5px; font-size: 11.5px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.menu { margin: 6px 16px 20px; border-radius: 16px; background: var(--l1); border: 1px solid var(--line); overflow: hidden; }
.menu button, .menu a { width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px 16px; text-align: left; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu > :last-child { border-bottom: 0; }
.menu .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(var(--lime-rgb),.12); color: var(--lime); flex: none; font-size: 15px; }
.menu .grow { flex: 1; }
.menu .red { color: #ff6b6b; }
.chev { color: #5f5f66; }

/* ---------- feuilles (commentaires, aide, édition) */
.sheet-bg { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .25s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-height: 86vh; display: flex; flex-direction: column; background: var(--l1); border-radius: 22px 22px 0 0; border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform .38s var(--ease); padding-bottom: var(--bot); }
.sheet.open { transform: none; }
.sheet-bg.open { opacity: 1; }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: #3a3a40; margin: 10px auto 4px; flex: none; }
.sh-head { position: relative; flex: none; padding: 0 56px 0 0; touch-action: none; }
.sheet h3 { margin: 4px 16px 10px; font-size: 17px; flex: none; }
.sh-x { position: absolute; right: 12px; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--l3); font-size: 22px; line-height: 1; color: #ddd; }
.sheet .body { flex: 1; overflow-y: auto; padding: 0 16px 10px; }
.sheet .composer { padding-bottom: 8px; }
.cmt { display: flex; gap: 10px; padding: 8px 0; }
.cmt .av { width: 32px; height: 32px; font-size: 13px; }
.cmt b { font-size: 13.5px; } .cmt small { color: var(--muted); font-size: 12px; margin-left: 6px; }
.cmt p { margin: 2px 0 0; font-size: 14.5px; }

/* ---------- lecteur de stories */
.story-v { position: fixed; inset: 0; z-index: 30; background: #000; display: flex; flex-direction: column; }
.story-v video { flex: 1; width: 100%; object-fit: contain; }
.sv-top { position: absolute; left: 0; right: 0; top: 0; padding: calc(var(--top) + 8px) 12px 12px; background: linear-gradient(rgba(0,0,0,.6), transparent); }
.sv-bars { display: flex; gap: 4px; margin-bottom: 10px; }
.sv-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.sv-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.sv-who { display: flex; align-items: center; gap: 10px; }
.sv-who .av { width: 32px; height: 32px; font-size: 13px; }
.sv-who b { font-size: 14px; } .sv-who small { color: #ccc; font-size: 12px; }
.sv-x { margin-left: auto; width: 36px; height: 36px; font-size: 26px; line-height: 1; }
.sv-tap { position: absolute; top: 80px; bottom: 0; width: 35%; }
.sv-tap.l { left: 0; } .sv-tap.r { right: 0; width: 65%; }

/* ---------- assistant */
.hc { display: flex; flex-direction: column; gap: 8px; }
.hc .bub.bot { align-self: flex-start; background: var(--l3); border-bottom-left-radius: 6px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9a9a9a; animation: dot 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 40% { transform: translateY(-4px); opacity: 1; } 0%, 80%, 100% { opacity: .35; } }
.tips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.tips button { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line); font-size: 13px; color: #ddd; }

/* ---------- invitation à installer + notification */
.install { margin: 10px 16px 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(var(--lime-rgb),.16), rgba(var(--lime-rgb),.04)); border: 1px solid rgba(var(--lime-rgb),.3); display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.install img { width: 42px; height: 42px; border-radius: 11px; flex: none; }
.install strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.install b { color: #fff; }
.install .x { margin-left: auto; font-size: 22px; color: #888; padding: 4px 6px; }
#toast { position: fixed; left: 50%; bottom: calc(var(--bot) + 84px); z-index: 40; translate: -50% 20px; opacity: 0; padding: 11px 16px; border-radius: 14px; background: #fff; color: #000; font-weight: 600; font-size: 14px; transition: opacity .25s, translate .35s var(--ease); pointer-events: none; max-width: 90vw; text-align: center; }
#toast.on { opacity: 1; translate: -50% 0; }
/* changement de page : simple fondu, rien ne bouge */
.fade-in { animation: fin .16s ease-out; }
@keyframes fin { from { opacity: .35; } }

/* ---------- mes clips (sur le PC) */
.sec { margin: 16px 16px 8px; font: 600 24px/1.1 Funnel, Inter, sans-serif; }
.pcstate { display: flex; align-items: center; gap: 9px; margin: 0 16px 12px; padding: 10px 12px; border-radius: 12px; background: var(--l1); border: 1px solid var(--line); font-size: 13px; color: #c9c9ce; }
.pcstate i { width: 9px; height: 9px; border-radius: 50%; background: #6b6b72; flex: none; }
.pcstate.on i { background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 16px 10px; }
.pcard { display: block; }
.pcard:active { opacity: .7; }
.pth { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--l2) center / cover; overflow: hidden; }
.pth em { position: absolute; right: 6px; bottom: 6px; padding: 2px 6px; border-radius: 5px; background: rgba(0,0,0,.7); font: 600 11px Inter, sans-serif; font-style: normal; }
.pth .onl { position: absolute; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 8px; border-radius: 999px; background: rgba(8,8,10,.82); color: #fff; border: 1.5px solid var(--lime); font-size: 10.5px; font-weight: 700; backdrop-filter: blur(6px); }
.pth .onl svg { width: 11px; height: 11px; color: var(--lime); }
.pcard strong { display: block; margin-top: 7px; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover; display: grid; place-items: center; }
.pv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.pv-play { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px 0 14px; border-radius: 23px; background: rgba(0,0,0,.65); backdrop-filter: blur(8px); font-weight: 700; border: 1px solid rgba(255,255,255,.2); }
.pv-play svg { width: 22px; height: 22px; color: var(--lime); }
.pv-st { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 13px; color: #ddd; text-shadow: 0 1px 4px #000; }
.pcinfo { padding: 14px 16px 10px; }
.pcinfo h2 { margin: 0 0 4px; font: 600 21px/1.2 Funnel, Inter, sans-serif; }
.pcinfo small { color: var(--muted); }
.jobst { padding: 20px 0 26px; text-align: center; color: #d0d0d5; }
.jobst .spin { margin: 0 auto 14px; }
.jobst .bad { color: #ff6b6b; }
.trim { display: grid; gap: 12px; padding: 14px 2px 4px; }
.trim label { display: grid; gap: 6px; font-size: 13.5px; color: #c9c9ce; }
.trim label b { color: #fff; font-variant-numeric: tabular-nums; }
.trim input[type=range] { width: 100%; accent-color: var(--lime); }
.tlen { margin: 0; color: var(--muted); font-size: 13px; }
.tlen b { color: var(--lime); }

/* ---------- montage rapide */
.montage-cta { width: calc(100% - 32px); margin: 4px 16px 6px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left;
  padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(var(--lime-rgb),.22), rgba(var(--lime-rgb),.05)); border: 1px solid rgba(var(--lime-rgb),.35); }
.montage-cta span { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lime); color: #000; font-size: 20px; }
.montage-cta b { font-size: 16px; } .montage-cta small { color: #c9c9ce; font-size: 12.5px; }
.mstage { position: sticky; top: -1px; z-index: 2; padding: 4px 0 6px; background: var(--l1); }
.mprev { position: relative; margin: 0 auto; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; touch-action: none; transition: width .3s var(--ease); }
.mprev.tall { width: 44%; aspect-ratio: 9 / 16; }
.mprev .mbg { position: absolute; inset: -10%; background: center / cover; display: none; }
.mprev.tall .mbg { display: block; }
.mprev.tall.crop .mbg { display: none; }
.mprev .mfg { position: absolute; background: center / 100% 100% no-repeat; pointer-events: none; outline: 1px dashed rgba(255,255,255,.35); }
.mtxt { position: absolute; left: 4%; right: 4%; text-align: center; line-height: 1.1; color: #fff; -webkit-text-stroke: 1.2px #000; paint-order: stroke; text-shadow: 0 2px 0 #000; pointer-events: none; overflow-wrap: anywhere; }
.mtxt[data-pos="top"] { top: 13%; } .mtxt[data-pos="middle"] { top: 50%; translate: 0 -50%; } .mtxt[data-pos="bottom"] { bottom: 15%; }
.mhint { margin: 6px 0 0; text-align: center; font-size: 11.5px; color: #8f8f96; }
.mrow { display: flex; align-items: center; gap: 10px; }
.mrow input[type=range] { flex: 1; accent-color: var(--lime); }
.msm { font-size: 12px; font-weight: 800; color: #9b9ba2; } .mbig { font-size: 20px; font-weight: 800; color: #9b9ba2; }
.fontrow { display: flex; gap: 7px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: none; }
.fontrow::-webkit-scrollbar { display: none; }
.fontrow .chip { flex: none; }
.colrow { display: flex; gap: 10px; padding: 4px 0 8px; }
.col { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 3px solid var(--l1); box-shadow: 0 0 0 1.5px rgba(255,255,255,.25); }
.col.on { box-shadow: 0 0 0 2.5px #fff; }
.mlab { margin: 14px 0 7px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8f8f96; }
.mlab[hidden], .chips[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { height: 36px; padding: 0 14px; border-radius: 18px; background: var(--l3); font-weight: 600; font-size: 13.5px; }
.chip.on { background: #fff; color: #000; }
.chip[data-prem] { opacity: .55; }
.fxrow { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.fxrow::-webkit-scrollbar { display: none; }
.fx { flex: none; width: 74px; display: grid; gap: 5px; font-size: 11.5px; color: #c9c9ce; text-align: center; }
.fx span { aspect-ratio: 1; border-radius: 12px; background: #222 center / cover; border: 2px solid transparent; }
.fx.on span { border-color: var(--lime); }
.fx.on { color: #fff; font-weight: 700; }
.fx[data-prem] span { opacity: .55; }

/* ---------- icônes de KLYP sur PC */
.ri { display: block; width: 25px; height: 25px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.tabs a .ri, .tabs a svg { width: 25px; height: 25px; }
.tabs a.on .ri { background: var(--lime); }
.kcrown { display: inline-block; flex: none; width: 1.15em; height: 1em; vertical-align: -.1em; background: var(--lime); -webkit-mask: url(ic/crown.png) center / contain no-repeat; mask: url(ic/crown.png) center / contain no-repeat; }
.menu .ico svg { width: 15px; height: 15px; }
.menu .ico .kcrown { width: 17px; height: 15px; }
.acts button svg { width: 21px; height: 21px; fill: currentColor; stroke: none; }
.acts button.saved svg { fill: var(--lime); stroke: none; }
.bar .ib svg, .composer button svg { width: 18px; height: 18px; }

/* ---------- abonnés cliquables, modifier le profil */
.pstats a { display: block; }
.pstats a:active { opacity: .6; }
.ed-ban { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 1; border-radius: 14px; background: linear-gradient(135deg, rgba(var(--lime-rgb),.35), #1a1a1f 60%) center / cover; overflow: hidden; }
.ed-av { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 10px 14px; border-radius: 50%; border: 4px solid var(--l1); background: var(--l3) center / cover; overflow: hidden; }
.ed-ban span, .ed-av span { padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.6); font-size: 12.5px; font-weight: 700; }
.ed-av span { padding: 4px 8px; font-size: 11px; }


/* ---------- paramètres */
.set { padding: 4px 16px 30px; }
.set h3 { margin: 22px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8f8f96; }
.set .sub { margin: -4px 0 10px; color: var(--muted); font-size: 13px; }
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.th { position: relative; display: grid; justify-items: center; gap: 7px; padding: 12px 6px; border-radius: 14px; background: var(--l1); border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; }
.th span { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c), transparent 55%); }
.th.on { border-color: var(--c); background: color-mix(in srgb, var(--c), transparent 90%); }
.icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
.ic { position: relative; display: grid; justify-items: center; gap: 5px; font-size: 11px; color: #c9c9ce; }
.ic img { width: 100%; max-width: 64px; aspect-ratio: 1; border-radius: 22%; border: 2px solid transparent; }
.ic.on img { border-color: var(--lime); }
.ic.on { color: #fff; font-weight: 700; }
.ic span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk { position: absolute; top: 2px; right: 4px; font-style: normal; font-size: 12px; }
[data-prem] img, [data-prem] span:first-child { opacity: .55; }
.set .menu { margin: 0; }
.set .menu .row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.set .menu > :last-child { border-bottom: 0; }
.set .menu small { display: block; margin-top: 2px; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.sw { width: 50px; height: 30px; border-radius: 15px; background: #3d3d42; position: relative; flex: none; transition: background .22s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.sw.on { background: var(--lime); }
.sw.on::after { transform: translateX(20px); }
.ver { margin: 24px 0 0; text-align: center; color: #5f5f66; font-size: 12px; }
.set .menu .sw { width: 50px; height: 30px; padding: 0; border: 0; flex: none; display: block; }
.sec { display: flex; align-items: center; gap: 10px; }
.pcdot { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--l1); border: 1px solid var(--line); font: 600 12px Inter, sans-serif; color: #9b9ba2; }
.pcdot i { width: 7px; height: 7px; border-radius: 50%; background: #6b6b72; }
.pcdot.on { color: #d6d6da; }
.pcdot.on i { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
