:root {
  --bg: #0e1014;
  --panel: #161920;
  --panel-2: #1d2129;
  --line: #2b303b;
  --line-strong: #3b4250;
  --text: #ece9e4;
  --muted: #9ca3af;
  --gold: #e6b866;
  --gold-ink: #1b1508;
  --gold-tint: #2b2416;
  --danger: #f08080;
  --ok: #6bd49a;
  --warn: #f2bd63;
  --unlit: #2a2e37;
  --wood: #2a241f;
  --radius: 12px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body.mode-blocks .mode-segments, body.mode-segments .mode-blocks { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
h2 { font-size: 1.05rem; margin: 0 0 12px; font-weight: 650; }
p { margin: 0 0 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* ---------- layout ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 10px 16px;
  background: var(--panel); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.brand svg { width: 22px; height: 22px; color: var(--gold); }
.conn { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.page { max-width: 1200px; margin: 0 auto; padding: 0 16px 48px; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.gap-sm { gap: 8px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-width: 0; }
.controls { display: grid; gap: 16px; min-width: 0; }
.control-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.setup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.wide { grid-column: 1 / -1; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; align-items: start; }
@media (max-width: 860px) {
  .control-grid, .setup-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { position: static; }
}
@media (max-width: 480px) {
  .two { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 4px; margin: 8px 0 16px; border-bottom: 1px solid var(--line); }
.tabs [role=tab] {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 10px 14px; color: var(--muted); cursor: pointer; font-weight: 600;
}
.tabs [role=tab][aria-selected=true] { color: var(--text); border-bottom-color: var(--gold); }

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 8px 14px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; white-space: nowrap;
}
.btn:hover:not(:disabled) { border-color: var(--line-strong); }
.btn.primary { background: var(--gold); color: var(--gold-ink); border-color: transparent; font-weight: 650; }
.btn.primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--danger); }
.btn.block { width: 100%; }
.btn.small { min-height: 34px; padding: 4px 10px; font-size: .9rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.file-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-btn:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }

input[type=text], input[type=number], input[type=password], select {
  width: 100%; min-height: 40px; padding: 8px 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
}
input[type=text]:hover, input[type=number]:hover, input[type=password]:hover, select:hover { border-color: var(--line-strong); }
input[aria-invalid=true] { border-color: var(--danger); }
/* Sliders drawn by hand: WebKit (the Mac app) ignores accent-color on them */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 4px 0; background: none; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--line-strong); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line-strong); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--gold); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--gold); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--panel); }
input[type=range]:focus-visible { outline: none; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px rgba(230, 184, 102, .35); }
input[type=range]:disabled { cursor: not-allowed; opacity: .5; }
.field { display: grid; gap: 4px; margin-bottom: 14px; }
.field > span:first-child { font-weight: 600; }
.field small, .hint { color: var(--muted); font-size: .85rem; }
.hint { margin: 8px 0 0; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); flex: none; }
output { color: var(--muted); font-variant-numeric: tabular-nums; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin-top: 4px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 44px; height: 26px; border-radius: 999px; background: var(--unlit); border: 1px solid var(--line); position: relative; transition: background .15s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: transform .15s, background .15s; }
.switch input:checked + .track { background: var(--gold-tint); border-color: var(--gold); }
.switch input:checked + .track::after { transform: translateX(18px); background: var(--gold); }
.switch input:focus-visible + .track { outline: 2px solid var(--gold); outline-offset: 2px; }
.switch input:disabled ~ * { opacity: .45; }

/* ---------- connection pill & banner ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; max-width: 280px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--panel-2); border: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pill::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.pill[data-state=connected] { color: var(--text); }
.pill[data-state=connected]::before { background: var(--ok); }
.pill[data-state=connecting]::before, .pill[data-state=reconnecting]::before { background: var(--warn); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.banner {
  margin-top: 12px; padding: 12px 16px; border-radius: 10px;
  background: #33270f; border: 1px solid #6b4f1f; color: #f5dcae;
}
.banner p:last-child { margin: 0; }

/* ---------- control view ---------- */
.stage {
  position: sticky; top: 76px;
  background: radial-gradient(ellipse at 50% 40%, #1a1d25 0%, var(--panel) 70%);
}
#crossSvg { display: block; width: 100%; height: min(60vh, 560px); }
#crossSvg .cross-body { fill: var(--wood); stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
#crossSvg .light { cursor: pointer; stroke: rgba(0, 0, 0, .45); stroke-width: 1; vector-effect: non-scaling-stroke; }
#crossSvg .light.unlit { fill: var(--unlit); }
#crossSvg .light.dead { fill: var(--unlit); stroke: var(--danger); stroke-dasharray: 4 3; }
#crossSvg .light:focus { outline: none; }
#crossSvg .light:focus-visible, #crossSvg .light.selected { stroke: #fff; stroke-width: 2.5; stroke-dasharray: 6 4; }

.strip-view { margin-top: 12px; }
.strip-head { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.seg-row { display: grid; gap: 3px; }
.seg {
  min-width: 0; height: 34px; padding: 0;
  border-radius: 5px; border: 1px solid rgba(255, 255, 255, .06);
  background: var(--unlit); color: var(--muted);
  font-size: .7rem; font-variant-numeric: tabular-nums; cursor: pointer; overflow: hidden;
}
.seg.extra { background: repeating-linear-gradient(135deg, var(--panel-2) 0 4px, var(--bg) 4px 8px); cursor: default; }
.seg.selected { outline: 2px solid #fff; outline-offset: 1px; }
@media (max-width: 520px) {
  .seg-row.dense { gap: 2px; }
  .seg-row.dense .seg { font-size: .55rem; letter-spacing: -.03em; }
}

.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 10px; font-size: .9rem; }
.link { background: none; border: 0; padding: 4px 0; color: var(--gold); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--panel-2); cursor: pointer;
}
.chip[aria-pressed=true] { border-color: var(--gold); background: var(--gold-tint); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }

.editor { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.editor.disabled .swatches, .editor.disabled .field { opacity: .45; }
.editing { font-weight: 600; }
.editing .muted { font-weight: 400; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 10px 6px; margin-bottom: 14px; }
.swatch {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: 0; padding: 2px; cursor: pointer; color: var(--muted); font-size: .75rem;
}
.swatch .c { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.swatch[aria-pressed=true] .c, .swatch[data-active=true] .c { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--gold); }
.swatch[aria-pressed=true], .swatch[data-active=true] { color: var(--text); }
.swatch.custom .c { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); }
.swatch.custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.swatch:disabled { cursor: not-allowed; }
.swatch .nm { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swatch-wrap { position: relative; display: grid; min-width: 0; }
.swatch-x {
  position: absolute; top: -2px; right: 2px; width: 20px; height: 20px; padding: 0;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--muted); font-size: 13px; line-height: 1; cursor: pointer;
  opacity: .55;
}
.swatch-wrap:hover .swatch-x, .swatch-x:focus-visible { opacity: 1; }
.swatch-x:hover { color: var(--danger); border-color: var(--danger); }
.swatch.save .c { display: grid; place-items: center; border: 1px dashed var(--line-strong); box-shadow: none; color: var(--muted); font-size: 20px; }
.swatch.save:disabled { opacity: .4; }
.warn-text { color: var(--warn); font-size: .9rem; margin: 12px 0 0; }
.sync-status { margin: 0 0 12px; font-size: .9rem; color: var(--ok); }
.sync-status[data-kind=warn] { color: var(--warn); }
.sync-status[data-kind=error] { color: var(--danger); }
.sync-status[data-kind=off] { color: var(--muted); }
.sync-form input { flex: 1; min-width: 0; max-width: 320px; }

.scenes { display: grid; gap: 8px; margin-bottom: 12px; }
.scene { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); }
.scene-dots { display: flex; gap: 3px; flex: none; }
.scene-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#sceneForm input { flex: 1; min-width: 0; }

/* ---------- setup view ---------- */
.step {
  display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 6px;
  border-radius: 50%; background: var(--gold-tint); color: var(--gold); font-size: .85rem;
}
.lede { color: var(--muted); }
.lede strong { color: var(--text); }
.info { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.errors { margin: 0 0 12px; padding-left: 18px; color: var(--danger); font-size: .9rem; }
.errors:empty { display: none; }
.helper { border-top: 1px solid var(--line); padding-top: 12px; }
.helper summary { cursor: pointer; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.helper p { color: var(--muted); font-size: .9rem; }

.table-wrap { overflow-x: auto; margin-bottom: 12px; }
table.sections { width: 100%; border-collapse: collapse; }
table.sections th { text-align: left; font-size: .8rem; font-weight: 600; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
table.sections td { padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.sections td.num { color: var(--muted); width: 2em; font-variant-numeric: tabular-nums; }
table.sections td.part { width: 12em; }
table.sections td.segs { width: 13em; white-space: nowrap; }
table.sections td.actions { width: 1%; white-space: nowrap; }
table.sections tr.picking td { background: var(--gold-tint); }
table.sections tr.picking td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.seg-cell { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.seg-list { font-variant-numeric: tabular-nums; }
.seg-list.none { color: var(--warn); }
.btn.pick-btn[aria-pressed=true] { background: var(--gold); color: var(--gold-ink); border-color: transparent; }
.icon-btn { min-width: 36px; min-height: 36px; padding: 0 8px; background: none; border: 1px solid transparent; border-radius: 8px; color: var(--muted); cursor: pointer; }
.icon-btn:hover:not(:disabled) { border-color: var(--line); color: var(--text); }
.icon-btn:disabled { opacity: .3; cursor: not-allowed; }
.icon-btn.danger:hover:not(:disabled) { color: var(--danger); }
@media (max-width: 720px) {
  table.sections thead { display: none; }
  table.sections, table.sections tbody, table.sections tr, table.sections td { display: block; width: auto !important; }
  table.sections tr { border: 1px solid var(--line); border-radius: 10px; padding: 8px; margin-bottom: 10px; }
  table.sections td { border: 0; padding: 4px; }
  table.sections td[data-label]::before { content: attr(data-label); display: block; font-size: .8rem; color: var(--muted); margin-bottom: 2px; }
  table.sections td.num::before { content: "Section "; }
  table.sections tr.picking { border-color: var(--gold); background: var(--gold-tint); }
  table.sections tr.picking td { background: none; }
  table.sections tr.picking td:first-child { box-shadow: none; }
}
.summary { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.summary ul { margin: 8px 0 0; padding-left: 18px; color: var(--warn); }

.picker { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.picker-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 24px; }
.picker-head .field { margin-bottom: 10px; min-width: min(260px, 100%); }
.picker-head .check { margin-bottom: 18px; }
.segment-picker { display: grid; grid-template-columns: repeat(var(--n, 15), minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
@media (max-width: 760px) {
  .segment-picker { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
}
.pick {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 0; min-height: 54px; padding: 4px 2px;
  border-radius: 8px; border: 1px solid var(--line); background: var(--panel-2); cursor: pointer;
}
.pick .n { font-weight: 650; font-variant-numeric: tabular-nums; }
.pick .o { max-width: 100%; padding: 0 2px; font-size: .68rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick.free { background: repeating-linear-gradient(135deg, var(--panel-2) 0 4px, var(--bg) 4px 8px); }
.pick.mine { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.pick.mine .o { color: var(--gold-ink); }
.pick:hover:not(.mine):not(:disabled) { border-color: var(--line-strong); }
.pick:disabled { cursor: not-allowed; }
.tools { margin-top: 16px; }

/* parts editor */
.parts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .parts-grid { grid-template-columns: minmax(0, 1fr); } }
.parts-stage { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
#partsSvg { display: block; width: 100%; height: min(52vh, 460px); user-select: none; -webkit-user-select: none; }
#partsSvg.drawing { cursor: crosshair; touch-action: none; }
#partsSvg .body { fill: var(--wood); stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
#partsSvg .builtin { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
#partsSvg .builtin-label { fill: var(--muted); opacity: .75; }
#partsSvg .custom-fill { fill-opacity: .35; cursor: pointer; }
#partsSvg .custom-fill.active { fill-opacity: .55; }
#partsSvg .custom-outline { fill: none; stroke-width: 1.5; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; pointer-events: none; }
#partsSvg .custom-outline.active { stroke-width: 2.5; stroke-dasharray: none; }
#partsSvg .custom-label { fill: var(--text); font-weight: 650; pointer-events: none; }
#partsSvg text { paint-order: stroke; stroke: rgba(0, 0, 0, .75); stroke-linejoin: round; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
#partsSvg .draft { fill: rgba(230, 184, 102, .25); stroke: var(--gold); stroke-width: 2; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.parts-list { display: grid; gap: 10px; margin-bottom: 12px; }
.part-row { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--panel-2); }
.part-row.active { border-color: var(--gold); }
.part-row .head { display: flex; align-items: center; gap: 8px; }
.part-row .head input { flex: 1; min-width: 0; }
.part-color { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.part-meta { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.part-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.part-pos summary { margin-top: 8px; cursor: pointer; font-size: .85rem; color: var(--muted); }
.part-pos .two { margin-top: 8px; }
.part-pos .field { margin-bottom: 8px; }
.log pre {
  max-height: 260px; overflow: auto; margin: 8px 0 0; padding: 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  font: 12px/1.5 ui-monospace, Menlo, Consolas, monospace; color: var(--muted); white-space: pre-wrap;
}
.log summary { cursor: pointer; color: var(--muted); margin-top: 16px; }
.log-actions { margin-top: 8px; }
.log pre { user-select: text; -webkit-user-select: text; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px);
  max-width: min(520px, calc(100% - 32px)); padding: 10px 16px;
  background: #262b35; border: 1px solid var(--line-strong); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 20;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: var(--danger); }

/* ---------- Mac app (js/desktop.js) ---------- */
html.in-app .web-only { display: none !important; }
.app-card:empty { display: none; }
.app-card { margin: 16px 0 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.app-card h3 { margin: 0 0 8px; font-size: .95rem; }
.app-card a, .web-only a { color: var(--gold); }
#appChooser { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); }
.chooser-card { width: min(440px, 100%); box-shadow: 0 18px 50px rgba(0, 0, 0, .6); }
.chooser-sub { color: var(--muted); font-size: .9rem; }
.chooser-list { list-style: none; margin: 0; padding: 4px; min-height: 120px; max-height: 280px; overflow: auto;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.chooser-dev { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 7px; cursor: pointer; user-select: none; }
.chooser-dev:hover { background: rgba(255, 255, 255, .07); }
.chooser-dev .nm { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chooser-dev .nm small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.chooser-dev .tag { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .5px; }
.chooser-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; flex: none; }
.chooser-bars i { width: 3px; border-radius: 1px; background: var(--line-strong); }
.chooser-bars i.on { background: var(--gold); }
.chooser-msg { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 26px 12px; color: var(--muted);
  text-align: center; font-size: .9rem; }
.chooser-spin { width: 14px; height: 14px; flex: none; border: 2px solid var(--line-strong); border-top-color: var(--gold);
  border-radius: 50%; animation: chooserspin .8s linear infinite; }
@keyframes chooserspin { to { transform: rotate(360deg); } }
.chooser-row { margin-top: 12px; }
