/* public/assets/css/app.css */
a{color:inherit}

/* Mini Player */
.mini{
  position:fixed; left:14px; right:14px; bottom:14px;
  z-index:9999;
  padding:12px 14px;
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}

.mini-left{
  flex:1; min-width:0; cursor:pointer;
  display:flex; align-items:center; gap:10px;
}
.mini-cover{
  width:42px; height:42px;
  border-radius:12px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.14);
}
.mini-text{min-width:0}
.mini-title{font-weight:900; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.mini-meta{font-size:12px; color:rgba(255,255,255,.65); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.mini-mid{display:flex; gap:10px; align-items:center}

/* Full Player Overlay */
.fp-wrap{position:fixed; inset:0; z-index:10000;}
.fp-backdrop{position:absolute; inset:0; background:rgba(0,0,0,.45);}
.fp{
  position:absolute; left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:min(420px, calc(100% - 28px));
  border-radius:26px;
  padding:16px;
  border:1px solid rgba(255,255,255,.14);
}

.fp-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px}
.fp-close{
  border:0; background:rgba(255,255,255,.10);
  color:#fff; width:40px; height:40px; border-radius:14px;
  cursor:pointer;
}
.fp-device{color:rgba(255,255,255,.65); font-size:13px; font-weight:700}

.fp-cover-wrap{margin-top:8px}
.fp-cover{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit:cover;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
}

.fp-info{margin-top:14px}
.fp-title{font-weight:900; font-size:18px; line-height:1.2}
.fp-meta{color:rgba(255,255,255,.65); margin-top:6px}

.fp-progress{margin-top:14px}
.fp-progress input[type="range"]{width:100%}
.fp-time{display:flex; justify-content:space-between; margin-top:6px; color:rgba(255,255,255,.65); font-size:12px}

.fp-controls{
  margin-top:14px;
  display:flex; justify-content:center; gap:16px; align-items:center;
}
.fp-btn{
  border:0;
  background:rgba(255,255,255,.10);
  color:#fff;
  width:54px; height:54px;
  border-radius:18px;
  cursor:pointer;
  font-size:18px;
}
.fp-btn.big{
  width:70px; height:70px;
  border-radius:24px;
  background:rgba(255,255,255,.16);
  font-size:22px;
}

/* Repeat / Modes */
.fp-modes{
  margin-top:12px;
  display:flex;
  justify-content:center;
}
.fp-mode{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
  font-size:13px;
}

.fp-volume{
  margin-top:14px;
  display:flex; align-items:center; gap:10px;
}
.fp-vol-ico{opacity:.8}
.fp-volume input[type="range"]{width:100%}

.fp-footer{
  margin-top:12px;
  text-align:center;
  color:rgba(255,255,255,.65);
  font-size:12px;
}

/* ============================
   TeleMusic NFC - Clean Player (NO glass)
   Paste at END of app.css
   ============================ */

:root{
  --p-bg: rgba(18, 22, 40, .86);
  --p-border: rgba(255,255,255,.10);
  --p-soft: rgba(255,255,255,.08);
  --p-soft2: rgba(255,255,255,.12);
  --p-text: rgba(255,255,255,.92);
  --p-muted: rgba(255,255,255,.62);
}

/* SVG icons - outline, pro */
.p-ico{
  width:22px;height:22px;
  display:inline-flex;align-items:center;justify-content:center;
}
.p-ico svg{
  width:22px;height:22px;
  fill:none;
  stroke: var(--p-text);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity:.95;
}

/* ---------------- Mini Now Playing Bar ---------------- */
#miniPlayer{
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 9999;

  background: var(--p-bg);
  border: 1px solid var(--p-border);
  border-radius: 18px;
  padding: 10px 10px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;

  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#miniPlayer .mini-left{
  display:flex; align-items:center; gap:10px;
  flex:1; min-width:0;
  cursor:pointer;
}

#miniPlayer .mini-cover{
  width:44px; height:44px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--p-border);
}

#miniPlayer .mini-text{min-width:0}
#miniPlayer .mini-title{
  font-weight: 900;
  font-size: 13.5px;
  color: var(--p-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#miniPlayer .mini-meta{
  font-size: 12px;
  color: var(--p-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#miniPlayer .mini-mid{
  display:flex;
  gap:8px;
  align-items:center;
}

.p-btn{
  border: 1px solid var(--p-border);
  background: rgba(255,255,255,.06);
  color: var(--p-text);
  width: 42px; height: 42px;
  border-radius: 14px;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}
.p-btn:hover{ background: rgba(255,255,255,.09); }
.p-btn:active{ transform: scale(.98); }

.p-btn.primary{
  width: 50px; height: 50px;
  border-radius: 16px;
  background: rgba(255,255,255,.10);
}

/* Make sure content not covered by bar */
@media (max-width: 700px){
  .container{ padding-bottom: 120px; }
}

/* ---------------- Full Player Bottom Sheet ---------------- */
#fullPlayer.fp-wrap{
  position: fixed;
  inset: 0;
  z-index: 10000;
}
#fullPlayer .fp-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
}

#fullPlayer .fp{
  position:absolute;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(460px, calc(100% - 20px));

  background: var(--p-bg);
  border: 1px solid var(--p-border);
  border-radius: 22px;
  padding: 14px;

  box-shadow: 0 28px 90px rgba(0,0,0,.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#fullPlayer .fp-top{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 10px;
}
#fullPlayer .fp-device{
  font-size: 12px;
  font-weight: 900;
  color: var(--p-muted);
  letter-spacing:.2px;
}

.p-close{
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid var(--p-border);
  background: rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
}
.p-close:active{ transform: scale(.98); }

#fullPlayer .fp-cover{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--p-border);
}

#fullPlayer .fp-info{ margin-top: 12px; }
#fullPlayer .fp-title{
  font-weight: 950;
  font-size: 18px;
  color: var(--p-text);
  line-height: 1.2;
}
#fullPlayer .fp-meta{
  margin-top: 6px;
  font-size: 13px;
  color: var(--p-muted);
}

#fullPlayer .fp-progress{ margin-top: 12px; }
#fullPlayer input[type="range"]{ width: 100%; }
#fullPlayer .fp-time{
  display:flex; justify-content:space-between;
  margin-top: 6px;
  font-size: 12px;
  color: var(--p-muted);
}

#fullPlayer .fp-controls{
  margin-top: 12px;
  display:flex; align-items:center; justify-content:center;
  gap: 12px;
}

.p-btn.lg{ width: 56px; height: 56px; border-radius: 18px; }
.p-btn.xl{ width: 74px; height: 74px; border-radius: 24px; background: rgba(255,255,255,.12); }
.p-btn.xl .p-ico svg{ width: 26px; height: 26px; }

#fullPlayer .fp-modes{
  margin-top: 10px;
  display:flex;
  justify-content:center;
}

.p-chip{
  border: 1px solid var(--p-border);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 10px 12px;
  display:flex; align-items:center; gap:10px;
  color: var(--p-text);
  cursor:pointer;
  font-weight: 900;
  font-size: 12.5px;
}
.p-chip .label{ color: var(--p-muted); font-weight:900; }
.p-chip .value{ color: var(--p-text); }

#fullPlayer .fp-volume{
  margin-top: 10px;
  display:flex;
  align-items:center;
  gap: 10px;
}
#fullPlayer .fp-footer{
  margin-top: 10px;
  text-align:center;
  font-size: 12px;
  color: var(--p-muted);
}





/* Bootstrap Icons inside buttons - clean */
.btn i, .fp-btn i, .fp-close i, .fp-mode i{
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fp-btn.big i{
  font-size: 26px;
}

.fp-close i{
  font-size: 18px;
}

/* iOS tap highlight */
button { -webkit-tap-highlight-color: transparent; }




/* ✅ FORCE Full Player CENTER (override bottom sheet) */
#fullPlayer .fp{
  top: 50% !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
}