
html, body {
  height: auto;
  min-height: 100%;
}

body {
  /* overflow-y:auto 를 주면 body 가 스크롤 컨테이너가 되어
     (1) window 의 scroll 이벤트가 안 잡혀 상단바 자동숨김이 동작하지 않고
     (2) 모바일 브라우저가 주소창을 접지 못한다.
     그래서 문서(html)가 정상적으로 스크롤되도록 둔다. */
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
    background:#fafafa;
    color:#111;
    /* 예전에는 모든 화면에서 min-width:500px 이었다. 그러면 휴대폰에서
       화면보다 넓은 폭(500px)을 강제로 잡아 상단 메뉴가 가로로 길게 늘어나고
       가로 스크롤이 생겼다. 이제 좁은 화면에서는 폭을 화면에 맞춘다
       (아래 @media (min-width: 769px) 에서 데스크톱만 500px 유지). */
    min-width: 0;
    min-height: 100vh;
  }

.top-bar {
  background:#111;
  color:#f2f2f2;
  /* 화면 위에 계속 붙여 둔다. (예전에는 스크롤하면 .is-hidden 으로 감췄지만,
     템포 트레이닝처럼 화면 높이가 바뀌는 조작에서 메뉴가 사라져 보여 없앴다) */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar-inner {
  max-width: 1800px;   /* scoreWrapper와 동일 */
  margin: 0 auto;
  height:64px;
  position: relative;
}
/* 브랜드는 왼쪽, 조작 버튼은 오른쪽 — Drum Score 페이지와 같은 구성 */
.top-brand {
  display:flex;
  align-items:center;
  gap:10px;
}
.top-logo {
  font-size:20px;
  font-weight: 700;
  letter-spacing: .5px;
  white-space:nowrap;
  pointer-events: none;
}
/* 로고 옆의 작은 페이지 이동 링크 (Drum Score <-> Rudiment) */
.top-navlink {
  display:inline-block;
  height:26px;
  line-height:24px;
  padding:0 10px;
  border:1px solid #444;
  border-radius:4px;
  color:#9a9a9a;
  font-size:12px;
  letter-spacing:.3px;
  text-decoration:none;
  white-space:nowrap;
  transition:background .12s, color .12s;
}
.top-navlink:hover,
.top-navlink:focus-visible {
  background:#444;
  color:#f2f2f2;
  text-decoration:none;
}
  /* 연습 메인 영역 */
  .practice-area {
    height:calc(100vh - 64px);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:3rem;
    letter-spacing:0.4rem;
    text-align:center;
  }

  /* 슬라이더 */
  .bpm-slider {
    width:140px;
  }

  /* ---------- 상단 버튼: Drum Score 페이지와 동일한 색/모양/크기 ---------- */

  /* PLAY 버튼 (노란 사각) */
  .ru-play {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:140px;
    height:40px;
    padding:0 22px;
    border:0;
    border-radius:4px;
    background:#ffc107;
    color:#111;
    font-size:15px;
    font-weight:700;
    letter-spacing:1px;
    cursor:pointer;
  }
  .ru-play i {
    width:0;
    height:0;
    border-style:solid;
    border-width:6px 0 6px 10px;
    border-color:transparent transparent transparent #111;
  }
  .ru-play.playing i {
    border:0;
    width:10px;
    height:12px;
    background:#111;
  }

  /* BPM (라벨 / 값 / 슬라이더) */
  .ru-tempo {
    display:flex;
    align-items:center;
    gap:8px;
  }
  .ru-tempo label {
    margin:0;
    font-size:12px;
    color:#9a9a9a;
    letter-spacing:1px;
  }
  .ru-tempo output {
    min-width:34px;
    text-align:right;
    font-size:15px;
    font-weight:700;
    color:#ffc107;
  }
  .ru-tempo input[type=range] {
    width:140px;
    accent-color:#ffc107;
  }

  /* 셀렉트 (보기 모드) */
  .ru-select {
    height:32px;
    padding:0 8px;
    border:1px solid #444;
    border-radius:4px;
    background:#444;
    color:#f2f2f2;
    font-size:13px;
    cursor:pointer;
  }

  /* ON/OFF 토글 버튼 (Snare On) */
  .ru-toggle {
    height:32px;
    min-width:110px;
    padding:0 12px;
    border:1px solid #444;
    border-radius:4px;
    background:transparent;
    color:#f2f2f2;
    font-size:13px;
    line-height:1;
    letter-spacing:.5px;
    cursor:pointer;
  }
  .ru-toggle:hover {
    background:#444;
  }
  .ru-toggle.is-on {
    border-color:#ffc107;
    background:#ffc107;
    color:#111;
    font-weight:700;
  }

  /* Progressive Tempo Training 체크박스 */
  .ru-prog-check {
    display:inline-flex;
    align-items:center;
    gap:6px;
    height:32px;
    padding:0 10px;
    border:1px solid #444;
    border-radius:4px;
    color:#f2f2f2;
    font-size:13px;
    line-height:1;
    letter-spacing:.5px;
    cursor:pointer;
    margin:0;
    user-select:none;
    -webkit-user-select:none;
  }
  .ru-prog-check:hover { background:#444; }
  .ru-prog-check input[type=checkbox] {
    width:14px;
    height:14px;
    margin:0;
    accent-color:#ffc107;
    cursor:pointer;
  }
  .ru-prog-check.is-on {
    border-color:#ffc107;
    background:#ffc107;
    color:#111;
    font-weight:700;
  }
  .ru-prog-check.is-on input[type=checkbox] { accent-color:#111; }

  /* Progressive Tempo Training 설정 폼 (상단 바 아래에 붙는 두 번째 줄) */
  .ru-prog-panel {
    background:#171717;
    border-top:1px solid #2b2b2b;
  }
  .ru-prog-panel[hidden] { display:none; }
  .ru-prog-inner {
    max-width:1800px;
    margin:0 auto;
    padding:8px 16px;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:16px;
  }
  .ru-prog-title {
    font-size:12px;
    font-weight:700;
    letter-spacing:1px;
    color:#ffc107;
    white-space:nowrap;
  }
  .ru-prog-field {
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin:0;
    font-size:12px;
    color:#9a9a9a;
    white-space:nowrap;
  }
  .ru-prog-input {
    width:64px;
    height:28px;
    padding:0 6px;
    border:1px solid #444;
    border-radius:4px;
    background:#222;
    color:#f2f2f2;
    font-size:13px;
    text-align:right;
  }
  .ru-prog-input:focus {
    outline:none;
    border-color:#ffc107;
  }
  .ru-prog-unit { font-size:12px; color:#9a9a9a; }
  .ru-prog-status {
    font-size:12px;
    color:#ffc107;
    letter-spacing:.3px;
    white-space:nowrap;
  }

  /* 자동으로 BPM 이 올라갈 때 숫자를 잠깐 강조한다. */
  @keyframes ru-bump {
    0%   { transform:scale(1.55); color:#fff; }
    100% { transform:scale(1);    color:#ffc107; }
  }
  .ru-tempo output { display:inline-block; }
  .ru-tempo output.is-bump { animation:ru-bump .45s ease; }

  /* 패턴 버튼: 좌측 여백 + 노란 강조 + 대문자 굵게 */
  .ru-pattern {
    height:32px;
    margin-left:20px;
    padding:0 16px;
    border:1px solid #ffc107;
    border-radius:4px;
    background:#ffc107;
    color:#111;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    line-height:1;
    cursor:pointer;
  }
  .ru-pattern:hover {
    background:#ffca2c;
    border-color:#ffca2c;
  }

  /* New 버튼 (PLAY 노랑과 구분되는 강조색) */
  .ru-new {
    height:32px;
    padding:0 14px;
    border:1px solid #0d6efd;
    border-radius:4px;
    background:#0d6efd;
    color:#fff;
    font-size:13px;
    font-weight:700;
    line-height:1;
    letter-spacing:.3px;
    cursor:pointer;
  }
  .ru-new:hover {
    background:#0b5ed7;
    border-color:#0b5ed7;
  }

  /* 하단 설명 / 카피라이트 (Drum Score 와 동일한 톤) */
  .ru-help {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 24px 30px;
    font-size: 13px;
    color: #555;
    text-align: center;
    line-height: 1.75;
  }
  .ru-copyright {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 24px 28px;
    font-size: 12px;
    color: #999;
    text-align: center;
    letter-spacing: .02em;
  }

  .list-group-item {
    background:#111;
    color:#fff;
    border-color:#333;
  }

  .list-group-item.active {
    background:#0d6efd;
    border-color:#0d6efd;
  }



#rudimentPicker {
  margin-top: 20px;
}



.rudiment-grid {
  display: flex;
  width: 100%;
  gap: 0;              /* 공백 제거 */
}

.rudiment-grid label {

  position: relative;
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 50%;
  background: #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 0 10px rgba(0,0,0,.8),
    0 4px 10px rgba(0,0,0,.6);
  transition: 0.15s;
}

.rudiment-grid input {
  display: none;
}

.rudiment-grid img {
  width: 100%;
  height: auto;
  opacity: 0.4;
  transition: 0.12s;
}


.rudiment-grid input:checked + img {
  opacity: 1;
}

#scoreWrapper {
  max-width: 1800px; 
  margin:20px auto 0;
  background: #fafafa;   /* 악보 종이색 */
  /* 좌측은 start.svg 안에 이미 여백이 들어 있어(39.2/64) 우측 여백을 그만큼 준다.
     16마디 기준 40px, 4마디는 마디 폭이 커서 60px (아래 규칙) */
  padding: 40px 40px 60px 0px;
  border-radius: 8px;
  height: auto;
  /* 악보 제스처(가운데 터치=재생/정지, 좌우 드래그=속도 조절)
     가로 제스처는 스크립트가 받아야 하므로 브라우저에는 세로 스크롤만 맡긴다. */
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* 좌우 드래그로 속도를 조절하는 동안 왼쪽/오른쪽 커서로 표시(데스크톱) */
#scoreWrapper.is-tempo-drag { cursor: ew-resize; }

/* 4마디 보기: 마디(음표) 폭이 커져 좌측 이미지 여백도 커지므로 우측도 더 준다 */
body.view-paged4 #scoreWrapper {
  padding-right: 60px;
}

#scoreArea {
  width: 100%;
}


.score-row {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  height: auto;
}

.score-viewport {
  width: 100%;
  overflow: hidden;
  height: auto;
}

.score-canvas {
  display: flex;
  width: 1520px;
  height : auto;
  transform-origin: left top;
  background-color: #fafafa;
  background-image:
    linear-gradient(#5c5c5c, #5c5c5c),
    linear-gradient(#5c5c5c, #5c5c5c),
    linear-gradient(#5c5c5c, #5c5c5c),
    linear-gradient(#5c5c5c, #5c5c5c),
    linear-gradient(#5c5c5c, #5c5c5c);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position:
    0 33.5px,
    0 42.5px,
    0 52.5px,
    0 61.5px,
    0 70.5px;
}



.score-canvas img {
  display: block;
  flex: 0 0 auto;
  max-width: none;
  margin : 0;
  padding: 0 ;
  border : none;
  outline:none;
  height: auto;
  max-height: 90px;             /* 원본 이미지 높이 */
  width: auto;
}




.score-note {
  opacity: 1;
  transition: opacity 0.12s linear;
}

.score-container {
  position: relative;
  display: inline-block;
}

.score-img {
  display: block;
  width: 100%;
}

#scoreWrapper {
  position: relative;
}

.playhead {
  position: absolute;
  opacity : 0;
  top: 20px;               /* 악보 위 여백 고려 */
  left: 0;
  height: 90px;            /* note 이미지 높이와 동일 */
  width: 90px;             /* 1 stroke 폭 (JS에서 계산 가능) */
  background: rgba(0, 150, 255, 0.25);
  border: 2px solid rgba(0, 150, 255, 0.8);
  border-radius: 6px;
  pointer-events: none;
  transition: left 0.08s linear;
}


/* 펼쳐보기 : 악보를 줄바꿈 없이 한 줄로 펼쳐서 보여준다 (가로 스크롤) */
body.view-expand #scoreWrapper {
  overflow-x: auto;
  overflow-y: hidden;
}

body.view-expand #scoreArea {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
}

body.view-expand .score-row {
  flex: 0 0 auto;
  width: auto;
  padding-right: 12px;    /* 행 사이 간격 */
}

body.view-expand .score-viewport {
  width: 1520px;
  overflow: visible;
}

body.view-expand .score-canvas {
  transform: none !important;
  margin-left: 0 !important;
}



/* 기본(가장 넓은 화면) 높이. 아래 max-width 미디어쿼리들이 화면이 좁아질수록 줄인다.
   (원래 `@media {` 로 미디어쿼리 없이 적혀 있어 브라우저가 이 블록을 통째로 무시했었다.) */
@media (min-width: 1801px) {
  .score-row {
    height: 160px;
  }
  .score-cell img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

/* ---------- 상단 메뉴바: 좁은 화면에서 두 줄로 접히고 버튼이 작아진다 ---------- */

/* 데스크톱에서만 예전처럼 최소 폭을 보장한다(악보가 너무 작아지지 않게). */
@media (min-width: 769px) {
  body { min-width: 500px; }
}

/* 태블릿 이하: 상단 바를 감싸고(줄바꿈) 높이를 내용에 맞춘다. */
@media (max-width: 992px) {
  /* 모바일에서 내용이 화면보다 짧으면 문서가 스크롤되지 않는다.
     스크롤이 없으면 (1) 브라우저 주소창이 접히지 않고 (2) 상단 메뉴 자동숨김도
     동작하지 않는다. 그래서 최소 높이에 약간의 여유를 주어 "내려 스크롤"이
     가능하게 만든다(주소창이 접히고 메뉴가 위로 사라지는 계기). */
  body { min-height: calc(100vh + 64px); }

  .top-bar-inner {
    height: auto;
    flex-wrap: wrap;
    row-gap: 8px;
    padding: 8px 12px;
  }
  .top-bar-inner > .ms-auto {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .ru-tempo input[type=range] { width: 110px; }
  .ru-pattern { margin-left: 0; }
}

/* 휴대폰: 버튼/글자를 더 작게 해서 한 줄에 욱여넣지 않는다. */
@media (max-width: 768px) {
  .top-bar-inner { padding: 6px 8px; gap: 6px; row-gap: 6px; }
  .top-logo { font-size: 17px; }
  .top-navlink { height: 24px; line-height: 22px; padding: 0 8px; font-size: 11px; }

  .ru-play { min-width: 0; height: 30px; padding: 0 12px; font-size: 12px; letter-spacing: .5px; }
  .ru-tempo { gap: 5px; }
  .ru-tempo label { font-size: 11px; }
  .ru-tempo output { min-width: 26px; font-size: 13px; }
  .ru-tempo input[type=range] { width: 84px; }
  .ru-toggle { min-width: 0; height: 28px; padding: 0 8px; font-size: 11px; }
  .ru-prog-check { height: 28px; padding: 0 8px; font-size: 11px; gap: 5px; }
  .ru-prog-check input[type=checkbox] { width: 13px; height: 13px; }
  .ru-new { height: 28px; padding: 0 10px; font-size: 11px; }
  .ru-select { height: 28px; padding: 0 6px; font-size: 11px; }
  .ru-pattern { height: 28px; padding: 0 10px; margin-left: 0; font-size: 11px; }

  /* Progressive 설정 폼: 좁은 화면에서는 촘촘하게 */
  .ru-prog-inner { padding: 6px 10px; gap: 10px; }
  .ru-prog-title { font-size: 11px; letter-spacing: .5px; }
  .ru-prog-input { width: 56px; height: 26px; font-size: 12px; }

  /* 악보 여백도 좁은 화면에 맞게 줄인다. */
  #scoreWrapper { margin-top: 12px; padding: 20px 12px 30px; }
  body.view-paged4 #scoreWrapper { padding-right: 12px; }
  .ru-help { padding: 0 14px 24px; font-size: 12px; }
  .ru-copyright { padding: 0 14px 22px; font-size: 11px; }
}

/* 아주 좁은 화면: 브랜드는 한 줄 차지하고, 조작 버튼들은 왼쪽부터 줄바꿈. */
@media (max-width: 560px) {
  .top-brand { flex: 0 0 100%; }
  .top-bar-inner > .ms-auto {
    margin-left: 0 !important;
    width: 100%;
    justify-content: flex-start;
  }
  .ru-tempo input[type=range] { width: 80px; }
}

/* 가로(landscape) 휴대폰: 세로 높이가 낮아 주소줄+메뉴가 화면 절반을 넘는다.
   메뉴를 최대한 납작하게 만들고, Drum Score 이동 링크는 숨겨 공간을 확보한다. */
@media (orientation: landscape) and (max-height: 520px) {
  .top-bar-inner { height: auto; padding: 3px 8px; gap: 6px; row-gap: 4px; flex-wrap: wrap; }
  .top-bar-inner > .ms-auto { flex-wrap: wrap; row-gap: 4px; }
  .top-logo { font-size: 15px; }
  .top-navlink { display: none; }
  .ru-play { min-width: 0; height: 26px; padding: 0 10px; font-size: 11px; letter-spacing: .3px; }
  .ru-play i { border-width: 5px 0 5px 8px; }
  .ru-tempo { gap: 4px; }
  .ru-tempo label { font-size: 10px; }
  .ru-tempo output { min-width: 22px; font-size: 11px; }
  .ru-tempo input[type=range] { width: 90px; }
  .ru-toggle { min-width: 0; height: 24px; padding: 0 7px; font-size: 10px; }
  .ru-prog-check { height: 24px; padding: 0 7px; font-size: 10px; gap: 4px; }
  .ru-prog-check input[type=checkbox] { width: 12px; height: 12px; }
  .ru-new { height: 24px; padding: 0 8px; font-size: 10px; }
  .ru-select { height: 24px; padding: 0 5px; font-size: 10px; }
  .ru-pattern { height: 24px; padding: 0 8px; margin-left: 0; font-size: 10px; }
  .ru-prog-inner { padding: 4px 8px; gap: 8px; }
  .ru-prog-title { font-size: 10px; }
  .ru-prog-field { font-size: 10px; }
  .ru-prog-input { width: 50px; height: 22px; font-size: 11px; }
  .ru-prog-status { font-size: 10px; }
}

@media (max-width: 1800px) {
  .score-row {
    height: 140px;
  }
  .score-cell img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

@media (max-width: 1400px) {
  .score-row {
    height: 130px;
  }
  .score-cell img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
}


@media (max-width: 1200px) {
  .score-row {
    height: 100px;
  }
  .score-cell img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

@media (max-width: 990px) {
  .score-row {
    height: 80px;
  }
  .score-cell img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .score-row {
    height: 50px;
  }
  .score-cell img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
} 

/* ---------- 무한 스트림 악보 스타일 (원래 app_infinite_stream.js 가 <style> 로 주입하던 부분) ----------
   악보(마디) 폭/높이 기준값은 JS 상수(BEAT_WIDTH=88, START_WIDTH=64, ROW_HEIGHT=90)와 동일하다. */
      #scoreWrapper {
        position: relative !important;
        overflow: hidden !important;
      }
      body.view-expand #scoreWrapper {
        overflow: hidden !important;
        padding-top: clamp(40px, 12vh, 144px) !important;
        padding-bottom: clamp(60px, 20vh, 240px) !important;
      }
      #scoreArea {
        display: block !important;
        width: 100% !important;
      }
      .stream-root {
        position: relative;
        width: 100%;
        overflow: hidden;
        background: #fafafa;
      }
      .stream-root.stream-paged {
        display: flex;
        flex-direction: column;
        gap: var(--stream-row-gap);
        --stream-beat-w: 88px;
        --stream-row-h: 90px;
        --stream-start-w: 64px;
        --stream-row-gap: 36px;
      }
      .stream-root.stream-expand {
        --expand-beat-w: 264px;
        --expand-row-h: 270px;
        --expand-start-w: 192px;
      }
      .stream-row {
        position: relative;
        width: 100%;
        height: 90px;
        overflow: hidden;
      }
      .stream-track {
        display: flex;
        align-items: flex-start;
        width: max-content;
        height: 90px;
        transform: translate3d(0, 0, 0);
        will-change: transform;
      }
      .stream-beat {
        position: relative;
        flex: 0 0 88px;
        width: 88px;
        height: 90px;
      }
      .stream-beat img {
        display: block;
        width: 88px;
        height: 90px;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
      }
      .stream-start {
        position: relative;
        flex: 0 0 64px;
        width: 64px;
        height: 90px;
      }
      .stream-start img {
        display: block;
        width: 64px;
        height: 90px;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
      }
      .stream-beat.bar-end::after {
        content: "";
        position: absolute;
        top: 37.8%;
        right: 0;
        bottom: 21.1%;
        width: 1px;
        background: #5c5c5c;
        opacity: 0.55;
        pointer-events: none;
      }
      /* 악보(마디) 폭은 JS 가 계산한 고정 px 이 아니라 "컨테이너 폭에 비례"해서
         항상 정확히 100% 를 채우게 한다.
         (스크롤바가 생겨 가로 폭이 줄어도, 폭이 늘어나도 잘리지 않는다) */
      .stream-paged .stream-row {
        height: var(--stream-row-h);
      }
      .stream-paged .stream-track {
        width: 100%;
        height: var(--stream-row-h);
      }
      .stream-paged .stream-beat {
        /* flex-grow 를 원본 폭 비율(88)로 주면 남는 폭이 비율대로 나뉘어 항상 꽉 찬다 */
        flex: 88 1 0;
        width: auto;
        min-width: 0;
        height: var(--stream-row-h);
      }
      .stream-paged .stream-start {
        flex: 64 1 0;
        width: auto;
        min-width: 0;
        height: var(--stream-row-h);
      }
      .stream-paged .stream-beat img,
      .stream-paged .stream-start img {
        width: 100%;
        height: 100%;
      }
      /* 세로 높이도 가로 폭에 비례해서 자동으로 따라가게 한다.
         (aspect-ratio 지원 브라우저에서는 위의 px 높이를 덮어쓴다) */
      @supports (aspect-ratio: 88 / 90) {
        .stream-paged .stream-row,
        .stream-paged .stream-track,
        .stream-paged .stream-beat,
        .stream-paged .stream-start {
          height: auto;
        }
        .stream-paged .stream-beat { aspect-ratio: 88 / 90; }
        .stream-paged .stream-start { aspect-ratio: 64 / 90; }
      }
      .stream-expand .stream-row,
      .stream-expand .stream-track {
        height: var(--expand-row-h);
      }
      .stream-expand .stream-beat {
        flex: 0 0 var(--expand-beat-w);
        width: var(--expand-beat-w);
        height: var(--expand-row-h);
      }
      .stream-expand .stream-beat img {
        width: 100%;
        height: 100%;
      }
      .stream-expand .stream-start {
        flex: 0 0 var(--expand-start-w);
        width: var(--expand-start-w);
        height: var(--expand-row-h);
      }
      .stream-expand .stream-start img {
        width: 100%;
        height: 100%;
      }
      .stream-expand .stream-beat.bar-end::after {
        width: 3px;
      }
      .playhead {
        transition: none !important;
        transform: none !important;
        z-index: 5;
        pointer-events: none;
      }
      body.view-expand .playhead {
        background: transparent !important;
        border: 0 !important;
        border-left: 6px solid rgba(0, 150, 255, 0.8) !important;
        border-radius: 0 !important;
      }
