 #browseOverlay, #songDetailOverlay { display: none !important; }
  
  html[data-route="viewer"] #playerWrap { display: flex !important; }
  html[data-route="viewer"] #topBar { display: flex !important; }
  html[data-route="viewer"] #dropZone.show-landing { display: flex !important; }

  html[data-route="browse"] #browseOverlay { display: block !important; }
  html[data-route="song"] #songDetailOverlay { display: block !important; }

.nav,
.options-drawer,
.search,
.top-bar,
body,
header {
  display: flex;
}
.options-drawer,
body {
  height: 100vh;
  flex-direction: column;
}
.bundle-includes h4,
.footer-col h4 {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
:root {
  --apple-bg: rgba(22, 22, 23, 0.85);
  --apple-border: rgba(255, 255, 255, 0.1);
  --apple-glass: rgba(30, 30, 32, 0.75);
  --apple-hover: rgba(255, 255, 255, 0.08);
  --apple-accent: #0a84ff;
}
*,
html {
  box-sizing: border-box;
}
body {
  background: #0f0f0f;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  transition: padding-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo,
header {
  flex-shrink: 0;
}
header {
  height: 56px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: var(--apple-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--apple-border);
  z-index: 1000;
  width: 100%;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.logo {
  font-weight: 900;
  font-size: 18px;
  padding-left: 15px;
}
.logo a {
  color: #fff;
  text-decoration: none;
}
.nav {
  gap: 6px;
  flex-shrink: 0;
}
.nav button {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  transition: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.nav button.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.nav button.inactive {
  background: 0 0;
  color: #888;
}
.nav button.inactive:hover {
  background: var(--apple-hover);
  color: #fff;
}
.search {
  flex: 1;
  max-width: 460px;
  margin: 0 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0 4px 0 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: 0.25s;
}
.player-wrap,
.top-bar {
  margin: 8px auto;
  max-width: 1024px;
}
.search:focus-within {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--apple-accent);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.25),
    inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
.float-controls button:hover,
.option-btn:hover,
.search button:hover {
  background: rgba(255, 255, 255, 0.2);
}
.search input {
  flex: 1;
  background: 0 0;
  border: 0;
  outline: 0;
  padding: 9px 8px;
  font-size: 13px;
  color: #fff;
}
.main,
.player-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
}
.search button {
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #ccc;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  margin: 2px;
  transition: background 0.2s;
}
.float-controls button,
.option-btn {
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
}
.bundle-tracklist li a:hover,
.search button:hover {
  color: #fff;
}
.main {
  flex-direction: column;
  overflow: auto;
}
.player-wrap {
  background: #121212;
  overflow: hidden;
  position: relative;
  flex-direction: column;
}
#alphaTab {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #fff;
  scroll-behavior: auto;
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
}
.top-bar {
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  background: var(--apple-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--apple-border);
  width: calc(100% - 24px);
}
.bundle-tracklist li a:hover,
.float-controls button,
.option-btn {
  background: rgba(255, 255, 255, 0.1);
}
.option-btn,
select {
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
}
.top-bar select {
  flex: 1;
  max-width: 300px;
}
.option-btn {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
.float-controls button:active,
.option-btn:active {
  transform: scale(0.96);
}
select {
  background-color: rgba(40, 40, 42, 0.8);
  border: 1px solid var(--apple-border);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}
.options-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  background: rgba(24, 24, 26, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid var(--apple-border);
  z-index: 100;
  transition: right 0.25s;
  overflow-y: auto;
  padding: 16px;
  gap: 14px;
}
.options-drawer.open,
.string {
  right: 0;
}
.drawer-group select,
.fretboard {
  width: 100%;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
}
#browseOverlay.open,
#staticPageOverlay.open,
.drawer-overlay.open {
  display: block;
}
.drawer-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer-group label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
}
#browseOverlay,
#staticPageOverlay {
  position: fixed;
  inset: 56px 0 0 0;
  background: #0f0f0f;
  z-index: 500;
  overflow: auto;
  padding: 16px;
  display: none;
}
#browseGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  padding: 12px;
}
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
}
.song-card {
  background: var(--apple-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--apple-border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.song-card:hover {
  background: rgba(45, 45, 48, 0.8);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}
.artist-link {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #ffcc00;
  color: #fc0 !important;
}
.bundle-btn,
.footer-col a,
.static-page a {
  text-decoration: none;
}
.bottom-float {
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  background: #1e232e;
  border-top: 2px solid #2a303f;
}
.float-controls {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 5px;
  z-index: 11;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.float-controls button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
    font-weight: 800;
}
.dot,
.note {
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.fretboard {
  flex-shrink: 0;
  background: #1e232e;
  position: relative;
  border-top: 2px solid #2a303f;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100vw;
}
#fretboard,
.bundle-card {
  overflow: hidden;
}
.fretboard-inner {
  position: relative;
  min-width: 100%;
  background: linear-gradient(180deg, #232938 0, #1a1e2a 100%);
}
.dot,
.fret,
.note,
.string {
  position: absolute;
}
.string {
  left: 0;
  height: 1px;
  background: #4a5568;
}
.fret {
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #e2e8f0 0, #a0aec0 50%, #e2e8f0 100%);
}
.fret:first-child {
  width: 4px;
}
.dot {
  width: 8px;
  height: 8px;
  background: #e2e8f096;
}
.note {
  background: #f6ad09;
  border: 1px solid #000;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #000;
}
.note.note-red {
  background: red;
  color: #fff;
  border-color: #0f0f0f;
}
.at-cursor-bar {
  background: rgba(255, 0, 0, 0.08) !important;
  border: none !important;
}
.at-cursor-beat {
  background: red !important;
  width: 4px !important;
}
.at-highlight * {
  fill: red;
  stroke: red;
}
.at-marker text {
  font-size: 24px !important;
  font-weight: 900 !important;
  font-family: Inter, system-ui !important;
  fill: #ffffff !important;
}
.at-marker rect {
  fill: #ff0000 !important;
  stroke: #222222 !important;
  stroke-width: 2px !important;
  rx: 6px !important;
}
.tablatory-footer {
  display: block;
  background: #0a0a0a;
  border-top: 1px solid #1f1f1f;
  padding: 24px 16px;
  margin-top: auto;
  flex-shrink: 0;
}
.footer-inner,
.footer-links {
  flex-wrap: wrap;
  display: flex;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
  justify-content: space-between;
}
.footer-brand {
  flex: 1;
  min-width: 260px;
}
.footer-brand h3 {
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 8px;
}
.footer-brand h3 span {
  color: red;
}
.footer-brand p {
  font-size: 11px;
  color: #777;
  line-height: 16px;
  max-width: 380px;
}
.footer-links {
  gap: 32px;
}
.footer-col {
  min-width: 140px;
}
.footer-col h4 {
  font-size: 11px;
  color: #888;
  margin: 0 0 10px;
}
.footer-col a {
  display: block;
  font-size: 11px;
  color: #aaa;
  margin-bottom: 8px;
}
.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  max-width: 1200px;
  margin: 16px auto 0;
  padding-top: 16px;
  border-top: 1px solid #1a1a1a;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  color: #555;
}
.static-page {
  max-width: 800px;
  margin: 0 auto;
  background: var(--apple-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--apple-border);
  border-radius: 12px;
  padding: 24px;
}
.static-page h1 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 8px;
}
.static-page h2 {
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 8px;
  color: #fff;
}
.static-page li,
.static-page p {
  font-size: 12px;
  line-height: 18px;
  color: #aaa;
}
.static-page a {
  color: #facc15;
}
.static-close {
  background: #222;
  border: 1px solid #333;
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  margin-bottom: 16px;
}
#alphaTab,
#browseOverlay,
#staticPageOverlay,
.fretboard,
.main,
.options-drawer {
  scrollbar-width: thin;
  scrollbar-color: #000000 #181818;
}
#alphaTab::-webkit-scrollbar,
#browseOverlay::-webkit-scrollbar,
#staticPageOverlay::-webkit-scrollbar,
.fretboard::-webkit-scrollbar,
.main::-webkit-scrollbar,
.options-drawer::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
#alphaTab::-webkit-scrollbar-track,
#browseOverlay::-webkit-scrollbar-track,
#staticPageOverlay::-webkit-scrollbar-track,
.fretboard::-webkit-scrollbar-track,
.main::-webkit-scrollbar-track,
.options-drawer::-webkit-scrollbar-track {
  background: #181818;
}
#alphaTab::-webkit-scrollbar-thumb,
#browseOverlay::-webkit-scrollbar-thumb,
#staticPageOverlay::-webkit-scrollbar-thumb,
.fretboard::-webkit-scrollbar-thumb,
.main::-webkit-scrollbar-thumb,
.options-drawer::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 999px;
}
#alphaTab::-webkit-scrollbar-thumb:hover,
#browseOverlay::-webkit-scrollbar-thumb:hover,
#staticPageOverlay::-webkit-scrollbar-thumb:hover,
.fretboard::-webkit-scrollbar-thumb:hover,
.main::-webkit-scrollbar-thumb:hover,
.options-drawer::-webkit-scrollbar-thumb:hover {
  background: #333;
}
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  header {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 10px !important;
    gap: 8px !important;
  }
  .logo {
    font-size: 15px !important;
  }
  .nav button {
    padding: 5px 10px !important;
    font-size: 11px !important;
  }
  .search {
    margin: 0 6px !important;
    max-width: none !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .player-wrap,
  .top-bar {
    margin: 4px !important;
    width: calc(100% - 8px) !important;
  }
  .bottom-float,
  .fretboard {
    max-width: 100vw !important;
  }
  .search input {
    font-size: 12px !important;
  }
  #browseOverlay,
  #songDetailOverlay,
  #staticPageOverlay {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  #songDetailOverlay > div > div,
  .song-grid {
    grid-template-columns: 1fr !important;
  }
  .top-bar {
    flex-wrap: wrap;
  }
  .bottom-float {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    z-index: 50 !important;
  }
}
#fretboard,
.main {
  max-width: 100%;
}
@media (max-width: 500px) {
    .float-controls {border-radius:0;gap:5px}
  header .nav {
    display: none !important;
  }
  header {
    gap: 10px;
    padding: 10px 12px;
  }
  header .search {
    flex: 1;
    min-width: 0;
    display: flex;
  }
  header .search input {
    width: 100%;
    min-width: 0;
  }
}
.bundle-container {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bundle-card {
  background: #121820;
  border: 1px solid #1e2837;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.bundle-header {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(90deg, #182333 0, #121820 100%);
  flex-wrap: wrap;
}
.bundle-cover {
  width: 220px;
  height: 124px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  flex-shrink: 0;
}
.main,
body,
html {
  width: 100%;
  overflow-x: hidden;
}
.bundle-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 200px;
}
.bundle-badge {
  align-self: flex-start;
  background: #f59e0b;
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.bundle-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.2;
}
.bundle-publisher {
  font-size: 12px;
  color: #8fa0b5;
  margin: 0 0 16px;
}
.bundle-action {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  flex-wrap: wrap;
}
.bundle-price {
  font-size: 20px;
  font-weight: 800;
  color: #a4d007;
}
.bundle-btn {
  background: #0ea5e9;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}
.bundle-btn:hover {
  background: #0284c7;
}
.bundle-includes {
  background: #0b0f14;
  padding: 16px 20px;
  border-top: 1px solid #1e2837;
}
.bundle-includes h4 {
  margin: 0 0 12px;
  font-size: 11px;
  color: #8fa0b5;
}
.bundle-tracklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bundle-tracklist li a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  font-size: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  transition: 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bundle-tracklist li.current-track a {
  background: rgba(14, 165, 233, 0.15) !important;
  color: #38bdf8 !important;
  border-left: 2px solid #38bdf8;
  font-weight: 700;
}
@media (max-width: 768px) {
  .bundle-header {
    flex-direction: column;
    padding: 16px;
  }
  .bundle-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
}
*,
:after,
:before {
  box-sizing: inherit;
}
body,
html {
  margin: 0;
  padding: 0;
  max-width: 100vw;
}
@supports (padding-top: env(titlebar-area-height)) {
  header {
    padding-left: calc(env(titlebar-area-left, 0) + 16px);
    padding-right: calc(env(titlebar-area-right, 0) + 16px);
    -webkit-app-region: drag;
  }
  .logo,
  header a,
  header button,
  header input {
    -webkit-app-region: no-drag;
  }
}
@media (min-width: 1024px) {
  html[data-route="viewer"] {
    padding-right: 320px;
  }
  html[data-route="viewer"] .options-drawer,
  body.is-viewing.options-drawer {
    position: fixed !important;
    transform: translateX(0) !important;
    right: 0;
    width: 320px;
    height: calc(100vh - 56px);
    top: 56px;
    box-shadow: -1px 0 0 #222;
    border-radius: 0;
    background: #0f0f0f;
    z-index: 90;
    display: flex;
    flex-direction: column;
  }
  html[data-route="viewer"] #closeDrawer,
  body.is-viewing #closeDrawer,
  html[data-route="viewer"] #optionToggle,
  body.is-viewing #optionToggle,
  html[data-route="viewer"] .drawer-overlay,
  body.is-viewing .drawer-overlay {
    display: none !important;
  }
}
#mixerContainer::-webkit-scrollbar {
  width: 4px;
}
#mixerContainer::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}
.mixer-track-label {
  transition: color 0.2s;
}
.mixer-track-label:hover {
  color: #fff !important;
}
.recent-row:hover {
  background: #1a1a1a !important;
}
#dragDropUI.drag-active {
  border-color: #fc0 !important;
  background: rgba(255, 204, 0, 0.08) !important;
}

button#playBtn {
    background-color: #F44336;
}
body.dark-mode .player-wrap,
body.dark-mode #alphaTab,
body.dark-mode .bottom-float {
  background-color: #181818 !important; 
}

body.dark-mode .at-surface {

  filter: invert(0.92) hue-rotate(180deg) contrast(0.75) brightness(1.2);
}


body.dark-mode .at-selection div {
  background: rgba(255, 204, 0, 0.15) !important; 
}


body.dark-mode .at-cursor-beat {
  background-color: #d93838 !important; 
  opacity: 0.7;
}
.player-wrap{width:100%;}
.header-open-file {display:none!important}
body.is-viewing #footer{display:none!important}
#topBar{display:flex!important}
#playerWrap{display:flex!important}
#dropZone{display:none!important}
#dropZone.show-landing{display:flex!important}
.header-open-file{background:#fff;color:#000;border:0;padding:8px 14px;border-radius:999px;font-weight:800;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;}
.header-open-file:hover{opacity:.9}
@media(max-width:768px){header{flex-wrap:wrap;gap:6px}header.search{order:3;width:100%}.header-open-file{display:inline-flex!important}#topBar{position:sticky;top:0;z-index:50;background:#0f0f0f;padding:6px 8px;overflow-x:auto;flex-wrap:nowrap!important}#topBar.option-btn{white-space:nowrap;flex-shrink:0}}
#recentFilesContainer{margin-top:0;max-width:100%;background:#111;border:1px solid #222;border-radius:10px;overflow:hidden;text-align:left}
#recentFilesContainer.recent-row:hover{background:#1a1a1a}
#sidebarFooterLinks{margin-top:16px;padding-top:16px;border-top:1px dashed #333}
#sidebarFooterLinks.footer-col h4{font-size:11px;color:#888;text-transform:uppercase;letter-spacing:.5px;margin:0 0 8px 0}
#sidebarFooterLinks.footer-col a{display:block;font-size:12px;color:#aaa;text-decoration:none;margin:4px 0}
#sidebarFooterLinks.footer-col a:hover{color:#fff}
#sidebarFooterLinks.footer-bottom-sidebar{margin-top:12px;padding-top:12px;border-top:1px solid #222;font-size:10px;color:#555;display:flex;justify-content:space-between}
.track{font-size:12px;color:#888;align-self:center}
@media (max-width: 500px) {.track, #trackSelector, #layoutToggle, #tuningInfo, #sectionSelector, #sectionLabel {display:none !important;}}
.song-seo-header{
  padding:10px 0px;
  margin:0 0 16px 0;
  min-height:96px;
}
.song-seo-header h1{
  font-size:18px;
  font-weight:900;
  line-height:1.2;
  margin:0 0 10px 0;
  color:#fff;
  letter-spacing:-0.3px;
}
.song-seo-header p{
  font-size:13px;
  line-height:18px;
  color:#a3a3a3;
  margin:0;
}
.song-seo-header p strong{ color:#d4d4d4; font-weight:600; }
.at-selection div {
  background: rgba(255, 204, 0, 0.25) !important; /* Warna kuning transparan khas Tabsong */
}

.at-cursor-beat {
    background-color: #ef4444 !important; 
    width: 30px !important;                 
    opacity: 0.9;                          
}


.fretboard-inner .note {
    width: 18px !important;      
    height: 18px !important;
    line-height: 182px !important; 
    font-size: 10px !important;   
}

    font-size: 9px !important; 
}

.fretboard-inner {
    overflow: visible !important;  
}

.text-red { color: red; }
.text-orange { color: #ff7a00; }

#dropZone { border: 0; background: #0f0f0f; margin: 0; border-radius: 0; padding: 0; display: none; flex-direction: column; min-height: calc(100vh - 56px); overflow: auto; }
.hero-container { max-width: 760px; width: 100%; margin: 0 auto; padding: 32px 20px 24px 20px; flex-shrink: 0; }
.hero-title { font-size: 46px; font-weight: 900; line-height: 44px; margin: 0; letter-spacing: -1.5px; text-align: center; }
.hero-subtitle { font-size: 14px; color: #888; margin-top: 16px; line-height: 20px; text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }

#dragDropUI { margin: 32px auto 24px auto; max-width: 480px; border: 2px dashed #444; border-radius: 12px; padding: 32px 20px; text-align: center; background: rgba(255, 255, 255, .02); transition: all .2s ease; }
.drag-icon { font-size: 32px; margin-bottom: 12px; opacity: .8; }
.drag-title { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 6px 0; }
.drag-subtitle { font-size: 12px; color: #888; margin: 0; }

.action-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-open-local { background: #fff; color: #000; border: 0; padding: 12px 22px; border-radius: 999px; font-weight: 800; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.btn-browse-dir { background: #181818; color: #fff; border: 1px solid #333; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer; }

.features-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; text-align: left; }
.feature-card { background: #181818; border: 1px solid #222; border-radius: 12px; padding: 14px; }
.feature-icon { font-size: 20px; }
.feature-title-mb { font-size: 13px; font-weight: 700; margin: 8px 0 4px 0; }
.feature-title-nomargin { font-size: 13px; font-weight: 700; margin: 0 0 4px 0; }
.feature-desc { font-size: 11px; color: #888; margin: 0; line-height: 15px; }
.supported-formats-box { margin-top: 20px; padding: 12px; background: #111; border: 1px dashed #333; border-radius: 12px; font-size: 11px; color: #666; text-align: center; }

#footer { display: none; }
#topBar { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-topbar-open { background: #fff; color: #000; font-weight: 800; }
#sectionLabel { font-size: 12px; color: #888; align-self: center; margin-left: 4px; display: none; }
#sectionSelector { display: none; max-width: 140px; }
#infoToggle { display: none; }
#tuningInfo { font-size: 10px; color: #facc15; margin-left: auto; align-self: center; }

#playerWrap { display: flex; }
.btn-first-bar { padding: 4px 8px; cursor: pointer; }
.speed-slider { width: 50px; }
.speed-label-wrapper { font-size: 12px; }

#infoModal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.8); z-index: 999; align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: #181818; border: 1px solid #333; border-radius: 12px; padding: 24px; max-width: 500px; width: 100%; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; background: 0 0; border: none; color: #888; font-size: 20px; cursor: pointer; }
.modal-title { margin-top: 0; color: #fff; font-size: 18px; border-bottom: 1px solid #333; padding-bottom: 12px; }
#infoContent { font-size: 13px; color: #bbb; line-height: 1.6; display: grid; gap: 8px; }

.browse-header-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; max-width: 1400px; margin: 0 auto 12px auto; }
.browse-title { font-weight: 800; font-size: 18px; }
#resultCount { font-size: 11px; color: #666; }
.btn-back-browse { margin-left: auto; background: #181818; border: 1px solid #333; border-radius: 999px; padding: 6px 12px; font-size: 12px; color: #888; cursor: pointer; }

#songDetailOverlay { display: none; position: fixed; inset: 56px 0 0 0; background: #0f0f0f; z-index: 600; overflow: auto; padding: 0; }
.detail-container { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }
.detail-header-action { display: flex; align-items: center; margin-bottom: 20px; }
.btn-back-detail { background: transparent; border: none; padding: 0; font-size: 13px; color: #aaa; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.detail-grid { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.detail-thumb-wrapper { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #1a1a1a; border: 1px solid #222; }
#detailSkeleton { position: absolute; inset: 0; background: #222; }
#detailThumb { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.2s; }
.detail-info-wrap { margin-top: 16px; }
#detailTitle { font-size: 20px; font-weight: 800; margin: 0; line-height: 1.2; }
#detailArtist { font-size: 14px; color: #fc0; margin: 6px 0 0 0; }
#detailAlbum { font-size: 12px; color: #666; margin: 4px 0 0 0; }
#detailDesc { font-size: 12px; color: #aaa; margin-top: 12px; line-height: 1.6; }
.detail-stats-wrap { margin-top: 16px; }
#detailCount { background: #222; padding: 4px 10px; border-radius: 6px; font-size: 11px; color: #888; font-weight: 600; display: none; }

.download-section-wrap { background: #111; border: 1px solid #222; border-radius: 8px; overflow: hidden; margin-bottom: 24px; min-height: 104px; }
.download-header-row { display: grid; grid-template-columns: 1.8fr 0.7fr 0.6fr 1.2fr; gap: 0; padding: 12px 16px; background: #181818; border-bottom: 1px solid #222; font-size: 11px; color: #888; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
#downloadList { display: flex; flex-direction: column; }

.tab-tiers-guide-wrap { border-top: 1px solid #222; padding-top: 20px; }
.tiers-title { font-size: 11px; color: #666; margin: 0 0 12px 0; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.tiers-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tier-item { display: flex; gap: 10px; align-items: start; }
.tier-item-opacity { display: flex; gap: 10px; align-items: start; opacity: 0.7; }
.tier-icon { font-size: 16px; line-height: 1; }
.tier-icon-grayscale { font-size: 16px; line-height: 1; filter: grayscale(100%); }
.tier-name-signature { font-size: 12px; font-weight: 700; color: #ddd6fe; }
.tier-name-official { font-size: 12px; font-weight: 700; color: #fef08a; }
.tier-name-pro { font-size: 12px; font-weight: 700; color: #bfdbfe; }
.tier-name-community { font-size: 12px; font-weight: 700; color: #888; }
.tier-desc { font-size: 11px; color: #888; margin-top: 2px; line-height: 1.4; }

#staticPageOverlay .static-page-content-wrap { max-width: 800px; margin: 0 auto; }

#optionsDrawer { overflow-y: auto; max-height: 100vh; }
.drawer-header-wrap { display: flex; justify-content: space-between; border-bottom: 1px solid #333; padding-bottom: 12px; margin-bottom: 12px; }
.drawer-title { font-size: 14px; }
#closeDrawer { background: #222; border: 1px solid #444; color: #fff; border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.mixer-header-wrap { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mixer-title-text { color: #fc0; margin: 0; font-weight: 800; font-size: 13px; }
#resetMixerBtn { background: #222; border: 1px solid #444; color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 4px; cursor: pointer; font-weight: 600; }
#mixerContainer { display: flex; flex-direction: column; gap: 10px; max-height: 280px; overflow-y: auto; padding-right: 4px; }
.mixer-empty { font-size: 11px; color: #888; }
#recentFilesContainer { display: none; background: #111; border: 1px solid #222; border-radius: 10px; overflow: hidden; }
.recent-files-header-wrap { background: #181818; padding: 12px 16px; border-bottom: 1px solid #222; font-size: 13px; font-weight: 800; color: #fc0; display: flex; justify-content: space-between; align-items: center; }
#recentFilesList { display: flex; flex-direction: column; }
.drawer-label { font-weight: 600; font-size: 12px; }
.drawer-label-normal { font-size: 12px; }
.drawer-select-mb { margin-bottom: 8px; }
.drawer-select-ml { font-size: 12px; margin-left: 4px; }
#invertDots { display: none; }
.drawer-group-divider { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #333; }
.drawer-group-divider-pb { margin-top: 12px; border-top: 1px dashed #333; padding-top: 12px; padding-bottom: 12px; }
.checkbox-label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.checkbox-label-mb { display: flex; align-items: center; gap: 6px; cursor: pointer; margin-bottom: 8px; }
.dsp-label-text { color: #4ade80; font-weight: 700; font-size: 12px; }
.flex-center-gap8 { display: flex; gap: 8px; align-items: center; }
.reverb-label { font-size: 11px; color: #888; width: 45px; }
#reverbSlider { flex: 1; }
#reverbVal { font-size: 11px; width: 28px; text-align: right; }
#sf2Status { font-size: 12px; margin: 6px 0; color: #aaa; }
#sf2Progress { display: none; height: 6px; background: #222; border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.progress-bar-inner { height: 100%; width: 0%; background: #00d084; transition: width 0.2s; }
.darkmode-label-text { font-weight: 700; font-size: 12px; color: #fff; }
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sidebar-about-box { margin-top: 16px; background: #111; border: 1px solid #222; border-radius: 8px; padding: 10px; }
.sidebar-about-title { font-size: 11px; color: #888; margin: 0 0 6px 0; text-transform: uppercase; }
.sidebar-about-text { font-size: 11px; color: #666; margin: 0; line-height: 14px; }

.float-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  background: rgba(18, 18, 18, 0.92);
  border-radius: 0;
  box-sizing: border-box;
}
.fc-left, .fc-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.fc-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}
.fc-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.fc-btn.active {
  color: #facc15;
  background: rgba(250, 204, 21, 0.15);
}
.fc-btn.active:hover {
  background: rgba(250, 204, 21, 0.25);
}
.fc-play {
  width: 44px;
  height: 44px;
  background: #ef4444;
  color: #fff;
}
.fc-play:hover {
  background: #dc2626;
  color: #fff;
}
.fc-play.playing {
  background: #22c55e;
}
.fc-play.playing:hover {
  background: #16a34a;
}
.fc-timeline {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.fc-time {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #a3a3a3;
  min-width: 36px;
  text-align: center;
  user-select: none;
}
.fc-progress-wrap {
  position: relative;
  flex: 1;
  height: 28px;
  display: flex;
  align-items: center;
  cursor: pointer;
  overflow: visible;
}
@media (min-width: 641px) {
  .fc-progress-wrap {
    height: 32px;
  }
}
/* Invisible full-width track for layout; visual track is separate */
.fc-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #333;
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}
.fc-timeline-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  outline: none;
  position: relative;
  z-index: 3;
  margin: 0;
  cursor: pointer;
  pointer-events: none; /* track clicks go to section markers */
}
.fc-timeline-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border-radius: 2px;
}
.fc-timeline-slider::-moz-range-track {
  height: 4px;
  background: transparent;
  border-radius: 2px;
}
.fc-timeline-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto; /* thumb still draggable for fine seek */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.45);
  margin-top: -4px;
  transition: transform 0.1s;
  position: relative;
  z-index: 5;
}
.fc-timeline-slider:hover::-webkit-slider-thumb {
  transform: scale(1.25);
}
.fc-timeline-slider::-moz-range-thumb {
  pointer-events: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.fc-timeline-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #facc15;
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
  width: 0%;
  max-width: 100%;
}
/* Section labels layer (Ultimate Guitar style) */
.fc-markers {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}
.fc-marker {
  position: absolute;
  bottom: 0;
  transform: none;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.12);
  border-radius: 0;
  cursor: pointer;
  pointer-events: auto;
  z-index: 6;
  box-shadow: none;
  display: flex;
  align-items: center;
  padding: 0 0 0 8px;
  box-sizing: border-box;
  min-width: 0;
}
.fc-marker:first-child {
  border-left: none;
}
.fc-marker:hover {
  background: rgba(255,255,255,0.06);
}
.fc-marker-label {
  font-size: 11px;
  font-weight: 500;
  color: #a3a3a3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.fc-marker:hover .fc-marker-label {
  color: #fff;
}
.fc-marker.active .fc-marker-label {
  color: #facc15;
  font-weight: 600;
}
/* Hide section labels on very small screens to avoid clutter */
@media (max-width: 640px) {
  .fc-marker-label {
    display: none;
  }
  .fc-marker {
    width: 2px !important;
    padding: 0;
    border-left: none;
    background: #60a5fa;
    top: 50%;
    bottom: auto;
    height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 1px;
  }
}
.fc-speed {
  position: relative;
}
.fc-speed-btn {
  width: auto !important;
  min-width: 48px;
  padding: 0 10px !important;
  border-radius: 20px !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.fc-speed-menu {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 6px;
  min-width: 90px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 100;
}
.fc-speed-menu.open {
  display: block;
}
.fc-speed-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #ccc;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
}
.fc-speed-menu button:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.fc-speed-menu button.active {
  color: #facc15;
  font-weight: 600;
}

.fc-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}
.fc-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.fc-btn.active {
  color: #facc15;
  background: rgba(250, 204, 21, 0.15);
}
.fc-btn.active:hover {
  background: rgba(250, 204, 21, 0.25);
}
@media (max-width: 640px) {
  .float-controls {
    padding: 8px 10px;
    gap: 8px;
  }
  .fc-time {
    font-size: 11px;
    min-width: 30px;
  }
  .fc-btn {
    width: 34px;
    height: 34px;
  }
  .fc-play {
    width: 40px;
    height: 40px;
  }
}