@font-face { font-family: 'Luckiest Guy'; src: url('../fonts/luckiest-guy.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #1A1020;
  --bg2: #24162D;
  --card: #2D1D38;
  --card2: #382546;
  --line: #4A3359;
  --text: #FFF4E8;
  --muted: #C7B3CF;
  --orange: #FF9F1A;
  --pink: #FF4F8B;
  --yellow: #FFE14D;
  --green: #3CDB7B;
  --red: #FF4D5E;
  --violet: #8B6CFF;
  --r: 18px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .45);
  --ink: #1E1419;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Fredoka', 'Segoe UI', system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, #3B1F4A 0%, transparent 60%),
              radial-gradient(900px 600px at 110% 110%, #4A1F33 0%, transparent 60%), var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Pattes en fond */
.paws {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='%23fff'%3E%3Cellipse cx='40' cy='52' rx='14' ry='12'/%3E%3Ccircle cx='24' cy='34' r='6'/%3E%3Ccircle cx='36' cy='26' r='6'/%3E%3Ccircle cx='48' cy='27' r='6'/%3E%3Ccircle cx='58' cy='36' r='6'/%3E%3Cellipse cx='104' cy='112' rx='12' ry='10' transform='rotate(-20 104 112)'/%3E%3Ccircle cx='90' cy='98' r='5'/%3E%3Ccircle cx='99' cy='90' r='5'/%3E%3Ccircle cx='110' cy='92' r='5'/%3E%3Ccircle cx='118' cy='101' r='5'/%3E%3C/g%3E%3C/svg%3E");
  animation: drift 60s linear infinite;
}
@keyframes drift { to { background-position: 140px -280px; } }

/* En-tête */
.top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px clamp(14px, 3vw, 32px); }
.brand { display: flex; align-items: center; gap: 14px; }
.logo { position: relative; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--pink)); display: grid; place-items: center; font-size: 28px; border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink); animation: bob 3s ease-in-out infinite; }
.logo .ear { position: absolute; top: -12px; width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 22px solid var(--orange); filter: drop-shadow(0 -3px 0 var(--ink)); }
.logo .ear.l { left: 2px; transform: rotate(-18deg); } .logo .ear.r { right: 2px; transform: rotate(18deg); border-bottom-color: var(--pink); }
@keyframes bob { 50% { transform: translateY(-4px) rotate(-3deg); } }
h1 { font-family: 'Luckiest Guy', sans-serif; font-weight: 400; font-size: clamp(24px, 3.2vw, 36px); letter-spacing: .5px; line-height: 1; color: var(--yellow); text-shadow: 3px 3px 0 var(--ink); }
h1 span { color: var(--text); }
.brand p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.top-right { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); font-weight: 600; font-size: 13px; white-space: nowrap; }
.pill.gold { border-color: #8C6A1F; color: var(--yellow); }
.pill.ia { border-color: var(--violet); color: #CDBFFF; }

/* Mise en page */
.layout { position: relative; z-index: 1; display: grid; gap: 20px; padding: 0 clamp(12px, 2.4vw, 32px) 24px;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 400px) minmax(340px, 1.05fr); align-items: start; max-width: 1640px; margin: 0 auto; }
.panel { background: linear-gradient(180deg, var(--card), var(--bg2)); border: 2px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px; }
.studio { display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 120px); overflow: auto; position: sticky; top: 12px; }
.results { max-height: calc(100vh - 120px); overflow: auto; position: sticky; top: 12px; }
@media (max-width: 1240px) {
  .layout { grid-template-columns: minmax(320px, 1fr) minmax(300px, 400px); }
  .results { grid-column: 1 / -1; position: static; max-height: none; }
}
@media (max-width: 820px) {
  .layout { grid-template-columns: 1fr; }
  .preview { order: -1; }
  .studio, .results { position: static; max-height: none; }
}

/* Étapes */
.step { background: var(--bg2); border: 2px solid var(--line); border-radius: 14px; padding: 4px 12px 12px; }
.step > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 700; font-size: 17px; }
.step > summary::-webkit-details-marker { display: none; }
.step > summary small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 13px; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step > summary::after { content: '▾'; color: var(--muted); transition: transform .2s; }
.step:not([open]) > summary::after { transform: rotate(-90deg); }
.num { width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; font-family: 'Luckiest Guy'; font-size: 15px; border: 2px solid var(--ink); flex: none; }
.sub > summary { cursor: pointer; color: var(--muted); font-size: 14px; padding: 6px 0; }

.field { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.field > span { font-weight: 600; }
input[type=text], select, textarea { width: 100%; background: #1C1124; border: 2px solid var(--line); border-radius: 12px; padding: 9px 11px; color: var(--text); font-size: 14px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 44px; line-height: 1.35; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 159, 26, .25); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hint { color: var(--muted); font-size: 12.5px; margin-top: 8px; line-height: 1.4; }

/* Boutons */
.btn { cursor: pointer; border: 3px solid var(--ink); border-radius: 14px; padding: 10px 16px; font-weight: 700; background: var(--card2); color: var(--text); box-shadow: 0 4px 0 var(--ink); transition: transform .08s, box-shadow .08s, filter .15s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn:hover:not(:disabled) { filter: brightness(1.12); transform: translateY(-1px) rotate(-.4deg); }
.btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: linear-gradient(135deg, var(--orange), var(--pink)); color: #fff; text-shadow: 1px 1px 0 rgba(0,0,0,.35); }
.btn.ghost { background: transparent; border-color: var(--line); box-shadow: 0 3px 0 rgba(0,0,0,.35); }
.btn.small { padding: 6px 10px; font-size: 13px; border-width: 2px; border-radius: 10px; box-shadow: 0 2px 0 var(--ink); }
.btn.full { width: 100%; margin-top: 10px; }
.btn.xl { font-size: 18px; padding: 14px 18px; flex: 1; font-family: 'Luckiest Guy'; font-weight: 400; letter-spacing: .5px; }
.btn.round { width: 46px; height: 46px; border-radius: 50%; padding: 0; font-size: 18px; flex: none; }
.cta-bar { position: sticky; bottom: -14px; display: flex; gap: 8px; padding: 10px 0 2px; background: linear-gradient(180deg, transparent, var(--bg2) 30%); }
.btn.xl.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.03); box-shadow: 0 4px 0 var(--ink), 0 0 30px rgba(255, 79, 139, .55); } }

/* Onglets */
.tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.tabs.mini { margin: 4px 0 8px; }
.tab { cursor: pointer; flex: 1; padding: 9px 10px; border-radius: 12px; border: 2px solid var(--line); background: transparent; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tab.active { background: var(--orange); color: var(--ink); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.score-chip { background: var(--ink); color: var(--yellow); border-radius: 8px; padding: 1px 6px; margin-left: 4px; font-size: 12px; }

/* Puces */
.chips { display: flex; gap: 6px; }
.chips.scroll { overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.chips.wrap { flex-wrap: wrap; }
.chip { cursor: pointer; padding: 6px 11px; border-radius: 999px; border: 2px solid var(--line); background: #1C1124; font-size: 13px; white-space: nowrap; transition: transform .1s, background .15s; }
.chip:hover { transform: translateY(-1px); }
.chip.active { background: var(--yellow); color: var(--ink); border-color: var(--ink); font-weight: 700; }

/* Bibliothèque de concepts */
.concepts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 8px; max-height: 330px; overflow: auto; padding: 2px; }
.concept { cursor: pointer; text-align: left; border: 2px solid var(--line); background: #1C1124; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 4px; transition: transform .12s, border-color .15s, background .15s; }
.concept:hover { transform: translateY(-2px) rotate(-.6deg); border-color: var(--orange); }
.concept.active { border-color: var(--ink); background: linear-gradient(135deg, #FFB347, #FF6F91); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.concept .e { font-size: 26px; }
.concept b { font-size: 13.5px; line-height: 1.2; }
.concept small { font-size: 11px; opacity: .8; }

/* Pelages */
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { cursor: pointer; width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line); position: relative; transition: transform .12s; }
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: var(--yellow); box-shadow: 0 0 0 3px var(--ink), 0 0 14px rgba(255, 225, 77, .6); }

/* Interrupteurs */
.toggle { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin-top: 10px; font-size: 14px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .sw { flex: none; width: 46px; height: 26px; border-radius: 999px; background: #47354F; border: 2px solid var(--ink); position: relative; transition: background .2s; margin-top: 2px; }
.toggle .sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.toggle input:checked + .sw { background: var(--green); }
.toggle input:checked + .sw::after { transform: translateX(20px); }
.toggle input:focus-visible + .sw { box-shadow: 0 0 0 3px rgba(255, 159, 26, .5); }
.toggle b { display: block; } .toggle em { display: block; font-style: normal; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.toggle.tiny { margin: 0; align-items: center; font-size: 13px; color: var(--muted); }
.toggle.tiny .sw { width: 38px; height: 22px; margin: 0; } .toggle.tiny .sw::after { width: 14px; height: 14px; } .toggle.tiny input:checked + .sw::after { transform: translateX(16px); }

/* Aperçu téléphone */
.preview { display: flex; flex-direction: column; align-items: center; gap: 12px; position: sticky; top: 12px; }
@media (max-width: 820px) { .preview { position: static; } }
.phone { width: min(100%, 380px); background: #0B0710; border-radius: 46px; border: 4px solid var(--ink); box-shadow: 0 0 0 6px #3A2A44, var(--shadow), 0 0 80px rgba(255, 79, 139, .18); padding: 30px 10px; position: relative; }
@media (max-width: 820px) { .phone { width: min(78vw, 360px); } }
.notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 90px; height: 14px; background: #241A2C; border-radius: 14px; z-index: 3; }
.screen { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: #000; }
#stage { width: 100%; height: 100%; display: block; }
.big-play { position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; border: 4px solid var(--ink); background: rgba(255, 79, 139, .92); color: #fff; font-size: 38px; cursor: pointer; box-shadow: 0 6px 0 var(--ink); animation: pulse 1.6s infinite; }
.busy { position: absolute; inset: 0; background: rgba(20, 10, 25, .82); backdrop-filter: blur(4px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px; z-index: 4; }
.spinner { font-size: 46px; animation: spin 1.1s cubic-bezier(.5, .1, .5, .9) infinite; }
@keyframes spin { 50% { transform: rotate(180deg) scale(1.2); } to { transform: rotate(360deg); } }
.busy p { font-weight: 600; }
.busy .bar { width: 70%; height: 10px; border-radius: 99px; background: #3A2A44; overflow: hidden; border: 2px solid var(--ink); }
.busy .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), var(--pink)); transition: width .2s; }
.safe > div { position: absolute; background: repeating-linear-gradient(45deg, rgba(255, 77, 94, .28) 0 10px, rgba(255, 77, 94, .12) 10px 20px); border: 1px dashed rgba(255, 255, 255, .6); pointer-events: none; }
.sz-top { top: 0; left: 0; right: 0; height: 7%; } .sz-right { right: 0; top: 40%; bottom: 20%; width: 15%; } .sz-bottom { bottom: 0; left: 0; right: 0; height: 18%; }

.transport { width: min(100%, 380px); display: flex; align-items: center; gap: 10px; }
input[type=range] { flex: 1; accent-color: var(--orange); height: 6px; }
.time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; min-width: 82px; text-align: right; }
.preview-actions { width: min(100%, 380px); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.status { min-height: 20px; font-size: 13.5px; color: var(--muted); text-align: center; max-width: 380px; }
.status.err { color: var(--red); } .status.ok { color: var(--green); }

/* Séquences */
.beats { display: flex; flex-direction: column; gap: 8px; }
.empty { text-align: center; color: var(--muted); padding: 40px 16px; border: 2px dashed var(--line); border-radius: 14px; line-height: 1.6; }
.beat { border: 2px solid var(--line); border-radius: 14px; background: #1C1124; padding: 8px 10px; transition: border-color .15s, background .15s; animation: popIn .3s ease both; }
@keyframes popIn { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.beat.current { border-color: var(--orange); background: #2A1830; box-shadow: 0 0 0 2px rgba(255, 159, 26, .25); }
.beat-head { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.beat-head .idx { font-family: 'Luckiest Guy'; color: var(--yellow); }
.role { padding: 2px 8px; border-radius: 99px; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; }
.role.hook { background: #FF4D5E; } .role.setup { background: #6C5CE7; } .role.escalade { background: #2D98DA; } .role.twist { background: #F7B731; color: var(--ink); } .role.cta { background: #20BF6B; }
.beat-head .dur { color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.beat-head select { width: auto; padding: 3px 6px; font-size: 12px; border-radius: 8px; }
.ib { cursor: pointer; background: transparent; border: none; font-size: 14px; padding: 2px 4px; border-radius: 6px; opacity: .75; }
.ib:hover { opacity: 1; background: var(--card2); }
.beat textarea { margin-top: 6px; font-size: 14.5px; min-height: 40px; }
.beat-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 5px; margin-top: 6px; }
.beat-opts select { padding: 5px 6px; font-size: 12px; border-radius: 8px; }

/* Viralité */
.score-card { display: flex; gap: 14px; align-items: center; background: #1C1124; border: 2px solid var(--line); border-radius: 16px; padding: 12px; }
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 12; }
.ring .bg { stroke: #3A2A44; }
.ring .fg { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .9s cubic-bezier(.3, 1.2, .4, 1), stroke .3s; }
.ring > div { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 34px; }
.ring b { font-family: 'Luckiest Guy'; font-size: 38px; font-weight: 400; } .ring small { color: var(--muted); }
.score-info { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.level { align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-weight: 700; border: 2px solid var(--ink); }
.lvl-1 { background: #9AA3B2; color: var(--ink); } .lvl-2 { background: #45AAF2; } .lvl-3 { background: var(--orange); color: var(--ink); } .lvl-4 { background: linear-gradient(90deg, #FFE14D, #FF9F1A); color: var(--ink); animation: shine 2s infinite; }
@keyframes shine { 50% { filter: brightness(1.2); } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kpis div { background: var(--bg2); border-radius: 10px; padding: 6px; text-align: center; }
.kpis b { display: block; font-size: 18px; } .kpis small { color: var(--muted); font-size: 10.5px; line-height: 1.2; display: block; }
.results h3 { font-size: 15px; margin: 14px 0 6px; }
.retention { width: 100%; height: 120px; background: #1C1124; border: 2px solid var(--line); border-radius: 12px; }
.row-between { display: flex; justify-content: space-between; align-items: center; }
.criteria { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.criteria li { display: flex; gap: 8px; align-items: center; background: #1C1124; border: 2px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: 13px; }
.criteria li.ok { opacity: .72; }
.criteria .ic { font-size: 16px; flex: none; }
.criteria .tx { flex: 1; } .criteria .tx small { display: block; color: var(--muted); font-size: 11.5px; }
.criteria .pts { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; flex: none; }

/* Publication */
.copyrow { display: flex; gap: 6px; align-items: flex-start; }
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.downloads .btn { padding: 9px 6px; font-size: 13px; }
.platforms { display: grid; gap: 6px; margin-top: 14px; }
.platforms div { background: #1C1124; border: 2px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.platforms small { display: block; color: var(--muted); font-size: 12px; }

/* Pied, toasts, confettis */
.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px clamp(14px, 3vw, 32px) 26px; color: var(--muted); font-size: 12.5px; max-width: 1640px; margin: 0 auto; }
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 50; align-items: center; pointer-events: none; }
.toast { background: var(--card2); border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); border-radius: 14px; padding: 10px 16px; font-weight: 600; animation: toastIn .35s cubic-bezier(.3, 1.6, .5, 1) both; max-width: 90vw; }
.toast.ok { background: #1F6B45; } .toast.err { background: #8A1F2C; } .toast.gold { background: linear-gradient(90deg, #FFB347, #FF6F91); color: var(--ink); }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } }
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

::-webkit-scrollbar { width: 9px; height: 9px; } ::-webkit-scrollbar-thumb { background: var(--line); border-radius: 9px; } ::-webkit-scrollbar-track { background: transparent; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Sélecteur de voix comiques ===== */
.cast { display: grid; gap: 6px; margin: 10px 0 4px; font-size: 13px; }
.cast .muted { opacity: .7; }
.castline { display: grid; grid-template-columns: 110px 1fr; gap: 2px 8px; align-items: baseline; background: #1C1124; border: 2px solid var(--line); border-radius: 12px; padding: 7px 10px; }
.castline b { color: var(--yellow); }
.castline em { grid-column: 2; font-style: normal; font-size: 12px; opacity: .75; }
.role-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 8px; }
.voice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 360px; overflow-y: auto; padding: 2px 4px 6px 2px; scrollbar-width: thin; }
.vcard { position: relative; display: flex; gap: 8px; align-items: flex-start; cursor: pointer; padding: 9px 34px 9px 9px; border-radius: 14px; border: 2px solid var(--line); background: #1C1124; transition: transform .1s, background .15s, border-color .15s; outline: none; }
.vcard:hover, .vcard:focus-visible { transform: translateY(-1px); border-color: var(--yellow); }
.vcard .ve { font-size: 24px; line-height: 1; flex: none; }
.vcard .vl { display: grid; gap: 2px; min-width: 0; }
.vcard b { font-size: 13px; line-height: 1.15; }
.vcard small { font-size: 11px; opacity: .7; line-height: 1.25; }
.vcard.active { background: linear-gradient(135deg, #FFB347, #FF6F91); color: var(--ink); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.vcard.active small { opacity: .85; }
.vcard.auto::after { content: 'AUTO'; position: absolute; left: 8px; bottom: -8px; background: var(--ink); color: var(--yellow); font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 6px; letter-spacing: .5px; }
.vplay { position: absolute; top: 7px; right: 7px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800; cursor: pointer; display: grid; place-items: center; padding: 0; }
.vplay:hover { transform: scale(1.12); }
.vplay.loading { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hint.small { font-size: 12px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--yellow); text-decoration: underline; cursor: pointer; font: inherit; }
