
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --red:        var(--in-accent, #e92038);
    --red2:       var(--in-accent-2, #c8102e);
    --red-dim:    rgba(233,32,56,.35);
    --red-glow:   rgba(233,32,56,.55);
    --rec:        #ff3a3a;
    --rec-glow:   rgba(255,58,58,.6);
    --bg:         var(--in-bg, #020202);
    --panel:      #0a0a0c;
    --hud:        64px;  /* IN-LAB HUD standart yükseklik */
    --top:        52px;
    --sf:         var(--in-font-display, 'Steelfish', sans-serif);
    --pp:         var(--in-font-body, 'Poppins', sans-serif);
  }
  html, body {
    background: var(--bg);
    color: #fff;
    font-family: var(--pp);
    height: 100dvh; width: 100vw;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  /* ── STAGE LAYOUT ── */
  #il2Stage {
    position: fixed;
    top: var(--top); left: 0; right: 0; bottom: var(--hud);
    overflow: hidden;
    border-radius: 0 0 4px 4px;
    background:
      radial-gradient(ellipse at 20% 0%, #14060a 0%, transparent 50%),
      radial-gradient(ellipse at 80% 100%, #0c0608 0%, transparent 50%),
      #050505;
    z-index: 1;
    display: grid;
    grid-template-columns: 280px 1fr 306px;
    gap: 14px;
    padding: 14px;
    transition: grid-template-columns .3s cubic-bezier(.2,.7,.3,1.2);
  }
  #il2Stage.is-tab-collapsed {
    grid-template-columns: 280px 1fr 0px;
  }

  .il2-panel {
    background: rgba(10,10,12,.7);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    padding: 14px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .il2-panel::-webkit-scrollbar { width: 4px; }
  .il2-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }

  .il2-section { display: flex; flex-direction: column; gap: 9px; }
  .il2-section + .il2-section { margin-top: 4px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.06); }
  .il2-section__head {
    display: flex; align-items: center; gap: 7px;
    padding: 0 1px;
  }
  .il2-section__head .il2-section__ico {
    flex-shrink: 0;
    font-size: .6rem;
    color: var(--sec-accent, rgba(255,255,255,.45));
    opacity: .9;
  }
  .il2-section__title {
    font-size: .56rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgba(255,255,255,.62);
    line-height: 1;
  }
  .il2-section__hint {
    margin-left: auto;
    font-size: .5rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
  }
  /* Bölüm ikon renk ipuçları */
  .il2-section.sec-inst   { --sec-accent:#5aa9ff; }
  .il2-section.sec-drum   { --sec-accent:#ff9f43; }
  .il2-section.sec-atmos  { --sec-accent:#a78bfa; }
  .il2-section.sec-fx     { --sec-accent:#3fe0d0; }

  /* ── Chips ── */
  .il2-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .il2-row.col-2 { grid-template-columns: 1fr 1fr; }
  .il2-row.col-3 { grid-template-columns: 1fr 1fr 1fr; }
  .il2-row.col-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .il2-chip {
    appearance: none; border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.025);
    color: #fff;
    font-family: var(--pp);
    font-size: .4675rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .55rem .2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all .15s;
    display: flex; align-items: center; justify-content: center;
    gap: 4px;
    min-height: 36px;
  }
  .il2-chip i { font-size: .51rem; opacity: .75; }
  .il2-chip:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); }
  .il2-chip.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 0 16px var(--red-glow);
  }
  .il2-chip.active i { opacity: 1; }
  .il2-chip.is-loading { animation: il2ChipLoad 1.1s ease-in-out infinite; }
  .il2-chip.is-fallback { border-style: dashed; }
  @keyframes il2ChipLoad { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
  @media (prefers-reduced-motion: reduce) { .il2-chip.is-loading { animation: none; opacity: .7; } }

  /* ── Atmosphere volume mini-slider ── */
  .il2-atmos-vol {
    display: flex; align-items: center; gap: 8px;
    margin-top: 8px;
    padding: 6px 8px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 4px;
  }
  .il2-atmos-vol__label {
    font-size: .55rem; letter-spacing: .25em; text-transform: uppercase;
    color: rgba(255,255,255,.5); flex-shrink: 0;
  }
  .il2-atmos-vol__readout {
    font-size: .65rem; color: rgba(255,255,255,.7);
    font-variant-numeric: tabular-nums; min-width: 48px; text-align: right;
  }
  .il2-atmos-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 3px;
    background: rgba(255,255,255,.15); border-radius: 4px; outline: none; }
  .il2-atmos-slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 12px; height: 12px;
    background: var(--red); border-radius: 50%; cursor: pointer;
    box-shadow: 0 0 8px var(--red-glow);
  }
  .il2-atmos-slider::-moz-range-thumb {
    width: 12px; height: 12px; background: var(--red); border-radius: 50%;
    cursor: pointer; border: none; box-shadow: 0 0 8px var(--red-glow);
  }

  /* ── Sliders ── */
  .il2-slider { display: flex; flex-direction: column; gap: 5px; }
  .il2-slider__head { display: flex; justify-content: space-between; align-items: baseline; }
  .il2-slider__label {
    font-size: .55rem; letter-spacing: .3em; text-transform: uppercase;
    color: rgba(255,255,255,.5);
  }
  .il2-slider__val {
    font-family: var(--sf); font-size: 1.1rem; color: #fff; letter-spacing: .03em;
  }
  .il2-slider input[type="range"] {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 4px;
    background: rgba(255,255,255,.08);
    border-radius: 4px; outline: none;
  }
  .il2-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 16px; height: 16px;
    background: var(--red);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--red-glow);
  }
  .il2-slider input[type="range"]::-moz-range-thumb {
    width: 16px; height: 16px;
    background: var(--red);
    border-radius: 50%; border: none;
    cursor: pointer;
  }

  /* ── FX rows ── */
  .il2-fx {
    display: grid;
    grid-template-columns: 1fr 60px;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
    background: rgba(255,255,255,.015);
    transition: all .15s;
    cursor: pointer;
  }
  .il2-fx.on {
    border-color: var(--red-dim);
    background: rgba(233,32,56,.06);
  }
  .il2-fx__name { display: flex; flex-direction: column; gap: 1px; }
  .il2-fx__title {
    font-size: .65rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: #fff;
  }
  .il2-fx.on .il2-fx__title { color: var(--red); }
  .il2-fx__desc {
    font-size: .5rem; letter-spacing: .15em; text-transform: uppercase;
    color: rgba(255,255,255,.4);
  }
  .il2-fx__sw {
    position: relative;
    width: 38px; height: 20px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    transition: background .2s;
  }
  .il2-fx__sw::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s, background .2s;
  }
  .il2-fx.on .il2-fx__sw { background: var(--red-dim); }
  .il2-fx.on .il2-fx__sw::after { transform: translateX(18px); background: var(--red); }

  /* ── GRID ── */
  #il2GridWrap {
    display: flex; align-items: center; justify-content: center;
    position: relative;
    min-width: 0;
  }
  #il2Grid {
    display: grid;
    gap: 6px;
    width: min(100%, calc(100dvh - var(--top) - var(--hud) - 4rem));
    height: auto;
    aspect-ratio: 1 / 1;
    position: relative;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    transition: opacity .4s ease;
  }
  #il2Grid.is-3d-active { opacity: 0; pointer-events: none; }

  #il2Canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
    opacity: 0;
    transition: opacity .5s ease;
    z-index: 1;
    pointer-events: none;
    background: #000;
  }
  #il2Canvas.is-active { opacity: 1; }
  #il2Canvas.hidden    { display: none; }
  #il2Grid.is-viz-active { opacity: .82; transition: opacity .4s ease; }

  #il2GridHint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--pp);
    font-size: .5rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    pointer-events: none;
    opacity: 0;
    transition: opacity .5s;
    z-index: 4;
  }
  #il2GridHint.is-active { opacity: 1; }
  #il2GridHint.is-active.faded { opacity: 0; }
  #il2GridHint.hidden { display: none; }

  .il2-3d-toggle {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: rgba(10,10,12,.7);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 4px;
    color: rgba(255,255,255,.7);
    font-family: var(--pp);
    font-size: .55rem;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all .2s ease;
  }
  .il2-3d-toggle:hover {
    border-color: var(--red-glow);
    color: #fff;
  }
  .il2-3d-toggle.is-active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 0 20px var(--red-glow);
  }
  .il2-3d-toggle i { font-size: .65rem; }

  .il2-cell {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .12s, box-shadow .15s;
    position: relative;
  }
  .il2-cell:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.2);
  }
  .il2-cell.loop {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 0 18px var(--red-glow);
    transform: scale(1.06);
    position: relative;
  }
  .il2-cell.loop[data-shade="0"] { background: var(--in-accent, #e92038); border-color: var(--in-accent, #e92038); box-shadow: 0 0 18px rgba(233,32,56,.55); }
  .il2-cell.loop[data-shade="1"] { background: #ff4c5e; border-color: #ff4c5e; box-shadow: 0 0 18px rgba(255,76,94,.55); }
  .il2-cell.loop[data-shade="2"] { background: #c8162c; border-color: #c8162c; box-shadow: 0 0 18px rgba(200,22,44,.55); }
  .il2-cell.loop[data-shade="3"] { background: #ff6f3d; border-color: #ff6f3d; box-shadow: 0 0 18px rgba(255,111,61,.55); }
  .il2-cell.loop[data-shade="4"] { background: #b00020; border-color: #b00020; box-shadow: 0 0 18px rgba(176,0,32,.55); }
  .il2-cell.loop[data-shade="5"] { background: #ff2d5a; border-color: #ff2d5a; box-shadow: 0 0 18px rgba(255,45,90,.55); }
  .il2-cell.loop[data-inst]::after {
    content: attr(data-lbl);
    position: absolute;
    top: 2px; left: 3px;
    font-size: .42rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: rgba(255,255,255,.95);
    text-transform: uppercase;
    pointer-events: none;
    max-width: 80%;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
  }
  .il2-cell.beat,
  .il2-cell.beat-a { animation: il2BeatA .3s ease; }
  .il2-cell.beat-b { animation: il2BeatB .3s ease; }
  @keyframes il2BeatA {
    0%   { transform: scale(1.18); filter: brightness(1.35); }
    100% { transform: scale(1.06); filter: brightness(1); }
  }
  @keyframes il2BeatB {
    0%   { transform: scale(1.18); filter: brightness(1.35); }
    100% { transform: scale(1.06); filter: brightness(1); }
  }
  /* HOVER PING */
  .il2-cell.hover-ping {
    animation: il2HoverPing .5s ease;
  }
  @keyframes il2HoverPing {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.0); }
    40%  { box-shadow: 0 0 14px 3px rgba(255,255,255,.35); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,.0); }
  }

  /* ── VISUAL SURPRISES ── */
  .il2-cell.ripple-source::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(233,32,56,.8);
    animation: il2Ripple .8s ease-out forwards;
    pointer-events: none;
    z-index: 5;
  }
  @keyframes il2Ripple {
    0%   { transform: scale(1);   opacity: .9; border-width: 3px; }
    100% { transform: scale(6.5); opacity: 0;  border-width: 0.5px; }
  }

  .il2-cell.starburst {
    animation: il2Starburst 1.1s ease-out;
  }
  @keyframes il2Starburst {
    0%   { box-shadow: 0 0 0 0 rgba(255,235,120,.0); filter: brightness(1); }
    25%  { box-shadow: 0 0 28px 4px rgba(255,235,120,.95), 0 0 60px 12px rgba(255,180,60,.4); filter: brightness(1.8) saturate(1.5); }
    100% { box-shadow: 0 0 0 0 rgba(255,235,120,.0); filter: brightness(1); }
  }
  .il2-cell.starburst::before {
    content: '✦';
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,235,120,.95);
    font-size: 1.4rem;
    pointer-events: none;
    animation: il2StarSpin 1.1s ease-out forwards;
    z-index: 6;
  }
  @keyframes il2StarSpin {
    0%   { transform: scale(0) rotate(0deg); opacity: 0; }
    30%  { transform: scale(1.4) rotate(180deg); opacity: 1; }
    100% { transform: scale(2.6) rotate(540deg); opacity: 0; }
  }

  .il2-cell.invaded {
    animation: il2Invade .7s ease-out;
  }
  @keyframes il2Invade {
    0%   { background: var(--invade-color, rgba(233,32,56,.5)); border-color: var(--invade-color, rgba(233,32,56,.8)); transform: scale(1.12); }
    50%  { background: var(--invade-color, rgba(233,32,56,.35)); transform: scale(1.05); }
    100% { background: ''; border-color: ''; transform: scale(1); }
  }

  .il2-cell.mirror-flash {
    animation: il2MirrorFlash .55s ease-out;
  }
  @keyframes il2MirrorFlash {
    0%   { box-shadow: inset 0 0 0 0 rgba(255,255,255,0), 0 0 0 0 rgba(255,255,255,0); }
    35%  { box-shadow: inset 0 0 12px 2px rgba(255,255,255,.55), 0 0 18px 2px rgba(255,255,255,.4); filter: brightness(1.6); }
    100% { box-shadow: inset 0 0 0 0 rgba(255,255,255,0), 0 0 0 0 rgba(255,255,255,0); filter: brightness(1); }
  }
  .il2-cell.surprise-cleanup {
    animation: none !important;
  }
  .il2-cell.playhead {
    border-color: rgba(233,32,56,.55);
    background: rgba(233,32,56,.08);
  }
  .il2-cell.playhead.loop {
    outline: 2px solid rgba(255,255,255,.55);
    outline-offset: -3px;
  }
  /* REPLAY */
  .il2-cell.replay-active {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255,255,255,.6);
    transform: scale(1.1);
  }
  #il2Grid.locked { cursor: not-allowed; }
  #il2Grid.locked .il2-cell {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
  }
  #il2Grid.locked .il2-cell.loop { opacity: .15; }
  #il2Grid.locked .il2-cell.replay-active { opacity: 1; }

  /* REC border around grid */
  #il2GridWrap.recording::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid var(--rec);
    border-radius: 4px;
    box-shadow: 0 0 24px var(--rec-glow), inset 0 0 24px rgba(255,58,58,.15);
    pointer-events: none;
    animation: il2RecPulse 1.2s ease-in-out infinite;
  }
  @keyframes il2RecPulse {
    0%,100% { box-shadow: 0 0 24px var(--rec-glow), inset 0 0 24px rgba(255,58,58,.15); }
    50%     { box-shadow: 0 0 40px var(--rec-glow), inset 0 0 30px rgba(255,58,58,.25); }
  }
  #il2GridWrap.replaying::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    box-shadow: 0 0 24px rgba(255,255,255,.45), inset 0 0 24px rgba(255,255,255,.1);
    pointer-events: none;
  }

  #il2GridTimer {
    position: absolute;
    top: 10px; right: 14px;
    font-family: var(--sf);
    font-size: 1.3rem;
    color: var(--rec);
    letter-spacing: .04em;
    display: none;
    z-index: 5;
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
  }
  #il2GridTimer.replay { color: #ffffff; }
  #il2GridTimer.on { display: block; }

  /* ── HUD ── */
  #il2Hud {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--hud);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: stretch;
    padding: 0 clamp(.7rem, 1.8vw, 1.8rem);
    background: linear-gradient(180deg, rgba(8,8,8,.99) 0%, rgba(2,2,2,1) 100%);
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 -4px 24px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04);
    z-index: 9100;
  }
  #il2Hud.inlab-hud { transition: filter .18s ease, opacity .18s ease !important; }
  #il2Hud.inlab-hud--ready { filter: none !important; opacity: 1 !important; }

  .hud-center {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(.5rem, 1.5vw, 1.4rem);
    padding: 0 clamp(.5rem, 1.5vw, 1.4rem);
    overflow: hidden;
  }
  .hud-stat {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    min-width: 0;
  }
  .hud-stat__label {
    font-size: .5rem; font-weight: 500;
    letter-spacing: .25em; text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 3px; white-space: nowrap;
  }
  .hud-stat__val {
    font-family: var(--sf);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    color: #fff; letter-spacing: .03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .hud-stat__val.red { color: var(--red); }

  .hud-beat {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 4px;
  }
  .beat-steps { display: flex; gap: 4px; }
  .beat-step {
    width: 14px; height: 14px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 4px;
    background: rgba(255,255,255,.03);
    transition: all .1s;
  }
  .beat-step.on {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 0 10px var(--red-glow);
  }

  .hud-actions {
    display: flex; align-items: flex-end; gap: 0;
    padding-left: clamp(.5rem, 1.4vw, 1.2rem);
    border-left: 1px solid rgba(255,255,255,.07);
  }
  .hud-group {
    display: inline-flex; flex-direction: column;
    gap: .3rem;
    padding: 0 clamp(.5rem, 1.1vw, .9rem);
  }
  .hud-group:first-child { padding-left: 0; }
  .hud-group__label {
    font-family: var(--pp);
    font-size: .4rem; font-weight: 400;
    letter-spacing: .24em; text-transform: uppercase;
    color: rgba(255,255,255,.4);
    padding-left: .1rem;
    line-height: 1;
    user-select: none;
  }
  .hud-group__btns {
    display: inline-flex; align-items: center; gap: .3rem;
  }
  #il2Hud .hud-btn {
    appearance: none;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.04) !important;
    color: #fff !important;
    font-family: var(--pp) !important;
    font-size: .468rem !important; font-weight: 300 !important;
    letter-spacing: .16em !important; text-transform: uppercase;
    width: auto !important; min-width: 0 !important;
    height: 34px !important;
    padding: 0 .8rem !important;
    cursor: pointer;
    border-radius: 4px !important;
    transition: all .2s !important;
    display: inline-flex !important; align-items: center !important;
    justify-content: center !important;
    gap: .4rem !important;
    white-space: nowrap;
  }
  #il2Hud .hud-btn .lbl { display: inline !important; }
  #il2Hud .hud-btn:hover { background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.25) !important; }
  #il2Hud .hud-btn.is-accent { background: var(--red) !important; border-color: var(--red) !important; }
  #il2Hud .hud-btn.is-accent:hover { background: var(--red2) !important; border-color: var(--red2) !important; }
  #il2Hud #btnMore { display: none !important; }
  #il2Hud .hud-btn.icon-only { width: 34px !important; min-width: 34px !important; height: 34px !important; padding: 0 !important; gap: 0 !important; }
  #il2Hud .hud-btn.icon-only i { font-size: .738rem; }
  #il2Hud #btnHome,
  #il2Hud #btnHome.inlab-hud__home-btn {
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    color: #fff !important;
    width: 34px !important; min-width: 34px !important; height: 34px !important;
    padding: 0 !important; gap: 0 !important; border-radius: 4px !important;
  }
  #il2Hud #btnHome:hover,
  #il2Hud #btnHome.inlab-hud__home-btn:hover {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.25) !important;
  }
  #il2Hud #btnHome i { font-size: .738rem; color: #fff !important; }
  #il2Hud #btnHelp.inlab-hud__info-btn {
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    color: #fff !important;
    width: 34px !important; min-width: 34px !important; height: 34px !important;
    padding: 0 !important; gap: 0 !important; border-radius: 4px !important;
  }
  #il2Hud #btnHelp.inlab-hud__info-btn:hover {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.25) !important;
  }
  #il2Hud #btnHelp.inlab-hud__info-btn i { color: #fff !important; }

  #il2Hud #btnViz.is-active {
    border-color: var(--red) !important;
    background: rgba(233,32,56,.12) !important;
    box-shadow: 0 0 12px rgba(233,32,56,.45) !important;
  }
  #il2Hud #btnViz.is-active i { color: var(--red); }

  #il2Hud .hud-btn.recording { background: var(--rec) !important; border-color: var(--rec) !important; animation: il2RecBlink 1s ease-in-out infinite; }
  #il2Hud .hud-btn.replaying { background: #fff !important; border-color: #fff !important; color: #111 !important; }
  @keyframes il2RecBlink { 0%,100% { opacity: 1; } 50% { opacity: .65; } }
  #il2Hud .hud-btn i { font-size: .522rem; }
  #il2Hud .hud-btn[disabled] { opacity: .35; pointer-events: none; }

  #il2Hud .hud-btn.transport {
    padding: 0 .65rem !important;
    background: rgba(255,255,255,.06) !important;
    border-color: rgba(255,255,255,.14) !important;
  }
  #il2Hud .hud-btn.transport i { font-size: .558rem; }
  #il2Hud .hud-btn.transport.active {
    background: var(--red) !important;
    border-color: var(--red) !important;
    color: #fff !important;
    box-shadow: 0 0 14px var(--red-glow);
  }
  #il2Hud .hud-btn.transport.active.paused {
    background: #fff !important;
    border-color: #fff !important;
    color: #111 !important;
    box-shadow: 0 0 14px rgba(255,255,255,.5);
  }
  #il2Hud #btnStop.transport.active {
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255,255,255,.28) !important;
    color: #fff !important;
    box-shadow: none !important;
  }
  .hud-sep { display: none; }

  /* ── MOBİL HUD "Diğer" MENÜSÜ ── */
  .hud-more-menu {
    position: fixed;
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(var(--hud) + 10px + env(safe-area-inset-bottom, 0px));
    z-index: 9150;
    min-width: 230px;
    display: flex; flex-direction: column; gap: 2px;
    padding: 6px;
    background: #0c0c0e;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0,0,0,.6);
  }
  .hud-more-menu[hidden] { display: none; }
  .hud-more-item {
    appearance: none; border: 0; background: transparent; color: #fff;
    display: flex; align-items: center; gap: 12px;
    width: 100%; min-height: 48px; padding: 0 14px;
    font-family: var(--pp); font-size: .8rem; letter-spacing: .03em; text-align: left;
    border-radius: 6px; cursor: pointer;
  }
  .hud-more-item i { width: 18px; text-align: center; font-size: .95rem; color: rgba(255,255,255,.7); }
  .hud-more-item:hover, .hud-more-item:focus-visible { background: rgba(255,255,255,.08); outline: none; }
  .hud-more-item:focus-visible { box-shadow: inset 0 0 0 2px var(--red); }
  .hud-more-item[disabled] { opacity: .35; cursor: default; }

  /* ── OVERLAYS / MODALS ── */
  .overlay {
    position: fixed;
    top: var(--top); left: 0; right: 0; bottom: var(--hud);
    z-index: 9000;
    background: rgba(2,2,2,.94);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    padding: 2rem;
    border-radius: 0 0 4px 4px;
    overflow-y: auto;
  }
  .overlay.hidden { display: none; }

  /* ── INTRO OVERLAY ── */
  #ovIntro {
    background:
      radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.55) 0%, rgba(0,0,0,.88) 60%, rgba(2,2,2,.96) 100%),
      url('../images/inloop-intro-bg.webp') center/cover no-repeat,
      #020202;
    animation: ovIntroBreath 18s ease-in-out infinite;
  }
  @keyframes ovIntroBreath {
    0%, 100% { background-size: auto, 108% auto, auto; background-position: center, 50% 50%, center; }
    50%      { background-size: auto, 114% auto, auto; background-position: center, 52% 48%, center; }
  }
  #ovIntro::before {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.012) 0px,
      rgba(255,255,255,.012) 1px,
      transparent 1px,
      transparent 3px
    );
    border-radius: inherit;
    mix-blend-mode: overlay;
    opacity: .6;
  }
  #ovIntro .ov-card {
    position: relative; z-index: 1;
    max-width: 780px;
    display: flex; flex-direction: column; align-items: center;
  }

  /* ── INLOOP INTRO ── */
  .ov-card {
    max-width: 600px; width: 100%;
    text-align: center;
    animation: ovIn .4s cubic-bezier(.2,.7,.3,1.2);
  }
  @keyframes ovIn { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: translateY(0);} }
  .ov-tag {
    display: inline-block;
    padding: .35rem 1rem;
    border: 1px solid var(--red-dim);
    border-radius: 999px;
    font-size: .55rem; font-weight: 600;
    letter-spacing: .3em; text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.4rem;
  }
  .ov-tag + .ov-title { display: inline-block; margin-top: 0; }
  .ov-card .ov-tag { display: block; margin-left: auto; margin-right: auto; max-width: max-content; }
  .ov-title {
    font-family: var(--sf);
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: .9;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: .4rem;
    position: relative;
    display: inline-block;
  }

  .ov-title .red { color: var(--red); }
  .ov-title .sup {
    font-size: .35em;
    color: var(--red);
    vertical-align: super;
    letter-spacing: .1em;
    font-family: var(--pp);
    font-weight: 700;
  }
  .ov-sub {
    font-size: .9rem;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
    margin-bottom: 1.6rem;
    max-width: 480px;
    margin-left: auto; margin-right: auto;
  }
  .ov-btn {
    appearance: none; border: 0;
    background: var(--red); color: #fff;
    font-family: var(--pp);
    font-size: .8rem; font-weight: 700;
    letter-spacing: .25em; text-transform: uppercase;
    padding: 1.1rem 2.4rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex; align-items: center; gap: .6rem;
    box-shadow: 0 8px 30px rgba(233,32,56,.4);
  }
  .ov-btn:hover { background: var(--red2); box-shadow: 0 12px 40px rgba(233,32,56,.55); }
  .ov-btn.ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff; box-shadow: none;
  }
  .ov-btn.ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); }
  .ov-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

  /* ── Pencereler ── */

  /* ── Save modal form ── */
  .il2-save-prompt { display: flex; flex-direction: column; gap: 12px; }
  .il2-save-prompt__label {
    font-size: .55rem; letter-spacing: .25em; text-transform: uppercase;
    color: rgba(255,255,255,.55);
  }
  .il2-save-prompt__input {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    font-family: var(--pp);
    font-size: .95rem;
    padding: .85rem 1rem;
    border-radius: 4px;
    outline: none;
    transition: border-color .2s;
  }
  .il2-save-prompt__input:focus { border-color: var(--red); }
  .il2-save-prompt__actions { display: flex; gap: 8px; justify-content: flex-end; }
  .il2-save-prompt__actions .il2-btn[disabled] { opacity: .45; pointer-events: none; }
  .il2-save-note {
    margin-top: 1.2rem; text-align: center;
    font-size: .5rem; letter-spacing: .2em; line-height: 1.7; text-transform: uppercase;
    color: rgba(255,255,255,.35);
  }
  .il2-btn {
    appearance: none; border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.04);
    color: #fff;
    font-family: var(--pp);
    font-size: .6rem; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase;
    padding: .7rem 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all .15s;
  }
  .il2-btn:hover { background: rgba(255,255,255,.08); }
  .il2-btn.primary {
    background: var(--red); border-color: var(--red);
  }
  .il2-btn.primary:hover { background: var(--red2); border-color: var(--red2); }

  /* ── Capsule list ── */
  .il2-cap-day {
    text-align: center;
    font-size: .55rem; letter-spacing: .3em; text-transform: uppercase;
    color: rgba(255,255,255,.45);
    padding: .5rem;
    margin-bottom: .8rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .il2-cap-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: rgba(255,255,255,.5);
    font-size: .85rem;
  }
  .il2-cap-empty i {
    display: block; font-size: 2rem; color: var(--red);
    margin-bottom: 1rem; opacity: .55;
  }
  .il2-cap-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: .75rem .9rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 4px;
    margin-bottom: .5rem;
    transition: border-color .15s, background .15s;
  }
  .il2-cap-item:hover {
    border-color: var(--red-dim);
    background: rgba(233,32,56,.04);
  }
  .il2-cap-item__title {
    font-family: var(--sf);
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: .02em;
    margin-bottom: 3px;
  }
  .il2-cap-item__meta {
    display: flex; gap: .6rem;
    font-size: .5rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    flex-wrap: wrap;
  }
  .il2-cap-item__meta span { white-space: nowrap; }
  .il2-cap-actions {
    display: flex; gap: 4px;
  }
  .il2-cap-btn {
    appearance: none;
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    gap: 4px;
    font-size: .65rem;
    font-weight: 600;
    transition: all .15s;
  }
  .il2-cap-btn.with-count {
    width: auto; padding: 0 .65rem;
  }
  .il2-cap-btn:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.25); }
  .il2-cap-btn.liked {
    background: var(--red); border-color: var(--red);
    color: #fff;
  }
  .il2-cap-btn.liked:hover { background: var(--red2); border-color: var(--red2); }
  .il2-cap-btn i { font-size: .7rem; }
  .il2-cap-btn .count {
    font-family: var(--sf);
    font-size: .9rem;
    letter-spacing: .03em;
  }

  /* ── Now ── */
  .il2-loop-card {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 10px;
    background: rgba(233,32,56,.06);
    border: 1px solid var(--red-dim);
    border-radius: 4px;
  }
  .il2-loop-card .lc-label {
    font-size: .55rem; letter-spacing: .25em; text-transform: uppercase;
    color: rgba(255,255,255,.55);
  }
  .il2-loop-card .lc-val {
    font-family: var(--sf); font-size: 1.3rem; color: var(--red);
  }

  /* ── RESPONSIVE ── */
  .il2-panel {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.25) transparent;
  }
  .il2-panel::-webkit-scrollbar { width: 8px; }
  .il2-panel::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
  .il2-panel::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.22);
    border-radius: 4px;
  }
  .il2-panel::-webkit-scrollbar-thumb:hover { background: rgba(233,32,56,.6); }

  @media (max-width: 980px) {
    #il2Stage {
      display: flex;
      flex-direction: column;
      gap: 8px; padding: 8px;
      overflow-y: auto; overflow-x: hidden;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
    }
    #il2GridWrap { order: -1; flex: 0 0 auto; }
    #il2Grid { width: min(100%, 640px); height: auto; touch-action: none; }
    .il2-panel, .tab-panel { flex: 0 0 auto; max-height: none; overflow: visible; }
    .tab-panel__body { overflow: visible; }
    #il2Stage.is-tab-collapsed .tab-panel { display: none; }
    .hud-center { display: none; }
    #il2Hud .hud-btn .lbl { display: none !important; }
    #il2Hud .hud-btn,
    #il2Hud .hud-btn.transport,
    #il2Hud .hud-btn.icon-only,
    #il2Hud #btnHome.inlab-hud__home-btn,
    #il2Hud #btnHelp.inlab-hud__info-btn {
      width: 44px !important; min-width: 44px !important; height: 44px !important;
      padding: 0 !important; gap: 0 !important;
    }
    #il2Hud .hud-btn i { font-size: 16px !important; }
    .hud-actions { align-items: center; }
    .hud-group { flex-direction: row; align-items: center; padding: 0 .25rem; gap: .3rem; }
    .hud-group__label { display: none; }
  }
  @media (max-width: 720px) {
    :root { --hud: 58px; }
    body { overflow: auto; }
    #il2Hud #btnReplay, #il2Hud #btnCapsule, #il2Hud #btnClear,
    #il2Hud #btnHelp, #il2Hud #btnHome { display: none !important; }
    #il2Hud #btnMore { display: inline-flex !important; }
    #il2Hud .hud-group--tools { display: none; }
    #il2Hud .hud-actions { grid-column: 3; justify-self: end; align-items: center; }
    .hud-sep { display: none; }
    .il2-panel { padding: 10px; gap: 10px; }
    .il2-row.col-3 { grid-template-columns: repeat(3, 1fr); }
    #il2Grid { gap: 3px !important; }
    .il2-cell.loop[data-inst]::after { display: none; }
    /* Dokunma hedefleri ≥ 44 px */
    .il2-chip, .mg-chip, .tab-strip__btn, .il2-btn, .dl-btn { min-height: 44px; }
    .il2-chip { font-size: .56rem; }
    .il2-cap-btn { min-width: 44px; height: 44px; }
    /* Mobil scroll bar belirgin */
    .il2-panel::-webkit-scrollbar { width: 6px; }
    .il2-panel::-webkit-scrollbar-thumb { background: rgba(233,32,56,.5); }
  }
  @media (max-width: 480px) {
    .il2-chip { font-size: .5525rem; padding: .4rem .3rem; }
    .ov-card { padding: 1.5rem 1rem; }
    .ov-title { font-size: 2rem; }
  }

  /* ── TAB PANEL ── */
  .tab-panel {
    background: rgba(10, 10, 12, 0.78);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 4px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0,0,0,.4),
                0 0 0 1px rgba(233,32,56,.05) inset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    transition: opacity .2s ease;
  }
  #il2Stage.is-tab-collapsed .tab-panel {
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .tab-strip {
    display: flex;
    gap: 0;
    background: rgba(0,0,0,.3);
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: relative;
  }
  .tab-strip__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 6px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,.55);
    font-family: inherit;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
    border-bottom: 2px solid transparent;
  }
  .tab-strip__btn i { font-size: .9rem; }
  .tab-strip__btn:hover {
    color: #fff;
    background: rgba(255,255,255,.03);
  }
  .tab-strip__btn.is-active {
    color: #fff;
    background: linear-gradient(180deg, rgba(233,32,56,.15), transparent);
    border-bottom-color: var(--red);
  }
  .tab-strip__btn.is-active i { color: var(--red); }
  .tab-strip__collapse {
    width: 36px;
    flex: 0 0 36px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,.4);
    cursor: pointer;
    font-size: .9rem;
    transition: all .2s ease;
    border-left: 1px solid rgba(255,255,255,.06);
  }
  .tab-strip__collapse:hover { color: var(--red); background: rgba(233,32,56,.06); }

  .tab-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    font-size: .92em;
    scrollbar-width: thin;
    scrollbar-color: rgba(233,32,56,.4) transparent;
  }
  .tab-panel__body::-webkit-scrollbar { width: 5px; }
  .tab-panel__body::-webkit-scrollbar-thumb { background: rgba(233,32,56,.4); border-radius: 4px; }
  .tab-panel__foot {
    padding: 10px 14px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex; gap: 8px; flex-wrap: wrap;
    background: rgba(0,0,0,.2);
  }

  .tab-reopen {
    position: fixed;
    top: calc(var(--top) + 14px);
    right: 0;
    transform: none;
    width: 22px;
    height: 38px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: rgba(255,255,255,.65);
    cursor: pointer;
    z-index: 8600;
    display: none;
    align-items: center;
    justify-content: center;
    transition: width .2s ease, background .2s ease, color .2s ease;
  }
  .tab-reopen:hover { width: 26px; background: rgba(255,255,255,.1); color: #fff; }
  #il2Stage.is-tab-collapsed ~ .tab-reopen { display: flex; }

  .tab-pane { display: none; }
  .tab-pane.is-active { display: block; }

  @media (max-width: 1240px) and (min-width: 981px) {
    #il2Stage { grid-template-columns: 240px 1fr 272px; }
    #il2Stage.is-tab-collapsed { grid-template-columns: 240px 1fr 0px; }
  }

  /* ── MIXER CHANNEL STRIPS ── */
  .mx-strip {
    display: grid;
    grid-template-columns: 1fr 14px;
    gap: 10px;
    padding: 12px 12px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
    margin-bottom: 10px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
      rgba(15,15,18,.5);
    transition: border-color .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
  }
  .mx-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 60% at 0% 0%, rgba(233,32,56,.06), transparent 60%);
    pointer-events: none;
  }
  .mx-strip.is-solo {
    border-color: rgba(255,216,61,.55);
    box-shadow: 0 0 24px rgba(255,216,61,.12) inset;
  }
  .mx-strip.is-muted { opacity: .45; }
  .mx-strip__top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 6px;
    margin-bottom: 10px;
  }
  .mx-strip__nameWrap { min-width: 0; }
  .mx-strip__name {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mx-strip__sub {
    font-size: .55rem;
    letter-spacing: .14em;
    color: rgba(255,255,255,.4);
    margin-top: 2px;
    text-transform: uppercase;
  }
  .mx-strip__db {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: .7rem;
    color: var(--red);
    font-weight: 600;
    background: rgba(233,32,56,.1);
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 42px;
    text-align: center;
  }
  .mx-strip__buttons {
    display: flex; gap: 4px;
  }
  .mx-btn {
    width: 26px; height: 26px;
    border-radius: 4px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.65);
    cursor: pointer;
    font-size: .65rem;
    font-weight: 800;
    transition: all .15s ease;
  }
  .mx-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
  .mx-btn.is-on[data-act="mute"] {
    background: var(--red); border-color: var(--red); color: #fff;
    box-shadow: 0 0 10px rgba(233,32,56,.5);
  }
  .mx-btn.is-on[data-act="solo"] {
    background: #ffd83d; border-color: #ffd83d; color: #1a1a1a;
    box-shadow: 0 0 10px rgba(255,216,61,.5);
  }

  .mx-fader-row {
    display: flex; align-items: center; gap: 8px;
    grid-column: 1 / 2;
  }
  .mx-fader {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(90deg,
                rgba(80,200,120,.6) 0%,
                rgba(255,216,61,.6) 70%,
                rgba(233,32,56,.7) 100%);
    outline: none;
    cursor: pointer;
    position: relative;
  }
  .mx-fader::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border-radius: 4px;
    background: linear-gradient(180deg, #fff 0%, #ddd 100%);
    border: 1px solid #000;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0,0,0,.6),
                inset 0 -2px 0 rgba(0,0,0,.2);
  }
  .mx-fader::-webkit-slider-thumb:active { cursor: grabbing; }
  .mx-fader::-moz-range-thumb {
    width: 18px; height: 18px;
    border-radius: 4px;
    background: linear-gradient(180deg, #fff 0%, #ddd 100%);
    border: 1px solid #000;
    cursor: grab;
  }

  .mx-meter {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    width: 14px;
    height: 100%;
    min-height: 56px;
    background:
      linear-gradient(180deg,
        rgba(233,32,56,.05) 0%,
        rgba(255,216,61,.05) 30%,
        rgba(80,200,120,.05) 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
  }
  .mx-meter__fill {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 0%;
    background: linear-gradient(180deg,
                #ff3a4d 0%,
                #ffd83d 30%,
                #50c878 70%);
    border-radius: 4px;
    transition: height .08s ease-out;
    box-shadow: 0 0 8px rgba(233,32,56,.4);
  }
  .mx-meter__peak {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: #fff;
    box-shadow: 0 0 4px rgba(255,255,255,.8);
    transition: bottom .25s ease-out;
    pointer-events: none;
  }
  /* Tick marks on meter */
  .mx-meter::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(180deg, transparent 24%, rgba(0,0,0,.4) 25%, transparent 26%),
      linear-gradient(180deg, transparent 49%, rgba(0,0,0,.4) 50%, transparent 51%),
      linear-gradient(180deg, transparent 74%, rgba(0,0,0,.4) 75%, transparent 76%);
    pointer-events: none;
    z-index: 2;
  }

  .mx-empty {
    text-align: center;
    color: rgba(255,255,255,.4);
    font-size: .75rem;
    padding: 30px 10px;
  }

  /* Master strip */
  .mx-strip.is-master {
    background:
      linear-gradient(180deg, rgba(233,32,56,.12), rgba(233,32,56,.04)),
      rgba(15,15,18,.6);
    border-color: rgba(233,32,56,.35);
    margin-bottom: 14px;
  }
  .mx-strip.is-master .mx-strip__name { color: var(--red); }

  /* MAGIC tools */
  .mg-section {
    padding: 12px;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 4px;
    margin-bottom: 10px;
  }
  .mg-section__title {
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin-bottom: 10px;
    font-weight: 600;
  }
  .mg-row { display: flex; gap: 8px; flex-wrap: wrap; }
  .mg-section__title--spaced { margin-top: 12px; }
  .mg-slider-row--spaced { margin-top: 10px; }
  .mg-note { font-size: .6rem; color: rgba(255,255,255,.4); margin-top: 8px; letter-spacing: .1em; line-height: 1.5; }
  .mg-chip {
    padding: 8px 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 4px;
    color: rgba(255,255,255,.75);
    font-size: .7rem;
    cursor: pointer;
    transition: all .15s ease;
    font-family: inherit;
  }
  .mg-chip:hover { background: rgba(233,32,56,.1); color: #fff; }
  .mg-chip.is-active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 0 12px rgba(233,32,56,.4);
  }
  .mg-slider-row {
    display: grid;
    grid-template-columns: 1fr 50px;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
  }
  .mg-slider-row label {
    font-size: .65rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .mg-slider-row .mg-val {
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
    font-size: .75rem;
    color: var(--red);
  }
  .mg-slider-row input[type=range] {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }
  .mg-action {
    width: 100%;
    padding: 11px;
    margin-top: 6px;
    background: linear-gradient(180deg, var(--red), var(--red2));
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform .1s ease, box-shadow .15s ease;
  }
  .mg-action:hover { box-shadow: 0 6px 20px rgba(233,32,56,.4); }
  .mg-action:active { transform: translateY(1px); }
  .mg-action.secondary {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.15);
  }
  .mg-action.secondary:hover { background: rgba(255,255,255,.1); }

  /* ── DOWNLOAD MODAL ── */

  .dl-field { margin-bottom: 16px; }
  .dl-field__label {
    font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
    color: rgba(255,255,255,.5); margin-bottom: 8px; font-weight: 600;
  }
  .dl-formats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .dl-format {
    background: rgba(255,255,255,.04);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 4px;
    padding: 14px 12px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s ease;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
  }
  .dl-format__name { font-size: .85rem; font-weight: 700; letter-spacing: .15em; }
  .dl-format__desc { font-size: .58rem; color: rgba(255,255,255,.5); letter-spacing: .1em; text-transform: uppercase; }
  .dl-format:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
  .dl-format.is-active {
    background: linear-gradient(180deg, rgba(233,32,56,.18), rgba(233,32,56,.06));
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(233,32,56,.15);
  }
  .dl-format.is-active .dl-format__name { color: var(--red); }

  .dl-duration {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 4px;
    padding: 10px 14px;
  }
  .dl-duration input[type="range"] {
    flex: 1; -webkit-appearance: none; appearance: none;
    height: 4px; background: rgba(255,255,255,.1); border-radius: 4px; outline: none;
  }
  .dl-duration input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 14px; height: 14px;
    background: var(--red); border-radius: 50%; cursor: pointer;
  }
  .dl-duration input[type="range"]::-moz-range-thumb {
    width: 14px; height: 14px; background: var(--red);
    border: none; border-radius: 50%; cursor: pointer;
  }
  .dl-duration__val { font-weight: 700; font-size: .9rem; min-width: 48px; text-align: right; color: var(--red); }

  .dl-card__foot {
    display: flex; gap: 10px; margin-top: 20px;
  }
  .dl-btn {
    flex: 1; padding: 12px 14px;
    border: none; border-radius: 4px;
    font-family: inherit; font-size: .78rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    cursor: pointer;
    transition: all .15s ease;
  }
  .dl-btn--cancel {
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.1);
  }
  .dl-btn--cancel:hover { background: rgba(255,255,255,.1); color: #fff; }
  .dl-btn--start {
    background: linear-gradient(180deg, var(--red), var(--red2));
    color: #fff;
    box-shadow: 0 6px 16px rgba(233,32,56,.3);
  }
  .dl-btn--start:hover { box-shadow: 0 8px 22px rgba(233,32,56,.5); }
  .dl-btn--start:disabled {
    opacity: .55; cursor: not-allowed; transform: none;
    background: rgba(255,255,255,.08); box-shadow: none;
  }

  .dl-progress {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    background: rgba(0,0,0,.4);
    border: 1px solid rgba(233,32,56,.2);
    border-radius: 4px;
    font-size: .72rem; letter-spacing: .12em;
    color: var(--red); font-weight: 600;
    text-align: center; text-transform: uppercase;
  }
  .dl-progress.is-active { display: block; }
  .dl-progress__bar {
    margin-top: 8px; height: 4px;
    background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden;
  }
  .dl-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--red), #ff5a73);
    width: 0%;
    transition: width .2s ease;
  }

  /* ── HELP OVERLAY ── */
  #ovHelp .il2-help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 1.4rem auto; max-width: 480px; text-align: left; }
  #ovHelp .il2-help-cell { padding: .8rem; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; }
  #ovHelp .il2-help-cell__k { font-family: var(--sf); font-size: 1rem; color: #fff; }
  #ovHelp .il2-help-cell__v { font-size: .55rem; letter-spacing: .15em; color: rgba(255,255,255,.55); margin-top: 3px; }
  #ovHelp .il2-help-rec { color: var(--red); font-size: .8em; }
  .il2-accent { color: var(--red); }

/* ── Satır-içi stillerden taşındı ── */
#mixerResetBtn { margin: 0; }
