﻿
        /* Reset básico */
        body {
          margin: 0;
          padding: 0;
          position: relative; 
          background-color: #040808;
          font-family: Verdana, sans-serif;
        }

        ::-webkit-scrollbar {
          background-color: #000;
          width: 1px;
        }
        
        ::-webkit-scrollbar-thumb {
          border-radius: 5px;
          background-color: #000;
        }

        /* banner principal */
        .box2 {
          position: relative;
          margin: 2rem auto;
          width: 75%;
          max-width: 1300px;
          padding: 10px;
          border: 10px solid transparent;
          border-radius: 16px;
          background: rgba(255,255,255,0.05);
          backdrop-filter: blur(10px);
          -webkit-backdrop-filter: blur(10px);
          box-shadow: 
            #00ffff 4px 4px 6px inset, 
            #00ffff -4px -4px 6px inset,
            #00ffff 0 0 12px;
        }

        /* ajuste para telas até 600px (celulares) */
        @media (max-width: 600px) {
          .box2 {
            width: 90%;
            padding: 6px;
            border-width: 6px;
            border-radius: 12px;
            margin: 1rem auto;
            box-shadow: 
              #00ffff 2px 2px 4px inset, 
              #00ffff -2px -2px 4px inset,
              #00ffff 0 0 8px;
          }
        }

        /* banner principal */
        .divbanner {
          width: 100%;
          max-width: 200px;
          max-height: 50px;
          font: italic 30px "Times New Roman", serif;
          color: #00ffff; 
          background: #000;
          border-radius: 15px;
          padding: 12px;
          top: 50px;
          display: flex;
          justify-content: center;
          align-items: center;
          text-align: center;
          box-shadow: 
            0 0 3px #0ff,
            0 0 5px #00ffff,
            0 0 7px #00ffff,
            0 0 10px #00ffff,
            0 0 15px #00ffff,
            0 0 20px #00ffff,
            0 0 25px #00ffff;
        }

        /* ajuste para celulares */
        @media (max-width: 600px) {
          .divbanner {
            max-width: 65%;
            font: italic 36px "Times New Roman", serif;
            padding: 8px;
            border-radius: 10px;
            max-height: none;
          }
        }

        .badge2 {
          position: relative;  
          margin: 0;
          width: 30px;
        }

        .img-responsiva {
          max-width: 100%;
          width: 200px;
          height: auto;
          margin: 0;
          padding: 0;
          border-radius: 20px;
          border: 3px solid #00ffff;
        }

        .homeBtn {
          width: 100%;
          max-width: 90px;
          height: 35px;
          display: flex;
          justify-content: center;
          align-items: center;
          font-family: "Times New Roman", serif;
          font-size: 18px;
          font-weight: bold;
          background-color: #00ffff;
          color: #000;
          border-radius: 10px;
          border: 1px solid #000;  
          cursor: pointer;
          text-decoration: none;
          transition: all 0.2s ease-in-out;
        }

        .homeBtn:hover {
          background-color: #000;
          color: #00ffff; 
        }

        .container {
          display: flex;
          justify-content: center;
          align-items: center;
          gap: 10px;
          padding: 10px;
        }

        /* === PLAYLIST – BASE (desktop/tablet) =============================== */
        .musicas-container {
          background-color: #000;
          width: 90%;
          max-width: 900px;
          height: 600px;
          margin: auto;
          padding: 25px 10px;
          border: 1px solid #00ffff;
          border-radius: 20px;
          overflow: auto;
          overflow-x: hidden;
          box-sizing: border-box;
        }

        /* Zera e escopa a lista da playlist */
        #playlist { margin: 0; padding: 0; }
        #playlist ul { 
          margin: 0; 
          padding: 0; 
          list-style: none; 
          display: flex; 
          flex-direction: column; 
        }

        /* Cada item */
        #playlist ul li {
          display: flex;
          align-items: center;
          gap: 8px;
          padding: 6px 10px;
          border-bottom: 1px solid #444;
          cursor: grab;
          min-width: 0; 
        }

        /* Link do título: ocupa o espaço elástico e corta com “…” */
        #playlist ul li a.music-Slim {
          flex: 1 1 auto;
          min-width: 0;             
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          font-family: Verdana, sans-serif;
          font-size: 18px;
          letter-spacing: 1.5px;
          color: #fff;
          text-decoration: none;
          padding: 0;
          border-radius: 5px;
          box-sizing: border-box;
          line-height: 1.2;
        }

        #playlist ul li a.music-Slim:hover {
          background-color: #111;
          color: #00ffff;
          padding: 0 2px;
          border-radius: 8px;
        }

        /* Ícones: não encolhem, largura fixa */
        #playlist ul li img,
        #playlist ul li .play-icon,
        #playlist ul li .copy-icon,
        #playlist ul li .icon-button {
          flex: 0 0 auto;
        }

        /* Hover */
        #playlist ul li:hover { background-color: #111; }

        /* Drag state (classe correta: .dragging) */
        #playlist li.dragging {
          opacity: 0.5;
          background-color: #444;
          border: 2px dashed #00ffff;
          animation: borderBlink 1s infinite;
        }

        /* Piscada da borda ao arrastar */
        @keyframes borderBlink {
          0%   { border-color: #00ffff; }
          50%  { border-color: #0000FF; }
          100% { border-color: #00ffff; }
        }

        /* === BREAKPOINT ≤ 600px ============================================ */
        @media (max-width: 600px) {
          .musicas-container {
            width: 98%;
            max-width: none;
            height: 64vh;
            padding: 15px 2px;
            border-radius: 12px;
          }

          #playlist ul { gap: 0; }

          #playlist ul li {
            gap: 6px;
            padding: 6px 1px;
          }

          #playlist ul li a.music-Slim {
            padding: 0;
            margin: 0;
            max-width: none;
            font-size: 14px;
          }
        }

        /* === BREAKPOINT ≤ 360px ============================================ */
        @media (max-width: 360px) {
          .musicas-container {
            width: 100%;
            height: 58vh;
            padding: 10px 6px;
            border-radius: 10px;
          }

          #playlist ul li {
            gap: 4px;
            padding: 6px 6px;
          }

          /* Títulos menores em telas bem pequenas */
          #playlist ul li a.music-Slim {
            font-size: 13px;
          }

          /* Ícones compactos */
          #playlist ul li img,
          #playlist ul li .play-icon,
          #playlist ul li .copy-icon,
          #playlist ul li .icon-button {
            transform: scale(0.95);
          }
        }

        /* Links normais */
        .music-Slim {
          display: inline-block;
          padding: 0 4px;
          text-decoration: none;
          color: #eee;
          transition: all 0.2s ease;
        }

        /* estilo menos prioritário (clicked) */
        .music-Slim.clicked {
          opacity: 0.85;
          color: #ccc;
          background: transparent;
          transition: all 0.16s ease;
        }

        .music-Slim.clicked:hover {
          background-color: #111;
          color: #00ffff;
        }

        /* Tocando agora (maior destaque que clicked) */
        .music-Slim.playing,
        #playlist li.ativo > a.music-Slim.playing {
          background-color: #111;
          color: #00ffff;
          animation: pulse 1s infinite;
          border-radius: 6px;
          padding: 6px 5px;
          box-shadow: 0 0 8px rgba(0,255,255,0.08);
        }

        /* Mantém o pulse (se já tiveres) */
        @keyframes pulse {
          0% { color: #00ffff; }
          50% { color: #5F9EA0; }
          100% { color: #00ffff; }
        }

        .nome-dir {
          color: #00ffff;
          font-size: 28px;
          font-weight: bold;
          text-transform: uppercase;
        }

        h1 {
          color: #00ffff;
          font-family: Times New Roman;
          font-style: italic;
          display: block;
          letter-spacing: 2px;
        }

        .copy-icon {
          flex: 0 0 24px;
          width: 24px;
          height: 24px;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 4px;
          margin: 0;
          background: none;
          border: none;
          cursor: pointer;
        }
        
        .copy-icon svg {
          margin: 0;
          vertical-align: middle;
          fill: #00ffff;
          width: 18px;
          height: 18px;
        }
        
        .copy-icon:hover svg {
          transform: scale(1.1);
        }

        .balao {
          position: relative;
          display: inline-block;
          margin-right: 65px;
          padding: 2px 2px;
          background-color: #00ffff;
          color: #000;
          border-radius: 5px;
          font-size: 10px;
        }

        /* Botão de remover */
        .icon-button {
          background: transparent;
          border: none;
          cursor: pointer; 
          display: inline-flex;
          align-items: center;
          justify-content: center;
          padding: 0;
        }

        .icon-button svg {
          margin: 0;
          vertical-align: middle;
          fill: #00ffff;
          width: 18px;
          height: 18px;
        }
        
        .icon-button:hover svg {
          transform: scale(1.1);
        }

        /* Ícones individuais da playlist */
        .play-icon {
          display: inline-block;
          width: 18px;
          height: 18px;
          margin-right: 5px;
          vertical-align: middle;
          cursor: pointer;
          background-size: contain;
          background-repeat: no-repeat;
        }

        .sm2_playing {
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eeeeee'%3E%3Crect x='6' y='4' width='4' height='16'/%3E%3Crect x='14' y='4' width='4' height='16'/%3E%3C/svg%3E");
        }

        .sm2_paused {
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23eeeeee'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
        }

        /* Player styles */
        #audiojs_wrapper0 {
          position: fixed;
          bottom: 0;
          left: 0;
          right: 0;
          background: #000;
          padding: 10px;
          border-top: 1px solid #333;
          z-index: 1000;
          display: flex;
          flex-direction: column;
        }

        .controls {
          display: flex;
          width: 100%;
          max-width: 700px;
          margin: auto;
          align-items: center;
          gap: 10px;
        }

        .play-pause {
          cursor: pointer;
          width: 26px;
          height: 26px;
        }

        .scrubber {
          flex-grow: 1;
          height: 10px;
          background: #444;
          border-radius: 3px;
          position: relative;
          cursor: pointer;
        }

        .progress {
          height: 100%;
          background: #00ffff;
          border-radius: 3px;
          width: 0%;
        }

        .time {
          color: white;
          font-size: 12px;
          min-width: 100px;
          text-align: center;
        }
    
        em {
          font-style: normal !important;   /* remove itálico */
          font-weight: normal !important;  /* remove bold */
        }

        .now-playing {
          margin-top: 5px;
          color: #eee;
          font-size: 14px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        .scrolling-text {
          animation: scrollText 35s linear infinite;
        }

        @keyframes scrollText {
          0% { transform: translateX(100%); }
          100% { transform: translateX(-100%); }
        }

        @keyframes marquee {
	0% {
		transform: translateX(100%);
	}

	100% {
		transform: translateX(-100%);
	}
        }

        #button-container {
          display: flex;
          gap: 10px;
        }

        #shareButton {
          background: transparent;
          border: none;
          cursor: pointer;
          padding: 5px;
        }

        .footer-link {
          margin-top: 2px;
          text-align: center;
          font: italic 14px "Times New Roman", serif;
          color: #00ffff;
          letter-spacing: 2px;
        }
  