/* MuzRobot Dark Music 2.0 — Stage 1: foundation.
   Preserve song card layout and player behavior for later stages. */
:root {
  --bg-color: #0B1020;
  --bg-color-second: #161E30;
  --bg-color-third: #1F2937;
  --primary-color: #8B5CF6;
  --primary-color-darker: #7046D7;
  --secondary-color: #A78BFA;
  --third-color: #A78BFA;
  --primary-text-color: #F9FAFB;
  --secondary-text-color: #B9C1CF;
  --third-text-color: #C4B5FD;
  --gradient: linear-gradient(135deg, #8B5CF6, #6D46D9);
  --mr-bg: #0B1020;
  --mr-surface: #111827;
  --mr-panel: #1F2937;
  --mr-border: #354154;
  --mr-text: #F9FAFB;
  --mr-muted: #B9C1CF;
  --mr-accent: #8B5CF6;
  --mr-radius: 14px;
}
body { background:var(--mr-bg); color:var(--mr-text); text-shadow:none; }
.wrapper::before { background:none; }
.wrapper-main { background:var(--mr-surface); border-radius:22px; box-shadow:0 15px 40px rgba(0,0,0,.35); }
.header, .header::before { background:var(--mr-surface); }
.header__inner { background:#171E30; }
.sidebar { background:#171E30; color:var(--mr-text); text-shadow:none; }
.main { color:var(--mr-text); }
.sidebar .section__subtitle, .section__title, h1, h2, h3 { color:var(--mr-text); text-shadow:none; }
.sidebar .nav-list a, .sidebar .nav-list > li > span { color:var(--mr-text); }
.sidebar .nav-list a:hover { color:var(--third-text-color); }
a { color:var(--mr-text); }
a:hover { color:var(--third-text-color); }
.header__search input, input[type=text] { background:#252E40; border-radius:12px; color:var(--mr-text); box-shadow:inset 0 0 0 1px var(--mr-border); }
.header__search input::placeholder, input[type=text]::placeholder { color:#ABB6C7; opacity:1; }
.header__search button { color:var(--third-text-color); }
.logohits { background:#26213B; color:#EDE9FE; border-radius:12px; }
.logohits span { color:#EDE9FE !important; }
.header__btn-mobile-menu { color:var(--mr-text); }
.hitinfo, .hitinfo--info, .hitinfo--text, .inner-page__columns { background:var(--mr-panel); color:var(--mr-text); border-radius:var(--mr-radius); }
.inner-page__category a { color:var(--third-text-color); }
.section__content--song { background:#182237; }
.song, .sidebar { text-shadow:none; }
.song__title { color:var(--mr-text); }
.inner-page__info li>span:first-child::after { border-color:#758199; }
.footer, .footer__copyright { color:var(--mr-muted); }
.footer a { color:var(--third-text-color); }
/* Existing light song rows remain legible until the card redesign in stage 2. */

.new-songlight { border-color:var(--mr-border) !important; }
.song__btn { color:var(--mr-text); border-color:var(--mr-accent); }
@media (max-width:1220px) { .wrapper-main { border-radius:0; } }
@media (max-width:760px) { .header__inner { background:#171E30; } }


/* Stage 1.1: contrast and music components, scoped to robot_dark. */
/* Song description beneath the player: no white-on-white text. */
.inner-page .section__items--related,
.inner-page .section__content.section__items--related {
  background: transparent; color: var(--mr-text);
}
.inner-page .section__items--related p {
  color: #D6DCE8; background: transparent; line-height: 1.7;
  margin: 0; overflow-wrap: anywhere;
}
/* Lyrics: match dark surface, even for empty lyrics. */
.inner-page .slovapisni {
  background: var(--mr-panel); border: 1px solid #39465C;
  color: #E5EAF3; border-radius: 14px;
  padding: 20px; line-height: 1.7; min-height: 110px;
  overflow-wrap: anywhere;
}

.inner-page .slovapisni * { color: inherit; }
.inner-page .slovapisni a { color: var(--third-text-color); }
/* Player block and actions */
.inner-page__columns { border-color: #44536B; }
.inner-page__play {
  color: var(--mr-text); box-shadow: inset 0 0 0 1px #4B5970;
  border-radius: 12px; transition: background-color .2s ease, box-shadow .2s ease;
}
.inner-page__play:hover { background: #26324A; box-shadow: inset 0 0 0 1px var(--mr-accent); }
.inner-page__play:hover .song__btn { background: var(--mr-accent); color: #fff; }
.inner-page__dl {
  background: #302946; color: #E9D5FF !important;
  box-shadow: inset 0 0 0 1px var(--mr-accent); border-radius: 12px;
  transition: background-color .2s ease;
}
.inner-page__dl:hover { background: #6D46D9; color: #fff !important; }
.inner-page__info li { color: #E5EAF3; }
/* Music rows: compact separate cards, retain existing data/play hooks. */
.new-songlight { margin-bottom: 12px; }
.new-songlight__inner {
  background: var(--mr-panel); color: var(--mr-text); border: 1px solid #344156;
  border-radius: 14px; transition: background-color .2s ease, border-color .2s ease;
}
.new-songlight__inner:hover { background: #283448; border-color: #7154BA; }
.new-songlight__img--preview {
  background-image: url('../images/hits.png');
  background-repeat: no-repeat; background-position: center;
  filter: brightness(0) saturate(100%) invert(73%) sepia(24%) saturate(955%) hue-rotate(209deg) brightness(102%) contrast(97%);
}
.new-songlight .song__btn {
  flex: 0 0 38px; width: 38px; height: 38px;
  border-color: var(--mr-accent); color: var(--mr-text);
}
.new-songlight .song__btn:hover { background: var(--mr-accent); color: #fff; }
/* Compatibility for empty/missing related-tracks containers */
.section__items--related { color: #D6DCE8; }
@media (max-width: 760px) {
  .inner-page .slovapisni { padding: 16px; }
  .new-songlight { width: 100%; }
  .inner-page__play, .inner-page__dl { width: 100%; max-width: none; }
}


/* Stage 1.2 — consistent dark bottom player and clean song tiles. */
/* Remove the old light-blue list enclosure and white separators. */
.section--new .section__content--song,
.section__content--song {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.section--new .new-songlight { margin: 0 0 12px; padding: 0; }
.section--new .new-songlight:not(:last-child) { border-bottom: 0; }
.section--new .new-songlight__inner {
  background: var(--mr-panel);
  border: 1px solid #39465C;
  border-radius: 14px;
  box-shadow: none;
  overflow: hidden;
}
.section--new .new-songlight__inner:hover { background: #283448; border-color: var(--mr-accent); }
.js-item-played .song__btn,
.song__btn:hover,
.new-songlight .song__btn:hover {
  background: var(--mr-accent);
  border-color: var(--mr-accent);
  color: #FFF;
}
/* Sticky audio player — preserve playback functionality and layout. */
.wplayer .audioplayer {
  background: var(--mr-panel);
  color: var(--mr-text);
  border: 1px solid #43506A;
  box-shadow: 0 -12px 32px rgba(0,0,0,.4);
  border-radius: 14px;
}
.wplayer .audioplayer-bar { background: #364056; }
.wplayer .audioplayer-bar-loaded { background: #53617A; }
.wplayer .audioplayer-bar-played { background: var(--mr-accent); }
.wplayer .ap-next,
.wplayer .ap-prev,
.wplayer .audioplayer-playpause a {
  background: #352C50;
  color: var(--mr-text);
  transition: background-color .2s ease;
}
.wplayer .ap-next:hover,
.wplayer .ap-prev:hover,
.wplayer .audioplayer-playpause a:hover { background: var(--mr-accent); color: #FFF; }
.wplayer .ap-dl,
.wplayer .audioplayer-volume-button a { color: var(--third-text-color); opacity: 1; }
.wplayer .ap-time { color: #CBD5E1; opacity: 1; }
.wplayer .audioplayer-volume-adjust { background: var(--mr-panel); }
.wplayer .audioplayer-volume-adjust>div { background: #485570; }
.wplayer .audioplayer-volume-adjust>div>div { background: var(--mr-accent); }
@media (max-width:760px) {
  .wplayer .audioplayer { border-radius: 12px; }
}


/* Stage 1.3 — music cards: isolate the list from inherited light styles. */
.section--new > .section__content.section__items,
.section--new .section__content--song,
.section--new #dle-content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.section--new > .section__content.section__items {
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.section--new #dle-content { width: 100%; }
.section--new .new-songlight,
.section--new .new-songlight:not(:last-child) {
  display: block;
  float: none;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.section--new .new-songlight + .new-songlight { margin-top: 12px !important; }
.section--new > .section__content.section__items > .new-songlight + .new-songlight { margin-top: 0 !important; }
.section--new .new-songlight__inner {
  min-height: 76px;
  padding: 12px 14px;
  background: var(--mr-panel) !important;
  border: 1px solid #39465C !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  overflow: hidden;
  gap: 12px;
}
.section--new .new-songlight__inner:hover { background: #283448 !important; border-color: var(--mr-accent) !important; }
.section--new .new-songlight.js-item-played .new-songlight__inner { background: #252E43 !important; border-color: var(--mr-accent) !important; }
.section--new .new-songlight__img--preview {
  display: flex;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #37304F !important;
  background-image: none !important;
  filter: none !important;
  color: var(--third-text-color);
}
.section--new .mr-track-note { display: block; color: inherit; }
.section--new .new-songlight__description { min-width: 0; padding-left: 0; }
.section--new .new-songlight__description .song__title { color: var(--mr-text); }
.section--new .new-songlight .song__btn {
  display: flex;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: var(--mr-text);
  border: 1px solid var(--mr-accent);
  border-radius: 50%;
}
.section--new .new-songlight.js-item-played .song__btn,
.section--new .new-songlight .song__btn:hover { background: var(--mr-accent); color: #FFF; }
@media (max-width: 760px) {
  .section--new .new-songlight__inner { min-height: 68px; padding: 10px; gap: 10px; }
  .section--new .new-songlight__img--preview { flex-basis: 40px; width: 40px; height: 40px; border-radius: 10px; }
  .section--new .new-songlight .song__btn { flex-basis: 38px; width: 38px; height: 38px; }
}


/* MuzRobot Dark 1.4: unified track description and sidebar polish. */
/* The informational line was a bare paragraph; it now has its own wrapper. */
.inner-page .mr-track-description {
  display: block;
  background: #172033 !important;
  padding: 14px 18px;
  margin: 0 0 20px;
  box-shadow: none;
}

.inner-page .mr-track-description p::selection {
  background: #6D46D9;
  color: #FFFFFF;
}
/* Group sidebar headings and individual tracks visually, without changing DLE content. */
.sidebar .section__subtitle.section__header--trend {
  margin-top: 26px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #344156;
  color: var(--mr-text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.sidebar .section__subtitle.section__header--trend:first-child {
  margin-top: 0;
}
.sidebar .soon-song {
  border-radius: 9px;
  padding: 8px 10px;
  margin: 0 0 4px;
  transition: background-color .18s ease;
}
.sidebar .soon-song:hover { background: #252E43; }
.sidebar .soon-song a { color: #DDE4F0; }
.sidebar .soon-song a:hover { color: var(--third-text-color); }
.sidebar .nav-list > li > a:hover { color: var(--third-text-color); }
/* Keep colored emphasis accessible on ordinary text selections. */
.main ::selection, .sidebar ::selection { background: #6347B5; color: #FFFFFF; }
@media (max-width:760px) {
  .inner-page .mr-track-description { padding: 12px 14px; margin-bottom: 16px; }
  .inner-page .mr-track-description p { font-size: 14px; }
  .sidebar .section__subtitle.section__header--trend { font-size: 16px; }
}


/* MuzRobot Dark 1.5 — desktop/mobile song hero, sidebar and footer. */
.mr-sidebar { padding-top: 42px; }
.mr-sidebar .mr-sidebar-section { margin-bottom: 30px; }
.mr-sidebar .mr-sidebar-title { display:flex; align-items:center; gap:10px; margin-top:0 !important; margin-bottom:10px; padding-bottom:12px; font-size:17px; line-height:1.4; }
.mr-sidebar-icon { width:22px; height:22px; display:inline-flex; align-items:center; justify-content:center; flex:0 0 22px; color:#A78BFA; }
.mr-sidebar-icon svg { display:block; width:21px; height:21px; }
.mr-sidebar .mr-sidebar-tracks { display:block; }
.mr-sidebar .soon-song { padding:9px 8px; margin-bottom:2px; }
.mr-footer-mail, .footer .mr-footer-mail, .footer__copyright .mr-footer-mail { color:var(--third-text-color) !important; text-decoration:none; overflow-wrap:anywhere; }
.mr-footer-mail:hover, .footer .mr-footer-mail:hover { color:#E9D5FF !important; text-decoration:underline; }
/* Reset inherited song-section rules only for our new card. */
.inner-page .mr-song-card { display:block !important; background:#1D2940 !important; border:1px solid #46546D !important; border-radius:14px !important; padding:22px !important; margin:14px 0 18px; overflow:hidden; }
.mr-song-card__top { display:flex; align-items:center; gap:24px; }
.mr-song-card .mr-song-card__art { margin:0; flex:0 0 148px; width:148px; }
.mr-song-card .inner-page__poster { width:148px; height:148px; border-radius:12px; overflow:hidden; }
.mr-song-card .inner-page__poster img { object-fit:contain; }
.mr-song-card .mr-song-card__details { min-width:0; flex:1 1 auto; }
.mr-song-card__eyebrow { font-size:11px; font-weight:700; letter-spacing:.13em; color:#BDA9FF; margin-bottom:8px; }
.mr-song-card__name { font-size:19px; font-weight:600; line-height:1.35; color:var(--mr-text); margin-bottom:16px; overflow-wrap:anywhere; }
.mr-song-card .mr-song-card__meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:0; padding:0; font-size:13px; }
.mr-song-card .mr-song-card__meta li { display:flex; align-items:center; gap:6px; width:auto; margin:0; background:#29354B; border:1px solid #40506B; border-radius:8px; padding:4px 9px; }
.mr-song-card .mr-song-card__meta li span { padding:0; white-space:nowrap; }
.mr-song-card .mr-song-card__meta li>span:first-child { flex:none; min-width:0; color:#B9C1CF; }
.mr-song-card .mr-song-card__meta li>span:first-child::after { display:none; }
.mr-song-card .mr-song-card__actions { display:grid !important; grid-template-columns:1fr 1fr; gap:12px; margin-top:18px; width:100%; align-items:stretch; }
.mr-song-card .mr-song-card__play, .mr-song-card .mr-song-card__download { display:flex !important; align-items:center; justify-content:center; width:100% !important; max-width:none !important; min-width:0; min-height:52px; height:auto; margin:0 !important; border-radius:12px; cursor:pointer; text-decoration:none; line-height:1.3; }
.mr-song-card .mr-song-card__play { gap:10px; padding:8px 14px; background:var(--mr-accent); box-shadow:none !important; border:1px solid var(--mr-accent); color:#fff; }
.mr-song-card .mr-song-card__play:hover { background:#7950E8; }
.mr-song-card .mr-song-card__play .song__btn { background:transparent; border:0; color:#fff; width:24px; height:30px; padding:0; margin:0; flex:0 0 24px; }
.mr-song-card .mr-song-card__play-desc { color:#fff; font-weight:600; }
.mr-song-card .mr-song-card__play-desc .ws-nowrap { color:#F0E9FF; font-weight:400; }
.mr-song-card .mr-song-card__download { gap:10px; background:#302945; color:#E9D5FF !important; border:1px solid var(--mr-accent); box-shadow:none; font-weight:600; padding:8px 14px; }
.mr-song-card .mr-song-card__download:hover { background:#49336B; color:#fff !important; }
.mr-song-card__download svg { width:19px; height:19px; flex:0 0 19px; }
/* Own distinct description container, separate from old .section flex structure. */
.inner-page .mr-track-description { display:block !important; width:100%; margin:0 0 22px; padding:14px 17px; background:#192337 !important; border:1px solid #344156; border-left:3px solid var(--mr-accent); border-radius:12px; }
.inner-page .mr-track-description p { margin:0; color:#D6DCE8 !important; font-size:15px; line-height:1.65; overflow-wrap:anywhere; }
@media(max-width:760px) {
 .inner-page .mr-song-card { padding:16px !important; }
 .mr-song-card__top { flex-direction:column; align-items:stretch; text-align:center; gap:12px; }
 .mr-song-card .mr-song-card__art { width:100%; flex:auto; display:flex; justify-content:center; }
 .mr-song-card .inner-page__poster { width:104px; height:104px; }
 .mr-song-card__name { font-size:17px; margin-bottom:12px; }
 .mr-song-card .mr-song-card__meta { justify-content:center; gap:6px; }
 .mr-song-card .mr-song-card__meta li { font-size:12px; }
 .mr-song-card .mr-song-card__actions { grid-template-columns:1fr; gap:10px; }
 .mr-song-card .mr-song-card__play,.mr-song-card .mr-song-card__download { min-height:48px; }
 .inner-page .mr-track-description { padding:12px 14px; }
}


/* MuzRobot Dark 1.6: typographic identity and cohesive search. */
.header .header__inner { gap: 22px; min-height: 88px; padding-top: 17px; padding-bottom: 17px; }
.header a.mr-wordmark.logohits { display:inline-flex; align-items:center; background:transparent !important; border:0; border-radius:0; padding:0 !important; margin:0; white-space:nowrap; flex:0 0 auto; font-size:clamp(24px,2.35vw,32px); line-height:1.2; font-weight:750; letter-spacing:-.045em; color:#F5F3FF !important; text-decoration:none; box-shadow:none; }
.header .mr-wordmark span { color:#A78BFA !important; }
.header .mr-wordmark:hover span { color:var(--third-text-color) !important; }
.header .header__search { margin:0 0 0 32px; min-width:0; }
.header .header__search form { position:relative; margin:0; width:100%; }
.header .header__search input.header__search-input { display:block; width:100%; height:48px; line-height:normal; padding:0 58px 0 20px; border-radius:13px; background:#252E40 !important; color:var(--mr-text) !important; border:1px solid #40506A; box-shadow:none !important; outline:none; transition:border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.header .header__search input.header__search-input:hover { border-color:#596A89; }
.header .header__search input.header__search-input:focus { background:#263147 !important; border-color:#A78BFA; box-shadow:0 0 0 3px rgba(139,92,246,.17) !important; }
.header .header__search input.header__search-input::placeholder { color:#AAB6CC; }
.header .header__search .header__search-btn { position:absolute; right:4px; top:4px; width:44px; height:40px; line-height:40px; border-radius:10px; color:var(--third-text-color); cursor:pointer; transition:background .18s ease,color .18s ease; }
.header .header__search .header__search-btn:hover { background:rgba(139,92,246,.16); color:#E9D5FF; }
.header .header__btn-mobile-menu { flex:0 0 auto; }
/* Song artwork: independent asset, no accompanying artwork label. */
.mr-song-card .mr-song-card__art { align-self:center; }
.mr-song-card .inner-page__poster { background:#141B2D; border:1px solid #3C4862; }
.mr-song-card .inner-page__poster img { display:block; width:100%; height:100%; object-fit:cover; }
.mr-song-card__name { margin-top:0; }
.mr-song-card .mr-song-card__play-desc { white-space:nowrap; font-size:16px; font-weight:600; line-height:1.2; }
.mr-song-card .mr-song-card__play, .mr-song-card .mr-song-card__download { min-height:54px; }
@media(max-width:1220px) { .header .header__search { margin-left:16px; } }
@media(max-width:760px) {
  .header .header__inner { gap:10px; padding:16px; min-height:0; }
  .header a.mr-wordmark.logohits { font-size:26px; max-width:calc(100% - 54px); }
  .header .header__search { order:10; flex:1 0 100%; width:100%; margin:9px 0 0; }
  .header .header__search input.header__search-input { height:46px; }
  .mr-song-card .mr-song-card__art { display:none !important; }
  .mr-song-card__top { align-items:stretch; text-align:left; }
  .mr-song-card .mr-song-card__meta { justify-content:flex-start; }
  .mr-song-card__name { margin-bottom:12px; }
  .mr-song-card .mr-song-card__actions { margin-top:16px; }
}
@media(max-width:420px) { .header a.mr-wordmark.logohits { font-size:24px; } .header .header__search input.header__search-input { font-size:14px; } }


/* MuzRobot Dark 1.7 — aligned desktop header, tiny brand symbol and compact song card. */
@media (min-width:1221px) {
  .header .header__inner {
    display:grid !important;
    grid-template-columns:260px minmax(0,1fr);
    column-gap:20px;
    align-items:center;
    padding-left:20px;
    padding-right:20px;
  }
  .header .header__search { width:100%; max-width:none; margin:0 !important; flex:none; }
}
.header a.mr-wordmark.logohits { gap:10px; }
.header .mr-brand-icon { display:block; width:29px; height:29px; flex:0 0 29px; color:#A78BFA; transition:color .2s ease,transform .2s ease; }
.header a.mr-wordmark:hover .mr-brand-icon { color:var(--third-text-color); transform:translateY(-1px); }
.header .mr-brand-text { color:#F5F3FF !important; white-space:nowrap; }
.header .mr-brand-text span { color:#A78BFA !important; }
/* Shrink artwork and vertical rhythm without changing track controls. */
.inner-page .mr-song-card { padding:18px !important; margin-top:12px; margin-bottom:16px; }
.mr-song-card__top { gap:18px; }
.mr-song-card .mr-song-card__art { flex:0 0 112px; width:112px; }
.mr-song-card .inner-page__poster { width:112px; height:112px; border-radius:12px; }
.mr-song-card__name { margin-bottom:11px; font-size:19px; }
.mr-song-card .mr-song-card__actions { margin-top:14px; }
.mr-song-card .mr-song-card__play,.mr-song-card .mr-song-card__download { min-height:50px; }
@media (max-width:1220px) {
  .header .header__inner { display:flex !important; }
  .header .mr-brand-icon { width:26px; height:26px; flex-basis:26px; }
}
@media (max-width:760px) {
  .inner-page .mr-song-card { padding:15px !important; }
  .mr-song-card .mr-song-card__art { display:none !important; }
  .mr-song-card .mr-song-card__actions { margin-top:14px; }
  .header a.mr-wordmark.logohits { gap:7px; }
  .header .mr-brand-icon { width:23px; height:23px; flex-basis:23px; }
}


/* MuzRobot Dark 1.8 — branding, mobile navigation, search forms, related tracks */
/* Prevent generic wordmark span rules from recoloring the entire wordmark. */
.header a.mr-wordmark.logohits,
.header a.mr-wordmark.logohits .mr-brand-text,
.header a.mr-wordmark.logohits .mr-brand-text:hover { color:#F5F3FF !important; }
.header a.mr-wordmark.logohits .mr-brand-text > span { color:#A78BFA !important; }
.header a.mr-wordmark.logohits:hover .mr-brand-text > span { color:var(--third-text-color) !important; }
.header a.mr-wordmark.logohits .mr-brand-icon { color:#A78BFA !important; }
/* Sidebar links, including their states and nested title wrappers. */
.mr-sidebar .soon-song,
.mr-sidebar .soon-song:hover,
.mr-sidebar .soon-song:focus-within { background:transparent !important; box-shadow:none !important; }
.mr-sidebar .soon-song__link,
.mr-sidebar .soon-song__link:visited,
.mr-sidebar .soon-song__link .song__title { color:#DEE5F2 !important; background:transparent !important; text-decoration:none !important; }
.mr-sidebar .soon-song__link:hover,
.mr-sidebar .soon-song__link:hover .song__title,
.mr-sidebar .soon-song__link:focus-visible .song__title { color:var(--third-text-color) !important; background:transparent !important; }
.mr-sidebar .soon-song__link { border-radius:9px; padding:3px 4px; transition:color .18s ease, background .18s ease; }
.mr-sidebar .soon-song__link:hover { background:#252E43 !important; }
/* Mobile drawer is populated by clones, not elements inside .sidebar. */
.mobile-menu { width:min(300px, calc(100vw - 54px)) !important; padding:58px 20px 26px !important; background:#171E30 !important; color:var(--mr-text) !important; box-shadow:14px 0 36px rgba(0,0,0,.28); }
.mobile-menu .mr-sidebar-section { width:100%; margin:0 0 26px !important; padding:0; }
.mobile-menu .mr-sidebar-title { display:flex !important; align-items:center !important; justify-content:flex-start; gap:10px; padding:0 0 12px !important; margin:0 0 8px !important; line-height:1.4; font-size:16px; font-weight:650; color:#F5F3FF !important; border-bottom:1px solid #37445B; }
.mobile-menu .mr-sidebar-icon { display:inline-flex !important; width:22px; height:22px; flex:0 0 22px; align-items:center; justify-content:center; color:#A78BFA !important; }
.mobile-menu .mr-sidebar-icon svg { display:block; width:21px; height:21px; }
.mobile-menu .mr-sidebar-tracks { display:block; }
.mobile-menu .soon-song { margin:0 0 3px !important; padding:0 !important; background:transparent !important; text-shadow:none !important; }
.mobile-menu .soon-song__link { display:flex !important; width:100%; padding:10px 9px; border-radius:9px; color:#DEE5F2 !important; background:transparent !important; }
.mobile-menu .soon-song__link:hover, .mobile-menu .soon-song__link:focus-visible { background:#26324A !important; color:var(--third-text-color) !important; }
.mobile-menu .soon-song .song__title { color:inherit !important; max-width:100%; font-size:14px; line-height:1.4; text-shadow:none !important; }
.mobile-menu-close { left:min(300px, calc(100vw - 54px)) !important; width:48px !important; height:48px !important; line-height:48px !important; background:#302945 !important; color:var(--mr-text) !important; border-radius:0 10px 10px 0; }
.mobile-menu-close.is-active { top:0 !important; }
/* Native DLE search form and messages (not the top quick-search). */
.search-page { color:#DDE5F1; }
.search-page__title { margin:0 0 20px; color:var(--mr-text) !important; }
.search-page .searchtable, .search-page #searchtable,
.search-page .searchtable form, .search-page .searchtable table,
.search-page .searchtable tbody, .search-page .searchtable tr,
.search-page .searchtable td, .search-page .searchtable th { background:transparent !important; color:#DDE5F1 !important; border-color:#3B4960 !important; }
.search-page .searchtable { border:1px solid #3D4B63; border-radius:14px; padding:18px; background:#1D2940 !important; overflow:hidden; }
.search-page .searchtable input[type=text], .search-page .searchtable select,
.search-page .searchtable textarea, .search-page .searchtable input[type=search] { background:#252E40 !important; color:var(--mr-text) !important; border:1px solid #465571 !important; border-radius:10px; min-height:44px; box-shadow:none !important; outline:none; }
.search-page .searchtable input:focus, .search-page .searchtable textarea:focus { border-color:#A78BFA !important; }
.search-page .searchtable input[type=submit], .search-page .searchtable button, .search-page .searchtable .bbcodes { background:var(--mr-accent) !important; color:white !important; border:0 !important; border-radius:11px !important; min-height:42px; padding:8px 16px; cursor:pointer; }
.search-page .searchtable input[type=submit]:hover, .search-page .searchtable button:hover { background:#7751DD !important; }
.message-info, .message-info--yellow { background:#242437 !important; border:1px solid #6A567D !important; border-left:3px solid #A78BFA !important; border-radius:12px !important; color:#E8DCF6 !important; padding:16px 18px !important; }
.message-info *, .message-info--yellow * { color:inherit !important; }
.message-info--title { color:var(--third-text-color) !important; font-weight:700; }
/* Related track cards: replace empty artwork blocks with scalable CSS music icon. */
.inner-page .new-songlight__img--preview { position:relative; display:flex !important; align-items:center; justify-content:center; width:50px; height:50px; flex:0 0 50px; border-radius:12px; background:#38304F !important; background-image:none !important; filter:none !important; }
.inner-page .new-songlight__img--preview::before { content:'♫'; display:block; color:var(--third-text-color); font-family:Arial,sans-serif; font-size:29px; line-height:1; }
@media(max-width:760px) {
 .mobile-menu { padding-top:62px !important; }
 .search-page .searchtable { padding:12px; }
 .search-page .searchtable td { display:block; width:100% !important; padding:6px 0; }
 .search-page .searchtable input[type=text] { max-width:100%; }
}

/* MuzRobot Dark 1.9: single semantic song H1 inside hero */
.mr-song-breadcrumbs { margin-bottom: 12px; }
.mr-song-card h1.mr-song-card__name { margin:0 0 11px; font-weight:650; font-size:clamp(19px, 1.85vw, 25px); line-height:1.3; letter-spacing:-.015em; color:var(--mr-text); }
@media (max-width:760px) {
  .mr-song-breadcrumbs { display:none; }
  .mr-song-card h1.mr-song-card__name { font-size:21px; margin-bottom:12px; }
}


/* Base RC1 · DLE extended search form: override legacy light panel */
.search-page .search > div {
  background:#1D2940 !important;
  border:1px solid #3D4B63;
  border-radius:12px;
  padding:16px !important;
  gap:14px;
  align-items:center;
}
.search-page .search #searchinput {
  background:#252E40 !important;
  color:var(--mr-text) !important;
  border:1px solid #465571 !important;
  border-radius:10px;
  min-width:0;
  box-shadow:none !important;
}
.search-page .search #searchinput:focus-visible {
  border-color:#A78BFA !important;
  outline:2px solid rgba(167,139,250,.35);
  outline-offset:1px;
}
.search-page .search input[type=submit],
.search-page .search button[type=submit] {
  background:var(--mr-accent) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:10px !important;
  white-space:nowrap;
  cursor:pointer;
}
@media(max-width:640px) {
  .search-page .search > div { flex-wrap:wrap; padding:12px !important; }
  .search-page .search #searchinput { width:100% !important; margin:0 !important; flex:1 1 100%; }
  .search-page .search input[type=submit],
  .search-page .search button[type=submit] { width:100%; }
}

/* Base RC2 — consistent alignment of DLE search field and submit button */
.search-page .search > div {
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}
.search-page .search #searchinput {
  box-sizing:border-box !important;
  height:48px !important;
  min-height:48px !important;
  padding:0 16px !important;
  line-height:normal !important;
  flex:1 1 auto !important;
}
.search-page .search input[type=submit],
.search-page .search button[type=submit] {
  box-sizing:border-box !important;
  height:48px !important;
  min-height:48px !important;
  line-height:1.2 !important;
  padding:0 20px !important;
  margin:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  font-size:14px;
  font-weight:600;
}
@media (max-width:640px) {
  .search-page .search > div { flex-wrap:wrap !important; }
  .search-page .search #searchinput { flex:1 1 100% !important; }
  .search-page .search input[type=submit],
  .search-page .search button[type=submit] { flex:1 1 100% !important; width:100% !important; }
}

/* Base RC3 — center native DLE submit text (no HTML/JS changes) */
.search-page .search input[type="submit"] {
  display: inline-block !important;
  height: 48px !important;
  min-height: 48px !important;
  line-height: 48px !important;
  padding: 0 20px !important;
  text-align: center !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  appearance: none;
  -webkit-appearance: none;
}
.search-page .search button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  min-height: 48px !important;
  line-height: 1 !important;
  padding: 0 20px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* Base RC4: reset extra DLE padding only for native search submit input. */
.search-page .searchtable input[type="submit"] {
  padding: 0 !important;
}
