:root {
  --bg: #f4f5f7; --panel: #ffffff; --panel2: #eceef2; --ink: #16181d; --muted: #6b7280; --line: #dfe2e8;
  --accent: #4f46e5; --accent-ink: #ffffff; --bad: #dc2626; --ok: #16a34a; --warn: #d97706;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.04);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1115; --panel: #181b21; --panel2: #21252d; --ink: #e8eaee; --muted: #8b93a1; --line: #2a2f39;
    --accent: #7c83ff; --accent-ink: #0f1115; --bad: #f87171; --ok: #4ade80; --warn: #fbbf24;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1115; --panel: #181b21; --panel2: #21252d; --ink: #e8eaee; --muted: #8b93a1; --line: #2a2f39;
  --accent: #7c83ff; --accent-ink: #0f1115; --bad: #f87171; --ok: #4ade80; --warn: #fbbf24; --shadow: none;
}
* { box-sizing: border-box; }
[x-cloak] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2 { margin: 0; font-weight: 650; }
h1 { font-size: 17px; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand .logo { display: block; width: auto; }
.top .who { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.top .who img { width: 24px; height: 24px; border-radius: 50%; }
.login #gbtn { margin: 12px 0 4px; min-height: 44px; }
h2 { font-size: 15px; margin-bottom: 10px; }
small, .muted { color: var(--muted); }
small { font-size: 12px; }

.top { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--panel); }
.top .sub { color: var(--muted); font-size: 12.5px; }

.layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 16px; padding: 16px 20px 40px; max-width: 1280px; margin: 0 auto; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; padding: 12px 16px 40px; } }
.side, .main > div { display: flex; flex-direction: column; gap: 14px; }
.main { min-width: 0; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.card.head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card.head h2 { margin: 0; font-size: 17px; }
.card.bad { border-color: var(--bad); color: var(--bad); }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

/* subida */
.drop { display: grid; place-items: center; min-height: 92px; text-align: center; border: 1.5px dashed var(--line); border-radius: 10px;
  color: var(--muted); cursor: pointer; padding: 12px; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.drop.has { border-style: solid; color: var(--ink); }
.presets { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.preset { display: grid; grid-template-columns: 18px 1fr; column-gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.preset input { grid-row: span 2; margin-top: 3px; accent-color: var(--accent); }
.preset.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.pname { font-weight: 600; }
.pdesc { color: var(--muted); font-size: 12px; }
.check { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; cursor: pointer; }
.check.dis { opacity: .55; cursor: default; }
.err { color: var(--bad); margin: 10px 0 0; font-size: 13px; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--panel2); color: var(--ink); font: inherit; font-weight: 550; cursor: pointer; text-decoration: none; }
.btn:hover:not(:disabled) { border-color: var(--accent); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.ghost { background: transparent; }
.btn.wide { width: 100%; padding: 10px; }
.btn.round { width: 44px; height: 44px; border-radius: 50%; padding: 0; font-size: 15px; }

/* historial */
.jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 340px; overflow: auto; }
.jobs li { display: grid; grid-template-columns: 10px 1fr auto; column-gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.jobs li:hover { background: var(--panel2); }
.jobs li.active { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.jname { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jmeta { grid-column: 2; color: var(--muted); font-size: 12px; }
.jstat { grid-row: 1; grid-column: 3; font-size: 12px; color: var(--warn); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); grid-row: span 2; }
.dot.done { background: var(--ok); } .dot.error { background: var(--bad); }
.dot.running { background: var(--warn); animation: pulse 1.2s infinite; } .dot.queued { background: var(--warn); }
@keyframes pulse { 50% { opacity: .35; } }

/* progreso */
.stage { font-weight: 600; margin-bottom: 8px; }
.bar { height: 8px; background: var(--panel2); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .5s ease; }

/* mixer */
.transport { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.spacer { flex: 1; }
.time { font-variant-numeric: tabular-nums; font-weight: 600; }
.track { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .track { grid-template-columns: 1fr; } }
.track.dim { opacity: .45; }
.tctl { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; }
.tname { font-weight: 650; color: hsl(var(--h) 60% 50%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tname { color: hsl(var(--h) 70% 68%); } }
.tbtns { display: flex; gap: 4px; }
.tctl input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); margin: 0; }
.mini { width: 26px; height: 24px; display: inline-grid; place-items: center; border-radius: 6px; border: 1px solid var(--line); background: var(--panel2);
  color: var(--ink); font: 700 11px/1 system-ui; cursor: pointer; text-decoration: none; padding: 0; }
.mini.on { background: var(--bad); border-color: var(--bad); color: #fff; }
.mini.solo.on { background: var(--warn); border-color: var(--warn); color: #111; }
.mini.dl:hover, .mini:hover { border-color: var(--accent); }
.wave { position: relative; height: 56px; background: var(--panel2); border-radius: 8px; overflow: hidden; cursor: pointer; }
.wave canvas { width: 100%; height: 100%; display: block; }
.wave .head { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink); pointer-events: none; }
.wload { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.more { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.more summary { cursor: pointer; font-weight: 600; margin-bottom: 4px; }

/* partitura */
.scorehead { display: flex; justify-content: space-between; align-items: baseline; }
.tempo { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 10px; }
.chip { padding: 5px 11px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel2); color: var(--ink); font: inherit; cursor: pointer; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip:disabled { opacity: .5; cursor: default; }
.dlrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pdf { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 9px 16px; border-radius: 9px; font-weight: 550; box-shadow: 0 6px 24px rgba(0,0,0,.3); }

/* modo práctica */
.deck { position: sticky; top: 0; z-index: 5; }
.pctl { display: flex; flex-shrink: 0; flex-wrap: wrap; align-items: center; gap: 6px; }
.zoom { display: flex; align-items: center; gap: 6px; }
.zoom input { width: 90px; accent-color: var(--accent); }
.stripwrap { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.strip { display: block; width: 100%; height: 210px; cursor: crosshair; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; padding: 6px 12px; border-top: 1px solid var(--line); background: var(--panel2); font-size: 12px; }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; background: hsl(var(--h) 65% 52%); }
.mixhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.mixhead h2 { margin: 0; margin-right: auto; }
.zoomctl { display: flex; align-items: center; gap: 6px; margin-right: 12px; font-size: 13px; color: var(--muted, #9aa); }
.zoomctl input { width: 110px; }
.zoomctl b { min-width: 46px; text-align: center; color: var(--ink); }
.noscore { margin: 8px 0 0; }
details > summary { cursor: pointer; font-weight: 600; margin-bottom: 8px; }
.tempo { margin-top: 10px; }
@media (max-width: 860px) { .deck { position: static; } }

/* navegación y biblioteca */
.top .tabs { margin-left: auto; display: flex; gap: 4px; }
.tabs button { background: transparent; border: 1px solid transparent; color: var(--muted); font: inherit; font-weight: 600; padding: 6px 14px; border-radius: 9px; cursor: pointer; }
.tabs button.on { background: var(--panel2); color: var(--ink); border-color: var(--line); }
.tabs .count { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 11px; text-align: center; }
.more-link { float: right; font-size: 12px; font-weight: 500; color: var(--accent); text-decoration: none; }
.library { max-width: 1280px; margin: 0 auto; padding: 16px 20px 40px; }
.libbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.search { flex: 1 1 220px; min-width: 0; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.star { background: none; border: 0; font-size: 20px; line-height: 1; color: var(--line); cursor: pointer; padding: 0; }
.star.on, .star:hover { color: var(--warn); }
.badge { padding: 2px 9px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); font-size: 11.5px; font-weight: 550; color: var(--muted); }
.badge.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.badge.warn { color: var(--warn); }
.badge.bad { color: var(--bad); }
@media (max-width: 860px) { .library { padding: 12px 16px 40px; } .top { flex-wrap: wrap; } .top .tabs { margin-left: 0; width: 100%; } }

/* biblioteca en tabla */
.count-line { margin-left: auto; font-size: 12.5px; }
.tablewrap { padding: 0; overflow-x: auto; }
table.lib { min-width: 100%; table-layout: fixed; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lib th, .lib td { padding: 9px 12px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid var(--line); }
.lib thead th { position: sticky; top: 0; background: var(--panel2); font-size: 11.5px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; user-select: none; }
.lib thead th:hover, .lib thead th.on { color: var(--ink); }
.lib thead .arr { font-style: normal; color: var(--accent); }
.lib th.num, .lib td.num { text-align: right; }
.lib tbody tr:last-child td { border-bottom: 0; }
.lib tbody tr:hover { background: var(--panel2); }
.lib tbody tr.active { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.lib .c-star { width: 34px; padding-right: 0; }
.lib .c-name { }
.lib .nm { display: flex; align-items: center; gap: 5px; min-width: 0; }
.lib .nm .tname-link { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; margin-right: 3px; }
.lib .nm .ico, .lib .nm .badge { flex: none; }
.lib .tname-link { font-weight: 650; color: var(--ink); text-decoration: none; margin-right: 6px; }
.lib .tname-link:hover { color: var(--accent); }
.lib .c-preset, .lib .c-date { color: var(--muted); }
.lib .c-act { text-align: right; width: 250px; overflow: visible; }
.lib .c-act > * { vertical-align: middle; margin-left: 4px; }
.btn.sm { padding: 4px 11px; font-size: 13px; }
.mini.del:hover:not(:disabled) { border-color: var(--bad); color: var(--bad); }
.mini:disabled { opacity: .4; cursor: default; }
.star { background: none; border: 0; font-size: 18px; line-height: 1; color: var(--line); cursor: pointer; padding: 0; }
.star.on, .star:hover { color: var(--warn); }

/* columnas de texto editables (artista / título) y formulario de edición */
.lib .c-artist, .lib .c-title { }
.modal { border: 1px solid var(--line); border-radius: 14px; padding: 0; background: var(--panel); color: var(--ink); width: min(440px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.modal::backdrop { background: rgba(0,0,0,.55); }
.mform { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.mform h2 { margin: 0 0 2px; }
.mform label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mform input { padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 400; }
.mform input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.mmsg { margin: 0; font-size: 12.5px; }
.mact { display: flex; align-items: center; gap: 8px; margin-top: 4px; }

/* selector de columnas */
.colmenu { position: relative; }
.colpop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 190px; padding: 8px; display: flex; flex-direction: column; gap: 2px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.colpop label { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 7px; cursor: pointer; }
.colpop label:hover { background: var(--panel2); }
.colpop input { accent-color: var(--accent); }
.linkbtn { margin-top: 4px; padding: 6px 8px; background: none; border: 0; border-top: 1px solid var(--line); color: var(--accent); font: inherit; font-size: 12.5px; text-align: left; cursor: pointer; }
.state { display: inline-flex; gap: 4px; vertical-align: middle; }
.fallback { color: var(--muted); font-style: italic; }

/* selector de instrumento y controles de guitarra */
.seg { display: inline-flex; flex-shrink: 0; max-width: 100%; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.segbtn { white-space: nowrap; background: var(--panel2); color: var(--ink); border: 0; padding: 6px 13px; font: inherit; font-weight: 600; cursor: pointer; border-right: 1px solid var(--line); }
.segbtn:last-child { border-right: 0; }
.segbtn:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 14%, var(--panel2)); }
.segbtn.on { background: var(--accent); color: var(--accent-ink); }
.segbtn.add { background: transparent; color: var(--accent); }
.segbtn:disabled { opacity: .5; cursor: default; }
.legend-items { display: contents; }
.gctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.gctl label, .gshift { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.gctl select { padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-weight: 500; }
.gshift b { min-width: 18px; text-align: center; color: var(--ink); font-variant-numeric: tabular-nums; }
.gctl select:disabled, .gshift .mini:disabled { opacity: .5; }

/* karaoke: letra sincronizada con pelotita que rebota */
.karaoke { display: flex; flex-direction: column; gap: 10px; }
.kstage { position: relative; min-height: 340px; padding: 24px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; overflow: hidden; }
.kline { display: flex; flex-wrap: wrap; justify-content: center; gap: .08em .3em; max-width: 920px; text-align: center; cursor: pointer;
  font-weight: 800; letter-spacing: .01em; line-height: 1.25; animation: kin .35s ease-out; }
.kline.prev { font-size: clamp(15px, 2vw, 20px); color: var(--muted); opacity: .35; }
.kline.next { font-size: clamp(18px, 2.6vw, 26px); color: var(--muted); opacity: .6; }
.kline.cur { font-size: clamp(26px, 4.4vw, 48px); color: var(--ink); padding-top: 34px; row-gap: 38px; }   /* espacio para la pelota sobre cada renglón */
.kline.cur.long { font-size: clamp(22px, 3.5vw, 38px); }
.kline.cur.done { opacity: .75; }
.kline:not(.cur):hover { opacity: .85; }
.kline.cur .kw { background: linear-gradient(90deg, var(--accent) calc(var(--p, 0) * 100%), var(--ink) calc(var(--p, 0) * 100%));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes kin { from { opacity: 0; } }                 /* solo opacidad: un transform movería las posiciones que usa la pelota */
.kball { position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; pointer-events: none; opacity: 0; will-change: transform;
  background: radial-gradient(circle at 35% 30%, #fff, var(--accent) 55%); box-shadow: 0 0 14px 2px color-mix(in srgb, var(--accent) 65%, transparent); }
.kdots { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; opacity: 0; transition: opacity .2s; }
.kdots.show { opacity: 1; }
.kdots i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); transition: background .15s, transform .15s; }
.kdots i.on { background: var(--accent); transform: scale(1.15); }
.kbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 8px; border-top: 1px solid var(--line); }
.kguide { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.kguide input { width: 130px; }
.kguide b { min-width: 34px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ltext { width: 100%; box-sizing: border-box; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 10px;
  font: 13px/1.5 ui-monospace, Consolas, monospace; resize: vertical; }

.engsel { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.engsel select { padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-weight: 500; }
.engsel select:disabled { opacity: .5; }

.sephint { margin: 10px 2px 6px; font-size: 12.5px; }

.pdfsel { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pdfsel select { padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-weight: 500; }

/* iconos de instrumentos (reemplazan las etiquetas verdes) y control de ancho de columnas */
.ico { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; color: var(--ok);
       background: color-mix(in srgb, var(--ok) 14%, transparent); vertical-align: middle; }
.ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lib thead th .rz { position: absolute; top: 0; right: -4px; width: 10px; height: 100%; cursor: col-resize; z-index: 2; touch-action: none; }
.lib thead th .rz::after { content: ""; position: absolute; left: 4px; top: 22%; height: 56%; width: 1px; background: var(--line); }
.lib thead th .rz:hover::after, body.resizing .lib thead th .rz::after { background: var(--accent); width: 2px; left: 4px; }
body.resizing { cursor: col-resize; user-select: none; }

/* cuota de canciones del mes (plan gratis / Pro) */
.quota { margin: -4px 0 10px; font-size: 12.5px; color: var(--muted); }
.quota.full { color: var(--warn); font-weight: 600; }

/* pie con enlaces legales */
.foot { text-align: center; padding: 18px 20px 32px; color: var(--muted); font-size: 12.5px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* proyectos bloqueados del plan gratis */
.jobs li.locked { opacity: .55; }

/* selector de idioma (cabecera de la app y de las páginas) */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; flex: none; }
.lang button { all: unset; cursor: pointer; padding: 5px 9px; font-size: 12px; font-weight: 600; color: var(--muted); }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--panel2); color: var(--ink); }

/* pantalla completa de la letra / partitura (API fullscreen, o capa fija donde no existe) */
.deck:fullscreen, .deck.pseudo-fs { position: fixed; inset: 0; z-index: 100; margin: 0; border-radius: 0; overflow: auto; background: var(--bg); display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 20px 4vw; }
.deck:fullscreen .karaoke, .deck.pseudo-fs .karaoke { flex: 1; }
.deck:fullscreen .kstage, .deck.pseudo-fs .kstage { flex: 1; min-height: 50vh; }
.deck:fullscreen .kline, .deck.pseudo-fs .kline { max-width: 94vw; }
.deck:fullscreen .kline.prev, .deck.pseudo-fs .kline.prev { font-size: clamp(20px, 2.6vw, 34px); }
.deck:fullscreen .kline.next, .deck.pseudo-fs .kline.next { font-size: clamp(24px, 3.6vw, 46px); }
.deck:fullscreen .kline.cur, .deck.pseudo-fs .kline.cur { font-size: clamp(36px, 6.4vw, 96px); }
.deck:fullscreen .kline.cur.long, .deck.pseudo-fs .kline.cur.long { font-size: clamp(30px, 5vw, 70px); }

.proctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 6px 0 10px; }
