/* CUT OUT THE BACKGROUND (@ovi 2026-10-31). See cutout.js. Fixed light on dark pairs, so it reads on any page theme. */
.cq-wrap { position: fixed; inset: 0; z-index: 2147483600; display: flex; flex-direction: column; background: #0f0f11; color: #f2f2f3;
  font: 400 14px/1.35 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; touch-action: none; -webkit-user-select: none; user-select: none; }
.cq-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: calc(env(safe-area-inset-top) + 8px) 10px 8px; background: #17171a; }
.cq-top b { font-weight: 700; }
.cq-b { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #f2f2f3; font: 600 13px/1 inherit; cursor: pointer; }
.cq-b:disabled { opacity: .4; }
.cq-b.on { background: #f2f2f3; color: #111; }
.cq-go { background: #f2f2f3; color: #111; border-color: #f2f2f3; }
.cq-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; touch-action: none; }
.cq-stage[data-bg="check"] { background: #8a8a8e conic-gradient(#b9b9bd 25%, #8a8a8e 0 50%, #b9b9bd 0 75%, #8a8a8e 0) 0 0 / 22px 22px; }
.cq-stage[data-bg="white"] { background: #fff; } .cq-stage[data-bg="black"] { background: #000; } .cq-stage[data-bg="gold"] { background: #e0b341; }
.cq-pan { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.cq-view { display: block; touch-action: none; }
.cq-cursor { position: absolute; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #000; pointer-events: none; }
.cq-panel { flex: none; padding: 8px 10px calc(env(safe-area-inset-bottom) + 10px); background: #17171a; display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow-y: auto; }
.cq-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cq-t { min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #f2f2f3; font: 700 13px/1 inherit; cursor: pointer; }
.cq-t.on { background: #e0b341; color: #1b1500; border-color: #e0b341; }
.cq-sz { flex: 1 1 120px; display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .9; }
.cq-sl label { flex: 1 1 140px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; opacity: .92; }
.cq-panel input[type=range] { width: 100%; min-width: 80px; height: 30px; accent-color: #e0b341; }
.cq-bgs span { font-size: 12px; opacity: .85; }
.cq-c { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.cq-c.on { border-color: #e0b341; }
.cq-c[data-bg="check"] { background: conic-gradient(#ccc 25%, #888 0 50%, #ccc 0 75%, #888 0) 0 0 / 12px 12px; }
.cq-c[data-bg="white"] { background: #fff; } .cq-c[data-bg="black"] { background: #000; } .cq-c[data-bg="gold"] { background: #e0b341; }
.cq-busy { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.66); }
.cq-busy[hidden] { display: none; }
.cq-card { width: min(88vw, 360px); padding: 18px; border-radius: 14px; background: #1f1f23; display: flex; flex-direction: column; gap: 12px; align-items: stretch; text-align: center; }
.cq-card p { margin: 0; font-weight: 600; }
.cq-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); overflow: hidden; }
.cq-bar i { display: block; height: 100%; width: 0; background: #e0b341; transition: width .25s; }
.cq-bar i.cq-pulse { width: 40% !important; animation: cqp 1.1s ease-in-out infinite alternate; }
@keyframes cqp { from { margin-left: 0; } to { margin-left: 60%; } }
@media (prefers-reduced-motion: reduce) { .cq-bar i.cq-pulse { animation: none; margin-left: 30%; } }
