/* wa3 Split in the browser — the app's own styles, in the SEO site's KPR language (notched keys, mono labels, pixel names).
   Scoped under #splitapp / .sa-*; the page around it is the SEO shell (seo.css). */
.more > .sec:has(#splitapp) { grid-column: 1 / -1; }
#splitapp { display: grid; gap: 14px; max-width: 980px; }
.sa-step { padding: 18px 18px 20px; box-shadow: inset 0 0 0 1px var(--kv-line, rgba(255,222,188,.14)); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); background: rgba(255, 255, 255, .02); }
.sa-step[hidden], .sa-err[hidden] { display: none; }
.sa-label { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; font: 400 11px/1.2 var(--kv-mono, ui-monospace, monospace); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim, rgba(255,255,255,.75)); }
.sa-label b { font: 400 22px/1 var(--pixel); letter-spacing: 0; color: var(--racc-t, #ffc44e); }
.sa-took { color: var(--bone-faint, rgba(255,255,255,.45)); letter-spacing: .1em; text-transform: none; }
.sa-q { width: 100%; height: 52px; padding: 0 2px; border: 0; border-radius: 0; background: transparent; color: var(--bone, #fff); box-shadow: inset 0 -1px 0 var(--kv-line, rgba(255,222,188,.2)); font: 400 18px/1 var(--kv-head, system-ui, sans-serif); outline: none; }
.sa-q:focus { box-shadow: inset 0 -2px 0 var(--racc, #ffc44e); }
.sa-res { display: grid; margin-top: 6px; }
.sa-hit { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t d" "a d"; gap: 2px 14px; align-items: center; padding: 11px 6px; border: 0; border-bottom: 1px solid var(--kv-line, rgba(255,222,188,.12)); background: none; color: inherit; text-align: start; cursor: pointer; transition: background .15s; }
.sa-hit:hover, .sa-hit:focus-visible { background: color-mix(in srgb, var(--racc, #ffc44e) 9%, transparent); }
.sa-hit b { grid-area: t; font: 400 17px/1.2 var(--pixel); text-transform: uppercase; color: var(--bone, #fff); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-hit span { grid-area: a; font: 400 11px/1.3 var(--kv-mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-faint, rgba(255,255,255,.5)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-hit i { grid-area: d; font: 400 11px/1 var(--kv-mono, monospace); font-style: normal; color: var(--bone-faint, rgba(255,255,255,.5)); }
.sa-none { padding: 12px 4px; font: 400 13px/1.4 var(--kv-head, sans-serif); color: var(--bone-faint, rgba(255,255,255,.5)); }
.sa-file { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--kv-line, rgba(255,222,188,.2)); clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%, 0 9px); font: 400 11px/1 var(--kv-mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--bone, #fff); }
.sa-file:hover { background: var(--racc, #ffc44e); color: #070504; }
.sa-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sa-chosen { display: grid; gap: 4px; margin: 0 0 16px; }
.sa-chosen b { font: 400 clamp(22px, 2.6vw, 34px)/1.1 var(--pixel); text-transform: uppercase; color: var(--bone, #fff); }
.sa-chosen span { font: 400 11px/1.3 var(--kv-mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-faint, rgba(255,255,255,.5)); }
.sa-btn { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border: 0; cursor: pointer; background: var(--racc, #ffc44e); color: #070504; font: 700 13px/1 var(--kv-mono, monospace); letter-spacing: .16em; text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: filter .15s; }
.sa-btn:hover { filter: brightness(1.1); }
.sa-btn:disabled { opacity: .45; cursor: default; filter: none; }
.sa-again { margin-top: 16px; background: transparent; color: var(--bone, #fff); box-shadow: inset 0 0 0 1px var(--kv-line, rgba(255,222,188,.2)); height: 42px; font-weight: 400; }
.sa-again:hover { background: var(--racc, #ffc44e); color: #070504; }
.sa-note { margin-top: 12px; font: 400 13px/1.5 var(--kv-head, sans-serif); color: var(--bone-faint, rgba(255,255,255,.55)); max-width: 60ch; }
.sa-bar { height: 6px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--kv-line, rgba(255,222,188,.14)); overflow: hidden; }
.sa-bar i { display: block; height: 100%; width: 0; background: var(--racc, #ffc44e); transition: width .25s; }
.sa-msg { margin-top: 10px; font: 400 11px/1.4 var(--kv-mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-faint, rgba(255,255,255,.55)); }
.sa-err { padding: 14px 16px; font: 400 14px/1.5 var(--kv-head, sans-serif); color: #fff; background: rgba(255, 70, 50, .14); box-shadow: inset 2px 0 0 #ff6a3d; }
.sa-transport { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 0 0 16px; }
.sa-play { width: 52px; height: 52px; border: 0; cursor: pointer; background: var(--racc, #ffc44e); color: #070504; font-size: 18px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px); }
.sa-t, .sa-d { font: 400 13px/1 var(--kv-mono, monospace); color: var(--bone-dim, rgba(255,255,255,.75)); font-variant-numeric: tabular-nums; }
.sa-seek, .sa-v { width: 100%; accent-color: var(--racc, #ffc44e); }
.sa-lanes { display: grid; gap: 8px; }
.sa-lane { display: grid; grid-template-columns: 9em auto auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px 12px 12px 16px; position: relative; background: rgba(255, 255, 255, .02); box-shadow: inset 3px 0 0 var(--lane), inset 0 0 0 1px var(--kv-line, rgba(255,222,188,.12)); transition: opacity .2s; }
.sa-lane.off { opacity: .4; }
.sa-name { font: 400 19px/1 var(--pixel); text-transform: uppercase; color: var(--lane); }
.sa-m, .sa-s { width: 38px; height: 34px; border: 0; cursor: pointer; background: transparent; color: var(--bone, #fff); box-shadow: inset 0 0 0 1px var(--kv-line, rgba(255,222,188,.25)); font: 700 12px/1 var(--kv-mono, monospace); clip-path: polygon(7px 0, 100% 0, 100% 100%, 0 100%, 0 7px); }
.sa-m[aria-pressed="true"] { background: #ff6a3d; color: #070504; box-shadow: none; }
.sa-s[aria-pressed="true"] { background: var(--lane); color: #070504; box-shadow: none; }
.sa-v { accent-color: var(--lane); }
.sa-save { margin-top: 18px; padding-top: 16px; box-shadow: inset 0 1px 0 var(--kv-line, rgba(255,222,188,.12)); }
.sa-save .sa-label { margin-bottom: 10px; }
.sa-dl { display: flex; flex-wrap: wrap; gap: 8px; }
.sa-dlb { padding: 12px 16px; border: 0; cursor: pointer; background: transparent; color: var(--bone, #fff); box-shadow: inset 0 0 0 1px var(--kv-line, rgba(255,222,188,.25));
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%, 0 9px); font: 400 11px/1.2 var(--kv-mono, monospace); letter-spacing: .1em; text-transform: uppercase; text-align: start; transition: background .15s, color .15s; }
.sa-dlb:hover:not(:disabled) { background: var(--racc, #ffc44e); color: #070504; box-shadow: none; }
.sa-dlb:disabled { opacity: .45; cursor: default; }
.sa-dlb.busy { opacity: 1; background: color-mix(in srgb, var(--racc, #ffc44e) 22%, transparent); }
.sa-dlmsg { margin-top: 10px; min-height: 1em; font: 400 11px/1.4 var(--kv-mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-faint, rgba(255,255,255,.55)); }
@media (max-width: 560px) {
  .sa-step { padding: 14px 12px 16px; }
  .sa-lane { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "n m s" "v v v"; }
  .sa-name { grid-area: n; } .sa-m { grid-area: m; } .sa-s { grid-area: s; } .sa-v { grid-area: v; }
  .sa-transport { grid-template-columns: auto minmax(0, 1fr) auto; } .sa-t { display: none; }
  .sa-dl { display: grid; } .sa-dlb { min-height: 44px; }
}
.sa-quick { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; cursor: pointer; font: 400 13px/1.4 var(--kv-head, sans-serif); color: var(--bone-dim, rgba(255,255,255,.75)); }
.sa-quick input { width: 18px; height: 18px; accent-color: var(--racc, #ffc44e); }

/* the landing page around the app (10-31): the copy on show, the demo player, the uses as notched cards, the three steps */
.more > .sec:has(#sa-demo), .more > .sec:has(.sa-uses), .more > .sec:has(.sa-steps) { grid-column: 1 / -1; }
.sa-copy { max-width: 68ch; margin: 0 0 14px; font: 400 16px/1.65 var(--kv-head, sans-serif); color: rgba(255, 255, 255, .8); }
.sa-tech { font-size: 13px; color: var(--bone-faint, rgba(255,255,255,.55)); }
[lang="ar"] .sa-copy { font-family: "Cairo", var(--kv-head, sans-serif); line-height: 1.85; }
.sd { max-width: 980px; padding: 18px; box-shadow: inset 0 0 0 1px var(--kv-line, rgba(255,222,188,.14)); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); background: rgba(255, 255, 255, .02); }
.sd-top { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "p w" "p c"; column-gap: 16px; row-gap: 8px; align-items: center; margin-bottom: 16px; }
.sd-play { grid-area: p; width: 64px; height: 64px; border: 0; cursor: pointer; background: var(--racc, #ffc44e); color: #070504; font-size: 22px; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px); }
.sd-wave { grid-area: w; position: relative; display: grid; gap: 4px; height: 52px; }
.sd-wave i { display: block; border-radius: 1px; transition: opacity .25s; background-size: 6px 100%; opacity: .9;
  background-image: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px); -webkit-mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.sd-wave .sd-vocals { color: #ffc44e; } .sd-wave .sd-drums { color: #ff6a3d; } .sd-wave .sd-bass { color: #85daff; } .sd-wave .sd-other { color: #d4ff00; }
.sd-wave i.off { opacity: .14; }
.sd-wave::after { content: ""; position: absolute; top: -3px; bottom: -3px; left: calc(var(--sd-p, 0) * 100%); width: 2px; background: #fff; box-shadow: 0 0 8px #fff; opacity: 0; transition: opacity .2s; }
.sd.playing .sd-wave::after { opacity: 1; }
.sd.playing .sd-wave i:not(.off) { animation: sd-pulse 1.2s ease-in-out infinite; }
.sd.playing .sd-wave i:nth-child(2) { animation-delay: .15s; } .sd.playing .sd-wave i:nth-child(3) { animation-delay: .3s; } .sd.playing .sd-wave i:nth-child(4) { animation-delay: .45s; }
@keyframes sd-pulse { 50% { opacity: .55; } }
.sd-cap { grid-area: c; font: 400 10px/1.3 var(--kv-mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-faint, rgba(255,255,255,.5)); }
.sd-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-mode { padding: 10px 14px; border: 0; cursor: pointer; background: transparent; color: var(--bone, #fff); box-shadow: inset 0 0 0 1px var(--kv-line, rgba(255,222,188,.22));
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); font: 400 11px/1 var(--kv-mono, monospace); letter-spacing: .12em; text-transform: uppercase; transition: background .15s, color .15s; }
.sd-mode:hover { box-shadow: inset 0 0 0 1px var(--racc, #ffc44e); }
.sd-mode.on { background: var(--racc, #ffc44e); color: #070504; box-shadow: none; }
[lang="ar"] .sd-mode, [lang="ar"] .sd-cap { font-family: "Cairo", var(--kv-mono, monospace); letter-spacing: 0; font-size: 13px; }
.sa-uses { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.sa-use { display: grid; gap: 8px; padding: 18px 16px 20px; box-shadow: inset 0 0 0 1px var(--kv-line, rgba(255,222,188,.14)); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); background: rgba(255, 255, 255, .02); transition: background .2s; }
.sa-use:hover { background: color-mix(in srgb, var(--racc, #ffc44e) 8%, transparent); }
.sa-use b { font: 400 22px/1.05 var(--pixel); text-transform: uppercase; color: var(--racc-t, #ffc44e); }
.sa-use span { font: 400 14px/1.5 var(--kv-head, sans-serif); color: rgba(255, 255, 255, .78); }
[lang="ar"] .sa-use b { font: 700 22px/1.3 "Cairo", var(--ar, sans-serif); }
[lang="ar"] .sa-use span { font-family: "Cairo", var(--kv-head, sans-serif); }
.sa-steps { display: grid; gap: 0; max-width: 820px; }
.sa-stp { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 16px 4px; border-top: 1px solid var(--kv-line, rgba(255,222,188,.14)); }
.sa-stp:last-child { border-bottom: 1px solid var(--kv-line, rgba(255,222,188,.14)); }
.sa-stp b { font: 400 34px/1 var(--pixel); color: var(--racc-t, #ffc44e); }
.sa-stp span { font: 600 clamp(17px, 1.8vw, 22px)/1.35 var(--kv-head, sans-serif); color: var(--bone, #fff); }
[lang="ar"] .sa-stp span { font: 700 clamp(17px, 1.8vw, 21px)/1.6 "Cairo", var(--kv-head, sans-serif); }
@media (prefers-reduced-motion: reduce) { .sd.playing .sd-wave i { animation: none; } }


/* 11-07 art-direction pass (owner: "work on the esthetics of the split page"): the page opens on what Split does — a song's four
   parts as lanes (vocals, drums, bass, instruments, in the demo's colours) with a playhead — instead of a collage of the radio's
   show covers; the tool itself reads as the page's main object: a lit frame, a bigger search */
html.k-splitapp .intro .bigshot.collage .cg, html.k-splitapp .intro .stage.fan-set { display: none; }
html.k-splitapp .intro .bigshot.collage { box-sizing: border-box; padding: calc(var(--hd, 64px) + 40px) 4% 40px; background: url("stems.svg") center / contain no-repeat content-box; filter: drop-shadow(0 0 22px rgba(255, 196, 78, .18)); }   /* splitapp/stems.svg: drawn once, by hand-tuned rules (a voice in phrases, a kick every bar, steady bass) */
html.k-splitapp .intro .bigshot.collage::before, html.k-splitapp .intro .bigshot.collage::after { display: none; }
html[lang="fr"].k-splitapp .intro .bigshot.collage { background-image: url("stems-fr.svg"); }
html[lang="ar"].k-splitapp .intro .bigshot.collage { background-image: url("stems-ar.svg"); }
html[lang="es"].k-splitapp .intro .bigshot.collage { background-image: url("stems-es.svg"); }   /* 11-19: the Spanish page (/es/splitapp/) */
@media (max-width: 719px) { html.k-splitapp .intro .bigshot.collage { padding: calc(var(--hd, 64px) + 8px) 2% 0; } }
#splitapp .sa-step { box-shadow: inset 0 0 0 1px rgba(255, 196, 78, .35), 0 0 60px -24px rgba(255, 196, 78, .35); background: linear-gradient(180deg, rgba(255, 196, 78, .045), rgba(255, 196, 78, 0) 60%); }
#splitapp .sa-q { height: 60px; font-size: 19px; }
#splitapp .sa-q::placeholder { color: rgba(246, 236, 224, .55); }

/* ══ 11-08 PASS (owner: "enhance the esthetics of the split page, the best page after wa3.live, make it very appealing"): the hero's
   four coloured lines run through the whole page — the demo as four real waveforms, the mixer with each part's own waveform, each
   use showing which parts are on — the tool as an instrument, not a form; the page's full width; the site's soft corners (the
   notched keys were the last ones left on the SEO site) ══ */
:root { --st-v: #ffc44e; --st-d: #ff6a3d; --st-b: #85daff; --st-o: #d4ff00; }
#splitapp, .sd { max-width: none; }
.sa-step, .sd, .sa-use, .sa-file, .sa-btn, .sa-play, .sa-m, .sa-s, .sa-dlb, .sd-mode, .sd-play, .sa-lane { clip-path: none !important; }

/* the panels: one lit frame, the four colours along its top edge */
#splitapp .sa-step, .sd { position: relative; padding: clamp(20px, 2.4vw, 34px); border-radius: 20px; background: linear-gradient(180deg, #131114, #0a090c 70%); box-shadow: inset 0 0 0 1px var(--gold-hair, rgba(255, 196, 78, .22)), 0 40px 80px -40px #000, 0 0 90px -50px var(--st-v); overflow: hidden; }
#splitapp .sa-step::before, .sd::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--st-v) 0 25%, var(--st-d) 0 50%, var(--st-b) 0 75%, var(--st-o) 0); opacity: .9; }
.sa-label { align-items: center; font: 500 12px/1.2 var(--sans, sans-serif); letter-spacing: .14em; }
.sa-label b { font: 400 30px/1 var(--display, serif); letter-spacing: 0; color: var(--gold, #ffc44e); }
html[lang="ar"] .sa-label { font: 600 15px/1.3 var(--ar, sans-serif); letter-spacing: 0; }

/* 01 — choose: a big search beside the file key */
.sa-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 14px; align-items: center; }
.sa-pick .sa-label, .sa-pick .sa-res { grid-column: 1 / -1; }
.sa-pick .sa-q { grid-area: 2 / 1; } .sa-pick .sa-file { grid-area: 2 / 2; } .sa-pick .sa-res { grid-row: 3; }   /* the results come between them in the markup */
#splitapp .sa-q { height: 68px; padding-inline: 58px 22px; border-radius: 16px; font: 400 20px/1 var(--sans, sans-serif); background: rgba(255, 255, 255, .045) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffc44e' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 20px center / 24px no-repeat; box-shadow: inset 0 0 0 1px var(--gold-hair, rgba(255, 196, 78, .25)); transition: box-shadow .2s, background-color .2s; }
html[dir="rtl"] #splitapp .sa-q { background-position: calc(100% - 20px) center; }
#splitapp .sa-q:focus { outline: 0; background-color: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 2px var(--gold, #ffc44e), 0 0 40px -12px var(--gold, #ffc44e); }
.sa-file { margin: 0; height: 68px; padding: 0 24px; box-sizing: border-box; border-radius: 16px; font: 600 14px/1.2 var(--sans, sans-serif); letter-spacing: 0; text-transform: none; color: var(--ink, #fff); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--gold-2, rgba(255, 196, 78, .5)); transition: background .2s, color .2s; }
html[lang="ar"] .sa-file { font-family: var(--ar, sans-serif); }
.sa-res { margin-top: 12px; }
.sa-hit { padding: 12px 14px; border-radius: 12px; border-bottom: 0; }
.sa-hit b { font: 600 17px/1.25 var(--sans, sans-serif); text-transform: none; }
.sa-hit span { font: 400 13px/1.3 var(--sans, sans-serif); letter-spacing: 0; text-transform: none; }

/* 02–03 — split and wait */
.sa-chosen b { font: 400 clamp(32px, 3.6vw, 52px)/1.05 var(--display, serif); text-transform: none; letter-spacing: -.01em; }
html[lang="ar"] .sa-chosen b { font: 700 clamp(28px, 3vw, 44px)/1.3 var(--display-ar, serif); }
.sa-chosen span { font: 400 14px/1.3 var(--sans, sans-serif); letter-spacing: 0; text-transform: none; }
.sa-btn { height: 58px; padding: 0 34px; border-radius: 99px; background: var(--gold, #ffc44e); color: #0a0805; font: 600 16px/1 var(--sans, sans-serif); letter-spacing: 0; text-transform: none; box-shadow: 0 10px 34px -12px var(--gold, #ffc44e); transition: transform .2s, filter .2s; }
.sa-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); }
html[lang="ar"] .sa-btn { font-family: var(--ar, sans-serif); font-weight: 700; }
.sa-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .07); box-shadow: none; }
.sa-bar i { border-radius: 99px; background: linear-gradient(90deg, var(--st-v), var(--st-d), var(--st-b), var(--st-o)); background-size: 100vw 100%; box-shadow: 0 0 18px -2px var(--st-v); }

/* 04 — the mixer: name, keys, the part's own waveform, its volume */
.sa-transport { gap: 16px; margin-bottom: 20px; }
.sa-play { width: 62px; height: 62px; border-radius: 50%; background: var(--gold, #ffc44e); box-shadow: 0 10px 30px -10px var(--gold, #ffc44e); }
.sa-t, .sa-d { font: 500 14px/1 var(--sans, sans-serif); font-variant-numeric: tabular-nums; color: var(--ink, #fff); }
.sa-lanes { gap: 10px; }
.sa-lane { grid-template-columns: 8.5em auto auto minmax(0, 1fr) clamp(90px, 11vw, 150px); gap: 12px; padding: 12px 18px; border-radius: 14px; background: color-mix(in srgb, var(--lane) 6%, #0b0a0d); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lane) 24%, transparent); transition: opacity .2s, background .2s; }
.sa-lane.off { opacity: .42; }
.sa-name { font: 600 16px/1.1 var(--sans, sans-serif); text-transform: none; }
html[lang="ar"] .sa-name { font-family: var(--ar, sans-serif); font-weight: 700; }
.sa-m, .sa-s { width: 42px; height: 42px; border-radius: 12px; font: 700 13px/1 var(--sans, sans-serif); transition: background .15s, color .15s; }
.sa-m[aria-pressed="true"] { background: #6a6f86; color: #fff; }
.sa-v { accent-color: var(--lane); }
.sa-w { position: relative; height: 52px; color: var(--lane); cursor: pointer; direction: ltr; }
.sa-w svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sa-wd { opacity: .32; }
.sa-wl { clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--lane) 55%, transparent)); }
.sa-w::after { content: ""; position: absolute; top: -4px; bottom: -4px; left: calc(var(--p, 0) * 100%); width: 2px; border-radius: 2px; background: #fff; box-shadow: 0 0 8px #fff; pointer-events: none; }
.sa-save { margin-top: 24px; }
.sa-dlb { padding: 14px 22px; border-radius: 99px; font: 600 14px/1 var(--sans, sans-serif); letter-spacing: 0; text-transform: none; }
html[lang="ar"] .sa-dlb { font-family: var(--ar, sans-serif); }
.sa-again { height: 46px; background: transparent; color: var(--ink, #fff); box-shadow: inset 0 0 0 1px var(--gold-hair, rgba(255, 196, 78, .3)); font-weight: 500; }

/* Hear it first — the four lines, big */
.sd { display: grid; gap: 20px; }
.sd-top { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "p w" "c c"; align-items: center; gap: 12px clamp(18px, 2.4vw, 34px); }
.sd-play { grid-area: p; width: clamp(72px, 7vw, 104px); height: clamp(72px, 7vw, 104px); border: 0; border-radius: 50%; cursor: pointer; background: var(--gold, #ffc44e); color: #0a0805; font-size: clamp(20px, 2vw, 28px); box-shadow: 0 14px 44px -12px var(--gold, #ffc44e); transition: transform .2s; }
.sd-play:hover { transform: scale(1.05); }
.sd-wave { grid-area: w; position: relative; display: grid; gap: 8px; height: auto; direction: ltr; }
.sd-lane { position: relative; height: clamp(42px, 4.4vw, 62px); transition: opacity .25s; }
.sd-lane.sd-vocals { color: var(--st-v); } .sd-lane.sd-drums { color: var(--st-d); } .sd-lane.sd-bass { color: var(--st-b); } .sd-lane.sd-other { color: var(--st-o); }
.sd-lane svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sd-dim { opacity: .34; }
.sd-lit { filter: drop-shadow(0 0 7px color-mix(in srgb, currentColor 55%, transparent)); }
.sd.started .sd-lit { clip-path: inset(0 calc(100% - var(--sd-p, 0) * 100%) 0 0); }
.sd-lane.off { opacity: .16; }
.sd-n { position: absolute; z-index: 1; top: 0; left: 0; padding: 2px 8px 2px 0; font: 600 11.5px/1.2 var(--sans, sans-serif); letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(90deg, #100e12 70%, transparent); }
html[lang="ar"] .sd-n { font: 700 13px/1.3 var(--ar, sans-serif); letter-spacing: 0; }
.sd-cap { font: 500 11.5px/1.3 var(--sans, sans-serif); letter-spacing: .12em; }
.sd-modes { gap: 10px; justify-content: center; }
.sd-mode { padding: 12px 20px; border-radius: 99px; font: 600 14px/1 var(--sans, sans-serif); letter-spacing: 0; text-transform: none; color: var(--text, #fff); box-shadow: inset 0 0 0 1px var(--gold-hair, rgba(255, 196, 78, .3)); transition: background .2s, color .2s, box-shadow .2s; }
html[lang="ar"] .sd-mode { font: 700 14.5px/1 var(--ar, sans-serif); }
.sd-mode:hover { box-shadow: inset 0 0 0 1px var(--gold-2, rgba(255, 196, 78, .6)); }
.sd-mode.on { background: var(--gold, #ffc44e); color: #0a0805; box-shadow: 0 8px 26px -10px var(--gold, #ffc44e); }
.sd-mode.on[data-m="vocals"] { background: var(--st-v); box-shadow: 0 8px 26px -10px var(--st-v); }
.sd-mode.on[data-m="drums"] { background: var(--st-d); box-shadow: 0 8px 26px -10px var(--st-d); }
.sd-mode.on[data-m="bass"] { background: var(--st-b); box-shadow: 0 8px 26px -10px var(--st-b); }
.sd-mode.on[data-m="other"] { background: var(--st-o); box-shadow: 0 8px 26px -10px var(--st-o); }

/* What you can do — each use shows which parts are on */
.sa-uses { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sa-use { align-content: start; gap: 10px; padding: 22px 20px 24px; border-radius: 16px; background: linear-gradient(180deg, #131114, #0b0a0d); box-shadow: inset 0 0 0 1px var(--gold-hair, rgba(255, 196, 78, .2)); transition: transform .25s, box-shadow .25s; }
.sa-use:hover { transform: translateY(-3px); background: linear-gradient(180deg, #17141a, #0d0b0f); box-shadow: inset 0 0 0 1px var(--gold-2, rgba(255, 196, 78, .5)), 0 24px 40px -26px #000; }
.sa-use b { margin-top: 6px; font: 400 clamp(26px, 2.2vw, 34px)/1.05 var(--display, serif); text-transform: none; letter-spacing: -.01em; color: var(--ink, #fff); }
html[lang="ar"] .sa-use b { font: 700 clamp(24px, 2vw, 30px)/1.3 var(--display-ar, serif); letter-spacing: 0; }
.sa-use span { color: var(--dim, rgba(255, 255, 255, .75)); font-family: var(--sans, sans-serif); }
html[lang="ar"] .sa-use span { font-family: var(--ar, sans-serif); }
.sa-mini { display: grid; gap: 5px; direction: ltr; }
.sa-mini i { display: block; height: 9px; border-radius: 3px; color: var(--c); opacity: .13; background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 6px); transition: opacity .3s; }
.sa-mini .m0 { --c: var(--st-v); } .sa-mini .m1 { --c: var(--st-d); } .sa-mini .m2 { --c: var(--st-b); } .sa-mini .m3 { --c: var(--st-o); }
.sa-mini i.on { opacity: 1; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--c) 60%, transparent)); }
.sa-mini.cycle i { animation: sa-cycle 6s linear infinite; }
.sa-mini.cycle .m1 { animation-delay: 1.5s; } .sa-mini.cycle .m2 { animation-delay: 3s; } .sa-mini.cycle .m3 { animation-delay: 4.5s; }
@keyframes sa-cycle { 0%, 23% { opacity: 1; } 27%, 100% { opacity: .13; } }

/* How it works — three steps on one line */
.sa-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: none; counter-reset: none; }
.sa-stp, .sa-stp:last-child { grid-template-columns: 1fr; align-content: start; gap: 14px; padding: 24px 24px 28px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--gold-hair, rgba(255, 196, 78, .18)); }
.sa-stp b { font: 400 clamp(52px, 5vw, 76px)/.9 var(--display, serif); color: var(--gold, #ffc44e); }
.sa-stp span { font: 500 clamp(17px, 1.4vw, 20px)/1.4 var(--sans, sans-serif); color: var(--ink, #fff); }
html[lang="ar"] .sa-stp span { font: 600 clamp(17px, 1.4vw, 20px)/1.6 var(--ar, sans-serif); }

@media (max-width: 999px) { .sa-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sa-use:last-child:nth-child(odd) { grid-column: 1 / -1; } .sa-steps { grid-template-columns: 1fr; } .sa-stp, .sa-stp:last-child { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 18px 20px; } .sa-stp b { font-size: 46px; } }
@media (max-width: 719px) {
  .sa-pick { grid-template-columns: 1fr; gap: 10px; }
  .sa-pick .sa-q { grid-area: auto; } .sa-pick .sa-res { grid-row: auto; } .sa-pick .sa-file { grid-area: auto; }
  #splitapp .sa-q { height: 60px; font-size: 16px; padding-inline: 50px 14px; background-position: 16px center; }
  html[dir="rtl"] #splitapp .sa-q { background-position: calc(100% - 16px) center; }
  .sa-file { height: 52px; justify-content: center; }
  .sa-lane { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "n m s" "w w w" "v v v"; padding: 12px 14px; }
  .sa-name { grid-area: n; } .sa-m { grid-area: m; } .sa-s { grid-area: s; } .sa-w { grid-area: w; height: 46px; } .sa-v { grid-area: v; }
  .sa-m, .sa-s { width: 44px; height: 44px; }
  .sd-top { grid-template-columns: 1fr; grid-template-areas: "w" "p" "c"; justify-items: center; }
  .sd-wave { width: 100%; }
  .sd-modes { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; } .sd-modes::-webkit-scrollbar { display: none; }
  .sd-mode { flex: none; }
  .sa-use { padding: 18px 16px 20px; }
}
@media (prefers-reduced-motion: reduce) { .sa-mini.cycle i { animation: none; opacity: .6; } .sa-use:hover, .sa-btn:hover, .sd-play:hover { transform: none; } }

/* ══ 11-11 (owner: "enhance the split page aesthetics") — the page's last word was its plainest: "Private by design" was two
   paragraphs in a narrow column beside an empty half, over a stray fold label. The promise is now the page's closing
   panel — the claim in large letters, what runs under the hood as a note beside it (under it on a phone), the questions in
   the site's own accordion (seo.css) — and a phone no longer cuts the search hint mid-word ══ */
html.k-splitapp .blk:has(> .sa-tech) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-panel, 16px);
  background: radial-gradient(90% 150% at 0% 0%, rgba(217, 181, 108, .10), transparent 58%), linear-gradient(180deg, #141215, #0b0a0d); box-shadow: inset 0 0 0 1px var(--gold-hair, rgba(217, 181, 108, .3)); }
html.k-splitapp .blk:has(> .sa-tech) > * { grid-column: 1 / -1; margin: 0; max-width: none; }
html.k-splitapp .blk:has(> .sa-tech) > h2 { margin-bottom: 4px; }
html.k-splitapp .blk:has(> .sa-tech) > .sa-copy:not(.sa-tech) { font: 400 clamp(18px, 1.55vw, 22px)/1.55 var(--sans, sans-serif); color: var(--ink, #f3efe6); }
html[lang="ar"].k-splitapp .blk:has(> .sa-tech) > .sa-copy:not(.sa-tech) { font: 500 clamp(18px, 1.5vw, 21px)/1.75 var(--ar, sans-serif); }
html.k-splitapp .blk:has(> .sa-tech) > .sa-tech { padding: 16px 18px; border-radius: var(--r-card, 12px); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair, rgba(255, 255, 255, .1));
  font-size: 14px; line-height: 1.65; color: var(--dim, rgba(243, 239, 230, .7)); }
html.k-splitapp .blk:has(> .sa-tech) > details.info-fold { margin-top: 6px; }
@media (min-width: 900px) {
  html.k-splitapp .blk:has(> .sa-tech) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 64px); align-items: start; }
  html.k-splitapp .blk:has(> .sa-tech) > .sa-copy:not(.sa-tech) { grid-column: 1; }
  html.k-splitapp .blk:has(> .sa-tech) > .sa-tech { grid-column: 2; }
}
#splitapp .sa-q { text-overflow: ellipsis; }

/* ══ 11-11 (owner: "enhance the split page aesthetics"), the demo's six ways to listen on a phone ══
   "Hear it first" asks the visitor to press play and switch: the full song, the voice alone, the song without it, the drums, the bass,
   the instruments. On a phone those six were one sideways strip that showed two and a half of them ("No vocals (ka…"), so most of what
   the demo proves was off screen. Two columns now, all six in sight. The lit one keeps its stem's colour. */
@media (max-width: 719px) {
  .sd-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .sd-mode { min-height: 46px; padding: 10px 10px; font-size: 13.5px; line-height: 1.2; text-align: center; text-wrap: balance; }
  html[lang="ar"] .sd-mode { font-size: 14px; line-height: 1.3; }
}

/* ══ 11-12 THE RADIO, HERE (owner: "make the wa3.live more accessible when you are on split page"): every Listen on this page plays
   the station live right here (app.js) — leaving lost a split under way and the parts in the mixer. The bar at the foot is the
   radio's remote while it plays (stop, what is on air, wa3.live in a new tab), and the card that works on a song offers it ══ */
html.lv-on .dock, html.lv-on.at-top .dock { transform: none; opacity: 1; }
html.lv-on .dock > .np { display: none; }
.pv.lv .pv-tag { display: inline-flex; align-items: center; gap: 6px; color: #ff6b5c; }
.pv.lv .pv-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live-red, #ff2d1a); box-shadow: 0 0 10px var(--live-red, #ff2d1a); animation: blink 1.6s ease-in-out infinite; }
.pv.lv .eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; flex: none; }
.pv.lv .eq i { width: 3px; border-radius: 2px; background: var(--racc, #ffc44e); transform-origin: bottom; animation: eq 1.2s ease-in-out infinite; }
.pv.lv .eq i:nth-child(1) { height: 60%; }
.pv.lv .eq i:nth-child(2) { height: 100%; animation-delay: -.4s; }
.pv.lv .eq i:nth-child(3) { height: 40%; animation-delay: -.8s; }
.pv.lv:not([data-state="on"]) .eq i { animation: none; transform: scaleY(.3); opacity: .45; }
.pv.lv[data-state="err"] .eq, .pv.lv[data-state="err"] .pv-tag::before { display: none; }
.pv.lv .pv-go { gap: 7px; padding: 0 16px 0 18px; }
.pv.lv .pv-go svg { width: 13px; height: 13px; }
@media (max-width: 480px) { .pv.lv .eq { display: none; } .pv.lv .pv-go { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .pv.lv .eq i, .pv.lv .pv-tag::before { animation: none; } }
/* the keys that start it say so while it plays */
.air a.cta.quiet.lv-now { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--live-red, #ff2d1a) 70%, transparent), 0 0 30px -10px var(--live-red, #ff2d1a); }
a.live.lv-now { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--live-red, #ff2d1a) 60%, transparent); border-radius: 99px; }
/* in the card that works on a song: the radio while it splits */
.sa-radio { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; min-height: 44px; margin-top: 18px; padding: 6px 18px 6px 7px; border: 0; border-radius: 99px; cursor: pointer;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 222, 188, .16); color: var(--ink, #f6ece0); font: 500 14px/1.3 var(--sans); text-align: start; transition: background .2s, box-shadow .2s; }
html[dir="rtl"] .sa-radio { padding: 6px 7px 6px 18px; }
.sa-radio:hover { background: rgba(255, 255, 255, .09); }
.sa-radio:focus-visible { outline: 2px solid var(--racc, #ffc44e); outline-offset: 3px; }
.sa-radio-k { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--live-red, #ff2d1a); box-shadow: 0 0 18px -4px var(--live-red, #ff2d1a); }
.sa-radio-k::before { content: ""; width: 0; height: 0; margin-left: 2px; border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent #fff; }
.sa-radio.lv-now { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--live-red, #ff2d1a) 70%, transparent); }
.sa-radio.lv-now .sa-radio-k::before { width: 10px; height: 10px; margin: 0; border: 0; border-radius: 2px; background: #fff; }

/* ══ 11-14 A NEWCOMER'S PAGE (owner: "instead of 'Hear it first', use 'Test it first', make the split page more clear to understand
   for a first time user"). The page now runs in the order a first visit needs: what it is (one sentence, three facts), the demo
   to test first, then the tool, how it works, what it is for. New pieces: the facts under the keys (.sa-facts) and a few
   artists to tap in the search (.sa-try, app.js) ══ */
.sa-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; font: 500 14px/1.35 var(--sans, sans-serif); color: var(--dim, rgba(246, 236, 224, .8)); }
.sa-facts span { display: inline-flex; align-items: center; gap: 8px; }
.sa-facts span::before { content: ""; flex: none; width: 15px; height: 15px; border-radius: 50%;
  background: color-mix(in srgb, var(--gold, #d9b56c) 20%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e8cf9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.4 8.3l2.4 2.4 4.8-5.2'/%3E%3C/svg%3E") center / 11px no-repeat; }
html[lang="ar"] .sa-facts { font: 600 14.5px/1.5 var(--ar, sans-serif); }
html.k-splitapp .blk > .sa-copy + #splitapp { margin-top: 4px; }
/* a few artists to tap, under the search */
.sa-try { grid-column: 1 / -1; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.sa-pick .sa-res { grid-row: 4; }
.sa-try > span { font: 500 12px/1 var(--sans, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--faint, rgba(246, 236, 224, .64)); margin-inline-end: 4px; }
html[lang="ar"] .sa-try > span { font: 600 14px/1.2 var(--ar, sans-serif); letter-spacing: 0; text-transform: none; }
.sa-try-b { min-height: 36px; padding: 7px 14px; border: 0; border-radius: 99px; cursor: pointer; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 222, 188, .16);
  color: var(--ink, #f6ece0); font: 500 14px/1.2 var(--sans, sans-serif); transition: background .2s, box-shadow .2s; }
.sa-try-b:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px var(--gold, #d9b56c); }
.sa-try-b:focus-visible { outline: 2px solid var(--racc, #ffc44e); outline-offset: 2px; }
@media (max-width: 719px) {
  .sa-facts { gap: 8px 16px; margin-top: 14px; font-size: 13.5px; }
  .sa-try { grid-row: auto; margin-top: 2px; } .sa-pick .sa-res { grid-row: auto; }
  .sa-try-b { min-height: 40px; }
}

/* 11-17 (owner: "do actions 1 and 2"): after a split, the full radio in a tab of its own — the radio key's look, as a link */
.sa-inv { display: flex; width: fit-content; margin-top: 22px; text-decoration: none; }
.sa-inv[hidden] { display: none; }
.sa-inv:hover { color: var(--ink, #f6ece0); }
