/* (08/11/2026) Coffre Velora dans la messagerie (public/work.js, public/telegram.js) : « + » ouvre une feuille d'ajout
   (en bas de l'écran sur le téléphone, petit menu au-dessus de la saisie sur l'ordinateur), les médias choisis montrent
   leur origine. Cibles tactiles de 48 px, zones sûres de l'iPhone. */
.vsheet { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .45); animation: vsheet-fade .16s ease-out; }
.vsheet[hidden] { display: none; }
.vsheet-in { width: 100%; max-width: 560px; max-height: calc(100dvh - 40px); overflow-y: auto; background: var(--surface, var(--bg)); color: var(--fg); border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; padding: 8px 10px calc(10px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg, 0 -8px 30px rgba(0, 0, 0, .3)); animation: vsheet-up .2s cubic-bezier(.2, .8, .2, 1); }
.vsheet-in::before { content: ""; display: block; width: 38px; height: 4px; border-radius: 4px; background: var(--line); margin: 2px auto 8px; }
.vsheet-t { margin: 0 6px 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.vsheet [data-ib-add] { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 10px; border: 0; border-radius: 12px; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.vsheet [data-ib-add]:hover, .vsheet [data-ib-add]:focus-visible { background: var(--surface-2); outline: none; }
.vsheet [data-ib-add] svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--accent); }
.vsheet [data-ib-add] span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vsheet [data-ib-add] b { font-weight: 600; font-size: 15px; }
.vsheet [data-ib-add] small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.vsheet .vsheet-x { justify-content: center; min-height: 48px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--muted); font-weight: 600; }
@keyframes vsheet-up { from { transform: translateY(24px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes vsheet-fade { from { opacity: 0; } to { opacity: 1; } }
/* ordinateur : un menu au-dessus de la barre de saisie (placé par public/work.js), sans fond assombri */
.vsheet.pop { inset: auto; display: block; background: none; animation: none; }
.vsheet.pop .vsheet-in { width: 340px; border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow-md, 0 8px 24px rgba(0, 0, 0, .25)); animation: vsheet-fade .12s ease-out; }
.vsheet.pop .vsheet-in::before { display: none; }
.vsheet.pop [data-ib-add] { min-height: 48px; }
.vsheet.pop .vsheet-x { display: none; }
@media (prefers-reduced-motion: reduce) { .vsheet, .vsheet-in { animation: none; } }
/* les médias choisis : origine (Coffre Velora), vidéo, note sous la liste */
.mc-pk.vel::after { content: "Velora"; position: absolute; left: 4px; top: 4px; padding: 1px 5px; border-radius: 6px; font-size: 9.5px; font-weight: 600; letter-spacing: .02em; background: rgba(0, 0, 0, .55); color: #fff; pointer-events: none; }
.mc-pk .mc-pkplay { position: absolute; left: 0; top: 0; width: 76px; height: 76px; display: grid; place-items: center; font-style: normal; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); pointer-events: none; }
.mc-pk-note { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.4; }
.mc-pk-note:empty { display: none; }
.mc-vrow2 { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.mc-vrow2 .btn-main, .mc-vrow2 .btn-ghost { min-height: 40px; }
/* Telegram : un média du Coffre Velora joint */
.tg-vatt img { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; vertical-align: middle; margin-right: 2px; }
.tg-vatt small { font-size: 11px; }
/* (la liste des médias choisis défile en largeur : sans hauteur réservée, la colonne la réduisait à rien) */
#ib-pick .mc-pk-list { flex: none; min-height: 84px; }

/* (15/11/2026) chaque média : « Gratuit » (vert) ou « Payant » (violet), touché pour changer ; la ligne de résumé avertit
   quand des médias payants n'ont pas de prix */
html body .app .mc-pk .mc-pkpv { width: 100%; min-height: 26px !important; padding: 3px 6px; border-radius: 999px; font-size: 11.5px; font-weight: 600; text-align: center; border: 1px solid color-mix(in srgb, var(--accent, #787877) 55%, transparent); color: var(--accent, #787877); background: color-mix(in srgb, var(--accent, #787877) 12%, transparent); }
html body .app .mc-pk .mc-pkpv.on { border-color: color-mix(in srgb, var(--ok, #22c55e) 55%, transparent); color: var(--ok, #22c55e); background: color-mix(in srgb, var(--ok, #22c55e) 10%, transparent); }
html body .app .mc-pk-note.warn { color: var(--warn, #f59e0b); }
html body .app .tg-freechip { margin-left: 6px; min-height: 24px !important; padding: 2px 8px; border-radius: 999px; font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; border: 1px solid color-mix(in srgb, var(--accent, #787877) 55%, transparent); color: var(--accent, #787877); background: color-mix(in srgb, var(--accent, #787877) 12%, transparent); }
html body .app .tg-freechip.on { border-color: color-mix(in srgb, var(--ok, #22c55e) 55%, transparent); color: var(--ok, #22c55e); background: color-mix(in srgb, var(--ok, #22c55e) 10%, transparent); }
