/* ================================================================
   RADYO MODA 102.5 — V2.7 HOME PAGE REDESIGN
   Namespace: .rm-v27 (no conflicts with v25/v26 classes)
   Design: Tutku FM inspired unified portal — cinematic dark radio
   ================================================================ */

/* ── Google Fonts DM Sans ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&family=Manrope:wght@600;700;800;900&display=swap');

/* ── V2.7 Design Tokens ───────────────────────────────── */
.rm-v27 {
  --rm-bg-page:       #050b16;
  --rm-bg-deep:       #020710;
  --rm-bg-portal:     #09121f;
  --rm-bg-card:       #0d1a2e;
  --rm-bg-player:     #0f1e34;
  --rm-red:           #c8102e;
  --rm-red-deep:      #8f0d22;
  --rm-red-glow:      rgba(200, 16, 46, 0.25);
  --rm-blue:          #1a4b8a;
  --rm-blue-light:    #2d6bc4;
  --rm-accent-gold:   #d4a017;
  --rm-border:        rgba(200, 16, 46, 0.25);
  --rm-border-subtle: rgba(255, 255, 255, 0.07);
  --rm-text-white:    #f0f4f8;
  --rm-text-muted:    #7a92ab;
  --rm-text-dim:      #4a607a;
  --rm-shadow-red:    0 0 40px rgba(200, 16, 46, 0.15);
  --rm-radius:        16px;
  --rm-font:          'DM Sans', 'Manrope', system-ui, sans-serif;

  font-family: var(--rm-font);
  background: var(--rm-bg-page);
  color: var(--rm-text-white);
}

/* ── Reset scoped to rm-v27 ─────────────────────────────── */
.rm-v27 *, .rm-v27 *::before, .rm-v27 *::after {
  box-sizing: border-box;
}

/* ================================================================
   TOPBAR — Slim info strip
   ================================================================ */
.rm-v27 .rm-topbar {
  background: #020810;
  border-bottom: 1px solid var(--rm-border-subtle);
  padding: 0.45rem 1.5rem;
  font-size: 0.78rem;
  color: var(--rm-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.rm-v27 .rm-topbar-loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}
.rm-v27 .rm-topbar-loc .rm-dot {
  width: 6px; height: 6px;
  background: var(--rm-red);
  border-radius: 50%;
  animation: rm-pulse-dot 1.5s ease-in-out infinite;
}
.rm-v27 .rm-topbar-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.rm-v27 .rm-topbar-social a {
  color: var(--rm-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
}
.rm-v27 .rm-topbar-social a:hover { color: var(--rm-text-white); background: rgba(255,255,255,0.06); }

/* ================================================================
   HEADER — Brand Identity Area
   ================================================================ */
.rm-v27 .rm-header {
  background: linear-gradient(180deg, #040a18 0%, #070f20 60%, #0a1424 100%);
  border-bottom: 2px solid var(--rm-red-deep);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rm-v27 .rm-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(143, 13, 34, 0.28) 0%, transparent 70%);
  pointer-events: none;
}
.rm-v27 .rm-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}
.rm-v27 .rm-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.rm-v27 .rm-logo-wrap img {
  width: clamp(180px, 22vw, 310px);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(200,16,46,0.4));
}
.rm-v27 .rm-brand-titles {
  margin-top: 0.2rem;
}
.rm-v27 .rm-brand-tagline {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 700;
  color: var(--rm-text-white);
  letter-spacing: 0.04em;
}
.rm-v27 .rm-brand-sub {
  font-size: clamp(0.7rem, 1.2vw, 0.82rem);
  color: var(--rm-red);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* Sound Waves (Left / Right) */
.rm-v27 .rm-soundwaves {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 56px;
}
.rm-v27 .rm-soundwaves span {
  display: block;
  width: 5px;
  background: var(--rm-red);
  border-radius: 3px;
  animation: rm-wave 1.4s ease-in-out infinite;
}
.rm-v27 .rm-soundwaves.left span:nth-child(1) { height: 20px; animation-delay: 0s; }
.rm-v27 .rm-soundwaves.left span:nth-child(2) { height: 38px; animation-delay: 0.15s; }
.rm-v27 .rm-soundwaves.left span:nth-child(3) { height: 52px; animation-delay: 0.3s; background: var(--rm-blue-light); }
.rm-v27 .rm-soundwaves.left span:nth-child(4) { height: 32px; animation-delay: 0.45s; }
.rm-v27 .rm-soundwaves.left span:nth-child(5) { height: 16px; animation-delay: 0.6s; }
.rm-v27 .rm-soundwaves.right span:nth-child(1) { height: 16px; animation-delay: 0.6s; }
.rm-v27 .rm-soundwaves.right span:nth-child(2) { height: 32px; animation-delay: 0.45s; }
.rm-v27 .rm-soundwaves.right span:nth-child(3) { height: 52px; animation-delay: 0.3s; background: var(--rm-blue-light); }
.rm-v27 .rm-soundwaves.right span:nth-child(4) { height: 38px; animation-delay: 0.15s; }
.rm-v27 .rm-soundwaves.right span:nth-child(5) { height: 20px; animation-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  .rm-v27 .rm-soundwaves span { animation: none; height: 30px; }
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.rm-v27 .rm-nav {
  background: linear-gradient(90deg, #8f0d22 0%, #c8102e 40%, #8f0d22 100%);
  border-bottom: 2px solid rgba(0,0,0,0.4);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.rm-v27 .rm-nav-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rm-v27 .rm-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}
.rm-v27 .rm-menu li a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  border-bottom: 3px solid transparent;
}
.rm-v27 .rm-menu li a:hover,
.rm-v27 .rm-menu li a.active {
  background: rgba(0,0,0,0.22);
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.7);
}
.rm-v27 .rm-menu li a.rm-player-link {
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
  margin: 0.3rem 0.4rem;
  padding: 0.45rem 0.9rem;
  border-bottom: none;
  font-size: 0.75rem;
}
.rm-v27 .rm-menu li a.rm-player-link:hover {
  background: rgba(255,255,255,0.22);
  border-bottom: none;
}
/* Hamburger */
.rm-v27 .rm-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.rm-v27 .rm-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ================================================================
   PORTAL WRAPPER — Full page layout
   ================================================================ */
.rm-v27 .rm-portal-outer {
  background: linear-gradient(180deg, var(--rm-bg-page) 0%, #040d1a 100%);
  padding: 1.5rem 0 0;
  min-height: 100vh;
}
.rm-v27 .rm-portal-layout {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  gap: 0;
  align-items: start;
}

/* ================================================================
   SIDE ORNAMENTS
   ================================================================ */
.rm-v27 .rm-ornament {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Vinyl Record */
.rm-v27 .rm-vinyl {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    #1a1a2e 0%, #111 25%, #1e1e1e 40%, #111 55%, #222 70%, #111 85%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgba(200,16,46,0.2);
  animation: rm-vinyl-spin 6s linear infinite;
}
.rm-v27 .rm-vinyl::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}
.rm-v27 .rm-vinyl-center {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #c8102e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.rm-v27 .rm-vinyl-center img {
  width: 18px; height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

/* Speaker */
.rm-v27 .rm-speaker {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #2a2a2a, #111);
  border: 3px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(200,16,46,0.15), inset 0 0 8px rgba(0,0,0,0.5);
  animation: rm-speaker-pulse 3s ease-in-out infinite;
}
.rm-v27 .rm-speaker-cone {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #444, #111);
  border: 2px solid #333;
}

/* EQ Bars */
.rm-v27 .rm-side-eq {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 52px;
}
.rm-v27 .rm-side-eq span {
  width: 7px;
  background: linear-gradient(to top, var(--rm-red), #ff6b6b);
  border-radius: 3px 3px 0 0;
  transition: height 0.1s;
}
.rm-v27 .rm-side-eq.playing span:nth-child(1) { animation: rm-eq-bar1 0.8s ease-in-out infinite; }
.rm-v27 .rm-side-eq.playing span:nth-child(2) { animation: rm-eq-bar2 0.6s ease-in-out infinite; }
.rm-v27 .rm-side-eq.playing span:nth-child(3) { animation: rm-eq-bar3 0.9s ease-in-out infinite; }
.rm-v27 .rm-side-eq.playing span:nth-child(4) { animation: rm-eq-bar4 0.7s ease-in-out infinite; }
.rm-v27 .rm-side-eq.playing span:nth-child(5) { animation: rm-eq-bar5 0.85s ease-in-out infinite; }
.rm-v27 .rm-side-eq:not(.playing) span { height: 8px; }

/* Studio Lights */
.rm-v27 .rm-studio-light {
  width: 60px; height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--rm-red), transparent);
  animation: rm-light-blink 2.4s ease-in-out infinite;
  opacity: 0.6;
}

/* ================================================================
   PORTAL FRAME (center column)
   ================================================================ */
.rm-v27 .rm-portal-frame {
  background: var(--rm-bg-portal);
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  overflow: hidden;
  box-shadow: var(--rm-shadow-red), 0 20px 60px rgba(0,0,0,0.6);
}

/* ================================================================
   BANNER — Cinematic broadcast hero
   ================================================================ */
.rm-v27 .rm-banner {
  position: relative;
  background: linear-gradient(135deg,
    #020810 0%,
    #0a1525 20%,
    #12203d 40%,
    #1a0a12 60%,
    #300615 80%,
    #1a0a18 100%);
  overflow: hidden;
  aspect-ratio: 2.5 / 1;
  min-height: 220px;
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Animated radial glow layers */
.rm-v27 .rm-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 50%, rgba(200,16,46,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 50%, rgba(26,75,138,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 50% 90%, rgba(200,16,46,0.12) 0%, transparent 60%);
  pointer-events: none;
}
/* Soundwave decoration lines */
.rm-v27 .rm-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 3px,
    rgba(200,16,46,0.04) 3px,
    rgba(200,16,46,0.04) 4px
  );
  pointer-events: none;
}
.rm-v27 .rm-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  max-width: 100%;
  margin: 0 auto;
}
.rm-v27 .rm-banner-logo {
  width: clamp(115px, 11vw, 145px);
  height: auto;
  max-height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.85));
  display: block;
  margin: 0 auto 2px;
  animation: none !important;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.rm-v27 .rm-banner-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.95));
}
/* A) RADYO MODA - Beyaz (#FFFFFF), En güçlü satır (32-40px desktop) */
.rm-v27 .rm-banner-brand-title {
  font-family: 'Manrope', var(--rm-font, sans-serif);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.85), 0 0 18px rgba(200,16,46,0.20);
  line-height: 1.08;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}
/* B) Orta Karadeniz’in En Moda Radyosu - Sıcak Krem-Altın (#F4E3C1), 700 weight (20-25px desktop) */
.rm-v27 .rm-banner-main-slogan {
  font-family: 'Manrope', var(--rm-font, sans-serif);
  font-size: clamp(0.92rem, 1.35vw, 1.22rem);
  font-weight: 700;
  color: #F4E3C1;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.85);
  line-height: 1.15;
  margin: 0;
  text-align: center;
}
/* C) Müziğin Modası - Radyo Moda Kırmızısı (#E51F3F), 700 weight (17-20px desktop) */
.rm-v27 .rm-banner-accent-slogan {
  font-family: 'Manrope', var(--rm-font, sans-serif);
  font-size: clamp(0.82rem, 1.15vw, 1.05rem);
  font-weight: 700;
  color: #E51F3F;
  letter-spacing: 0.06em;
  text-shadow: 0 0 14px rgba(229,31,63,0.35), 0 2px 8px rgba(0,0,0,0.85);
  line-height: 1.15;
  margin: 0;
  text-align: center;
}
/* D) Türkçe Pop • Slow • Arabesk • Fantezi • Özgün - Açık Gri (#D7DCE5) + Kırmızı Sep (#E51F3F) */
.rm-v27 .rm-banner-genres {
  font-family: var(--rm-font, sans-serif);
  font-size: clamp(0.68rem, 0.88vw, 0.85rem);
  font-weight: 500;
  color: #D7DCE5;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  margin: 0;
  text-align: center;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.rm-v27 .rm-banner-genres .rm-genre-dot {
  color: #E51F3F;
  font-weight: 700;
  padding: 0 0.1rem;
  text-shadow: 0 0 8px rgba(229,31,63,0.45);
}
/* Banner mic + headphone SVG decorations */
.rm-v27 .rm-banner-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
}
.rm-v27 .rm-banner-decor.left {
  left: 3%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(4rem, 10vw, 8rem);
  animation: rm-decor-float 5s ease-in-out infinite;
}
.rm-v27 .rm-banner-decor.right {
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(4rem, 10vw, 7rem);
  animation: rm-decor-float 5s ease-in-out infinite reverse;
}
/* Horizontal EQ waveform */
.rm-v27 .rm-banner-eq {
  display: none !important;
}

/* ── V2.9 PNG Hero Banner ────────────────────────────── */
.rm-v27 .rm-banner-v29 {
  position: relative;
  aspect-ratio: 2.35 / 1;
  min-height: 270px;
  max-height: 450px;
  width: 100%;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}
.rm-v27 .rm-banner-v29-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 3%;
  display: block;
}
/* Dark gradient overlay — Safe-Zone readability at bottom */
.rm-v27 .rm-banner-v29-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(3, 8, 18, 0.15) 0%,
      rgba(3, 8, 18, 0.00) 25%,
      rgba(3, 8, 18, 0.35) 60%,
      rgba(3, 8, 18, 0.90) 100%),
    radial-gradient(ellipse 75% 45% at 50% 92%, rgba(3,8,18,0.75) 0%, transparent 85%),
    radial-gradient(ellipse 40% 45% at 0% 50%,   rgba(3,8,18,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 45% at 100% 50%, rgba(3,8,18,0.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
/* Red/blue subtle glow overlay */
.rm-v27 .rm-banner-v29-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 10% 70%, rgba(200,16,46,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 90% 70%, rgba(26,75,138,0.08) 0%, transparent 55%);
  pointer-events: none;
}
/* Content overlaid — strictly anchored inside bottom dark safe zone */
.rm-v27 .rm-banner-v29-content {
  position: absolute;
  top: auto;
  bottom: 8px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  padding: 0.15rem 0.6rem;
  width: 95%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  pointer-events: none;
}
.rm-v27 .rm-banner-v29-content > * {
  pointer-events: auto;
}
/* Tablet: preserve bottom dark safe zone */
@media (max-width: 900px) {
  .rm-v27 .rm-banner-v29 {
    aspect-ratio: 2.1 / 1;
    min-height: 250px;
  }
  .rm-v27 .rm-banner-v29-content {
    bottom: 6px;
    max-width: 95%;
    padding: 0.15rem 0.4rem;
    gap: 2px;
  }
  .rm-v27 .rm-banner-logo {
    width: clamp(95px, 12vw, 120px);
    max-height: 38px;
  }
}
/* Mobile: centered bottom safe zone */
@media (max-width: 640px) {
  .rm-v27 .rm-banner-v29 {
    aspect-ratio: 16 / 9;
    min-height: 220px;
  }
  .rm-v27 .rm-banner-v29-img {
    object-position: center 5%;
  }
  .rm-v27 .rm-banner-v29-content {
    left: 50%;
    top: auto;
    bottom: 4px;
    transform: translateX(-50%);
    max-width: 98%;
    text-align: center;
    align-items: center;
    padding: 0.1rem 0.3rem;
    gap: 1px;
  }
  .rm-v27 .rm-banner-brand-title {
    font-size: clamp(1.1rem, 4.8vw, 1.4rem);
    letter-spacing: 0.05em;
  }
  .rm-v27 .rm-banner-main-slogan {
    font-size: clamp(0.76rem, 3.0vw, 0.92rem);
  }
  .rm-v27 .rm-banner-accent-slogan {
    font-size: clamp(0.70rem, 2.6vw, 0.82rem);
  }
  .rm-v27 .rm-banner-logo {
    width: clamp(75px, 17vw, 95px);
    max-height: 32px;
    margin: 0 auto 1px;
    animation: none !important;
  }
  .rm-v27 .rm-banner-genres {
    display: flex !important;
    font-size: clamp(0.58rem, 2.3vw, 0.70rem);
    line-height: 1.2;
    gap: 0.15rem;
  }
}

/* ================================================================
   PLAYER BAR — R5.6B2 PREMIUM CUSTOM PLAYER
   ================================================================ */

/* ── Player Bar Container ─────────────────────────────── */
.rm-v27 .rm-player-bar {
  position: relative;
  background: linear-gradient(135deg,
    #0a141f 0%,
    #0d1b2e 30%,
    #101e32 55%,
    #0d1b2e 80%,
    #0a141f 100%);
  border-top: 1px solid rgba(200, 16, 46, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.85rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  overflow: hidden;
}
/* Subtle red glow line at top */
.rm-v27 .rm-player-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(200, 16, 46, 0.6) 40%,
    rgba(200, 16, 46, 0.8) 50%,
    rgba(200, 16, 46, 0.6) 60%,
    transparent 100%);
  pointer-events: none;
}
/* Glassmorphism inner depth */
.rm-v27 .rm-player-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.025) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.12) 100%);
  pointer-events: none;
}

/* ── Station Identity (Left) ──────────────────────────── */
.rm-v27 .rm-player-info {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
  min-width: 240px;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

/* Cover art / logo thumbnail */
.rm-np-cover-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(200, 16, 46, 0.5);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  background: #070f1c;
}
.rm-np-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.rm-np-cover-wrap:hover .rm-np-cover-img {
  transform: scale(1.07);
}

/* Station badge on cover corner */
.rm-np-badge {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #020710;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  z-index: 2;
}
.rm-np-badge img {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
}

/* Meta text block */
.rm-np-meta-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  overflow: hidden;
  min-width: 0;
}

/* Status label (ŞIMDI ÇALIYOR / OFF / etc.) */
.rm-np-tag {
  font-size: 0.63rem;
  font-weight: 800;
  color: var(--rm-red, #c8102e);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1;
}
.rm-np-tag-dot {
  width: 5px;
  height: 5px;
  background: var(--rm-red, #c8102e);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: rm-pulse-dot 1.5s ease-in-out infinite;
}

/* Artist name (primary metadata) */
.rm-np-artist {
  font-size: 1.0rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

/* Song title */
.rm-np-song {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(220, 232, 244, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* Next up label */
.rm-np-next {
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--rm-text-muted, #7a92ab);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.08rem;
}
.rm-np-next strong {
  color: var(--rm-accent-gold, #d4a017);
  font-weight: 700;
  margin-right: 0.2rem;
}

/* Fade transition on metadata updates */
.rm-np-fade {
  transition: opacity 0.35s ease, transform 0.3s ease;
}
.rm-np-fade.updating {
  opacity: 0.15;
  transform: translateY(2px);
}

/* ── Controls (Center) ────────────────────────────────── */
.rm-v27 .rm-player-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* ── Play Button — Primary focal control ──────────────── */
.rm-v27 .rm-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(145deg, #a50f25 0%, #c8102e 45%, #e01535 100%);
  border: 2px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s;
  box-shadow:
    0 0 0 3px rgba(200, 16, 46, 0.18),
    0 0 22px rgba(200, 16, 46, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.55);
  flex-shrink: 0;
  outline: none;
  position: relative;
}
.rm-v27 .rm-play-btn:hover {
  transform: scale(1.07);
  box-shadow:
    0 0 0 4px rgba(200, 16, 46, 0.28),
    0 0 32px rgba(200, 16, 46, 0.65),
    0 6px 18px rgba(0, 0, 0, 0.6);
  background: linear-gradient(145deg, #b81028 0%, #d9112f 45%, #ef1a3a 100%);
}
.rm-v27 .rm-play-btn:active {
  transform: scale(0.97);
  box-shadow:
    0 0 0 2px rgba(200, 16, 46, 0.3),
    0 0 14px rgba(200, 16, 46, 0.4),
    0 2px 6px rgba(0, 0, 0, 0.5);
}
.rm-v27 .rm-play-btn:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.75);
  outline-offset: 3px;
}
/* Play/Pause icon sizing */
.rm-v27 .rm-play-btn .play-icon,
.rm-v27 .rm-play-btn .pause-icon {
  font-size: 1.1rem;
  line-height: 1;
}
/* Playing state: subtle pulse ring */
body.rm-playing .rm-v27 .rm-play-btn {
  box-shadow:
    0 0 0 5px rgba(200, 16, 46, 0.15),
    0 0 28px rgba(200, 16, 46, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.55);
}

/* ── Secondary Controls (Mute, Volume) ────────────────── */
.rm-v27 .rm-ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  color: rgba(190, 210, 230, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
  outline: none;
}
.rm-v27 .rm-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.rm-v27 .rm-ctrl-btn:focus-visible {
  outline: 2px solid rgba(200, 16, 46, 0.6);
  outline-offset: 2px;
}

/* ── Volume Slider ────────────────────────────────────── */
.rm-v27 .rm-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.rm-v27 .rm-volume-slider:hover {
  background: rgba(255, 255, 255, 0.2);
}
.rm-v27 .rm-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rm-red, #c8102e);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(200, 16, 46, 0.5);
  transition: transform 0.15s, box-shadow 0.15s;
}
.rm-v27 .rm-volume-slider:hover::-webkit-slider-thumb {
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(200, 16, 46, 0.7);
}
.rm-v27 .rm-volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: var(--rm-red, #c8102e);
  cursor: pointer;
}
.rm-v27 .rm-volume-slider:focus-visible {
  outline: 2px solid rgba(200, 16, 46, 0.6);
  outline-offset: 2px;
}

/* ── Inline Mini EQ (Right of controls) ──────────────── */
.rm-v27 .rm-player-bar-eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 28px;
  width: 32px;
  flex-shrink: 0;
}
.rm-v27 .rm-player-bar-eq span {
  flex: 1;
  max-width: 5px;
  height: 4px;
  background: linear-gradient(to top, var(--rm-red, #c8102e) 0%, #ff6b6b 65%, #fbbf24 100%);
  border-radius: 2px 2px 0 0;
  transition: height 0.12s ease;
  opacity: 0.55;
}
body.rm-playing .rm-v27 .rm-player-bar-eq span {
  opacity: 1;
}
body.rm-playing .rm-v27 .rm-player-bar-eq span:nth-child(1) { animation: rm-pb-eq1 0.82s ease-in-out infinite; }
body.rm-playing .rm-v27 .rm-player-bar-eq span:nth-child(2) { animation: rm-pb-eq2 0.61s ease-in-out infinite; }
body.rm-playing .rm-v27 .rm-player-bar-eq span:nth-child(3) { animation: rm-pb-eq3 0.93s ease-in-out infinite; }
body.rm-playing .rm-v27 .rm-player-bar-eq span:nth-child(4) { animation: rm-pb-eq4 0.70s ease-in-out infinite; }
body.rm-playing .rm-v27 .rm-player-bar-eq span:nth-child(5) { animation: rm-pb-eq5 0.86s ease-in-out infinite; }

@keyframes rm-pb-eq1 { 0%,100%{height:5px} 50%{height:22px} }
@keyframes rm-pb-eq2 { 0%,100%{height:12px} 50%{height:6px} }
@keyframes rm-pb-eq3 { 0%,100%{height:20px} 50%{height:4px} }
@keyframes rm-pb-eq4 { 0%,100%{height:8px} 50%{height:24px} }
@keyframes rm-pb-eq5 { 0%,100%{height:16px} 50%{height:6px} }

@media (prefers-reduced-motion: reduce) {
  .rm-v27 .rm-player-bar-eq span,
  .rm-v27 .rm-np-tag-dot { animation: none !important; }
  .rm-v27 .rm-player-bar-eq span { height: 12px !important; }
}

/* ── Extras (Right) ───────────────────────────────────── */
.rm-v27 .rm-player-extras {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.rm-v27 .rm-special-player-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  background: rgba(200, 16, 46, 0.1);
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-radius: 8px;
  color: rgba(200, 16, 46, 0.9);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.rm-v27 .rm-special-player-link:hover {
  background: rgba(200, 16, 46, 0.22);
  color: #ff7a7a;
  border-color: rgba(200, 16, 46, 0.5);
  transform: translateY(-1px);
}

/* ── Player status state visual cues ─────────────────── */
/* OFF state: dim the tag dot, mute the label color */
body.rm-stream-off .rm-np-tag {
  color: var(--rm-text-muted, #7a92ab);
}
body.rm-stream-off .rm-np-tag-dot {
  background: var(--rm-text-muted, #7a92ab);
  animation: none;
}
/* UNKNOWN state */
body.rm-stream-unknown .rm-np-tag {
  color: #d4a017;
}
body.rm-stream-unknown .rm-np-tag-dot {
  background: #d4a017;
  animation: rm-pulse-dot 2.5s ease-in-out infinite;
}
/* ERROR/RETRY state */
body.rm-stream-error .rm-np-tag {
  color: #ff6b6b;
}
body.rm-stream-error .rm-np-tag-dot {
  background: #ff6b6b;
  animation: rm-pulse-dot 0.7s ease-in-out infinite;
}

/* ── aria-live status region (SR-only, visually hidden) ── */
.rm-v27 .rm-player-sr-status {
  display: block;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Player Logo (legacy compat) ──────────────────────── */
.rm-v27 .rm-player-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--rm-red-deep);
}
.rm-v27 .rm-player-station {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.rm-v27 .rm-player-program {
  font-size: 0.74rem;
  color: var(--rm-text-muted);
  font-weight: 500;
}
.rm-v27 .rm-player-status {
  font-size: 0.70rem;
  color: var(--rm-red);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.rm-v27 .rm-live-dot {
  width: 6px; height: 6px;
  background: var(--rm-red);
  border-radius: 50%;
  animation: rm-pulse-dot 1.5s ease-in-out infinite;
}

/* ================================================================
   PORTAL GRID (News 67% + Schedule 33%)
   ================================================================ */
.rm-v27 .rm-portal-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  border-top: 1px solid var(--rm-border-subtle);
}
.rm-v27 .rm-news-col {
  padding: 1.5rem;
  border-right: 1px solid var(--rm-border-subtle);
}
.rm-v27 .rm-schedule-col {
  padding: 1.25rem 1rem;
  background: rgba(5,11,22,0.4);
}
/* Block header */
.rm-v27 .rm-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rm-border-subtle);
}
.rm-v27 .rm-block-header h2 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rm-v27 .rm-view-all {
  font-size: 0.72rem;
  color: var(--rm-text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.rm-v27 .rm-view-all:hover { color: var(--rm-red); }
/* Category tabs */
.rm-v27 .rm-news-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.rm-v27 .rm-tab {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--rm-text-muted);
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.rm-v27 .rm-tab.active,
.rm-v27 .rm-tab:hover {
  background: var(--rm-red);
  border-color: var(--rm-red);
  color: #fff;
}
/* News grid */
.rm-v27 .rm-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.rm-v27 .rm-news-featured {
  grid-column: 1 / -1;
}
/* Schedule styles */
.rm-v27 .rm-day-tabs {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}
.rm-v27 .rm-day-btn {
  padding: 0.28rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--rm-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.rm-v27 .rm-day-btn.active {
  background: var(--rm-red);
  border-color: var(--rm-red);
  color: #fff;
}
.rm-v27 .rm-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(200,16,46,0.3) transparent;
}
.rm-v27 .rm-tz-badge {
  font-size: 0.65rem;
  color: var(--rm-text-dim);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ================================================================
   GALLERY
   ================================================================ */
.rm-v27 .rm-gallery-section {
  padding: 1.5rem;
  border-top: 1px solid var(--rm-border-subtle);
}
.rm-v27 .rm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
}
.rm-v27 .rm-gallery-card {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  background: var(--rm-bg-card);
}
.rm-v27 .rm-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(200,16,46,0.25);
}
.rm-v27 .rm-gallery-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.rm-v27 .rm-gallery-card-label {
  padding: 0.4rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--rm-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================================================================
   FLOATING BUTTON
   ================================================================ */
.rm-v27 .rm-floating-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(135deg, var(--rm-red-deep), var(--rm-red));
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(200,16,46,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.rm-v27 .rm-floating-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(200,16,46,0.65);
}
.rm-v27 .rm-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: rm-pulse-dot 1.5s ease-in-out infinite;
}

/* ================================================================
   FOOTER
   ================================================================ */
.rm-v27 .rm-footer {
  background: #020810;
  border-top: 2px solid var(--rm-red-deep);
  color: var(--rm-text-muted);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 0;
}
.rm-v27 .rm-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: start;
}
.rm-v27 .rm-footer-brand img { height: 52px; }
.rm-v27 .rm-footer-brand p {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
}
.rm-v27 .rm-footer-brand small {
  font-size: 0.7rem;
  color: var(--rm-text-dim);
}
.rm-v27 .rm-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  align-content: start;
}
.rm-v27 .rm-footer-links a {
  color: var(--rm-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.rm-v27 .rm-footer-links a:hover { color: var(--rm-red); }
.rm-v27 .rm-footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.rm-v27 .rm-footer-social a {
  color: var(--rm-text-muted);
  font-size: 1.1rem;
  text-decoration: none;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  transition: all 0.2s;
}
.rm-v27 .rm-footer-social a:hover {
  background: rgba(200,16,46,0.2);
  color: var(--rm-red);
}
.rm-v27 .rm-footer-copy {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--rm-text-dim);
}
.rm-v27 .rm-footer-copy-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes rm-wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
@keyframes rm-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
@keyframes rm-vinyl-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes rm-speaker-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(200,16,46,0.15), inset 0 0 8px rgba(0,0,0,0.5); }
  50% { box-shadow: 0 0 28px rgba(200,16,46,0.4), inset 0 0 8px rgba(0,0,0,0.5); }
}
@keyframes rm-light-blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.85; }
}
@keyframes rm-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes rm-decor-float {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(calc(-50% - 8px)) scale(1.05); }
}
@keyframes rm-eq-bar1 {
  0%, 100% { height: 10px; } 50% { height: 44px; }
}
@keyframes rm-eq-bar2 {
  0%, 100% { height: 24px; } 50% { height: 14px; }
}
@keyframes rm-eq-bar3 {
  0%, 100% { height: 40px; } 50% { height: 8px; }
}
@keyframes rm-eq-bar4 {
  0%, 100% { height: 18px; } 50% { height: 48px; }
}
@keyframes rm-eq-bar5 {
  0%, 100% { height: 32px; } 50% { height: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .rm-v27 .rm-vinyl { animation: none; }
  .rm-v27 .rm-logo-wrap img { animation: none; }
  .rm-v27 .rm-banner-logo { animation: none; }
  .rm-v27 .rm-speaker { animation: none; }
  .rm-v27 .rm-studio-light { animation: none; }
  .rm-v27 .rm-banner-eq span,
  .rm-v27 .rm-soundwaves span { animation: none; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
  .rm-v27 .rm-portal-layout {
    grid-template-columns: 1fr;
  }
  .rm-v27 .rm-ornament { display: none; }
}
@media (max-width: 900px) {
  .rm-v27 .rm-portal-grid {
    grid-template-columns: 1fr;
  }
  .rm-v27 .rm-news-col {
    border-right: none;
    border-bottom: 1px solid var(--rm-border-subtle);
  }
  .rm-v27 .rm-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .rm-v27 .rm-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .rm-v27 .rm-footer-social {
    flex-direction: row;
    justify-content: center;
  }
  .rm-v27 .rm-footer-links {
    justify-content: center;
  }
}
/* Tablet player bar optimization (641px - 960px) */
@media (min-width: 641px) and (max-width: 960px) {
  .rm-v27 .rm-player-bar {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }
  .rm-v27 .rm-player-info {
    min-width: 200px;
    max-width: 280px;
    gap: 0.6rem;
  }
  .rm-v27 .rm-player-controls {
    gap: 0.5rem;
  }
  .rm-v27 .rm-volume-slider {
    width: 65px;
  }
  .rm-v27 .rm-player-bar-eq {
    display: none;
  }
}

@media (max-width: 640px) {
  .rm-v27 .rm-menu { display: none; }
  .rm-v27 .rm-menu.open { display: flex; flex-direction: column; width: 100%; }
  .rm-v27 .rm-hamburger { display: flex; }
  .rm-v27 .rm-nav-inner { flex-direction: column; align-items: stretch; }
  .rm-v27 .rm-soundwaves { display: none; }
  .rm-v27 .rm-brand-row { gap: 0; }
  /* Player bar: stacked on mobile */
  .rm-v27 .rm-player-bar {
    flex-direction: column;
    text-align: center;
    padding: 0.7rem 1rem;
    gap: 0.65rem;
  }
  .rm-v27 .rm-player-info {
    min-width: unset;
    max-width: 100%;
    justify-content: center;
  }
  .rm-v27 .rm-player-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }
  .rm-v27 .rm-player-bar-eq { display: none; }
  .rm-v27 .rm-player-extras { justify-content: center; }
  .rm-v27 .rm-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .rm-v27 .rm-news-grid { grid-template-columns: 1fr; }
  .rm-v27 .rm-banner { aspect-ratio: unset; min-height: 180px; }
}
@media (max-width: 400px) {
  .rm-v27 .rm-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .rm-v27 .rm-volume-slider { width: 70px; }
  .rm-v27 .rm-floating-btn span:last-child { display: none; }
  .rm-v27 .rm-play-btn { width: 56px; height: 56px; }
}



