/* =========================================================
   PXE Ses — iş sekmeleri, ritim makinesi, piyano rulosu, mikser (os-dw-)
   ve jingle dışı oturumlar: zaman çizelgesi, metin, miks, efekt (os-dws-)
   ========================================================= */
.os-dw {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  background: #0D0C0B; color: var(--os-fg);
  container-type: inline-size;
}
.os-dw, .os-dw * { scrollbar-width: thin; scrollbar-color: #3A3633 transparent; }
.os-dw ::-webkit-scrollbar { width: 10px; height: 10px; }
.os-dw ::-webkit-scrollbar-thumb { background: #3A3633; border: 2px solid transparent; border-radius: 6px; background-clip: padding-box; }
.os-dw ::-webkit-scrollbar-track, .os-dw ::-webkit-scrollbar-corner { background: transparent; }
.os-dw input[type="range"] { accent-color: #FF4F8B; min-width: 0; }
.os-dw .os-dw-pan { accent-color: #8E877C; }

/* menü */
.os-dw-menu { flex: none; height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 8px; background: #161514; border-bottom: 1px solid rgba(242, 238, 231, .06); }
.os-dw-logo { flex: none; width: 18px; height: 18px; }
.os-dw-logo svg { width: 100%; height: 100%; }
.os-dw-menus { display: flex; gap: 1px; min-width: 0; overflow: hidden; }
.os-dw-menus button { padding: 5px 8px; border-radius: 5px; font-size: 12px; color: #B9B2A6; white-space: nowrap; }
.os-dw-menus button:hover, .os-dw-menus button.is-open { background: var(--os-p2); color: var(--os-fg); }
.os-dw-proj { margin-left: auto; font: 400 11px/1 var(--f-mono); color: var(--os-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* iş sekmeleri (ortak .os-kat-bar) */
.os-dw-kbar { flex: none; }
.os-dw-kbar button[aria-selected="true"]::before { background: #FF4F8B; }
/* yalnızca ritim makinesinde anlamlı kontroller */
.os-dw:not([data-tab="jingle"]) .os-dw-jo { display: none; }

/* taşıma çubuğu */
.os-dw-tp { flex: none; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding: 8px 10px; background: #151413; border-bottom: 1px solid rgba(242, 238, 231, .06); }
.os-dw-tb { display: flex; align-items: center; gap: 4px; }
.os-dw-tb button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--os-p2); color: #CFC8BB; transition: background .15s, color .15s; }
.os-dw-tb button:hover { background: var(--os-p3); color: #fff; }
.os-dw-tb svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.os-dw-tb svg .is-f { fill: currentColor; stroke: none; }
.os-dw-tb .os-dw-play { width: 44px; height: 38px; background: #FF4F8B; color: #0E0D0C; }
.os-dw-tb .os-dw-play:hover { background: #FF6A9E; color: #0E0D0C; }
.os-dw-play svg + svg, .os-dw.is-playing .os-dw-play svg:first-child { display: none; }
.os-dw.is-playing .os-dw-play svg + svg { display: block; }
.os-dw-tb [aria-pressed="true"] { background: var(--os-p3); color: #F2EEE7; box-shadow: inset 0 0 0 1px rgba(242, 238, 231, .14); }
.os-dw-tb .os-dw-rec[aria-pressed="true"] { color: var(--red); }
.os-dw.is-rec.is-playing .os-dw-rec { animation: osDwBlink 1s steps(1) infinite; }
@keyframes osDwBlink { 50% { color: #5A1A16; } }
.os-dw-lcd { position: relative; min-width: 118px; height: 40px; padding: 0 22px 0 12px; display: grid; align-content: center; gap: 3px; border-radius: 8px; background: #0A0A09; box-shadow: inset 0 0 0 1px rgba(255, 79, 139, .22); }
.os-dw-pos { font: 700 17px/1 var(--f-mono); letter-spacing: .04em; color: #FF4F8B; }
.os-dw-time { font: 400 10px/1 var(--f-mono); color: var(--os-mut); }
.os-dw-led-r { position: absolute; right: 9px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #3A1A17; }
.os-dw.is-rec .os-dw-led-r { background: var(--red); box-shadow: 0 0 8px var(--red); }
.os-dw-kn { display: grid; grid-template-columns: auto 104px auto; align-items: center; gap: 8px; }
.os-dw-kn.is-bpm { grid-template-columns: auto 130px auto; }
.os-dw-kn span { font: 700 9.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--os-mut); }
.os-dw-kn output { min-width: 56px; font: 400 11.5px/1 var(--f-mono); color: var(--os-fg); }
.os-dw-len { display: flex; gap: 1px; padding: 2px; border-radius: 7px; background: #0F0E0D; }
.os-dw-len button { height: 28px; padding: 0 10px; border-radius: 5px; font: 700 11px/1 var(--f-mono); color: var(--os-mut); }
.os-dw-len button[aria-pressed="true"] { background: var(--os-p3); color: var(--os-fg); }

/* ana alan */
.os-dw-main { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 4px; padding: 4px; }
.os-dw-rh { flex: none; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; padding: 6px 8px; border-bottom: 1px solid rgba(242, 238, 231, .06); }
.os-dw-pre, .os-dw-act { display: flex; flex-wrap: wrap; gap: 6px; }
.os-dw .os-dw-rh .chip { height: 26px; padding: 0 10px; font-size: 11.5px; }
.os-dw-act .btn { height: 28px; padding: 0 12px; font-size: 10px; background: #FF4F8B; color: #0E0D0C; }
.os-dw-act .btn:hover { background: #FF6A9E; }
.os-dw.is-busy .os-dw-act .btn { opacity: .5; pointer-events: none; }
.os-dw-hint { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 8px 0; padding: 7px 8px 7px 12px; border-radius: 8px; background: rgba(226, 179, 60, .12); color: #F0CF7A; font-size: 12.5px; }
.os-dw .os-dw-hint .chip { height: 26px; color: #F0CF7A; }
.os-dw-bm { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.os-dw-scroll { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; }

/* adım sıralayıcı */
.os-dw-seq { flex: none; min-width: 560px; padding: 6px 8px 6px; }
.os-dw-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 8px; height: 28px; }
.os-dw-row + .os-dw-row { margin-top: 3px; }
.os-dw-row.os-dw-hd { height: 14px; }
.os-dw-hd i { font: 400 9px/14px var(--f-mono); font-style: normal; text-align: center; color: #4A4744; }
.os-dw-hd i.is-beat { color: #A39B8F; }
.os-dw-hd i.is-ph { color: #FF4F8B; }
.os-dw-th { min-width: 0; display: flex; align-items: center; gap: 3px; }
.os-dw-tn { flex: 1; min-width: 0; height: 26px; display: flex; align-items: center; gap: 7px; padding: 0 8px; border-radius: 6px; background: var(--os-p2); text-align: left; transition: background .15s; }
.os-dw-tn:hover { background: var(--os-p3); }
.os-dw-tn b { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-dw-tn small { font: 400 9px/1 var(--f-mono); color: #6F6A62; }
.os-dw-led { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--c); opacity: .15; }
.os-dw-row.is-sel .os-dw-tn { background: var(--os-p3); box-shadow: inset 2px 0 0 var(--c); }
.os-dw-row.is-quiet { opacity: .45; }
.os-dw-m, .os-dw-s { flex: none; width: 22px; height: 22px; border-radius: 5px; border: 1px solid rgba(242, 238, 231, .12); font: 700 9.5px/1 var(--f-mono); color: var(--os-mut); }
.os-dw-m[aria-pressed="true"] { background: #E2B33C; border-color: #E2B33C; color: #0E0D0C; }
.os-dw-s[aria-pressed="true"] { background: #3D8BFF; border-color: #3D8BFF; color: #fff; }
.os-dw-steps { height: 100%; display: grid; grid-template-columns: repeat(var(--n, 16), minmax(0, 1fr)); gap: 3px; }
.os-dw-st {
  position: relative; min-width: 0; border-radius: 4px;
  background: #242220; touch-action: none;
  font: 700 8.5px/1 var(--f-mono); color: rgba(14, 13, 12, .85); white-space: nowrap; overflow: hidden;
  transition: background .08s;
}
.os-dw-st.is-alt { background: #1B1A18; }
.os-dw-st:hover { background: #2E2C29; }
.os-dw-st.is-on { background: var(--c); box-shadow: 0 0 10px -3px var(--c); }
.os-dw-st.is-ph { box-shadow: inset 0 0 0 1.5px rgba(242, 238, 231, .5); }
.os-dw-st.is-on.is-ph { filter: brightness(1.35); }
.os-dw.is-kb .os-dw-st.is-cur { outline: 2px solid #F2EEE7; outline-offset: 1px; z-index: 1; }

/* piyano rulosu */
.os-dw-roll { flex: 1 0 auto; min-width: 560px; min-height: 160px; display: flex; flex-direction: column; padding: 4px 8px 8px; border-top: 1px solid rgba(242, 238, 231, .06); }
.os-dw-rlh { flex: none; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 4px 0 6px; }
.os-dw-rlh > b { font: 700 9.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #A39B8F; }
.os-dw-rtabs { display: flex; gap: 1px; padding: 2px; border-radius: 7px; background: #0F0E0D; }
.os-dw-rtabs button { height: 24px; padding: 0 10px; border-radius: 5px; font-size: 11.5px; color: var(--os-mut); }
.os-dw-rtabs button[aria-selected="true"] { background: var(--os-p3); color: var(--os-fg); }
.os-dw-sel { display: flex; align-items: center; gap: 6px; font: 700 9.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--os-mut); }
.os-dw-sel select { height: 24px; padding: 0 6px; border-radius: 5px; background: #0F0E0D; border: 1px solid rgba(242, 238, 231, .12); color: var(--os-fg); font: 400 12px/1 var(--f-body); text-transform: none; letter-spacing: 0; }
.os-dw-rg { flex: 1; display: grid; grid-auto-rows: minmax(13px, 1fr); gap: 2px; }
.os-dw-rr { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px; }
.os-dw-rr > span { display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; border-radius: 3px; background: linear-gradient(90deg, transparent, #1B1A18); font: 400 9.5px/1 var(--f-mono); color: #6F6A62; }
.os-dw-rr.is-root > span { color: #F2EEE7; }
.os-dw-rc { display: grid; grid-template-columns: repeat(var(--n, 16), minmax(0, 1fr)); gap: 3px; }
.os-dw-cell { min-width: 0; min-height: 12px; border-radius: 2px; background: #1A1918; touch-action: none; }
.os-dw-cell.is-alt { background: #151413; }
.os-dw-rr.is-root .os-dw-cell { background: #211F1D; }
.os-dw-cell:hover { background: #2E2C29; }
.os-dw-rr .os-dw-cell.is-on { background: var(--c); box-shadow: 0 0 8px -2px var(--c); }
.os-dw-cell.is-ph { box-shadow: inset 0 0 0 1px rgba(242, 238, 231, .28); }
.os-dw-viz { flex: none; width: 100%; height: 64px; background: #0A0A09; border-top: 1px solid rgba(242, 238, 231, .06); }

/* yan panel: açıklama kutusu en üstte, mikser altında */
.os-dw-side { overflow-y: auto; }
.os-dw-side > * { flex: none; }
.os-dw-kat { border-bottom: 1px solid rgba(242, 238, 231, .06); }
.os-dw-mx .os-pnl-h { position: sticky; top: 0; z-index: 1; background: var(--os-p1); }
.os-dw-mix, .os-dw-smix { display: grid; align-content: start; gap: 4px; padding: 6px 8px 4px; }
.os-dw-ch { position: relative; overflow: hidden; display: grid; grid-template-columns: 78px minmax(0, 1fr) 44px 22px 22px; align-items: center; gap: 6px; padding: 6px 8px 8px; border-radius: 7px; background: #151413; }
.os-dw-ch.os-dws-ch { grid-template-columns: 96px minmax(0, 1fr) 22px 22px; }
.os-dw-ch b { min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-dw-ch b i { flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--c); }
.os-dw-lv { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c); transform: scaleX(0); transform-origin: left center; }
.os-dw-mst { display: flex; align-items: center; gap: 12px; margin: 6px 8px 10px; padding: 10px; border-radius: 8px; background: #121110; box-shadow: inset 0 0 0 1px rgba(255, 79, 139, .35); }
.os-dw-mst b { display: block; font-size: 12.5px; }
.os-dw-mst small { display: block; margin-top: 3px; font: 400 10px/1.3 var(--f-mono); color: var(--os-mut); }
.os-dw-mst .os-dw-db { font-size: 13px; font-weight: 700; color: #FF4F8B; }
.os-dw-vu { flex: none; width: 30px; height: 80px; padding: 3px; display: flex; align-items: flex-end; gap: 3px; border-radius: 4px; background: #070707; }
.os-dw-vu i { flex: 1; height: 0; border-radius: 1px; background: linear-gradient(to top, #2E8C6A 0 62%, #E2B33C 62% 84%, #E1251B 84%) bottom / 100% 74px no-repeat; }

/* =========================================================
   Oturumlar (seslendirme, miks, podcast, efekt)
   ========================================================= */
.os-dws { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; }
.os-dws-h { flex: none; }
.os-dws-t { min-width: 0; display: grid; gap: 4px; }
.os-dws-t b { font: 800 14px/1.1 var(--f-display); letter-spacing: -.02em; }
.os-dws-t small { font: 400 10.5px/1.2 var(--f-mono); color: var(--os-mut); }
.os-dws-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.os-dw .os-dws-exp { height: 28px; padding: 0 12px; font-size: 10px; background: #FF4F8B; color: #0E0D0C; }
.os-dw .os-dws-exp:hover { background: #FF6A9E; }
.os-dw.is-busy .os-dws-exp { opacity: .5; pointer-events: none; }
.os-dws-seg { display: flex; gap: 1px; padding: 2px; border-radius: 7px; background: #0F0E0D; }
.os-dws-seg button { height: 24px; padding: 0 10px; border-radius: 5px; font-size: 11.5px; color: var(--os-mut); white-space: nowrap; }
.os-dws-seg button:hover { color: var(--os-fg); }
.os-dws-seg button[aria-pressed="true"] { background: var(--os-p3); color: var(--os-fg); box-shadow: inset 0 -2px 0 #FF4F8B; }
.os-dws-tag { height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 999px; border: 1px solid var(--os-line); font: 400 10.5px/1 var(--f-mono); color: #CFC8BB; white-space: nowrap; }
.os-dws-b { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 10px; }
.os-dws-k { margin-bottom: 8px; font: 700 9.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #A39B8F; }
.os-dws-k small { margin-left: 6px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--os-mut); }

/* zaman çizelgesi */
.os-dws-tl { --lw: 128px; position: relative; flex: none; border-radius: 8px; overflow: hidden; background: #121110; box-shadow: inset 0 0 0 1px rgba(242, 238, 231, .05); }
.os-dws-ruler { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); height: 22px; border-bottom: 1px solid rgba(242, 238, 231, .06); }
.os-dws-ruler > span { display: flex; align-items: center; padding-left: 10px; font: 700 9.5px/1 var(--f-mono); letter-spacing: .04em; color: #6F6A62; background: #171615; }
.os-dws-rc { position: relative; overflow: hidden; cursor: pointer; }
.os-dws-rc i { position: absolute; top: 0; bottom: 0; border-left: 1px solid rgba(242, 238, 231, .12); }
.os-dws-rc b { position: absolute; left: 4px; top: 6px; font: 400 9px/1 var(--f-mono); color: #8E877C; white-space: nowrap; }
.os-dws-lanes { position: relative; }
.os-dws-lane { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); min-height: 66px; border-bottom: 1px solid rgba(242, 238, 231, .05); }
.os-dws-lane:last-of-type { border-bottom: 0; }
.os-dws-ln { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 10px 0 12px; background: #171615; box-shadow: inset 3px 0 0 var(--c); }
.os-dws-ln b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-dws-ln small { font: 400 9.5px/1.2 var(--f-mono); color: var(--os-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-dws-lc { position: relative; min-width: 0; cursor: pointer; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(242, 238, 231, .035) calc(10% - 1px) 10%); }
.os-dws-clip { position: absolute; top: 6px; bottom: 6px; border-radius: 5px; overflow: hidden; }
.os-dws-clip::before { content: ""; position: absolute; inset: 0; background: var(--c); opacity: .14; }
.os-dws-clip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--c); opacity: .55; }
.os-dws-clip b { position: absolute; left: 6px; top: 4px; z-index: 1; max-width: calc(100% - 8px); overflow: hidden; text-overflow: ellipsis; font: 700 9px/1 var(--f-mono); letter-spacing: .04em; color: #ECE7DE; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.os-dws-clip svg { position: absolute; left: 0; top: 14px; width: 100%; height: calc(100% - 16px); display: block; }
.os-dws-clip path { fill: var(--c); opacity: .85; }
.os-dws-clip .os-dws-au { fill: none; stroke: #F2EEE7; stroke-width: 1.4; stroke-linejoin: round; opacity: .7; vector-effect: non-scaling-stroke; }
.os-dws-lane.is-dim .os-dws-lc { opacity: .4; }
.os-dws-lane.is-on .os-dws-ln { background: #1F1D1B; }
.os-dws-lane.is-on .os-dws-ln b { color: #F2EEE7; }
.os-dws-lane.is-on .os-dws-ln small { color: var(--c); }
.os-dws-ph { position: absolute; top: 0; bottom: 0; z-index: 2; left: calc(var(--lw) + (100% - var(--lw)) * var(--p, 0)); width: 2px; margin-left: -1px; background: #F2EEE7; box-shadow: 0 0 8px rgba(242, 238, 231, .5); pointer-events: none; }
.os-dws-ph::before { content: ""; position: absolute; top: 0; left: -4px; border: 5px solid transparent; border-top-color: #F2EEE7; }

/* metin / alt yazı satırları */
.os-dws-low { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.os-dws-script ol { display: grid; gap: 3px; }
.os-dws-script button { width: 100%; display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: start; gap: 10px; padding: 8px 10px; border-radius: 7px; background: #151413; text-align: left; transition: background .15s, box-shadow .15s; }
.os-dws-script button:hover { background: #1E1C1A; }
.os-dws-script button.is-on { background: #242220; box-shadow: inset 2px 0 0 var(--c); }
.os-dws-script time { font: 400 10.5px/1.5 var(--f-mono); color: var(--os-mut); }
.os-dws-script button.is-on time { color: #F2EEE7; }
.os-dws-script span { min-width: 0; font-size: 12.5px; line-height: 1.45; color: #ECE7DE; }
.os-dws-script small { display: block; margin-bottom: 3px; font: 700 9px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #A39B8F; }
.os-dws-script small::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 2px; background: var(--c); vertical-align: 1px; }
.os-dws-prev { display: grid; gap: 6px; }
.os-dws-scr { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding: 0 7% 6%; border-radius: 8px; background: radial-gradient(120% 90% at 72% 18%, #7D0A0A 0, #2A1210 46%, #0A0A09 100%); }
.os-dws-scr::before { content: ""; position: absolute; right: 14%; top: 14%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #E2B33C; opacity: .45; }
.os-dws-scr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(transparent, rgba(10, 10, 9, .7)); }
.os-dws-scr > span { position: absolute; left: 10px; top: 9px; z-index: 1; font: 700 9px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(242, 238, 231, .6); }
.os-dws-subt { position: relative; z-index: 1; padding: 4px 10px; border-radius: 4px; background: rgba(10, 10, 9, .75); font-size: 13px; font-weight: 600; line-height: 1.35; text-align: center; color: #F2EEE7; }
.os-dws-subt:empty { visibility: hidden; }
.os-dws-prev > small { font: 400 10px/1.3 var(--f-mono); color: var(--os-mut); }

/* podcast bölüm kartı */
.os-dws-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: start; gap: 14px; padding: 12px; border-radius: 8px; background: #151413; }
.os-dws-cov { display: grid; gap: 4px; }
.os-dws-cov svg { width: 92px; height: 92px; display: block; margin-bottom: 4px; }
.os-dws-cov b { font-size: 12px; }
.os-dws-cov small { font: 400 10px/1 var(--f-mono); color: var(--os-mut); }
.os-dws-card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 12px; font-size: 12px; }
.os-dws-card dt { font: 700 9.5px/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--os-mut); }
.os-dws-card dd { color: #ECE7DE; }

/* miks: işlem zinciri ve ölçüm */
.os-dws-mods { display: grid; align-content: start; gap: 4px; }
.os-dws-mods button { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; background: #151413; text-align: left; transition: background .15s; }
.os-dws-mods button:hover { background: #1E1C1A; }
.os-dws-mods i { position: relative; width: 30px; height: 17px; border-radius: 999px; background: #34312E; transition: background .2s; }
.os-dws-mods i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #B9B2A6; transition: transform .2s var(--ease), background .2s; }
.os-dws-mods [aria-checked="true"] i { background: #2E8C6A; }
.os-dws-mods [aria-checked="true"] i::after { transform: translateX(13px); background: #F2EEE7; }
.os-dws-mods b { display: block; font-size: 12.5px; font-weight: 600; }
.os-dws-mods small { display: block; margin-top: 2px; font: 400 10px/1.35 var(--f-mono); color: var(--os-mut); }
.os-dws-meter { display: grid; gap: 10px; padding: 12px; border-radius: 8px; background: #151413; }
.os-dws-meter li { display: grid; grid-template-columns: 118px minmax(0, 1fr) 86px; align-items: center; gap: 10px; font-size: 11.5px; color: #CFC8BB; }
.os-dws-meter i { height: 6px; border-radius: 3px; background: #2A2826; overflow: hidden; }
.os-dws-meter b { display: block; width: var(--w); height: 100%; border-radius: 3px; background: #E2B33C; }
.os-dws-meter li.is-ok b { background: #2E8C6A; }
.os-dws-meter em { font: 700 10.5px/1 var(--f-mono); font-style: normal; text-align: right; color: #ECE7DE; }
.os-dws-note { margin-top: 8px; font: 400 10px/1.4 var(--f-mono); color: var(--os-mut); }

/* efekt: sahne + pedler */
.os-dws-fx { display: grid; grid-template-columns: minmax(200px, 34%) minmax(0, 1fr); align-items: start; gap: 10px; }
.os-dws-stage { display: grid; gap: 6px; }
.os-dws-stage > small { font: 400 10px/1.3 var(--f-mono); color: var(--os-mut); }
.os-dws-sg { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; border-radius: 8px; background: #0A0A09 radial-gradient(rgba(242, 238, 231, .06) 1px, transparent 1px) 0 0 / 14px 14px; box-shadow: inset 0 0 0 1px rgba(242, 238, 231, .06); }
.os-dws-mark { width: 58%; height: auto; display: block; }
.os-dws-streak { position: absolute; top: 50%; left: -40%; width: 40%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: linear-gradient(90deg, transparent, #F2EEE7); opacity: 0; }
.os-dws-ui { position: absolute; right: 10px; top: 10px; padding: 6px 10px; border-radius: 8px; background: #F2EEE7; color: #0E0D0C; font: 700 10px/1 var(--f-mono); opacity: 0; transform: translateY(-8px); }
.os-dws-sg.is-logo .os-dws-mark { animation: osDwsLogo 1.5s var(--ease) both; }
.os-dws-sg.is-move .os-dws-mark { animation: osDwsMove .7s ease-in-out both; }
.os-dws-sg.is-move .os-dws-streak { animation: osDwsStreak .7s ease-in-out both; }
.os-dws-sg.is-ui .os-dws-mark { animation: osDwsTap .25s ease-out; }
.os-dws-sg.is-ui .os-dws-ui { animation: osDwsUi 1.2s var(--ease) both; }
.os-dws-sg.is-amb::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(105deg, transparent 0 14px, rgba(157, 183, 255, .28) 14px 15px); animation: osDwsRain .5s linear 6, osDwsFade 3s both; }
@keyframes osDwsLogo { 0% { opacity: 0; transform: scale(.6); filter: blur(6px); } 28% { opacity: .5; transform: scale(.85); filter: blur(3px); } 34% { opacity: 1; transform: scale(1.08); filter: blur(0); } 48% { transform: scale(.98); } 100% { opacity: 1; transform: scale(1); } }
@keyframes osDwsMove { 0% { opacity: 0; transform: translateX(-30%); } 60% { opacity: 1; transform: translateX(3%); } 100% { transform: none; } }
@keyframes osDwsStreak { 0% { left: -40%; opacity: 0; } 30% { opacity: 1; } 100% { left: 110%; opacity: 0; } }
@keyframes osDwsTap { 50% { transform: scale(.94); } }
@keyframes osDwsUi { 0% { opacity: 0; transform: translateY(-8px); } 15%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes osDwsRain { from { background-position: 0 -40px; } to { background-position: 0 0; } }
@keyframes osDwsFade { 0%, 100% { opacity: 0; } 15%, 80% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .os-dws-sg *, .os-dws-sg::after { animation: none !important; } }
.os-dws-fxr { min-width: 0; display: grid; gap: 10px; }
.os-dws-pads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.os-dws-pad { min-width: 0; display: grid; gap: 3px; padding: 8px 9px 9px; border-radius: 8px; background: #151413; text-align: left; box-shadow: inset 0 0 0 1px rgba(242, 238, 231, .05); transition: background .15s, box-shadow .15s, transform .1s; }
.os-dws-pad:hover { background: #1E1C1A; }
.os-dws-pad:active { transform: scale(.97); }
.os-dws-pad[aria-pressed="true"] { background: #231F17; box-shadow: inset 0 0 0 1.5px #E2B33C; }
.os-dws-pad svg { width: 100%; height: 34px; display: block; margin-bottom: 4px; }
.os-dws-pad path { fill: #E2B33C; opacity: .8; }
.os-dws-pad b { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-dws-pad small { font: 400 9.5px/1 var(--f-mono); color: var(--os-mut); }

/* durum çubuğu */
.os-dw-status { flex: none; height: 24px; display: flex; align-items: center; gap: 14px; padding: 0 10px; background: #FF4F8B; color: #0E0D0C; font: 400 10.5px/1 var(--f-mono); white-space: nowrap; overflow: hidden; }
.os-dw-eng { font-weight: 700; }
.os-dw-sx { flex: 1; }
.os-dw-status kbd { border-color: rgba(14, 13, 12, .45); opacity: .8; }

/* açılır menü */
.os-dw-dd { position: absolute; z-index: 30; min-width: 230px; padding: 5px; border-radius: 9px; background: rgba(26, 25, 24, .98); border: 1px solid rgba(242, 238, 231, .1); box-shadow: 0 18px 44px rgba(0, 0, 0, .5); animation: osPop .16s var(--ease); }
.os-dw-dd button { width: 100%; padding: 7px 10px; border-radius: 6px; text-align: left; font-size: 12.5px; color: #ECE7DE; }
.os-dw-dd button:hover, .os-dw-dd button:focus-visible { background: #FF4F8B; color: #0E0D0C; outline: 0; }
.os-dw-dd button[aria-current="true"] { color: #FF4F8B; }
.os-dw-dd button[aria-current="true"]:hover { color: #0E0D0C; }
.os-dw-dd hr { border: 0; border-top: 1px solid rgba(242, 238, 231, .08); margin: 4px 6px; }

/* dar pencereler */
@container (max-width: 1000px) {
  .os-dw-main { grid-template-columns: minmax(0, 1fr) 240px; }
  .os-dw-ch { grid-template-columns: 64px minmax(0, 1fr) 22px 22px; }
  .os-dw-ch .os-dw-pan { display: none; }
  .os-dw-kn { grid-template-columns: auto 80px auto; }
  .os-dw-kn.is-bpm { grid-template-columns: auto 100px auto; }
  .os-dw-keys { display: none; }
  .os-dws-tl { --lw: 108px; }
}
@container (max-width: 760px) {
  .os-dw-menus, .os-dw-sr { display: none; }
  .os-dw-main { display: flex; flex-direction: column; overflow: auto; }
  .os-dw-rack { flex: none; }
  .os-dw-side { flex: none; }
  .os-dw-side { overflow: visible; }
  .os-dw-mx .os-pnl-h { position: static; }
  .os-dws { flex: none; overflow: visible; }
  .os-dws-low, .os-dws-fx { grid-template-columns: minmax(0, 1fr); }
  .os-dws-tl { --lw: 92px; }
  .os-dws-sg { aspect-ratio: 16 / 7; }
  .os-dw-row, .os-dw-rr { grid-template-columns: 112px minmax(0, 1fr); }
  .os-dw-seq, .os-dw-roll { min-width: 520px; }
  .os-dw-tp { gap: 8px 12px; }
}
@container (max-width: 480px) {
  .os-dw-tp { padding: 6px 8px; }
  .os-dw-kn, .os-dw-kn.is-bpm { grid-template-columns: auto minmax(60px, 1fr) auto; flex: 1 1 100%; }
  .os-dw-lcd { min-width: 0; flex: 1; }
  .os-dw-row, .os-dw-rr { grid-template-columns: 92px minmax(0, 1fr); }
  .os-dw-th .os-dw-m, .os-dw-th .os-dw-s, .os-dw-tn small { display: none; }
  .os-dw-cur { display: none; }
  .os-dws-tl { --lw: 74px; }
  .os-dws-ln { padding: 0 6px 0 9px; }
  .os-dws-ln b { font-size: 11px; }
  .os-dws-pads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-dws-meter li { grid-template-columns: 92px minmax(0, 1fr) 76px; gap: 8px; }
  .os-dws-card { grid-template-columns: 64px minmax(0, 1fr); }
  .os-dws-cov svg { width: 64px; height: 64px; }
  .os-dws-h .os-dws-tools { width: 100%; }
}
