* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0f0f0f;
  color: #f1f1f1;
  font-family: Roboto, system-ui, sans-serif;
  font-size: 16px;
    line-height: normal;
}
.page-song
a {
  color: #3ea6ff;
}

.muted {
  color: #aaa;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

:root {
  color-scheme: light dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--text);
}

html[data-theme="light"] {
  --bg: #ffffff;
  --bg-soft: #f2f2f2;
  --bg-card: #ffffff;
  --text: #0f0f0f;
  --muted: #606060;
  --border: #e0e0e0;
  --header-bg: #ffffff;
  --input-bg: #f2f2f2;
  --hover: #e8e8e8;
  --buy-bg: rgba(255, 255, 255, 0.92);
}

html[data-theme="dark"] {
  --bg: #1a1a1a;
  --bg-soft: #222222;
  --bg-card: #222222;
  --text: #e8e8e8;
  --muted: #a8a8a8;
  --border: #333333;
  --header-bg: #1a1a1a;
  --input-bg: #262626;
  --hover: #2e2e2e;
  --buy-bg: rgba(26, 26, 26, 0.92);
}

@media (prefers-color-scheme: light) {
  html:not([data-theme]) {
    --bg: #ffffff;
    --bg-soft: #f2f2f2;
    --bg-card: #ffffff;
    --text: #0f0f0f;
    --muted: #606060;
    --border: #e0e0e0;
    --header-bg: #ffffff;
    --input-bg: #f2f2f2;
    --hover: #e8e8e8;
    --buy-bg: rgba(255, 255, 255, 0.92);
  }
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg: #1a1a1a;
    --bg-soft: #222222;
    --bg-card: #222222;
    --text: #e8e8e8;
    --muted: #a8a8a8;
    --border: #333333;
    --header-bg: #1a1a1a;
    --input-bg: #262626;
    --hover: #2e2e2e;
    --buy-bg: rgba(26, 26, 26, 0.92);
  }
}

.yt-header {
  position: sticky;
  top: 0;
  height: 56px;
  min-height: 56px;
  background: var(--header-bg);
  z-index: 50;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.yt-header-inner {
  width: 100%;
  height: 56px;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px 0 5px;
}

.yt-logo {
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 40px;
  line-height: 1;
  flex-shrink: 0;
}

.yt-logo b {
  font-weight: 900;
}

.icon-btn {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.icon-btn:hover {
  background: var(--hover);
}

#menuBtn {
  position: relative;
  z-index: 100;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  height: 40px;
  line-height: 1;
  flex-shrink: 0;
}

#menuBtn:focus {
  --pico-box-shadow: none;
}

.yt-search {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  height: 40px;
}

.yt-search-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 40px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px !important;
  overflow: hidden;
}

.yt-search-wrap:focus-within {
  border-color: #303030;
  box-shadow: none;
  outline: none;
}

#searchInput {
  flex: 1;
  min-width: 0;
  height: 40px;
  line-height: 40px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 16px;
  outline: none;
  display: block;
}

#searchInput::placeholder {
  color: var(--muted);
  line-height: 40px;
}

#searchInput:focus,
#searchInput:focus-visible,
#searchInput:active {
  border: 0;
  box-shadow: none;
  outline: none;
}

.yt-search-btn {
  width: 64px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border: 0;
  border-left: 1px solid var(--border);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  padding: 0;
}

.yt-search-btn:focus,
.yt-search-btn:focus-visible,
.yt-search-btn:active {
  box-shadow: none;
  outline: none;
}

.yt-actions {
  display: flex;
  align-items: center;
  height: 40px;
  flex-shrink: 0;
}

.yt-pill {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  line-height: 1;
  background: #f1f1f1;
  color: #0f0f0f;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.yt-layout {
  display: flex;
  align-items: flex-start;
}

.yt-sidebar {
  width: 240px;
  flex-shrink: 0;
  padding: 12px;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow: auto;
  transition: margin-left 0.2s ease, transform 0.2s ease;
}

.yt-sidebar a {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}

.yt-sidebar a:hover {
  background: var(--hover);
}

.side-label {
  font-size: 12px;
  color: var(--muted);
  padding: 0 12px;
}

body.sidebar-hidden .yt-sidebar {
  margin-left: -240px;
}

.sidebar-overlay {
  display: none;
}

#main {
  flex: 1;
  min-width: 0;
  padding: 16px 20px 40px;
  transition: opacity .18s ease, transform .18s ease;
}

#main.is-leaving {
  opacity: 0;
  transform: translateY(6px);
}

.section-title {
  font-size: 20px;
  margin: 8px 0 16px;
}
.yt-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
article.yt-card {
    margin: 0;
}
@media (min-width: 768px){
  .yt-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

.yt-card{
  min-width: 0;
  overflow: hidden;
}

.yt-card-link{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.yt-card-thumb{
  position: relative;
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 40px;
  flex-shrink: 0;
}

.yt-card-thumb .thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

.yt-card-text{
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 1px;
}

.yt-card-title-row{
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.yt-card-title{
  display: block;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight:bold;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
  text-decoration: none;
}

.yt-card-text .transcription-badge{
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  display: flex;
  flex-shrink: 0;
}

.yt-card-text .artist{
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.yt-card-text .artist a{
  color: inherit;
  text-decoration: none;
}

@media (min-width: 768px){
  .yt-card-thumb{
    flex-basis: 96px;
    width: 96px;
    height: 54px;
  }
  .yt-card-title{ font-size: 14px; }
  .yt-card-text .artist{ font-size: 13px; }
}

.yt-autocomplete {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0 !important;
  overflow: hidden;
  z-index: 60;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  padding: 8px 0;
}

.yt-ac-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
}

.yt-ac-item:hover,
.yt-ac-item.selected {
  background: var(--hover);
}

.yt-ac-item img {
  width: 72px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.yt-ac-item .t {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  display: block;
}

.yt-ac-item .a {
  font-size: 13px;
  color: var(--muted);
}

.yt-ac-empty {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
}

.artist-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.artist-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #3d3d3d;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
}

.artist-head h1 {
  margin: 0;
  font-size: 28px;
}

.artist-head p {
  margin: 4px 0 0;
}

.song-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.song-thumb-small {
  width: 120px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #222;
}

.song-top-text {
  min-width: 0;
}

.song-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-artist {
  margin: 4px 0 0;
  font-size: 16px;
  color: #e0655f;
}

.song-artist a {
    color: #858ba9;
    text-decoration: none;
    font-weight: bold;
}

.song-thumb {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.sheet-preview {
  width: 100%;
  max-width: 860px;
  background: #fff;
  border-radius: 12px;
  display: block;
  margin: 0 0 20px;
}

.sheet-preview.hidden {
  display: none;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.buy-wrap {
  position: sticky;
  bottom: 12px;
  z-index: 20;
  max-width: 860px;
  background: rgb(207 207 207 / 92%);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 20px;
  display: block;
  align-items: center;
  gap: 4px 20px;
}

.buy-label {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}

.buy-title {
  grid-column: 1;
  grid-row: 1;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.buy-sub {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    font-size: 12px;
    margin: 5px;
    color: var(--muted);
}

.buy-group {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  justify-content: flex-end;
  flex-shrink: 0;
}

.buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff !important;
    white-space: nowrap;
}

.buy-smd {
  background: #1e3a8a;
}

.buy-smp {
  background: #f97316;
}

.buy-muse {
  background: #2563eb;
}

.buy-request {
  background: #3F51B5;
  color: #ffffff;
}

.desc-text {
  max-width: 860px;
  margin: 0 0 12px;
  line-height: 1.6;
  color: var(--muted);
  font-size: 14px;
}

.page-static {
  max-width: 760px;
}

.page-static h1 {
  font-size: 28px;
  margin-bottom: 16px;
}

.page-static h2 {
  font-size: 20px;
  margin-top: 24px;
}

.page-static p,
.page-static li {
  line-height: 1.7;
}

.site-footer {
  color: var(--muted);
  padding: 24px;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0;
  max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.theme-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
}

#themeSelect {
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
}

.home-hero {
  max-width: 860px;
  margin: 8px 0 24px;
}

.home-hero-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #e0655f;
}

.home-hero-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
}

.home-hero-sub {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.buy-custom {
  background: #e0655f;
  color: #ffffff;
}

.buy-musicnotes {
  background: #162e51;
  color: #ffffff;
}

.sheet-preview-portrait {
  object-fit: cover;
  object-position: top center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.on-demand-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background-color: white !important;
  color: black !important;
  margin-bottom: -35px;
}

.on-demand-title {
  padding-top: 20px;
  margin-bottom: 0;
  font-size: large;
  color: black;
  margin-top: 4px;
}

.on-demand-artist {
  margin-top: 4px;
  color: black;
}

.on-demand-note {
  font-size: 14px;
  color: black;
}

@media (max-width: 1100px) {
  .yt-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .yt-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .yt-layout {
    display: block;
  }
  .yt-actions {
    display: none;
  }
  .yt-sidebar {
    display: block;
    position: fixed;
    top: 56px;
    left: -230px;
    bottom: 0;
    width: 220px;
    margin-left: 0;
    transform: none;
    z-index: 200;
    overflow-y: auto;
    background: #1a1a1a;
    border-right: 1px solid #333;
    transition: left 0.22s ease;
  }
  html[data-theme="light"] .yt-sidebar {
    background: #ffffff;
    border-right: 1px solid #e0e0e0;
  }
  body.sidebar-open .yt-sidebar {
    left: 0;
    transform: none;
  }
  body.sidebar-hidden .yt-sidebar {
    left: -230px;
    transform: none;
  }
  body.sidebar-open .sidebar-overlay {
    display: block;
    position: fixed;
    inset: 56px 0 0 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
  }
  .yt-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
}

@media (max-width: 640px) {
  .yt-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }
  article.yt-card {
    width: 100%;
    margin: 0 auto;
  }
  .yt-card h3 {
    font-size: 13px;
  }
  .yt-card .artist {
    font-size: 12px;
  }
  .yt-card .avatar {
    display: block;
  }
  .yt-card .meta {
    padding-top: 6px;
  }
  .yt-pill {
    display: none;
  }
  .yt-header-inner {
    gap: 8px;
  }
  #main {
    padding: 12px;
  }
  .song-thumb-small {
    width: 96px;
    height: 54px;
  }
  .song-title {
    font-size: 22px;
  }
  .buy-wrap {
    bottom: 8px;
    padding: 10px 10px;
    margin-left: 0;
    margin-right: 0;
    grid-template-columns: 1fr;
  }
  .buy-title {
    grid-column: 1;
    grid-row: 1;
  }
  .buy-sub {
    grid-column: 1;
    grid-row: 2;
  }
  .buy-group {
    grid-column: 1;
    grid-row: 3;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 10px;
    width: 100%;
  }
  .buy-btn {
    flex: 1;
    padding: 12px 8px;
    font-size: 13px;
  }
  .home-hero-title {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .yt-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px 0px;
  }
    article.yt-card {
    width: 100%;
    margin: 0;
  }
}
.avatar {
  overflow: hidden; /* biar SVG bulatnya nggak bocor */
}

.transcription-badge {
  display: flex;
  width: 100%;
  height: 100%;
  cursor: help;
}

.transcription-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}
.buy-mymusic5{
  background:#0ea5e9;
  color:#fff;
}
.affiliate-disclosure{
  max-width:760px;
  margin:16px auto;
  padding:12px 14px;
  background:#fff8e1;
  border-left:4px solid #f5a623;
  font-size:12px;
  line-height:1.6;
  color:#333;
}

.pagination{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.page-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 14px;
  text-decoration: none;
}

a.page-btn:hover{
  background: #f5f5f5;
  border-color: #ccc;
}

.page-btn.active{
  background: #111;
  border-color: #111;
  color: #fff;
  font-weight: 600;
}

.page-btn.disabled{
  opacity: 0.4;
  pointer-events: none;
}

.page-dots{
  padding: 0 4px;
  color: #999;
}


.page-song{width:100%}
.song-layout{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 450px;gap:15px;align-items:start}
.song-preview-col{min-width:0}
.song-preview-col .sheet-preview{width:100%;height:auto}
.song-info-col{min-width:0}
.buy-wrap {
    position: fixed;
    bottom: 10px;
}
.basstify-faq{max-width:760px;margin:48px auto;padding:0 20px;font-family:inherit}
.basstify-faq h2{font-size:28px;line-height:1.2;margin:0 0 8px;letter-spacing:-0.02em}
.basstify-faq-subtitle{color:#666;margin:0 0 24px;font-size:16px;line-height:1.5}
.faq-list{border-top:1px solid #e5e5e5}
.faq-list details{border-bottom:1px solid #e5e5e5;padding:0}
.faq-list summary{cursor:pointer;list-style:none;padding:18px 32px 18px 0;position:relative;font-weight:600;font-size:16px;line-height:1.4;outline:none}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:22px;font-weight:400;color:#111}
.faq-list details[open ] summary::after{content:"\2013"}
.faq-list details p{margin:0 0 18px;color:#444;font-size:15.5px;line-height:1.65}
.faq-list details p a{color:#111;text-decoration:underline}
@media(max-width:600px){.basstify-faq h2{font-size:24px}.faq-list summary{font-size:15.5px}
        .song-info-col .buy-wrap {
        position: fixed !important;
        bottom: 0px;
        top: auto;
        z-index: 20;
        left:0px;
    }
    .buy-title{font-size:12px}
}
@media(max-width:900px){
  .song-layout{grid-template-columns:1fr;gap:0}
}


@media (max-width: 768px) {
    .buy-wrap{width:100%}
  .yt-header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .yt-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    opacity: 1;
    max-width: 180px;
    transition: opacity 0.65s ease, max-width 0.35s ease, margin 0.35s ease, gap 0.35s ease;
  }

  .yt-search {
    width: 140px;
    min-width: 0;
    flex-shrink: 0;
    transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .yt-search-wrap,
  .yt-search-wrap input {
    width: 100%;
  }

  .yt-header.search-active .yt-logo {
    opacity: 0;
    max-width: 0;
    margin: 0;
    gap: 0;
    pointer-events: none;
  }

  .yt-header.search-active .yt-search {
    width: calc(100% - 52px);
  }
}

.basstify-details {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: #444;
}

.basstify-details td {
  padding: 6px 0;
  vertical-align: top;
  border-bottom: 1px solid #eee;
}

.basstify-details td:first-child {
  width: 130px;
  padding-right: 12px;
  color: #888;
  white-space: nowrap;
}

.basstify-details td:last-child {
  font-weight: 500;
  color: #222;
}

.basstify-details tr:last-child td {
  border-bottom: none;
}

.buy-wrap{
  background-color:#dddcdc;
  }

.buy-wrap .buy-title{
  color:#111111;
}

.buy-wrap .buy-sub{
  color:#555555;
}

 [data-theme="dark"] .buy-wrap{
    background-color:#353535;
      }
 [data-theme="dark"] .buy-wrap .buy-title{
    color:#ffffff;
  }
 [data-theme="dark"] .buy-wrap .buy-sub{
    color:#bbbbbb;
  }

[data-theme="dark"] .basstify-details{
  background-color:#171717;
  border-color:rgba(255,255,255,.28);
  color:#ffffff;
}

[data-theme="dark"] .basstify-details table{
  background-color:#171717;
  border-color:rgba(255,255,255,.28);
  color:#ffffff;
}

[data-theme="dark"] .basstify-details th,
[data-theme="dark"] .basstify-details td{
  border-color:rgba(255,255,255,.24);
  color:#ffffff;
}

[data-theme="dark"] .basstify-details th{
  background-color:#262626;
  color:#ffffff;
}

[data-theme="dark"] .basstify-details p,
[data-theme="dark"] .basstify-details span,
[data-theme="dark"] .basstify-details li{
  color:#ffffff;
}

[data-theme="dark"] .basstify-details small,
[data-theme="dark"] .basstify-details .muted{
  color:#e8e8e8;
}

[data-theme="dark"] .basstify-details a{
  color:#ffffff;
}

[data-theme="dark"] .sheet-preview{
  filter:invert(0.9);
}
h3 {
    font-size: medium;
}