/* SwarKeys Sequencer (beta): the sequencer page. A dark, calm studio look in the site's colours. */
:root {
  --bg: #0a0e1a; --panel: #111829; --panel-2: #161f35; --panel-3: #1c2742; --line: #243050; --line-2: #31406a;
  --ink: #e8ecf7; --muted: #8e9abb; --faint: #5f6b8c;
  --primary: #7d8aff; --primary-ink: #0b1020; --accent: #ffb43b; --accent-ink: #241600;
  --rec: #ff4d5e; --ok: #3cc9b3; --warn: #ffd27a;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --head-w: 268px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--ink); font: 13px/1.4 var(--font); overflow: hidden; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
.muted { color: var(--muted); }

.st-app { display: grid; grid-template-rows: auto auto minmax(140px, 1fr) var(--ed-h, 42vh) auto; height: 100vh; }

/* ------------------------------------------------------------ buttons, fields */
.st-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--line-2); background: var(--panel-2); cursor: pointer; white-space: nowrap; font-weight: 600;
  transition: background .12s, border-color .12s, color .12s;
}
.st-btn:hover { border-color: var(--primary); background: var(--panel-3); }
.st-btn:active { transform: translateY(1px); }
.st-btn:disabled { opacity: .45; cursor: default; transform: none; }
.st-btn.small { height: 26px; padding: 0 9px; font-size: 12px; border-radius: 7px; }
.st-btn.icon { padding: 0 9px; min-width: 30px; justify-content: center; }
.st-btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.st-btn.primary:hover { filter: brightness(1.08); }
.st-btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.st-btn.accent:hover { filter: brightness(1.06); }
.st-btn.danger { border-color: color-mix(in srgb, var(--rec) 60%, transparent); color: var(--rec); }
.st-btn[aria-pressed="true"] { background: color-mix(in srgb, var(--primary) 24%, var(--panel-2)); border-color: var(--primary); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.st-sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.fld { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.fld span { white-space: nowrap; }
.fld input, .fld select, .form-grid input, .form-grid select, .st-dialog input[type=search], .st-dialog select {
  height: 28px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--bg); padding: 0 8px;
  font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 500;
}
.fld input[type=number] { width: 62px; font-family: var(--mono); }
.mini { height: 24px; padding: 0 7px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--panel-3); cursor: pointer; font-size: 11px; font-weight: 700; }
.mini:hover { border-color: var(--primary); }
kbd { font: 600 11px var(--mono); background: var(--panel-3); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; }

/* ------------------------------------------------------------ top bar */
.st-top { display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: var(--panel); border-bottom: 1px solid var(--line); }
.st-logo { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
.st-logo svg { width: 28px; height: 28px; color: var(--primary); }
.st-logo b { font-weight: 800; }
.st-wm { white-space: nowrap; }
.st-logo i { font-style: normal; font-weight: 800; color: #ffb43b; }
.beta { flex: none; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 6px; background: #ffb43b; color: #1b2457; cursor: help; margin-left: -4px; }
.st-name { width: 220px; height: 32px; border-radius: 8px; border: 1px solid transparent; background: transparent; padding: 0 10px; font-size: 16px; font-weight: 700; }
.st-name:hover { border-color: var(--line-2); }
.st-name:focus { border-color: var(--primary); background: var(--bg); outline: none; }
.st-saved { color: var(--faint); font-size: 12px; min-width: 70px; }
.st-menu { margin-left: auto; display: flex; align-items: center; gap: 6px; }

/* ------------------------------------------------------------ transport */
.st-transport { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 8px 14px; background: linear-gradient(var(--panel), var(--panel-2)); border-bottom: 1px solid var(--line); }
.tp-group { display: flex; gap: 6px; }
.tp { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-3); cursor: pointer; }
.tp svg { width: 18px; height: 18px; fill: var(--ink); stroke: var(--ink); }
.tp:hover { border-color: var(--primary); }
.tp.play { background: var(--accent); border-color: var(--accent); width: 46px; }
.tp.play svg { fill: var(--accent-ink); stroke: none; }
.tp.play .i-stop, .tp.play.on .i-play { display: none; }
.tp.play.on .i-stop { display: block; }
.tp.rec svg { fill: var(--rec); stroke: none; }
.tp.rec.on { background: var(--rec); border-color: var(--rec); animation: pulse 1.1s infinite; }
.tp.rec.on svg { fill: #fff; }
.tp.rec.armed-wait svg { fill: var(--warn); }
.tp.toggle svg { fill: none; }
.tp.toggle[aria-pressed="true"] { background: color-mix(in srgb, var(--primary) 26%, var(--panel-3)); border-color: var(--primary); }
.tp.toggle[aria-pressed="true"] svg { stroke: #fff; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--rec) 25%, transparent); } }
.lcd { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; min-width: 132px; height: 42px; padding: 0 12px; border-radius: 10px;
  background: #05070d; border: 1px solid var(--line); font-family: var(--mono); box-shadow: inset 0 1px 6px rgba(0,0,0,.6); }
.lcd-pos { font-size: 19px; font-weight: 700; color: #b9f3ea; letter-spacing: .02em; line-height: 1.1; }
.lcd-time { font-size: 11px; color: var(--muted); }
.lcd.counting .lcd-pos { color: var(--warn); }
.tp-fields { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.tp-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.midi-led { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; max-width: 220px; }
.midi-led span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.midi-led i { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }
.midi-led.on i { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.midi-led.hit i { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* ------------------------------------------------------------ arrange: tracks + lanes */
.st-arrange { display: grid; grid-template-columns: var(--head-w) 1fr; grid-template-rows: auto 1fr; min-height: 0; border-bottom: 1px solid var(--line); }
.st-arrange.focus .ar-bar, .st-editor.focus .ed-bar { box-shadow: inset 0 2px 0 var(--primary); }
.ar-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 12px; background: var(--panel-2); border-bottom: 1px solid var(--line); min-width: 0; }
.seg.tools button { display: inline-flex; align-items: center; gap: 5px; padding: 0 9px; }
.seg.tools svg { width: 15px; height: 15px; flex: none; }
.ar-hint { flex: 1 1 200px; min-width: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
@media (max-width: 1180px) { .seg.tools button span { display: none; } }
@media (max-width: 1000px) { .ar-hint { display: none; } }
.chord-head { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.chord-head b { margin-right: auto; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.chord-head .st-btn { height: 22px; padding: 0 8px; font-size: 11px; }
.chord-lane { display: block; width: 100%; height: 30px; flex: none; border-bottom: 1px solid var(--line); }
.trk .follow { font: 700 11px var(--mono); color: var(--primary); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 4px; }
#lanes[data-tool="pencil"], #chords[data-tool="pencil"] { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M2 18l1.2-4.5L13.5 3.2l3.3 3.3L6.5 16.8z' fill='white' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") 2 18, crosshair; }
#lanes[data-tool="scissors"], #chords[data-tool="scissors"] { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cg fill='none' stroke='black' stroke-width='3.2'%3E%3Ccircle cx='6' cy='17' r='3'/%3E%3Ccircle cx='16' cy='17' r='3'/%3E%3Cpath d='M8 14.6L16 2M14 14.6L6 2'/%3E%3C/g%3E%3Cg fill='none' stroke='white' stroke-width='1.4'%3E%3Ccircle cx='6' cy='17' r='3'/%3E%3Ccircle cx='16' cy='17' r='3'/%3E%3Cpath d='M8 14.6L16 2M14 14.6L6 2'/%3E%3C/g%3E%3C/svg%3E") 11 8, crosshair; }
#lanes[data-tool="glue"], #chords[data-tool="glue"] { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cg fill='white' stroke='black' stroke-width='1.2'%3E%3Crect x='1' y='7' width='8' height='8' rx='1.5'/%3E%3Crect x='13' y='7' width='8' height='8' rx='1.5'/%3E%3Cpath d='M9 10h4v2H9z'/%3E%3C/g%3E%3C/svg%3E") 11 11, copy; }
#lanes[data-tool="eraser"], #chords[data-tool="eraser"] { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M2 13l8-8 6 6-6 6H6z' fill='%23ff9fb4' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E") 4 17, not-allowed; }
#lanes[data-tool="hand"], #chords[data-tool="hand"] { cursor: grab; }
.ctx-menu { position: fixed; z-index: 100; min-width: 230px; padding: 5px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.ctx-menu button { display: flex; width: 100%; justify-content: space-between; gap: 18px; padding: 6px 10px; border: 0; border-radius: 6px; background: none; cursor: pointer; text-align: left; font-size: 13px; }
.ctx-menu button:hover:not(:disabled), .ctx-menu button:focus-visible { background: var(--primary); color: var(--primary-ink); outline: none; }
.ctx-menu button:hover kbd, .ctx-menu button:focus-visible kbd { color: var(--primary-ink); }
.ctx-menu button:disabled { opacity: .4; cursor: default; }
.ctx-menu kbd { font: 11px var(--mono); color: var(--faint); }
.ctx-menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chips button { min-width: 38px; height: 28px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--panel-3); cursor: pointer; font-weight: 600; font-size: 12px; }
.chips button.on { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.chord-name { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.chord-name input { flex: 1; height: 40px; font: 700 20px var(--mono); padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg); }
label.check { display: flex; gap: 9px; align-items: flex-start; margin: 14px 0 4px; cursor: pointer; }
label.check input { margin-top: 3px; accent-color: var(--primary); }
.err { color: var(--rec); min-height: 1em; margin: 8px 0 0; font-size: 12px; }
.tr-head { display: flex; flex-direction: column; min-height: 0; background: var(--panel); border-right: 1px solid var(--line); }
.tr-head-top { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.tr-head-top .st-btn { margin-left: auto; }
.tr-list { overflow: hidden; flex: 1; position: relative; }
.trk { position: relative; display: grid; grid-template-columns: 6px 1fr auto; gap: 0 8px; height: var(--lane-h, 56px); padding: 6px 8px 6px 0;
  border-bottom: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.trk:hover { background: var(--panel-2); }
.trk.sel { background: color-mix(in srgb, var(--trk) 12%, var(--panel-2)); }
.trk .strip { grid-row: 1 / 3; background: var(--trk); border-radius: 0 3px 3px 0; }
.trk .t1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.trk .num { font: 700 11px var(--mono); color: var(--faint); width: 16px; }
.trk .tname { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk .inst { display: block; grid-column: 2; max-width: 100%; text-align: left; border: 0; background: none; padding: 0; color: var(--muted); font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.trk .inst:hover { color: var(--primary); text-decoration: underline; }
.trk .inst.none { color: var(--warn); }
.trk .ctl { grid-row: 1 / 3; grid-column: 3; display: grid; grid-template-columns: repeat(3, 22px) 18px; grid-template-rows: 22px 18px; gap: 3px; align-items: center; }
.trk .ctl button { height: 22px; border-radius: 5px; border: 1px solid var(--line-2); background: var(--panel-3); cursor: pointer; font: 700 10px var(--mono); padding: 0; }
.trk .ctl .m[aria-pressed="true"] { background: #4a5578; color: #fff; }
.trk .ctl .s[aria-pressed="true"] { background: var(--warn); color: #241600; border-color: var(--warn); }
.trk .ctl .r { color: var(--rec); font-size: 12px; }
.trk .ctl .r[aria-pressed="true"] { background: var(--rec); color: #fff; border-color: var(--rec); }
.trk .ctl .more { border: 0; background: none; color: var(--muted); font-size: 15px; }
.trk .ctl input[type=range] { grid-column: 1 / 5; width: 100%; height: 14px; accent-color: var(--trk); }
.trk .meter { position: absolute; right: 3px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.trk .meter i { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--ok); transition: height .08s; }
.timeline { position: relative; min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--bg); }
.ruler { display: block; width: 100%; height: 34px; flex: none; cursor: pointer; border-bottom: 1px solid var(--line); }
.lanes-wrap { position: relative; flex: 1; overflow: hidden; }
#lanes { display: block; position: absolute; inset: 0; width: 100%; height: 100%; cursor: default; }

/* ------------------------------------------------------------ editor */
.st-editor { position: relative; display: flex; flex-direction: column; min-height: 0; background: var(--panel); }
.ed-resize { position: absolute; left: 0; right: 0; top: -4px; height: 8px; cursor: ns-resize; z-index: 5; }
.ed-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 7px 12px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.ed-track { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; min-width: 120px; }
.ed-track i { width: 10px; height: 10px; border-radius: 3px; background: var(--trk, var(--primary)); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.seg button { height: 26px; padding: 0 10px; border: 0; background: var(--panel-3); cursor: pointer; font-size: 12px; font-weight: 600; color: var(--muted); }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button.on { background: var(--primary); color: var(--primary-ink); }
.fld input#vel { width: 56px; }
.ed-info { font-size: 12px; margin-left: auto; }
.zoom { display: flex; gap: 4px; }
.roll { flex: 1; min-height: 0; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: 1fr 64px; }
.keys { display: block; width: 64px; height: 100%; cursor: pointer; border-right: 1px solid var(--line); }
.roll-wrap { position: relative; overflow: hidden; }
#grid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vel-label { display: grid; place-items: center; font-size: 10px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.vel { display: block; width: 100%; height: 64px; border-top: 1px solid var(--line); cursor: ns-resize; }

.st-status { display: flex; align-items: center; gap: 12px; height: 26px; padding: 0 14px; background: var(--panel); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.st-status .error, #status.error { color: var(--rec); }
.st-status-right { margin-left: auto; }

/* ------------------------------------------------------------ dialogs */
.st-dialog { border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); color: var(--ink); padding: 0; width: min(520px, 94vw);
  box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.st-dialog.wide { width: min(900px, 96vw); }
.st-dialog::backdrop { background: rgba(3, 6, 14, .65); backdrop-filter: blur(3px); }
.dlg-body { position: relative; padding: 22px 24px 20px; max-height: 88vh; overflow: auto; }
.dlg-body h2 { margin: 0 0 6px; font-size: 20px; }
.dlg-body h3 { margin: 18px 0 8px; font-size: 14px; }
.dlg-body .sub, .hint { color: var(--muted); margin: 6px 0 12px; }
.hint { font-size: 12px; }
.x { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel-2); cursor: pointer; }
.dlg-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.dlg-actions .status { margin-right: auto; color: var(--muted); }
.status.error { color: var(--rec); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 600; color: var(--muted); }
.form-grid input, .form-grid select { height: 34px; font-size: 14px; }
.templates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tpl { text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2); cursor: pointer; }
.tpl b { display: block; font-size: 13px; }
.tpl span { color: var(--muted); font-size: 12px; }
.tpl.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 16%, var(--panel-2)); }
.open-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.proj-list { display: grid; gap: 6px; }
.proj { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); }
.proj b { display: block; }
.proj small { color: var(--muted); }
.proj.current { border-color: var(--primary); }
.empty { color: var(--muted); padding: 14px; text-align: center; border: 1px dashed var(--line-2); border-radius: 10px; }

.sound-body { display: flex; flex-direction: column; }
.sound-cols { display: grid; grid-template-columns: 240px 1fr; gap: 16px; min-height: 420px; }
.font-col { display: flex; flex-direction: column; gap: 8px; }
.font-col h3 { margin: 4px 0; }
.font-list { display: grid; gap: 4px; max-height: 300px; overflow: auto; }
.font { text-align: left; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel-2); cursor: pointer; }
.font b { display: block; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.font small { color: var(--muted); font-size: 11px; }
.font.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 14%, var(--panel-2)); }
.preset-col { display: flex; flex-direction: column; min-width: 0; }
.preset-tools { display: flex; gap: 8px; margin-bottom: 8px; }
.preset-tools input { flex: 1; height: 32px !important; }
.preset-list { flex: 1; overflow: auto; max-height: 420px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.preset { display: grid; grid-template-columns: 52px 1fr auto; gap: 8px; align-items: center; padding: 6px 10px; cursor: pointer; border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.preset:hover { background: var(--panel-2); }
.preset.on { background: color-mix(in srgb, var(--primary) 22%, var(--panel-2)); }
.preset code { font: 11px var(--mono); color: var(--faint); }
.preset .fam { font-size: 11px; color: var(--muted); }
.preset-group { padding: 6px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--panel); position: sticky; top: 0; }

.sng-pcg { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sng-tracks { display: grid; gap: 6px; }
.sng-row { display: grid; grid-template-columns: 22px 1fr 1fr 70px 72px minmax(160px, 1.3fr); gap: 8px; align-items: center; padding: 6px 10px; border-radius: 9px; background: var(--panel-2); }
.sng-row i { width: 10px; height: 10px; border-radius: 3px; background: var(--trk); }
.sng-row small { color: var(--muted); display: block; font-size: 11px; }
.sng-row select, .sng-row input { height: 28px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--bg); padding: 0 6px; }
.warnbox { background: color-mix(in srgb, var(--warn) 14%, var(--panel-2)); color: var(--warn); border-radius: 10px; padding: 10px 12px; }
.trk-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.steps { padding-left: 20px; line-height: 1.65; }
.keys-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; color: var(--muted); }
.keys-grid span { display: flex; gap: 6px; align-items: center; }

/* small screens: still usable on a tablet */
@media (max-width: 900px) {
  :root { --head-w: 200px; }
  .tp-fields .fld:nth-child(n+4) { display: none; }
  .st-name { width: 140px; }
  .st-logo span { display: none; }
  .sound-cols { grid-template-columns: 1fr; }
}
