/* THE RIGHT COLUMN, THE TRANSPORT AND TEST PLAY (docs/28-desktop-editor.md). Owner: the panels.
   Ported from the editor mockup's own styles (Encore-Product-Plan/prototype/assets/screens-editor.js, 'editor-desk':
   right column, meter, helpers, checks, transport) and the create screens' test result (screens-create.js .cr-res),
   on the kit's tokens and components in css/base.css. Every rule is scoped to this owner's regions (#ed-video,
   #ed-panel, #ed-transport, .edp-tp) so no other region's styles change. */

/* ============================================================== the video (never overlaid) */
#ed-video.ed-video { flex: none; padding: 9px 10px 10px; }
/* YouTube's Required Minimum Functionality: the player is never under 200 x 200 CSS px (the box's 1.5 px borders are
   outside that: 204 px tall at least; 16:9 once the column is wide enough, 356 x 200 and up); nothing is ever placed
   over it */
#ed-video .ed-vbox { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 204px; border-radius: 10px; overflow: hidden; border: 1.5px solid rgba(255,255,255,.2); box-shadow: 0 0 26px rgba(255,59,95,.22); background: #000; }
#ed-video .ed-vbox iframe, #ed-video .ed-vbox #ed-yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* until the player is ready its surface is hidden and the rectangle is ours: the song's drawn title card (js/video.js,
   js/panels/cover.js), never the video's thumbnail; the card is removed the moment the player shows */
#ed-video .ed-vbox.loading iframe, #ed-video .ed-vbox.loading #ed-yt { visibility: hidden; }
#ed-video .ed-vcard { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 100% at 30% 20%, rgba(123,44,255,.22), rgba(0,0,0,0) 62%), #0B0B12; }
#ed-video .ed-vcard > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; animation: ed-vcard-in .3s ease-out both; }
#ed-video .ed-vcard .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,10,0) 35%, rgba(7,7,10,.62) 100%); }
#ed-video .ed-vcard .words { position: absolute; left: 14px; right: 14px; bottom: 13px; display: flex; flex-direction: column; gap: 4px; }
#ed-video .ed-vcard .words small { font-family: var(--f-body); font-stretch: 75%; font-weight: 800; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #fff7ec; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ed-video .ed-vcard .words b { font-family: var(--f-disp); font-weight: 400; font-size: 30px; line-height: .98; letter-spacing: .02em; text-transform: uppercase; color: #fff7ec; text-shadow: 0 2px 0 rgba(0,0,0,.35); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
#ed-video .ed-vcard .state { position: absolute; top: 10px; left: 11px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 8px; border-radius: 999px; background: rgba(7,7,10,.5); border: 1px solid rgba(255,255,255,.14); font-size: 10.5px; font-weight: 700; color: rgba(255,247,236,.92); }
#ed-video .ed-vcard .state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ice, #9fe8ff); animation: ed-vcard-pulse 1.1s ease-in-out infinite alternate; }
@keyframes ed-vcard-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ed-vcard-pulse { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #ed-video .ed-vcard > svg, #ed-video .ed-vcard .state::before { animation: none; } }
#ed-video .ed-vbox.silent { box-shadow: none; border-style: dashed; border-color: rgba(255,255,255,.22); background: radial-gradient(120% 90% at 50% 0%, rgba(61,139,255,.12), rgba(0,0,0,.6)), #07070A; }
#ed-video .ed-vsilent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px 16px; text-align: center; }
#ed-video .ed-vsilent svg { width: 26px; height: 26px; color: var(--ice); margin-bottom: 2px; }
#ed-video .ed-vsilent b { font-family: var(--f-disp); font-weight: 400; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
#ed-video .ed-vsilent span { font-size: 11.5px; line-height: 1.4; color: rgba(255,247,236,.86); }
#ed-video .ed-vsilent span.dim { color: var(--dim); font-size: 11px; }
#ed-video .ed-vmeta { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
#ed-video .ed-vmeta .tm { font-family: var(--f-hud); font-style: italic; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
#ed-video .ed-vmeta .st { display: inline-flex; align-items: center; gap: 5px; }
#ed-video .ed-vmeta .st i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); }
#ed-video .ed-vmeta .st.on i { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
#ed-video .ed-vsrc { display: inline-flex; }
#ed-video .ed-speed { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: var(--dim); }
#ed-video .ed-speed .ed-sel { height: 24px; font-size: 11px; flex: none; }
#ed-video .ed-speed .ed-sel option:disabled { color: rgba(255,247,236,.35); }
#ed-video .ed-speed span:last-child { line-height: 1.3; }
#ed-video .ed-vcap { margin: 7px 0 0; font-size: 11px; line-height: 1.45; color: var(--dim); }
#ed-video .ed-vcap b { color: rgba(255,247,236,.92); font-weight: 700; }
#ed-video .ed-vhint { margin: 7px 0 0; padding: 6px 9px; border-radius: 9px; font-size: 11px; line-height: 1.4; color: var(--gold); background: rgba(255,198,94,.08); border: 1px solid rgba(255,198,94,.35); }

/* ============================================================== the tabs: rating, helpers, checks, follow */
#ed-panel.ed-rpane { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
/* four tabs (Follow, 2026-10-07): each as wide as its words need, so RATING keeps its number */
#ed-panel .ed-rtabs { flex: none; display: grid; grid-template-columns: auto auto auto auto; justify-content: space-between; gap: 3px; padding: 6px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.22); border-radius: 13px 13px 0 0; }
#ed-panel .ed-rtab { height: 32px; padding: 0 7px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 5px; font-family: var(--f-disp); font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
#ed-panel .ed-rtab:hover { color: var(--white); }
#ed-panel .ed-rtab b { font-family: var(--f-hud); font-style: italic; font-weight: 900; font-size: 13px; letter-spacing: 0; }
#ed-panel .ed-rtab b.bad { color: #ff8aa0; } #ed-panel .ed-rtab b.ok { color: var(--mint); } #ed-panel .ed-rtab b.none { color: var(--dim2); }
/* a newer measurement on its way: the last numbers stay, dimmed a little, with a small pulsing mark */
#ed-panel .ed-rtab.upd b { opacity: .55; }
#ed-panel .ed-rtab .ed-upd { width: 5px; height: 5px; margin-left: -3px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 6px var(--ice); animation: edUpd 1s ease-in-out infinite; }
@keyframes edUpd { 50% { opacity: .25; } }
#ed-panel .ed-rtab.on { color: var(--white); background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.24), 0 0 16px rgba(112,245,203,.18); }
#ed-panel .ed-rbody { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 11px 14px; outline: none; }
#ed-panel .ed-note { margin: 8px 0 0; font-size: 11px; line-height: 1.45; color: var(--dim); }
#ed-panel .ed-sub { margin: 12px 0 6px; }
#ed-panel .ed-subrow { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
#ed-panel .ed-subrow em { font-style: normal; font-stretch: 100%; font-weight: 600; font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--dim2); }

/* rating: the number, the band, why, how to move it */
#ed-panel .ed-big { display: flex; align-items: flex-end; gap: 10px; }
#ed-panel .ed-big .v { font-family: var(--f-hud); font-style: italic; font-weight: 900; font-size: 44px; line-height: .9; font-variant-numeric: tabular-nums; color: var(--vc); text-shadow: 0 3px 0 rgba(0,0,0,.5), 0 0 22px color-mix(in srgb, var(--vc) 55%, transparent); }
#ed-panel .ed-big .d { padding-bottom: 3px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#ed-panel .ed-big .d > span { font-size: 11px; color: var(--dim); white-space: nowrap; }
#ed-panel .ed-big .d > span b { color: var(--white); }
#ed-panel .ed-mbar { position: relative; display: flex; height: 12px; margin: 28px 2px 26px; border-radius: 8px; }
#ed-panel .ed-mbar .bd { position: relative; height: 100%; }
#ed-panel .ed-mbar .bd:first-child { border-radius: 8px 0 0 8px; } #ed-panel .ed-mbar .bd:last-child { border-radius: 0 8px 8px 0; }
#ed-panel .ed-mbar .bd + .bd { border-left: 2px solid #0b0812; }
#ed-panel .ed-mbar .bd span { position: absolute; top: 20px; left: 0; right: 0; text-align: center; font-stretch: 75%; font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim2); }
#ed-panel .ed-mbar .bd.cur span { color: var(--white); }
#ed-panel .ed-mtgt { position: absolute; top: -8px; bottom: -2px; width: 0; border-left: 2px dashed rgba(255,255,255,.85); }
#ed-panel .ed-mtgt b { position: absolute; bottom: calc(100% + 1px); left: 0; transform: translateX(-50%); font-stretch: 75%; font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
#ed-panel .ed-mval { position: absolute; top: -4px; width: 6px; height: 20px; margin-left: -3px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1.5px rgba(0,0,0,.6), 0 0 12px var(--vc), 0 0 22px var(--vc); transition: left .35s cubic-bezier(.3,1.3,.5,1); }
#ed-panel .ed-shown { display: flex; gap: 6px; align-items: flex-start; margin: 8px 0 0; font-size: 11px; line-height: 1.35; color: var(--gold); }
#ed-panel .ed-shown.warn { color: var(--amber); }
#ed-panel .ed-shown svg { width: 13px; height: 13px; flex: none; margin-top: 1px; }
#ed-panel .ed-why { display: flex; flex-direction: column; gap: 4px; }
#ed-panel .ed-why .r { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 8px; align-items: center; font-size: 11px; line-height: 1.3; }
#ed-panel .ed-why .r.base { margin-top: 2px; padding-top: 5px; border-top: 1px dashed rgba(255,255,255,.12); }
#ed-panel .ed-why .c { font-family: var(--f-hud); font-style: italic; font-weight: 900; font-size: 12.5px; text-align: right; font-variant-numeric: tabular-nums; }
#ed-panel .ed-why .c.up { color: #ff8aa0; } #ed-panel .ed-why .c.dn { color: var(--mint); } #ed-panel .ed-why .c.z { color: var(--dim2); }
#ed-panel .ed-why .r span b { font-weight: 800; color: var(--white); }
#ed-panel .ed-why .r span { color: var(--dim); }
#ed-panel .ed-sug { display: grid; grid-template-columns: 16px minmax(0,1fr) auto; gap: 7px; align-items: center; width: 100%; padding: 6px 8px; border-radius: 9px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); font-size: 11px; line-height: 1.35; color: rgba(255,247,236,.86); text-align: left; }
#ed-panel .ed-sug + .ed-sug { margin-top: 5px; }
#ed-panel .ed-sug.go { cursor: pointer; }
#ed-panel .ed-sug.go:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
#ed-panel .ed-sug svg { width: 13px; height: 13px; color: var(--dim); }
#ed-panel .ed-sug .ar { font-weight: 900; font-size: 13px; text-align: center; }
#ed-panel .ed-sug .ar.dn { color: var(--mint); } #ed-panel .ed-sug .ar.up { color: #ff8aa0; }

/* helpers: what the last one did, the buttons, what they act on */
#ed-panel .ed-res { padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(112,245,203,.4); background: rgba(112,245,203,.07); font-size: 11px; line-height: 1.4; }
#ed-panel .ed-res + * { margin-top: 10px; }
#ed-panel .ed-res.none { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
#ed-panel .ed-res .top { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; min-height: 22px; }
#ed-panel .ed-res .top b { font-weight: 800; font-size: 11.5px; }
#ed-panel .ed-res .top .glass { margin-left: auto; min-height: 26px; padding: 0 8px; }
#ed-panel .ed-res .rt { margin-top: 4px; font-family: var(--f-hud); font-style: italic; font-weight: 800; font-size: 12px; color: var(--mint); }
#ed-panel .ed-res .key { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; font-size: 11px; color: var(--dim); }
#ed-panel .ed-res .key span.a { color: var(--mint); font-weight: 700; } #ed-panel .ed-res .key span.m { color: var(--amber); font-weight: 700; } #ed-panel .ed-res .key span.r { color: #ff8aa0; font-weight: 700; }
#ed-panel .ed-hgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 8px; }
#ed-panel .ed-hgrid .gb { min-height: 38px; padding: 0 8px; border-radius: 12px; gap: 6px; }
#ed-panel .ed-hgrid .gb .lbl { font-size: 13px; letter-spacing: .035em; white-space: nowrap; }
#ed-panel .ed-hgrid .gb svg { width: 14px; height: 14px; }
#ed-panel .ed-hgrid .gb.span2 { grid-column: 1 / -1; }
#ed-panel .ed-hgrid .gb.off { cursor: pointer; }
#ed-panel .ed-mirror { width: 100%; margin-top: 12px; min-height: 34px; }
#ed-panel .ed-mirror.off { opacity: .5; }
#ed-panel .ed-off { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
#ed-panel .ed-off p { margin: 0; display: grid; grid-template-columns: 14px minmax(0,1fr); gap: 6px; font-size: 11px; line-height: 1.4; color: var(--dim); }
#ed-panel .ed-off p svg { width: 13px; height: 13px; color: var(--gold); margin-top: 1px; }
#ed-panel .ed-off p b { color: rgba(255,247,236,.86); font-weight: 700; }
#ed-panel .ed-scope { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 10px; }
#ed-panel .ed-sc { display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.14); background: rgba(0,0,0,.3); font-stretch: 75%; font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
#ed-panel .ed-sc.on { color: var(--white); border-color: rgba(127,243,255,.65); background: rgba(61,139,255,.16); }
#ed-panel .ed-scope p { margin: 0; font-size: 11px; line-height: 1.45; color: var(--dim); }
#ed-panel .ed-scope p b { color: rgba(255,247,236,.9); font-weight: 700; }
/* Make easier, Make harder and Add the melody line: the whole chart or one part (Follow, 2026-10-07) */
#ed-panel .ed-hscope { margin: 0 0 10px; }
#ed-panel .ed-hscope .ed-sub { display: block; margin: 0 0 5px; }

/* checks */
#ed-panel .ed-sh-line { margin: 0; }
#ed-panel .ed-chks { display: flex; flex-direction: column; gap: 6px; }
#ed-panel .ed-chk { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 7px; align-items: start; padding: 8px 9px; border-radius: 10px; font-size: 11px; line-height: 1.38; color: rgba(255,247,236,.86); text-align: left; width: 100%; background: rgba(255,59,95,.06); border: 1px solid rgba(255,92,122,.3); }
#ed-panel .ed-chk > svg { width: 15px; height: 15px; margin-top: 1px; color: #ff6b85; }
#ed-panel .ed-chk .tx { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#ed-panel .ed-chk .tx > b { font-weight: 800; font-size: 12px; color: #ff9aae; }
#ed-panel .ed-chk .tx > span { color: rgba(255,247,236,.82); }
#ed-panel .ed-tms { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
#ed-panel .ed-tms em { font-style: normal; font-size: 11px; color: var(--dim2); align-self: center; }
#ed-panel .ed-tm, .edp-tp .ed-tm { height: 22px; padding: 0 7px; border-radius: 7px; border: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.3); font-family: var(--f-hud); font-style: italic; font-weight: 800; font-size: 11px; color: rgba(255,247,236,.86); white-space: nowrap; font-variant-numeric: tabular-nums; }
#ed-panel .ed-tm:hover, .edp-tp .ed-tm:hover { border-color: rgba(127,243,255,.6); color: var(--white); background: rgba(61,139,255,.14); }
#ed-panel .ed-acts { display: flex; gap: 6px; margin-top: 5px; }
#ed-panel .ed-acts .glass.sm { min-height: 28px; padding: 0 9px; }
#ed-panel .ed-acts .gb.sm { width: auto; min-height: 28px; padding: 0 10px; border-radius: 9px; gap: 5px; }
#ed-panel .ed-acts .gb.sm .lbl { font-size: 12.5px; }
#ed-panel .ed-acts .gb.sm svg { width: 13px; height: 13px; }
#ed-panel .ed-shlist { display: flex; flex-direction: column; gap: 5px; }
#ed-panel .ed-shc { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 8px; font-size: 11.5px; line-height: 1.4; padding: 3px 0; }
#ed-panel .ed-shc svg { width: 15px; height: 15px; margin-top: 2px; }
#ed-panel .ed-shc.ok svg { color: var(--mint); } #ed-panel .ed-shc.no svg { color: var(--amber); } #ed-panel .ed-shc.info svg { color: var(--ice); }
#ed-panel .ed-shc b { display: block; font-weight: 800; color: var(--white); }
#ed-panel .ed-shc span { display: block; color: var(--dim); }
#ed-panel .ed-shc .glass.sm { margin-top: 6px; min-height: 28px; padding: 0 9px; }

/* ============================================================== the transport */
#ed-transport .gb.round { width: 42px; min-height: 42px; }
#ed-transport .gb.round svg { width: 18px; height: 18px; }
#ed-transport .glass.sm { min-height: 32px; }
#ed-transport .lbl2 { font-stretch: 75%; font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim2); }
#ed-transport .ed-metl { flex: none; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); transition: background .08s; }
#ed-transport .ed-metl.b { animation: edMetB .32s ease-out; } #ed-transport .ed-metl.d { animation: edMetD .32s ease-out; }
@keyframes edMetB { from { background: var(--gold); box-shadow: 0 0 12px var(--gold); } }
@keyframes edMetD { from { background: #ff5c7a; box-shadow: 0 0 14px #ff5c7a; } }
#ed-transport .ed-snap { display: flex; padding: 3px; gap: 2px; border-radius: 11px; background: rgba(0,0,0,.45); border: 1.5px solid rgba(255,255,255,.12); box-shadow: inset 0 2px 5px rgba(0,0,0,.5); }
#ed-transport .ed-snap button { height: 26px; min-width: 38px; padding: 0 7px; border-radius: 8px; font-family: var(--f-hud); font-style: italic; font-weight: 800; font-size: 12px; color: var(--dim); }
#ed-transport .ed-snap button:hover { color: var(--white); }
#ed-transport .ed-snap button.on { background: linear-gradient(180deg, #8ff7dc, #3fbf9f); color: #062A20; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 2px 0 #0f4a3a, 0 0 10px rgba(112,245,203,.4); }
#ed-transport .ed-zoom { display: flex; align-items: center; gap: 5px; }
#ed-transport .ed-zoom input { width: 110px; accent-color: var(--mint); }
#ed-transport .ed-read { margin-left: auto; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
#ed-transport .ed-read .it { display: flex; align-items: baseline; gap: 5px; }
#ed-transport .ed-read .it span { font-stretch: 75%; font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim2); }
#ed-transport .ed-read .it b { font-family: var(--f-hud); font-style: italic; font-weight: 900; font-size: 20px; font-variant-numeric: tabular-nums; }
#ed-transport .ed-read .it.tm b { color: var(--cyan); text-shadow: 0 0 12px rgba(127,243,255,.45); min-width: 58px; text-align: right; }
#ed-transport .ed-read .dot { color: var(--dim2); }
#ed-transport .ed-loopst { font-size: 11px; color: var(--gold); white-space: nowrap; }
#ed-transport .ed-loopst.off { color: var(--dim2); }
#ed-transport.testing > * { opacity: .45; }
#ed-transport.testing .ed-read { opacity: 1; }
@media (max-width: 1320px) { #ed-transport .ed-loopst { display: none; } #ed-transport .ed-zoom input { width: 80px; } }

/* ============================================================== test play: a highway over the centre column only */
.edp-tp { position: fixed; z-index: 45; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; outline: none;
  border: 1.5px solid rgba(127,243,255,.35); background: radial-gradient(90% 70% at 50% 100%, rgba(61,139,255,.16), transparent 70%), linear-gradient(180deg, #0d0a16, #07070A); box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 18px 50px rgba(0,0,0,.55), 0 0 30px rgba(63,227,255,.12); }
.edp-tp-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(22,15,32,.92), rgba(12,9,20,.6)); }
.edp-tp-head .eyebrow { font-size: 11px; }
.edp-tp-head .where { font-weight: 800; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.edp-tp-head .live { font-family: var(--f-hud); font-style: italic; font-weight: 800; font-size: 13px; color: var(--mint); white-space: nowrap; font-variant-numeric: tabular-nums; }
.edp-tp-head .glass.sm { min-height: 30px; }
.edp-tp-canvas { flex: 1; min-height: 0; width: 100%; display: block; }
.edp-tp-notice { flex: none; margin: 0; padding: 6px 14px; font-size: 11.5px; color: var(--gold); background: rgba(255,198,94,.08); border-top: 1px solid rgba(255,198,94,.3); }
.edp-tp-keys { flex: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; padding: 8px 12px 10px; border-top: 1px solid rgba(255,255,255,.07); font-size: 11px; color: var(--dim); }
.edp-tp-keys span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.edp-tp-keys kbd { font-size: 10.5px; padding: 2px 4px; }
.edp-tp.done .edp-tp-canvas { opacity: .35; }
.edp-tp-result { position: absolute; inset: 44px 0 0 0; display: grid; place-items: center; padding: 16px; background: rgba(7,7,10,.45); }
.edp-tp .cr-res { width: min(440px, 100%); text-align: center; padding: 16px 16px 14px; border-radius: 16px; background: linear-gradient(180deg, rgba(40,32,60,.96), rgba(12,9,20,.97)); border: 1.5px solid rgba(255,255,255,.16); box-shadow: 0 20px 50px rgba(0,0,0,.6); animation: rise .2s ease-out; }
.edp-tp .cr-res .eyebrow { font-size: 11px; }
.edp-tp .cr-res .acc { font-family: var(--f-hud); font-style: italic; font-weight: 900; font-size: 56px; line-height: 1; margin: 6px 0 4px; background: linear-gradient(180deg, #fff, #dce3f0 55%, #7c8aa3); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(0,0,0,.45)); }
.edp-tp .cr-res .md { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-disp); font-size: 20px; letter-spacing: .08em; text-transform: uppercase; }
.edp-tp .medal { display: inline-block; width: 22px; height: 22px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #fff5c8, #ffc65e 45%, #b8741a); box-shadow: 0 1px 0 rgba(0,0,0,.45), inset 0 -1px 1px rgba(0,0,0,.3); }
.edp-tp .medal.silver { background: radial-gradient(circle at 35% 30%, #fff, #dce3f0 45%, #7c8aa3); } .edp-tp .medal.bronze { background: radial-gradient(circle at 35% 30%, #ffd2b0, #e0956a 45%, #7a3e1e); } .edp-tp .medal.encore { background: radial-gradient(circle at 35% 30%, #ffd6e0, #ff3b5f 45%, #7a0a2a); } .edp-tp .medal.none { background: radial-gradient(circle at 35% 30%, #8a8494, #3a3542 45%, #1d1a22); }
.edp-tp .cr-res .cnts { display: flex; justify-content: center; gap: 14px; margin: 12px 0 8px; font-size: 11.5px; color: var(--dim); }
.edp-tp .cr-res .cnts b { display: block; font-family: var(--f-hud); font-style: italic; font-weight: 900; font-size: 18px; color: var(--white); }
.edp-tp .cr-res .cnts b.bad { color: #ff8aa0; }
.edp-tp .cr-res .ln { font-size: 11.5px; line-height: 1.45; color: rgba(255,247,236,.82); margin: 6px 0 0; }
.edp-tp .cr-res .ln.ok { color: var(--mint); font-weight: 700; }
.edp-tp .cr-res .ln.warn { color: var(--gold); }
.edp-tp .cr-res .miss { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px; margin: 8px 0 2px; font-size: 11.5px; color: var(--dim); }
/* the test-play suggestion (Follow, phase 2): where the misses cluster, and two ways to make it gentler there */
.edp-tp .cr-res .sugg { margin: 10px 0 0; padding: 8px 10px 9px; border-radius: 12px; background: rgba(77,220,255,.07); border: 1px solid rgba(77,220,255,.28); text-align: left; }
.edp-tp .cr-res .sugg .ln { display: flex; gap: 6px; align-items: flex-start; margin: 0; }
.edp-tp .cr-res .sugg .ln svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--ice, #4DDCFF); }
.edp-tp .cr-res .sugg .sacts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.edp-tp .cr-res .sugg .sacts .glass { flex: 1 1 auto; }
.edp-tp .cr-res .acts { display: flex; gap: 8px; margin-top: 14px; }
.edp-tp .cr-res .acts .gb.sm { flex: 1.3; }
.edp-tp .cr-res .acts .glass { flex: 1; }

/* ============================================================== follow (the melody assist: js/panels/follow.js) */
#ed-panel .ed-fl-eye { margin-bottom: 6px; }
#ed-panel .ed-fl-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
#ed-panel .ed-fl-opt { display: grid; grid-template-columns: 14px minmax(0,1fr); grid-template-rows: auto auto; column-gap: 7px; row-gap: 3px; align-items: center; align-content: center; min-height: 46px; width: 100%; padding: 6px 8px; border-radius: 11px; text-align: left; background: rgba(0,0,0,.32); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: rgba(255,247,236,.86); }
#ed-panel .ed-fl-opt:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.26); }
#ed-panel .ed-fl-opt .dot { grid-row: 1; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
#ed-panel .ed-fl-opt b { grid-row: 1; grid-column: 2; font-weight: 800; font-size: 12.5px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ed-panel .ed-fl-opt .ed-fl-tag { grid-row: 2; grid-column: 2; justify-self: start; }
#ed-panel .ed-fl-opt.on { background: rgba(112,245,203,.08); box-shadow: inset 0 0 0 1.5px var(--mint), 0 0 12px rgba(112,245,203,.18); }
#ed-panel .ed-fl-opt.on .dot { box-shadow: inset 0 0 0 4.5px var(--mint); }
#ed-panel .ed-fl-opt.off { opacity: .45; }
#ed-panel .ed-fl-tag { display: inline-flex; align-items: center; height: 15px; padding: 0 5px; border-radius: 5px; font-stretch: 75%; font-weight: 800; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.3); white-space: nowrap; }
#ed-panel .ed-fl-tag.gold { color: var(--gold); border-color: rgba(255,198,94,.55); background: rgba(255,198,94,.1); }
#ed-panel .ed-fl-seg { display: flex; padding: 3px; gap: 2px; border-radius: 11px; background: rgba(0,0,0,.45); border: 1.5px solid rgba(255,255,255,.12); box-shadow: inset 0 2px 5px rgba(0,0,0,.5); }
#ed-panel .ed-fl-seg button { flex: 1 1 0; min-width: 0; min-height: 28px; padding: 2px 6px; border-radius: 8px; font-stretch: 75%; font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); line-height: 1.15; }
#ed-panel .ed-fl-seg button:hover { color: var(--white); }
#ed-panel .ed-fl-seg button.on { color: var(--white); background: rgba(112,245,203,.16); box-shadow: inset 0 -3px 0 var(--mint), inset 0 0 0 1px rgba(112,245,203,.45); }
#ed-panel .ed-fl-line { margin-top: 6px; }
#ed-panel .ed-fl-row { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 6px; align-items: center; margin-top: 8px; }
#ed-panel .ed-fl-row .ed-sub { margin: 0; line-height: 1.15; }
#ed-panel .ed-fl-sum { margin-top: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(112,245,203,.4); background: rgba(112,245,203,.07); font-size: 11px; line-height: 1.4; }
#ed-panel .ed-fl-sum.none { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--dim); }
#ed-panel .ed-fl-sum .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; font-weight: 700; }
#ed-panel .ed-fl-sum .top b { font-family: var(--f-hud); font-style: italic; font-weight: 900; font-size: 13px; }
#ed-panel .ed-fl-sum b.a { color: var(--mint); } #ed-panel .ed-fl-sum b.r { color: #ff8aa0; } #ed-panel .ed-fl-sum b.m { color: var(--amber); } #ed-panel .ed-fl-sum b.ok { color: var(--mint); font-style: normal; font-family: inherit; font-size: 11px; }
#ed-panel .ed-fl-sum .rt { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--f-hud); font-style: italic; font-weight: 800; font-size: 12px; color: var(--mint); }
#ed-panel .ed-fl-sum .rt .kk { font-family: var(--f-body); font-style: normal; font-weight: 600; font-size: 10.5px; color: var(--dim); white-space: nowrap; }
#ed-panel .ed-fl-sum .rt .kk i { font-style: normal; font-weight: 800; } #ed-panel .ed-fl-sum .rt .kk i.a { color: var(--mint); } #ed-panel .ed-fl-sum .rt .kk i.r { color: #ff8aa0; }
#ed-panel .ed-fl-sum .jn { margin-top: 4px; color: var(--dim); }
#ed-panel .ed-fl-sum .key { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; color: var(--dim); }
#ed-panel .ed-fl-sum .key span.a { color: var(--mint); font-weight: 700; } #ed-panel .ed-fl-sum .key span.r { color: #ff8aa0; font-weight: 700; }
#ed-panel .ed-fl-acts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px; margin-top: 10px; align-items: stretch; }
#ed-panel .ed-fl-acts .glass { min-height: 38px; justify-content: center; }
#ed-panel .ed-fl-acts .glass.off { opacity: .5; }
#ed-panel .ed-fl-acts .gb { min-height: 38px; padding: 0 8px; border-radius: 12px; gap: 6px; }
#ed-panel .ed-fl-acts .gb .lbl { font-size: 13px; letter-spacing: .035em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ed-panel .ed-fl-acts .gb svg { width: 14px; height: 14px; }
#ed-panel .ed-fl-sub { margin: 10px 0 5px; }
#ed-panel .ed-fl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border-radius: 11px; background: rgba(0,0,0,.45); border: 1.5px solid rgba(255,255,255,.12); box-shadow: inset 0 2px 5px rgba(0,0,0,.5); }
#ed-panel .ed-fl-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#ed-panel .ed-fl-mixed { margin-top: 6px; }
#ed-panel .ed-fl-grid button { min-width: 0; min-height: 28px; padding: 2px 6px; border-radius: 8px; font-stretch: 75%; font-weight: 800; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ed-panel .ed-fl-grid button:hover { color: var(--white); }
#ed-panel .ed-fl-grid button.off { opacity: .45; }
#ed-panel .ed-fl-grid button.on { opacity: 1; color: var(--white); background: rgba(112,245,203,.16); box-shadow: inset 0 -3px 0 var(--mint), inset 0 0 0 1px rgba(112,245,203,.45); }
#ed-panel .ed-fl-sw { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 11.5px; font-weight: 700; }
#ed-panel .ed-fl-sw small { font-weight: 500; font-size: 10.5px; color: var(--dim); }
#ed-panel .ed-fl-sw button { flex: none; width: 38px; height: 21px; border-radius: 11px; background: rgba(255,255,255,.15); position: relative; }
#ed-panel .ed-fl-sw button::after { content: ''; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--white); transition: left .15s; }
#ed-panel .ed-fl-sw button.on { background: var(--mint); }
#ed-panel .ed-fl-sw button.on::after { left: 20px; background: #062A20; }
#ed-panel .ed-fl-tiers { display: flex; flex-direction: column; gap: 3px; }
#ed-panel .ed-fl-tier { display: grid; grid-template-columns: 52px minmax(0, 1fr) 32px; gap: 6px; align-items: center; font-size: 11px; color: var(--dim); padding: 1px 4px; border-radius: 6px; }
#ed-panel .ed-fl-tier.on { color: var(--white); background: rgba(255,255,255,.06); }
#ed-panel .ed-fl-tier .bar { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
#ed-panel .ed-fl-tier .bar i { display: block; height: 100%; border-radius: 3px; }
#ed-panel .ed-fl-tier b { text-align: right; font-family: var(--f-hud); font-style: italic; font-weight: 800; font-size: 12px; color: var(--white); }
@media (prefers-reduced-motion: reduce) { #ed-panel .ed-fl-sw button::after { transition: none; } }
/* CHECKS: left and right (Follow, 2026-10-07) */
#ed-panel .ed-bal .ed-balbar { display: flex; gap: 2px; height: 10px; margin: 6px 0 2px; }
#ed-panel .ed-bal .ed-balbar i { flex: 1 1 0; min-width: 3px; border-radius: 2px; background: linear-gradient(90deg, #FF6B6B 0 var(--l), #3FE3FF var(--l) 100%); opacity: .55; }
#ed-panel .ed-bal .ed-balbar i.lean { opacity: 1; box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
#ed-panel .ed-bal-rows { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
#ed-panel .ed-bal-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; }
#ed-panel .ed-bal-row .glass { min-height: 26px; padding: 0 8px; flex: none; }
#ed-panel .ed-holds { margin-top: 6px; }
