/*
Theme Name: CyberChords
Theme URI: https://cyberchords.local
Author: Mario
Description: Tema custom CyberChords
Version: 7.42
Text Domain: cyberchords
*/

:root {
  --cc-bg:     #060c18;
  --cc-panel:  rgba(8,16,32,0.82);
  --cc-border: rgba(56,189,248,0.18);
  --cc-blue:   #38bdf8;
  --cc-orange: #f97316;
  --cc-text:   #eef6ff;
  --cc-muted:  #94c8e8;
  --cc-radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { margin-top: 0 !important; scroll-behavior: smooth; }

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--cc-bg);
  color: var(--cc-text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

#cc-site {
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(56,189,248,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ═══ HEADER ═══════════════════════════════════════ */
#cc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4,8,18,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cc-border);
  box-shadow: 0 1px 0 rgba(56,189,248,0.1), 0 4px 30px rgba(0,0,0,0.5);
}

#cc-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* LOGO — dimensioni fisse, nessun override */
#cc-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

#cc-logo-img {
  display: block;
  height: 60px;
  width: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(56,189,248,0.6));
}

#cc-logo-text { display: none; }

/* NAV */
#cc-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.cc-navlink {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(200,230,248,0.85);
  letter-spacing: 0.03em;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.cc-navlink:hover {
  color: #e0f4ff;
  background: rgba(56,189,248,0.08);
  border-color: rgba(56,189,248,0.25);
  box-shadow: 0 0 10px rgba(56,189,248,0.3);
}

/* ACTIONS */
#cc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#cc-login-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 10px;
  border: 1px solid rgba(200,230,248,0.40);
  background: rgba(8,20,44,0.6);
  color: var(--cc-text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.18s ease;
  text-decoration: none;
}

#cc-login-btn:hover {
  background: rgba(56,189,248,0.12);
  border-color: rgba(56,189,248,0.5);
  box-shadow: 0 0 10px rgba(56,189,248,0.3);
}

#cc-search-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(200,230,248,0.25);
  background: rgba(8,20,44,0.5);
  color: var(--cc-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

#cc-search-btn:hover {
  background: rgba(56,189,248,0.1);
  border-color: rgba(56,189,248,0.4);
  color: var(--cc-blue);
}

#cc-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

#cc-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cc-blue);
  border-radius: 2px;
}

#cc-mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px 28px 18px;
  border-top: 1px solid var(--cc-border);
  gap: 4px;
}

#cc-mobile-nav.open { display: flex; }
#cc-mobile-nav .cc-navlink { font-size: 16px; padding: 10px 14px; }

/* ═══ HERO ══════════════════════════════════════════ */
#cc-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 80px 80px 60px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#cc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(6,12,24,0.88) 0%,
    rgba(6,12,24,0.55) 40%,
    rgba(6,12,24,0.08) 100%
  );
  z-index: 1;
}

#cc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

#cc-hero-eyebrow {
  font-size: clamp(1.1rem,1.8vw,1.4rem);
  font-weight: 600;
  color: rgba(220,240,255,0.9);
  margin-bottom: 10px;
}

#cc-hero-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
}

.cc-title-blue {
  display: block;
  font-size: clamp(2.4rem,5vw,4.2rem);
  background: linear-gradient(90deg,#38bdf8,#67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(56,189,248,0.5));
}

.cc-title-white {
  display: block;
  font-size: clamp(2.4rem,5vw,4.2rem);
  color: #f0f9ff;
  font-style: italic;
}

#cc-hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(180,215,240,0.85);
  margin-bottom: 32px;
}

/* ═══ BOTTONI ═══════════════════════════════════════ */
.btn-global-style {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  border: 1px solid rgba(200,230,248,0.35);
  background: rgba(8,20,44,0.60);
  color: #eef6ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  width: 100%;
}

.btn-global-style:hover {
  background: rgba(56,189,248,0.14);
  border-color: rgba(56,189,248,0.55);
  box-shadow: 0 0 14px rgba(56,189,248,0.30);
  color: #e0f4ff;
}

.btn-global-style.btn-plus-variant {
  border-color: rgba(249,115,22,0.50);
  background: rgba(40,15,3,0.65);
}

.btn-global-style.btn-plus-variant:hover {
  background: rgba(249,115,22,0.16);
  border-color: rgba(249,115,22,0.75);
  box-shadow: 0 0 16px rgba(249,115,22,0.35);
}

.cc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  border: 1px solid rgba(56,189,248,0.5);
  background: linear-gradient(135deg,rgba(8,30,70,0.9),rgba(6,20,50,0.95));
  color: var(--cc-text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 0 18px rgba(56,189,248,0.3);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.cc-btn-primary:hover {
  box-shadow: 0 0 28px rgba(56,189,248,0.55);
  transform: translateY(-2px);
}

.cc-btn-play-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(56,189,248,0.3);
  background: rgba(8,20,44,0.7);
  color: var(--cc-text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  width: 100%;
  justify-content: center;
}

.cc-btn-play-sm:hover {
  background: rgba(56,189,248,0.15);
  box-shadow: 0 0 10px rgba(56,189,248,0.3);
}

.cc-play-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.3);
  background: rgba(8,20,44,0.7);
  color: var(--cc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

/* ═══ SEZIONI ════════════════════════════════════════ */
.cc-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 28px;
}

.cc-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cc-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(56,189,248,0.22);
  border-radius: var(--cc-radius);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 4px 24px rgba(0,0,0,0.20);
}

/* ═══ SEZIONE INFERIORE ══════════════════════════════ */
#cc-lower {
  background-image: url('http://192.168.1.30:8082/wp-content/themes/cyberchords/assets/backgroundbis.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: transparent;
}

/* ═══ TOP 10 ═════════════════════════════════════════ */
#cc-top10 { padding-top: 32px; }

#cc-top10-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

#cc-tracklist {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc-track {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr 36px auto 30px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.18s;
}

.cc-track:hover { background: rgba(56,189,248,0.08); }

.cc-track-cover {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid rgba(56,189,248,0.15);
}

.cc-track-title { font-size: 1.1rem; font-weight: 700; }
.cc-track-artist { font-size: 0.9rem; color: var(--cc-muted); margin-top: 2px; }

.cc-track-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(148,200,232,0.6);
  font-size: 0.82rem;
  margin-top: 6px;
}

.cc-track-bar {
  margin-top: 8px;
  height: 3px;
  background: rgba(56,189,248,0.15);
  border-radius: 99px;
  overflow: hidden;
}

.cc-track-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cc-blue), var(--cc-orange));
  border-radius: 99px;
}

.cc-track-pill {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(56,189,248,0.25);
  background: rgba(8,20,44,0.7);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--cc-muted);
}

#cc-new-cards {
  display: grid;
  grid-template-rows: repeat(3,1fr);
  gap: 12px;
}

.cc-new-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(56,189,248,0.22);
  border-radius: var(--cc-radius);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 100px 1fr;
}

.cc-new-thumb { width: 100px; min-height: 100px; }

.cc-new-card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}

.cc-new-card-title { font-size: 1rem; font-weight: 700; }
.cc-new-card-artist { font-size: 0.85rem; color: var(--cc-muted); }

/* ═══ FREE + PLUS ════════════════════════════════════ */
#cc-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 48px;
}

#cc-free-box {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#cc-free-icon { font-size: 2rem; }
#cc-free-title { font-size: 1.55rem; font-weight: 700; line-height: 1.25; }
#cc-free-desc { font-size: 1rem; color: var(--cc-muted); line-height: 1.5; }

#cc-plus-box {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

#cc-plus-title { font-size: 1.55rem; font-weight: 700; position: relative; z-index: 2; }
#cc-plus-title span { color: var(--cc-orange); }

#cc-plus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
}

#cc-plus-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: rgba(200,230,248,0.85);
}

#cc-plus-list li svg { color: var(--cc-blue); flex-shrink: 0; }

#cc-plus-box .btn-global-style { position: relative; z-index: 2; }

/* TESTA CAVALLO nel box PLUS */
#cc-plus-box::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  background-image: url('http://192.168.1.30:8082/wp-content/themes/cyberchords/assets/testa-cavallo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  mix-blend-mode: screen;
  opacity: 0.92;
  z-index: 0;
  mask-image: linear-gradient(to left, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 40%, transparent 100%);
}

/* ═══ FOOTER ═════════════════════════════════════════ */
#cc-footer {
  border-top: 1px solid var(--cc-border);
  padding: 20px 28px;
  background: rgba(4,8,18,0.8);
}

#cc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#cc-footer-social { display: flex; gap: 12px; }

#cc-footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.2);
  background: rgba(8,20,44,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cc-muted);
  transition: all 0.18s;
  text-decoration: none;
}

#cc-footer-social a:hover {
  border-color: rgba(56,189,248,0.5);
  color: var(--cc-blue);
}

#cc-footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(148,200,232,0.6);
}

#cc-footer-links a:hover { color: var(--cc-blue); }

/* ═══ RESPONSIVE ══════════════════════════════════════ */
@media (max-width: 900px) {
  #cc-top10-grid { grid-template-columns: 1fr; }
  #cc-new-cards { grid-template-columns: repeat(3,1fr); }
  #cc-bottom { grid-template-columns: 1fr; }
  #cc-hero { padding: 60px 28px; }
}

@media (max-width: 768px) {
  #cc-nav { display: none; }
  #cc-hamburger { display: flex; }
}

@media (max-width: 540px) {
  #cc-new-cards { grid-template-columns: 1fr; }
  .cc-track { grid-template-columns: 60px 1fr 34px; }
  .cc-track-pill { display: none; }
  #cc-hero { min-height: auto; padding: 40px 20px; }
}

/* TOP 10 scroll interno */
#cc-tracklist {
  max-height: 420px !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(56,189,248,0.4) transparent !important;
}
#cc-tracklist::-webkit-scrollbar { width: 4px; }
#cc-tracklist::-webkit-scrollbar-track { background: transparent; }
#cc-tracklist::-webkit-scrollbar-thumb { background: rgba(56,189,248,0.4); border-radius: 99px; }

/* NEW ENTRY wrap */
#cc-new-cards-wrap { display: flex; flex-direction: column; }
#cc-new-cards { display: grid; grid-template-rows: repeat(3,1fr); gap: 12px; flex: 1; }

/* NEW ENTRY — stesso layout Top 10, scroll interno */
#cc-newentry-wrap {
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 0;
}

.cc-newentry-title {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 4px 4px 12px;
  color: var(--cc-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

#cc-new-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  max-height: 420px !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(56,189,248,0.4) transparent !important;
}

#cc-new-cards::-webkit-scrollbar { width: 4px; }
#cc-new-cards::-webkit-scrollbar-track { background: transparent; }
#cc-new-cards::-webkit-scrollbar-thumb { background: rgba(56,189,248,0.4); border-radius: 99px; }

/* Card New Entry — stessa altezza traccia Top 10 */
.cc-new-card {
  display: grid !important;
  grid-template-columns: 72px 1fr !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  min-height: 72px !important;
  border: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
}

.cc-new-thumb {
  width: 72px !important;
  height: 72px !important;
  border-radius: 10px !important;
  flex-shrink: 0;
}

.cc-new-card-body {
  padding: 8px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
}

.cc-new-card-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--cc-text) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-new-card-artist {
  font-size: 0.85rem !important;
  color: var(--cc-muted) !important;
}

.cc-btn-play-sm {
  margin-top: 4px !important;
  padding: 5px 12px !important;
  font-size: 13px !important;
}

/* NEW ENTRY scroll fix definitivo */
#cc-newentry-wrap {
  max-height: 420px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

#cc-new-cards {
  overflow-y: auto !important;
  flex: 1 !important;
}

.cc-new-card {
  min-height: unset !important;
  height: 72px !important;
  max-height: 72px !important;
}

.cc-new-thumb {
  width: 72px !important;
  height: 72px !important;
  min-height: unset !important;
}

.cc-new-card-body {
  overflow: hidden !important;
}

/* Nascondi il pulsante Play nelle card per guadagnare spazio */
.cc-new-card .cc-btn-play-sm {
  display: none !important;
}

/* NEW ENTRY — identico a Top 10 */
#cc-newentry-wrap {
  max-height: 420px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 12px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(56,189,248,0.4) transparent !important;
}

#cc-newentry-wrap::-webkit-scrollbar { width: 4px !important; }
#cc-newentry-wrap::-webkit-scrollbar-track { background: transparent !important; }
#cc-newentry-wrap::-webkit-scrollbar-thumb { background: rgba(56,189,248,0.4) !important; border-radius: 99px !important; }

#cc-new-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  overflow: visible !important;
  max-height: none !important;
}

.cc-new-card {
  height: 72px !important;
  max-height: 72px !important;
  min-height: 72px !important;
  flex-shrink: 0 !important;
}

.cc-new-thumb {
  width: 72px !important;
  height: 72px !important;
  min-height: unset !important;
}

/* NEW ENTRY — identica a Top 10 */
#cc-newentry-wrap,
.cc-col .cc-scroll-box {
  max-height: 420px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(56,189,248,0.4) transparent !important;
}

/* Forza tutte le tracce identiche in entrambe le colonne */
.cc-col .cc-track {
  grid-template-columns: 72px 1fr 36px auto !important;
  min-height: 72px !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  position: relative !important;
}

/* Forza pill visibile in New Entry */
.cc-col .cc-track-pill {
  display: flex !important;
  align-items: center !important;
}

/* Altezza colonne uguale */
#cc-top10-grid {
  align-items: stretch !important;
}

.cc-col {
  height: 100% !important;
}

.cc-scroll-box {
  flex: 1 !important;
}

/* COLONNE UGUALI — 50% esatto ciascuna */
#cc-top10-grid {
  grid-template-columns: 1fr 1fr !important;
  align-items: start !important;
}

/* Box identici in larghezza */
.cc-col {
  width: 100% !important;
  min-width: 0 !important;
}

.cc-scroll-box {
  width: 100% !important;
  min-width: 0 !important;
}

/* Tracce — larghezza piena */
.cc-track {
  width: 100% !important;
  min-width: 0 !important;
}

/* Testo non va fuori dal box */
.cc-track-title,
.cc-track-artist {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  max-width: 100% !important;
}

/* BOX FREE e PLUS stessa altezza */
#cc-bottom {
  align-items: stretch !important;
}

#cc-free-box,
#cc-plus-box {
  display: flex !important;
  flex-direction: column !important;
  min-height: 280px !important;
}

/* Pulsanti in fondo al box */
#cc-free-box .btn-global-style,
#cc-plus-box .btn-global-style {
  margin-top: auto !important;
  padding: 14px 24px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* CAVALLO — elimina quadrati neri */
#cc-plus-box::after {
  mix-blend-mode: screen !important;
  opacity: 1 !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Il panel non deve avere sfondo scuro che contrasta */
#cc-plus-box {
  background: rgba(255,255,255,0.05) !important;
}

/* LOGO RESET DEFINITIVO */
#cc-logo-img {
  height: 44px !important;
  width: auto !important;
  max-width: 200px !important;
  min-width: unset !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 10px rgba(56,189,248,0.6)) !important;
}

#cc-logo-img {
  height: 52px !important;
  max-width: 220px !important;
}

/* DIVENTA CREATOR — bordo ciano glow */
#cc-free-box .btn-global-style {
  border: 1px solid rgba(56,189,248,0.55) !important;
  background: rgba(6,18,44,0.65) !important;
  box-shadow: 0 0 14px rgba(56,189,248,0.2), inset 0 0 14px rgba(56,189,248,0.05) !important;
  letter-spacing: 0.05em !important;
}

#cc-free-box .btn-global-style:hover {
  box-shadow: 0 0 24px rgba(56,189,248,0.45) !important;
  border-color: rgba(56,189,248,0.8) !important;
}

/* PASSA A PLUS — bordo arancione glow */
#cc-plus-box .btn-global-style {
  border: 1px solid rgba(249,115,22,0.65) !important;
  background: rgba(40,12,3,0.75) !important;
  box-shadow: 0 0 18px rgba(249,115,22,0.3), inset 0 0 14px rgba(249,115,22,0.06) !important;
  letter-spacing: 0.05em !important;
}

#cc-plus-box .btn-global-style:hover {
  box-shadow: 0 0 28px rgba(249,115,22,0.55) !important;
  border-color: rgba(249,115,22,0.9) !important;
}

/* RESET forma pulsanti — angoli uniformi 8px */
#cc-free-box .btn-global-style,
#cc-plus-box .btn-global-style {
  border-radius: 8px !important;
  -webkit-border-radius: 8px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 15px 20px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
}

/* PULSANTI FORMA DEFINITIVA */
a.btn-global-style,
.btn-global-style {
  border-radius: 8px !important;
  -webkit-border-radius: 8px !important;
  -moz-border-radius: 8px !important;
  padding: 14px 28px !important;
  height: auto !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

div#cc-free-box a.btn-global-style {
  border: 1px solid rgba(56,189,248,0.6) !important;
  background: rgba(6,18,44,0.65) !important;
  box-shadow: 0 0 14px rgba(56,189,248,0.2) !important;
  border-radius: 8px !important;
}

div#cc-plus-box a.btn-global-style {
  border: 2px solid rgba(249,115,22,0.85) !important;
  background: rgba(40,12,3,0.75) !important;
  box-shadow: 0 0 20px rgba(249,115,22,0.45) !important;
  border-radius: 8px !important;
}

/* VINILE ROTANTE nel box Ascolta gratis */
#cc-free-box {
  position: relative !important;
  overflow: hidden !important;
}

#cc-vinyl {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #0a0f1a 18%, transparent 18.5%),
    repeating-radial-gradient(circle at 50% 50%,
      rgba(56,189,248,0.15) 0px, rgba(56,189,248,0.08) 4px,
      rgba(6,12,28,0.9) 4px, rgba(6,12,28,0.9) 8px
    );
  border: 2px solid rgba(56,189,248,0.3);
  box-shadow:
    0 0 20px rgba(56,189,248,0.25),
    0 0 40px rgba(56,189,248,0.1),
    inset 0 0 20px rgba(56,189,248,0.1);
  animation: vinyl-spin 4s linear infinite;
  z-index: 0;
  opacity: 0.75;
  mask-image: linear-gradient(135deg, transparent 20%, black 60%);
  -webkit-mask-image: linear-gradient(135deg, transparent 20%, black 60%);
}

/* Centro del disco */
#cc-vinyl::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, #38bdf8 0%, #0ea5e9 50%, #0a0f1a 70%);
  box-shadow: 0 0 10px rgba(56,189,248,0.6);
}

@keyframes vinyl-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Testo e pulsante sopra il vinile */
#cc-free-box > * {
  position: relative;
  z-index: 2;
}

/* CAVALLO RIBALTATO 180 gradi orizzontale */
#cc-free-box::after {
  transform: scaleX(-1) !important;
}

/* DISABILITA VINILE */
#cc-vinyl { display: none !important; }
@keyframes vinyl-spin { from {} to {} }

/* CAVALLO EQUALIZZATORE nel box Ascolta gratis */
#cc-free-box {
  position: relative !important;
  overflow: hidden !important;
}

#cc-free-box::after {
  content: '' !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 55% !important;
  height: 100% !important;
  background-image: url('http://192.168.1.30:8082/wp-content/themes/cyberchords/assets/free-art.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: right bottom !important;
  mix-blend-mode: screen !important;
  opacity: 0.9 !important;
  z-index: 0 !important;
  transform: scaleX(-1) !important;
  mask-image: linear-gradient(to left, black 40%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(to left, black 40%, transparent 100%) !important;
}

#cc-free-box > * {
  position: relative !important;
  z-index: 2 !important;
}

#cc-free-box::after {
  right: -30px !important;
  background-position: right bottom !important;
}

/* CORNICE NAVBAR */
#cc-header {
  position: sticky !important;
  overflow: visible !important;
}

#cc-header::after {
  content: '' !important;
  position: absolute !important;
  bottom: -18px !important;
  left: 0 !important;
  width: 100% !important;
  height: 60px !important;
  background-image: url('http://192.168.1.30:8082/wp-content/themes/cyberchords/assets/navbar-frame.png') !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  mix-blend-mode: screen !important;
  pointer-events: none !important;
  z-index: 101 !important;
}

/* CORNICE NAVBAR — altezza corretta */
#cc-header::after {
  bottom: -30px !important;
  height: 120px !important;
  background-size: 100% auto !important;
}

/* CORNICE — sposta in alto */
#cc-header::after {
  bottom: auto !important;
  top: -20px !important;
  height: 130px !important;
  background-size: 100% auto !important;
}

/* CORNICE — posizione corretta */
#cc-header::after {
  top: auto !important;
  bottom: -50px !important;
  height: 130px !important;
  background-size: 100% auto !important;
}

/* CORNICE — aggiustamento fino */
#cc-header::after {
  top: -8px !important;
  bottom: auto !important;
  height: 145px !important;
  background-size: 100% auto !important;
}

/* CORNICE — centrata sull'header */
#cc-header::after {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  height: 160px !important;
  background-size: 100% 100% !important;
}

/* PULSANTI MENU — abbassati leggermente */
#cc-header-inner {
  padding-top: 8px !important;
}

/* CORNICE — adattata al crop */
#cc-header::after {
  top: 0 !important;
  bottom: 0 !important;
  height: 100% !important;
  transform: none !important;
  background-size: 100% 100% !important;
}

/* CORNICE — leggermente più larga per non tagliare logo e login */
#cc-header::after {
  left: -10px !important;
  width: calc(100% + 20px) !important;
  background-size: 100% 100% !important;
}

/* CORNICE — più alta per dare spazio a logo e login */
#cc-header {
  height: 70px !important;
}

#cc-header-inner {
  height: 70px !important;
}

#cc-header::after {
  top: -8px !important;
  bottom: -8px !important;
  height: calc(100% + 16px) !important;
  left: -10px !important;
  width: calc(100% + 20px) !important;
}

/* LOGO e LOGIN più piccoli */
#cc-logo-img {
  height: 42px !important;
}

#cc-login-btn {
  padding: 7px 16px !important;
  font-size: 13px !important;
}

#cc-search-btn {
  width: 32px !important;
  height: 32px !important;
}

/* STACCO — hero si estende fino al Top 10 */
#cc-hero {
  min-height: 100vh !important;
  margin-bottom: 0 !important;
}

/* Background.png continua sotto hero */
#cc-site {
  background-image:
    linear-gradient(rgba(56,189,248,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.03) 1px, transparent 1px),
    url('http://192.168.1.30:8082/wp-content/themes/cyberchords/assets/background.png') !important;
  background-size: 60px 60px, 60px 60px, cover !important;
  background-position: 0 0, 0 0, center top !important;
  background-repeat: repeat, repeat, no-repeat !important;
  background-attachment: scroll, scroll, fixed !important;
}

/* Togli sfondo separato da cc-lower */
#cc-lower {
  background-image: url('http://192.168.1.30:8082/wp-content/themes/cyberchords/assets/backgroundbis.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-attachment: scroll !important;
}

/* Overlay scuro sulla sezione lower per leggibilità */
#cc-top10, #cc-bottom {
  position: relative !important;
}

/* DUE SFONDI IN SEQUENZA VERTICALE */
#cc-site {
  background-image:
    url('http://192.168.1.30:8082/wp-content/themes/cyberchords/assets/background.png'),
    url('http://192.168.1.30:8082/wp-content/themes/cyberchords/assets/backgroundbis.png') !important;
  background-size: 100% auto, 100% auto !important;
  background-position: center top, center 100vh !important;
  background-repeat: no-repeat, no-repeat !important;
  background-attachment: scroll, scroll !important;
}

/* Togli sfondi separati */
#cc-lower {
  background-image: none !important;
  background: transparent !important;
}

#cc-hero {
  background-image: none !important;
}

/* PAGINA LA VISIONE */
#cc-vision {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#cc-vision img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(56,189,248,0.2);
}

/* BARRA GENERI */
#cc-genre-bar {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: rgba(4,8,18,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56,189,248,0.15);
  padding: 10px 28px;
}

#cc-genre-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
#cc-genre-inner::-webkit-scrollbar { display: none; }

.cc-genre-btn {
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(56,189,248,0.25);
  background: rgba(8,20,44,0.6);
  color: var(--cc-muted);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.cc-genre-btn:hover {
  border-color: rgba(56,189,248,0.5);
  color: var(--cc-text);
  background: rgba(56,189,248,0.1);
}

.cc-genre-btn.active {
  border-color: var(--cc-blue);
  background: rgba(56,189,248,0.2);
  color: var(--cc-blue);
  box-shadow: 0 0 10px rgba(56,189,248,0.3);
}

.cc-genre-tag {
  color: var(--cc-blue);
  font-size: 0.75rem;
}

/* TOP 100 PAGE — griglia corretta */
#cc-top100-grid {
  display: grid !important;
  grid-template-columns: 1fr 100px 1fr !important;
  gap: 16px !important;
  align-items: start !important;
}

/* Titoli non troncati nella top 100 */
#cc-top100-list .cc-track-title,
#cc-top100-right .cc-track-title {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
}

/* Cover più piccola per dare spazio al titolo */
#cc-top100-list .cc-track-cover,
#cc-top100-right .cc-track-cover {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
}

#cc-top100-list .cc-track,
#cc-top100-right .cc-track {
  grid-template-columns: 32px 56px 1fr 32px auto !important;
  min-height: 60px !important;
}

/* TOP 100 PAGE — sfondo backgroundbis */
body.page-template-page-top100 #cc-site {
  background-image:
    linear-gradient(rgba(56,189,248,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.03) 1px, transparent 1px),
    url('http://192.168.1.30:8082/wp-content/themes/cyberchords/assets/backgroundbis.png') !important;
  background-size: 60px 60px, 60px 60px, cover !important;
  background-position: 0 0, 0 0, center top !important;
  background-repeat: repeat, repeat, no-repeat !important;
  background-attachment: scroll, scroll, fixed !important;
}

/* TOP 100 — colonne più strette, centro più largo */
#cc-top100-grid {
  grid-template-columns: 1fr 160px 1fr !important;
  gap: 12px !important;
}

/* CENTRO — due cavalli contrapposti */
#cc-top100-center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  height: 100% !important;
  min-height: 500px !important;
}

#cc-top100-center .cc-horse-left {
  width: 160px !important;
  height: 260px !important;
  background-image: url('http://192.168.1.30:8082/wp-content/themes/cyberchords/assets/free-art.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  mix-blend-mode: screen !important;
  opacity: 0.9 !important;
  transform: scaleX(1) !important;
}

#cc-top100-center .cc-horse-right {
  width: 160px !important;
  height: 260px !important;
  background-image: url('http://192.168.1.30:8082/wp-content/themes/cyberchords/assets/free-art.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  mix-blend-mode: screen !important;
  opacity: 0.9 !important;
  transform: scaleX(-1) !important;
}

/* RIMUOVI ::after dai titoli colonna */
.cc-col-title::after {
  display: none !important;
  content: none !important;
}

/* Titolo colonna flex inline */
.cc-col-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-direction: row !important;
}

.cc-col-title img {
  display: inline-block !important;
  vertical-align: middle !important;
  height: 32px !important;
  width: auto !important;
  flex-shrink: 0 !important;
}

/* TESTA CAVALLO più grande nei titoli */
.cc-col-title img {
  height: 44px !important;
}

/* YOUTUBE LIVE — cavalli più grandi e ruotati */
.cc-live-horse {
  width: 220px !important;
  height: 320px !important;
}

.cc-live-horse-left {
  transform: scaleX(1) !important;
}

.cc-live-horse-right {
  transform: scaleX(-1) !important;
}

/* Video leggermente più grande */
#cc-live-player-wrap {
  max-width: 1000px !important;
  grid-template-columns: 220px 1fr 220px !important;
}

/* BANNER ADS */
.cc-ad-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
}

.cc-ad-logo {
  height: 24px;
  width: auto;
  border-radius: 4px;
  vertical-align: middle;
  object-fit: contain;
}

.cc-ad-icon {
  font-size: 16px;
}

.cc-ad-text {
  font-size: 14px;
  font-weight: 600;
  color: #fca5a5;
  letter-spacing: 0.03em;
}

.cc-ad-sep {
  color: rgba(252,165,165,0.4);
  margin-left: 8px;
  font-size: 14px;
}

/* BANNER ROLLING FIX */
#cc-live-banner {
  overflow: hidden !important;
  white-space: nowrap !important;
}

#cc-live-banner-inner {
  display: inline-block !important;
  white-space: nowrap !important;
  animation: cc-scroll 60s linear infinite !important;
  padding-left: 100vw !important;
}

/* BANNER FIX DEFINITIVO */
#cc-live-banner {
  position: relative !important;
  overflow: hidden !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
}

#cc-live-banner-inner {
  position: absolute !important;
  white-space: nowrap !important;
  animation: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
}

/* ============================================================
   CYBERCHORDS — Creator Directory & Profile CSS
   Aggiunto in coda a style.css
   ============================================================ */

/* ---- Directory: filtri ---- */
.cc-creators-page { max-width: 860px; margin: 0 auto; padding: 28px 20px 60px; }

.cc-creators-header { margin-bottom: 20px; }
.cc-creators-header h1 { font-size: 28px; font-weight: 500; color: #a78bfa; margin: 0 0 4px; }
.cc-creators-header p  { font-size: 13px; color: rgba(255,255,255,0.38); margin: 0; }

.cc-creators-filters { margin-bottom: 0; }
.cc-search-row {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 8px 14px; margin-bottom: 10px;
}
.cc-search-row svg { flex-shrink: 0; stroke: rgba(255,255,255,0.3); }
.cc-search-input {
  background: transparent; border: none; outline: none;
  font-size: 13px; color: rgba(255,255,255,0.7); flex: 1; width: 100%;
}
.cc-search-input::placeholder { color: rgba(255,255,255,0.3); }
.cc-search-clear { font-size: 16px; color: rgba(255,255,255,0.3); text-decoration: none; line-height: 1; }
.cc-search-clear:hover { color: rgba(255,255,255,0.7); }

.cc-genre-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.cc-pill {
  font-size: 11px; padding: 4px 14px; border-radius: 20px;
  border: 0.5px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4); text-decoration: none; transition: all 0.15s;
}
.cc-pill:hover { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.cc-pill.on {
  background: rgba(167,139,250,0.12);
  border-color: rgba(167,139,250,0.4);
  color: #a78bfa;
}

.cc-results-bar {
  font-size: 11px; color: rgba(255,255,255,0.25);
  padding: 6px 0 12px;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
  margin-bottom: 4px;
}

/* ---- Directory: lista righe ---- */
.cc-creator-list { display: flex; flex-direction: column; }
.cc-creator-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 0.5px solid rgba(255,255,255,0.05);
  text-decoration: none; cursor: pointer; transition: background 0.12s;
}
.cc-creator-row:hover { background: rgba(255,255,255,0.02); border-radius: 8px; padding-left: 8px; padding-right: 8px; }
.cc-creator-row:last-child { border-bottom: none; }

.cc-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500; flex-shrink: 0;
  background: rgba(167,139,250,0.18); color: #a78bfa;
}
.cc-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.cc-col-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cc-row-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cc-alias { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); }
.cc-loc { font-size: 12px; color: rgba(255,255,255,0.38); display: flex; align-items: center; gap: 4px; }
.cc-flag { font-size: 14px; line-height: 1; }

.cc-genre-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.cc-genre-tag { font-size: 10px; padding: 2px 8px; border-radius: 20px; }
.gt-electronic   { background: rgba(167,139,250,0.1); color: #a78bfa;  border: 0.5px solid rgba(167,139,250,0.25); }
.gt-ambient      { background: rgba(29,158,117,0.1);  color: #5DCAA5;  border: 0.5px solid rgba(93,202,165,0.25); }
.gt-hiphop       { background: rgba(212,83,126,0.1);  color: #ED93B1;  border: 0.5px solid rgba(212,83,126,0.25); }
.gt-cinematic    { background: rgba(186,117,23,0.1);  color: #FAC775;  border: 0.5px solid rgba(250,199,117,0.25); }
.gt-experimental { background: rgba(216,90,48,0.1);   color: #F0997B;  border: 0.5px solid rgba(216,90,48,0.25); }
.gt-lofi         { background: rgba(93,202,165,0.1);  color: #9FE1CB;  border: 0.5px solid rgba(93,202,165,0.2); }
.gt-classical    { background: rgba(55,138,221,0.1);  color: #85B7EB;  border: 0.5px solid rgba(55,138,221,0.25); }
.gt-default      { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.4); border: 0.5px solid rgba(255,255,255,0.1); }

.cc-row-bottom { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cc-bio   { font-size: 12px; color: rgba(255,255,255,0.3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 400px; }
.cc-tools { font-size: 11px; color: rgba(167,139,250,0.6); }

.cc-col-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.cc-rank      { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.45); }
.cc-rank.rank-hi { color: #5DCAA5; }
.cc-stat-row  { display: flex; gap: 14px; }
.cc-stat      { display: flex; flex-direction: column; align-items: flex-end; }
.cc-stat-label { font-size: 10px; color: rgba(255,255,255,0.28); }
.cc-stat-val   { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6); }

.cc-arrow { color: rgba(255,255,255,0.15); font-size: 18px; flex-shrink: 0; }
.cc-empty { font-size: 13px; color: rgba(255,255,255,0.3); padding: 20px 0; }

/* ---- Profilo pubblico creator ---- */
.cc-profile-page { max-width: 860px; margin: 0 auto; padding: 28px 20px 60px; }
.cc-profile-back { margin-bottom: 16px; }
.cc-profile-back a { font-size: 13px; color: rgba(255,255,255,0.38); text-decoration: none; }
.cc-profile-back a:hover { color: rgba(255,255,255,0.7); }

.cc-profile-hero {
  display: flex; gap: 20px; align-items: flex-start;
  padding-bottom: 24px; border-bottom: 0.5px solid rgba(255,255,255,0.06);
  margin-bottom: 28px; flex-wrap: wrap;
}
.cc-profile-avatar {
  width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0;
  background: rgba(167,139,250,0.18); color: #a78bfa;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 500;
}
.cc-profile-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.cc-profile-info { flex: 1; min-width: 0; }
.cc-profile-name { font-size: 24px; font-weight: 500; color: rgba(255,255,255,0.92); margin: 0 0 8px; }
.cc-profile-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.cc-profile-loc    { font-size: 12px; color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 4px; }
.cc-profile-sep    { color: rgba(255,255,255,0.2); }
.cc-profile-genre  { font-size: 12px; color: #a78bfa; }
.cc-profile-joined { font-size: 12px; color: rgba(255,255,255,0.3); }
.cc-profile-bio    { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 12px; }

.cc-profile-socials { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 0; }
.cc-social-pill {
  font-size: 11px; padding: 4px 12px; border-radius: 20px;
  border: 0.5px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.4);
  text-decoration: none; transition: all 0.15s;
}
.cc-social-pill:hover { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.cc-collab-pill { background: rgba(29,158,117,0.1); color: #5DCAA5; border-color: rgba(93,202,165,0.25); }

.cc-profile-stats {
  display: flex; flex-direction: column; gap: 10px;
  flex-shrink: 0; min-width: 120px;
}
.cc-stat-box { background: rgba(255,255,255,0.03); border-radius: 8px; padding: 12px 16px; }
.cc-stat-box .cc-stat-label { font-size: 10px; color: rgba(255,255,255,0.3); display: block; margin-bottom: 4px; }
.cc-stat-big { font-size: 22px; font-weight: 500; color: rgba(255,255,255,0.8); }
.cc-stat-big.teal { color: #5DCAA5; }

/* ---- Track list (profilo pubblico) ---- */
.cc-section-title { font-size: 13px; color: rgba(255,255,255,0.38); margin: 0 0 14px; font-weight: 400; }
.cc-profile-tracks { margin-bottom: 32px; }

.cc-track-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 0.5px solid rgba(255,255,255,0.05);
}
.cc-track-row:last-child { border-bottom: none; }

.cc-track-thumb {
  width: 44px; height: 44px; border-radius: 6px;
  background: rgba(255,255,255,0.05); flex-shrink: 0;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.cc-track-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cc-track-thumb svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.2); }

.cc-play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.55); opacity: 0; transition: opacity 0.15s;
  cursor: pointer; border: none; border-radius: 6px;
}
.cc-track-row:hover .cc-play-btn { opacity: 1; }
.cc-play-btn svg { width: 16px; height: 16px; fill: white; }

.cc-track-info { flex: 1; min-width: 0; }
.cc-track-title { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.cc-track-meta  { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cc-track-genre { font-size: 10px; color: rgba(255,255,255,0.3); }
.cc-track-dur   { font-size: 11px; color: rgba(255,255,255,0.25); }
.cc-ai-badge    { font-size: 10px; padding: 2px 7px; border-radius: 4px; background: rgba(167,139,250,0.1); color: #a78bfa; border: 0.5px solid rgba(167,139,250,0.25); }
.cc-yt-badge    { font-size: 10px; padding: 2px 7px; border-radius: 4px; background: rgba(216,90,48,0.12); color: #F0997B; border: 0.5px solid rgba(216,90,48,0.25); text-decoration: none; }

.cc-track-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cc-track-rank  { font-size: 12px; color: rgba(255,255,255,0.3); }
.cc-track-rank.rank-hi { color: #5DCAA5; }

/* ---- Form contatto ---- */
.cc-contact-section { border-top: 0.5px solid rgba(255,255,255,0.06); padding-top: 24px; }
.cc-contact-form { display: flex; flex-direction: column; gap: 12px; max-width: 500px; }
.cc-field { display: flex; flex-direction: column; gap: 4px; }
.cc-field label { font-size: 11px; color: rgba(255,255,255,0.35); }
.cc-field input,
.cc-field textarea {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 9px 12px;
  font-size: 13px; color: rgba(255,255,255,0.8); width: 100%;
}
.cc-field input:focus,
.cc-field textarea:focus { outline: none; border-color: rgba(167,139,250,0.4); }
.cc-btn-submit {
  padding: 9px 24px; border-radius: 20px;
  background: rgba(167,139,250,0.12);
  border: 0.5px solid rgba(167,139,250,0.4);
  color: #a78bfa; font-size: 13px; cursor: pointer; align-self: flex-start;
}
.cc-btn-submit:hover { background: rgba(167,139,250,0.2); }

.cc-notice { font-size: 13px; padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; }
.cc-notice a { color: #a78bfa; }
.cc-notice-success { background: rgba(29,158,117,0.1); color: #5DCAA5; border: 0.5px solid rgba(93,202,165,0.25); }
.cc-notice-error   { background: rgba(226,75,74,0.1); color: #F09595; border: 0.5px solid rgba(226,75,74,0.25); }

/* ---- Nav: My Music button ---- */
.cc-nav-mymusic {
  font-size: 13px; color: #a78bfa;
  border: 0.5px solid rgba(167,139,250,0.4);
  border-radius: 20px; padding: 5px 16px;
  text-decoration: none; transition: background 0.15s;
}
.cc-nav-mymusic:hover,
.cc-nav-mymusic.active { background: rgba(167,139,250,0.12); }
.cc-mymusic-btn { color:#a78bfa; border:0.5px solid rgba(167,139,250,0.4); border-radius:20px; padding:5px 16px; }

/* Playlist dropdown fix — sfugge agli overflow:hidden dei parent */


/* ==============================================
   CYBERCHORDS — SISTEMA PLAYLIST (unico blocco)
   ============================================== */

/* Il track deve essere position:relative per contenere il bottone assoluto
   e overflow:visible per non tagliarlo */
.cc-col .cc-track {
  position: relative;
  overflow: visible;
  max-height: none;
  min-height: 72px;
  height: auto;
}

/* Wrapper del bottone + — assoluto top-right, tutto cliccabile */
.cc-plus-btn-wrap {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Bottone cerchio rosso */
button.cc-plus-track-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(167,139,250,0.12);
  border: 2px solid rgba(220,50,50,0.85);
  color: #ffffff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}
button.cc-plus-track-btn:hover {
  background: rgba(220,50,50,0.15);
}

/* Testo "Playlist" accanto al cerchio */
.cc-plus-btn-wrap > span {
  font-size: 10px;
  color: #ffffff;
  white-space: nowrap;
  font-weight: 600;
}

/* Dropdown playlist */
.cc-plus-dropdown {
  display: none;
  position: fixed;
  background: #1a1a2e;
  border: 0.5px solid rgba(167,139,250,0.25);
  border-radius: 8px;
  min-width: 220px;
  z-index: 99999;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.cc-plus-dropdown.open { display: block; }

.cc-plus-drop-head {
  padding: 7px 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.cc-plus-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  cursor: pointer;
  border-bottom: 0.5px solid rgba(255,255,255,0.04);
}
.cc-plus-drop-item:hover { background: rgba(167,139,250,0.06); }
.cc-plus-drop-thumb {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
}
.cc-plus-drop-q { background: rgba(167,139,250,0.2); }
.cc-plus-drop-q:nth-child(2) { background: rgba(29,158,117,0.2); }
.cc-plus-drop-q:nth-child(3) { background: rgba(216,90,48,0.2); }
.cc-plus-drop-q:nth-child(4) { background: rgba(186,117,23,0.2); }
.cc-plus-drop-name { font-size: 12px; color: rgba(255,255,255,0.92); }
.cc-plus-drop-count { font-size: 10px; color: rgba(255,255,255,0.55); }
.cc-plus-drop-new {
  font-size: 12px;
  color: #ffffff;
  padding: 9px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cc-plus-drop-new:hover { background: rgba(167,139,250,0.06); }

/* Vista dettaglio playlist */
.cc-pl-detail-name { font-size: 28px; font-weight: 700; color: rgba(255,255,255,0.95); }
.cc-pl-detail-meta { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.cc-pl-track-row {
  padding: 12px 16px;
  border-bottom: 0.5px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
}
.cc-pl-track-row:hover { background: rgba(255,255,255,0.04); }
.cc-pl-track-num { font-size: 13px; color: rgba(255,255,255,0.35); min-width: 20px; text-align: right; }
.cc-pl-track-thumb { width: 42px; height: 42px; border-radius: 6px; flex-shrink: 0; background: rgba(167,139,250,0.15); }
.cc-pl-track-title { font-size: 14px; color: rgba(255,255,255,0.92); }
.cc-pl-track-artist { font-size: 12px; color: rgba(255,255,255,0.45); }
.cc-pl-track-dur { font-size: 12px; color: rgba(148,200,232,0.6); }
.cc-pl-track-play {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(167,139,250,0.15);
  border: 1px solid rgba(167,139,250,0.4);
  color: #a78bfa;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.cc-pl-track-play:disabled { opacity: 0.25; }
.cc-pl-track-remove {
  width: 28px; height: 28px; border-radius: 50%;
  background: transparent; border: none;
  color: rgba(255,255,255,0.2); font-size: 16px; cursor: pointer;
}
.cc-pl-track-remove:hover { color: rgba(226,75,74,0.7); }
.cc-pl-back { font-size: 14px; color: #a78bfa; margin-bottom: 24px; display: inline-block; text-decoration: none; }

.cc-plus-dropdown.open {
  display: block;
  background: #ff0000;
  color: white;
  padding: 20px;
}

/* New Entry — ripristina overflow hidden per la griglia */
#cc-newentry-list .cc-track {
  overflow: hidden;
  position: relative;
}
/* Top 100 — mantieni overflow visible per il bottone assoluto */
#cc-top100-list .cc-track {
  overflow: visible;
  position: relative;
}

/* New Entry — quinta colonna per bottone + */
#cc-newentry-list .cc-track {
  grid-template-columns: 32px 72px 1fr 36px auto 30px !important;
  overflow: hidden !important;
  position: static !important;
}
#cc-newentry-list .cc-plus-track-btn {
  position: static !important;
  align-self: center !important;
  justify-self: center !important;
}

/* New Entry — fix definitivo click bottone + */
#cc-newentry-list .cc-track {
  overflow: visible !important;
  position: relative !important;
  grid-template-columns: 32px 72px 1fr 36px auto !important;
}
#cc-newentry-list .cc-plus-track-btn {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  z-index: 9999 !important;
}
#cc-newentry-list.cc-scroll-box {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* New Entry scroll box — permetti click fuori dai bordi */
#cc-newentry-list {
  overflow: visible !important;
}
#cc-newentry-list .cc-track {
  overflow: visible !important;
  position: relative !important;
}

#cc-newentry-list {
  overflow-x: visible !important;
  overflow-y: auto !important;
}

#cc-newentry-list .cc-track {
  overflow: visible !important;
  position: relative !important;
}

#cc-newentry-right .cc-track {
  grid-template-columns: 28px 52px 1fr 32px auto !important;
  min-height: 60px !important;
  overflow: hidden !important;
}
#cc-newentry-right .cc-track-cover {
  width: 52px !important;
  height: 52px !important;
}

#cc-newentry-right .cc-track {
  grid-template-columns: 28px 72px 1fr 32px auto !important;
}
#cc-newentry-right .cc-track-cover {
  width: 72px !important;
  height: 72px !important;
}

#cc-newentry-right .cc-track {
  grid-template-columns: 28px 72px 1fr 32px auto !important;
}
#cc-newentry-right .cc-track-cover {
  width: 72px !important;
  height: 72px !important;
}
