/* AudioPrism home screen: ONE picture (Scott's cyan/magenta frame) with the content laid into its panels.
   Regions are percentages of the frame, sizes are in vw, so it scales with the window as one piece.
   Display face: Cinzel (OFL, skin/fonts). Body: Segoe UI (Windows), Sora as the fallback. */
@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel.ttf") format("truetype"); font-weight: 400 900; }
@font-face { font-family: "Sora"; src: url("fonts/Sora.ttf") format("truetype"); font-weight: 100 900; }

:root { --ink: #F2F4FF; --dim: #DADDF0; --mute: #9A9FBE; --cyan: #19E6FF; --mag: #FF2EC4; --vio: #A66BFF;
        --glass: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); --edge: rgba(255,255,255,.22); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; color: var(--ink); font-family: "Segoe UI", "Sora", sans-serif; }
.frame { position: relative; width: 100vw; height: 100vh; background: url("img/frame_cyan.webp") 0 0 / 100% 100% no-repeat; }
.rg { position: absolute; }
.grow { flex: 1; }
svg { width: 1.1vw; height: 1.1vw; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.c { color: var(--cyan); filter: drop-shadow(0 0 .3vw rgba(25,230,255,.55)); }
svg.m { color: var(--mag); filter: drop-shadow(0 0 .3vw rgba(255,46,196,.55)); }
svg.v { color: var(--vio); filter: drop-shadow(0 0 .3vw rgba(166,107,255,.55)); }
.cinzel, .brand, .chant, .ptitle, .stat small, .flabel, .pill.import, .mb.strong, .mlab, .tbox small { font-family: "Cinzel", "Palatino Linotype", serif; }

/* ---- header ---------------------------------------------------------------------------------- */
.tab { left: 0.3%; top: 0.35%; width: 19.7%; height: 6.85%; display: flex; align-items: center; gap: .7vw; padding-left: 1.2vw; }
.mark { height: 72%; filter: drop-shadow(0 0 .5vw rgba(25,230,255,.6)); }
.brand { font-size: 1.25vw; font-weight: 500; letter-spacing: .3em; }
.brand b { font-weight: 500; background: linear-gradient(90deg, #19E6FF, #8B5CFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.header { left: 20%; top: 0.35%; width: 79.6%; height: 6.85%; display: flex; align-items: center; padding: 0 1vw 0 4vw; }
.chant { display: flex; align-items: center; gap: 1.3vw; font-size: .9vw; font-weight: 500; letter-spacing: .26em; color: var(--ink); }
.chant i { font-style: normal; font-size: .8vw; }
.chant i.m { color: var(--mag); text-shadow: 0 0 8px var(--mag); } .chant i.c { color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }
.chant span { position: relative; transition: color .6s, text-shadow .6s; }
.chant span::after { content: ""; position: absolute; left: 0; right: .26em; bottom: -.55vw; height: 2px; background: var(--wc, var(--mag)); box-shadow: 0 0 8px var(--wc, var(--mag)); opacity: 0; transition: opacity .6s; }
.chant .on { color: var(--wc, var(--ink)); text-shadow: 0 0 10px var(--wc, var(--mag)); }
.chant .on::after { opacity: 1; }
.chev { width: .9vw; height: .9vw; stroke-width: 2.2; opacity: .85; margin-left: .1vw; }
.dd .chev { margin-left: auto; }
.win { margin-left: auto; display: flex; gap: .3vw; }
.wbtn { position: relative; width: 1.9vw; height: 1.6vw; display: inline-flex; align-items: center; justify-content: center; color: var(--dim); font-size: .85vw; border-radius: .4vw; }
.wbtn:hover { background: rgba(255,255,255,.08); color: var(--ink); }
.bell i { position: absolute; top: .2vw; right: .4vw; width: .35vw; height: .35vw; border-radius: 50%; background: #FF4D5E; box-shadow: 0 0 6px #FF4D5E; }

/* ---- sidebar slots ----------------------------------------------------------------------------- */
.slot { left: 1.4%; width: 12.2%; height: 5.6%; display: flex; align-items: center; gap: .8vw; padding-left: 1.3vw; cursor: pointer; border-radius: 1vw; transition: background .15s; }
.slot:hover { background: rgba(255,255,255,.06); }
.slot svg { width: 1.35vw; height: 1.35vw; }
.slot b { font-size: 1.02vw; font-weight: 600; letter-spacing: .01em; }
.s1 { top: 10.8%; } .s2 { top: 17.8%; } .s3 { top: 24.4%; } .s4 { top: 31.0%; } .s5 { top: 38.4%; }
/* KeyPrism: a pill a touch bigger than its slot (so it covers it), gradient rim, dark fill, glow */
.key { left: 1.3%; width: 12.4%; height: 6.1%; top: 38.15%; padding-left: 1.3vw; gap: .7vw; border-radius: 1.6vw; border: 2px solid transparent;
       background: linear-gradient(180deg, #0b0a22, #060614) padding-box, linear-gradient(90deg, var(--cyan), var(--vio) 55%, var(--mag)) border-box;
       box-shadow: 0 0 1.1vw rgba(25,230,255,.35), 0 0 1.4vw rgba(255,46,196,.35), inset 0 0 1.2vw rgba(120,80,255,.18); }
.key:hover { box-shadow: 0 0 1.6vw rgba(25,230,255,.5), 0 0 1.8vw rgba(255,46,196,.5), inset 0 0 1.2vw rgba(120,80,255,.25); }
.key img { height: 64%; filter: drop-shadow(0 0 .4vw rgba(25,230,255,.6)); }
.key b { font-size: 1.12vw; font-weight: 600; letter-spacing: .01em; }
.key b em { font-style: normal; color: #B9A3FF; text-shadow: 0 0 8px rgba(166,107,255,.7); }

/* ---- stat cards -------------------------------------------------------------------------------- */
.stat { top: 8.9%; height: 6.0%; display: flex; align-items: center; gap: .9vw; padding: 0 1.4vw; }
.c1 { left: 16.1%; width: 26.8%; } .c2 { left: 44.3%; width: 25.6%; } .c3 { left: 71.4%; width: 26.8%; }
.stat svg { width: 1.6vw; height: 1.6vw; }
.stat .txt { border-left: 1px solid rgba(255,255,255,.25); padding-left: .9vw; }
.stat small { display: block; font-size: .62vw; letter-spacing: .32em; color: var(--dim); }
.stat .val { font-size: 1.2vw; font-weight: 300; line-height: 1.15; }
.stat .val span { font-weight: 300; font-size: 1.05vw; }

/* ---- import bar -------------------------------------------------------------------------------- */
.bar { left: 16.1%; top: 17.0%; width: 82.1%; height: 10.6%; padding: .7vw 1.4vw .9vw 1.4vw; display: flex; flex-direction: column; justify-content: space-between; }
.ptitle { display: flex; align-items: center; gap: .7vw; font-size: .82vw; font-weight: 500; letter-spacing: .3em; color: var(--ink); }
.ptitle svg { width: 1.2vw; height: 1.2vw; }
.linkrow { display: flex; align-items: center; gap: .9vw; }
.flabel { font-size: .7vw; letter-spacing: .24em; color: var(--dim); }
.input { flex: 1; height: 2.4vw; border-radius: 999px; border: 1px solid var(--edge); background: rgba(6,6,18,.72); display: flex; align-items: center; gap: .6vw; padding: 0 1.1vw; box-shadow: inset 0 2px 10px rgba(0,0,0,.45); }
.input .ph { color: var(--mute); font-size: .82vw; }
.help { font-size: .7vw; color: var(--dim); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.tog small, .lname small, .stat small { text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.pill.import { height: 2.6vw; }
/* the two gradient pills (IMPORT, Split Stems): dark fill, cyan -> magenta rim, a soft halo */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .7vw; border-radius: 999px; border: 2px solid transparent; color: var(--ink); cursor: pointer;
        background: linear-gradient(180deg, #0b0a22, #060614) padding-box, linear-gradient(90deg, var(--cyan), var(--vio) 55%, var(--mag)) border-box;
        box-shadow: 0 0 1.1vw rgba(25,230,255,.35), 0 0 1.4vw rgba(255,46,196,.4), inset 0 0 1.2vw rgba(120,80,255,.18); }
.pill:hover { box-shadow: 0 0 1.6vw rgba(25,230,255,.5), 0 0 1.8vw rgba(255,46,196,.55), inset 0 0 1.2vw rgba(120,80,255,.25); }
.pill.import { height: 3vw; padding: 0 1.8vw; font-size: 1vw; font-weight: 500; letter-spacing: .24em; }
.pill.import svg { width: 1.5vw; height: 1.5vw; }

/* ---- selected audio ---------------------------------------------------------------------------- */
.left { left: 16.1%; top: 29.3%; width: 50.3%; height: 28.6%; padding: .9vw 1.3vw .8vw 1.3vw; display: flex; flex-direction: column; gap: .7vw; }
.phead { display: flex; align-items: center; gap: .7vw; }
.ready { font-size: .78vw; font-weight: 500; display: inline-flex; align-items: center; gap: .35vw; }
.ready .ok { color: #38FF9A; font-style: normal; font-weight: 700; } .ready .dot { width: .5vw; height: .5vw; border-radius: 50%; background: #38FF9A; box-shadow: 0 0 6px #38FF9A; display: inline-block; }
.chip { height: 1.45vw; padding: 0 .8vw; border-radius: .75vw; border: 1px solid var(--edge); background: var(--glass); font-size: .66vw; font-weight: 600; letter-spacing: .06em; display: inline-flex; align-items: center; }
/* the drop zone: Scott's three stock waveform clips as one loop, screened onto the glass (black vanishes) */
.dropzone { position: relative; flex: 1; min-height: 0; width: 100%; border-radius: .7vw; overflow: hidden; }
.dropart { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }   /* Scott's transparent art, filling the zone */
.dropvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; opacity: .95; pointer-events: none; }
.br { position: absolute; width: 2vw; height: 2vw; border: 2px solid var(--cyan); pointer-events: none; }
.br.tl { left: .6vw; top: .6vw; border-right: none; border-bottom: none; border-radius: .5vw 0 0 0; }
.br.bl { left: .6vw; bottom: .6vw; border-right: none; border-top: none; border-radius: 0 0 0 .5vw; }
.br.tr { right: .6vw; top: .6vw; border-left: none; border-bottom: none; border-radius: 0 .5vw 0 0; border-color: var(--mag); }
.br.brr { right: .6vw; bottom: .6vw; border-left: none; border-top: none; border-radius: 0 0 .5vw 0; border-color: var(--mag); }
.dropmsg { position: absolute; left: 0; right: 0; bottom: 1.1vw; display: flex; flex-direction: column; align-items: center; gap: .3vw; pointer-events: none; }
.dropmsg svg { width: 1.6vw; height: 1.6vw; color: var(--ink); filter: drop-shadow(0 0 .4vw rgba(255,255,255,.5)); }
.dropmsg span { font-family: "Cinzel", "Palatino Linotype", serif; font-size: .9vw; letter-spacing: .36em; color: var(--ink); text-shadow: 0 0 .6vw rgba(0,0,0,.9); }
.btnrow { display: flex; align-items: center; gap: .55vw; }
.gb { height: 1.95vw; padding: 0 .9vw; border-radius: .6vw; border: 1px solid var(--edge); color: var(--ink); font-size: .78vw; font-weight: 600; font-family: inherit; background: var(--glass); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); cursor: pointer; display: inline-flex; align-items: center; gap: .5vw; }
.gb svg { width: 1vw; height: 1vw; }
.gb b { font-weight: 500; opacity: .8; }
.gb:hover { border-color: var(--cyan); background: linear-gradient(180deg, rgba(25,230,255,.22), rgba(25,230,255,.06)); }

/* ---- what do you want -------------------------------------------------------------------------- */
.right { left: 68.1%; top: 29.3%; width: 30.1%; height: 28.6%; padding: .9vw 1.3vw .9vw 1.3vw; display: flex; flex-direction: column; gap: .8vw; }
.wantrow { display: flex; align-items: center; gap: .8vw; }
.want { font-size: .86vw; font-weight: 500; }
.dd { flex: 1; height: 2.3vw; border-radius: .7vw; border: 1px solid var(--edge); background: var(--glass); display: flex; align-items: center; padding: 0 .9vw; font-size: .86vw; font-weight: 500; }
.dd b { margin-left: auto; font-weight: 500; }
.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: .5vw .4vw; }
.tog { display: flex; align-items: center; gap: .6vw; }
.sw { position: relative; width: 2.6vw; height: 1.35vw; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); flex: none; }
.sw i { position: absolute; top: .12vw; left: .14vw; width: 1vw; height: 1vw; border-radius: 50%; background: #fff; }
.sw.on { background: linear-gradient(90deg, #9D3BFF, #FF2EC4); border-color: rgba(255,120,230,.6); box-shadow: 0 0 .6vw rgba(255,46,196,.5); }
.sw.on i { left: auto; right: .14vw; }
.tog b { display: block; font-size: .8vw; font-weight: 600; }
.tog small { display: block; font-size: .64vw; color: var(--dim); }
.pill.split { width: 100%; height: 3.5vw; font-size: 1.35vw; font-weight: 600; gap: 1vw; border-width: 2.5px; }
.pill.split svg { width: 1.7vw; height: 1.7vw; }
.pill.split b { font-weight: 500; font-size: 1.4vw; color: var(--cyan); text-shadow: 0 0 8px rgba(25,230,255,.6); }

/* ---- mixer ------------------------------------------------------------------------------------- */
.bottom { left: 8.8%; top: 60.4%; width: 89.4%; height: 27.8%; padding: .8vw 1.2vw .6vw 1.2vw; display: flex; flex-direction: column; gap: .45vw; }
.mxhead { display: flex; align-items: center; gap: .45vw; }
.mb { height: 1.8vw; padding: 0 .75vw; border-radius: .9vw; border: 1px solid var(--edge); background: var(--glass); font-size: .72vw; font-weight: 600; display: inline-flex; align-items: center; gap: .4vw; color: var(--ink); }
.mb svg { width: .95vw; height: .95vw; }
.mb.strong { letter-spacing: .2em; font-weight: 500; font-size: .74vw; border: none; background: none; }
.mb b { font-weight: 500; opacity: .8; }
.mb.green { color: #38FF9A; border-color: rgba(56,255,154,.6); } .mb.red { color: #FF4D5E; border-color: rgba(255,77,94,.6); }
.mtime { font-size: .76vw; font-weight: 500; margin-left: .5vw; }
.mlab { font-size: .6vw; letter-spacing: .2em; color: var(--dim); }
.mslider { position: relative; width: 5vw; height: .3vw; border-radius: .15vw; background: rgba(255,255,255,.2); }
.mslider::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 80%; border-radius: .15vw; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.mslider i { position: absolute; left: 76%; top: -.35vw; width: 1vw; height: 1vw; border-radius: 50%; background: #fff; box-shadow: 0 0 8px var(--cyan); }
.ruler { height: 1.5vw; display: flex; align-items: center; padding: 0 0 0 17.5%; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .7vw; font-weight: 500; color: var(--dim);
         background: repeating-linear-gradient(90deg, transparent 0 calc(1.25% - 1px), rgba(255,255,255,.12) calc(1.25% - 1px) 1.25%) 17.5% 100% / 82.5% 35% no-repeat; }
.ruler span { flex: 1; }
.lane { display: flex; align-items: center; gap: .5vw; height: 2.9vw; }
.lhead { width: 16.8%; height: 100%; border-radius: .6vw; border: 1px solid rgba(255,46,196,.55); background: linear-gradient(90deg, rgba(255,46,196,.16), rgba(10,6,24,.75)); display: flex; align-items: center; gap: .45vw; padding: 0 .6vw; }
.blue .lhead { border-color: rgba(25,230,255,.55); background: linear-gradient(90deg, rgba(25,230,255,.14), rgba(6,10,28,.75)); }
.lic { font-size: 1vw; } .lic.m { color: var(--mag); } .lic.c { color: var(--cyan); }
.lname b { display: block; font-size: .7vw; font-weight: 600; } .lname small { display: block; font-size: .6vw; color: var(--dim); }
.ms { width: 1.2vw; height: 1.2vw; border-radius: .3vw; border: 1px solid var(--edge); display: inline-flex; align-items: center; justify-content: center; font-size: .62vw; font-weight: 600; }
.fader { position: relative; width: 2.6vw; height: .25vw; border-radius: .12vw; background: rgba(255,255,255,.2); }
.fader::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 70%; background: var(--mag); border-radius: .12vw; box-shadow: 0 0 6px var(--mag); }
.blue .fader::before { background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.fader i { position: absolute; left: 66%; top: -.3vw; width: .85vw; height: .85vw; border-radius: 50%; background: #fff; }
.auto { height: 1.2vw; padding: 0 .5vw; border-radius: .6vw; border: 1px solid var(--edge); font-size: .58vw; font-weight: 600; display: inline-flex; align-items: center; }
.lbody { position: relative; flex: 1; height: 100%; border-radius: .5vw; overflow: hidden; border: 1px solid rgba(255,46,196,.45);
         background: linear-gradient(180deg, rgba(40,14,50,.45), rgba(12,6,30,.75)), repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 1.5vw); }
.blue .lbody { border-color: rgba(25,230,255,.45); background: linear-gradient(180deg, rgba(10,40,70,.45), rgba(6,10,30,.75)), repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 1.5vw); }
.lbtns { display: grid; grid-template-columns: 1fr 1fr; gap: .2vw; }
.lbtns span { width: 1.2vw; height: 1.2vw; border-radius: .3vw; border: 1px solid var(--edge); display: inline-flex; align-items: center; justify-content: center; font-size: .6vw; font-weight: 600; background: var(--glass); }
.lx { width: 1.4vw; text-align: center; color: var(--dim); font-size: .9vw; }
.addtrack { height: 1.7vw; border-radius: .5vw; border: 1px dashed rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; font-size: .74vw; font-weight: 500; color: var(--dim); }
.mxempty { flex: 1; display: flex; align-items: center; justify-content: center; font-size: .8vw; color: var(--dim); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.mb.dimmed { opacity: .55; }
.playhead { position: absolute; left: 17.3%; top: 3.2vw; bottom: 2.6vw; width: 2px; background: var(--mag); box-shadow: 0 0 8px var(--mag); pointer-events: none; }
.playhead i { position: absolute; left: -.35vw; top: -.2vw; width: .8vw; height: .8vw; background: var(--mag); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ---- transport box (the frame draws the controls) --------------------------------------------- */
.tbox { left: 81.0%; top: 91.6%; width: 13.2%; height: 6.1%; display: flex; align-items: center; gap: .5vw; padding: 0 .9vw; }
.tbox small { font-size: .55vw; letter-spacing: .2em; color: var(--dim); white-space: nowrap; }
.leds { display: flex; gap: .12vw; }
.leds i { width: .28vw; height: .62vw; border-radius: 2px; display: block; background: linear-gradient(180deg, var(--mag), var(--vio)); box-shadow: 0 0 4px rgba(255,46,196,.6); }
.ttime { margin-left: auto; font-size: .62vw; font-weight: 500; white-space: nowrap; }

/* ---- density pass (Scott, 2026-11-06): heavier logo, denser panels, bigger type, no lollipop ---- */
.brand { font-size: 1.34vw; font-weight: 800; letter-spacing: .24em; text-shadow: 0 0 .7vw rgba(25,230,255,.25); }
.brand b { font-weight: 800; }
.rg.stat, .rg.bar, .rg.left, .rg.right, .rg.bottom { isolation: isolate; }
.rg.stat::before, .rg.bar::before, .rg.left::before, .rg.right::before, .rg.bottom::before {
  content: ""; position: absolute; inset: .25vw; border-radius: 1.05vw; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,34,.46), rgba(4,4,16,.58)); box-shadow: inset 0 0 2.4vw rgba(0,0,0,.35); }
.rg.stat::before { border-radius: .85vw; }
.rg.bottom::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 8.5% 100%, 0 92%); }
.chant { font-size: .96vw; font-weight: 600; }
.slot b { font-size: 1.1vw; }  .key b { font-size: 1.2vw; }
.stat small { font-size: .7vw; }  .stat .val { font-size: 1.5vw; font-weight: 400; }  .stat .val span { font-size: 1.15vw; font-weight: 400; }
.stat svg { width: 1.8vw; height: 1.8vw; }
.ptitle { font-size: .92vw; font-weight: 600; }  .ptitle svg { width: 1.3vw; height: 1.3vw; }
.flabel { font-size: .76vw; }  .input { height: 2.6vw; }  .input .ph { font-size: .92vw; }  .help { font-size: .78vw; color: var(--ink); opacity: .85; }
.pill.import { height: 2.8vw; font-size: 1.05vw; font-weight: 600; }
.gb { height: 2.2vw; font-size: .86vw; padding: 0 1.05vw; }  .gb svg { width: 1.1vw; height: 1.1vw; }
.chip { height: 1.6vw; font-size: .72vw; }  .ready { font-size: .86vw; }
.want { font-size: .98vw; font-weight: 600; }  .dd { height: 2.55vw; font-size: .98vw; }
.sw { width: 3vw; height: 1.55vw; }  .sw i { width: 1.2vw; height: 1.2vw; top: .12vw; }
.tog b { font-size: .92vw; }  .tog small { font-size: .74vw; }
.pill.split { height: 3.7vw; font-size: 1.45vw; }
.mb { height: 2.05vw; font-size: .82vw; }  .mb.strong { font-size: .84vw; }
.ruler { font-size: .78vw; }  .mxempty { font-size: .98vw; }  .addtrack { font-size: .82vw; height: 1.9vw; }
/* the seek line: a thin lit track and a slim marker, never a ball on a stick */
.seek { left: 26.1%; top: 91.4%; width: 47.9%; height: 6.5%; display: flex; align-items: center; padding: 0 1.6vw; }
.seek .track { position: relative; flex: 1; height: .32vw; border-radius: .16vw; background: rgba(255,255,255,.12); }
.seek .prog { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: .16vw; background: linear-gradient(90deg, var(--cyan), var(--mag)); box-shadow: 0 0 .5vw rgba(255,46,196,.6); }
.seek .mark { position: absolute; left: 0; top: -.6vw; width: .32vw; height: 1.52vw; border-radius: .16vw; background: #fff; box-shadow: 0 0 .6vw var(--cyan), 0 0 1vw rgba(25,230,255,.5); }
.tbox small { font-size: .62vw; }  .ttime { font-size: .72vw; }  .leds i { width: .32vw; height: .72vw; }

/* ---- Scott's marks (2026-11-06, third pass) ---- */
.header { padding-left: 2.2vw; }                      /* the words end before the header's step */
.chant { gap: 1.05vw; font-size: .92vw; }
.bar { padding: .6vw 1.4vw .55vw 1.4vw; }             /* room for the help line */
.input { height: 2.4vw; }
.help { margin-left: 3.55vw; }                         /* lines up with the link box, not the LINK label */
.seek { gap: 1vw; padding: 0 1.6vw; }
.seek .ttime { margin: 0; font-size: .74vw; font-weight: 600; white-space: nowrap; color: var(--ink); }
.tbox { justify-content: center; gap: .7vw; }

/* ---- Scott's marks (2026-11-06, fourth pass) ---- */
.header { padding-left: 1.4vw; }                        /* all the words inside the band, clear of its step */
.chant { gap: 1vw; }
.bar { justify-content: flex-start; gap: .4vw; padding: .5vw 1.4vw .4vw 1.4vw; }
.bar .ptitle { font-size: .86vw; }
.input { height: 2.2vw; }
.pill.import { height: 2.5vw; }
.help { position: absolute; right: 1.2vw; bottom: .35vw; width: 12.6vw; margin: 0; text-align: center; font-size: .58vw; line-height: 1.22; }   /* centred under IMPORT */
.tbox { position: absolute; justify-content: center; gap: .7vw; padding-bottom: .5vw; }
.tbox .ttime { position: absolute; right: .7vw; bottom: .12vw; margin: 0; font-size: .58vw; font-weight: 600; color: var(--dim); }   /* bottom-right, inside the pane */

.pill.import { height: 2.4vw; }
.help { bottom: .2vw; }

/* the words centred in the straight part of the header band (between the logo tab and the step) */
.header { padding-left: 0; }
.chant { position: absolute; left: 28.9%; top: 50%; transform: translate(-50%, -50%); }

.chant { left: 30.3%; }

/* the help line: centred under the link box itself (LINK label | box | IMPORT as a grid) */
.linkgrid { display: grid; grid-template-columns: auto 1fr auto; column-gap: .9vw; row-gap: .3vw; align-items: center; }
.help { position: static; grid-column: 2; width: auto; margin: 0; text-align: center; font-size: .68vw; line-height: 1.2; }

.pill.import { padding: 0 2.2vw; }

.key { left: 0.95%; width: 12.8%; }

/* ---- live page (home.js + home_view.py) -------------------------------------------------- */
input#link { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--ink); font: 500 .92vw "Segoe UI", "Sora", sans-serif; }
input#link::placeholder { color: var(--mute); }
button { font-family: inherit; }
.slot, .wbtn, .gb, .pill, .chip, .sw, .dd, .thit { cursor: pointer; }
body.qtmixer .mxhead, body.qtmixer .ruler, body.qtmixer .mxempty, body.qtmixer .addtrack, body.qtmixer .playhead { display: none; }
.sw.off { opacity: .4; pointer-events: none; }
#ddwrap { position: relative; flex: 1; display: flex; }
#ddmenu { position: absolute; left: 0; right: 0; top: calc(100% + .3vw); z-index: 20; display: none; border-radius: .7vw; border: 1px solid var(--edge); background: rgba(8,8,26,.97); padding: .3vw; box-shadow: 0 .6vw 2vw rgba(0,0,0,.6); }
#ddmenu.open { display: block; }
#ddmenu div { padding: .45vw .8vw; border-radius: .45vw; font-size: .9vw; font-weight: 500; }
#ddmenu div:hover { background: rgba(25,230,255,.16); }
.songlist { position: absolute; inset: 0; display: none; flex-direction: column; gap: .25vw; padding: .7vw .9vw; overflow: auto; background: rgba(4,4,16,.72); border-radius: .7vw; }
.dropzone.haslist .songlist { display: flex; }
.dropzone.haslist .dropart { opacity: .25; }
.songlist .row { display: flex; align-items: center; gap: .7vw; height: 1.9vw; padding: 0 .7vw; border-radius: .5vw; border: 1px solid transparent; font-size: .86vw; font-weight: 500; }
.songlist .row:hover { background: rgba(255,255,255,.06); }
.songlist .row.sel { border-color: rgba(25,230,255,.6); background: rgba(25,230,255,.12); }
.songlist .n { color: var(--mute); font-size: .72vw; width: 1.2vw; }
.songlist .t { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.songlist .ok { color: #38FF9A; font-size: .7vw; }
#status { font-size: .8vw; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill.split { position: relative; overflow: hidden; }
#splitfill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(25,230,255,.35), rgba(255,46,196,.35)); border-radius: 999px; pointer-events: none; transition: width .3s; }
.pill.split > * { position: relative; }
.thit { position: absolute; top: 91.4%; height: 6.5%; width: 3.3%; }
#back { position: absolute; left: 1.2%; top: 1.2%; z-index: 30; display: none; height: 2.2vw; padding: 0 1vw; border-radius: 999px; border: 1px solid var(--edge); background: rgba(8,8,26,.9); color: var(--ink); font-size: .8vw; font-weight: 600; }
body.keys #back { display: inline-flex; align-items: center; }

/* ---- themes: the frame picture + the accent set; set data-theme on <html> ---------------- */
html[data-theme="violet"] .frame { background-image: url("img/frame_violet.webp"); }
html[data-theme="violet"] { --cyan: #B98BFF; --mag: #E64BFF; --vio: #8B5CFF; }
html[data-theme="gold"] .frame { background-image: url("img/frame_gold.webp"); }
html[data-theme="gold"] { --cyan: #FFC452; --mag: #FF4FD8; --vio: #D18CFF; }
/* the status line never crowds the header row */
#status { flex: 0 1 auto; min-width: 0; max-width: 38%; }

/* the play button in the frame: a brighter halo while the mixer plays */
body.playing .thit:nth-of-type(3) { box-shadow: 0 0 1.4vw rgba(25,230,255,.55), inset 0 0 1vw rgba(25,230,255,.25); border-radius: 50%; }

.tab, .header, .chant { user-select: none; -webkit-user-drag: none; cursor: default; }

/* ---- Scott's live notes (2026-11-06 night): glow, hover, play/pause, meter, bell -------------- */
.slot { transition: background .15s, box-shadow .2s, transform .15s; }
.slot:hover { background: rgba(255,255,255,.08); box-shadow: 0 0 1.2vw rgba(25,230,255,.35), inset 0 0 1vw rgba(25,230,255,.10); transform: translateX(.15vw); }
.slot:hover b { text-shadow: 0 0 .6vw rgba(255,255,255,.6); }
.slot:hover svg { filter: drop-shadow(0 0 .5vw currentColor); }
@keyframes keyglow { 0%, 100% { box-shadow: 0 0 1.2vw rgba(25,230,255,.55), 0 0 2vw rgba(255,46,196,.45), inset 0 0 1.4vw rgba(140,90,255,.35); }
                     50%      { box-shadow: 0 0 2.2vw rgba(25,230,255,.85), 0 0 3.2vw rgba(255,46,196,.75), inset 0 0 1.8vw rgba(140,90,255,.55); } }
.key:hover { animation: keyglow 1.4s ease-in-out infinite; transform: translateX(.15vw) scale(1.02); background: linear-gradient(180deg, #14123a, #0a0820) padding-box, linear-gradient(90deg, var(--cyan), #fff 50%, var(--mag)) border-box; }
.key:hover b { text-shadow: 0 0 .8vw rgba(255,255,255,.85); }
.key:hover img { filter: drop-shadow(0 0 .8vw rgba(25,230,255,.95)) brightness(1.25); }
.gb:hover { box-shadow: 0 0 .9vw rgba(25,230,255,.35), inset 0 1px 0 rgba(255,255,255,.16); }
.chip:hover, .dd:hover, .mb:hover { border-color: var(--cyan); box-shadow: 0 0 .7vw rgba(25,230,255,.3); }
.stat:hover { box-shadow: 0 0 1.2vw rgba(25,230,255,.25); }
.wbtn:hover { box-shadow: 0 0 .6vw rgba(255,255,255,.25); }
.chant span:hover { color: var(--wc, var(--cyan)); text-shadow: 0 0 10px var(--wc, var(--cyan)); cursor: default; }
/* play <-> pause: the frame paints the play button; while playing a pause face sits over it */
.thit { border-radius: 50%; }
.thit:hover { box-shadow: 0 0 1vw rgba(255,255,255,.25); }
.t-play .pause { display: none; position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #2a1d58, #0c0a22 70%); border: 2px solid var(--vio); box-shadow: 0 0 1.2vw rgba(166,107,255,.75); }
.t-play .pause::before, .t-play .pause::after { content: ""; position: absolute; top: 30%; bottom: 30%; width: 14%; border-radius: 2px; background: #fff; box-shadow: 0 0 .4vw rgba(255,255,255,.7); }
.t-play .pause::before { left: 32%; } .t-play .pause::after { right: 32%; }
body.playing .t-play .pause { display: block; }
body.playing .t-play { box-shadow: none; }
/* the master meter: lit LEDs follow the output level */
.leds i { opacity: .18; transition: opacity .08s; }
.leds i.lit { opacity: 1; }
/* the bell: the dot only when a new result is waiting */
#belldot { display: none; } .bell.on #belldot { display: block; }
.bell.on { color: var(--ink); text-shadow: 0 0 .6vw rgba(255,77,94,.7); }
/* the resize grip in the bottom-right corner (the window's own corner zone does the resizing) */
.grip { position: absolute; right: .55vw; bottom: .5vw; width: 1.35vw; height: 1.35vw; pointer-events: none; opacity: .85;
        background: repeating-linear-gradient(135deg, transparent 0 .22vw, var(--cyan) .22vw .34vw, transparent .34vw .62vw);
        -webkit-mask-image: linear-gradient(135deg, transparent 45%, #000 46%); mask-image: linear-gradient(135deg, transparent 45%, #000 46%);
        filter: drop-shadow(0 0 .3vw rgba(25,230,255,.7)); }
/* nothing on the page can be dragged out as an image or selected as text; the link box still types */
img, svg, .dropart, .mark { -webkit-user-drag: none; user-drag: none; }
.frame, .frame * { user-select: none; -webkit-user-select: none; }
input, input * { user-select: text; -webkit-user-select: text; }
.dropart, .mark, .key img { pointer-events: none; }

/* ---- the settings panel under the cog, and a heavier logo (Scott, 2026-11-06 night) ---------- */
.spanel { position: absolute; right: 3.2vw; top: 7.6%; z-index: 40; width: 17vw; padding: 1vw 1.1vw 1.1vw; border-radius: 1vw; display: none;
          border: 1px solid transparent; background: linear-gradient(180deg, rgba(10,10,30,.97), rgba(5,5,18,.98)) padding-box,
          linear-gradient(135deg, rgba(25,230,255,.7), rgba(139,92,255,.5) 50%, rgba(255,46,196,.7)) border-box;
          box-shadow: 0 1vw 3vw rgba(0,0,0,.6), 0 0 1.4vw rgba(120,80,255,.25); }
.spanel.open { display: block; }
.stitle { font-family: "Cinzel", serif; font-size: .8vw; letter-spacing: .3em; color: var(--ink); margin-bottom: .8vw; }
.slabel { font-family: "Cinzel", serif; font-size: .62vw; letter-spacing: .26em; color: var(--dim); margin: .7vw 0 .45vw; }
.swatches { display: flex; gap: .5vw; }
.swatch { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .35vw; padding: .55vw .3vw; border-radius: .7vw; border: 1px solid var(--edge); background: var(--glass); font-size: .72vw; font-weight: 600; cursor: pointer; }
.swatch i { width: 1.8vw; height: 1.8vw; border-radius: 50%; display: block; box-shadow: 0 0 .7vw rgba(255,255,255,.25); }
.swatch:hover { border-color: var(--cyan); box-shadow: 0 0 .7vw rgba(25,230,255,.35); }
.swatch.on { border-color: #fff; box-shadow: 0 0 .8vw rgba(255,255,255,.45); }
.srow { display: flex; gap: .5vw; }
.srow .gb { flex: 1; justify-content: center; height: 1.9vw; font-size: .72vw; padding: 0 .6vw; }
.brand { font-size: 1.46vw; font-weight: 800; letter-spacing: .2em; text-shadow: 0 0 .9vw rgba(255,255,255,.28), 0 0 1.6vw rgba(25,230,255,.25); }
.brand b { font-weight: 800; }
.mark { height: 78%; }
.tab { gap: .55vw; padding-left: 1vw; }

/* body face: Sora (shipped with the app) instead of the Windows default; Cinzel keeps the titles */
html, body, button, input, .gb, .mb, .chip, .dd, .want, .tog b, .tog small, .stat .val, .slot b, .key b, .ready, #status, .help, .songlist, .mxempty, .addtrack, .ruler, .lname b, .lname small, .ms, .auto, .lbtns span, .ttime, .mtime, .swatch, #ddmenu div, input#link { font-family: "Sora", "Space Grotesk", "Segoe UI", sans-serif; }
.stat .val { font-weight: 300; } .stat .val span { font-weight: 300; }

/* AUDIOPRISM in Sora 800: crisp at every size (Cinzel hairlines broke up small) */
.brand { font-family: "Sora", "Space Grotesk", sans-serif; font-weight: 800; letter-spacing: .16em; font-size: 1.42vw; }
.brand b { font-weight: 800; }

/* MASTER bottom-right = the master volume: drag along the LEDs */
.leds { cursor: ew-resize; padding: .3vw 0; }
.leds i { opacity: .16; }
.leds i.lit { opacity: 1; }
.tbox { cursor: ew-resize; }

/* ---- "Pro" theme (2026-11-07): the same frame, 30 % less saturated; teal / orchid / lavender accents ---- */
html[data-theme="pro"] .frame { background-image: url("img/frame_pro.png"); }
html[data-theme="pro"] { --cyan: #4FCFDF; --mag: #D45EC2; --vio: #9D86F0; --ink: #EEF0FA; }
html[data-theme="pro"] .dropart { content: url("img/drop_zone_art_pro.png"); }
html[data-theme="pro"] .brand b { background: linear-gradient(90deg, #4FCFDF, #9D86F0); -webkit-background-clip: text; background-clip: text; }
html[data-theme="pro"] .pill, html[data-theme="pro"] .key { background: linear-gradient(180deg, #0b0a22, #060614) padding-box, linear-gradient(90deg, #4FCFDF, #9D86F0 55%, #D45EC2) border-box;
  box-shadow: 0 0 .9vw rgba(79,207,223,.3), 0 0 1.1vw rgba(212,94,194,.3), inset 0 0 1.2vw rgba(140,120,240,.16); }
html[data-theme="pro"] .sw.on { background: linear-gradient(90deg, #8A6BE8, #D45EC2); box-shadow: 0 0 .6vw rgba(212,94,194,.45); }
html[data-theme="pro"] .seek .prog { background: linear-gradient(90deg, #4FCFDF, #D45EC2); box-shadow: 0 0 .5vw rgba(212,94,194,.5); }
html[data-theme="pro"] .leds i { background: linear-gradient(180deg, #D45EC2, #9D86F0); box-shadow: 0 0 4px rgba(212,94,194,.5); }
html[data-theme="pro"] .playhead, html[data-theme="pro"] .playhead i { background: #D45EC2; box-shadow: 0 0 8px #D45EC2; }

/* ---- Pastel and Deep (2026-11-07) ---- */
html[data-theme="pastel"] .frame { background-image: url("img/frame_pastel.png"); }
html[data-theme="pastel"] { --cyan: #8FE3EC; --mag: #F0A3DC; --vio: #BDB0F5; --ink: #F6F7FF; --dim: #E2E4F2; }
html[data-theme="pastel"] .dropart { content: url("img/drop_zone_art_pastel.png"); }
html[data-theme="pastel"] .brand b { background: linear-gradient(90deg, #8FE3EC, #BDB0F5); -webkit-background-clip: text; background-clip: text; }
html[data-theme="pastel"] .pill, html[data-theme="pastel"] .key { background: linear-gradient(180deg, #0f0e2a, #08071c) padding-box, linear-gradient(90deg, #8FE3EC, #BDB0F5 55%, #F0A3DC) border-box; box-shadow: 0 0 .9vw rgba(143,227,236,.3), 0 0 1.1vw rgba(240,163,220,.3), inset 0 0 1.2vw rgba(189,176,245,.16); }
html[data-theme="pastel"] .sw.on { background: linear-gradient(90deg, #BDB0F5, #F0A3DC); box-shadow: 0 0 .6vw rgba(240,163,220,.45); }
html[data-theme="pastel"] .seek .prog { background: linear-gradient(90deg, #8FE3EC, #F0A3DC); box-shadow: 0 0 .5vw rgba(240,163,220,.5); }
html[data-theme="pastel"] .leds i { background: linear-gradient(180deg, #F0A3DC, #BDB0F5); box-shadow: 0 0 4px rgba(240,163,220,.5); }
html[data-theme="pastel"] .playhead, html[data-theme="pastel"] .playhead i { background: #F0A3DC; box-shadow: 0 0 8px #F0A3DC; }
html[data-theme="deep"] .frame { background-image: url("img/frame_deep.png"); }
html[data-theme="deep"] { --cyan: #22B8CC; --mag: #B8309A; --vio: #7A5BE0; }
html[data-theme="deep"] .dropart { content: url("img/drop_zone_art_deep.png"); }
html[data-theme="deep"] .brand b { background: linear-gradient(90deg, #22B8CC, #7A5BE0); -webkit-background-clip: text; background-clip: text; }
html[data-theme="deep"] .pill, html[data-theme="deep"] .key { background: linear-gradient(180deg, #09081c, #050410) padding-box, linear-gradient(90deg, #22B8CC, #7A5BE0 55%, #B8309A) border-box; box-shadow: 0 0 .9vw rgba(34,184,204,.3), 0 0 1.1vw rgba(184,48,154,.35), inset 0 0 1.2vw rgba(122,91,224,.16); }
html[data-theme="deep"] .sw.on { background: linear-gradient(90deg, #6A3FD0, #B8309A); box-shadow: 0 0 .6vw rgba(184,48,154,.45); }
html[data-theme="deep"] .seek .prog { background: linear-gradient(90deg, #22B8CC, #B8309A); box-shadow: 0 0 .5vw rgba(184,48,154,.5); }
html[data-theme="deep"] .leds i { background: linear-gradient(180deg, #B8309A, #7A5BE0); box-shadow: 0 0 4px rgba(184,48,154,.5); }
html[data-theme="deep"] .playhead, html[data-theme="deep"] .playhead i { background: #B8309A; box-shadow: 0 0 8px #B8309A; }
.swatches { flex-wrap: wrap; } .swatch { flex: 1 1 30%; }

/* ---- the drop box's running border (Scott, 2026-11-07): two lights lapping in opposite directions ---- */
.dropzone .runner { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; stroke-width: 2.2; }
.dropzone .runner rect { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dropzone .runner .rail { stroke: rgba(255,255,255,.14); }
.dropzone .runner .lap { stroke-dasharray: 16 84; }
.dropzone .runner .lap.a { stroke: var(--cyan); filter: drop-shadow(0 0 .35vw var(--cyan)) drop-shadow(0 0 .8vw rgba(25,230,255,.45)); }
.dropzone .runner .lap.b { stroke: var(--mag);  filter: drop-shadow(0 0 .35vw var(--mag))  drop-shadow(0 0 .8vw rgba(255,46,196,.45)); }
@keyframes lap-cw  { from { stroke-dashoffset: 0; }   to { stroke-dashoffset: -100; } }
@keyframes lap-ccw { from { stroke-dashoffset: 50; }  to { stroke-dashoffset: 150; } }
.dropzone.haslist .runner { opacity: .45; }

/* the pause face matches the painted play button */
.t-play .pause { inset: 5% 3%; }

/* ---- the seek line IS the painted groove (2026-11-07): same place and height in every frame ---- */
.seek { padding: 0; }
.seek .track { position: absolute; left: 2.7%; right: 2.9%; top: 50%; transform: translateY(-50%); height: 1.9vh; border-radius: 1vh;
               background: linear-gradient(180deg, rgba(0,0,0,.58), rgba(10,12,30,.40)); box-shadow: inset 0 .25vh .7vh rgba(0,0,0,.65), inset 0 -1px 0 rgba(255,255,255,.07); }
.seek .prog { top: .45vh; bottom: .45vh; left: .5vh; height: auto; border-radius: .6vh; }
.seek .mark { top: -.5vh; height: 2.9vh; width: .34vw; border-radius: .17vw; }

/* the painted transport buttons sit a few px differently in each frame: the hit areas (and the pause face) follow */
html[data-theme="violet"] .thit { transform: translate(-0.27vw, -0.34vh); }
html[data-theme="gold"]   .thit { transform: translate(-0.34vw, -0.23vh); }
.swatch { padding: .5vw .3vw; }
.swatch i { width: 2vw; height: 2vw; }

/* the piano tier for "Also make a MIDI": shown when that switch is on */
.midiopt { display: none; gap: .6vw; }
body.midi-on .midiopt { display: flex; }
#ddwrap2 { position: relative; flex: 1; display: flex; }
.dd.dd2 { height: 1.9vw; font-size: .8vw; padding: 0 .7vw; }
.ddmenu { position: absolute; left: 0; right: 0; top: calc(100% + .3vw); z-index: 20; display: none; border-radius: .7vw; border: 1px solid var(--edge); background: rgba(8,8,26,.97); padding: .3vw; box-shadow: 0 .6vw 2vw rgba(0,0,0,.6); }
.ddmenu.open { display: block; }
.ddmenu div { padding: .45vw .8vw; border-radius: .45vw; font-size: .86vw; font-weight: 500; }
.ddmenu div:hover { background: rgba(25,230,255,.16); }

/* ---- contrast pass (Scott, 2026-11-09: "too blended, no contrast on panes"): each pane gets a darker,
   flatter floor so it stands off the backdrop and its words sit on something solid. The neon rims and the
   frame pictures are untouched. Two knobs: --pane-a (top) and --pane-b (bottom). ---- */
:root { --pane-a: rgba(7,8,24,.78); --pane-b: rgba(3,3,12,.88); }
.rg.stat::before, .rg.bar::before, .rg.left::before, .rg.right::before, .rg.bottom::before {
  background: linear-gradient(180deg, var(--pane-a), var(--pane-b));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 0 2.4vw rgba(0,0,0,.45); }
html[data-theme="violet"] { --pane-a: rgba(8,6,24,.84); --pane-b: rgba(4,3,14,.92); }

/* ---- Scott's marks (2026-11-09, his two arrows on the transport bar) ---- */
/* 1. Hover: the white glow ring around a hit area read as a dark hole beside the icon. Now a soft light on the
      button itself, and the hit areas sit on the painted icons (icon centres measured in each frame picture:
      _scratch_fable\measure_transport_20261109.py; violet and gold were ~0.35vw left of their buttons). */
.thit:hover { box-shadow: none; background: radial-gradient(closest-side, rgba(255,255,255,.20), rgba(255,255,255,.07) 58%, rgba(255,255,255,0) 100%); }
.t-rew { left: 5.95% !important; } .t-next { left: 13.61% !important; } .t-loop { left: 17.24% !important; } .t-shuf { left: 20.70% !important; }
html[data-theme="violet"] .thit { transform: translate(0.08vw, -0.19vh); }
html[data-theme="gold"]   .thit { transform: translate(0.07vw, -0.39vh); }
/* 2. The seek line reaches the end of the painted groove (a lighter stub showed at its right end). */
.seek .track { right: 1.45%; }

/* ---- frosted glass under the pulled-up mixer (2026-11-09, Scott + two AIs: the words behind it bled through).
   The page blurs and darkens itself where the mixer window sits (home.js __mixGlass places it). ---- */
#mixglass { position: absolute; display: none; z-index: 6; border-radius: 16px; pointer-events: none;
  background: rgba(5,5,20,.30);
  -webkit-backdrop-filter: blur(.9vw) brightness(.75) saturate(.9); backdrop-filter: blur(.9vw) brightness(.75) saturate(.9); }
#mixglass.on { display: block; }


/* 2026-11-10: calm redesign approved by Scott 2026-11-09 (from _scratch_fable/calm_preview_all_20261109.py) */
.frame::before { content:''; position:absolute; inset:0; pointer-events:none; background: linear-gradient(rgba(4,5,14,.80), rgba(4,5,14,.80)) top / 100% 89.5% no-repeat, linear-gradient(rgba(4,5,14,.45), rgba(4,5,14,.45)) bottom / 100% 10.5% no-repeat; } .rg.stat::before, .rg.bar::before, .rg.left::before, .rg.right::before, .rg.bottom::before { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18) !important; background: linear-gradient(180deg, rgba(10,12,28,.92), rgba(6,7,18,.95)) !important; } .slot { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); } .pill.import { box-shadow: none !important; border: 1px solid rgba(255,255,255,.28) !important; background: rgba(255,255,255,.04) !important; } .key { box-shadow: none !important; border: 1px solid rgba(255,255,255,.28) !important; background: rgba(255,255,255,.04) !important; animation: none !important; } .dropzone .runner .lap { filter: none !important; opacity: .45; } .dropart { filter: brightness(.6) saturate(.85); } .dropzone .runner .lap { display: none !important; } .dropzone .runner .rail { stroke: rgba(255,255,255,.18) !important; } .dropzone::after { content:''; position:absolute; inset:0; pointer-events:none; background: url('img/drop_zone_art.webp') center 46% / cover no-repeat; -webkit-mask-image: radial-gradient(ellipse 30% 24% at 50% 76%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 30% 24% at 50% 76%, #000 55%, transparent 100%); } .pill.split svg, .pill.split b { display: none !important; } #splittext { font-family: 'Cinzel', 'Palatino Linotype', serif; font-weight: 600; letter-spacing: .3em; font-size: 1.5vw; padding-left: .3em; }
 html[data-theme="gold"] .pill.split { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)), #0A0B1A !important; border: 1.5px solid rgba(255,196,82,.9) !important; box-shadow: 0 0 1.3vw rgba(255,196,82,.24), inset 0 0 1.1vw rgba(255,196,82,.07) !important; height: 3.4vw !important; }
 html[data-theme="gold"] .playhead, html[data-theme="gold"] .playhead i { background: rgb(255,196,82) !important; box-shadow: 0 0 8px rgba(255,196,82,.9) !important; }
 html[data-theme="violet"] .pill.split { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)), #0A0B1A !important; border: 1.5px solid rgba(185,139,255,.9) !important; box-shadow: 0 0 1.3vw rgba(185,139,255,.24), inset 0 0 1.1vw rgba(185,139,255,.07) !important; height: 3.4vw !important; }
 html[data-theme="violet"] .playhead, html[data-theme="violet"] .playhead i { background: rgb(185,139,255) !important; box-shadow: 0 0 8px rgba(185,139,255,.9) !important; }
 html[data-theme="cyan"] .pill.split { background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)), #0A0B1A !important; border: 1.5px solid rgba(25,230,255,.9) !important; box-shadow: 0 0 1.3vw rgba(25,230,255,.24), inset 0 0 1.1vw rgba(25,230,255,.07) !important; height: 3.4vw !important; }
 html[data-theme="cyan"] .playhead, html[data-theme="cyan"] .playhead i { background: rgb(25,230,255) !important; box-shadow: 0 0 8px rgba(25,230,255,.9) !important; }
 html[data-theme="gold"] .sw.on { background: linear-gradient(90deg, #A07956, #E7C395) !important; border-color: rgba(231,195,149,.8) !important; box-shadow: 0 0 .6vw rgba(231,195,149,.5) !important; }

/* 2026-11-11: while a split runs the button reads "Splitting 42% - click to cancel", six times as long as "SPLIT".
   At SPLIT's size it wrapped onto two lines and was cut off. Busy, it is set smaller, on one line, and sized from the
   button's own width (cqw; the vw line before it is the same size for an engine without cqw). Checked at 1100, 1364
   and 1920 wide: one line, about 72% of the button. */
#b_split { container-type: inline-size; }
#b_split.busy #splittext { font-size: .94vw; font-size: 3.55cqw; letter-spacing: .13em; padding-left: 0; white-space: nowrap; }
